/*****************************************************************

 Fichier de variables de CTS France
 Générer automatiquemant par Agestis (http://www.agestis.com)
 Le 15/12/2004 par FRANCE Céline

******************************************************************/


var NoOffFirstLineMenus=7;
var largeurcell=140;
var t="";
var isDHTML=0;var isID=0;var isAll=0;var isLayers=0;
if(document.getElementById){
	isID=1;isDHTML=1;
}else{
	if(document.all){
		isAll=1;isDHTML=1;
	}else{
		browserVersion = parseInt(navigator.appVersion);
		if((navigator.appName.indexOf('Netscape') != -1) && (browserVersion == 4)){
			isLayers=1;isDHTML=1;
		}
	}
}

function findDOM(objectID, withStyle){
	if (withStyle == 1){
		if (isID){
			return (document.getElementById(objectID).style);
		}else{
			if (isAll){
				return (document.all[objectID].style);
			}else{
				if (isLayers){
					return (document.layers[objectID]);
				}
			}
		}
	}else{
		if (isID){
			return (document.getElementById(objectID));
		}else{
			if (isAll){
				return (document.all[objectID]);
			}else{
				if (isLayers){
					return (document.layers[objectID]);
				}
			}
		}
	}
} 

var exist=false;var Tble_Display=false;var ms = navigator.appVersion.indexOf("MSIE");var ie=document.all && (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >4);var ns6=document.getElementById&&!document.all;

var IsCompatible;

// permet de tester le navigateur en compatibilité du calcul de largeur
if(ns6||ie){
	document.write("<table id='tableTest' border='0' style='visibility:hidden' cellpadding='0' cellspacing='0' bgcolor='yellow'>"
		+"<tr><td>"
		+"<img id='Imgtest' name='Imgtest' src='/images/t1px.gif' width='100%' height='1' border='0'>"
		+"</td></tr>"
		+"<tr><td id='TdTest'>texte de test - ne rien changer ici</td></tr>"
		+"</table>");
	var MyTestTble = findDOM('tableTest',0);
	var MyTestImg = findDOM('Imgtest',0);
	var Img = parseInt(MyTestImg.width+0);
	MyTestTble.style.visibility=''; MyTestTble.style.display='none';
	IsCompatible=true;
}
// fin du test

function calc_larg(tab_menu) {
	if (IsCompatible) {
		if(exist && Tble_Display==false){
			Tble_Display=true;Tble_Calc.style.display='';
		}
		var lmax=0;
		if (!exist) {
			document.write("<table id='TbleCalc' border='1' style='visibility:hidden' cellpadding='0' cellspacing='0' bgcolor='yellow'>"
				+"<tr><td id='TdCalc'><img id='ImgCalc' src='/images/t1px.gif' width='100%;' height='1'></td></tr>"
				+"<tr><td id='TdFt'></td></tr>"
				+"</table>");
			exist=true; Tble_Display=true;
		}
		Img_Calc=findDOM('ImgCalc', 0);Td_Calc=findDOM('TdCalc', 0);Td_Ft=findDOM('TdFt', 0);Tble_Calc=findDOM('TbleCalc', 0);
		for (var i=0 ; i<tab_menu.length ; i++){
			str_txt="<font style='font-family:"+FontFamily+";font-size:"+FontSize+"pt;";
			if (FontBold!=0){str_txt=str_txt+"font-weight: bold ;";}
			if (FontItalic!=0){str_txt=str_txt+" font-style: italic;";}
			str_txt+="'>"+tab_menu[i]+"</font>";
			Td_Ft.innerHTML=str_txt;
			if(Td_Calc.offsetWidth>0){
				if (Td_Calc.offsetWidth>lmax){lmax=Td_Calc.offsetWidth;}
			}else{
				if (Img_Calc.width>lmax){lmax=Img_Calc.width;}
			}
		}
		Tble_Calc.style.display='none'; Tble_Display=false;
		return (lmax+(LeftPaddng*2)+20);
	}else {
		return DftLrgCell2;
	}
}

var LSBC = "#E2EBEA";
var HSBC = "#A0D0FF";
var FSLC = "#000000";
var FSHC = "#0040C0";
var BSC = "#085F8F";
var MTCt = "left";


Menu1=new Array("Home","/affiche.asp?arbo=2&num=1","/skins/standard/images/bt_menu.gif",0,28,largeurcell,"","","","","","",-1,-1,-1,"","CTS, Comtoise de Traitements de Surfaces, specialist in the surface treatment and painting on plastic and metallic parts ( Jura - France )");

Intitules="History|Strenghts and values|A team";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu2_1=new Array(t[0],"/affiche.asp?arbo=2&num=8","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"History of CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu2_2=new Array(t[1],"/affiche.asp?arbo=2&num=9","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Strenghts and values of the company CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu2_3=new Array(t[2],"/affiche.asp?arbo=2&num=10","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"The team of CTS, specialist in the surface treatment and painting on plastic and metallic parts ( Jura - France )");

Menu2=new Array("High technology","","/skins/standard/images/bt_menu.gif",3,28,largeurcell,"","","","","","",-1,-1,-1,"","");

Intitules="Research and innovation|Consultancy - Overall solutions|Standardised quality";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu3_1=new Array(t[0],"/affiche.asp?arbo=2&num=11","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Research and innovation by CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu3_2=new Array(t[1],"/affiche.asp?arbo=2&num=13","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Consultancy - Overall solutions by CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu3_3=new Array(t[2],"/affiche.asp?arbo=2&num=14","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Standardised quality by CTS, specialist in the surface treatment market and painting on plastic and metallic parts ( Jura - France )");

Menu3=new Array("Positioning","","/skins/standard/images/bt_menu.gif",3,28,largeurcell,"","","","","","",-1,-1,-1,"","");

Intitules="standardised quality";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu4_1=new Array(t[0],"/affiche.asp?arbo=2&num=83","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Standardised quality by CTS, specialist in the surface treatment market and painting on plastic and metallic parts ( Jura - France )");

Menu4=new Array("Quality","","/skins/standard/images/bt_menu.gif",1,28,largeurcell,"","","","","","",-1,-1,-1,"","");

Intitules="Galvanic coatings|Organic coatings|Organisational structure|References";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu5_1=new Array(t[0],"/affiche.asp?arbo=2&num=15","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Branch of galvanic coatings proposed by CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu5_2=new Array(t[1],"/affiche.asp?arbo=2&num=16","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"The organic coatings proposed by CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu5_3=new Array(t[2],"/affiche.asp?arbo=2&num=17","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"The organisational structure of CTS, the specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu5_4=new Array(t[3],"/affiche.asp?arbo=2&num=18","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"References of CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");

Menu5=new Array("Production","","/skins/standard/images/bt_menu.gif",4,28,largeurcell,"","","","","","",-1,-1,-1,"","");

Intitules="Leading Article October 03|News|New Technologies|Zoom on ...|Certification ISO|Environment|New Development|CTS Romania|Allergy to Nickel";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu6_1_1=new Array(t[0],"/affiche.asp?arbo=2&num=72","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Leading Article October 03 - CTS, specialist in the surface treatment and painting market on plastic and metallic parts (Jura - France)");
Menu6_1_2=new Array(t[1],"/affiche.asp?arbo=2&num=38","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"News by CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu6_1_3=new Array(t[2],"/affiche.asp?arbo=2&num=39","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"New Technologies by CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France ) ");
Menu6_1_4=new Array(t[3],"/affiche.asp?arbo=2&num=80","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Zoom on persons in charge with the production of the industrial parts by CTS, specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu6_1_5=new Array(t[4],"/affiche.asp?arbo=2&num=40","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Certification ISO by CTS, specialist in the surface treatment and painting market on metallic and plastic parts ( Jura - France )");
Menu6_1_6=new Array(t[5],"/affiche.asp?arbo=2&num=41","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"The environmental policy of CTS, the specialist in the surface treatment and painting on plastics and metallic parts ( Jura - France )");
Menu6_1_7=new Array(t[6],"/affiche.asp?arbo=2&num=42","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"New Development by CTS, the specialist in the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu6_1_8=new Array(t[7],"/affiche.asp?arbo=2&num=43","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"CTS Romania, the subsidiary of CTS, the specialist of the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu6_1_9=new Array(t[8],"/affiche.asp?arbo=2&num=44","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"The solutions of CTS concerning the allergy to Nickel - CTS, the specialist of the surface treatment and painting market on plastic and metallic parts ( Jura - France )");


Intitules="October 2003";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu6_1=new Array(t[0],"","",9,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"");

Menu6=new Array("News","","/skins/standard/images/bt_menu.gif",1,28,largeurcell,"","","","","","",-1,-1,-1,"","");

Intitules="Contact particulars|Access map|Requests for information|Candidature submission";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu7_1=new Array(t[0],"/affiche.asp?arbo=2&num=19","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Contact particulars of CTS, the specialist of the surface treatment and paintind market on metallic and plastic parts ( Jura - France )");
Menu7_2=new Array(t[1],"/affiche.asp?arbo=2&num=20","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Acces map to visit CTS, the specialist of the surface treatment and painting market on metallic and plastic parts ( Jura - France )");
Menu7_3=new Array(t[2],"/affiche.asp?arbo=2&num=21","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Requests for information on CTS, the specialist of the surface treatment and painting market on plastic and metallic parts ( Jura - France )");
Menu7_4=new Array(t[3],"/affiche.asp?arbo=2&num=22","",0,27,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"Candidature submission to join the team of CTS, the specialist of the surface treatment and painting on metallic and plastic parts ( Jura - France )");

Menu7=new Array("Contacts","","/skins/standard/images/bt_menu.gif",4,28,largeurcell,"","","","","","",-1,-1,-1,"","");



