/* Author: 

*/




$(document).ready(function(){
	//$("#brands").css('margin-left','-10px');
	$("#brands img:nth-child(6n+1)").css('margin-left','0px');
	$("#brands img:nth-child(6n+6)").css('margin-right','0px');
	$("#sidebar h2:first-child").css('margin-top','0px');
/* Account for CSS menu not working in old browsers */
/*	$("#top_menu ul li").hover(
	  function () {
		$(this).children('ul').css('display','block');
	  }, 
	  function () {
		$(this).children('ul').css('display','none');
	  }
	);*/

/*font replacement */
	Cufon.replace('h1'); // Works without a selector engine
	Cufon.replace('li.statements');
	Cufon.replace('nav ul li a', {
		hover: true
	});
	//Cufon.replace('#sub1'); // Requires a selector engine for IE 6-7, see above
	
/* Input Field Default Text */	
/*   $("input").focus(function(srcc)
    {
        if ($(this).val() == $(this)[0].title)
        {
            $(this).val("");
        }
    });
    
    $("input").blur(function()
    {
        if ($(this).val() == "")
        {
            $(this).val($(this)[0].title);
        }
    });
    
    $("input").blur();    
*/


	$('.expand .expander').click(function(e){
		$(this).parent().prev().slideToggle('slow');
		$(this).siblings().toggle();
		$(this).toggle();
		e.preventDefault();
	});
});


















