

// NEWS / ARTICLES: DYNAMIC POP-OPEN WINDOWS  ---------------------------------------------------------------------------------------
// This function creates and writes html to a new browser window to display an article JPEG.


function openArticle(articleID) {
	//alert("Troubleshooting script for WIn IE");	
	printWin = window.open('', 'site' ,'toolbar=no,scrollbars=yes,menubar=no,resizable=yes,width=615,height=460');
	printWin.document.write("<HTML><HEAD><TITLE>Aerotech Golf Shafts</TITLE><LINK HREF=\"/css/global.css\" REL=\"stylesheet\" TYPE=\"text/css\"></HEAD><BODY><TABLE WIDTH=\"100%\" CELLPADDING=\"10\" BGCOLOR=\"#1D1D1D\"><TR><TD><DIV STYLE=\"float:right;\"><IMG SRC=\"../images/shared/Aerotech_bug.gif\" WIDTH=\"27\" HEIGHT=\"17\"></DIV><SPAN STYLE=\"font-size: 10px; font-weight:bold; line-height: 12px; color: #FFFFFF;\">Please resize window to view entire article.</SPAN></TD></TR></TABLE><IMG SRC='/images/news/articles/" + articleID  + ".jpg'></BODY></HTML>");
	printWin.document.close();
}


// NEWS / PRESS RELEASES: POP-OPEN WINDOWS  ---------------------------------------------------------------------------------------
// This function opens a new browser window to display press releases.

function openPressRelease(url) {
		popupWin = window.open(url, 'site', 'width=615, height=460, status=0,scrollbars=yes,toolbar=no,resizable=yes');
        window.self.name = 'MAIN';
        popupWin.focus()
}