i1 = new Image;
i1.src = "img/teamtrade_company.jpg";
i2 = new Image;
i2.src = "img/teamtrade_company2.jpg";
i3 = new Image;
i3.src = "img/teamtrade_recruitment.jpg";
i4 = new Image;
i4.src = "img/teamtrade_recruitment2.jpg";
/*
i8 = new Image;
i8.src = "img/topnav/technical_blog.jpg";
i9 = new Image;
i9.src = "img/topnav/technical_blog2.jpg";
i10 = new Image;
i10.src = "img/topnav/functionnal_blog2.jpg";
i11 = new Image;
i11.src = "img/topnav/functionnal_blog.jpg";
*/
i12 = new Image;
i12.src = "img/topnav/paris2.jpg";
i13 = new Image;
i13.src = "img/topnav/paris.jpg";
i14 = new Image;
i14.src = "img/topnav/london2.jpg";
i15 = new Image;
i15.src = "img/topnav/london.jpg";
i16 = new Image;
i16.src = "img/topnav/milan2.jpg";
i17 = new Image;
i17.src = "img/topnav/milan.jpg";
i18 = new Image;
i18.src = "img/topnav/luxembourg2.jpg";
i19 = new Image;
i19.src = "img/topnav/luxembourg.jpg";
i20 = new Image;
i20.src = "img/topnav/newyork2.jpg";
i21 = new Image;
i21.src = "img/topnav/newyork.jpg";
img_sydney = new Image;
img_sydney.src = "img/topnav/sydney.jpg";
img_sydney2 = new Image;
img_sydney2.src = "img/topnav/sydney2.jpg";
img_geneva = new Image;
img_geneva.src = "img/topnav/geneva.jpg";
img_geneva2 = new Image;
img_geneva2.src = "img/topnav/geneva2.jpg";
/*
i22 = new Image;
i22.src = "img/topnav/financial_communication2.jpg";
i23 = new Image;
i23.src = "img/topnav/financial_communication.jpg";
*/
i24 = new Image;
i24.src = "img/topnav/contacts2.jpg";
i25 = new Image;
i25.src = "img/topnav/contacts.jpg";
i26 = new Image;
i26.src = "img/topnav/intranet2.jpg";
i27 = new Image;
i27.src = "img/topnav/intranet.jpg";
i44 = new Image;
i44.src = "img/topnav/news2.jpg";
i45 = new Image;
i45.src = "img/topnav/news.jpg";
i46 = new Image;
i46.src = "img/topnav/events2.jpg";
i47 = new Image;
i47.src = "img/topnav/events.jpg";
i48 = new Image;
i48.src = "img/topnav/campus2.jpg";
i49 = new Image;
i49.src = "img/topnav/campus.jpg";
i52 = new Image;
i52.src = "img/topnav/ithaque.jpg";
i53 = new Image;
i53.src = "img/topnav/ithaque2.jpg";

i57 = new Image;
i57.src = "img/topnav/news_menu.jpg";
i58 = new Image;
i58.src = "img/topnav/news_menu2.jpg";
new_ithaque = new Image;
new_ithaque.src = "img/topnav/new_ithaque.jpg";
new_ithaque2 = new Image;
new_ithaque2.src = "img/topnav/new_ithaque2.jpg";
site_ithaque = new Image;
site_ithaque.src = "img/topnav/site_ithaque.jpg";
site_ithaque2 = new Image;
site_ithaque2.src = "img/topnav/site_ithaque2.jpg";

/*****************************************************************************/
/*************************Menu Top Home **************************************/
/***** Les deuxiemes lignes de chaque fonction sont là pour netscape *********/
/*****************************************************************************/
function overintranet(){
	document.getElementById('intranet').src=i26.src;
}
function outintranet(){
	document.getElementById('intranet').src=i27.src;
}
function overnews(){
	document.getElementById('news').src=i44.src;
}
function outnews(){
	document.getElementById('news').src=i45.src;
}
function overithaque(){
	document.getElementById('ithaque').src=i53.src;
}
function outithaque(){
	document.getElementById('ithaque').src=i52.src;
}
function overnew_ithaque(){
	document.getElementById('new_ithaque').src=new_ithaque2.src;
}
function outnew_ithaque(){
	document.getElementById('new_ithaque').src=new_ithaque.src;
}
function oversite_ithaque(){
	document.getElementById('site_ithaque').src=site_ithaque2.src;
}
function outsite_ithaque(){
	document.getElementById('site_ithaque').src=site_ithaque.src;
}
function overnews_menu(){
	document.getElementById('news_menu').src=i58.src;
}
function outnews_menu(){
	document.getElementById('news_menu').src=i57.src;
}
function overevent(){
	document.getElementById('event').src=i46.src;
}
function outevent(){
	document.getElementById('event').src=i47.src;
}
function overcampus(){
	document.getElementById('campus').src=i48.src;
}
function outcampus(){
	document.getElementById('campus').src=i49.src;
}
function overnewsletter(){
	document.getElementById('newsletter').src=i50.src;
}
function outnewsletter(){
	document.getElementById('newsletter').src=i51.src;
}
function overcontact(){
	document.getElementById('contact').src=i24.src;
}
function outcontact(){
	document.getElementById('contact').src=i25.src;
}
function overficomm(){
	document.getElementById('ficomm').src=i22.src;
}
function outficomm(){
	document.getElementById('ficomm').src=i23.src;
}
function oversydney(){
	document.getElementById('sydney').src=img_sydney2.src;
}
function outsydney(){
	document.getElementById('sydney').src=img_sydney.src;
}
function overgeneva(){
	document.getElementById('geneva').src=img_geneva2.src;
}
function outgeneva(){
	document.getElementById('geneva').src=img_geneva.src;
}
function overnewyork(){
	document.getElementById('newyork').src=i20.src;
	document.getElementById('luxembourg').src=i19.src;
}
function outnewyork(){
	document.getElementById('newyork').src=i21.src;
}
function overluxembourg(){
	document.getElementById('luxembourg').src=i18.src;
	document.getElementById('milan').src=i17.src;
	document.getElementById('newyork').src=i21.src;
}
function outluxembourg(){
	document.getElementById('luxembourg').src=i19.src;
}
function overmilan(){
	document.getElementById('milan').src=i16.src;
	document.getElementById('london').src=i15.src;
	document.getElementById('luxembourg').src=i19.src;
}
function outmilan(){
	document.getElementById('milan').src=i17.src;
}
function overlondon(){
	document.getElementById('london').src=i14.src;
	document.getElementById('paris').src=i13.src;
	document.getElementById('milan').src=i17.src;
}
function outlondon(){
	document.getElementById('london').src=i15.src;
}
function overparis(){
	document.getElementById('paris').src=i12.src;
	document.getElementById('london').src=i15.src;
}
function outparis(){
	document.getElementById('paris').src=i13.src;
}
function overfunctionnal(){
	document.getElementById('functionnal_blog').src=i10.src;
	document.getElementById('technical_blog').src=i8.src;
}
function outfunctionnal(){
	document.getElementById('functionnal_blog').src=i11.src;
	document.getElementById('technical_blog').src=i9.src;
}

function overtechnical(){
	document.getElementById('technical_blog').src=i9.src;
	document.getElementById('functionnal_blog').src=i11.src;
}
function outtechnical(){
	document.getElementById('technical_blog').src=i8.src;
	document.getElementById('functionnal_blog').src=i10.src;
}
/*****************************************************************************/

/*****************************************************************************/
/*************************Menu metier candidat Home***************************/
/*****************************************************************************/

function overleft(){
	document.images['left'].src=i1.src;
	document.images['right'].src=i3.src;
	document.getElementById('menuright').style.display='none';
	document.getElementById('menuleft').style.display='block';
	document.getElementById('intro').style.display='none';
}

function outleft(){
	document.getElementById('menuleft').style.display='none';
}

function overright() {
	document.images['left'].src=i2.src;
	document.images['right'].src=i4.src;
	document.getElementById('menuright').style.display='block';
	document.getElementById('intro').style.display='block';
}

function outright() {
	document.getElementById('menuright').style.display='none';
}
/*****************************************************************************/

/*****************************************************************************/
/*************************Menu metier candidat********************************/
/*****************************************************************************/

function overleft2(){
	document.getElementById('menuright').style.display='none';
	document.getElementById('menuleft').style.display='block';
}

function outleft2(){
	document.getElementById('menuleft').style.display='none';
}

function overright2() {
	document.getElementById('menuright').style.display='block';
	document.getElementById('menuleft').style.display='none';
}

function overright_compagny() {
	document.getElementById('menuright').style.display='block';
}

function outright2() {
	document.getElementById('menuright').style.display='none';
}

function affichage() {
	document.getElementById('idall').style.display='block';
	buh = document.URL.match(/aboutus.php$/);
	if (buh)
		changeimages();
}

function overleft_recruitment() {
	document.getElementById('menuleft').style.display='block';
}
function outleft_recruitment(){
	document.getElementById('menuleft').style.display='none';
}
/*****************************************************************************/

/*****************************************************************************/
/******************************Legal Notice***********************************/
/*****************************************************************************/
function legalover1() {
	document.getElementById('legalnotice2').style.fontWeight='lighter';
	document.getElementById('legalnotice3').style.fontWeight='lighter';
	document.getElementById('legalnoticearrow2').style.display='none';
	document.getElementById('legalnoticearrow3').style.display='none';
	document.getElementById('legalnotice1').style.fontWeight='bolder';
	document.getElementById('legalnotice1').style.display='block';
	document.getElementById('legalnoticearrow1').style.display='block';
	document.getElementById('legalnoticetext').innerHTML = "This site is the property of Team Trade,<br />with registered office at 43 rue Taitbout<br />75009 Paris - Tel: (+33) 1 42 65 90 90<br />Fax: (+33) 1 42 65 90 85.<br /><br />The Webmaster is Mr Henri Tia.<br />The Webdesigner is Martin Langinieux. ";
}

function legalover2() {
	document.getElementById('legalnotice1').style.fontWeight='lighter';
	document.getElementById('legalnotice3').style.fontWeight='lighter';
	document.getElementById('legalnoticearrow1').style.display='none';
	document.getElementById('legalnoticearrow3').style.display='none';
	document.getElementById('legalnotice2').style.fontWeight='bolder';
	document.getElementById('legalnotice2').style.display='block';
	document.getElementById('legalnoticearrow2').style.display='block';
	document.getElementById('legalnoticetext').innerHTML = "The user of this site acknowledges that he has the necessary means to access this site, to use it and to have checked that the computer configuration used does not contain any virus and that it is in perfect operating condition. In conformity with the provisions of the law of 6 January, 1978 relative to Data Processing, files and liberties, the automated processing of personal data performed from this Website has been the subject of a declaration made to the Commission Nationale de l'Informatique et des Libertés (CNIL) - National Commission for Data Processing and Liberties - which upon receipt has been given the number (in progress). In accordance with this law the user is reminded in particular that the data which he supplies using the forms to be found on the site, is required in order to answer his request, and is to be used only by Team Trade, which is responsible for its handling.The user is reminded that he has the right to access and amend the data relating to him which can be done at Team Trade, whose registered office is at 43 rue Taitbout - 75009 Paris - FRANCE, or using our contact form. The user should be aware that when he accesses the site a cookie may be installed automatically in his browser software. A cookie is a block of data which does not allow him to be identified but which is used to record information relating to his navigation about the site.";	
}

function legalover3() {
	document.getElementById('legalnotice1').style.fontWeight='lighter';
	document.getElementById('legalnotice2').style.fontWeight='lighter';
	document.getElementById('legalnoticearrow1').style.display='none';
	document.getElementById('legalnoticearrow2').style.display='none';
	document.getElementById('legalnotice3').style.fontWeight='bolder';
	document.getElementById('legalnotice3').style.display='block';
	document.getElementById('legalnoticearrow3').style.display='block';
	document.getElementById('legalnoticetext').innerHTML = "The users of this site must respect the provisions of the law relating to Data Processing, files and liberties, whose violation can lead to criminal sanctions. In particular with regard to any personal information which they access, they must refrain from any collection, any indirect use, and in general, any act likely to be a breach of the private life or reputation of the persons concerned. The general structure, as well as the software, texts, images whether animated or not, its savoir-faire, and all other elements comprising the site are the exclusive property of Team Trade. Any representation of this site whether in whole or in part by any process whatsoever, without the express authorization of Team Trade is prohibited and would constitute an infringement as sanctioned by articles L.335-2 et seq. of the Intellectual Property Code. The same holds true for the databases appearing on the Website, which are protected by the provisions of the law of 1 July, 1998 which was transposed into the Intellectual Property Code from the European Directive of March 11, 1996 relating to the legal protection of databases, of which Team Trade is a producer. The trademarks of the Team Trade as well as the logos appearing on the site are registered trademarks or are the property of its partners. Any reproduction in whole or in part of these trademarks or logos, using the elements of the site without the express authorization of Team Trade is thus prohibited, within the meaning of article L.713-2 of the Intellectual Property Code.";
}
/*****************************************************************************/

/*****************************************************************************/
/******************************Projects***********************************/
/*****************************************************************************/
function projectsover1() {
	document.getElementById('projects1').style.fontWeight='bolder';
	document.getElementById('projects2').style.fontWeight='lighter';
}

function projectsover2() {
	document.getElementById('projects1').style.fontWeight='lighter';
	document.getElementById('projects2').style.fontWeight='bolder';
}
/*****************************************************************************/

/*****************************************************************************/
/******************************Clients***********************************/
/*****************************************************************************/
function clientsover1() {
	document.getElementById('clients1').style.fontWeight='bolder';
	document.getElementById('clients2').style.fontWeight='lighter';
}

function clientsover2() {
	document.getElementById('clients1').style.fontWeight='lighter';
	document.getElementById('clients2').style.fontWeight='bolder';
}
/*****************************************************************************/


/*****************************************************************************/
/******************************Joining***********************************/
/*****************************************************************************/

function joiningover1() {
	document.getElementById('joining2').style.fontWeight='lighter';
	document.getElementById('joining3').style.fontWeight='lighter';
	document.getElementById('joining1').style.fontWeight='bolder';
	document.getElementById('joining1').style.display='block';
}

function joiningover2() {
	document.getElementById('joining1').style.fontWeight='lighter';
	document.getElementById('joining3').style.fontWeight='lighter';
	document.getElementById('joining2').style.fontWeight='bolder';
	document.getElementById('joining2').style.display='block';
}

function joiningover3() {
	document.getElementById('joining1').style.fontWeight='lighter';
	document.getElementById('joining2').style.fontWeight='lighter';
	document.getElementById('joining3').style.cursor='pointer';	
	document.getElementById('joining3').style.fontWeight='bolder';
	document.getElementById('joining3').style.display='block';
}
/*****************************************************************************/



/*****************************************************************************/
/******************************campus***********************************/
/*****************************************************************************/

function ttcampusover1() {
	document.getElementById('ttcampus2').style.fontWeight='lighter';
	document.getElementById('ttcampus3').style.fontWeight='lighter';
	document.getElementById('ttcampus4').style.fontWeight='lighter';
	document.getElementById('ttcampus1').style.fontWeight='bolder';
	document.getElementById('ttcampus1').style.display='block';
}

function ttcampusover2() {
	document.getElementById('ttcampus1').style.fontWeight='lighter';
	document.getElementById('ttcampus3').style.fontWeight='lighter';
	document.getElementById('ttcampus4').style.fontWeight='lighter';	
	document.getElementById('ttcampus2').style.fontWeight='bolder';
	document.getElementById('ttcampus2').style.display='block';
}

function ttcampusover3() {
	document.getElementById('ttcampus1').style.fontWeight='lighter';
	document.getElementById('ttcampus2').style.fontWeight='lighter';
	document.getElementById('ttcampus4').style.fontWeight='lighter';
	document.getElementById('ttcampus3').style.cursor='pointer';
	document.getElementById('ttcampus3').style.marginLeft='7px';
	document.getElementById('ttcampus3').src='img/recruitment/enveloppe_rose_b.jpg';
	document.getElementById('ttcampus3').style.display='block';
}

function ttcampusout3() {
	document.getElementById('ttcampus3').style.marginLeft='10px';
	document.getElementById('ttcampus3').src='img/recruitment/enveloppe_rose.jpg';
}

function ttcampusover3ie() {
	document.getElementById('ttcampus3').cursor='pointer';
	document.getElementById('ttcampus1').style.fontWeight='lighter';
	document.getElementById('ttcampus2').style.fontWeight='lighter';
	document.getElementById('ttcampus4').style.fontWeight='lighter';	
	document.getElementById('ttcampus3').src='img/recruitment/enveloppe_rose_b.jpg';
	document.getElementById('ttcampus3').style.display='block';
}

function ttcampusout3ie() {
	document.getElementById('ttcampus3').src='img/recruitment/enveloppe_rose.jpg';
}

function ttcampusover4() {
	document.getElementById('ttcampus1').style.fontWeight='lighter';
	document.getElementById('ttcampus2').style.fontWeight='lighter';
	document.getElementById('ttcampus3').style.fontWeight='lighter';
	document.getElementById('ttcampus4').style.fontWeight='bolder';	
	document.getElementById('ttcampus4').style.display='block';
}
/*****************************************************************************/

function redim() {
	if(screen.height >= 864) {
		document.getElementById('idbody').className='thebody';
		document.getElementById('idall').className='all';
		if(document.getElementById('shadowrightie'))
			document.getElementById('shadowrightie').className='shadowrightieBig';
	}
	else {
		document.getElementById('idbody').className='bodySmall';
		document.getElementById('idall').className='allSmall';
		if(document.getElementById('shadowrightie'))
			document.getElementById('shadowrightie').className='shadowrightieSmall';		
	}
}

//XMLHttpRequest création de l'objet
	var xhr = null; 
	
function getXhr () {		 
	if(window.XMLHttpRequest) // Firefox et autres
	   xhr = new XMLHttpRequest(); 
	else if(window.ActiveXObject){ // Internet Explorer 
	   try {
                xhr = new ActiveXObject("Msxml2.XMLHTTP");
            } catch (e) {
                xhr = new ActiveXObject("Microsoft.XMLHTTP");
            }
	}
	else { // XMLHttpRequest non supporté par le navigateur 
	   alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
	   xhr = false; 
	}
}
