	
 $(document).ready(function(){ 
				
				
				   //find all form with class jqtransform and apply the plugin


				$("#slider").easySlider({
						auto: true, 
						continuous: true,
						controlsShow: true,
						speed: 800,
						pause: 4000,
						nextId: 'nextBtn',	
nextText: ''

			
					});



					$("#contactform").validate();
					
				
					//HOVER THE NAVIGATION CODE
								
				$(function() {
					  $("#mailing-list-container div#mailbox-link img").click(function() {
					
					 $("div#mailing-list-box").animate({opacity: "show", top: "-255"}, "slow");
						$(this).attr("src", $(this).attr("src").split(".").join("-rollover."));
					    
					 $("div#mailing-list-pop-up").animate({opacity: "show"}, "slow");
				 	
					});
					});
					
					$(function() {
					  $("#mailing-list-container div#mailing-list-close-button img").click(function() {
					
					 $("div#mailing-list-box").animate({opacity: "hide", top: "-225"}, "slow");
					$("#mailing-list-container div#mailbox-link img").attr("src", $("#mailing-list-container div#mailbox-link img").attr("src").split("-rollover.").join("."));
					$("div#mailing-list-pop-up").animate({opacity: "hide"}, "slow");
					
					
				 		
					});
					});
					
					
					//END  -   HOVER THE NAVIGATION CODE  -   END


					//BEGIN ROLLOVER FOR BUTTON
					
					$(function() {
					  $("#social-links a.facebook img").hover(function() {
					    $(this).attr("src", $(this).attr("src").split(".").join("-rollover."));
					 //  $("div#facebook-badge").animate({opacity: "show", top: "60"}, "slow");
					    
					  }, function() {
					    $(this).attr("src", $(this).attr("src").split("-rollover.").join("."));
					  // $("div#facebook-badge").animate({opacity: "hide", top: "100"}, "slow");
					  });
					});
					
					
					$(function() {
					  $("#social-links a.twitter img").hover(function() {
					    $(this).attr("src", $(this).attr("src").split(".").join("-rollover."));
					   
					    
					  }, function() {
					    $(this).attr("src", $(this).attr("src").split("-rollover.").join("."));
					   
					  });
					});
					
					
					//END ROLLOVER FOR BUTTONS

			
					//ROLLOVER FOR BOX 1		
				$(function() {	
								$('#box1').hover(function() {
									  $('#box1 .slider').animate({
										       left: '+=260'
										        }, 458, 'swing');
										
										}, function() {
										
										    $('#box1 .slider').animate({
										        left: '-=260'
										        }, 458, 'swing');
										
								});
				});
				
				
		
					//ROLLOVER FOR BOX 2		
				$(function() {	
								$('#box2').hover(function() {
									  $('#box2 .slider').animate({
										       left: '+=260'
										        }, 458, 'swing');
										
										}, function() {
										
										    $('#box2 .slider').animate({
										        left: '-=260'
										        }, 458, 'swing');
										
								});
				});
				

			//ROLLOVER FOR BOX 3		
				$(function() {	
								$('#box3').hover(function() {
									  $('#box3 .slider').animate({
										       left: '+=260'
										        }, 458, 'swing');
										
										}, function() {
										
										    $('#box3 .slider').animate({
										        left: '-=260'
										        }, 458, 'swing');
										
								});
				});
				
				
				
				//FUNCTION FOR ROLLOVER FUNCTION AREAS ROLLOVER
			
			/*	$(function() {
					  $("li#nav4 a").hover(function() {
					   		 $("div#function-room-rollover").animate({opacity: "show", top: "28"}, "normal");

					  }, function() {
							 $("div#function-room-rollover").animate({opacity: "hide", top: "45"}, "normal");
					  });
					});
					
				$(function() {
					  $("li#nav5 a").hover(function() {
					   		 $("div#upcoming-events-rollover").animate({opacity: "show", top: "28"}, "normal");

					  }, function() {
							 $("div#upcoming-events-rollover").animate({opacity: "hide", top: "45"}, "normal");
					  });
					});
*/
					
					

					


					
				
				
					
						         
   }); 
   		
   		Shadowbox.init(); 		
