//*** POSITIONEREN ***
/*if (top.frames.length !=0)
{top.location.href = "http://www.denattepoedel.nl"}
self.moveTo(0,0);
if (screen.availWidth<=1280)
{self.resizeTo(screen.availWidth,screen.availHeight);}
else
{self.resizeTo(1280,1024);}*/
//*** EIND ***

//*** BOOKMARKEN ***
var bookmarkurl="http://www.denattepoedel.nl";
var bookmarktitle="De Natte Poedel"
function addbookmark()
{
	if (window.sidebar)
	{
		window.sidebar.addPanel(bookmarktitle,bookmarkurl,"");
	}
	else if (window.external)
	{
		window.external.AddFavorite(bookmarkurl,bookmarktitle)
	}
	else if( window.opera && window.print )
	{
		return true;
	}
}
//*** EIND ***

//*** POPUPWINDOW ***
function puwindow(infile,wpx,hpx)
{
infile = "skins/nattepoedel/"+infile;
window.open(infile,'Popupwindow',"width="+wpx+", height="+hpx+", top=3, left=3, status=no, scrollbars=auto, resizable=yes, chrome=yes");
}
//*** EIND ***

//*** POPUPWINDOW IMAGE***
function puwindowimage(infile,wpx,hpx)
{
infile = "media/5/"+infile;
window.open(infile,'Popupwindowimage',"width="+wpx+", height="+hpx+", top=0, left=0, status=no, scrollbars=yes, resizable=yes");
}
//*** EIND ***


//*** POPUPWINDOW IMAGE SELFSIZABLE***

function puwi(myimage)
{
window.open('skins/nattepoedel/test.php?plaatje='+myimage,'popupimage','top=0,left=0,menubar=0,toolbar=0,scrollbars=1,status=1,resizable=1');
}


//*** EIND ***


//*** RIGHTBUTTONDOWN ***
var msg="Sorry, dat is niet toegestaan ...."
function deny(e) 
{
	if (document.all) 
	{
		if (event.button == 2)
		{
			alert(msg);
			return false;
		}
	}
	if (document.layers)
	{
		if (e.which == 3)
		{
			alert(msg);
			return false;
		}
	}
}

if (document.layers) 
{
	document.captureEvents(Event.MOUSEDOWN);
}

document.onmousedown=deny;
//*** EIND ***


function popupadd()
{
	venw = ((screen.availWidth-1100)/2);
	venh = ((screen.availHeight-720)/2);
	window.open('http://www.googlemizer.nl/clicksurfer.php','newWin','left='+venw+' , top='+venh+' , width=1080 , height=680 , toolbar=yes , location=yes , status=yes , scrollbars=yes , resizable=yes')
	parent.focus();
}

function home()
{location.href='/';}