// OpenPictureWindow_Fever - pop-up window with title

function openPageWindow_Fever(pageName,pageWidth,pageHeight,posLeft,posTop) {
	newWindow = window.open(pageName,"newWindow","width="+pageWidth+",height="+pageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.close();
	newWindow.focus();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
	remote = window.open(theURL,winName,features);
	remote.focus();
}

function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.parent.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body style="margin: 0px; padding: 0px;" bgcolor=white" 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();
}

function openPageWindow(pageName,pageWidth,pageHeight,posLeft,posTop) {
//remote = window.open("", "remotewin","width=700,height=400,status=yes,scrollbars=no resize=yes,menubar=yes");
	newWindow = window.open("","newWindow","scrollbars=yes, width="+pageWidth+",height="+pageHeight+",left="+posLeft+",top="+posTop+"");
	newWindow.location.href= pageName;
	newWindow.focus();
}
