// JavaScript Document
var constProgId = "progid:DXImageTransform.Microsoft.AlphaImageLoader";
var vers = parseFloat( navigator.appVersion.split( "MSIE" )[ 1 ] ); 
var IE = ( vers >= 5.5 &&  vers < 7 ) ? true : false;
function getBaseHref() {
	aBaseTags = document.getElementsByTagName('base');
	for( i = 0; i < aBaseTags.length; i++ ) {
		if ( aBaseTags[i].href ) return aBaseTags[i].href;
	}
	return "";
}
function email(username, domain, subject, body) {
	var params = new Array();
	subject = ( subject == null || subject == "" ? "" : params.push("subject=" + escape(subject)));
	body = ( body == null || body == "" ? "" : params.push("body=" + escape(body)));
	window.location.href='mailto:' + username + "@" + domain + (params.length > 0 ? "?" + params.join("&") : "");
}
function mailto(username, domain, subject, body) {
	var params = new Array();
	subject = ( subject == null || subject == "" ? "" : params.push("subject=" + escape(subject)));
	body = ( body == null || body == "" ? "" : params.push("body=" + escape(body)));
	window.location.href='mailto:' + username + "@" + domain + (params.length > 0 ? "?" + params.join("&") : "");
}
// Anzeige Firmeninterne Beispiel Seminare
     function anzeigen()
       {
       if (document.auswahl.links.selectedIndex=="0")
         {
			 document.getElementById('bsp1').style.display = 'block';
		 	 document.getElementById('bsp2').style.display = 'none';
			 document.getElementById('bsp3').style.display = 'none';
		 }
       if (document.auswahl.links.selectedIndex=="1")
         {		
		     document.getElementById('bsp1').style.display = 'none';
		 	 document.getElementById('bsp2').style.display = 'block';
			 document.getElementById('bsp3').style.display = 'none'; 
		 }
       if (document.auswahl.links.selectedIndex=="2")
         {
			 document.getElementById('bsp1').style.display = 'none';
		 	 document.getElementById('bsp2').style.display = 'none';
			 document.getElementById('bsp3').style.display = 'block';
		 }
       }
	   
	   
// Anzeige Aktuelle Meldungen
var angezeigt = false;
function versteckt() 
{ 
        if (angezeigt)
        {
                document.getElementById('news_1').style.display = 'none';
				document.getElementById('plus').src = 'images/aktuelles_plus.gif';
                angezeigt = false;
        }
        else
        {
                document.getElementById('news_1').style.display = 'block';
				document.getElementById('plus').src = 'images/aktuelles_minus.gif';
                angezeigt = true;
        }
} 
function oeffnefenster (url) {
 fenster=window.open(url, "_blank", "width=535,height=625,dependent=yes,status=yes,copyhistory=no,scrollbars=yes,toolbar=no,location=no");
 fenster.focus();
 return false;
}
function changePlusMinusIcon( objID ){
try{
		 if ( $( objID ).src.indexOf("plus") > 0 ) {
		 		 $( objID ).src = $( objID ).src.replace(/plus/, "minus" )
		 }
		 else {
		 		 $( objID ).src = $( objID ).src.replace(/minus/, "plus" )
		 }
}//try
catch(e){}
}
var winPopup = null;
function doGlobalOpen(_strurl, _strname, _width, _height, _typ, _bscroll){
	_bscroll = (_bscroll ? _bscroll : "yes");
	_width = (_width ? _width : 535);
	_height = (_height ? _height : (screen.height < 700 ? 540 : 620 ));
	if ( _strurl.toString().indexOf("http://") == 0 || _strurl.toString().indexOf("https://") == 0 ) _strurl = _strurl;
	else if ( _strurl.toString().toLowerCase().indexOf("readform") > -1 || _strurl.toString().toLowerCase().indexOf("openform") > -1 || _strurl.toString().toLowerCase().indexOf("openview")  > -1) _strurl = getBaseHref() + _strurl.toString();
	winPopup = window.open(_strurl,_strname,"width=" + _width + ",height=" + _height + ",dependent=yes,status=no,copyhistory=no,scrollbars="+ _bscroll +",toolbar=no,location=no");
	winPopup.focus();
	return false;
}
function f(){var k=screen,m=window,g=document,j=navigator,w="",i=new Image();w+=d();var o=c();if(o)w+=("&flash="+o);try{var r=new ActiveXObject("Shell.UIHelper");w+="&activex";}catch(e){}w+=(j.javaEnabled()?"&java":"");w+=(j.cookieEnabled?"&cookie":"");return w;};function c(){var o="",j=navigator,m=window;var n=j.plugins["Shockwave Flash"];if(n&&n.description){o=n.description.split(" ")[2];}else if(m.ActiveXObject){for(var i=25;i>1&& !n;i--){try{n=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);o=i+".0"}catch(e){};}}return o;};function d(){var k=screen,m=window,l=top,t="";t+="&resolution="+k.width+"x"+k.height;t+="&resavail="+k.availWidth+"x"+k.availHeight;if(l.frames.length&&l.innerWidth&&l.innerHeight){t+="&innersize="+l.innerWidth+"x"+l.innerHeight;}else if(m.innerWidth&&m.innerHeight){t+="&innersize="+m.innerWidth+"x"+m.innerHeight;}else if(l.frames.length&&l.document.documentElement){t+="&innersize="+l.document.documentElement.offsetWidth+"x"+l.document.documentElement.offsetHeight;}else if(document.documentElement){t+="&innersize="+document.documentElement.offsetWidth+"x"+document.documentElement.offsetHeight;}t+="&colors="+screen.colorDepth;return t;};var v=f();if(v){var img=new Image();img.src="sysinfo.txt?Open"+v;} 

