// Layer handling function yMM_findObj(n,d) { //v4.01 var p,i,x; if (!d) d=document; if ((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if (!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 4) ? parseInt(aA[4]) : 0, iR = (aA.length > 5) ? parseInt(aA[5]) : 0; var iT = 10, sS = ""; if (!document.layers) {oD = oD.style;} if (oD.tT != null) {clearTimeout(oD.tT);} var iCX = parseInt(oD.left), iCY = parseInt(oD.top); if (iR != 0) { // relative if (iR == 1) {iNX = iCX - iNX; iNY = iCY;} // left else if (iR == 2) {iNX = iCX + iNX; iNY = iCY;} // right else if (iR == 3) {iNY = iCY - iNY; iNX = iCX;} // up else {iNY = iCY + iNY; iNX = iCX;} } // down var iX = iNX, iY = iNY; if ((iCX != iNX) || (iCY != iNY)) { if (iPx > 0) { iT = iS; var iPxX = iPx, iPxY = iPx, iMX = Math.abs(iCX - iNX), iMY = Math.abs(iCY - iNY); if (iMX < iMY) {iPxY = (iMX != 0) ? ((iMY/iMX)*iPx) : iPx;} else {iPxX = (iMY != 0) ? ((iMX/iMY)*iPx) : iPx;} if (iPxX >= iMX) {iPxX = Math.min(Math.ceil(iPxX), iPx);} if (iPxY >= iMY) {iPxY = Math.min(Math.ceil(iPxY), iPx);} if ((iCX < iNX) && (iCX + iPxX < iNX)) {iNX = iCX + iPxX;} if ((iCX > iNX) && (iCX - iPxX > iNX)) {iNX = iCX - iPxX;} if ((iCY < iNY) && (iCY + iPxY < iNY)) {iNY = iCY + iPxY;} if ((iCY > iNY) && (iCY - iPxY > iNY)) {iNY = iCY - iPxY;} } else { var iMX = ((iNX - iCX) / iS), iMY = ((iNY - iCY) / iS); iMX = (iMX > 0) ? Math.ceil(iMX) : Math.floor(iMX); iNX = iCX + iMX; iMY = (iMY > 0) ? Math.ceil(iMY) : Math.floor(iMY); iNY = iCY + iMY; } if ((parseInt(navigator.appVersion)>4 || navigator.userAgent.indexOf("MSIE")>-1) && (!window.opera)) {sS="px";} if (iMX != 0) {eval("oD.left = '" + iNX + sS + "'");} if (iMY != 0) {eval("oD.top = '" + iNY + sS + "'");} var sFunction = "yflevSlideDiv('" + sD + "'," + iX + "," + iY + "," + iS + "," + iPx + ",0)"; oD.tT = setTimeout(sFunction,iT); } } function yOpenLayer() { window.focus(); yflevSlideDiv('ylinvite',posix,posiy,4,6,0); } function yCloseLayer(cleanup) { yflevSlideDiv('ylinvite',-300,-218,10,0,0); if (cleanup==1) {linvite.location='http://topicnet.de/webxconnect/linvite.php?style=empty&site=191-1&cleanup='+escape(mycookie);} else {linvite.location='http://topicnet.de/webxconnect/linvite.php?style=empty';} document.ltitle.src='http://topicnet.de/webxconnect/ltitle.php?style=empty'; } // Cookie handling function setcookie(value) { //v2.0 var expDate = new Date(); expDate.setFullYear(expDate.getFullYear() + 30); document.cookie = "YALSTSESSION=" + value + "; path=/; expires=" + expDate.toGMTString(); } function readcookie() { var allcookies = document.cookie; var pos = allcookies.indexOf("YALSTSESSION="); if (pos != -1) { var start = pos + 13; var end = allcookies.indexOf(";",start); if (end == -1) end = allcookies.length; var value = allcookies.substring(start,end); if (value != "") {return value;} else {return "none";} } else {return "none";} } // call via campaign? function campaign() { thisurl=String(location.href); expression=/ycsess=([a-zA-Z0-9]{20})/; result=expression.test(thisurl); if (result) { expression.exec(thisurl); return RegExp.$1; } else {return false;} } // call by reference? function ytaf() { thisurl=String(location.href); expression=/ytaf=([a-zA-Z0-9]{30})/; result=expression.test(thisurl); if (result) { expression.exec(thisurl); return RegExp.$1; } else { expression=/ytaf=(1)/; result=expression.test(thisurl); if (result) { expression.exec(thisurl); return 'none'; } else {return false;} } } rnd.today=new Date(); rnd.seed=rnd.today.getTime(); function rnd() { rnd.seed = (rnd.seed*9301+49297) % 233280; return rnd.seed/(233280.0); } function rand(number) { return Math.ceil(rnd()*number); } function open_active_livechat(url,width,height) { if (!width) width=500; if (!height) height=350; Fpopupwindow=window.open(url,"alivechat_191_1","width="+width+",height="+height+",location=no,menubar=no,statusbar=no,scrollbars=no,dependent=no,screenX=20,screenY=20,left=20,top=20"); if (Fpopupwindow.opener == null) Fpopupwindow.opener = self; Fpopupwindow.focus(); } function open_marketing(url,width,height) { if (!width) width=500; if (!height) height=350; Fpopupwindow=window.open(url,"marketing_191_1","width="+width+",height="+height+",location=no,menubar=no,statusbar=no,scrollbars=yes,dependent=no,screenX=20,screenY=20,left=20,top=20"); if (Fpopupwindow.opener == null) Fpopupwindow.opener = self; Fpopupwindow.focus(); } function redo() { var today=new Date(); var localtime=today.getHours()+":"+today.getMinutes(); autotitle="&pagetitle="+escape(window.document.title); document.pixel.src='http://topicnet.de/webxconnect/pixel.php?cookie='+escape(mycookie)+'&vtime='+escape(localtime)+'&site=191-1&surl=www.example.com&smnt=300&ssts=true&sfmn=true&scfm=60&r='+rand(30000)+'&r2='+rand(30000)+'&r3='+rand(30000); var redotimeout=9000; pa="&localtime="+escape(localtime); if (typeof(screen)=="object") { pa+="&screenxy="+screen.width+"x"+screen.height; pa+="&screencd="+screen.colorDepth; } if (navigator.javaEnabled()) {pa+="&java=true";} height=document.pixel.height; width=document.pixel.width; if (height==2) {open_active_livechat('http://topicnet.de/webxconnect/invite.php?cookie='+escape(mycookie)+autotitle+'&site=191-1&from='+escape(window.document.URL),550,530);} if (height==3) {open_active_livechat('http://topicnet.de/webxconnect/pachat.php?cookie='+escape(mycookie)+autotitle+'&site=191-1&from='+escape(window.document.URL)+pa,550,530);} if (height==4) { var now = new Date(); img="&ref="+escape(window.document.referrer); img+="&from="+escape(window.document.URL); img+="&r="+now.getTime(); if (typeof(screen)=="object") { img+="&screenxy="+screen.width+"x"+screen.height; img+="&screencd="+screen.colorDepth; } if (navigator.javaEnabled()) {img+="&java=true";} if (typeof extra != 'undefined') {img+="&extra="+escape(extra);} document.supportbutton.src='http://topicnet.de/webxconnect/button.php?cookie='+escape(mycookie)+'&site=191-1&button=no&count=no'+img; } if (height==5) {open_marketing('http://topicnet.de/webxconnect/marketing.php?cookie='+escape(mycookie)+'&from='+escape(window.document.URL)+'&site=191-1',10,10);} if (height==6) { posix=ypositionx(); posiy=ypositiony(); linvite.location='http://topicnet.de/webxconnect/linvite.php?cookie='+escape(mycookie)+'&site=191-1&from='+escape(window.document.URL); document.ltitle.src='http://topicnet.de/webxconnect/ltitle.php?cookie='+escape(mycookie)+'&color=000000&site=191-1&r='+rand(30000)+'&r2='+rand(30000)+'&r3='+rand(30000); move=setTimeout("yOpenLayer()",2000); } if (height==7) {yCloseLayer(0);} if (height==8) {top.location.href='http://topicnet.de/webxconnect/push.php?id='+escape(mycookie)+'&r1='+rand(30000)+'&r2='+rand(30000)+'&r3='+rand(30000)+'&site=191-1';} if (width==2) { var redotimeout=3500; fdata=''; if (document.forms.length>0) { for (i=0; i"; image=''; document.write(aopen); document.write(image); document.write(''); document.write(''); // document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write(''); document.write('
'); rd=setTimeout("redo()",2000); } yalst();