function createRollover()
{	var myButtons = new Array();
	for( var i = 0; i < document.images.length ; i++ )
	{	if( document.images[i].name == "dynamic" )
		{	myButtons[myButtons.length]		= new Array				;
			document.images[i].iout			= new Image()				;
			document.images[i].iout.src 		= document.images[i].src		;
			document.images[i].iover 		= new Image()				;
			document.images[i].iover.src 		= document.images[i].src.substring(0,document.images[i].src.length-4)+"_ov"+document.images[i].src.substring(document.images[i].src.length-4,document.images[i].src.length)	  	;
			document.images[i].onmouseover 		= rolloverOver				;
			document.images[i].onmouseout 		= rolloverOut				;
}	}	}

function rolloverOver()	{this.src = this.iover.src	;}
function rolloverOut()	{this.src = this.iout.src	;}
createRollover();

function windowWidth () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}

function windowHeight () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 0;
  }
}

function windowResize () {
  if (Weite != windowWidth() || Hoehe != windowHeight())
    window.history.go(0);
}

if (!window.Weite && window.innerWidth) {
  window.onresize = windowResize;
  Weite = windowWidth();
  Hoehe = windowHeight();
}

if (!window.Weite && document.body && document.body.offsetWidth) {
  window.onresize = windowResize;
  Weite = windowWidth();
  Hoehe = windowHeight();
}


