/*******************************************************************/
/*                                                                 */
/*    JavaScript document developed by Ivan Aleksic				   */
/*    WWW.SROOWN.COM - WWWW.IVANALEKSIC.COM - Belgrade - EUROPE    */
/*    Revision 1.0 - October 5. 2008.                              */
/*    Revision 1.1 - October 6. 2008.                              */
/*                                                                 */
/*******************************************************************/



/* LATEST IN SHOWCASE HORIZONTAL ACCORDION */
$(document).ready(function(){
    lastBlock = $("#opened");
    maxWidth = 600;
    minWidth = 67;
	
    $("#accordion ul li a").hover(
      function(){
        $(lastBlock).animate({width: minWidth+"px"}, { queue:false, duration:600 });
		$(this).animate({width: maxWidth+"px"}, { queue:false, duration:600});
		lastBlock = this;
      }
    );
});
window.onload = function () {
	$("#opened").css('width', 600);
}