function Agetdetails() { window.location.href =arguments[0]; return false; } function sendweb() { document.forms[0].submit();/// } function sendindex() { var ss=arguments[0]; document.getElementById("website").value=ss; document.forms[0].submit();/// } function getdetailsfullscreen() { alert("3333in getfullscreen"); var d = new Date(); myWindow = window.open(arguments[0], "_blank"); ///window.open(arguments[0],arguments[0],'width=600,height=600,menubar=1,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0'); ////window.open(arguments[0]+"?"+d,arguments[0],'width=600,height=600,toolbar=1,menubar=1,location=1,status=1,scrollbars=1,resizable=1,left=0,top=0'); return false; } function getdetails() { var d = new Date(); ////alert("Eventbutton "+event.button); if(event.button==2) { myWindow = window.open(arguments[0], "_blank"); } else { window.open(arguments[0],arguments[0],'width=600,height=600,menubar=1,location=0,status=1,scrollbars=1,resizable=1,left=0,top=0'); } ////window.open(arguments[0]+"?"+d,arguments[0],'width=600,height=600,toolbar=1,menubar=1,location=1,status=1,scrollbars=1,resizable=1,left=0,top=0'); return false; } function bottomlinkconvert() { var xxin=arguments[0]; //xx="食品"; xx=xxin; ///var xx =javaScriptVar; //var linking=""; //var xx=linking; if (xx == " "){xx=0}; ///xx=xx.replace(/'/g,"!39^"); yy=escape(xx); yy=yy.replace(/%20/g," "); yy=yy.replace(/%u/g,"&"); yy=yy.replace(/^\s/,""); if (yy.charAt(3)!=" ") { var aa=yy.charAt(0)+yy.charAt(1)+yy.charAt(2)+yy.charAt(3); } //4-byte codes else { yy=yy.replace(/%/g,""); var aa=yy.charAt(0)+yy.charAt(1)} //2-byte codes var decstuff =""; var decimalstuff="zz"; var text = yy; var words = text.split("&"); var str=""; var ww; var bal; for (var i=0;i0 ){ var country =words[1]; checkaddr=words[0]; } ////alert("final country "+country+"/"+checkaddr); var n = checkaddr.search("http"); if ( n == -1 ) { ////checkaddr="indexemail.php"; checkaddr="http://www.paperlesshomework.com/offers/" + country + "/" + checkaddr+ "/indexemail.php"; } var d = new Date(); window.open(checkaddr+"?"+d,checkaddr,'width=1100,height=800,toolbar=1,scrollbars=1,resizable=1,left=0,top=0'); } function getdetailsPRICE() { var incoming=arguments[0]; ///alert("in get price"+incoming); incoming=incoming.replace(/#/g,""); ////alert("afterin get price"+incoming); ///alert("in get price"); ///var incoming=arguments[0]; ///incoming=incoming.replace(/#/g,""); var words = incoming.split("*&*"); var checkaddr=words[0]; ////alert("in "+ checkaddr); var winwidth=words[1]; var winheight=parseInt(words[2])+40; ///alert("incoming info "+checkaddr); ///a/lert("incoming width "+winwidth); ///alert("incoming info "+winheight); var d = new Date(); ////checkaddr=checkaddr.toLowerCase(); ///window.location.href =checkaddr+"?"+d; ///window.open(checkaddr,checkaddr,'width=500,height=400,toolbar=0,scrollbars=1,resizable=1,left=0,top=0'); window.open(checkaddr,checkaddr,'width='+winwidth+',height='+winheight+',toolbar=0,scrollbars=1,resizable=1,left=0,top=0'); } function getdetailsYELLOWEB() { var incoming=arguments[0]; var words = incoming.split("~"); var incoming=words[0].trim(); var country=words[1].trim(); if(country ==""){ country ="my"; } var checkaddr=bottomlinkconvert(incoming); checkaddr=checkaddr.toLowerCase(); var add="http://www.agegoogle.com/offers/"+country+"/"+checkaddr+"/avc"; window.open(add,checkaddr,'width=800,height=800,toolbar=1,scrollbars=1,resizable=1,left=0,top=0'); return false; } function getdetailsAGEOFFERS() { var searchfor=document.getElementById("AVCsearch").value; window.open("http://www.agepaperless.com/indexBasic.php?"+searchfor,searchfor,'width=800,height=800,toolbar=0,scrollbars=1,resizable=1,left=0,top=0'); return false; } document.getElementById('website').style.height="45px"; document.getElementById('website').style.fontSize="14pt"; function getkeyword() {var ss=document.getElementById("website").value; window.open('http://agepaperless.com/indexBasic.php?'+ ss,'_blank'); } document.getElementById('website').style.height="45px"; document.getElementById('website').style.fontSize="14pt";