
function insert_flash_carte (rep,fichier,largeur,hauteur,menu,wmode)
{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+largeur+'" height="'+hauteur+'">');
		document.write('<param name="movie" value="/files/'+rep+'/infosville/'+fichier+'.swf" />');
		document.write('<param name="quality" value="high"> ');
		if ((menu=="false") &&  (wmode!="transparent") )
		{
			document.write('<param name="menu" value="false">');
			document.write('<embed src="/files/'+rep+'/infosville/'+fichier+'.swf" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false" >');
		}
		else if ( (menu=="false") &&  (wmode=="transparent"))
		{
			document.write('<param name="menu" value="false">');
			document.write('<param name="wmode" value="transparent">');
			document.write('<embed src="/files/'+rep+'/infosville/'+fichier+'.swf" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" menu="false">');
		}
		else document.write('<embed src="/files/'+rep+'/infosville/'+fichier+'.swf" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" >');
		document.write('</object> ');
}

function insert_flash_qh_mf_portail (carte,largeur,hauteur)
{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+largeur+'" height="'+hauteur+'" >');
		document.write('<param name="movie" value="/files/portail2002/FR/pages_inverses/portail/quidonc/img/'+carte+'.swf" />');
		document.write('<param name="quality" value="high"> ');
		document.write('<param name="menu" value="false">');
		document.write('<embed src="/files/portail2002/FR/pages_inverses/portail/quidonc/img/'+carte+'.swf" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false">');
		document.write('</object> ');
}


function insert_flash_region (region, moment, code_region, largeur, hauteur )
{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+largeur+'" height="'+hauteur+'">');
		if ((code_region!="") && (moment!="")) document.write('<param name="movie" value="/files/look2002/FR/infosville/'+region+'?temps='+moment+'&region='+code_region+'" />');
		else if ( (code_region=="") && (moment!=""))document.write('<param name="movie" value="/files/look2002/FR/infosville/'+region+'?temps='+moment+'" />');
		else document.write('<param name="movie" value="/files/images/infosville/'+region+'?path=/files/images/infosville/sources"/>');
		document.write('<param name="quality" value="high"> ');
		document.write('<param name="menu" value="false">');
		if ( (code_region!="") && (moment!=""))document.write('<embed src="/files/look2002/FR/infosville/'+region+'?temps='+moment+'&region='+code_region+'" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false">');
		else if ((code_region=="") && (moment!="")) document.write('<embed src="/files/look2002/FR/infosville/'+region+'?temps='+moment+'" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false">');
		else document.write('<embed src="/files/images/infosville/'+region+'?path=/files/images/infosville/sources" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false">');
		document.write('</object> ');
}
//[#$$ function=wvit_getCarte_Region $$#],[#$$ FUNCTION=wdip_affiche var=IV_REP_METEO $$#],[#$$ function=wdip_affiche var=IV_CODEREGION $$#]


function insert_flash_risque (avalanche)
{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="50" height="9">');
		document.write('<param name="movie" value="/files/look2002/FR/infosville/avalanch_risk.swf?risk='+avalanche+'" />');
		document.write('<param name="quality" value="high"> ');
		document.write('<embed src="/files/look2002/FR/infosville/avalanch_risk.swf?risk='+avalanche+'" width="50" height="9" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" >');
		document.write('</object> ');
}

function insert_flash_webcam (fichier,webcam,largeur,hauteur,wmode)
{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="'+hauteur+'" width="'+largeur+'">');
		document.write('<param name="movie" value="/files/look2002/FR/infosville/'+fichier+webcam+'"/>');
		document.write('<param name="quality" value="high"> ');
		if  (wmode=="transparent")
		{
			document.write('<param name="wmode" value="transparent" />');
			document.write('<embed src="/files/look2002/FR/infosville/'+fichier+webcam+'" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent">');
		}
		else document.write('<embed src="/files/look2002/FR/infosville/'+fichier+webcam+'" width="'+largeur+'" height="'+hauteur+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" >');
		document.write('</object> ');
}
//[#$$ FUNCTION=wdip_affiche var=IV_REP_WEBCAM $$#]


function insert_flash_euro (meteo)
{
		document.write('<embed type="application/x-mplayer2" src="'+meteo+'" width="320" height="280" autostart="1"/>');
}

//$(IV_REP_METEO)


function insert_flash_picto (picto, rep, largeur, hauteur, wmode, alignement)
{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="'+hauteur+'" width="'+largeur+'" align="'+alignement+'">');
		document.write('<param name="movie" value="/files/'+rep+'/infosville/'+picto+'.swf"/>');
		document.write('<param name="quality" value="high"> ');
		document.write('<param name="menu" value="false">');
		if (wmode=="transparent")
		{
			document.write('<param name="wmode" value="transparent" />');
			document.write('<embed src="/files/'+rep+'/infosville/'+picto+'.swf" width="'+largeur+'" height="'+hauteur+'" align="'+alignement+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false" wmode="transparent">');
		}
		else document.write('<embed src="/files/'+rep+'/infosville/'+picto+'.swf" width="'+largeur+'" height="'+hauteur+'" hspace="2" align="'+alignement+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false">');
		document.write('</object> ');
}

function insert_flash_picto_meteo_moment (icone, largeur, hauteur, wmode, espace)
{
		if (espace=="2")document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+largeur+'" height="'+hauteur+'" vspace="2" >');
		else document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+largeur+'" height="'+hauteur+'" >');
		document.write('<param name="movie" value="/files/look2002/FR/infosville/picto_meteo.swf?meteo='+icone+'"/>');
		document.write('<param name="quality" value="high"> ');
		document.write('<param name="menu" value="false">');
		if (wmode=="transparent") document.write('<param name="wmode" value="transparent">');
		if ( (espace=="2") && (wmode=="transparent"))document.write('<embed src="/files/look2002/FR/infosville/picto_meteo.swf?meteo='+icone+'" vspace="2" width="'+largeur+'" height="'+hauteur+'"  quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent">');
		else if ((wmode=="transparent") && (espace=="2")) document.write('<embed src="/files/look2002/FR/infosville/picto_meteo.swf?meteo='+icone+'" width="'+largeur+'" height="'+hauteur+'"  quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent">');
		else document.write('<embed src="/files/look2002/FR/infosville/picto_meteo.swf?meteo='+icone+'" width="'+largeur+'" height="'+hauteur+'"  quality="high" menu="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" >');
		document.write('</object> ');
}
//[#$$ function=wdip_affiche var=M_ICON_LIBEL $$#]




function insert_flash_pendule (taille,wmode)
{
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="'+taille+'" width="'+taille+'" >');
		document.write('<param name="movie" value="/files/look2002/FR/infosville/pendule.swf"/>');
		document.write('<param name="quality" value="high"> ');
		document.write('<param name="menu" value="false">');
		if  (wmode=="transparent")
		{
			document.write('<param name="wmode" value="transparent">');
			document.write('<embed src="/files/look2002/FR/infosville/pendule.swf" width="'+taille+'" height="'+taille+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false" wmode="transparent">');
		}
		else document.write('<embed src="/files/look2002/FR/infosville/pendule.swf" width="'+taille+'" height="'+taille+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false">');
		document.write('</object> ');
}


function insert_flash_applet (webcam)
{
	document.write(webcam);
}

function insert_flash_carte_nfr (rep,vid,session_id,file_suffix)
{
		document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="450" id="FR_dpt3" height="400" align="middle">');
		document.write(' <param name="movie" value="../files/portail2002/FR/nom_france_entiere/FR_dpt_B.swf?client='+rep+'/'+vid+session_id+file_suffix+'" />');
		document.write('<param name="quality" value="high"> ');
		document.write('<embed src="../files/portail2002/FR/nom_france_entiere/FR_dpt_B.swf?client='+rep+'/'+vid+session_id+file_suffix+'" quality="high" bgcolor="#e9e9e9" width="450" height="400" name="FR_dpt3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
		document.write('</object> ');
}
//[#$$ function=wdip_affiche var=REP-TMP $$#]/[#$$ function=wdip_affiche var=vid $$#][#$$ function=wdip_affiche var=session_id $$#][#$$ function=wdip_affiche var=FILE-SUFFIX $$#]