var BrowserName = navigator.appName;            
var v = navigator.appVersion.split("MSIE")
var BrowserVersion = parseFloat(v[1])


function NewImg(obj,img)
{
	if(obj.style)
	{
		obj.style.backgroundImage="url(" + img + ")"; 
		obj.style.cursor="hand"; 
	}
}

function searching() {
	var ziel = document.searchform.suchziel.options.selectedIndex;
	var suche = escape(document.searchform.suchwort.value);
	if (ziel==1) {
	 	window.open("http://www.oldenbourg-wissenschaftsverlag.de/olb/de/1.c.325917.de?_suche%5Bmode%5D=einfach&sv%5Bolb_vt%5D="+suche+"&x=0&y=0","oldenbourg","");
	} else if (ziel==2) {
		window.open("http://www.google.de/search?q="+suche,"google","");

	} else {
		location.href = '/suche/?suche='+suche;
	}

	return false;
}

function mail_check() {
   var Meldung="Achtung! Da ist ein Fehler in der Mail-Adresse.\n";

   var snm = document.mailform.email.value; var wert = 0
   for (var i = 0; i < snm.length; i++) {var ch = snm.substring(i, i + 1);
   if (((ch < "a" || "z" < ch) && (ch < "A" || "Z" < ch)) && ch != ' ') {wert = 1}}
 	if (wert==0) {
		alert(Meldung);
		return false;
	}
	return true;
  }