
function EM_OpenWindow(url, name, h, w, full, res, scr, status, menu, tool, loc, dir, title)
{
	window.open(url, name, "height=" + h + ", width=" + w + ", directories=" + dir + ", location=" + loc + ", menubar=" + menu + ", resizable=" + res + ", scrollbars=" + scr + ", status=" + status + ", titlebar=" + title + ", toolbar=" + tool + ", fullscreen=" + full);
}

// use flash_detect.js to return the Flash version
var flashVersion = getFlashVersion ();
//alert ("flash version: " + flashVersion);

// Redirect to appropriate page
if (flashVersion >= 6) location.replace (hasFlashURL);
//else if (flashVersion > 5) location.replace(upgradeFlashURL);
else location.replace (noFlashURL);
//else if (flashVersion == flashVersion_DONTKNOW || flashVersion == null) location.replace(dontKnowFlashVersionURL);