<!--
var header_actions = new Array();
header_actions['logo'] 	 = "header_logo.gif";
header_actions['source'] = "";
header_actions['lang'] 	 = "de";

header_actions[0] = new Object();
header_actions[0].text 	= ""; //standard-entry. do not change.
header_actions[0].url 	= ""; //standard-entry. do not change.

function openversenden(){
	myurl = param_header_root + param_currentLanguageID + "/application/loesung/empfehlen/empfehlen.cfm?id=68";
	printing = window.open(myurl, "Printi", windowprops);
	window.printing.focus();
}
function openprint(){
	myurl = param_header_root + param_currentLanguageID + "/application/loesung/print/print.cfm?id=68";
	printing = window.open(myurl, "Printi", "width=646,height=550,toolbar=no,location=no,directories=no,scrollbars=yes,status=no,menubar=no,resizable=no");
	window.printing.focus();
}

function verifica(){
var campo = document.forms.form1;
	if (campo.chave.value == ""){
		alert("Por favor, digite uma palavra.");
		campo.chave.focus();
    	return false;
	}
}
//-->

<!-- HEADER STANDARD TEMPLATE CODE -->

<!--		
function displayDate() {
    
	theDate = new Date();
 	var year = theDate.getYear();
 	var month = (theDate.getMonth())+1;
 	var day = theDate.getDate();
 	if (year < 1000) year+=1900;  
 	if (day  < 10) day="0"+day;
 	if (month < 10) month="0"+month;
	
	var myDate = "day.month.year";
	//alert(myDate)
	
	myDate = myDate.replace(/day/,day);
	myDate = myDate.replace(/month/,month);
	myDate = myDate.replace(/year/,year);
	if(document.getElementById){
		if(document.getElementById("hsDate")){
 			document.getElementById("hsDate").innerHTML=myDate;
 		}
 	}
}

function openWebassistant2(q){
	var path="http://servicefunctions.bosch.com/user/webassistant/search.asp?country=br&lang=pt";
	if (typeof(q) != "string") q = "";
	if(path.indexOf("?") < 0){
		path+="?lang=pt";
		
	}
	path+="&query="+q;
	
	
	window.open(path,"wa","width=454,height=410");
}
function openContactEmail(e){
	openContact("","","","",e);
}				

function openContact(igb,ioption1,ioption2,ioption3,iemail){
		if (((typeof(iemail)== "undefined")||iemail=="")&&((typeof(email)== "undefined")||email=="")){
			iemail="";
			igb=((typeof(igb)== "undefined") || (igb == ""))?(typeof(gb)=="undefined")?(typeof(business_division)=="undefined")?"":business_division:gb:igb;
			ioption1=((typeof(ioption1)== "undefined") || (ioption1 == ""))?(typeof(option1)=="undefined")?(typeof(sub_division1)=="undefined")?"":sub_division1:option1:ioption1;
			ioption2=((typeof(ioption1)== "undefined") || (ioption2 == ""))?(typeof(option2)=="undefined")?(typeof(sub_division2)=="undefined")?"":sub_division2:option1:ioption1;
			ioption3=((typeof(ioption1)== "undefined") || (ioption3 == ""))?(typeof(option3)=="undefined")?(typeof(sub_division3)=="undefined")?"":sub_division3:option1:ioption1;
		
		}else{
			igb="";ioption1="";ioption2="";ioption3="";
			if((typeof(iemail)== "undefined")||iemail==""){iemail=email;email="";}
		}					
		
		myurl = "http://www.bosch.com.br/br/contato/index.html?lang=pt";
		if ((typeof(myurl) != "undefined") && (myurl != "")) {
			if(myurl.indexOf("?")>0){
				myurl = myurl+"&gb=" + escape(igb.toUpperCase()) + "&option1=" + escape(ioption1.toUpperCase()) + "&option2=" + escape(ioption2.toUpperCase()) + "&option3=" + escape(ioption3.toUpperCase()) + "&email=" + escape(iemail)+"&opener=" + escape(self.location.href); 
			}else{
				myurl = myurl+"?gb=" + escape(igb.toUpperCase()) + "&lang=pt&option1=" + escape(ioption1.toUpperCase()) + "&option2=" + escape(ioption2.toUpperCase()) + "&option3=" + escape(ioption3.toUpperCase()) + "&email=" + escape(iemail)+"&opener=" + escape(self.location.href); 
							}
	  			window.open(myurl, "contact", "scrollbars=yes,width=454,height=410");
		}
	}		
	
	function openSource(igb){
		var path="http://www.bosch.com.br/br/ondeencontrar/index.html?lang=pt";
		igb=((typeof(igb)== "undefined") || (igb == ""))?(typeof(gb)=="undefined")?(typeof(business_division)=="undefined")?"":business_division:gb:igb;
		if(path.indexOf("?") < 0){
			path+="?lang=pt";
		}
		window.open(path+"&gb="+igb,"dealer","scrollbars=yes,width=454,height=410");
	}
	function openCountryLocator(){
		var path="";
		if(path.indexOf("?") < 0){
			path+="?lang=pt";
		}
		window.open(path,"cl","");
	}
	function openMyBosch(){
		var path="http://www.newsletter-bosch.com/index.cfm?l=98&cl=pt-BR";
		if(path.indexOf("?") < 0){
			path+="?lang=pt";
		}
		window.open(path,"mybosch","");
	}
	function openImpressum(){
		var path="http://www.bosch.com.br/br/sobre_este_site/index.html";
		if(path.indexOf("?") < 0){
			path+="?lang=pt";
		}
		window.open(path,"imprint","scrollbars=yes,width=564,height=410");
	}
	function openNewsletter(){
		var path="http://www.newsletter-bosch.com/index.cfm?l=98&cl=pt-BR";
		if(path.indexOf("?") < 0){
			path+="?lang=pt";
		}
		window.open(path,"newletter","scrollbars=yes,width=564,height=410");
	}
//-->