var MIdx; var sName="02.gif"; var cMaxBackGroundName=2; var iHeaderFrame=0; var iContentFrame=1; var iFooterFrame=2; var WBSExtra=""; var WBSPublication=""; var iTopicsCount=7; var iWSCount=7; var iPJCount=6; var iTBCount=26; var iHRCount=18; var iPBCount=11; var iRTCount=13; var iOPCount=4; var iRSCount=2; var iPCCount=3; var iEVCount=9; var iNMCount=1; // ..................... ..................... ..................... function DetermineScreenSize() { //parent.document.title = window.screen.width + " / " + window.screen.height + " " + window.screen.availWidth + " / " + window.screen.availHeight; if ( (window.screen.availWidth > 1260) && (window.screen.availHeight > 900) ) { window.document.embeds[0].width=1; window.document.embeds[0].height=1; window.document.embeds[1].width=1258; window.document.embeds[1].height=775; } else { window.document.embeds[1].width=1; window.document.embeds[1].height=1; window.document.embeds[0].width=1007; window.document.embeds[0].height=620; } } function OpenNews(sfilename) { WBSPublication = window.open(sfilename, "WBSNews"); } function OpenPDF(sfilename) { if (sfilename.indexOf("news") >= 0) { WBSPublication = window.open("../Images/News/" + sfilename, "WBSPublication"); } else { WBSPublication = window.open("../Images/Publications/" + sfilename, "WBSPublication"); } } function OpenWSExtra(stemp) { // var stemp; // stemp=window.document.images["Picture"].src; if (stemp.indexOf("5A") >= 0) { WBSExtra = window.open("WSExtra01.htm", "WBSExtra"); WBSExtra.focus(); } else if (stemp.indexOf("7A") >= 0) { WBSExtra = window.open("WSExtra02.htm", "WBSExtra"); WBSExtra.focus(); } else if (stemp.indexOf("1L") >= 0) { WBSExtra = window.open("PJExtra.htm", "WBSExtra"); WBSExtra.focus(); } } function DisplayPJExtra(sNothing) { var newwindow = window.open("PJExtra.htm", "WBSExtra"); WBSExtra.focus(); } // ..................... ..................... ..................... function DisplayIntro() { parent.frames[iContentFrame].document.bgColor="#E5DFC7"; HideTopics(); HideEmbeds(); // parent.frames[iHeaderFrame].document.bgColor="#E5DFC7"; // document.bgColor="#E5DFC7"; // parent.frames[iFooterFrame].document.bgColor="#E5DFC7"; } function DisplayMenuBackground() { parent.frames[iContentFrame].document.bgColor="#485157"; // parent.frames[iHeaderFrame].document.bgColor="#485157"; // document.bgColor="#485157"; // parent.frames[iFooterFrame].document.bgColor="#485157"; } function DisplayMenu(MIdx) { HideTopics(); HideEmbeds(); if (MIdx == "WS") { } else if (MIdx == "PJ") { window.status="PJ"; } else { } document.images("Focus").width=1000; document.images("Focus").height=620; } function DisplayStatus(sMsg) { window.status=sMsg; } // ..................... ..................... ..................... function DisplayWS(sWSName) { document.images["Picture"].src=sWSName + ".gif"; if ( (sWSName == "5A") || (sWSName == "7A") ) { document.images["PictureLink"].width="227"; document.images["PictureLink"].height="404"; } else { document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; } } // ..................... ..................... ..................... function DisplayPJ(sPJName) { if (sPJName.indexOf("L") >= 0) { document.images["Picture"].src=sPJName + ".gif"; if (sPJName == "1L") { document.images["PictureLink"].width="227"; document.images["PictureLink"].height="404"; } else { document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; } } } function DisplayTB(sTBName) { HideTopics(); document.images["Picture"].src="Blank.gif"; document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; } function DisplayHR(sHRName) { HideTopics(); document.images["Picture"].src="Blank.gif"; document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; } function DisplayPB(sPBName) { HideTopics(); document.images["Picture"].src="Blank.gif"; document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; } function DisplayRT(RTName) { HideTopics(); document.images["Picture"].src="Blank.gif"; document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; } function DisplayOP(OPName) { HideTopics(); document.images["Picture"].src="Blank.gif"; document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; } // ..................... ..................... ..................... function DisplayRS(sRSName) { if (sRSName.indexOf("L") >= 0) { document.images["Picture"].src=sRSName + "RS.gif"; } else if (sRSName.indexOf("A") >= 0) { HideTopics(); document.images["Picture"].src="Blank.gif"; } } // ..................... ..................... ..................... function DisplayPC(sPCName) { document.images["Picture"].src=sPCName + "PC.gif"; } // ..................... ..................... ..................... // ..................... ..................... ..................... function HideMenu() { HideTopics(); HideEmbeds(); document.images("Focus").width=1; document.images("Focus").height=1; } function HideTopics() { } function HidePJInfo() { document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; } function HideEmbeds() { HidePJInfo(); for (ii=1; ii<=iRSCount; ii++) { if (ii == 1) { } } document.images["Picture"].src="Blank.gif"; document.images["Picture2"].src="Blank.gif"; document.images["PictureLink"].width="1"; document.images["PictureLink"].height="1"; document.images("Focus").width=1; document.images("Focus").height=1; }