// JavaScript Document
function open_page(w, h, imgname){
	if(w == undefined || h == undefined){
		var w = 200;
		var h = 200;
	};
	var winl = (screen.width-w)/2;
	var wint = (screen.height-h)/2;
	settings='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,toolbar=no,location=no,status=no,menubar=no,resizable=no,dependent=no';
	win=window.open('','newpage', settings)
	win.document.writeln(
	  '<html><head><title>Full Size</title></head>'
		+'<body bgcolor=white onLoad="self.focus()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">'
		+'<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">'
		+'<tr><td align="center" valign="middle">'
		+'<a onClick="self.close()"><img src="' + imgname +'" border="0"></a>'
		+'</td></tr>'
		+'</table>'
		+'</body></html>'
	 )
	win.document.close()
	
	if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}