
function popUp(file,width,height) {

	height = parseInt(height);
	width = parseInt(width);
	popup = window.open('/popup.php?f='+file,'popup','width='+width+',height='+height);
}

function setStatus(str) {
	window.status = str;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function createOverlay(){
 if(navigator.appName == "Microsoft Internet Explorer"){
	var x = document.all.body.offsetWidth;
	var y = document.all.body.offsetHeight;
        document.getElementById('flashBox_background').style.width = x;
	document.getElementById('flashBox_background').style.height = y;
}
	document.getElementById('flashBox_background').style.visibility = 'visible';
        document.getElementById('flashHome').style.visibility = 'hidden';

}

function removeOverlay(){
/*	document.getElementById('flashBox_background').style.visibility = 'hidden';
        document.getElementById('flashHome').style.visibility = 'visible';
*/


	document.getElementById('flashHome').style.visibility = 'visible';
	var obj = document.getElementById('flashBox_background');
	//obj.style.removeAttribute("flashvars", false);
	obj.style.visibility = 'hidden';
}
