/*
var FlashMode = 0;

<!-- attempt to detect at least Flash 5 -->
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
	if (navigator.plugins && navigator.plugins["Shockwave Flash"] && (versionIndex = navigator.plugins["Shockwave Flash"].description.indexOf(".")) != - 1) {
		var versionString = navigator.plugins["Shockwave Flash"].description.substring(versionIndex-1, versionIndex);
		versionIndex = parseInt( versionString );
		if ( versionIndex >= 5 ) {
				FlashMode = 1;
		}
	}
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0 )) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('FlashMode = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');
	document.write('</SCRIPT\> \n');
}

    <!-- verify Flash 5 installation -->
	if ( !FlashMode ) {
        <!-- F5 not installed -->
        window.location.href = "check.html";
    }
*/

function launchwin(winurl,winname,newwidth,newheight,winfeatures) {
  
  if (newwin.closed == true) {
    newwin = 0;
  }
       
  if (!newwin) {
    newwin = window.open(winurl,winname,winfeatures);
   
  } else {
    newwin.location.href = winurl;
    //newwin.resizeTo(newwidth,newheight);
    newwin.moveTo((screen.width/2)-(newwidth/2),(screen.height/2)-(newheight/2));
  }
  
  newwin.focus();  
}

newwin = 0;
