if (navigator.appName.indexOf("Microsoft")!=-1 || navigator.appName.indexOf("Opera")!=-1) {
	window.onresize = new Function ("location.reload();");
} else {
	window.onresize = RES;
}

function RES() {
	window.location = window.location;
}

function getWidth () {
  winW = document.body.offsetWidth;
  winH = document.body.offsetHeight;
	if (parseInt(navigator.appVersion)>3) {
 		if (navigator.appName=="Netscape") {
  			winW = window.innerWidth;
  			winH = window.innerHeight;
 		}
 		if (navigator.appName.indexOf("Microsoft")!=-1) {
  			winW = document.body.offsetWidth;
  			winH = document.body.offsetHeight;
 		}
	}
return winW;
}

function refreshMenu () {
	init ();
	//setTimeout ("refreshMenu ();", 5000);
}

function init()
{
	/*
	if ( ie55 == true ) {
		mHeight = 125;
	} else {
		mHeight = 113;
	}
	*/

	
	// width
	// width 127x3 = 510
	var mWidth = 12+(getWidth ()-459)/2;
	
	if ( ie55 == true ) {
		
	} else {
		mWidth = mWidth + 10;
	}
	
	if ( mWidth <= 163 ) {
			mWidth = 163;
	}	

	
	menus[0] = new menu(21, "horizontal", mWidth, mHeight, -1, -2, "#003399", "#0066CC", "Verdana", 7, "bold",
		"bold", "white", "white", 1, "white", 2, "", false, true, true, false, 0, false, 4, 4, "gray");
	menus[0].addItem("#", "", 142, "left", "&nbsp;Vehicule", 1);
	menus[0].addItem("#", "", 143, "left", "&nbsp;Servicii", 2);
	menus[0].addItem("#", "", 143, "left", "&nbsp;Neste Automotive", 3);
	//menus[0].floatMenu (1024, 768, 100, 2);
	
menus[1] = new menu(144, "vertical", 0, 0, -5, -5, "#CCCCCC", "#0066CC", "Verdana", 7, "",
		"bold", "black", "white", 1, "white", 2, 187, false, true, false, false, 0, false, 4, 4, "gray");
	menus[1].addItem("#", "", 18, "left", "", 0);
	//menus[1].addItem("index,8,62", "", 18, "left", "Descriere modele", 0);
	menus[1].addItem("index,9.html", "", 18, "left", "Autoturisme", 0);
	menus[1].addItem("index,21.html", "", 18, "left", "Autoutilitare", 0);
	//menus[1].addItem("#", "", 18, "left", "Autoturisme", 4);
	//menus[1].addItem("#", "", 18, "left", "Autoutilitare", 5);
	menus[1].addItem("autorulate.php", "", 22, "left", "Autovehicule rulate", 0);
	//menus[1].addItem("concurs.html", "", 18, "left", "Concurs", 0);
	menus[1].addItem("919c.html", "", 18, "left", "Oferte Speciale", 0);
	menus[1].addItem("index,31,549.html", "", 18, "left", "Piese si accesorii", 0);
	//menus[1].addItem("index,67", "", 18, "left", "Oferte speciale", 0);
	//menus[1].addItem("index,70", "", 18, "left", "Concurs Ford-UEFA", 0);
	menus[1].addItem("#", "", 18, "left", "Solicita o brosura", 7);
	menus[1].addItem("#", "", 18, "left", "Configurator", 6);
	menus[1].addItem("testdrive.html", "", 18, "left", "Test-Drive", 0);
	//menus[1].addItem("ford-rulate.html", "", 18, "left", "Second-Hand", 0);

	menus[2] = new menu(145, "vertical", 0, 0, -5, -5, "#CCCCCC", "#0066CC", "Verdana", 7, "",
		"bold", "black", "white", 1, "white", 2, 187, false, true, false, false, 0, false, 4, 4, "gray");
	menus[2].addItem("#", "", 18, "left", "", 0);
	/* menus[2].addItem("index,34.htm", "", 18, "left", "Garantie Ford", 0);
	menus[2].addItem("index,69,312.htm", "", 18, "left", "Ford Suport", 0);
	//menus[2].addItem("index,35.htm", "", 18, "left", "Road Assistance", 0);
	menus[2].addItem("index,36.htm", "", 18, "left", "Servicii de intretinere", 0);
	menus[2].addItem("index,33.htm", "", 18, "left", "Finantare", 0); */
	
	
	menus[2].addItem("index,34.html", "", 18, "left", "Garantie Ford", 0);
	menus[2].addItem("index,69,312.html", "", 18, "left", "Asistenta Rutiera", 0);
	menus[2].addItem("index,87,545.html", "", 18, "left", "Service", 0);
	menus[2].addItem("index,76.html", "", 18, "left", "Relatii Clienti", 0);
	//menus[2].addItem("index,13.html", "", 18, "left", "Ford Boutique", 0);
	//menus[2].addItem("index,35.htm", "", 18, "left", "Road Assistance", 0);
	//menus[2].addItem("index,36.htm", "", 18, "left", "Intretinere", 0);
	menus[2].addItem("index,33.html", "", 18, "left", "Finantare", 0);
   // menus[2].addItem("index,98.html", "", 18, "left", "Sfaturi Utile", 0);
    menus[2].addItem("index,33,f.html", "", 18, "left", "Asigurare", 0);
    menus[2].addItem("index,33,i.html", "", 18, "left", "Inmatriculare", 0);
	
	
	
	
	
	
	
	

	menus[3] = new menu(145, "vertical", 0, 0, 0, -2, "#CCCCCC", "#0066CC", "Verdana", 7, "",
		"bold", "black", "white", 1, "white", 2, "", false, true, false, false, 0, false, 4, 4, "gray");
	menus[3].addItem("#", "", 18, "left", "", 0);
	menus[3].addItem("index,7,55.html", "", 18, "left", "Reprezentanta", 0);
	menus[3].addItem("index,78,401.html", "", 18, "left", "Istorie Ford", 0);
	//menus[3].addItem("formular.html", "", 18, "left", "Revista Ford", 0);
	menus[3].addItem("news.php", "", 18, "left", "Stiri Ford", 0);
	menus[3].addItem("newsmoto.php", "", 18, "left", "Stiri MotorSport", 0);

	menus[3].addItem("index,44.html", "", 18, "left", "Contact", 0);
	menus[3].addItem("index,90,567.htm", "", 18, "left", "Cariera", 0);
	//menus[3].addItem("index,37.htm", "", 18, "left", "Premii Ford", 0);
	//menus[3].addItem("index,38.htm", "", 18, "left", "Protectia Mediului", 0);
	menus[3].addItem("index,39.html", "", 18, "left", "Link-uri utile", 0);
	//menus[3].addItem("index,40.htm", "", 18, "left", "Download", 0);
	
		menus[4] = new menu(145, "vertical", 0, 0, 0, 0, "#CCCCCC", "#0066CC", "Verdana", 7, "",
			"bold", "black", "white", 1, "white", 2, 0, false, true, false, false, 0, false, 4, 4, "gray");
	/*	menus[4].addItem("index,9.htm", "", 18, "left", "Gama de modele", 0);
		menus[4].addItem("index,10.htm", "", 18, "left", "Ka", 0);
		menus[4].addItem("index,12.htm", "", 18, "left", "Fiesta", 0);
		menus[4].addItem("index,14.htm", "", 18, "left", "Noul Fusion", 0);
		//menus[4].addItem("index,15.htm", "", 18, "left", "Focus", 0);
		menus[4].addItem("index,16.htm", "", 18, "left", "Noul Focus", 0);
		menus[4].addItem("index,17,158.htm", "", 18, "left", "C-MAX", 0);
		menus[4].addItem("index,18.htm", "", 18, "left", "Mondeo", 0);
		//menus[4].addItem("index,19.htm", "", 18, "left", "Galaxy", 0);
		menus[4].addItem("index,74.htm", "", 18, "left", "Maverick", 0);
		menus[4].addItem("index,23.htm", "", 20, "left", "Tourneo Connect", 0);
		menus[4].addItem("index,67.htm", "", 18, "left", "Promotii", 0);
		
		menus[4] = new menu(133, "vertical", 0, 0, 0, 0, "#CCCCCC", "#0066CC", "Verdana", 7, "",
			"bold", "black", "white", 1, "white", 2, 0, false, true, false, false, 0, false, 4, 4, "gray");
		menus[4].addItem("#", "", 18, "left", "", 0); */
		menus[4].addItem("index,9.html", "", 18, "left", "Gama de modele", 0);
		menus[4].addItem("index,10.html", "", 18, "left", "Ka", 0);
		menus[4].addItem("index,12.html", "", 18, "left", "Fiesta", 0);
		menus[4].addItem("index,14.html", "", 18, "left", "Fusion", 0);
		//menus[4].addItem("index,15.htm", "", 18, "left", "Focus", 0);
		menus[4].addItem("index,16.html", "", 18, "left", "Focus", 0);
		menus[4].addItem("index,17,158.html", "", 18, "left", "C-MAX", 0);
		menus[4].addItem("index,18.html", "", 18, "left", "Mondeo", 0);
		//menus[4].addItem("index,19.htm", "", 18, "left", "Galaxy", 0);
		menus[4].addItem("index,74.html", "", 18, "left", "Maverick", 0);
		menus[4].addItem("index,86.html", "", 18, "left", "S-Max", 0);
		menus[4].addItem("index,84.html", "", 18, "left", "Noul Galaxy", 0);

		//menus[4].addItem("index,23.htm", "", 18, "left", "Tourneo Connect", 0);
		//menus[4].addItem("index,67.htm", "", 18, "left", "Promotii", 0);
		//menus[4].addItem("index,31.htm", "", 18, "left", "Piese si accesorii", 0);
		//menus[4].addItem("index,49.htm", "", 18, "left", "Tehnologie TDCi", 0);
		//menus[4].addItem("configurator/index.php-op=cars.htm", "_blank", 18, "left", "Configurator", 0);
		//menus[4].addItem("testdrive", "", 18, "left", "Test-Drive", 0);

		
		
		
		
	
		menus[5] = new menu(145, "vertical", 0, 0, 0, 0, "#CCCCCC", "#0066CC", "Verdana", 7, "",
			"bold", "black", "white", 1, "white", 2, 0, false, true, false, false, 0, false, 4, 4, "gray");
	/*	menus[5].addItem("index,21.htm", "", 20, "left", "Gama de modele", 0);
		menus[5].addItem("index,22.htm", "", 20, "left", "Transit Connect", 0);
		menus[5].addItem("index,23.htm", "", 20, "left", "Tourneo Connect", 0);
		menus[5].addItem("index,20,259.htm", "", 18, "left", "Ranger", 0);
		
		menus[5].addItem("index,25.htm", "", 20, "left", "Transit Van", 0);
		menus[5].addItem("index,26.htm", "", 20, "left", "Transit Minibus", 0);
		//menus[5].addItem("index,27.htm", "", 20, "left", "Ford Tourneo", 0);
		menus[5].addItem("index,28.htm", "", 20, "left", "Autosasiuri cu cabina", 0);
		//menus[5].addItem("index,29.htm", "", 20, "left", "Fiesta Van", 0);
		//menus[5].addItem("index,30.htm", "", 20, "left", "Promotii", 0);
		
		
		menus[5] = new menu(133, "vertical", 0, 0, 0, 0, "#CCCCCC", "#0066CC", "Verdana", 7, "",
			"bold", "black", "white", 1, "white", 2, 0, false, true, false, false, 0, false, 4, 4, "gray");
		menus[5].addItem("#", "", 18, "left", "", 0); */
		menus[5].addItem("index,21.html", "", 18, "left", "Gama de modele", 0);
		menus[5].addItem("index,20,259.html", "", 18, "left", "Ranger", 0);
		menus[5].addItem("index,22.html", "", 18, "left", "Transit Connect", 0);
		menus[5].addItem("index,23.html", "", 18, "left", "Tourneo Connect", 0);
		menus[5].addItem("index,77.html", "", 18, "left", "Transit Van", 0);
		menus[5].addItem("index,82.html", "", 18, "left", "Transit Minibus", 0);
		//menus[5].addItem("index,27.htm", "", 20, "left", "Ford Tourneo", 0);
		menus[5].addItem("index,83.html", "", 18, "left", "Autosasiuri cu cabina", 0);
		//menus[5].addItem("index,49.htm", "", 18, "left", "Tehnologie TDCi", 0);
		//menus[5].addItem("index,29.htm", "", 20, "left", "Fiesta Van", 0);
		//menus[5].addItem("index,30.htm", "", 18, "left", "Promotii", 0);
		//menus[5].addItem("configurator/index.php-op=vans.htm", "_blank", 18, "left", "Configurator", 0);
		//menus[5].addItem("testdrive.htm", "", 18, "left", "Test-Drive", 0);

		
		
		
		
		
		
		menus[6] = new menu(145, "vertical", 0, 0, 0, 0, "#CCCCCC", "#0066CC", "Verdana", 7, "",
			"bold", "black", "white", 1, "white", 2, 0, false, true, false, false, 0, false, 4, 4, "gray");
		menus[6].addItem("configurator/index.php-op=cars.htm", "_blank", 20, "left", "Autoturisme", 0);
		menus[6].addItem("configurator/index.php-op=vans.htm", "_blank", 20, "left", "Autoutilitare", 0);
		
		
		
		menus[7] = new menu(145, "vertical", 0, 0, 0, 0, "#CCCCCC", "#0066CC", "Verdana", 7, "",
			"bold", "black", "white", 1, "white", 2, 0, false, true, false, false, 0, false, 4, 4, "gray");
		menus[7].addItem("index,80.html", "", 20, "left", "Autoturisme", 0);
		menus[7].addItem("index,81.html", "", 20, "left", "Autoutilitare", 0);

		
		

}
