var sPC; var lSiteID, lPageID, iTimeOffset; sPC = 'ECO'; function getTimeOffset() { var cNowHour, sNowHour, iOffset; cNowHour = (new Date()).getHours(); sNowHour = 4; iTimeOffset = sNowHour - cNowHour; } function getID(sPC) { switch (sPC) { case "ASW": lSiteID = 2; lPageID = 58921; break; case "BS": lSiteID = 4; lPageID = 15865; break; case "BM": lSiteID = 5; lPageID = 54989; break; case "CC": lSiteID = 6; lPageID = 7252; break; case "CA": lSiteID = 8; lPageID = 87318; break; case "CCE": lSiteID = 9; lPageID = 24757; break; case "CIEN": lSiteID = 3; lPageID = 47227; break; case "CM": lSiteID = 14; lPageID = 75320; break; case "CMJ": lSiteID = 10; lPageID = 76211; break; case "CTL": lSiteID = 16; lPageID = 34838; break; case "CP": lSiteID = 12; lPageID = 4743; break; case "CS": lSiteID = 7; lPageID = 75225; break; case "CU": lSiteID = 13; lPageID = 1966; break; case "DPM": lSiteID = 30; lPageID = 26366; break; case "ES": lSiteID = 20; lPageID = 21163; break; case "GT": lSiteID = 21; lPageID = 4366; break; case "CM": lSiteID = 14; lPageID = 34013; break; case "HM": lSiteID = 22; lPageID = 38136; break; case "JOB": lSiteID = 2; lPageID = 97497; break; case "LPN": lSiteID = 25; lPageID = 24297; break; case "MRO": lSiteID = 26; lPageID = 64362; break; case "MT": lSiteID = 34; lPageID = 93157; break; case "NM": lSiteID = 28; lPageID = 98942; break; case "OH": lSiteID = 30; lPageID = 26366; break; case "OHS": lSiteID = 29; lPageID = 90210; break; case "PP": lSiteID = 31; lPageID = 72881; break; case "SGM": lSiteID = 2; lPageID = 97497; break; case "SW": lSiteID = 33; lPageID = 21011; break; case "TN": lSiteID = 34; lPageID = 93157; break; case "TW": lSiteID = 2; lPageID = 97497; break; case "TWT": lSiteID = 34; lPageID = 93157; break; default: lSiteID = 20; lPageID = 21163; break; } } function showAd(lSiteID, lPageID, lZone) { var sToPrint; sToPrint = "