//<!-- 

varLeft = 0;
varTop = 0;

function showImageBig(imageObject,img) {
	//getPosition(imageObject) ;
	var imageMouseoverObject = document.getElementById('imageMouseover');
	imageMouseoverObject.onload = function() { 	
		var imageMouseoverObject = document.getElementById('imageMouseover');
		//höhe zentrieren
		imageMouseoverObject.style.top = ( getScrollHeight() + 100 )  + 'px' ;
	};
	imageMouseoverObject.src = img ;
	imageMouseoverObject.style.display = 'block' ;
	imageMouseoverObject.style.left = varLeft - 150 + 'px' ;
}

function hideImageBig(path) {
	var imageMouseoverObject = document.getElementById('imageMouseover');
	imageMouseoverObject.src = path+'spacer.gif' ;
	imageMouseoverObject.style.display = 'none' ;
}

function getPosition(e) {   
	varTop = 0 ;
	varLeft = 0 ;
	
	if (!e) { e = window.event; }   
	
	var myTarget = e.currentTarget;   
	
	if (!myTarget) {    myTarget = e.srcElement;   }   
	else if (myTarget == "undefined") {    myTarget = e.srcElement;   } 
	
	while(myTarget!= document.body) {      
		//varTop += myTarget.offsetTop;      
		varLeft += myTarget.offsetLeft;      
		myTarget = myTarget.offsetParent;   
	}
} 

function getInnerSize() {
	var winW = 630, winH = 460;
	
	if (parseInt(navigator.appVersion)>3) {
	 if (navigator.appName=="Netscape") {
	  winW = window.innerWidth;
	  winH = window.innerHeight;
	 }
	 if (navigator.appName.indexOf("Microsoft")!=-1) {
	  winW = document.documentElement.clientWidth;
	  winH = document.documentElement.clientHeight;
	 }
	}
	return [winW, winH] ;
}

function getBodyHeight() {
  if( window.innerHeight && window.scrollMaxY ) {// Firefox  
		pageHeight = window.innerHeight + window.scrollMaxY;
	} else if( document.body.scrollHeight > document.body.offsetHeight ) { // all but Explorer Mac
		pageHeight = document.body.scrollHeight;
	}	else { // works in Explorer 6 Strict, Mozilla (not FF) and Safari
		pageHeight = document.body.offsetHeight + document.body.offsetTop; 
	}
	return pageHeight ;
}

function getBodyWidth() {
  if( window.innerWidth && window.scrollMaxX ) {// Firefox  
		pageWidth = window.innerWidth + window.scrollMaxX;
	} else if( document.body.scrollWidth > document.body.offsetWidth ) { // all but Explorer Mac
		pageWidth = document.body.scrollWidth;
	}	else { // works in Explorer 6 Strict, Mozilla (not FF) and Safari
		pageWidth = document.body.offsetWidth + document.body.offsetLeft; 
	}
	return pageWidth ;
}

function getScrollHeight() {
  var scrOfX = 0, scrOfY = 0;
  if( typeof( window.pageYOffset ) == 'number' ) {
    //Netscape compliant
    scrOfY = window.pageYOffset;
    scrOfX = window.pageXOffset;
  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
    //DOM compliant
    scrOfY = document.body.scrollTop;
    scrOfX = document.body.scrollLeft;
  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
    //IE6 standards compliant mode
    scrOfY = document.documentElement.scrollTop;
    scrOfX = document.documentElement.scrollLeft;
  }
  return scrOfY ; //[ scrOfX, scrOfY ];
}

function getScrollWidth() {
	 var scrOfX = 0, scrOfY = 0;
	  if( typeof( window.pageYOffset ) == 'number' ) {
	    //Netscape compliant
	    scrOfY = window.pageYOffset;
	    scrOfX = window.pageXOffset;
	  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
	    //DOM compliant
	    scrOfY = document.body.scrollTop;
	    scrOfX = document.body.scrollLeft;
	  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
	    //IE6 standards compliant mode
	    scrOfY = document.documentElement.scrollTop;
	    scrOfX = document.documentElement.scrollLeft;
	  }
	  return scrOfX ; //[ scrOfX, scrOfY ];
}

function doOnload() {
	doOnloadSpecial();
}

function doOnloadSpecial() {
	//dummy: do nothing... will be overwritten in page
}

