window.addEvent('domready', function(){
	if($('drop_down_menu'))
	{
		$('drop_down_menu').getElements('li.menu').each( function( elem ){
			var list = elem.getElement('ul.links');
			if(list)
			{
			$$('ul.links').show();
			var myFx = new Fx.Slide(list).hide();
					elem.addEvents({
						'mouseenter' : function(){
							
							myFx.cancel();
							myFx.slideIn();
				
						},
						'mouseleave' : function(){
							
							myFx.cancel();
							myFx.slideOut();
							
						}
					});
			}
		});
	}
	new FormCheck('formmail');  
	//call multiBox
	var scrollBox1 = new MooScroll({selector:'#somebox', handleActiveOpacity:1});
	
	var initMultiBox = new multiBox({
		mbClass: '.mb',//class you need to add links that you want to trigger multiBox with (remember and update CSS files)
		container: $(document.body),//where to inject multiBox
		descClassName: 'multiBoxDesc',//the class name of the description divs
		path: './Files/',//path to mp3 and flv players
		useOverlay: true,//use a semi-transparent background. default: false;
		//maxSize: {w:600, h:400},//max dimensions (width,height) - set to null to disable resizing
		//addDownload: false,//do you want the files to be downloadable?
		//addRollover: true,//add rollover fade to each multibox link
		addOverlayIcon: true,//adds overlay icons to images within multibox links
		//addChain: true,//cycle through all images fading them out then in
		//recalcTop: true,//subtract the height of controls panel from top position
		addTips: false//adds MooTools built in 'Tips' class to each element (see: http://mootools.net/docs/Plugins/Tips)
	});

	
});