// detectFlash.js
// (C) 2001-2005 SOS DRIVER
// derniere revision 19/07/2005

function detectFlash2( contentURL ) {

	codeFlash =

		"<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"" +

 		" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\"" +

 		" width=\"18\" height=\"18\">" +

		"<PARAM name=movie value=\"flashdetector.swf" +

		"?contentURL=" + escape( contentURL ) + "\">" +

  	"<PARAM name=loop value=\"false\">" +

  	"<PARAM name=menu value=\"false\">" +

  	"<PARAM name=bgcolor value=\"#FFFFFF\">" +

	  "<EMBED TYPE=\"application/x-shockwave-flash\"" +

		" WIDTH=\"18\" HEIGHT=\"18\"" +

		" BGCOLOR=\"#FFFFFF\"" +

		" SRC=\"flashdetector.swf" +

		"?contentURL=" + escape( contentURL ) + "\"" +

		" LOOP=\"false\" MENU=\"false\"" +

		" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">" +

	  "</EMBED>" +

		"</OBJECT>";

	document.write( codeFlash );

}

function detectFlash( contentURL ) {

	codeFlash =

		"<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"" +

 		" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\"" +

 		" width=\"18\" height=\"18\">" +

		"<PARAM name=movie value=\"flashdetector.swf" +

		"?contentURL=" + escape( contentURL ) + "\">" +

  	"<PARAM name=loop value=\"false\">" +

  	"<PARAM name=menu value=\"false\">" +

  	"<PARAM name=bgcolor value=\"#FFFFFF\">" +

	  "<EMBED TYPE=\"application/x-shockwave-flash\"" +

		" WIDTH=\"18\" HEIGHT=\"18\"" +

		" BGCOLOR=\"#FFFFFF\"" +

		" SRC=\"flashdetector.swf" +

		"?contentURL=" + escape( contentURL ) + "\"" +

		" LOOP=\"false\" MENU=\"false\"" +

		" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">" +

	  "</EMBED>" +

		"</OBJECT>";

if ((navigator.appName == "Microsoft Internet Explorer" &&
    navigator.appVersion.indexOf("Mac") == -1 &&   navigator.appVersion.indexOf("3.1") == -1) ||

    (navigator.plugins && navigator.plugins["Shockwave Flash"])
                       || navigator.plugins["Shockwave Flash 2.0"]){

   //Load a pre-defined HTML page with Flash Player in it into the browser window.
    document.write( codeFlash );
}
else {
    //Load a pre-defined HTML page without Flash Player into the browser window.
    document.location.href = "installFlash.html";
}

}



function installFlash() {

 	document.location.href = "installFlash.html";

}

window.setTimeout( "installFlash();", 10000 );