function reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
  else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
}
reloadPage(true);

/*function loadStyleSheet(){
	if(navigator.appName.indexOf('Netscape')!=-1){
		//Netscape Stylesheet is loaded
		document.write('<link rel="stylesheet" type="text/css" href="scripts/css/NSedelivery.css">')
	} else {
	//Explorer Stylesheet is loaded
		document.write('')
	}
}
loadStyleSheet()
*/
function openBrWindowTxt(URL,title) {
	var ShownHeight = 200
	var ShownWidth = 300
	window.open(URL,title,'scrollbars=yes,resizable=no,menubar=no,toolbar=no,location=no,left=100,top=100,height='+ShownHeight +',width='+ShownWidth)
}

function openBrWindow(URL,title) {
	var ShownHeight = 10
	var ShownWidth = 10
	window.open(URL,title,'scrollbars=no,resizable=no,menubar=no,toolbar=no,location=no,left=5,top=20,height='+ShownHeight +',width='+ShownWidth)
}

function resize()
{
	var texthoogte = 200;
	window.resizeTo(document.images.ArtistObject.width+20,document.images.ArtistObject.height + texthoogte);
	var w = (window.screen.width / 2)-(document.images.ArtistObject.width / 2);
	var h = ((window.screen.height- texthoogte) / 2)-(document.images.ArtistObject.height / 2);
	window.moveTo(w,h);
}



