/* <![CDATA[ */

 $(document).ready(function(){  
	$("#latest-projects div").hoverIntent(
		function() {
	  $(this).children("h4").animate({"height": "+=25px"}, "slow");
	}, function() {
	  $(this).children("h4").animate({"height": "-=25px"}, "slow"); }
	);
});	
 $(document).ready(function(){  
    $(".news-container").jCarouselLite({
        btnNext: ".next-button",
        btnPrev: ".previous-button",
		vertical: true,
		auto: 6000,
		visible:4

    });
});

	 $(document).ready(function(){ 
    $("#planroom-login").hide();
	$("#plan-room-button").removeAttr("href");
	$("#plan-room-button").click(function() {
		 $("#planroom-login").toggle();
	});
});
	

sfHover = function() {
	var sfEls = document.getElementById("navigation").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
/* <![CDATA[ */
