/* #####################################//
//		 Slide Down Menu Functions
// #####################################*/
openId = null;
closetimer = null;

// Time For Menu to open & close (seconds)
openTime = .5;
closeTime = .2;
// time for menu to stay open after mouseout (in thousands of a second)
timeout = 500;


function mOpen(id){
	if(openId){
		mCloseCancel();
		doClose();
		}
	if($(id).style.display == 'none'){
		Effect.BlindDown(id,{duration: openTime, queue: {position:'end', scope: id + 'scope', limit:2}});
		openId = id;
		}
	
	return false;
	}
function mClose(){
	closetimer = window.setTimeout(doClose, timeout);
	return false;
	}
function doClose(){
	if($(openId).style.display == ''){
		Effect.BlindUp(openId, {duration: closeTime, queue: {position:'end', scope: openId + 'scope', limit:2}});
		}
	}
function mCloseCancel(){
	if(closetimer){
		window.clearTimeout(closetimer);
		closetimer = null;
		}
	}
