$(document).ready(function () {
	$("#archives ul li:not(.active)").mouseover(function(){
      $(this).css('background','#f0f0f0');
      $('a',this).css('color','#000');
    }).mouseout(function(){
      $(this).css('background','transparent url(assets/templates/chiropractic/images/button.jpg) no-repeat');
      $('a',this).css('color','#FFF');
    }).click(function(){
    	window.location = $('a',this).attr('href');
    }); 
    
    $('.email_for_news input.submit').mouseover(function() {
      $(this).css('background','transparent url(assets/templates/chiropractic/images/sign_up.jpg) no-repeat scroll 0 -39px');
    }).mouseout(function(){
      $(this).css('background','transparent url(assets/templates/chiropractic/images/sign_up.jpg) no-repeat scroll 0 0');
    }).click(function(){
      $(this).css('background','transparent url(assets/templates/chiropractic/images/sign_up.jpg) no-repeat scroll 0 -78px');
    }); 
   	
   	$('.email_for_news input').click(function () { 
   		if($(this).val() == 'Email') {
   			$(this).val('');
   			$(this).css('color','#000');
   		}
	});

});






