jQuery(document).ready(function ($) {
//	alert("eeq");
	$('.widget_archive h2').prepend('<span>The</span>');
	$('#text-3 h2').prepend('<span>Latest</span>');
	$('#text-5 h2').prepend('<span>Ayana On</span>');
	$('.reply a').append(' &rarr;');
	$('#text-5 h2').addClass('facebook-title');
	$('.post:last').addClass('last-post');
	$('.menu_top ul li:last').addClass("last");
	
	//$('#slider_scroller').simpleslider(); //simple slider
	
    $('.jqtransform').jqTransform({imgPath:'http://bali-blog.ayanaresort.com/wp-content/themes/ayanaz/images/reservation_form/jqtransformplugin/'});
    $('.datepicker').datepicker({
      	showOn: 'button',
        buttonImage: 'http://bali-blog.ayanaresort.com/wp-content/themes/ayanaz/images/reservation_form/reservation_area_calendar.gif',
        buttonImageOnly: true,
        showAnim: 'fadeIn',
        speed: 'fast',
        minDate: 0,
        maxDate: '+2Y'
   	 });
   	 
   	 var contentHeight = $("#content .articles").height();
   	 var sidebarHeight = $("#content .sidebar").height();
//   	 var maxHeight = Math.max(contentHeight, sidebarHeight)+500;
//   	 alert("content "+contentHeight+" sidebar "+sidebarHeight+" max "+maxHeight);
   	 var maxHeight = Math.max(contentHeight, sidebarHeight);
   	 $("#content .articles").height(maxHeight+"px");
});
