
function openPop(destination,winname,scroll,winwidth,winheight) {
 
 satellite =  window.open(destination,winname,"locationbar=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars="+scroll+",copyhistory=no,width="+winwidth+",height="+winheight+"");
 satellite.moveTo(((screen.width/2)-(winwidth/2)),((screen.height/2)-(winheight/2))); 
  
  satellite.focus();
}


function change(name,quelle){

  window.status = "";
  document.images[name].src = quelle;
}


function setBookmark(pageURL, pageTitle){

  if (window.sidebar)
    {
    // firefox
    window.sidebar.addPanel(pageTitle,pageURL,"");
    }
  else if(window.opera && window.print)
    {
    // opera
    var elem = document.createElement('a');
    elem.setAttribute('href',pageURL);
    elem.setAttribute('title',pageTitle);
    elem.setAttribute('rel','sidebar');
    elem.click();
    }
  else if(document.all)
    {
    // ie
    window.external.AddFavorite(pageURL,pageTitle);
    }
}


function getWinHeight() {

	if (self.innerHeight) // all except Explorer
	{
		this.winheight = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
			// Explorer 6 Strict Mode
	{
		this.winheight = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		this.winheight = document.body.clientHeight;
	}

	return this.winheight;
}

//Abzug top-Position Scroll Div
var divpos	= 180;
//Abzug top-Position Funktionsmenü-Spacer
var funcmenupos	= 169;



		
		









		
		