
 $(document).ready(function()
	{ 	
	
	// cufon

Cufon.replace('#main_menu>ul>li>a, #mod_1>ul>li>a, #director_sub_menu>ul>li>a, #featured_menu>h4, #page_title>#sub_title, #contact_area, #view_map_btn>a, #contact_content>h5, #sidebar>li>h2, #info, #info_wrapper>#info', { fontFamily: 'Gotham Book',
							hover: true
});

Cufon.replace('#mod_2>#more_link>a, #client_title, #director_title, #info_wrapper>#info>.detail_title', { fontFamily: 'Gotham Book Italic',
							hover: true
});

Cufon.replace('#page_title>#title', { fontFamily: 'Gotham Light',
							hover: true
});

});


/// Director Reel Dropdown
var drop_move_time;
var drop_click = 0;
var list_height;  



$(document).ready(function()
{  

$(function()
{
	/*$("#directors_link").click(function () {
		$("#director_sub_menu").toggle("slow");
		return false;
	});*/
	
	
	
	$('#directors_link').toggle(function() {
    $('#director_sub_menu').fadeIn('slow');
    return false;
  },
function() {
    $('#director_sub_menu').fadeOut('slow');
    return false;
  });
  
  // director menu
	$('#list_menu a').click(function () {
            // change reel
			loadReel($(this).attr('id'));
			$('.active_reel').html($(this).text());
			
			//fade out menu
			hideDropDown();
			drop_click = 0;
			return false;            
     });
	 
	 function showDropDown()
	 {
		 $('#list_menu').fadeIn('slow');
		 $("#selector #arrow").css("background-position",  "0px 0px");
	 }
	 
	 function hideDropDown()
	 {
		 $('#list_menu').fadeOut('slow');
		 $("#selector #arrow").css("background-position",  "0px -6px");
	 }
 

  // Reel dropdown
	$('.drop_down_selector').toggle(function() {    	
		showDropDown();
    	return false;
  	},
	function() {
    	hideDropDown();
    	return false;
 	});
	
	$(".drop_down_selector").click(function()
   {
	   if (drop_click == 0)
	   {
		   // show list_holder
		   $("#list_holder").css("display", "block");
		   
		   showDropDown();
		   drop_click = 1;
	   }
	   else if (drop_click == 1)
	   {
		   
		  hideDropDown();
		  drop_click = 0;
	   }
	});

	
	
});
});


