
function viewBlackMovie(ImageName, RealName, Comment) {
		var newWindow = null;
        newWindow=window.open("","Window","resizable=1,scrollbars=1,width="+screen.width+",height="+screen.height);
		newWindow.moveTo(0,0);		
		newWindow.resizeTo(screen.width,screen.height);
		var newContent = "<HTML><HEAD>\n"
		newContent += "<TITLE>"+RealName+"<\/TITLE><\/HEAD>\n"
		newContent += "<BODY marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\" leftmargin=\"0\"   bgcolor=\"#000000\" >\n"
		newContent += "<table cellpadding=\"0\" cellspacing=\"0\"  bgcolor=\"#000000\" border=\"0\" align=\"center\" width=100% height=100%>\n"
		newContent += "<tr><td valign=middle>\n"
		newContent += "<center>"
		
		newContent += "	<OBJECT WIDTH=790 HEIGHT=590 CLASSID=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" CODEBASE=\"http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0\">"
		newContent += "	<PARAM name=AUTOPLAY VALUE=true>"
		newContent += "	<PARAM name=BGCOLOR VALUE=#000000>"
		newContent += "	<PARAM name=CONTROLLER VALUE=TRUE>"
		newContent += "	<PARAM name=pluginspage VALUE=http://www.apple.com/quicktime/download/indext.html>"
		newContent += "	<PARAM name=type VALUE=video/quicktime>"
		newContent += "	<PARAM name=SRC VALUE="+ImageName+">" 			
		newContent += "	<embed width=790 height=590 src="+ImageName+" bgcolor=#000000 AUTOPLAY=TRUE controller=TRUE border=0 CACHE=FALSE pluginspage=\"http://www.apple.com/quicktime/download/indext.html\">"
		newContent += "	<\/OBJECT>"		

		newContent += "<\/center>\n"
		newContent += "<\/table>\n"
    	newWindow.document.open();
		newWindow.document.writeln(newContent)
		newWindow.document.writeln("<\/BODY><\/HTML>")
		newWindow.document.close()
		newWindow.focus();		
}

//function newImage2Window(ImageName,ExtName,w,h) {
function viewBlackImage(ImageName, RealName, Comment) {
//		newWindow=window.open("",""+ImageName+"","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width="+screen.width+",height="+screen.height+"");
//		newWindow=window.open("",""+ImageName+"","scrollbars=1,resizable=1,width="+screen.width+",height="+screen.height);
		var newWindow = null;
//		newWindow=window.open("",ImageName,"scrollbars=1,resizable=1");
        newWindow=window.open("","Window","resizable=1,scrollbars=1,width="+screen.width+",height="+screen.height);
//		setWSize(newWindow,screen.width,screen.height);
		newWindow.moveTo(0,0);		
		newWindow.resizeTo(screen.width,screen.height);
		var newContent = "<HTML><HEAD>\n"
		newContent += "<script language=\"javascript\">\n"
		newContent += "var r=-1\n"
		newContent += "function Init() {\n"
		newContent += "if (navigator.appName==\"Netscape\") r=0;\n"
		newContent += "self.focus(); window.setTimeout(\"r = 0\",1000)\n}\n"
		newContent += "<\/script>\n"
		newContent += "<TITLE>"+RealName+"<\/TITLE><\/HEAD>\n"
		newContent += "<BODY onLoad=\"Init()\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\" leftmargin=\"0\"   bgcolor=\"#000000\" >\n"
		newContent += "<table cellpadding=\"0\" cellspacing=\"0\"  bgcolor=\"#000000\" border=\"0\" align=\"center\" width=100% height=100%>\n"
//		newContent += "<caption><font color=\"#FFFFFF\" size=+1>"+Comment+"<\/font><\/caption>\n"
		newContent += "<tr><td valign=middle>\n"
		newContent += "<center><a href=\"javascript: if (r == 0) self.close()\" > <img border=\"0\" src=" + ImageName + "><\/a><\/center>\n"
		newContent += "<\/table>\n"
    	newWindow.document.open();
		newWindow.document.writeln(newContent)
		newWindow.document.writeln("<\/BODY><\/HTML>")
		newWindow.document.close()
		newWindow.focus();		
}


