<!--
if(navigator.appName=="Netscape" && document.getElementById)browser="Ns6"; 

function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}

newWindow=null;

function openWin(sourceFile,name,winWidth,winHeight,winScroll){
//if(newWindow!=null&&!newWindow.closed&&window.focus)newWindow.close();
	w=0;
	h=0;
	if((document.all||document.layers||document.getElementById)&&screen){
		w=(screen.width-winWidth)/2
		h=(screen.height-winHeight)/2
	}
	newWindow=window.open(sourceFile,name,"width="+winWidth+",height="+winHeight+",toolbar=no,location=no,status=no,menubar=no,scrollbars="+winScroll+",resizable=yes,sreenX="+w+",screenY="+h);
	if(w>0&&h>0&&window.moveTo){
		newWindow.moveTo(w,h)
	}
}

function openWinRed(sourceFile,name,winWidth,winHeight,winScroll){
//if(newWindow!=null&&!newWindow.closed&&window.focus)newWindow.close();
	w=0;
	h=0;
	if((document.all||document.layers||document.getElementById)&&screen){
		w=(screen.width-winWidth)/2
		h=(screen.height-winHeight)/2
	}
	newWindow=window.open(sourceFile,name,"width="+winWidth+",height="+winHeight+",toolbar=no,location=no,status=no,menubar=no,scrollbars="+winScroll+",resizable=yes,sreenX="+w+",screenY="+h);
	if(w>0&&h>0&&window.moveTo){
		newWindow.moveTo(w,h)
	}
}

function showHide(_id,_what){
	//#alert("wir kommen"+_id+"#"+_what);
    if (document.getElementById) { // DOM3 = IE5, NS6
        document.getElementById(_id).style.display = _what;
    }
    else {
        if (document.layers) { // Netscape 4
            document._id.display = _what;
        }
        else { // IE 4
            document.all._id.style.display = _what;
        }
    }
}
function hidediv(_id) {
    //showHide(_id,'hidden');
    showHide(_id,'none');
}

function showdiv(_id) {
    showHide(_id,'block');
}

function showHideVis(_id,_what){
    if (document.getElementById) { // DOM3 = IE5, NS6
        document.getElementById(_id).style.visibility = _what;
    }
    else {
        if (document.layers) { // Netscape 4
            document._id.visibility = _what;
        }
        else { // IE 4
            document.all._id.style.visibility = _what;
        }
    }
}
function hidedivVis(_id) {
    showHide(_id,'hidden');
}

function showdivVis(_id) {
    showHide(_id,'visible');
}
      


//-->
