var opt_no_frames = false;
var opt_integrated_mode = false;


function _body_onload() {
	SetContext('clients');
	setActiveButtonByName('clients');
	loff();
}

function _body_onunload() {
	lon();
}

if (document.getElementById) {
  addEvent(window, 'load', _body_onload) ;
  addEvent(window, 'unload', _body_onunload) ;
}

var win=null;
function openfenetre(mypage,myname,w,h,scroll,pos){
	if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
	win=window.open(mypage,myname,settings);
	}

function openfenetre2(mypage,myname,w,h,scroll,pos,resizable){
	if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
	if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
	else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable='+resizable;
	win=window.open(mypage,myname,settings);
	}

var menuskin=1
var display_url=0

function showmenuie5(){

	/*
	alert("Largeur  : " + document.documentElement.scrollLeft+"\n"+
	"Hauteur  : " + document.documentElement.scrollTop);
	*/

	var rightedge=document.documentElement.clientWidth-event.clientX;
	var bottomedge=document.documentElement.clientHeight-event.clientY;

	if (rightedge<ie5menu.offsetWidth)
		ie5menu.style.left=ddocument.documentElement.scrollLeft+event.clientX-ie5menu.offsetWidth;
	else
		ie5menu.style.left=document.documentElement.scrollLeft+event.clientX-220;

	if (bottomedge<ie5menu.offsetHeight)
		ie5menu.style.top=document.documentElement.scrollTop+event.clientY-ie5menu.offsetHeight;
	else
		ie5menu.style.top=document.documentElement.scrollTop+event.clientY-248;

	ie5menu.style.visibility="visible";
	return false;
}

function hidemenuie5(){
	ie5menu.style.visibility="hidden"
}

function highlightie5(){if (event.srcElement.className=="menuitems"){
	event.srcElement.style.backgroundColor="highlight"
	event.srcElement.style.color="white"
	if (display_url==1)
	window.status=event.srcElement.url
	}
}

function lowlightie5(){
	if (event.srcElement.className=="menuitems"){
	event.srcElement.style.backgroundColor=""
	event.srcElement.style.color="black"
	window.status=''
	}
}

function jumptoie5(){
	if (event.srcElement.className=="menuitems"){
		if (event.srcElement.getAttribute("target")!=null)
		window.open(event.srcElement.url,event.srcElement.getAttribute("target"))
	else
		window.location=event.srcElement.url
	}
}

