<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


		
function openMedia(media_id,param,type) {
  params=param.split(',');
  media=window.open('/Media/?id='+media_id+'&type='+type,'media','width='+params[0]+',height='+params[1]+',resizable=no,scrollbars=no,menubar=no,location=no');
  media.focus();
}


function openFeature(feature) {
	switch (feature) {
		case 'metis':
			var popup=window.open('http://metis.arbeiterkammer.at/cgi-bin/metis.cgi?entry=Hallo!','METIS','width=630,height=500,status=0,menubar=0,toolbar=0,resizable=0');
			popup.focus();
		break;
		case 'aua':
			var popup=window.open('/aua/de/index.html','AUA','width=800,height=500,status=0,menubar=0,toolbar=0,resizable=0');
			popup.focus();
		break;
		case 'omv_hse_game':
			var popup=window.open('http://games.pixelwings.com/omv','OMV','width=610,height=410,status=0,menubar=0,toolbar=0,resizable=0');
			popup.focus();
		break;
		case 'xvaders':
			var popup=window.open('http://games.pixelwings.com/xvaders','XVADERS','width=430,height=490,status=0,menubar=0,toolbar=0,resizable=0');
			popup.focus();
		break;
		case 'barnie':
			var popup=window.open('http://games.pixelwings.com/barnie','BARNIE','width=400,height=550,status=0,menubar=0,toolbar=0,resizable=0');
			popup.focus();
		break;
	}
}

/*
Compatibility Functions START
*/
function openAUA(){openFeature('aua');}
/*
Compatibility Functions STOP
*/


function cc(e,c,s,t) {
	/*
	* e the document element or name of the document element or array of document element names
	* c new class name or suffix (see s) for example
	* s set s to true if c is a suffix to the existing class name.
	* t toggle previous and new class names
	*/
	var a;
	if (typeof(e)=='object') {
		for (a=0;a<e.length;a++) {
			cc(e[a],typeof(c)=='object'?c[a]:c,s,t);
		}
	}
	if (typeof(e)=='string') e=document.getElementById(e);
	if (e==undefined || (!c && e.cc_prev==undefined)) return false;
	e.className=e.className!=undefined?e.className:'';
	a=e.className;
	if (t) e.className=e.cc_prev!=undefined?e.cc_prev:c;
	else e.className=(s?e.className:'')+(c?c:e.cc_prev);
	e.cc_prev=a;
	return true;
}

//-->