// in order for this to play nice with lightbox i replaced all of the $ with JQuery from original file

jQuery(document).ready(function(){ 
	jQuery("#toggle").hide();
	 jQuery("#find_trip").width("308px");
      jQuery("#find_trip").height("24px");
      jQuery("#find_trip_featured").hide();
      jQuery("#find_trip_subscribe").hide();
      jQuery("#find_trip_form_wrap").hide();
      
}); 

jQuery(document).ready(function(){ 
jQuery("#toggle").click(function () {

// Fade out the content
jQuery("#find_trip_featured").fadeOut(150, function () {
   	// Handle the toggle arrow:
	jQuery("#toggle").hide();
	jQuery("#toggle-expand").show();
	
	// Animate the div:
     jQuery("#find_trip").animate( { width:"308px"}, 100 );
      jQuery("#find_trip").animate( { height:"24px"}, 100 );
       });
jQuery("#find_trip_subscribe").fadeOut(150, function () {
       });
jQuery("#find_trip_form_wrap").fadeOut(150, function () {
       
       });
 jQuery("#find_trip_form").fadeOut(150, function () {
       
       });     


   
      return false;
    }); 
 }); 

jQuery(document).ready(function(){ 
jQuery("#toggle-expand").click(function () {
// Handle the toggle arrow:
jQuery("#toggle").show();
	jQuery("#toggle-expand").hide();
 jQuery("#find_trip").animate( { width:"903px"}, 100 );
      jQuery("#find_trip").animate( { height:"75px"}, 100, function () {
       jQuery("#find_trip_subscribe").fadeIn(150, function () {
       });
       jQuery("#find_trip_form_wrap").fadeIn(150, function () {
       
       });
       jQuery("#find_trip_form").fadeIn(150, function () {
       
       });
       jQuery("#find_trip_featured").fadeIn(150, function () {
    });
        });
   
      return false;
    }); 
 }); 
