// JavaScript Document
function mulo1(obj){
obj.style.backgroundColor='#FFFFCC';
obj.style.color='#330000';};
function nomulo1(obj){
obj.style.backgroundColor='#660000';
obj.style.color='#FFFFCC';};
function page(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if(restore) selObj.selectedIndex=0;
};
//Pop UP JukeBox
function jukebox(URL){
  popup=window.open(URL,"popup","toolbar=no, resizable, status=no, scrollbars=no, width=432, height=320, top=0, left=5"); 
  popup.moveTo(0,0);
  popup.focus();
}
//**************************************************************************
function getWindowHeight() {
  var windowHeight = 0;
  if (typeof(window.innerHeight) == 'number') {
    windowHeight = window.innerHeight;
  } else {
    if (document.documentElement && document.documentElement.clientHeight) {
	  windowHeight = document.documentElement.clientHeight;
	} else {
	  if (document.body && document.body.clientHeight) {
	    windowHeight = document.body.clientHeight;
	  }
    }
  }
  return windowHeight;
}
function getWindowWidth() {
  var windowWidth = 0;
  if (typeof(window.innerWidth) == 'number') {
    windowWidth = window.innerWidth;
  } else {
    if (document.documentElement && document.documentElement.clientWidth) {
	  windowWidth = document.documentElement.clientWidth;
	} else {
	  if (document.body && document.body.clientWidth) {
	    windowWidth = document.body.clientWidth;
	  }
    }
  }
  return windowWidth;
}
//repositionnement navig2
function setFooter() {
  if (document.getElementById) {
    var windowHeight=getWindowHeight();
    var windowWidth=getWindowWidth();
	var navig2=document.getElementById('navig2');
	/*var global=document.getElementById('global');*/
    if (windowHeight>0) {
      navig2.style.position= 'absolute';
	  navig2.style.bottom= '40px';
	  navig2.style.width= (Math.floor(windowWidth*0.3))+'px';
    }
  }  
}
window.onload = function() {
  setFooter();
}
window.onresize = function() {
  setFooter();
}
window.onscroll = function() {
  setFooter();
}