<!--
var value = null;
function openWin(value) 
        {
window.name ="mainWin";
        window.open(value,'popup','resizable=no,width=500,height=400,status=no,location=no,toolbar=no,menubar=no,scrollbars=no');
        }    
           
function openFiltre(value) 
        {
window.name ="mainWin";
var formWin=window.open(value,'popup','resizable=yes,width=500,height=450,status=no,location=no,toolbar=no,menubar=no,scrollbars=yes');
        }       
		
function remote(url)
{
window.opener.location=url
}        

function popUp(url) 
{
fenetre=window.open(url,"fenetre","toolbar=yes,location=0,scrollbars=yes,resizable=yes,width=440,height=500,top=20,left=50")
}

function warning(url) 
{
fenetre=window.open(url,"Attention","toolbar=yes,location=0,scrollbars=yes,resizable=no,width=430,height=400,top=20,left=50")
}

function popGarantie(url) 
{
fenetre=window.open(url,"fenetre","toolbar=yes,location=0,scrollbars=yes,resizable=no,width=615,height=500,top=20,left=50")
}

function cookiesEnabled()
{
  var sure = navigator.cookieEnabled ;
  if (sure != true)
  {
	  if(navigator.appName=="Netscape")
	  {
	  	warning("warning_session_ns_popup.php");
	  }
	  if(navigator.appVersion.indexOf("MSIE 4")>-1)
	  {
	  	warning("warning_session_ie4_popup.php"); 
	  }
	  if(navigator.appVersion.indexOf("MSIE 5")>-1)
	  {
	  	warning("warning_session_ie5_popup.php");
	  }
	  if(navigator.appVersion.indexOf("MSIE 6")>-1)
	  {
		warning("warning_session_ie6_popup.php"); 
	  }
  }
}



