//browserweiche
if(navigator.appVersion.charAt(0)>=4){
	if(navigator.userAgent.indexOf("Opera")>-1){var browser="Opera";}
	else{
		if(navigator.appName.indexOf("Netscape")>-1){var browser="Netscape";}
		else{
			if(navigator.appName.indexOf("Microsoft Internet Explorer")>-1){var browser="MSIE";}
			else{var browser="UFO";}
			}
		}
}
// for browsers older than gen. 4
else{top.location.href="http://www.siemens.at/main/pages_text/index.htm";}

function rightMenu(pri,sek,tert,multipositional){
//if contentfile without navigation is loaded -> see below
if (self==top){makeFrames(document.location);}
else{
if((!multipositional)||(!parent.frames[1].location.search)){
var navStru=String(pri+"_")+String(sek+"_")+String(tert);
menu1(navStru);
switch(navStru){
// hier alle seiten angeben, bei denen links nicht die subnavi geladen werden soll
case "0_0_0":menu2("../nav/nav2home.htm");break;
//default: 2nd/3rd level navigation shall be loaded
default:menu2(navStru);break;
}}}}

// handing over parameters to 1st level navigation and reload it
function menu1(navStru1){
var navStru1B="../nav/nav1.htm?"+navStru1;
parent.frames[1].location.replace(navStru1B);
}

// handing over parameters to 2nd/3rd level navigation and reload it
function menu2(navStru2){
// case: special subnavi
if(navStru2.substring(0,7)=="../nav/"){parent.frames[2].location.replace(navStru2);}
else{//case: no special subnavi
var navStru2B="../nav/nav2.htm?"+navStru2;
parent.frames[2].name=navStru2;
parent.frames[2].location.replace(navStru2B);
}
}

//if contentfile without navigation is loaded
function makeFrames(contentfile){
contentfile = String(contentfile).replace(/\//g,"%2F");

top.location.replace("../pages/blank_all.htm?content="+contentfile);

}

function openImage(iname,sizeh,sizev){
iname = "../images/" + iname;
options = "width=" + sizeh + ",height=" + sizev + ",top=20,left=20";
sizev = window.open("displayimage.htm?"+sizev+"&"+sizeh+"&"+iname,"Img",options);
sizev.focus();
}