//<!-- Begin
// ----- NetArchitects insertion flash procedure : v2.0 03/2001-------------------------------------------------------------
// ----- 	developed by Georgios Galyfianakis & Qin Pang.
//
// ----- check if plugin is present ----------------------------------------------------------------------------------------
function insertFlash(url,param,width,height,version,id,alt) {
	if ( is_ie && !is_win && alt == "altindex" ) { flashInfo() }	// BUG : if security is high. (blank screen) -------
	if ( is_ie && is_win ) {
		checkSecurity(url,param,width,height,version,id,alt); }
	else {
		var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
		if ( plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= version ) {
			flash(url,param,width,height,version,id,alt) }
		else {  altflash(url,param,width,height,version,id,alt) }
	}
}
// ----- insert flash ------------------------------------------------------------------------------------------------------
function flash(url,param,width,height,version,id,alt){
	document.write ('<embed src="' +url+ '.swf'+(param==''?'':param+'&type=.swf')+'" width=' +width+ ' height=' +height+ ' name=' +id+ ' menu="false" swliveconnect="false" mayscript="mayscript" type="application/x-shockwave-flash">');
}
// ----- alternate methode -------------------------------------------------------------------------------------------------
function altflash(url,param,width,height,version,id,alt){
	if (!alt) {	// --------------------------- if "alt" is empty, an "jpeg" is inserted with the same name. --------
		document.write ('<img src="' +url+ '.jpg" width=' +width+ ' height=' +height+ '>');
	} else {	// --------------------------- else, insert an specific code for each case. ------------------------
		document.write ('<img src="' +url+ '.jpg" width=' +width+ ' height=' +height+ '>');
}
// ----- message box info --------------------------------------------------------------------------------------------------
function flashInfo(alt){
	if ( is_ie ) {	// ----------------- information about "SECURITY" --------------------------------------------------
		
		if (alt=="altindex_fr") {
			content  = ' INFORMATION FLASH : \n\n ';
			content += ' Avant de télécharger le plug-in \n ';
			content += ' contrôler dans vos OPTIONS DE SECURITE \n ';
			content += ' (voir Outils -> Options Internet -> Sécurité) \n ';
			content += ' et autoriser les ActiveX. \n ';
			content += ' Suivez les instructions d\'installation. \n ';
			content += ' Fermer votre navigateur et redémarrer-le \n ';
			content += ' afin que votre plug-in fonctionne ! \n ';
			alert(content);
		}
		if (alt=="altindex_en") {
			content  = ' EXPLORER FLASH INFORMATION : \n\n ';
			content += ' Before downloading the plug-in \n ';
			content += ' please make sure your SECURITY OPTIONS \n ';
			content += ' (see Tools -> Internet Options -> Security) \n ';
			content += ' allow ActiveX. \n ';
			content += ' Follow the instructions for the installation. \n ';
			content += ' You may have to close your browser and restart \n ';
			content += ' it for the plug-in to work ! \n ';
			alert(content);
		}
		if (alt=="altindex_it") {
			content  = ' MACROMEDIA FLASH INFORMAZIONI : \n\n ';
			content += ' Prima de caricaricare il plug-in \n ';
			content += ' prego assicurare che vostro OPZIONE DI SICUREZZA \n ';
			content += ' (vedere gli Strumenti di Opzioni Internet -> Sicurezza) \n ';
			content += ' consente ActiveX. \n ';
			content += ' Seguire le istruzione per le instalazione. \n ';
			content += ' Potete dovere chiudere il vostro browser e ricominciarlo \n ';
			content += ' affinchà il collegamento funzione ! \n ';
			alert(content);
		}
		if (alt=="altindex_de") {
			content  = ' FLASH INFORMATION : \n\n ';
			content += ' Bevor Sie den Plugin downloaden,  \n ';
			content += ' sollten Sie Ihre Sicherheitsoptionen überprüfen \n ';
			content += ' (siehe Extras - Internetoptionen - Sicherheit ) \n ';
			content += ' und ActiveX autorisieren. \n ';
			content += ' Folgen Sie den Installationsanweisungen. \n ';
			content += ' Damit Ihr Plugin funktioniert müssen Sie \n ';
			content += ' Ihren Internet-Browser zuerst schliessen \n ';
			content += ' und dann wieder starten. \n ';
			alert(content);
		}
	}
}
// End -->

