nav=navigator.userAgent;
OPE=nav.indexOf("Opera")>-1 ? true : false;
IE4=document.all && !document.getElementById && nav.indexOf("MSIE")>-1 && !OPE?true:false;
IE5=document.getElementById && nav.indexOf("MSIE 5")>-1 && !OPE? true : false;
IE6=document.getElementById && nav.indexOf("MSIE 6")>-1 && !OPE? true : false;
NS4=(document.layers) ? true : false;
NS6=document.getElementById && nav.indexOf("Gecko")>-1 && !OPE? true : false;
MOZ=document.getElementById && nav.indexOf("Gecko")>-1 && !OPE? true : false;

NE=NS4 || NS6 || MOZ?true:false;
IE=IE4 || IE5 || IE6?true:false;

UNIX=nav.indexOf("x11") != -1?true:false;
WIN=nav.indexOf("Win") != -1?true:false;
MAC=nav.indexOf("Mac") != -1?true:false;

/***********Fonctions d'ouverture************/
function view_vaub(url) {
nf=window.open(url,'view','width=397,height=450,status=no,screenX=0,screenY=0,top=0,left=0,scrollbars=no');
nf.focus();
}
function view_contact(url) 
{
nf=window.open(url,'viewcontact','width=370,height=260,status=no,screenX=0,screenY=0,top=0,left=0,scrollbars=no');
nf.focus();
}

function view_nosadh(url) 
{
nf=window.open(url,'viewcontact','width=395,height=275,status=no,screenX=0,screenY=0,top=0,left=0,scrollbars=yes');
nf.focus();
}
/*representation POp up*/
function go() 
{
self.location = document.form.select_representation.options[document.form.select_representation.selectedIndex].value;
}
/*Actu POp up*/
function changeactu() 
{
self.location = document.form.select_representation.options[document.form.select_representation.selectedIndex].value;
}
