// JavaScript Document

	ratio1 = screen.width / 1280;
	ratiodiv = screen.width / 1024;
	hauteur = 690;
	selectFontSize = Math.floor( ratio1 * 20 );
	idmax = new Array(6,9,6,5,5,3,5);
	
//   												left	top		height	width	
	var bande		= new Array("bande",			0,		0,		35,		500		);
	var imaband		= new Array("imaband",			0,		0,		35,		500		);
	var sigband		= new Array("sigband",			860,	0,		117,	117		);
	var imisigle	= new Array("imisigle",			0,		0,		117,	117		);
	var ctr			= new Array("ctr",				0,		35,		40,		500		);
	var Image3		= new Array("Image3",			0,		0,		30,		70		);
	var coord		= new Array("coord",			500,	0,		107,	350		);
	var clickbleu	= new Array("clickbleu",		0,		75,		20,		250		);
	var menu		= new Array("menu",				0,		122,	22,		1002	);
	var menu1		= new Array("menu1",			0,		0,		20,		170		);
	var menu2		= new Array("menu2",			172,	0,		20,		170		);
	var menu3		= new Array("menu3",			344,	0,		20,		170		);
	var menu4		= new Array("menu4",			516,	0,		20,		210		);
	var menu5		= new Array("menu5",			728,	0,		20,		150		);
	var menu6		= new Array("menu6",			880,	0,		20,		120		);
	var lienscgt	= new Array("lienscgt",			0,		125,	18,		150		);
	var main		= new Array("main",				150,	150,	390,	580		);
	var Tsyndicat	= new Array("Tsyndicat",		0,		150,	23,		500		);
	var Qsyndicat	= new Array("Qsyndicat",		0,		182,	140,	595		);
	var Tcgt		= new Array("Tcgt",				0,		348,	23,		350		);
	var Qcgt		= new Array("Qcgt",				0,		382,	160,	595		);
	var doc			= new Array("doc",				582,	175,	30,		80		);
	var sud			= new Array("sud",				0,		520,	73,		175		);
	var sud1		= new Array("sud1",				0,		0,		64,		65		);
	var sud2		= new Array("sud2",				65,		0,		73,		110		);
	var centre		= new Array("centre",			0,		590,	hauteur,	970		);
	var lesav		= new Array("lesav",			798,	430,	26,		196		);
	var txtsv 		= new Array("txtsv",			798,	457,	77,		196		);
	var numsav		= new Array("numsav",			798,	535,	26,		196		);
	var photo		= new Array("photo",			640,	160,	301,	356		);
	var imphoto		= new Array("imphoto",			0,		0,		267,	356		);
	var clphoto		= new Array("clphoto",			640,	431,	34,		356		);
	var textesbase	= new Array("textesbase",		20,		4,		16,		200		); // fixe
	var ccnoncadre	= new Array("ccnoncadre",		20,		28,		16,		430		);
	var classifs	= new Array("classifs",			20,		52,		16,		430		);
	var deplac		= new Array("deplac",			20,		76,		16,		430		);
	var ccnicm		= new Array("ccnicm",			20,		100,	16,		430		);
	var modulo		= new Array("modulo",			20,		124,	16,		430		);
	var salairesNC	= new Array("salairesNC",		20,		148,	16,		300		); // fixe
	var etude		= new Array("etude",			20,		172,	16,		430		);
	var minisNC2007	= new Array("minisNC2007",		20,		196,	16,		450		);
	var salairesC	= new Array("salairesC",		20,		220,	16,		430		); // fixe
	var miniscad2007= new Array("miniscad2007",		20,		244,	16,		430		);
	var contact		= new Array("contact",			20,		268,	16,		125		); // fixe
	var adr			= new Array("adr",				20,		292,	16,		430		);
	var mail		= new Array("mail",				20,		316,	16,		430		);
	var acr			= new Array("acr",				20,		340,	16,		150		); // fixe
	var develop		= new Array("develop",			20,		364,	16,		430		);
	var develop1	= new Array("develop1",			20,		388,	16,		460		);
	var develop2	= new Array("develop2",			20,		412,	16,		460		);
	var clnote		= new Array("clnote",			20,		436,	20,		240		);
	var bonveu		= new Array("bonveu", 			640, 	430, 	150, 	155		);
	var sp0			= new Array("sp0", 				0, 		0, 		40, 	184		);
	var sp1			= new Array("sp1",	 			184, 	0, 		40, 	600		);
	var sp2			= new Array("sp2",	 			784, 	0, 		40, 	180		);
	var centreTex	= new Array("centreTex",		0,	 	40,		300, 	940 	);
	
	ie4=(document.all)?true:false;
	nc6=(typeof(window.controllers) != 'undefined' && typeof(window.locationbar) != 'undefined')?true:false;

	var ddmaj = new Date(document.lastModified);

	var ligne
	var texte
	
	var URLname = new Array(30)
	
	URLname[0] = './cc34/cc34.htm'
	URLname[1] = './ccnicm/ccnicm.htm'
	URLname[2] = 'http://www.cgt.fr'
	URLname[3] = 'http://www.ftm-cgt.fr'
	URLname[4] = 'http://cgt.ibm.free.fr'
	URLname[5] = './ClassifsNC/'
	URLname[6] = './deplacements260276/deplacNC.htm'
	URLname[7] = './SalairesMetaux34/index.php'
	URLname[8] = './cgtMontpellierIBM/accueil.htm'
	URLname[9] = 'http://www.ccnet-actu.com'
	URLname[10] = './cgtGespac/index.htm'
	URLname[11] = './Download.htm'
	URLname[12] = 'http://plans-sociaux-ibm.blogspot.com'
	URLname[13] = 'http://cgt-metaux-montpellier.blogspot.com'
	URLname[14] = './plansite.html'
	URLname[15] = 'mailto:cgt.metaux.montpellier@gmail.com?subject=Contacts%20avec%20le%20syndicat'
	URLname[16] = 'http://www.ud34.cgt.fr'
	URLname[17] = 'http://lacgt34.over-blog.org'
	URLname[18] = 'http://ul.cgt.montpellier.over-blog.net'
	URLname[19] = './UIMMmodulation/modulo-F0.php'
	URLname[20] = './actionsencours.php'
	URLname[21] = './infoleg.php'
	URLname[22] = './SemaineNationaleActionsFTM19-23.php'
	URLname[23] = './AugmentationPAprioritaire1207.php'
	URLname[24] = './ArchivesDocSalaires.php'
	URLname[25] = './RendezVousRetraites2008.php'
	URLname[26] = './DefendreCodeTravail.php'
	URLname[27] = './RAGNC2007.php'
	URLname[28] = './RAGcad2007.php'
	URLname[29] = './EtudesSalaires.php'
	URLname[30] = './aquisad.htm';

function divmain(id) {

	this.id=id;

	nc4=(document.layers)?true:false;
	swtest=(screen.width < 1280)?true:false;
	
	if (!nc4)  {
	// if ( !nc4 ) {				  
		// alert ("B");
		if (document.getElementById) {
			// alert("getElementById");
			this.obj = document.getElementById(this.id).style;
		} else {
			// alert("all")
			if (document.all) {
				this.obj = document.all.eval(this.id).style;
			}
		}	
	}
	if (!nc4) {

		zsize5 = 5 * ratio1;
		
		switch (this.id) {
			case bande[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * bande[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * bande[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * bande[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * bande[4] ) + "px";
				this.obj.fontSize =  36 * ratio1 + "px";
				// alert (this.id + "\n" + "left" + " " + Math.floor( ratiodiv * bande[1] ); 
				break;
			case imaband[0]	 :
				this.obj.height = Math.floor( ratiodiv * imaband[3] ) + "px";
				this.obj.width  = Math.floor( ratiodiv * imaband[4] ) + "px";
				break;
			case sigband[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * sigband[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * sigband[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * sigband[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * sigband[4] ) + "px";
				break;
			case imisigle[0]	 :
				this.obj.height = Math.floor( ratiodiv * imisigle[3] ) + "px";
				this.obj.width  = Math.floor( ratiodiv * imisigle[4] ) + "px";
				break;
			case ctr[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * ctr[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * ctr[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * ctr[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * ctr[4] ) + "px";
				this.obj.fontSize =  20 * ratio1 + "px";
				this.obj.fontWeight = 600;
				this.obj.fontStyle = "italic";
				this.obj.color = "darkblue"; 
				break;
			case Image3[0]	 :
				this.obj.height = Math.floor( ratiodiv * Image3[3] ) + "px";
				this.obj.width  = Math.floor( ratiodiv * Image3[4] ) + "px";
				break;
			case coord[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * coord[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * coord[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * coord[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * coord[4] ) + "px";
				this.obj.fontSize =  15 * ratio1 + "px";
				break;
			case clickbleu[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * clickbleu[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * clickbleu[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * clickbleu[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * clickbleu[4] ) + "px";
				this.obj.fontSize =  20 * ratio1 + "px";
				this.obj.paddingTop =  ( 10 * ratio1 ) + "px";
				break;
			case menu[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * menu[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * menu[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * menu[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * menu[4] ) + "px";
				break;
				
			case menu1[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * menu1[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * menu1[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * menu1[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * menu1[4] ) + "px";
				this.obj.fontSize = Math.floor( ratio1 * 20 ) + "px";
				break;
				
			case menu2[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * menu2[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * menu2[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * menu2[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * menu2[4] ) + "px";
				this.obj.fontSize = Math.floor( ratio1 * 20 ) + "px";
				break;
				
			case menu3[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * menu3[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * menu3[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * menu3[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * menu3[4] ) + "px";
				this.obj.fontSize = Math.floor( ratio1 * 20 ) + "px";
				break;
				
			case menu4[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * menu4[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * menu4[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * menu4[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * menu4[4] ) + "px";
				this.obj.fontSize = Math.floor( ratio1 * 20 ) + "px";
				break;
				
			case menu5[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * menu5[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * menu5[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * menu5[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * menu5[4] ) + "px";
				this.obj.fontSize = Math.floor( ratio1 * 20 ) + "px";
				break;
				
			case menu6[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * menu6[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * menu6[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * menu6[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * menu6[4] ) + "px";
				this.obj.fontSize = Math.floor( ratio1 * 20 ) + "px";
				break;
				
			case lienscgt[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * lienscgt[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * lienscgt[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * lienscgt[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * lienscgt[4] ) + "px";
				this.obj.fontSize =  zsize5 + "mm";
				break;
			
			case main[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * main[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * main[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * main[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * main[4] ) + "px";
				break;
				
			case Tsyndicat[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * Tsyndicat[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * Tsyndicat[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * Tsyndicat[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * Tsyndicat[4] ) + "px";
				this.obj.fontSize 	= Math.floor( ratiodiv * 24 ) + "px";
				break;
				
				case Tcgt[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * Tcgt[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * Tcgt[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * Tcgt[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * Tcgt[4] ) + "px";
				this.obj.fontSize 	= Math.floor( ratiodiv * 24 ) + "px";
				break;
				
				case Qsyndicat[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * Qsyndicat[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * Qsyndicat[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * Qsyndicat[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * Qsyndicat[4] ) + "px";
				break;
				
			case Qcgt[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * Qcgt[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * Qcgt[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * Qcgt[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * Qcgt[4] ) + "px";
				break;
				
			case doc[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * doc[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * doc[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * doc[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * doc[4] ) + "px";
				break;
			case centre[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * centre[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * centre[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * centre[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * centre[4] ) + "px";
				
				this.obj.width 	= Math.floor( ratiodiv * centre[4] ) + "px";
				this.obj.fontSize =  ratio1 * 20 + "px";
				break;
			case sud[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * sud[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * sud[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * sud[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * sud[4] ) + "px";
				break;
			case sud1[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * sud1[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * sud1[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * sud1[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * sud1[4] ) + "px";
				document.getElementById("imsud").style.width = Math.floor( ratio1 * 65 ) + "px";
				document.getElementById("imsud").style.height = Math.floor( ratio1 * 64 ) + "px";
				break;
			case sud2[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * sud2[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * sud2[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * sud2[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * sud2[4] ) + "px";
				this.obj.fontSize = Math.floor( ratio1 * 21) + "px";
				break;
			case textesbase[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * textesbase[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * textesbase[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * textesbase[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * textesbase[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case ccnoncadre[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * ccnoncadre[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * ccnoncadre[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * ccnoncadre[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * ccnoncadre[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case classifs[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * classifs[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * classifs[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * classifs[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * classifs[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case deplac[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * deplac[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * deplac[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * deplac[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * deplac[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case ccnicm[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * ccnicm[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * ccnicm[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * ccnicm[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * ccnicm[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case salairesNC[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * salairesNC[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * salairesNC[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * salairesNC[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * salairesNC[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case etude[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * etude[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * etude[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * etude[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * etude[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case contact[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * contact[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * contact[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * contact[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * contact[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case adr[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * adr[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * adr[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * adr[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * adr[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case mail[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * mail[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * mail[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * mail[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * mail[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case acr[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * acr[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * acr[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * acr[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * acr[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case develop[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * develop[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * develop[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * develop[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * develop[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case modulo[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * modulo[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * modulo[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * modulo[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * modulo[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case lesav[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * lesav[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * lesav[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * lesav[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * lesav[4] ) + "px";
				this.obj.fontSize =  28 * ratio1 + "px";
				break;
			case txtsv[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * txtsv[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * txtsv[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * txtsv[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * txtsv[4] ) + "px";
				this.obj.fontSize =  20 * ratio1 + "px";
				break;
			case numsav[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * numsav[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * numsav[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * numsav[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * numsav[4] ) + "px";
				this.obj.fontSize = 28 * ratio1 + "px";
				break;
			case salairesC[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * salairesC[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * salairesC[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * salairesC[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * salairesC[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case develop2[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * develop2[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * develop2[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * develop2[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * develop2[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case develop1[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * develop1[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * develop1[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * develop1[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * develop1[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case photo[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * photo[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * photo[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * photo[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * photo[4] ) + "px";
				
				break;
			case imphoto[0]	 :
				this.obj.height = Math.floor( ratiodiv * imphoto[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * imphoto[4] ) + "px";
				
				break;
			case clphoto[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * clphoto[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * clphoto[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * clphoto[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * clphoto[4] ) + "px";
				this.obj.fontSize =  Math.floor( 14 * ratio1 ) + "px";
				break;
			case minisNC2007[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * minisNC2007[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * minisNC2007[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * minisNC2007[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * minisNC2007[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case miniscad2007[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * miniscad2007[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * miniscad2007[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * miniscad2007[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * miniscad2007[4] ) + "px";
				this.obj.fontSize = selectFontSize + "px";
				break;
			case clnote[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * clnote[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * clnote[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * clnote[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * clnote[4] ) + "px";
				break;
			case bonveu[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * bonveu[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * bonveu[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * bonveu[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * bonveu[4] ) + "px";
				this.obj.fontSize =  Math.floor( 14 * ratio1 ) + "px";
				document.getElementById("bonveu-1").style.fontSize = Math.floor( ratio1 * 30 ) + "px";
				document.getElementById("bonveu-2").style.fontSize = Math.floor( ratio1 * 24 ) + "px";
				break;
			case sp0[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * sp0[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * sp0[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * sp0[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * sp0[4] ) + "px";
				this.obj.fontSize 	= Math.floor( ratio1 * 24 ) + "px";
				this.obj.fontStyle = "italic";
				this.obj.color = "#880000";
				this.obj.fontWeight = 600;
				this.obj.borderColor = "#000000";
				break;
			case sp1[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * sp1[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * sp1[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * sp1[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * sp1[4] ) + "px";
				this.obj.fontSize 	= Math.floor( ratio1 * 22 ) + "px";
				this.obj.fontStyle = "normal";
				this.obj.color = "#008800";
				this.obj.fontWeight = 400;
				this.obj.borderColor = "#000000";
				break;
			case sp2[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * sp2[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * sp2[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * sp2[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * sp2[4] ) + "px";
				this.obj.fontSize 	= Math.floor( ratio1 * 22 ) + "px";
				this.obj.fontStyle = "italic";
				this.obj.color = "#000088";
				this.obj.fontWeight = 400;
				this.obj.borderColor = "#000000";
				break;
			case centreTex[0]	 :
				this.obj.left 	= Math.floor( ratiodiv * centreTex[1] ) + "px";
				this.obj.top 	= Math.floor( ratiodiv * centreTex[2] ) + "px";
				this.obj.height = Math.floor( ratiodiv * centreTex[3] ) + "px";
				this.obj.width 	= Math.floor( ratiodiv * centreTex[4] ) + "px";
				this.obj.fontSize 	= Math.floor( ratio1 * 22 ) + "px";
				this.obj.fontStyle = "normal";
				this.obj.color = "#000000";
				this.obj.fontWeight = 400;
				break;
			case "sousmenu1" : 
				this.obj.top = Math.floor( ratiodiv * 20 ) + "px";
				this.obj.display = "none";
				break;
			case "sousmenu2" :
				this.obj.top = Math.floor( ratiodiv * 20 ) + "px";
				this.obj.display = "none";
				break;
			case "sousmenu3" :
				this.obj.top = Math.floor( ratiodiv * 20 ) + "px";
				this.obj.display = "none";
				break;
			case "sousmenu4" :
				this.obj.top = Math.floor( ratiodiv * 20 ) + "px";
				this.obj.display = "none";
				break;
			case "sousmenu5" :
				this.obj.top = Math.floor( ratiodiv * 20 ) + "px";
				this.obj.display = "none";
				break;
			case "sousmenu6" :
				this.obj.top = Math.floor( ratiodiv * 20 ) + "px";
				this.obj.display = "none";
				break;
			
		}
	}
}

function lien(i) {
	
	lien2Fen=window.open(URLname[i],"_top")

}


function disp() {

	this.menu = "envtst.htm";
	satchmo = "width=400,height=300,top=30,left=30"
	satchmo += "toolbar=no,personalbar=no,status=no,titlebar=no"
	ohmawinna = window.open(this.menu,'ohmawinna',satchmo);
}
/*------------------------------------------------------------------------------------*/
/*	                                                                                  */
/*------------------------------------------------------------------------------------*/
function derniereDate() {
	
	var ddmaj = new Date(document.lastModified);
	
	var jour = ddmaj.getDate()
	var mois = ddmaj.getMonth()
	var annee = ddmaj.getYear()
	annee = (annee<=1900)?annee+1900:annee
	var heure = ddmaj.getHours()
	var minutes = ddmaj.getMinutes()
	
	// alert( ddmaj.getYear() )
	alert("Dernière modification : " + jour + "/" + mois + "/" + annee + " à : " + heure + ":" + minutes)
}
/*------------------------------------------------------------------------------------*/
/*	                                                                                  */
/*------------------------------------------------------------------------------------*/
function breveSuite(id) {
	this.id=id;
	nc4=(document.layers)?true:false;
		if (nc4) {
			options = "screenX=10,screenY=10,outerWidth=650,outerHeight=490";
		} else {
			sw = Math.floor(screen.width * 650 / 1024);
			sh = Math.floor(screen.height * 490 / 1024);
			
			options = "left=30,top=30,width="
			options += sw
			options += ",height="
			options += sw
		}
		options += ",scrollbars=no,toolbar=no,menubar=no,resizable=no,status=no";
		refwin = window.open("pageBlanche.php","refwin",options);
		refwin = document.write("<p>La date du jour est : " + Date() )
	
}

function cliquable ( id , i ) {
	
	
	this.id = id;
	this.i = i;
	zs = 18;
	zsize = Math.floor( zs * ratio1 );
	zwidth = Math.floor( 169 * ratio1 );
	zmargin=  0;
	zpadding = 3;
	zw = 4;
	
	zh = zsize + zpadding * 2 + zw * 2;
	zheight = zsize;
	zleft = Math.floor( 6 * ratio1 );
	
	switch(this.i) {
		case 1	: ztop = Math.floor( 156 * ratio1 ) + zh * this.i ; break;
		case 2	: ztop = Math.floor( 156 * ratio1 ) + zh * this.i ; break;
		case 3	: ztop = Math.floor( 156 * ratio1 ) + zh * this.i ; break;
		case 4	: ztop = Math.floor( 156 * ratio1 ) + zh * ( this.i + 1 ); break;
		case 5	: ztop = Math.floor( 156 * ratio1 ) + zh * ( this.i + 1 ); break;
		case 6	: ztop = Math.floor( 156 * ratio1 ) + zh * ( this.i + 1 ); break;
		case 7	: ztop = Math.floor( 156 * ratio1 ) + zh * ( this.i + 2 ); break;
		case 8	: ztop = Math.floor( 156 * ratio1 ) + zh * ( this.i + 2 ); break;
		case 9	: ztop = Math.floor( 156 * ratio1 ) + zh * ( this.i + 2 ); break;
		case 10	: ztop = Math.floor( 156 * ratio1 ) + zh * ( this.i + 2 ); break;
	}
	
	// alert (zheight + " " + ztop);
	
	document.getElementById(this.id).style.fontSize =  zsize + "px";
	document.getElementById(this.id).style.width =  zwidth + "px";
	document.getElementById(this.id).style.height =  zheight + "px";
	document.getElementById(this.id).style.top =  ztop + "px";
	document.getElementById(this.id).style.left =  zleft + "px";
	document.getElementById(this.id).style.margin =  zmargin + "px";
	document.getElementById(this.id).style.padding =  zpadding + "px";
	document.getElementById(this.id).style.borderWidth =  zw + "px";
}

function proxim() {
	
	this.id = "proxim";
	this.i = 4;
	
	zsize = Math.floor( 18 * ratio1 );
	zmargin = 0;
	zpadding = 3;
	zw = 4;
	zh = zsize + zpadding * 2 + zw * 2;
	ztop = Math.floor( 158 * ratio1 ) + zh * this.i ;
	zwidth = Math.floor( 185 * ratio1 );
	zheight = Math.floor( 18 * ratio1);
	
	document.getElementById(this.id).style.width =  zwidth + "px";
	document.getElementById(this.id).style.height =  zheight + "px";
	document.getElementById(this.id).style.top =  ztop + "px";
	document.getElementById(this.id).style.left =  "0px";
	document.getElementById(this.id).style.fontSize =  zsize + "px";
	document.getElementById(this.id).style.margin =  zmargin + "px";
	document.getElementById(this.id).style.padding =  zpadding + "px";
	document.getElementById(this.id).style.borderWidth =  "1px";
}

function blogsynd() {
	
	this.id = "blogsynd";
	this.i = 8;
	
	zsize = Math.floor( 18 * ratio1 );
	// alert (this.id + " " + ratio1 + " " + zsize);
	zmargin = 0;
	zpadding = 3;
	zw = 4;
	zh = zsize + zpadding * 2 + zw * 2;
	ztop = Math.floor( 158 * ratio1 ) + zh * this.i ;
	zwidth = Math.floor( 185 * ratio1 );
	zheight = Math.floor( 18 * ratio1 );
	
	document.getElementById(this.id).style.fontSize =  zsize + "px";
	document.getElementById(this.id).style.width =  zwidth + "px";
	document.getElementById(this.id).style.height =  zheight + "px";
	document.getElementById(this.id).style.top =  ztop + "px";
	document.getElementById(this.id).style.left =  "0px";
	document.getElementById(this.id).style.margin =  zmargin + "px";
	document.getElementById(this.id).style.padding =  zpadding + "px";
	document.getElementById(this.id).style.borderWidth =  "1px";
	
}

function notes(id) {
	
	this.id = id;
	
	document.getElementById(this.id).style.fontSize =  Math.floor( 16 * ratio1 ) + "px";
	document.getElementById(this.id).style.padding = "0px";
	document.getElementById(this.id).style.margin = "0px";
	document.getElementById(this.id).style.textAlign = "center";
}

function centreTex() {
	
	zsize = Math.floor( ratio1 * 20 );
	
	this.id = "pp1";
		
	document.getElementById(this.id).style.fontSize = zsize + "px";	
		
	this.id = "pp2";
		
	document.getElementById(this.id).style.fontSize = zsize + "px";	
		
	this.id = "pp3";
		
	document.getElementById(this.id).style.fontSize = zsize + "px";	
		
	this.id = "sp1";
	zsizesp1 = Math.floor( ratio1 * 24 );
	document.getElementById(this.id).style.fontSize = zsizesp1 + "px";	
	
	this.id = "sp2";
	zsizesp2 = Math.floor( ratio1 * 20 );
	document.getElementById(this.id).style.fontSize = zsizesp2 + "px";	
	
}

function centreOut() {
	
	this.id = "centreOut";
	
	zsize = Math.floor( ratio1 * 24 );
	zwidth = Math.floor( ratio1 * 150 );
	zheight = Math.floor( ratio1 * 30);
		
	document.getElementById(this.id).style.fontSize = zsize + "px";	
	document.getElementById(this.id).style.fontStyle = "italic";
	document.getElementById(this.id).style.color = "darkblue";
	document.getElementById(this.id).style.width = zwidth + "px";
	document.getElementById(this.id).style.height = zheight + "px";
	
}

function sigleCGT() {
		
	var sigband	= new Array("sigband",		1100,		0,		132,	137		);

	this.id = "sigband";
	
	zleft = Math.floor( ratio1 * sigband[1] );
	ztop = Math.floor( ratio1 * sigband[2] );
	zheight = Math.floor( ratio1 * sigband[3] );
	zwidth = Math.floor( ratio1 * sigband[4] )
	
	document.getElementById(this.id).style.left = zleft  + "px";
	document.getElementById(this.id).style.top = ztop  + "px";
	document.getElementById(this.id).style.width = zheight  + "px";
	document.getElementById(this.id).style.height = zwidth  + "px";
	document.getElementById(this.id).style.padding = 0 + "px";
	document.getElementById(this.id).style.margin = 0 + "px";
	// alert(this.id + " " + ztop + " " + zleft + " " + zheight + " " + zwidth);
	
	switch( screen.width ) {
		case 1280 :
			a = '<img  src="./Images/sigleCGT132137.png"  />';
			break;
		case 1024 :
			a = '<img  src="./Images/sigleCGT104108.png"  />';
			break;
		case 800 :
			a = '<img  src="./Images/sigleCGT8386.png"  />';
			break;
		default :
			a = '<img  src="./Images/sigleCGT132137.png"  />';
			break;
	}
	// alert(a);
}

function pp(id) {
	this.id = id;
	document.getElementById(this.id).style.fontSize = Math.floor( ratio1 * 22 ) + "px"; 
	document.getElementById(this.id).style.paddingTop = 0 + "px";
	document.getElementById(this.id).style.paddingLeft = Math.floor( ratio1 * 22 ) + "px";
	document.getElementById(this.id).style.paddingBottom = Math.floor( ratio1 * 22 ) + "px";
	document.getElementById(this.id).style.paddingRight = Math.floor( ratio1 * 22 ) + "px";
	document.getElementById(this.id).style.margin = 0 + "px";
	document.getElementById(this.id).style.color = "black";
	document.getElementById(this.id).style.fontStyle = "normal";
	document.getElementById(this.id).style.fontWeight = 600;
	document.getElementById(this.id).style.fontFamily = "arial";
}


function affiche(obj){
	var id = obj.id;
	var LL = id.length;
	j = id.substring(4,5);
	// alert(j)
	
	for ( i = 1; i <= idmax[0] ; i++ ) {
		document.getElementById('sousmenu'+i).style.display = "none";
	}
	
	if(document.getElementById('sous'+id)){
		
		
		document.getElementById('sous'+id).style.display = "block";
		for ( i = 1; i <= idmax[j] ; i++ ) {
			
			divid = "divid" + j + i;
			document.getElementById(divid).style.fontSize = Math.floor( ratio1 * 18 ) + "px";
			document.getElementById(divid).style.width = Math.floor( ratiodiv * 250 ) + "px";
			if ( j == 6 ) {
				document.getElementById(divid).style.width = Math.floor( ratiodiv * 120 ) + "px"
			}
			
		}
	}
}

function tt() {
	
	switch(screen.width) {
		case 1024 : 
			document.getElementById('Tsyndicat').style.fontSize = 26 + "px";
			document.getElementById('Tcgt').style.fontSize = 26 + "px";
			break;
		case 1280 : 
			document.getElementById('Tsyndicat').style.fontSize = 32 + "px";
			document.getElementById('Tcgt').style.fontSize = 32 + "px";
			break;
		
	}
	
}

