function search(url) { var qryName = new Array(); var qryValue = new Array(); var toParseArray = new Array(); var camp_str = ''; url = url.substr(url.indexOf("?") + 1); toParseArray = url.split("&"); if (toParseArray.length == 0 && url!="") { toParseArray[0] = url; } for (var i = 0; i < toParseArray.length; i++) { qryName[i] = toParseArray[i].substr(0,toParseArray[i].indexOf("=")).replace(/\+|space/gi," "); qryValue[i] = toParseArray[i].substr(toParseArray[i].indexOf("=")+1).replace(/[+]/g," "); if ("chm" == qryName[i]) { camp_str = "&chm=" + qryValue[i]; } } return camp_str; } function ExtractQryStr() { var camp_str=''; var url = ''; if (null != window.location) { url = window.location.href; } if ('' != url) { camp_str = search(url); } if ('' != camp_str){ return camp_str; } return camp_str; } camp_addon = ExtractQryStr(); function HideStatus() { window.status = "complete" != document.readyState ? "Loading..." : window.defaultStatus; } document.onreadystatechange = HideStatus; var cururl = ''; if (-1 != window.location.href.indexOf("?")) { cururl = window.location.href.substr(0, window.location.href.indexOf("?")); } else { cururl = window.location.href; } var addr = ''; addr = '//' + 'www.templatehelp.com' + '/pr_interface.php?' + 'cols=4&rows=2&sadult=1&sp=0&bgcolor=%23FFFFFF&types[]=23&types[]=1&types[]=9&types[]=36&types[]=3&types[]=19&types[]=13&types[]=42&types[]=77&types[]=79&types[]=21&types[]=27&types[]=43&types[]=40&types[]=14&types[]=16&types[]=61&types[]=18&types[]=64&types[]=69&types[]=76&types[]=20&types[]=17&types[]=24&types[]=26&types[]=63&types[]=15&types[]=25&types[]=10&types[]=22&types[]=32&types[]=5&types[]=7&types[]=11&types[]=12&types[]=31&types[]=30&types[]=37&types[]=33&types[]=38&types[]=53&types[]=52&types[]=54&types[]=55&types[]=59&types[]=65&types[]=47&types[]=48&types[]=49&types[]=50&types[]=57&types[]=28&types[]=46&types[]=58&types[]=51&pr_code=3u26vh566aL0a16EQ7t7nE1rlA3vwJ' + '&callfrom=' + cururl + camp_addon + '&ref='; addr += '&extref=' + escape(document.referrer); document.write('');