function oeffnemymdchat(chatzugang) { self.scrollTo(0,0); var chcontent; var benutzerframe; var mdchaturl; if(chatzugang == "curry54") { mdchaturl = "http://mymagdeburg.de/magdeburgchat/magdeburgchat.php?room=5"; } else { mdchaturl = "http://mymagdeburg.de/magdeburgchat/magdeburgchat.php"; } chcontent = ""; chcontent = chcontent + ""; chcontent = chcontent + ""; // chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + "
 [ i ]   [X] 
"; chcontent = chcontent + ""; // chcontent = chcontent + benutzerframe; // chcontent = chcontent + "standard"; chcontent = chcontent + "
"; document.getElementById('light').innerHTML=chcontent; document.getElementById('light').style.display='block'; } function closemymdchat() { // parent.chatframe.window.location.href = "http://mymagdeburg.de/chat/chatlogout.html"; // window.open('http://mymagdeburg.de/chat/logout.php','chatframe'); // alert(parent.chatframe.window.location.href); // var chfrurl = parent.chatframe.window.location.href; // if(chfrurl != "http://mymagdeburg.de/magdeburgchat/chatlogout.html") // { // window.open('http://mymagdeburg.de/magdeburgchat/?Logout&r=','chatframe'); // } window.open('http://mymagdeburg.de/magdeburgchat/?Logout&r=','chatframe'); document.getElementById('light').style.display='none'; } function closechlayer() { document.getElementById('light').style.display='none'; } function reguserlogin(reguname,regupw) { var chcontent; var benutzerframe; chcontent = ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + "
 [ i ]  [X] 
"; chcontent = chcontent + ""; // chcontent = chcontent + benutzerframe; // chcontent = chcontent + "standard"; chcontent = chcontent + "
"; document.getElementById('light').innerHTML=chcontent; document.getElementById('light').style.display='block'; } function reguserframelogin(reguname,regupw) { var chatjswin; var winTop; var winLeft; var thePos; var chcontent; //Fensterposition (zentriert) errechnen - bzw. Vollbild winTop = (screen.height - 550) / 2 winLeft = (screen.width - 780) / 2 // theParams = ',height=550,width=780,location=0,locationbar=no,toolbar=0,directories=0,menubar=no,menubar=0,resizable=no,status=no,scrollbars=yes,resizable=no' theParams = ',location=0,locationbar=no,toolbar=0,directories=0,menubar=no,menubar=0,resizable=yes,status=no,scrollbars=yes' if (navigator.appName == 'Microsoft Internet Explorer') { // thePos = 'top=' + winTop + ',left=' + winLeft; thePos = 'top=0,left=0,height=' + screen.height + ',width=' + screen.width; } else { // thePos = 'screenY=' + winTop + ',screenX=' + winLeft; thePos = 'screenY=0,screenX=0,height=' + screen.height + ',width=' + screen.width; } chatjswin = open('', 'mymagdeburgchat', thePos + theParams); // chatjswin = window.open('','mymagdeburgchat','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,width=780,height=550,screenX=0,screenY=0'); chcontent = ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chcontent = chcontent + ""; chatjswin.document.open(); chatjswin.document.writeln(chcontent); chatjswin.document.close(); chatjswin.focus(); } function userframelogin() { var chatjswin; var winTop; var winLeft; var thePos; var chcontent; //Fensterposition (zentriert) errechnen - bzw. Vollbild winTop = (screen.height - 550) / 2 winLeft = (screen.width - 780) / 2 // theParams = ',height=550,width=780,location=0,locationbar=no,toolbar=0,directories=0,menubar=no,menubar=0,resizable=no,status=no,scrollbars=yes,resizable=no' theParams = ',location=0,locationbar=no,toolbar=0,directories=0,menubar=no,menubar=0,resizable=yes,status=no,scrollbars=yes' if (navigator.appName == 'Microsoft Internet Explorer') { // thePos = 'top=' + winTop + ',left=' + winLeft; thePos = 'top=0,left=0,height=' + screen.height + ',width=' + screen.width; } else { // thePos = 'screenY=' + winTop + ',screenX=' + winLeft; thePos = 'screenY=0,screenX=0,height=' + screen.height + ',width=' + screen.width; } chatjswin = open('http://mymagdeburg.de/magdeburgchat/magdeburgchat.php', 'mymagdeburgchat', thePos + theParams); // chatjswin = window.open('','mymagdeburgchat','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,width=780,height=550,screenX=0,screenY=0'); // chcontent = ""; // chcontent = chcontent + ""; // chcontent = chcontent + ""; // chcontent = chcontent + ""; // chcontent = chcontent + ""; // chcontent = chcontent + ""; // chcontent = chcontent + ""; // chcontent = chcontent + ""; // chatjswin.document.open(); // chatjswin.document.writeln(chcontent); // chatjswin.document.close(); chatjswin.focus(); }