function openchat(windowurl) {
windowname = 'login';
height = 300;
width = 400;
if (navigator.userAgent.indexOf('MSIE') > -1) {
nleft = window.screenLeft + 50;
ntop = window.screenTop + 50;
}
else {
nleft = window.screenX + 50;
ntop = window.screenY + 50;
}
var options = 'top=' + ntop + ',left=' + nleft + ',height=' + height + ',width=' + width + ',scrollbars=no,status=no,location=no,menubar=no,resizable=no,toolbar=no';
window.open(windowurl, windowname, options);
}
function oc2(camid,camname) {
windowname = 'login';
height = 300;
width = 400;
if (navigator.userAgent.indexOf('MSIE') > -1) {
nleft = window.screenLeft + 50;
ntop = window.screenTop + 50;
}
else {
nleft = window.screenX + 50;
ntop = window.screenY + 50;
}
var options = 'top=' + ntop + ',left=' + nleft + ',height=' + height + ',width=' + width + ',scrollbars=no,status=no,location=no,menubar=no,resizable=no,toolbar=no';
window.open('http://www.777livecams.com/cam_register.php?id=P98889&targeturl=%2Findex.php%3Fid%3DP98889&camid='+camid+'&name='+camname+'&id=P98889&l=black', windowname, options);
}
var startList = function(){
	if(document.getElementById){
		var node0 = document.getElementsByName("vct");
		for(var i=0; i<node0.length; i++){
			var node1 = node0[i];
			node1.onclick=function(){
				location.href='/sexchat-'+this.id;
			}
		}
		var node0 = document.getElementsByTagName("span");
		for(var i=0; i<node0.length; i++){
			var node1 = node0[i];
			if(node1.getAttribute("name") == "vct")
				node1.onclick=function(){
					location.href='/sexchat-'+this.id;
				}
		}
		if(document.getElementById("t6_1")){
			var node1 = document.getElementById("t6_1");
			node1.onclick=function(){
				window.open('http://www.adcell.de/click.php?bid=16434-29192-xxxsexchatsorg');
			}
		}
		if(document.getElementById("t6_2")){
			var node2 = document.getElementById("t6_2");
			node2.onclick=function(){
				window.open('http://www.adcell.de/click.php?bid=16434-29192-xxxsexchatsorg');
			}
		}
		if(document.getElementById("anonymzugang")){
			var node3 = document.getElementById("anonymzugang");
			node3.onclick=function(){
				open('http://www.777livecams.com/billing/voicecall_transfer.php?id=P98889&targeturl=%2Findex.php%3Fid%3DP98889&l=black','login','top=50,left=50,width=400,height=300,scrollbars=yes,status=no,location=no,menubar=no,resizable=yes,toolbar=no');
			}
		}
		if(document.getElementById("senderwerden")){
			var node4 = document.getElementById("senderwerden");
			node4.onclick=function(){
				window.open('http://shows.777livecams.com/master/anmeldung.php?id=P98889', 'shows_777livecams', 'height=503,width=745,scrollbars=no,status=no,location=no,menubar=no,resizable=no,toolbar=no');
			}
		}
		if(document.getElementById("webmaster")){
			var node5 = document.getElementById("webmaster");
			node5.onclick=function(){
				window.open('http://www.777partner.com/?id=P98889');
			}
		}
		if(document.getElementById("lostpw")){
			var node6 = document.getElementById("lostpw");
			node6.onclick=function(){
				openchat('http://www.777livecams.com/cam_password.php?id=P98889');
			}
		}
		if(document.getElementById("l_num")){
			var node7_test = document.getElementById("l_num");
			for(i=1; i<=a_lnpath[1]; i++){
				var new_a = document.createElement('a');
				var new_child = node7_test.appendChild(new_a);
				var new_anchor = document.createTextNode(i);
				
				if(a_lnpath[2] == i)
					new_child.setAttribute('class', 'aktlnk');
				new_child.setAttribute('href', '/'+a_lnpath[0]+'/'+i);
				new_child.setAttribute('title', 'Seite '+i);
				new_child.appendChild(new_anchor);
				
				if(i < a_lnpath[1]){
					document.getElementById("l_num").appendChild(document.createTextNode(' | '));
				}
			}
		}
}	}
window.onload=startList;

function hit(hitlink) {if(document.images) {(new Image()).src=''+hitlink+'';}return true;}
