
		 function ouverture()
		{
		popup=window.open("player_son.htm", "popup", "toolbar=no, status=no, scrollbars=no, resizable=no, width=346, height=100");
		}
	
		 function ouverture2()
		{
		popup=window.open("player.htm", "popup", "toolbar=no, status=no, scrollbars=no, resizable=no, width=346, height=283");
		}
	
		 function ouverture3()
		{
		popup=window.open("player_img.htm", "popup", "toolbar=no, status=no, scrollbars=no, resizable=no, width=346, height=283");
		}
		
		 function ouverture4()
		{
		popup=window.open("http://sopcast.info/SopCastPopup.htm", "popup", "toolbar=no, status=no, scrollbars=no, resizable=no, width=475, height=345");
		}
	
		 function ouverture5()
		{
		popup=window.open("geophp/index.php", "popup", "toolbar=no, status=no, scrollbars=no, resizable=no, width=800, height=320");
		}
		 function ouverture6()
		{
		popup=window.open("time.htm", "popup", "toolbar=no, status=no, scrollbars=no, resizable=no, width=800, height=320");
		}
	
		window.onload=montre;
        function montre(id) {
        var d = document.getElementById(id);
	    for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	    }
        if (d) {d.style.display='block';}
        }
		
		function PopupImage(img) {
		titre="Ici &amp; Maintenant ! - 95.2 FM";
		w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no');	
		w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
		w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
		w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
		w.document.write("");
		w.document.write("</BODY></HTML>");
		w.document.close();
	
		}
	
var current = 0;

function next(){ // forward one image
if(document.formname.slide[current+1]){
document.images.show.src = document.formname.slide[current+1].value;
document.formname.slide.selectedIndex = ++current;}
else{first();}}

function previous(){ // back on image
if((current-1) >= 0){
document.images.show.src = document.formname.slide[current-1].value;
document.formname.slide.selectedIndex= --current;}
else{last();}}

function first(){ // jump to first image
current=0;
document.images.show.src = document.formname.slide[0].value;
document.formname.slide.selectedIndex=0;}

function last(){ // this is jump to last image
current=(document.formname.slide.length-1);
document.images.show.src = document.formname.slide[current].value;
document.formname.slide.selectedIndex=current;}

function ap(text){ // this controls the auto-play and/or auto-stop
document.formname.slidebutton.value=(text == "Stop") ? "Start" : "Stop";
rotate();}

function change(){ // this is for the pulldown menu
current=document.formname.slide.selectedIndex;
document.images.show.src = document.formname.slide[current].value;}

function rotate() {
if (document.formname.slidebutton.value == "Stop") {
current = (current == document.formname.slide.length-1) ? 0 : current+1;
document.images.show.src = document.formname.slide[current].value;
document.formname.slide.selectedIndex = current;
window.setTimeout("rotate()", 3000);}}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


