var dropDown_cached_id=null;
dropDown = function(id,force) {
	
	if (!document.getElementById(id).innerHTML)
		return;
	if (document.getElementById(id).style.display != 'block') {
		if(dropDown_cached_id) 
			document.getElementById(dropDown_cached_id).style.display = 'none';		
		document.getElementById(id).style.display = 'block';
		dropDown_cached_id=id;
	}
	else if(!is_ie5_5 && !is_ie6 ) {
		document.getElementById(id).style.display = 'none';		
	}

}

dropClose=function() {
	if(dropDown_cached_id) 
		document.getElementById(dropDown_cached_id).style.display = 'none';	
}

var fldm_current=null;
var fldm_timer=null;
function fldm_open(object) {
	
	fldm_close();
	object.style.display='block';
	fldm_current=object;
}
function fldm_cancel() {
	if(fldm_current!=null) {
		
		if(fldm_timer!=null) 
			window.clearInterval(fldm_timer);
		// IE6 is working now, no timer required
		fldm_timer=window.setInterval("fldm_close();",10);
	}
}
function fldm_keep() {
	window.clearInterval(fldm_timer);
	fldm_timer=null;
}
function fldm_close(object) {
	if(!object && fldm_current!=null);
		object=fldm_current;
	if(object && object.style)
		object.style.display='none';
	fldm_current=null;
	if(fldm_timer!=null) {
		window.clearInterval(fldm_timer);
		fldm_timer=null;
	}
}
	