function OpenWindow(theURL,winName,winCenter,x,y,features) {
  var param = "width=" + x + ",height=" + y + ( features=="" ? "" : "," + features );
  var win = window.open(theURL,winName,param);
  if (theURL.indexOf('http:// ') == -1) {
    if (winCenter==1) {win.moveTo((screen.width-x)/2,(screen.height-y)/2);}
    if (winCenter==3) {win.moveTo(0,0);}
    win.focus();
  }
}

function pov(el) 	{el.className=el.className.replace('off','on' );}
function pout(el) 	{el.className=el.className.replace('on' ,'off');}
function linkOv(el) 	{el.className=el.className.replace('Off','On' );}
function linkout(el) 	{el.className=el.className.replace('On' ,'Off');}
function iov(el) 	{el.src=el.src.replace('.lo.','.hi.');}
function iout(el) 	{el.src=el.src.replace('.hi.','.lo.');}



	browserName = navigator.appName;
	browserVer = parseInt(navigator.appVersion);
	var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
	if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
	function blurLink(el)	{}
	

// glossar

function glossar(anker)
	{
	 document.location.href="/149.html#"+anker;
	}

// ************ ah-spezifisch
function openDisclaimer(discname){
window.open("http://www.animalhealth.bayerhealthcare.com/ah/portal/cnavi_prtl.nsf/disclaimer/"+discname+"?OpenDocument","_blank","directories=no,height=400,width=600,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no");
}


function Popup(id,width,height) {
  fenster = window.open('/index.php?id='+id,"Popup","width="+width+",height="+height+",scrollbars=yes");
}

function GoToTrademark (){
	var idx = document.forms.Trademark.tm.selectedIndex;
	var url = document.forms.Trademark.tm.options[idx].text;
	document.forms.Trademark.tm.options[0].selected=true;
	var newstr='';
	array = url.split(' ');
	for (var i =0; i<array.length; i++){
		newstr = newstr + array[i];
	}
	if (url == 'All'){
		window.location.href = 'http://www.animalhealth.bayerhealthcare.com/ah/portal/ahproduciternet.nsf/TradeMarksTrMarks?OpenView';
	}
	else {
		window.location.href = 'http://www.animalhealth.bayerhealthcare.com/ah/portal/ahproduciternet.nsf/TradeMarksTrMarks/' + newstr+ '?OpenDocument';
	}		
}