var validRequest = true; var server = "http://api.zap2it.com"; var requestParams = "ap=ptg&v=2&aid=chi&zip=60611&stnlt=11670,11653,11299,11438,11474"; var action; action = "/tvlistings/ZCPrimeTimeGrid.do?"; if(requestParams!="" && validRequest) { document.write(""); document.write(""); } else { function buildXHTML() {} }