/*****************************************************************

 Fichier de variables de Pacific Colour
 Générer automatiquemant par Agestis (http://www.agestis.com)
 Le 10/5/2007 par Aricia - francois

******************************************************************/


var NoOffFirstLineMenus=9;
var HauteurMenu=162;
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 = "#f7e497";
var HSBC = "#f7e497";
var FSLC = "#767573";
var FSHC = "#000000";
var BSC = "#767573";
var MTCt = "left";


Menu1=new Array("Home","/default.asp?lang=En","/skins/standard/images/btn_menu.gif",0,18,largeurcell,"","","","","","",-1,-1,-1,"","3D sublimation pacific colour process method");
Menu2=new Array("The firm","/affiche.asp?arbo=2&num=1","/skins/standard/images/btn_menu.gif",0,18,largeurcell,"","","","","","",-1,-1,-1,"","");
Menu3=new Array("Activity","/affiche.asp?arbo=2&num=2","/skins/standard/images/btn_menu.gif",0,18,largeurcell,"","","","","","",-1,-1,-1,"","3d sublimation activity by Pacific Colour");

Intitules="Classical sublimation|3d Pacific Colour sublimation";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu4_1=new Array(t[0],"/affiche.asp?arbo=2&num=6","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"classical sublimation process");
Menu4_2=new Array(t[1],"/affiche.asp?arbo=2&num=7","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"3d sublimation by Pacific Colour, method, process");

Menu4=new Array("The Process","","/skins/standard/images/btn_menu.gif",2,18,largeurcell,"","","","","","",-1,-1,-1,"","3d sublimation process, process and method by pacific colour");
Menu5=new Array("Actualities","/affiche.asp?arbo=2&num=5","/skins/standard/images/btn_menu.gif",0,18,largeurcell,"","","","","","",-1,-1,-1,"","pacific colour actualities, process and method, 3d sublimation");

Intitules="Aluminium|Steel|Wood|Earthenweare|Stone|Thermoplastic|Glass";
t=Intitules.split("|");
LgCelSsN=calc_larg(t);
Menu6_1=new Array(t[0],"/affiche.asp?arbo=2&num=13","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"");
Menu6_2=new Array(t[1],"/affiche.asp?arbo=2&num=15","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"");
Menu6_3=new Array(t[2],"/affiche.asp?arbo=2&num=16","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"");
Menu6_4=new Array(t[3],"/affiche.asp?arbo=2&num=17","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"");
Menu6_5=new Array(t[4],"/affiche.asp?arbo=2&num=18","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"sublimation on stone, stone 3D decoration pacific colour");
Menu6_6=new Array(t[5],"/affiche.asp?arbo=2&num=19","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"");
Menu6_7=new Array(t[6],"/affiche.asp?arbo=2&num=20","",0,18,LgCelSsN,LSBC,HSBC,FSLC,FSHC,BSC,"",-1,-1,-1,MTCt,"3D sublimation surface glass realisation");

Menu6=new Array("Some realisations","/affiche.asp?arbo=2&num=8","/skins/standard/images/btn_menu.gif",7,18,largeurcell,"","","","","","",-1,-1,-1,"","3d sublimation, realisations and examples by Pacific Colour");
Menu7=new Array("Links","/affiche.asp?arbo=2&num=9","/skins/standard/images/btn_menu.gif",0,18,largeurcell,"","","","","","",-1,-1,-1,"","Pacific Colour : our links : partners");
Menu8=new Array("How to come","/affiche.asp?arbo=2&num=11","/skins/standard/images/btn_menu.gif",0,18,largeurcell,"","","","","","",-1,-1,-1,"","map access road station and plane to come to Pacific Colour office");
Menu9=new Array("Contact us","/modules/Contact/?Lang=En","/skins/standard/images/btn_menu.gif",0,18,largeurcell,"","","","","","",-1,-1,-1,"","contact pacific colour");


