function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}




$(document).ready(function() {
        
        // Form input hide/display default text on focus/blur
        $(".search-input").focus(function() {
                if(this.value == this.defaultValue) {
                        this.value = "";
                }
        }).blur(function() {
                if(!this.value.length) {
                        this.value = this.defaultValue;
                }
        });
		
                
});

$(document).ready(function(){
    $("#content a").mouseover(function() {
         $(this).stop().animate({ color:'#f7951e'},250);
    }).mouseout(function() {
        $(this).stop().animate({ color:'#0C5597'},500);
    });       
	
	
	
	    $("footer a").mouseover(function() {
         $(this).stop().animate({ color:'#f7951e'},250);
    }).mouseout(function() {
        $(this).stop().animate({ color:'#0C5597'},500);
    });       


	    $("#inner-footer a").mouseover(function() {
         $(this).stop().animate({ color:'#6fc2f6'},250);
    }).mouseout(function() {
        $(this).stop().animate({ color:'#ABABAB'},500);
    });       



	    $("#feature a").mouseover(function() {
         $(this).stop().animate({ color:'#FFF'},250);
    }).mouseout(function() {
        $(this).stop().animate({ color:'#6fc2f6'},500);
    });    
	
	
   



$('.expand').hide();
$('a.toggler').click(function() {
$(this).closest('.post').find('.expand').fadeToggle('slow');
return false;
}); 




});







//$(document).ready(function() {
//$('img').mouseover( function() {
//          $(this).fadeOut(200);
//          $(this).attr({'src':'http://example/images/image.png'});
//          if (this.complete) $(this).fadeIn(500);
//        });
//        });
//
//$(document).ready(function(){
//$("p:has(img)").css('margin' , '0' , 'line-height' , '0');
//});
//
//
//$(document).ready(function(){
//$("p:has(img)").css('margin' , '0' , 'line-height' , '0');
//});
//
//$(document).ready(function(){
//$('.dcjq-mega-menu ul.menu li a').addClass('transition');
//});
//
//
//
//$(document).ready(function() {
//    $("body").css("display", "none");
// 
//    $("body").fadeIn(1000);
// 
//    $("a.transition").click(function(event){
//        event.preventDefault();
//        linkLocation = this.href;
//        $("body").fadeOut(500, redirectPage);
//    });
// 
//    function redirectPage() {
//        window.location = linkLocation;
//    }
//});
//



//$(document).ready(function(){
//
//$("#menu-top-nav li a").fadeTo("fast", 0.8); // This sets the opacity of the thumbs to fade down to 30% when the page loads
//$("#menu-top-nav li a").hover(function(){
//$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
//},function(){
//$(this).fadeTo("fast", 0.8); // This should set the opacity back to 30% on mouseout
//}); 
//});





