function OnOff(quoi)
{
if (quoi == 'F')
{
document.write("<span style='color: rgb(188,5,13);'>(offline)</span>");
}
if (quoi == 'N')
{
document.write("<span style='color: rgb(32,131,0);'>(online)</span>");
}
}
function AfficheCaml(cheminVideo)
{
//alert('chem=' + cheminVideo);
if (cheminVideo == 'D')
{
document.write('<object type="application/x-mplayer2" height="340" width="420"><param name="fileName" value="mms://plumedeville9.dyndns.org:16184"><param name="autostart" value="1"> <param name="showstatusbar" value="-1" > <param NAME="volume" VALUE="100"></object>');
}

if (cheminVideo == 'L')
{
document.write('<object type="application/x-mplayer2" height="340" width="340"><param name="fileName" value="mms://192.168.1.14:8080"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>');
}
if (cheminVideo == '6')
{
document.write('<object type="application/x-mplayer2" height="340" width="340"><param name="fileName" value="mms://192.168.1.16:8080"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>');
}
if (cheminVideo == 'Z')
{
document.write('<p><img style="width: 250px; height: 249px; margin-left: 150px;" alt="." src="img_09/20090213/ecr1.jpg"></p>');
//document.write("(OFFLINE)");
}
if (cheminVideo == 'V')
{
document.write('<object width="322" height="285"><param name="movie" value="http://mesange.blog-video.tv/tele_export.swf?id=2a80620848de4e8d12ef0733d94d33f8"></param><param name="allowfullscreen" value="true"></param><embed src="http://mesange.blog-video.tv/tele_export.swf?id=2a80620848de4e8d12ef0733d94d33f8" type="application/x-shockwave-flash" width="322" height="285" allowfullscreen="true"></embed></object>');
}

}
function AfficheCamGR(cheminVideo)
{
//alert('chem=' + cheminVideo);
if (cheminVideo == 'D')
{
document.write('<object type="application/x-mplayer2" height="640" width="580"><param name="fileName" value="mms://192.168.1.14:8080"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"> <param NAME="volume" VALUE="50"><param name="width" value="640"><param name="height" value="480"> <param name="DisplaySize" value="2"></object>');}
}
function Afficheimg(cheminImage,texte)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  content="no-cache"></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+
'<a href="#" onClick="window.close()" onMouseup="window.close();"><IMG SRC="'+cheminImage+'"style="border: 3px solid rgb(102, 102, 102);" NAME="monImage" onLoad="window.resizeTo(document.monImage.width+60,document.monImage.height+70); window.moveTo((screen.width-document.monImage.width)/2,((screen.height-document.monImage.height)/2)-30);" > </a></CENTER></BODY></HTML>';
ouvrirImage = window.open('','_blank','toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=0');
ouvrirImage.document.write(html);
ouvrirImage.document.close();

return;
}

function Afficheimg2(cheminImage,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  content="no-cache"></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+
'<a href="#" onClick="window.close()" onMouseup="window.close();"><IMG SRC="'+cheminImage+'"style="border: 3px solid rgb(102, 102, 102);" NAME="monImage"  > </a></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();

return ;
}

function fover(event, no)
{
var xx= document.getElementsByName("ibig");
// alert('ici');
// alert(xx.length);
xx[no].style.display = 'inline';

	
}

function foout(event, no)
{
var xx= document.getElementsByName("ibig");
xx[no].style.display = 'none';

	
}


function AfficheVideoOK(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object id="mediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/fr/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" height="285" width="320">      <param name="fileName" value="' + cheminVideo+ '"><param name="animationatStart" value="true"> <param name="transparentatStart" value="false"> <param name="autoStart" value="true"> <param name="showControls" value="true"> <param name="loop" value="false"><embed type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/fr/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" src="' + cheminVideo + '" autostart="1" designtimesp="5311" loop="false" height="285" width="320"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes pendant le chargement...</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();


return ;
}



function AfficheVideo(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="320" height="285" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes...Copyright www.plume-de-ville.fr</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}
function AfficheVideoN(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="320" height="285" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes...Copyright www.plume-de-ville.fr</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}

function AfficheVideom(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="352" height="328" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes...Copyright www.plume-de-ville.fr</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}
function AfficheVideoSave(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="320" height="285" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes...Copyright www.plume-de-ville.fr</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}
function AfficheVideog(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="640" height="525" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes...Copyright www.plume-de-ville.fr</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}
function AfficheVideoMy(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="352" height="400" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes...Copyright www.plume-de-ville.fr</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}
function AfficheVideogr(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="640" height="525" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes...Copyright www.plume-de-ville.fr</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 130;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}
function AfficheVideogra(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="880" height="525" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes...Copyright www.plume-de-ville.fr</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 150;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}
function AfficheimgZ(cheminImage,texte, w, h)
{
return;
}
function AfficheMms(cheminVideo,texte, w, h)
{
html = '<HTML><HEAD><TITLE>Plume de Ville</TITLE><meta http-equiv="Pragma"  ></HEAD><BODY   style="margin: 20px 10px 10px 0px; padding: 0pt; background-color: rgb(153,153,153);" oncontextmenu="return false"><CENTER>'+ texte + '<object width="320" height="285" type="application/x-mplayer2">   <param name="fileName" value="' + cheminVideo+ '"><param name="autostart" value="1"> <param name="showstatusbar" value="-1"></object>' + '<br><a style="font-size: 9px; color: rgb(51, 51, 51);"  href="#" onClick="window.close()" onMouseup="window.close();">Fermer la fenêtre</a><br><a href="' + cheminVideo + '" style="font-size: 10px; color: rgb(0, 0, 59);" target="_blank">Ouvrir avec un autre programme.</a><p style="font-size: 9px;">Merci de patienter quelques secondes pendant le chargement...</p></CENTER></BODY></HTML>';

w=parseInt(w) + 50;
h=parseInt(h) + 50;

po="'toolbar=0,location=0,menuBar=0,scrollbars=1,resizable=1," + "width=" + w+ ",height=" +h+ "'";
//ouvrirImage = window.open('limg','_blank',po);
ouvrirImage = window.open('','_blank',po);
ouvrirImage.document.write(html);
ouvrirImage.document.close();
return ;
}

// -----------------------------------------------------------------------------------------------------

function fover1(event, no)
{
var xx= document.getElementsByName("ibig");
// alert('ici');
// alert(xx.length);
xx[no].style.visibility = 'visible';
xx[no].style.width = '';
xx[no].style.height = '';
}

function foout1(event, no)
{

var xx= document.getElementsByName("ibig");
 xx[no].style.visibility = 'hidden';
var xx= document.getElementsByName("ibig");

xx[no].style.width = '1px';
xx[no].style.height = '1px';
}


function fover13(event, no, img)
{
var xx= document.getElementsByName("im");
// alert('ici');
// alert(xx.length);
xx[no].src=img;
xx[no].style.width = '';
xx[no].style.height = '';
}

function foout13(event, no, img)
{
var xx= document.getElementsByName("im");
xx[no].src=img;
}


function foout20(event, no)
{

var xx= document.getElementsByName("ibig");
 xx[no].style.visibility = 'hidden';
//var xx= document.getElementsByName("ibig");

xx[no].style.width = '1px';
xx[no].style.height = '1px';
}

function fover20(event, no, isrc)
{
var xx= document.getElementsByName("ibig");
// alert('ici');
// alert(xx.length);
xx[no].style.visibility = 'visible';
xx[no].style.width = '';
xx[no].style.height = '';
xx[no].src = isrc;

}



 // xx[no].style.visibility = 'hidden';
// var xx= document.getElementsByName("ibig");
// xxx[no].src="../img_101/20100914/telephore%20fauve%20DSC_2853.JPG";
// style="border: 2px solid ; width: 100px; height: 85px; float: left;"
// xx[no].style.width = '1px';
// xx[no].style.height = '1px';
// xx[no].src="img_112/20111217/3rg%20DSC_5405.JPG";
// xx[no].style.visibility = 'visible';
//xxx[no].style.top = '-200px';
// xx[no].src="img_112/20111217/rg%20DSC_5405.JPG";
