function view_country1()
{
	j = document.COUNTRY.ID_COUNTRY1.selectedIndex;
	ID_COUNTRY = document.COUNTRY.ID_COUNTRY1[j].value;
	
	if (ID_COUNTRY != "NULL"){
		hauteur = 615;
		largeur = 615;
		var vtop= (screen.height / 2) - (hauteur / 2) - 20;
		var vleft=( (screen.width - largeur)/2);
		options = "width="+largeur+",height="+hauteur+",resizable=0,menubar=1,scrollbars=1,statusbar=0,status=0"+",top="+vtop+",left="+vleft;
		COUNTRYWin = window.open("/fr/CAT_VL/"+document.COUNTRY.ID_COUNTRY1[j].value,"COUNTRY",options);
	}
}

function view_countryFileCL()
{
	j = document.COUNTRY2.ID_COUNTRY2.selectedIndex;
	ID_COUNTRY = document.COUNTRY2.ID_COUNTRY2[j].value;
	
	if (ID_COUNTRY != "NULL"){
		hauteur = 615;
		largeur = 615;
		var vtop= (screen.height / 2) - (hauteur / 2) - 20;
		var vleft=( (screen.width - largeur)/2);
		options = "width="+largeur+",height="+hauteur+",resizable=0,menubar=1,scrollbars=1,statusbar=0,status=0"+",top="+vtop+",left="+vleft;
		//alert("/uk/CAT_CL/"+document.COUNTRY2.ID_COUNTRY2[j].value);
		COUNTRYWin = window.open("/fr/CAT_CL/"+document.COUNTRY2.ID_COUNTRY2[j].value,"COUNTRY",options);
	}
}

function view_countryFileVL()
{
	j = document.COUNTRY.ID_COUNTRY1.selectedIndex;
	ID_COUNTRY = document.COUNTRY.ID_COUNTRY1[j].value;
	
	if (ID_COUNTRY != "NULL"){
		hauteur = 615;
		largeur = 615;
		var vtop= (screen.height / 2) - (hauteur / 2) - 20;
		var vleft=( (screen.width - largeur)/2);
		options = "width="+largeur+",height="+hauteur+",resizable=0,menubar=1,scrollbars=1,statusbar=0,status=0"+",top="+vtop+",left="+vleft;
		//alert("/uk/CAT_VL/"+document.COUNTRY2.ID_COUNTRY2[j].value);
		COUNTRYWin = window.open("/fr/CAT_VL/"+document.COUNTRY.ID_COUNTRY1[j].value,"COUNTRY",options);
	}
}
function view_country2()
{
	j = document.COUNTRY2.ID_COUNTRY2.selectedIndex;
	ID_COUNTRY = document.COUNTRY2.ID_COUNTRY2[j].value;
	
	if (ID_COUNTRY != "NULL"){
		hauteur = 615;
		largeur = 615;
		var vtop= (screen.height / 2) - (hauteur / 2) - 20;
		var vleft=( (screen.width - largeur)/2);
		options = "width="+largeur+",height="+hauteur+",resizable=0,menubar=1,scrollbars=1,statusbar=0,status=0"+",top="+vtop+",left="+vleft;
		COUNTRYWin = window.open("/fr/CAT_CL/"+document.COUNTRY2.ID_COUNTRY2[j].value,"COUNTRY",options);
	}
}

function open_by_country(country) {
	hauteur = 615;
	largeur = 615;
	var vtop= (screen.height / 2) - (hauteur / 2) - 20;
	var vleft=( (screen.width - largeur)/2);
	options = "width="+largeur+",height="+hauteur+",resizable=0,menubar=1,scrollbars=1,statusbar=0,status=0"+",top="+vtop+",left="+vleft;
	switch(ID_COUNTRY)
		{
			// Faire correspondre l'ID définie dans la boîte de sélection
			case "1":
				COUNTRYWin = window.open("1_argentina.html","COUNTRY",options);
				break;
			case "2":
				COUNTRYWin = window.open("1_austria.html","COUNTRY",options);
				break;
			case "3":
				COUNTRYWin = window.open("1_benelux.html","COUNTRY",options);
				break;
			case "4":
				COUNTRYWin = window.open("1_brazil.html","COUNTRY",options);
				break;	
			case "5":
				COUNTRYWin = window.open("1_chile.html","COUNTRY",options);
				break;
			case "6":
				COUNTRYWin = window.open("1_croatia.html","COUNTRY",options);
				break;
			case "7":
				COUNTRYWin = window.open("1_france.html","COUNTRY",options);
				break;
			case "8":
				COUNTRYWin = window.open("1_germany.html","COUNTRY",options);
				break;
			case "9":
				COUNTRYWin = window.open("1_hungary.html","COUNTRY",options);
				break;
			case "10":
				COUNTRYWin = window.open("1_italy.html","COUNTRY",options);
				break;
			case "11":
				COUNTRYWin = window.open("1_mexico.html","COUNTRY",options);
				break;	
			case "12":
				COUNTRYWin = window.open("1_poland.html","COUNTRY",options);
				break;
			case "13":
				COUNTRYWin = window.open("1_portugal.html","COUNTRY",options);
				break;
			case "14":
				COUNTRYWin = window.open("1_russia.html","COUNTRY",options);
				break;
			case "15":
				COUNTRYWin = window.open("1_slovakia.html","COUNTRY",options);
				break;
			case "16":
				COUNTRYWin = window.open("1_slovenia.html","COUNTRY",options);
				break;
			case "17":
				COUNTRYWin = window.open("1_spain.html","COUNTRY",options);
				break;	
			case "18":
				COUNTRYWin = window.open("1_switzerland.html","COUNTRY",options);
				break;
			case "19":
				COUNTRYWin = window.open("1_uk.html","COUNTRY",options);
				break;	
		}
}


function view_country(file){
		hauteur = 615;
		largeur = 615;
		var vtop= (screen.height / 2) - (hauteur / 2) - 20;
		var vleft=( (screen.width - largeur)/2);
		options = "width="+largeur+",height="+hauteur+",resizable=0,menubar=1,scrollbars=1,statusbar=0,status=0"+",top="+vtop+",left="+vleft;
		switch(ID_COUNTRY2)
		{
			// Faire correspondre l'ID définie dans la boîte de sélection
			case "1":
				COUNTRYWin = window.open("2_austria.html","COUNTRY",options);
				break;			
			case "2":
				COUNTRYWin = window.open("2_benelux.html","COUNTRY",options);
				break;
			case "3":
				COUNTRYWin = window.open("2_croatia.html","COUNTRY",options);
				break;
			case "4":
				COUNTRYWin = window.open("2_france.html","COUNTRY",options);
				break;	
			case "5":
				COUNTRYWin = window.open("2_germany.html","COUNTRY",options);
				break;
			case "6":
				COUNTRYWin = window.open("2_italy.html","COUNTRY",options);
				break;
			case "7":
				COUNTRYWin = window.open("2_poland.html","COUNTRY",options);
				break;
			case "8":
				COUNTRYWin = window.open("2_portugal.html","COUNTRY",options);
				break;	
			case "9":
				COUNTRYWin = window.open("2_slovenia.html","COUNTRY",options);
				break;
			case "10":
				COUNTRYWin = window.open("2_spain.html","COUNTRY",options);
				break;
			case "11":
				COUNTRYWin = window.open("2_switzerland.html","COUNTRY",options);
				break;
			}
	
}


function ecrirePiedFR(){
	document.write('<a href="../others/plan.html" class="piedPage">Site map</a> | <a href="javascript:void(0);" class="piedPage">Version fran&ccedil;aise</a> | <a href="javascript:void(0);" class="piedPage">Legal infos</a>');
}

function ecrirePiedHomeFR(){
	document.write('<a href="fr/others/plan.html" class="piedPage">Site map</a> | <a href="javascript:void(0);" class="piedPage">Version fran&ccedil;aise</a> | <a href="javascript:void(0);" class="piedPage">Legal infos</a>');
}

function ecrirePiedUK(){
	document.write('<a href="../others/plan.html" class="piedPage">Site map</a> | <a href="javascript:void(0);" class="piedPage">Version fran&ccedil;aise</a> | <a href="javascript:void(0);" class="piedPage">Legal infos</a>');
}

function ecrirePiedHomeUK(){
	document.write('<a href="uk/others/plan.html" class="piedPage">Site map</a> | <a href="javascript:void(0);" class="piedPage">Version fran&ccedil;aise</a> | <a href="javascript:void(0);" class="piedPage">Legal infos</a>');
}