function resolution(){
	imageObject = document.getElementById( 'imageHolder' );
	getDimension();
	if ((screen.width>=800) && (screen.height>=600))
	{
		imageObject.className = 'res800600';
		imageObject.style.top 		= -(600 - frameHeight  )/2;
		imageObject.style.left 		= -(600 - frameWidth  )/2;
		imageObject.style.height 	= '600px';
		imageObject.style.width 	= '800px';
	}
	if ((screen.width>=1024) && (screen.height>=768))
	{
		imageObject.className = 'res1024768';
		imageObject.style.top 		= -(768 - frameHeight  )/2;
		imageObject.style.left 		= -(1024 - frameWidth  )/2;
		imageObject.style.height 	= '786px';
		imageObject.style.width 	= '1024px';
	}
	if ((screen.width>=1280) && (screen.height>=1024))
	{
		imageObject.className 		= 'res12801024';
		imageObject.style.top 		= -(1280 - frameHeight  )/2;
		imageObject.style.left 		= -(1280 - frameWidth  )/2;
		imageObject.style.height 	= '1024px';
		imageObject.style.width 	= '1280px';
	}
}

function getDimension () {
	
	    if (self.innerWidth) // Als de browser deze manier van aanroepen hanteerd
	    {
	        frameWidth = self.innerWidth; // Haal de frame-width op
	        frameHeight = self.innerHeight; // Haal de frame-height op
	    }
	    else if (document.documentElement && document.documentElement.clientWidth)  // Als de browser deze manier van aanroepen hanteerd
	    {
	        frameWidth = document.documentElement.clientWidth; // Haal de frame-width op
	        frameHeight = document.documentElement.clientHeight; // Haal de frame-height op
	    }
	    else if (document.body)  // Als de browser deze manier van aanroepen hanteerd
	    {
	        frameWidth = document.body.clientWidth; // Haal de frame-width op
	        frameHeight = document.body.clientHeight; // Haal de frame-height op
	    }
	    else return;
	}

function goUrl( url ){
	document.location.href = url;
}
