var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function top_menu_DoFSCommand(command, args) {
	//alert(args)
	var top_menuObj = isInternetExplorer ? document.all.top_menu : document.top_menu;
	if (args == "msgWarn") {
		alert("attivare javascript")
	} else {
		eval("link"+args+"();");
	}
}

function top_title_DoFSCommand(command, args) {
	var top_titleObj = isInternetExplorer ? document.all.top_title : document.top_title;
	if (args == "msgWarn") {
		alert("attivare javascript")
	} else {
		eval(args+"();");
	} 
}
function quick_flash_DoFSCommand(command, args) {
	var quick_flashObj = isInternetExplorer ? document.all.quick_flash : document.quick_flash;
	if (args == "msgWarn") {
		alert("attivare javascript")
	} else {
		eval("link"+args+"();");
	}
}
function main_flash_DoFSCommand(command, args) {
	var main_flashObj = isInternetExplorer ? document.all.main_flash : document.main_flash;
	if (args == "msgWarn") {
		alert("attivare javascript")
	} else {
		eval("link"+args+"();");
	}
}
function footer_flash_DoFSCommand(command, args) {
	var footer_flashObj = isInternetExplorer ? document.all.footer_flash : document.footer_flash;
	
	if (command == "search") {
		// attivare javascript
		window.location.href = "../products/search.asp?keyword=" + args;
	} else {
		eval("link"+args+"();");
	} 
}
function quick_flash_DoFSCommand(command, args) {
	var quick_flashObj = isInternetExplorer ? document.all.quick_flash : document.quick_flash;
	if (args == "msgWarn") {
		alert("attivare javascript")
	} else {
		eval("link"+args+"();");
	}
}
function info_DoFSCommand(command, args) {
	var infoObj = isInternetExplorer ? document.all.info : document.info;
	if (args == "msgWarn") {
		alert("attivare javascript")
	} else {
		eval("link"+args+"();");
	}
}

// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub top_menu_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call top_menu_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('Sub top_title_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call top_title_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('Sub main_flash_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call main_flash_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('Sub footer_flash_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call footer_flash_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('Sub quick_flash_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call quick_flash_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('Sub info_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call info_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}  


//menu sub
function link_home () {
 	window.location = "/index.html";
}
function link_pdf () {
 	window.open('http://www.adobe.com/products/acrobat/readstep2.html','_blank','');
}
function link1() {
 	window.location = "/societa/index.html";
}
function link1_1 () {
 	window.location = "/societa/settori_di_attivita/index.html";
}
function link1_2 () {
 	window.location = "/societa/impianti_produttivi/index.html";
}
function link1_3 () {
 	window.location = "/societa/volume_affari/index.html";
}
function link1_4 () {
 	window.location = "/societa/ricerca_e_sviluppo/index.html";
}
function link1_5 () {
 	window.location = "/societa/posizionamento/index.html";
}
function link1_6 () {
 	window.location = "/societa/storia_carrelli_elevatori/index.html";
}
function link1_7 () {
 	window.location = "/societa/lavora_con_noi/index.html";
}
function link2() {
 	window.location = "/prodotti/index.html";
}
function link2_1 () {
 	window.location = "/prodotti/download/index.html";
}
function link2_2 () {
 	window.location = "/prodotti/carrelli_elevatori_elettrici/index.html";
}
function link2_3 () {
 	window.location = "/prodotti/settori_utilizzo/index.html";
}
function link2_4 () {
 	window.location = "/prodotti/noleggio/index.html";
}
function link2_5 () {
 	window.location = "/prodotti/carrelli_elevatori_diesel/index.html";
}
function link2_1_1 () {
 	window.location = "/prodotti/download/cataloghi_pdf/index.html";
}
function link2_1_2 () {
 	window.location = "/prodotti/download/foto_gallery/index.html";
}
function link3() {
  	window.location = "/rete_vendita/index.html";
}
function link4() {
 	window.location = "/stampa/index.html";
}
function link4_1() {
 	window.location = "/stampa/rassegna_stampa/index.html";
}
function link4_2() {
 	window.location = "/stampa/comunicati_stampa/index.html";
}
function link5() {
  	window.location = "/contatti/index.html";
}
function link5_2() {
  	window.location = "/contatti/dove_siamo/index.html";
}
function link5_1() {
  	window.location = "/contatti/contattaci/index.html";
}
function link5_3() {
  	window.location = "/contatti/links/index.html";
}
function link5_1_1() {
  	window.location = "/contatti/contattaci/vendite/index.html";
}
function link5_1_2() {
  	window.location = "/contatti/contattaci/supporto_tecnico/index.html";
}


//menu sopra


function link9_1 () {
		window.location = "/index.html";
}
function link9_2 () {
		window.location = "/accesso_riservato/index.html";
}
function link9_3 () {
	window.location = "/registrati/index.html";
}
function link9_4 () {
	window.location = "/mappa/index.html";
}
function link9_5 () {
	window.location = "/rss.xml";
}





//privarcy
function link6(){
		window.location.href="mailto:info@doosan.it"
}










