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; } 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; } 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; } return lRetVal; } 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 = 56391; 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; } 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 getZoneID() { var lRetVal; getTimeOffset(); getID(); switch (iTimeOffset) { case 0: lRetVal = returnAdET(); break; case 2: lRetVal = returnAdPT(); break; case 3: lRetVal = returnAdPT(); break; default: lRetVal = returnAdOther(); break; } return lRetVal; } function processAd() { getTimeOffset(); getID(); switch (iTimeOffset) { case 0: serveAdET(); break; case 2: serveAdPT(); break; case 3: serveAdPT(); break; default: serveOther(); break; } }