function popUp(URL)
{
window.open(URL,"CtrlWindow","toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=400,height=300");
}

function rpopUp(URL)
{
window.open(URL,"CtrlWindow","toolbar=0,resizable=0,width=300,height=120");
}

function xpassword(nr)
{
var pass1 = str_to_num(window.prompt('Bitte geben Sie das Passwort ein',''));
if (pass1 != "8974918292")
   {
    alert('!! Keine Zugangsberechtigung !!');
    //history.go(-1);
    parent.frames[2].location.href = '../Internet/folder.html';

   } 
else
   {
    if (nr == 1)  
     parent.frames[2].location.href = '../Testseite/testseite.html';
    else if (nr == 2)
     parent.frames[2].location.href = 'http://v1.nedstatbasic.net/stats?ABJ9FABmLHeTkJkTaW1HADq5rdXA"';
    else
     parent.frames[2].location.href = 'http://www.countering.de/wcp2000/userlogin.exe?USER_ID=a300279&PASSWORD=fotini';
   } 
 }

function str_to_num(xword)
{
 var str_in;
 num_out = "";
 str_in = escape(xword);
 for(i = 0; i < str_in.length; i++)
 {
 num_out += str_in.charCodeAt(i) - 23;
 }
 return num_out;
}

function gast()
{
parent.frames[2].location.href = 'http://www.100pro-gaestebuch.de/gbserver/guestbook.pl?seite=1&anzeigen=10&id=spaeth'
}


function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Das ist mein Lieblings-Script");
return false;
}
return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;


