﻿// JScript File
function popFlash(width, height, title, swfSource)
{
    var win = window.open ("", "_blank",
        "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+width+",height="+height, true);
    win.document.write(
    	'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
		+ '<html xmlns="http://www.w3.org/1999/xhtml">'
		+ '<head>'
		+ '<title>' + title + '</title>'
		+ '</head>'
		+ '<body style="margin:0; padding:0">'
		+ '<div id="flash"></div>'
		+ '<script type="text/javascript">'
		+ '// <![CDATA['
		+ 'var so = new SWFObject("' + swfSource + ', "", "' + width + '", "'+ height + '", "8", "","transparent");'
		+ 'so.write("flash");'
		+ '// ]]>'
		+ '</script>'
		+ '</div>'
        + '</body></html>');
    //win.moveTo(316, 602);
}
