<!-- Rollover Image Script - Place within <head> tag -->
<!-- Hide from older 
/*
	dynamical switch of an image
	@see RestoreImg
	
	param0: name of image, Netscape Convention (document.XXX)
	param1: name of image, IE Convention (XXX or document.XXX)
	param2: image to switch
*/


function SwitchImg()
{ //start
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (SwitchImg.arguments.length-2); rem+=3) 
		{
    	store = SwitchImg.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
     		//window.alert( "store= " + store);
    if (obj != null) {
   	   switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = SwitchImg.arguments[rem+2];
  		//window.alert( "obj.src= " + obj.src);
  }
	  //window.alert( "obj= " + obj);
	}
  document.Data = switcher;
} // end

/* 
	Restores the images of the previous SwitchImg().
	@see SwitchImg
*/
function RestoreImg()
{ //start
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
} //end

/*
	Opens the popup window referenced
	by linkURL.
*/
function OpenPopupWindow(linkURL)
{
    popup = open(linkURL,"PopupWindow","width=488,height=400,screenX=0,screenY=0");
	popup.focus();
}

/*
	sets DOM-Attribut "action" of a form
*/
function setAction(formelement)
{
	var i;

	for(i=0;i<document.locationjump.jumper.length;++i)
	{
  		if(formelement.options[i].selected == true)
		{
			document.location.href = formelement.options[i].value;
		}
	}
}

// end hiding contents -->



