var defaultWidth;
var defaultHeight;
var overWidth;
var overHeight;
var flashelmt;
function init_flashnav(menuID, defW, defH, overW, overH){
	var elmt = document.getElementById(menuID);
	flashelmt = elmt;
	defaultWidth = defW;
	defaultHeight = defH;
	overWidth = overW;
	overHeight = overH;
	elmt.style.position = "absolute";
	elmt.style.overflow = "hidden";
	elmt.style.zIndex = "1000";
	elmt.onmouseover = function(){
		show_flashnav(this);
	};
	elmt.onmouseout = function(){
		hide_flashnav(this);
	};
	/*elmt.onload = function(){
		hide_flashnav(this);
	};*/
}
function show_flashnav(elmt){
	elmt.style.width = overWidth+"px";
	elmt.style.height = overHeight+"px";
	//alert(elmt.style.height);
}
function hide_flashnav(elmt){
	elmt.style.width = defaultWidth+"px";
	elmt.style.height = defaultHeight+"px";
	elmt.asKillMenu();
}
function openFlash(){
	flashelmt.style.width = overWidth+"px";
	flashelmt.style.height = overHeight+"px";
}
function killFlash(){
	flashelmt.style.width = defaultWidth+"px";
	flashelmt.style.height = defaultHeight+"px";
}