//setTimeout("removeHref()",1000); //window.onload=removeHrefDelay; if(window.attachEvent){ window.attachEvent("onload",removeHref); }else{ window.addEventListener("load",removeHref,false); } function removeHrefDelay() { var reload=false; allLinks=document.getElementsByTagName('a'); len = allLinks.length; for (var i=0;i= 0) { var difwidth=(width-584)/2; var difheight=(height-455)/2; }else{ var difwidth=(width-565)/2; var difheight=(height-440)/2; } //var difwidth=(width-650)/2; //var difheight=(height-700)/2; difwidth=Math.round(difwidth); difheight=Math.round(difheight); if (difwidth<=0) difwidth=0; if (difheight<=0) difheight=0; if (browser.indexOf("Microsoft") >= 0) { window.open(friendinviter+'formular.ajax.php?key='+key+'&domain='+domain,'','scrollbars=1,resizable=yes,location=no,menubar=no,status=no,titlebar=no,toolbar=no,directories=no,width=584,height=428,left='+difwidth+',top='+difheight); }else { window.open(friendinviter+'formular.ajax.php?key='+key+'&domain='+domain,'','scrollbars=1,resizable=yes,location=no,menubar=no,status=no,titlebar=no,toolbar=no,directories=no,width=565,height=440,left='+difwidth+',top='+difheight); } }