$(function(){
	$("#contactNav").click(function(){
		$(window).scrollTo($('#contact_arthu_chu'), 500 );
		return false;
	});
	
	$("#tothetop").click(function(){
		$(window).scrollTo({top:'0px', left:'0px'}, 500 );
		return false;
	});
	$('input[name=your-name]').focus(function() {
		if($(this).val() == "Your Name"){$(this).val('');}
	});
	$('input[name=your-email]').focus(function() {
		if($(this).val() == "Your Email"){$(this).val('');}
	});
	$('input[name=your-email]').blur(function() {
		if($(this).val() == ""){$(this).val('Your Email');}
	});
	$('textarea[name=your-comment]').focus(function() {
		if($(this).val() == "Your Comment"){$(this).val('');}
	});
	
	//header search form
	$('#searchFormContainer #s').focus(function() {
		if($(this).val() == "Search"){$(this).val('');}
	});
	$('#searchFormContainer #s').blur(function() {
		if($(this).val() == ""){$(this).val('Search');}
	});
	
	//feedburner subscription
	$('#feedburnerForm input[name=email]').focus(function() {
		if($(this).val() == "Email"){$(this).val('');}
	});
	$('#feedburnerForm input[name=email]').blur(function() {
		if($(this).val() == ""){$(this).val('Email');}
	});
	
	$('#rightSideBar ul ul li:last-child').css("border","none");
});