isIe5Mac=(navigator.appVersion.indexOf("MSIE 5")>-1 && document.getElementById && navigator.userAgent.indexOf("Mac") != -1);function getPlainText(newtext) {		while(newtext.search("<") != -1)		{				x=newtext.indexOf("<");				y=newtext.indexOf(">");				if(y==-1) 			html=newtext.substring(x,newtext.length);			else				html=newtext.substring(x,y+1);								newtext=newtext.replace(html," ");				//alert(newtext);		}				return newtext;}/* Modified to support Opera */function lesezeichen(url,title){if (window.sidebar) // firefox	window.sidebar.addPanel(title, url, "");else if(window.opera && window.print){ // opera	var elem = document.createElement('a');	elem.setAttribute('href',url);	elem.setAttribute('title',title);	elem.setAttribute('rel','sidebar');	elem.click();} else if(document.all)// ie	window.external.AddFavorite(url, title);}function $(elmid) {	return document.getElementById(elmid);}var imgOpenMenu='<img src="/' + DBName + '/images/p_arrow_openmenu.gif">';var imgClosedMenu='<img src="/'  + DBName + '/images/p_arrow_closedmenu.gif">';var imgSpacer="/"  + DBName + "/images/spacer.gif";var menucount=0;var menucount2=0;var objContainer=new Array();var memoryStick=new Array();//*******************************//Ebene1//*******************************function SGMenu(_text,_url,_name) {	menucount++;	this.text=_text;	this.url=_url;	this.name=_name;	this.childs=new Array();	this.selected=false;		this.hasChilds=SGMenuHasChilds;	this.addChild=SGMenuAddChild;	this.getHTML=SGMenuWrite;	this.setSelected=SGMenuSetSelected;	memoryStick[memoryStick.length]=this;}function SGMenuHasChilds() {	return (this.childs.length>0)?true:false;}function SGMenuAddChild(obj) {	var index=this.childs.length;	obj.parent=this;	this.childs[index]=obj;}function SGMenuSetSelected() {this.selected=true;}function SGEBSetSelected() {this.selected=true; this.parent.selected=true;}//*******************************//Ebene2//*******************************function SGEB2(_text,_url,_name,_target) {	this.text=_text;	this.url=_url;	this.name=_name;	this.childs=new Array();	this.selected=false;	this.parent=null;		if(_target!=undefined)      this.target=_target; 	else			this.target="_self";	this.hasChilds=SGMenuHasChilds;	this.addChild=SGEB2AddChild;	this.getHTML=SGEB2Write;	this.setSelected=SGEBSetSelected;}function SGEB2AddChild(obj) {	var index=this.childs.length;	obj.name="m"+menucount2+"_rub"+index;	obj.parent=this;	this.childs[index]=obj;	if(obj.selected){		this.selected=true;		previousMenuOn=eval('document.getElementById("'+this.name+'")');	}}//*******************************//Ebene3//*******************************function SGEB3(_text,_url,_name) {	this.text=_text;	this.url=_url;	this.name=_name;	this.selected=false;	this.parent=null;			this.getHTML=SGEB3Write;	this.setSelected=SGEBSetSelected;}//HTMLfunction SGEB3Write(){	var cellClass=(this.selected)?"subMenuItemOn":"subMenuItem";		html = '<tr>'+"\n"+ '<td class="itemCell" height="15"><a href="'+this.url+'" class="'+cellClass+'">'+this.text+'</a></td>'+"\n"+ '</tr>'+"\n";	return html;}//HTMLfunction SGEB2Write(){	var cellClass=(this.selected)?"submenuOnCell":"submenuOffCell";	var linkClass=(this.selected)?"subMenuOn":"subMenuOff";		startId="defaultCellOn";	html= '<div class="menu2" >'+"\n"+'<table width="130" height="14" cellspacing="0" cellpadding="0" border="0">'+"\n";	if(isIe5Mac){		html += '<tr>'+"\n"+	'<td colspan="2"><img src="/' + DBName + '/images/spacer.gif" width="1" height="1" alt="" border="0"></td>'+"\n"+'</tr>'+"\n";	}	html += '<tr class="'+cellClass +'">'+"\n"+		    '<td width="20" height="14" align="center"><img src="'+imgSpacer+'" width="7" height="7" alt="" border="0"></td>'+"\n"+		    '<td width="110">';	html += '<a href="'+this.url+'" class="'+linkClass+'"  target="' + this.target +'">'+this.text+'</a></td>'+"\n"+'</tr>'+"\n";			if(this.selected & this.hasChilds()) {		html+="<tr><td colspan='2'>";		html+='<div id="menu3">'+"\n"+	'<table width="130" cellspacing="0" cellpadding="0" border="0" height="15">'+"\n";		for(var i=0;i<this.childs.length;i++) {				html +=this.childs[i].getHTML();		}	html+="</table></div></td></tr>";	}		html+='</table></div>'+"\n";			return html;}//HTMLfunction SGMenuWrite(){	var cellClass=(this.selected)?"menuOn":"menuOff";	var arrow=(this.selected)?imgOpenMenu:imgClosedMenu;	var html='<div class="menu1">'+"\n";	html += '<table width="130" height="20" cellspacing="0" cellpadding="0" border="0">'+"\n";	if(isIe5Mac){		html += '<tr>'+"\n"+			'<td colspan="2" class="menu"><img src="/' + DBName + '/images/spacer.gif" width="1" height="1" alt="" border="0"></td>'+"\n"+		'</tr>'+"\n";	}		html += '<tr class="'+cellClass+'">'+"\n"+   "\t"+'<td width="20" align="center" class="menu">' + arrow+ '</td>'+"\n";	html += "\t"+'<td width="110" class="menu"><a href="' + this.url + '"  class="menuText">'+ this.text +'</a></td>'+"\n"+ '</tr>'+"\n";		if(this.selected & this.hasChilds()) {		html+="<tr><td colspan='2'>";		for(var i=0;i<this.childs.length;i++) {				html +=this.childs[i].getHTML();		}		html+="</td></tr>";	}		html +='</table></div>'+"\n";		return html;}