/* Start Big Box Code */ function returnAdPT() { var lRetVal; switch(sPC) { case "CU": lRetVal = 662; break; case "ES": lRetVal = 727; break; case "CTL": lRetVal = 639; break; case "TN": lRetVal = 635; break; case "HM": lRetVal = 640; break; case "NTM": lRetVal = 646; break; case "ASW": lRetVal = 650; break; case "BM": lRetVal = 658; break; case "OHS": lRetVal = 666; break; case "CC": lRetVal = 670; break; case "CA": lRetVal = 674; break; case "MRO": lRetVal = 678; break; case "SW": lRetVal = 682; break; case "CCE": lRetVal = 686; break; case "BS": lRetVal = 690; break; case "CIEN": lRetVal = 694; break; case "CMJ": lRetVal = 698; break; case "PP": lRetVal = 702; break; case "CS": lRetVal = 706; break; case "GT": lRetVal = 710; break; case "CM": lRetVal = 714; break; case "CP": lRetVal = 718; break; case "LPN": lRetVal = 722; break; case "DPM": lRetVal = 867; break; case "OH": lRetVal = 867; break; } return lRetVal; } function returnAdET() { var lRetVal; switch(sPC) { case "CU": lRetVal = 322; break; case "CTL": lRetVal = 564; break; case "ES": lRetVal = 725; break; case "TN": lRetVal = 610; break; case "HM": lRetVal = 584; break; case "NTM": lRetVal = 593; break; case "ASW": lRetVal = 536; break; case "BM": lRetVal = 544; break; case "OHS": lRetVal = 600; break; case "CC": lRetVal = 547; break; case "CA": lRetVal = 552; break; case "MRO": lRetVal = 590; break; case "SW": lRetVal = 608; break; case "CCE": lRetVal = 555; break; case "BS": lRetVal = 541; break; case "CIEN": lRetVal = 570; break; case "CMJ": lRetVal = 558; break; case "PP": lRetVal = 605; break; case "CS": lRetVal = 549; break; case "GT": lRetVal = 581; break; case "CM": lRetVal = 567; break; case "CP": lRetVal = 561; break; case "LPN": lRetVal = 587; break; case "DPM": lRetVal = 865; break; case "OH": lRetVal = 865; break; case "LA": lRetVal = 742; break; } return lRetVal; } function returnAdOther() { var lRetVal; switch(sPC) { case "CU": lRetVal = 661; break; case "CTL": lRetVal = 654; break; case "ES": lRetVal = 726; break; case "TN": lRetVal = 636; break; case "HM": lRetVal = 641; break; case "NTM": lRetVal = 645; break; case "ASW": lRetVal = 651; break; case "BM": lRetVal = 657; break; case "OHS": lRetVal = 665; break; case "CC": lRetVal = 669; break; case "CA": lRetVal = 673; break; case "MRO": lRetVal = 677; break; case "SW": lRetVal = 681; break; case "CCE": lRetVal = 685; break; case "BS": lRetVal = 689; break; case "CIEN": lRetVal = 693; break; case "CMJ": lRetVal = 697; break; case "PP": lRetVal = 701; break; case "CS": lRetVal = 705; break; case "GT": lRetVal = 709; break; case "CM": lRetVal = 713; break; case "CP": lRetVal = 717; break; case "LPN": lRetVal = 721; break; case "DPM": lRetVal = 866; break; case "OH": lRetVal = 866; break; } return lRetVal; } function getZoneID() { var lRetVal; getTimeOffset(); getID('ECO'); switch (iTimeOffset) { case 0: lRetVal = returnAdET(); break; case 2: lRetVal = returnAdPT(); break; case 3: lRetVal = returnAdPT(); break; default: lRetVal = returnAdOther(); break; } lRetVal = returnAdET(); /* Using only ET bcuz of BMP geo targetting */ return lRetVal; } /* End Big Box Code */ /* Start Super Banner Code */ /* No zone code for: NTM, DPM */ function returnSuperAdPT() { var lRetVal; switch(sPC) { case "CU": lRetVal = 1083; break; case "CTL": lRetVal = 1085; break; case "ES": lRetVal = 1087; break; case "TN": lRetVal = 1120; break; case "HM": lRetVal = 1089; break; case "ASW": lRetVal = 1074; break; case "BM": lRetVal = 1091; break; case "OHS": lRetVal = 1121; break; case "CC": lRetVal = 1093; break; case "CA": lRetVal = 1119; break; case "MRO": lRetVal = 1095; break; case "SW": lRetVal = 1097; break; case "CCE": lRetVal = 1099; break; case "BS": lRetVal = 1079; break; case "CIEN": lRetVal = 1101; break; case "CMJ": lRetVal = 1105; break; case "PP": lRetVal = 1107; break; case "CS": lRetVal = 1109; break; case "GT": lRetVal = 1111; break; case "CM": lRetVal = 1113; break; case "CP": lRetVal = 1115; break; case "LPN": lRetVal = 1117; break; case "OH": lRetVal = 1073; break; } return lRetVal; } function returnSuperAdET() { var lRetVal; switch(sPC) { case "CU": lRetVal = 614; break; case "CTL": lRetVal = 615; break; case "ES": lRetVal = 392; break; case "TN": lRetVal = 616; break; case "HM": lRetVal = 617; break; case "ASW": lRetVal = 619; break; case "BM": lRetVal = 394; break; case "OHS": lRetVal = 620; break; case "CC": lRetVal = 621; break; case "CA": lRetVal = 622; break; case "MRO": lRetVal = 623; break; case "SW": lRetVal = 624; break; case "CCE": lRetVal = 625; break; case "BS": lRetVal = 393; break; case "CIEN": lRetVal = 404; break; case "CMJ": lRetVal = 472; break; case "PP": lRetVal = 415; break; case "CS": lRetVal = 396; break; case "GT": lRetVal = 405; break; case "CM": lRetVal = 403; break; case "CP": lRetVal = 626; break; case "LPN": lRetVal = 407; break; case "OH": lRetVal = 417; break; } return lRetVal; } function returnSuperAdOther() { var lRetVal; switch(sPC) { case "CU": lRetVal = 1082; break; case "CTL": lRetVal = 1084; break; case "ES": lRetVal = 1086; break; case "TN": lRetVal = 979; break; case "HM": lRetVal = 1088; break; case "ASW": lRetVal = 1075; break; case "BM": lRetVal = 1090; break; case "OHS": lRetVal = 981; break; case "CC": lRetVal = 1092; break; case "CA": lRetVal = 980; break; case "MRO": lRetVal = 1094; break; case "SW": lRetVal = 1096; break; case "CCE": lRetVal = 1098; break; case "BS": lRetVal = 1078; break; case "CIEN": lRetVal = 1100; break; case "CMJ": lRetVal = 1104; break; case "PP": lRetVal = 1106; break; case "CS": lRetVal = 1108; break; case "GT": lRetVal = 1110; break; case "CM": lRetVal = 1112; break; case "CP": lRetVal = 1114; break; case "LPN": lRetVal = 116; break; case "OH": lRetVal = 118; break; } return lRetVal; } function getSuperZoneID() { var lRetVal; getTimeOffset(); getID('ECO'); switch (iTimeOffset) { case 0: lRetVal = returnSuperAdET(); break; case 2: lRetVal = returnSuperAdPT(); break; case 3: lRetVal = returnSuperAdPT(); break; default: lRetVal = returnSuperAdOther(); break; } lRetVal = returnSuperAdET(); /* Using only ET bcuz of BMP geo targetting */ return lRetVal; } /* End Super Banner Code */ /* Start Skyscraper Banner Code */ /* No zone code for: CU, NTM, GT, DPM */ function returnSkyAdPT() { var lRetVal; switch(sPC) { case "CTL": lRetVal = 1125; break; case "ES": lRetVal = 1123; break; case "TN": lRetVal = 1127; break; case "HM": lRetVal = 1129; break; case "ASW": lRetVal = 1077; break; case "BM": lRetVal = 1131; break; case "OHS": lRetVal = 1133; break; case "CC": lRetVal = 1135; break; case "CA": lRetVal = 1137; break; case "MRO": lRetVal = 1139; break; case "SW": lRetVal = 1141; break; case "CCE": lRetVal = 1143; break; case "BS": lRetVal = 1081; break; case "CIEN": lRetVal = 1148; break; case "CMJ": lRetVal = 1153; break; case "PP": lRetVal = 1155; break; case "CS": lRetVal = 1159; break; case "CM": lRetVal = 1156; break; case "CP": lRetVal = 1151; break; case "LPN": lRetVal = 1146; break; case "OH": lRetVal = 1144; break; } return lRetVal; } function returnSkyAdET() { var lRetVal; switch(sPC) { case "CTL": lRetVal = 747; break; case "ES": lRetVal = 750; break; case "TN": lRetVal = 748; break; case "HM": lRetVal = 754; break; case "ASW": lRetVal = 738; break; case "BM": lRetVal = 749; break; case "OHS": lRetVal = 751; break; case "CC": lRetVal = 752; break; case "CA": lRetVal = 753; break; case "MRO": lRetVal = 755; break; case "SW": lRetVal = 757; break; case "CCE": lRetVal = 758; break; case "BS": lRetVal = 759; break; case "CIEN": lRetVal = 760; break; case "CMJ": lRetVal = 761; break; case "PP": lRetVal = 762; break; case "CS": lRetVal = 763; break; case "CM": lRetVal = 765; break; case "CP": lRetVal = 766; break; case "LPN": lRetVal = 767; break; case "OH": lRetVal = 875; break; } return lRetVal; } function returnSkyAdOther() { var lRetVal; switch(sPC) { case "CTL": lRetVal = 1124; break; case "ES": lRetVal = 1122; break; case "TN": lRetVal = 1126; break; case "HM": lRetVal = 1128; break; case "ASW": lRetVal = 1076; break; case "BM": lRetVal = 1130; break; case "OHS": lRetVal = 1132; break; case "CC": lRetVal = 1134; break; case "CA": lRetVal = 1136; break; case "MRO": lRetVal = 1138; break; case "SW": lRetVal = 1140; break; case "CCE": lRetVal = 1142; break; case "BS": lRetVal = 1080; break; case "CIEN": lRetVal = 1147; break; case "CMJ": lRetVal = 1152; break; case "PP": lRetVal = 1154; break; case "CS": lRetVal = 1158; break; case "CM": lRetVal = 1157; break; case "CP": lRetVal = 1150; break; case "LPN": lRetVal = 1149; break; case "OH": lRetVal = 1145; break; } return lRetVal; } function getSkyZoneID() { var lRetVal; getTimeOffset(); getID('ECO'); switch (iTimeOffset) { case 0: lRetVal = returnSkyAdET(); break; case 2: lRetVal = returnSkyAdPT(); break; case 3: lRetVal = returnSkyAdPT(); break; default: lRetVal = returnSkyAdOther(); break; } lRetVal = returnSkyAdET(); /* Using only ET bcuz of BMP geo targetting */ return lRetVal; } /* End Skyscraper Banner Code */ /* Start Transition Banner Code */ function serveAdPT() { var browDateTime; var lZoneID; browDateTime = 95721; switch(sPC) { case "CU": lZoneID = 644; break; case "CTL": lZoneID = 656; break; case "TN": lZoneID = 637; break; case "ES": lZoneID = 729; break; case "HM": lZoneID = 644; break; case "NTM": lZoneID = 649; break; case "ASW": lZoneID = 653; break; case "BM": lZoneID = 660; break; case "OHS": lZoneID = 668; break; case "CC": lZoneID = 672; break; case "CA": lZoneID = 676; break; case "MRO": lZoneID = 680; break; case "SW": lZoneID = 684; break; case "CCE": lZoneID = 688; break; case "BS": lZoneID = 692; break; case "CIEN": lZoneID = 696; break; case "CMJ": lZoneID = 700; break; case "PP": lZoneID = 704; break; case "CS": lZoneID = 708; break; case "GT": lZoneID = 712; break; case "CM": lZoneID = 716; break; case "CP": lZoneID = 720; break; case "LPN": lZoneID = 724; break; } showAd(lSiteID, browDateTime, lZoneID); } function serveAdET() { var browDateTime; var lZoneID; browDateTime = 79249; switch(sPC) { case "CU": lZoneID = 457; break; case "CTL": lZoneID = 456; break; case "TN": lZoneID = 471; break; case "ES": lZoneID = 460; break; case "HM": lZoneID = 642; break; case "NTM": lZoneID = 647; break; case "ASW": lZoneID = 447; break; case "BM": lZoneID = 449; break; case "OHS": lZoneID = 467; break; case "CC": lZoneID = 450; break; case "CA": lZoneID = 452; break; case "MRO": lZoneID = 465; break; case "SW": lZoneID = 470; break; case "CCE": lZoneID = 453; break; case "BS": lZoneID = 448; break; case "CIEN": lZoneID = 459; break; case "CMJ": lZoneID = 454; break; case "PP": lZoneID = 469; break; case "CS": lZoneID = 451; break; case "GT": lZoneID = 461; break; case "CM": lZoneID = 458; break; case "CP": lZoneID = 455; break; case "LPN": lZoneID = 463; break; case "OH": lZoneID = 468; break; } showAd(lSiteID, browDateTime, lZoneID); } function serveAdOther() { var browDateTime; var lZoneID; browDateTime = 84762; switch(sPC) { case "CU": lZoneID = 663; break; case "CTL": lZoneID = 655; break; case "TN": lZoneID = 638; break; case "ES": lZoneID = 728; break; case "HM": lZoneID = 643; break; case "NTM": lZoneID = 648; break; case "ASW": lZoneID = 652; break; case "BM": lZoneID = 659; break; case "OHS": lZoneID = 667; break; case "CC": lZoneID = 671; break; case "CA": lZoneID = 675; break; case "MRO": lZoneID = 679; break; case "SW": lZoneID = 683; break; case "CCE": lZoneID = 687; break; case "BS": lZoneID = 691; break; case "CIEN": lZoneID = 695; break; case "CMJ": lZoneID = 699; break; case "PP": lZoneID = 703; break; case "CS": lZoneID = 707; break; case "GT": lZoneID = 711; break; case "CM": lZoneID = 715; break; case "CP": lZoneID = 719; break; case "LPN": lZoneID = 723; break; } showAd(lSiteID, browDateTime, lZoneID); } function processAd() { getTimeOffset(); getID('ECO'); /*switch (iTimeOffset) { case 0: serveAdET(); break; case 2: serveAdPT(); break; case 3: serveAdPT(); break; default: serveAdOther(); break; }*/ serveAdET(); /* Using only ET bcuz of BMP geo targetting */ } /* End Transition Banner Code */