// Scroll
function init_dw_Scroll() {
    var wndo = new dw_scrollObj('wn', 'lyr1', 't1');
    wndo.setUpScrollbar("dragBar", "track", "h", 1, 1);
    wndo.setUpScrollControls('scrollbar');
}

// if code supported, link in the style sheet and call the init function onload
if ( dw_scrollObj.isSupported() ) {
    //dw_writeStyleSheet('css/scroll.css');
    dw_Event.add( window, 'load', init_dw_Scroll);
}












var a=0;

function exchangeDisplay(id){	
	
    if(  document.getElementById(id).style.display == 'none'){
         document.getElementById(id).style.display = 'block'; a=1; }
    else{document.getElementById(id).style.display = 'none';  a=0; }
	ChangeTxt(id, a);
}

function ChangeTxt(id, b) { 
  if(document.getElementById){
    var Ausgabe = "";

    if (b==0 && document.getElementById(id).style.display == 'none'){ Ausgabe = "&raquo;";}
    else     { Ausgabe = "&laquo;";}
    
	
    if (document.getElementById(id+'changevalue')){
        document.getElementById(id+'changevalue').innerHTML = Ausgabe; 
	}
  } 
  return 1;
} 


function preloadImages()
{
    document.Vorladen = new Array();

    if(document.images)
    {
        for(var i = 0; i < preloadImages.arguments.length; i++)
        {
            document.Vorladen[i] = new Image();
            document.Vorladen[i].src = preloadImages.arguments[i];
        }
    }
}

function anfahrt(x)
{
    if(x == "nothing")
    {
      document.forms[0].reset();
      document.forms[0].elements[0].blur();
      return;
    }
    else
    {
      Info=window.open(x,"NewWindow","directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,toolbar=no,width=562,height=415,left=0, top=0");
    }
}
