/***************************************
****************************************
    GENERAL SCRIPTS
****************************************
***************************************/


/***************************************
    ON DOCUMENT LOAD
    ------------------------------------
    Any code between this function
    executs when the page had loaded
    fully.
***************************************/
$(document).ready(function()
{     
     
     
	$("ul.detail_s li:odd").addClass("odd");
   
   
   
   
	/*****************************/
	/******  preload images  *****/
	/*****************************/
	/*if (document.images)
	{
		pic1= new Image();
		pic1.src="/images/image.gif";
		pic2= new Image();
		pic2.src="/images/image.gif";
	}*/

   
   


   
   
	/*****************************/
	/******   js not on      *****/
	/*****************************/
	/*doesn't play well with transitions*/
	$('.nojs').hide();


  
    
});


$(document).ready(function(){	
	$("#slider").easySlider();
});




				
				
$(document).ready(function(){


$('#large_image').load(function() { 
$("#large_image").fadeIn(600); 
});

$('#thumb_list').load(function() { 
$("#thumb_list").fadeIn(600); 
});
	

	$("#home_details ul.thumbs a").click(function(){

      $("#large_image").hide();
	  var largePath = $(this).attr("href");
	  var largeAlt = $(this).attr("title");

	  $("#large_image").attr({ src: largePath, alt: largeAlt });


	  $("h2 em").html(" (" + largeAlt + ")"); return false;
	});

});


