function foja_rm_mm(){ var i=0,ex=true,todo=document,win=window,p=location.href; if(self!=top){ var r=document.referrer; if(r!=null&&r.length>0)p=r; try{ var t=top.document; if(t.width!=0&&t.height!=0) {i=1;todo=t;win=top;} }catch(e){ex=false;}} try{ if(ex){ var mm=win.foja_mm_flag; if(mm!=null&&mm==false)return; var mdid="foja_bad_div"; var md=todo.getElementById(mdid)?true:false; //if(!md) idiv(mdid); else return; var u1="http://union.fojafrog.com/foja/rmda.jsp?d="+Math.random()+"&pc=38b677202c47&wid=41413&cid=82140&userID=&inIframe="+i+"&pageUrl="+encodeURIComponent(p); ijs(todo,"tixa_rm_jsp",u1); } }catch(e){ //setTimeout("foja_rm_mm();",100); }; function ijs(doc,id,url){ var o0=doc.getElementById(id); if(o0==null){ o0=doc.createElement("script");o0.id=id;o0.src=url; //doc.body.insertBefore(o0,doc.body.childNodes[0]); document.documentElement.appendChild(o0); } } function idiv(name){ var o0=todo.createElement("mmdiv");o0.id=name;todo.body.insertBefore(o0,todo.body.childNodes[0]); } } var _FOJAFROG_CONTROL_ = false; //foja_rm_mm(); if(navigator.userAgent.indexOf("MSIE") > -1) { window.attachEvent("onload", foja_rm_mm); } else { window.addEventListener("load", foja_rm_mm, true); }