/*******************************************************
popup function
*******************************************************/
function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt) {
	var scroll = '';
	var winHeight = imageHeight;
	var winWidth = imageWidth;
	if ( winHeight > 700 ) {
		scroll = ",scrollbars=yes";
		winWidth += 20;
		winHeight = 700;
	}
	if ( /safari/gi.test(navigator.userAgent) ) {
		winWidth+=5;
		winHeight+=5;
	}
   	var left = Math.floor( (screen.width - winWidth) / 2);
    var top = Math.floor( (screen.height - winHeight) / 2);
	newWindow = window.open("","newWindow","resizable=1,width="+winWidth+",height="+winHeight+",left="+left+",top="+top+scroll);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt="'+alt+'">'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
