	ie	= (document.all && !window.opera);

	dom 	= (document.getElementById && !window.opera);

	opera 	= (window.opera);



function activecontentHider(id) {

	if (ie) {

		el = document.getElementById(id);

		ifrm = document.createElement("IFRAME");

		ifrm.setAttribute("id", "dummyFRM");

		ifrm.setAttribute("src", "#");

		ifrm.setAttribute("scroll", "no");

		ifrm.setAttribute("frameborder", "0");

		ifrm.style.setAttribute("position", "absolute");

		ifrm.style.setAttribute("visibility", "hidden");

		ifrm.style.filter='Alpha(opacity=0)';

		ifrm.style.width = el.offsetWidth + "px";

		ifrm.style.height = el.offsetHeight + "px";

		ifrm.style.left = el.offsetLeft + "px";

		ifrm.style.top = el.offsetTop + "px";

		ifrm.style.zIndex = el.style.zIndex-1;

		document.body.appendChild(ifrm);

 }

}



function hideDiv(id){

if (ie) {

	document.getElementById(id).style.visibility = "hidden";

	ifrm.style.visibility = "hidden";

 }

else if (dom) {

	document.getElementById(id).style.visibility="hidden";

 }

 else if (opera) {

	document.getElementById(id).style.visibility="hidden";

	loadFlash('flashLYR','images/dining.swf',840,570);

 }

}



function showDiv(id){

if (ie) {

	document.getElementById(id).style.visibility="visible";

	ifrm.style.visibility = "visible";

}

else if (dom) {

	document.getElementById(id).style.visibility="visible";

}

else if (opera) {

	document.getElementById(id).style.visibility="visible";

	loadFlash('flashLYR','images/dining.swf',840,570);

 }

}



function loadFlash(id,theurl,width,height) {

	document.getElementById(id).innerHTML ='<embed src="'+ theurl + '" width="'+ width + '" height="'+ height + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="exactfit" /><\/embed>';

}