// JavaScript Document
				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 = "month/day/year";
					
					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 openWebassistant(q){
					var path="../../../../content/service/wa/index.asp";
					if (typeof(q) != "string") q = "";
					if(path.indexOf("?") < 0){
						path+="index.htm@lang=en";
						
					}else{
						if(path.indexOf("lang=") < 0){
							path+="&lang=en";
						}
					}
					path+="&query="+q;
					
					
					window.open(path,"wa","width=564,height=508,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizable=no");
				}
				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 = "../../../../../servicefunctions.bosch.com/user/contactdealer/index.asp@country=de&app=contact";
					if ((typeof(myurl) != "undefined") && (myurl != "")) {
						if(myurl.indexOf("?")>0){
							if(myurl.indexOf("lang=") < 0){
								myurl = myurl+"&lang=en"
							}
							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) + escape("###") + escape(document.referrer); 
						}else{
							
								
							myurl = myurl+"@lang=en&gb=" + escape(igb.toUpperCase()) + "&option1=" + escape(ioption1.toUpperCase()) + "&option2=" + escape(ioption2.toUpperCase()) + "&option3=" + escape(ioption3.toUpperCase()) + "&email=" + escape(iemail)+"&opener=" + escape(self.location.href) + escape("###") + escape(document.referrer); 
    						}
		    			window.open(myurl, "contact", "width=564,height=528,toolbar=no,location=no,directories=no,scrollbars=yes,status=no,menubar=no,resizable=yes");
					}
				}

			
				
				function openSource(igb){
					var path="../../../../../servicefunctions.bosch.com/user/contactdealer/index.asp@country=de&app=dealer";
					igb=((typeof(igb)== "undefined") || (igb == ""))?(typeof(gb)=="undefined")?(typeof(business_division)=="undefined")?"":business_division:gb:igb;
					if(path.indexOf("?") < 0){
						path+="index.htm@lang=en";
					}else{
						if(path.indexOf("lang=") < 0){
							path+="&lang=en";
						}
					}
					window.open(path+"&gb="+igb+"&opener=" + escape(self.location.href) + escape("###") + escape(document.referrer),"dealer","width=564,height=528,toolbar=no,location=no,directories=no,scrollbars=yes,status=no,menubar=no,resizable=yes");
				}
				function openCountryLocator(){
					var path="";
					if(path.indexOf("?") < 0){
						path+="index.htm@lang=en";
					}else{
						if(path.indexOf("lang=") < 0){
							path+="&lang=en";
						}
					}
					window.open(path,"cl","");
				}
				function openMyBosch(){
					var path="../../../en/scripts/windows/mybosch/loadmb2.htm";
					if(path.indexOf("?") < 0){
						path+="index.htm@lang=en";
					}else{
						if(path.indexOf("lang=") < 0){
							path+="&lang=en";
						}
					}
					window.open(path,"mybosch","width=564,height=508,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizable=no");
				}
				function openImpressum(){
					var path="1062.htm";
					if(path.indexOf("?") < 0){
						
							path+="index.htm@lang=en";
						
					}else{
						if(path.indexOf("lang=") < 0){
							path+="&lang=en";
						}
					}
					window.open(path,"imprint","width=440,height=418,toolbar=no,location=no,directories=no,scrollbars=yes,status=no,menubar=no,resizable=no");
				}
			
function setDefaultButton(e, buttonID){ 
      var button = document.getElementById(buttonID); 
      if (typeof button == 'object'){ 
            if(navigator.appName.indexOf("Netscape")>(-1)){ 
                  if (e.keyCode == 13){ 
                        button.click(); 
                        return false; 
                  } 
            } 
            if (navigator.appName.indexOf("Microsoft Internet Explorer")>(-1)){ 
                  if (event.keyCode == 13){ 
                        button.click(); 
                        return false; 
                  } 
            } 
      }
}
function openPopup(url,width,height)
{
	window.open (url, "YasalBilgi", 'width='+ width +', height='+ height +', menubar=no, statusbar=no, scroollbars=no, location=no');
}
function showElement (inElName)
{
	var inEl = document.getElementById (inElName);
	if (!inEl)
		return false;
	inEl.attributes['class'].value = 'Visible';
	return false;
}