window.addEvent('domready', function(){
	$('dropDownMenu').addEvent('mouseover', function() {
		if($('dropDownItem').getStyle('display') == 'block') {
			$('dropDownItem').setStyle('display', 'none');
		} else {
			$('dropDownItem').setStyle('display', 'block');
		}
	});
	$('dropDownItem').addEvent('click', function() {
		$('dropDownItem').setStyle('display', 'none');
	});
	
	$('dropDownMenu').addEvent('mouseleave', function() {
		$('dropDownItem').setStyle('display', 'none');
	});
	
	$('dropDownItem').addEvent('mouseover', function() {
		$('dropDownItem').setStyle('display', 'block');
	});
	
	$('dropDownItem').addEvent('mouseleave', function() {
		$('dropDownItem').setStyle('display', 'none');
	});
	
	var sfEls = document.getElementById("dropDownItem").getElementsByTagName("div");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+="sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("sfhover\\b"), "");
		}
	}
});