<!--
var sBrowser = navigator.userAgent;
var dspFalse = 'none';
var dspTrue  = 'block';
var prlFlag = false;

// global browser detection
if ((sBrowser.indexOf("IE") > -1) && (navigator.platform == "Win32")) {
	if (window.opera) {
		sBrowser = "nonIE";
		dspTrue  = 'table-row';
	} else {
		sBrowser = "IE";
		dspTrue  = 'block';
	}
} else {
	sBrowser = "nonIE";
	dspTrue  = 'table-row';
}


// change accounttype
function toggleLayer(country) {
	document.getElementById('pincode').focus();
	var cnt 	= 	document.getElementsByTagName("div");
	var cCnt 	= 	cnt.length;

	for(i=0;i<cCnt;i++){

		if(cnt[i].className.indexOf('xsNummer') != -1 && cnt[i].className.indexOf(country) != -1)  cnt[i].style.display = dspTrue;
		else if(cnt[i].className.indexOf('xsNummer') != -1) cnt[i].style.display = dspFalse;

		if(cnt[i].className.indexOf('xsCosts') != -1 && cnt[i].className.indexOf(country) != -1)  cnt[i].style.display = dspTrue;
		else if(cnt[i].className.indexOf('xsCosts') != -1) cnt[i].style.display = dspFalse;
	}
}


var bookmarkurl="http://www.livefromholland.com"
var bookmarktitel="www.livefromholland.com - Nederlandse webcam jongens live!"

function favorieten(){
	if (document.all){
		window.external.AddFavorite(bookmarkurl,bookmarktitel)
	}
}


function resizeWindow(){
	document.getElementById('pincode').focus();
	self.moveTo(0,0);
	self.resizeTo(screen.availWidth,screen.availHeight);
}


function leapto(form) {
	var myindex=form.dest.selectedIndex
	parent.self.location.href=(form.dest.options[myindex].value);
}


function showInfo(per_id) {
	var width  = '550';
	var height = '374';
	var top    = (screen.height-height)/2-10;
	var left   = (screen.width-width)/2-5;
	var url 	= 'info/?id='+ id +'&info='+ info + '&tool='+ tool +'&per_id='+ per_id +'&country='+ country +'&language='+ language;
	newWindow=window.open(url,'info','width=' + width + ',height=' + height + ',top=' + top + ',left=' + left + ',features=toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable=no,maximize=no,minimize=no');
	newWindow.focus();
}


function goClck()
{
	var opener;
	var pinbox;
	setTimeout("clearFields()",1000);

	if (document.getElementById)
	{
		pinbox	=	document.getElementById('pincode');
	}
	else
	{
		pinbox	=	document.tf.pincode;
	}

	if (pinbox.value.length < 4)
	{
		window.alert('U heeft een ongeldige pincode ingetoest!');
		return false;
	}
	else
	{
		newWidth 	= screen.width;
		newHeight 	= screen.height - 30;

		opener		=	window.open('about:blank','membersarea','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width='+newWidth+',height='+newHeight+',left=0,top=0');
	}
}

function clearFields()
{
	if (document.getElementById)
	{
		document.getElementById('pincode').value = "";
	}
	else
	{
		document.tf.pincode.value = "";
	}
}



-->
