function addbookmark(){
if (document.all)
window.external.AddFavorite("http://www.hurenline.de","Hurenline")
}

function Regeln() { //v2.0
  window.open('hausordnung.php','hausordnung','scrollbars=yes,width=400,height=500');
}

function onlclick(form) 
{ 	
var myindex=form.auswahl.selectedIndex;
form.auswahl.selectedIndex=-1;
self.location='steckbrief.php?showid='+(form.auswahl.options[myindex].value);
}

function showPOP(url) 
{
	window.open(url,'mailpass','width=321,height=101,left=120,top=120,scrollbars=no,title=');
}

function nvchange(id,stat)
{
document.location.href='nvchange.php?id='+id+'&stat='+stat;
}
function nvchangevipkonto(id,stat)
{
document.location.href='nvchangevipkonto.php?vipkonto='+id+'&stat='+stat;
}
function neton(id)
{
document.location.href='neton.php?id='+id;
}
function netoff(id)
{
document.location.href='netoff.php?id='+id;
}

function callip(id)
{
document.location.href='callto:'+id;
}

function ovchange(id,stat)
{
document.location.href='ovchange.php?id='+id+'&stat='+stat;
}

function pass(url,id) 
  {
  window.open('changepass.php','','width=400,height=400,left=120,top=120,scrollbars=no,title=');
  }
  
function sicher1(id)
{
var msg="Bist su sicher das du deinen Steckbrief löschen willst?\nDamit werden auch die Zugangsdaten gelöscht!!";
if (confirm(msg)) 
{
	document.location.href='killmyself.php?id='+id;
}
else return;
}


function checkheader(form) 
{
       document.header.len.value=document.msglist.nachricht.value.substring(0,30);
       left=0;
	   
        laenge=form.nachricht.value.length;
        if (laenge>2000) {
                form.nachricht.value=form.nachricht.value.substring(0,2000);
                leftlaenge=0;
        } else {leftlaenge=2000-laenge;}
        form.laenge.value=leftlaenge;
} 

function markall()
{
var ind;
var ic=0;

if (msglist.msgid)
{ind=msglist.msgid.length;
if (ic < ind){
while (ic < ind)
{msglist.msgid[ic].checked=msglist.marker.checked;
ic++;}}
else 
{msglist.msgid.checked=msglist.marker.checked;
}}}

 function bewerten(url,id) 
  {
  win=window.open('bewertung.php?showid='+url+'&anznummer='+id,'BEW','width=325,height=189,top=220,left=320');
  win.focus();
  }

function viewcam(host,port,name)
	{
	liveviewer=window.open('','','width=320,height=240,left=120,top=120');
	liveviewer.location.href='liveviewer.php?host='+host+'&port='+port+'&nick='+name;
	}
	
function vipinfo() { //v2.0
  window.open('vip-mitgliedschaft.php','vip_mitgliedschaft','scrollbars=yes,width=400,height=500');
}

function show(url) 
{
window.open('show.php?what='+url,'','width=400,height=400,left=120,top=120,scrollbars=no,title=');
}

function check(form) {
        len=form.flirttext.value.length;
        if (len>2000) {
                form.flirttext.value=form.flirttext.value.substring(0,2000);
                left=0;
        } else {left=2000-len;}
        form.len.value=left;
}

function zahlen()
{
if(event.keyCode < 48 || event.keyCode > 57) { event.returnValue = false; } else {if(event.which < 48 || event.which > 57) return false;}
}

function OpenFreeAccountWindow()
{
	var win = window.open('http://www.cam-content.com/LSPS/_PayPage/InsertFreeAccountData.aspx?BackLink=javascript%3awindow.close()%3b','PaymentWindow','width=800,height=640');
	win.focus();
}

function OpenTelefonSofortZugangWindow()
{
	var win = window.open('http://www.cam-content.com/LSPS/_PayPage/PayByCallTime.aspx?BackLink=javascript%3awindow.close()%3b','TelefonSofortzugangWindow','width=800,height=640');
	win.focus();
}

function OpenNewsletterWindow()
{
	var win = window.open('http://www.cam-content.com/LSPS/_Newsletter/Subscribe.aspx','ImpressumWindow','width=280,height=280');
	win.focus();
}

function caminfo() { //v2.0
  window.open('sexcams-sexchat.htm','sexcam','scrollbars=yes,width=400,height=300');
}