function InitDropdowns ()
{
	
	//hide arrow when dropdown is clicked
	$('div.DropDown div').each(function(){
		$(this).bind('click', function(e){
			$(this).hide();
			$(this).parent().addClass('over');
		});								  
	});
	
	//kill menu when mouse leaves the list
	$('div.DropDown ul').each(function(){
			$(this).bind('mouseleave', function(e){								   
			$(this).parent().removeClass('over');
			$(this).parent().find('div').show();
		});								  
	});
	
	
	$('div.DropDown ul li').each(function(){
		$(this).bind('click', function(e){
			var y = -29 * parseInt($(this).find('input').attr('value'));
			$(this).parent().mouseleave();
			$(this).parent().css('top', y); 
		});								  
	});
}