<!--
var isCurrent;

function detectFlash() {
	//alert(navigator.mimeTypes["application/x-shockwave-flash"]);
  isCurrent = ( navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] ) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
  if( isCurrent ) {
  //alert("true");
    isCurrent = parseInt( isCurrent.description.substring( isCurrent.description.indexOf( "." ) -1 ) ) >= 6;
  }
  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 ME" ) >= 0
   || navigator.userAgent.indexOf( "Windows NT" ) >= 0 ) ) {
    document.write( '<script language="VBScript"> \n' );
    document.write( 'on error resume next \n' );
    document.write( 'isCurrent = ( IsObject( CreateObject( "ShockwaveFlash.ShockwaveFlash.6" ) ) ) \n' );
    document.write( '</script>' );
  }
}

//FUNCTION TO OPEN iDEMO IN MAXIMIZED WINDOW and REDIRECT PARENT WINDOW TO NEW PAGE	
function show_iDemo() {
    document.getElementById('flash').style.display = "none";
	document.getElementById('static').style.display = "block";
	
    url = "/us_english/jsp/idemo/index.jsp";
	features = "width=" + screen.width + ",height=" + screen.height +",location=no,menubar=no,status=no,toolbar=no,scrollbars=no,resizable=no";
	win = window.open(url, name, features);
	win.moveTo(0, 0);
	win.focus();
}


//-->
