<!-- Begin

function newWinAH(url) {
	Fenster = window.open(url,"PortalWinAH","width=650,height=475,resizable=yes,scrollbars=yes,toolbar=yes,status=yes,directories=no,menubar=yes,location=no");
}

function newWin(url) {
	Fenster = window.open(url,"PortalWin","width=790,height=580,resizable=yes,scrollbars=yes,toolbar=yes,status=yes,directories=no,menubar=yes,location=no");
}

function newWinHelp(url) {
	Fenster = window.open(url,"HelpWin","width=640,height=540,resizable=no,scrollbars=yes,toolbar=no,status=yes,directories=no,menubar=yes,location=no");
}

function MM_goToURL() { 
  var hostname = window.location.host;
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) {
	  if ((window.location.host == "intra-portal.daimlerchrysler.com") || (window.location.host == "intra-portal.str.daimlerchrysler.com") || (window.location.host == "s00bis43.str.daimlerchrysler.com")) {
		var prefix = "http://"+ hostname + "/portal/DCXframe.jsp?url=";
	    var url = prefix + escape(args[i+1]);
	  } else {
		var url = args[i+1];
	  }
	  if (args[i+1] != "") {
		eval(args[i]+".location='"+url+"'");
	  }
  }
}

function MM_jumpMenu(targ,selObj,restore){ 
  var hostname = window.location.host;
  if ((window.location.host == "intra-portal.daimlerchrysler.com") || (window.location.host == "intra-portal.str.daimlerchrysler.com") ||(window.location.host == "s00bis43.str.daimlerchrysler.com")) {
	var prefix = "http://"+ hostname + "/portal/DCXframe.jsp?url=";
	var url = prefix + escape(selObj.options[selObj.selectedIndex].value);
  } else {
	var url = selObj.options[selObj.selectedIndex].value;
  }
  if (selObj.options[selObj.selectedIndex].value != "") {
	  eval(targ+".location='"+url+"'");
  }
  if (restore) selObj.selectedIndex=0;
}

function MM_jumpMenu_search_ut(targ,selObj,restore){ 
  if (selObj.options[selObj.selectedIndex].value != "") {
	 this.window.history.back();
  }
  //if (restore) selObj.selectedIndex=0;
}

function showMessage_g() {
	alert("Diese Funktion steht Ihnen erst nach\nAnmeldung im Portal zur Verfügung!\nDie Anmelden-Funktion finden Sie rechts oben.");
}

function showMessage_e() {
	alert("This function is only available after you have logged in to the portal!\nYou can find the 'Log in' button at the top.");
}

// End -->

