//------------------------------
// rollOver MenuFunction
//------------------------------
function rollOver(element, toDo) {
	var imgPath = "img";
	eval('document.' + element + '.src = "' + imgPath + '/' + element + '_' + toDo + 'Button.jpg"');
}

//------------------------------
// play Sound Files
//------------------------------
function playFile(soundFile) {
	if(navigator.appName.indexOf("Microsoft Internet")==0) {
		parent.mplayer.sound.SetVariable("soundFile_toLoad", soundFile);
		parent.mplayer.sound.TGotoLabel("_flash0", "loadSoundObjekt");
	} else {
		parent.mplayer.document.embeds[0].SetVariable("soundFile_toLoad", soundFile);
		parent.mplayer.document.embeds[0].TGotoLabel("_flash0", "loadSoundObjekt");
	}
}

//------------------------------
// get window Width and Height
//------------------------------
function getWindowSizes() {

	if( typeof( window.innerHeight ) == 'number' ) {
	
		//Non-IE
		windowWidth = window.innerWidth;
		windowHeight = window.innerHeight;
		
	} else if( document.documentElement && document.documentElement.clientHeight ) {
	
		//IE 6+ in 'standards compliant mode'
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
	
	} else if( document.body && document.body.clientHeight ) {
	
		//IE 4 compatible
		windowWidth = document.body.clientWidth;
		windowHeight = document.body.clientHeight;
		
	}

}