document.oncontextmenu=document.ondragstart=document.onselectstart=function(){return false;};function se(){document.onkeypress=function(e){var k;if(e&&e.which){e=e;k=e.which;}else{e=event;k=e.keyCode;}if(k==13&&document.getElementById('sv').value!="חיפוש באתר")gt("?serval="+document.getElementById('sv').value);};}var r;function g(w,o){var t=o==1?w.offsetLeft:w.offsetTop,p=w.offsetParent;while(p!=null){t=o==1?t+p.offsetLeft:t+p.offsetTop;p=p.offsetParent;}return t;}function s(u,z,k){r=document.getElementById("a");r.style.display="block";r.x=g(z,1);r.y=g(z,0);r.style.left=xy(z,1)+"px";r.style.top=xy(z,2)-60+"px";r.innerHTML="<div class='txt' style='padding:8px;'>"+u+"</div>";op("a",0,100,1);if(k==1)z.onmouseout=ht;}function ht(){op("a",100,0,1);}function xy(o,n){var c=0;if(o.offsetParent)while(o.offsetParent){c+=n==1?o.offsetLeft:o.offsetTop;o=o.offsetParent;}else c+=n==1?o.x:o.y;return c;}function op(j,d,y,q){var m=0,i;if(d>y)for(i=d;i>=y;i--,m++)setTimeout("co("+i+",'"+j+"')",(m*q));else for(i=d;i<=y;i++,m++)setTimeout("co("+i+",'"+j+"')",(m*q));}function co(v,i){var c=document.getElementById(i).style;c.opacity=v/100;c.MozOpacity=v/100;c.KhtmlOpacity=v/100;c.filter="alpha(opacity="+v+")";}function as(v){document.getElementById('comment').value+=v;}function gt(m){window.location='http://www.maroms.com/blog/'+m;}function ss(f){r=document.getElementById('ms');var x=document.getElementById('sb');if(f.length>2){r.x=g(x,1);r.y=g(x,0);r.style.left=xy(x,1)+"px";r.style.top=xy(x,2)+18+"px";r.style.display="block";op("ms",0,90,2);r.innerHTML='<table class="j" width="237" cellpadding="7" cellspacing="0"><tr><td><img src="i/i.gif" width="32" height="32" alt="טוען"></td><td>נא להתאזר בסבלנות...</td></tr></table>';lo('http://www.maroms.com/blog/search/?s='+f+'&amp;'+Math.random(),'ms');}else r.style.display="none";}function lo(s,p){var xmlHttp=null,f=document.getElementById(p);try{xmlHttp=new XMLHttpRequest();}catch(e){try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}}xmlHttp.onreadystatechange=function(){if(xmlHttp.readyState==4)try{if(xmlHttp.status==200){f.innerHTML=xmlHttp.responseText;}}catch(e){f.innerHTML="שגיאה פנימית. נא לנסות במועד מאוחר יותר.";}}
xmlHttp.open("GET",s);xmlHttp.send(null);}