var aktiv = ""

function show(object,e) {
	if (aktiv!=""){
		hide(aktiv)
	}

	if (!e) e = window.event;

    document.getElementById(object).style.visibility = 'visible';

    aktiv=object

}

function hide(object) {
			document.getElementById(object).style.visibility = 'hidden';
}

function nix()
{}


function scrollTop()
{

var y;
if (self.pageYOffset) // all except Explorer
{
	y = self.pageYOffset;
}
else if (document.documentElement && document.documentElement.scrollTop)
	// Explorer 6 Strict
{

	y = document.documentElement.scrollTop;
}
else if (document.body) // all other Explorers
{
	y = document.body.scrollTop;
}

return y
}


function scrollLeft()
{

var x,y;
if (self.pageYOffset) // all except Explorer
{
	x = self.pageXOffset;

}
else if (document.documentElement && document.documentElement.scrollTop)
	// Explorer 6 Strict
{
	x = document.documentElement.scrollLeft;

}
else if (document.body) // all other Explorers
{
	x = document.body.scrollLeft;

}
return x
}


function innerWidth()
{
	 var width = 0;
	  if( typeof( window.innerWidth ) == 'number' )
	  {
	    //Non-IE
	    width = window.innerWidth;
	  }
	  else if( document.documentElement && document.documentElement.clientWidth  )
	  {
	     //IE 6+ in 'standards compliant mode'
	    width = document.documentElement.clientWidth;
	  }
	  else if( document.body && document.body.clientWidth )
	  {
	    //IE 4 compatible
	    width = document.body.clientWidth;
	  }
	return width;
}

