function popUpDCRWindow(aW, aH, sW, sH, aFile)
{
	newwindow2=window.open('','name','height='+aH+',width='+aW+'');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>a preview window</title>');
	tmp.write('</head><body bgcolor=#333333>');
	tmp.write('<p><center>');
	tmp.write('<OBJECT CLASSID="clsid:166B1BCA-3F9C-11CF-8075-444553540000"');
	tmp.write('CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0"');
    tmp.write('WIDTH="'+sW+'" HEIGHT="'+sH+'">');
    tmp.write('<PARAM NAME="SRC" VALUE="'+aFile+'">');
    tmp.write('<EMBED SRC="'+aFile+'" WIDTH='+sW+' HEIGHT='+sH+' TYPE="application/x-director" PLUGINSPAGE=');
    tmp.write('"http://www.adobe.com/shockwave/download/">');
    tmp.write('</EMBED>');
    tmp.write('</OBJECT>');
	tmp.write('</center></p></body></html>');
	tmp.close();
}