$(document).ready(function() {
	$("#header .hide dt").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	$("#header .hide dt").addClass('off');
	$("#header .hide dd").css("display","none");
	$("#header .hide dt").click(function(){
		$(this).next().toggle(0);
		});

	$("#btnOther .btn01").hover(function(){
		$(this).css("cursor","pointer"); 
	},function(){
		$(this).css("cursor","default"); 
		});
	$("#btnOther .btn01").toggle(function(){
		$("#btnOther").animate({"width": "247px"}, "slow");
		$(this).addClass('on');
	},function(){
		$("#btnOther").animate({"width": "39px"}, "slow");
		$(this).removeClass('on');
		});

	$(".over a img").hover(function(){
		$(this).fadeTo("fast", 0.7);
	},function(){
		$(this).fadeTo("fast", 1.0);
		});

	$("#header .login input").hover(function(){
		$(this).fadeTo("fast", 0.7);
	},function(){
		$(this).fadeTo("fast", 1.0);
		});

	$(".blankLink a").click(function(){
		window.open(this.href,'_blank');
		return false;
	});

  $('a[href*=#]').not('.faqNav a[href]').click(function() {
	 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
   var $target = $(this.hash);
   $target = $target.length && $target
   || $('[name=' + this.hash.slice(1) +']');
   if ($target.length) {
  var targetOffset = $target.offset().top;
  $('html,body')
  .animate({scrollTop: targetOffset}, {duration: 600,easing:"easeOutCirc"});
    return false;
   }
 }
  });
});

$(function(){
	$("#header .hide dt").toggle(
		function() {
			$(this).removeClass('off');
			$("#header .hide .signup").css("display","block");
		}, 
		function() {
			$(this).addClass('off');
			$("#header .hide .signup").css("display","none");
			}
		);
});