<!-- // Script ved Jesper Brunholm Scharff. Kan kopieres med angivelse af kilde

function getMouse() {
	if(document.all){
		return window.event.x;
	}else{
		return MouseEvent.screenX;	
	}
}	

function musUde() {
	document.body.style.scrollbarFaceColor = "#eec994"; 
  document.body.style.scrollbarShadowColor = "#ff9900";
  document.body.style.scrollbarTrackColor = "#ffffff";
  document.body.style.scrollbarHighlightColor = "#cc6633";
  document.body.style.scrollbarArrowColor = "#ff9900";
}

function rullepanel() {
  ctrl = 744; // det er åbenbart div'ens width som måles! Her minus scrollbar på 16
  if(getMouse()>ctrl) {  //mus over scrollbar?
    document.body.style.scrollbarFaceColor = "#ff9900"; //# dvs front-baggrundsfarve		
    document.body.style.scrollbarShadowColor = "#ffcc66"; //# bottom-right-skygge
    document.body.style.scrollbarTrackColor = "#eeddcc"; //# top-left skygge
    document.body.style.scrollbarHighlightColor = "#cc6633";	//# scroll-underlaget
    document.body.style.scrollbarArrowColor = "#eeddcc"; //#pilen 
	} else {//nej - mus ikke over scrollbar!
    musUde();
  }
} 

var frameWidth, frameHeight;
function justerDivStoerr() {
  if (self.innerWidth){
	  frameWidth = self.innerWidth;
	  frameHeight = self.innerHeight;
  }else if (document.documentElement.clientWidth){
	  frameWidth = document.documentElement.clientWidth;
	  frameHeight = document.documentElement.clientHeight;
  }else if (document.body){
	  frameWidth = document.body.clientWidth;
	  frameHeight = document.body.clientHeight;
  }
// phønix-specifikt:
	frameHeight = frameHeight-180;
// juster højden på name/id IndhDiv
  document.getElementById('IndhDiv').style.height = frameHeight + 'px';
}

// -->