function transit(httppath) {winopen(httppath,'Press',0,1,0,1,0,0,0,450,650);}function winopen(theurl,thename,thetool,thestat,theresize,thescroll,theloc,thetop,theleft,theheight,thewidth) {winTitle = thename;fPath = theurl;fWidth = thewidth;fHeight = theheight;sh = screen.height;sw = screen.width;if(theheight > sh) {theheight = sh;}if(thewidth > sw) {thewidth = sw;}if(theheight == 0) {theheight = sh;}if(thetop == 0) {if(theheight != sh) {shTemp = parseInt(sh/2);whTemp = parseInt(theheight/2);thetop = parseInt(shTemp-whTemp);}}if(thewidth == 0) {thewidth = sw;}if(theleft == 0) {if(thewidth != sw) {swTemp = parseInt(sw/2);wwTemp = parseInt(thewidth/2);theleft = parseInt(swTemp-wwTemp);}}imgH = theheight;imgW = thewidth;//alert(imgH+'\n' +imgW);newwin = window.open(theurl,thename,"toolbars="+thetool+",status="+thestat+",resizable="+theresize+",scrollbars="+thescroll+",location="+theloc+",left="+theleft+",top="+thetop+",height="+theheight+",width="+thewidth+"")//if(document.all) {newwin.resizeTo(imgW,imgH);}}/* --------------------------------------------------------- */function blurLinks() {for(var i=0 ; i < document.links.length ; i++) document.links[i].onfocus=BlurIt; } function BlurIt() {if (this.blur)  this.blur(); }/* ---script pour les pop up image------------------ */var scrnW = screen.width; var scrnH = screen.height; function viewPict(sourceFile,imgWidth,imgHeight) {	htmlShell = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"';	htmlShell = htmlShell+ '"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">';	htmlShell = htmlShell+ '<html>';	htmlShell = htmlShell+ '<head>';	htmlShell = htmlShell+ '<title>-<'+'/'+'title>';	htmlShell = htmlShell+ '<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">';	htmlShell = htmlShell+ '<script type="text'+'/'+'javascript" charset="iso-8859-1">';	htmlShell = htmlShell+ 'function blurLinks() {';	htmlShell = htmlShell+ 'for(var i=0 ; i < document.links.length ; i++)'; 	htmlShell = htmlShell+ 'document.links[i].onfocus=BlurIt;';	htmlShell = htmlShell+ '}'; 	htmlShell = htmlShell+ 'function BlurIt() {';	htmlShell = htmlShell+ 'if (this.blur)  this.blur();'; 	htmlShell = htmlShell+ '}';	htmlShell = htmlShell+ '<'+'/'+'script>';	htmlShell = htmlShell+ '<'+'/'+'head>';	htmlShell = htmlShell+ '<body bgcolor="#592B59" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#ffffff" vlink="#ffffff" onload="blurLinks()">';	htmlShell = htmlShell+ '<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">';	htmlShell = htmlShell+ '<tr>';	htmlShell = htmlShell+ '<td align="center"><img src="'+sourceFile+'" width="'+imgWidth+'" height="'+imgHeight+'"><'+'/'+'td>';	htmlShell = htmlShell+ '<'+'/'+'tr>';	htmlShell = htmlShell+ '<tr>';	htmlShell = htmlShell+ '<td align="center" valign="top"><a href="javascript:window.close()">close<'+'/'+'a><'+'/'+'td>';	htmlShell = htmlShell+ '<td><br><br><'+'/'+'td>';	htmlShell = htmlShell+ '<'+'/'+'tr>';	htmlShell = htmlShell+ '<'+'/'+'table>';	htmlShell = htmlShell+ '<'+'/'+'body>';	htmlShell = htmlShell+ '<'+'/'+'html>';		spaceAround = 5;	naviHeight = 30;	popW = imgWidth+(spaceAround*2);	popH = imgHeight+naviHeight+(spaceAround*4);	popT = parseInt(scrnH/2)-parseInt(imgHeight/2)-parseInt(spaceAround)-naviHeight;	popL = parseInt(scrnW/2)-parseInt(imgWidth/2)-parseInt(spaceAround/2);	dspl = window.open('','','toolbars=0,statusbar=0,menubar=0,scrollbars=0,resizable=0,width='+popW+',height='+popH+',top='+(popT-20)+',left='+popL+'')	dspl.resizeTo(popW,popH);	dspl.document.open('text/html');	dspl.document.write(htmlShell);	dspl.document.close();	dspl.focus();}/* -----------------Open contact------------------------ */var isNS = (document.layers) ? true : false;	var isIE = (document.all) ? true : false;		var screenW = screen.width;	var screenH = screen.height;		var hPos = parseInt((screenW/2)-300);	var vPos = parseInt((screenH/2)-230);	var targetAddress = 15;function openmail(tgt) {targetAddress = tgt;theWina = window.open("html/contact.html","pop","toolbars=0,status=1,scrollbars=1,width=610,height=400,left="+hPos+",top="+vPos+"");setTimeout('theWina.focus()',350);}/* ------------------------------------------------------- */function changeBGcolor(newColor) {		if(document.bgColor) {			document.bgColor = newColor;		    parent.leftFrame.document.bgColor = newColor;			parent.rightFrame.document.bgColor = newColor;			parent.topFrame.document.bgColor = newColor;			parent.bottomFrame.document.bgColor = newColor;		} else if(document.body.style.backgroundColor) {			document.body.style.backgroundColor = newColor;			parent.leftFrame.document.bgColor = newColor;			parent.rightFrame.document.bgColor = newColor;			parent.topFrame.document.bgColor = newColor;			parent.bottomFrame.document.bgColor = newColor;		}	}/* --------------------------------------------------------- */