// JavaScript Document
function getWindowHeight() {
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	
	return myHeight;
}


function bartab(){
	leftPosition = (screen.width) ? (screen.width-550)/2 : 0;
	topPosition = (screen.height) ? (screen.height-400)/2 : 0;
	var windowprops = 'width=550,height=400,top='+topPosition+',left='+leftPosition+',toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no';
	popup = window.open("bartab.html","mf",windowprops);
}

function interview(){
	leftPosition = (screen.width) ? (screen.width-700)/2 : 0;
	topPosition = (screen.height) ? (screen.height-300)/2 : 0;
	var windowprops = 'width=700,height=300,top='+topPosition+',left='+leftPosition+',toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no';
	popup = window.open("dani_levy_interview.html","mf",windowprops);
}

function dvd(){
	leftPosition = (screen.width) ? (screen.width-520)/2 : 0;
	topPosition = (screen.height) ? (screen.height-350)/2 : 0;
	var windowprops = 'width=520,height=350,top='+topPosition+',left='+leftPosition+',toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no';
	popup = window.open("mf_dvd.html","mf",windowprops);
}

