$("#s").Watermark("Buscar: @");
$("#feedburner-email").Watermark("Escribe tu email aqui");

$("#author").Watermark("Nombre");
$("#email").Watermark("Correo Electronico");
$("#url").Watermark("Sitio Web");

// Translating Text to Spanish Language
$("#searchform input[type='submit']").attr("value", "Buscar");
$(".aktt_more_updates a").html("M&aacute;s actualizaciones");

if ( $.browser.msie() ) {
	$("#sidebar>div>ul>li:last-child").css("border", "none");
	$("#recentcomments li a:last-child").css("color", "#838383").css("font-size", "11px").css("text-decoration", "none"); 
	$("#aktt_tweet_form p").css("margin", "0px").css("padding", "0px 10px 0px 0px");
	$(".post:last-child").css("border", "none");

	if ( $.browser.version.number() < 7 ) {
		$("#navigation>div").css("margin", "0px auto 0px auto");
			$("#navigation>div").css("width", "820px");
		
		$("#latestposts>div:first-child").css("border", "none");
		$(".post>div").css("float", "left");
		
		$("#wp_page_numbers li:first-child").css("background", "none");
			$("#wp_page_numbers li:first-child").css("width", "auto");
			
		$("#diary-bread>div").css("float", "left");
		$("#the_page #post").css("width", "590px");
		
		$("#the_page h1").css("padding-top", "15px");
		
		$("#the_post>div").css("float", "left");
		$("#post h1").css("padding-top", "10px");
		
		$(".post:first-child").css("border", "none");
		$(".breads #wp_page_numbers").css("border-top", "1px solid #D8D9CA");
		
		$("#search-page>div").css("float", "left");
		$(".results .post:first-child").css("margin-top", "0px");
		$(".results #wp_page_numbers").css("border-top", "1px solid #D8D9CA");
		
		$("#sidebar-8 h2.widgettitle").css("margin-left", "0px");
		$("#no-search-results ul > li:last-child").css("border", "none");
		
		$("#latestposts>div:first-child").css("margin-top", "0px");
		$("#diary-bread>div:first-child").css("padding-top", "0px");
		
		$("#recentcomments li a:first-child").css("color", "#A43A00").css("font-size", "12px").css("text-decoration", "none"); 
		
		$("#twitter #sidebar > div").css("float", "left");
	} else {
		$("#latestposts>div:last-child").css("border", "none");
		$(".the_post").css("padding-bottom", "20px");
	}
} else {
	if (( $("#docs").attr("id") ) || ( $("#archive").attr("id") )) {
		
		if ( $("#wp_page_numbers").attr("id") ) $( $("#latestposts").children("div")[ $("#latestposts>div").size() - 2 ] ).css("border", "none");
	} else if ( $("#diary-bread").attr("id") ) {
		$( $("#latestposts").children("div")[ $("#latestposts>div").size() - 2 ] ).css("border", "none");
	}	
	
	
	// For Safari
	if ( $.browser.safari() || ( $.browser.firefox() && $.browser.mac() ) ) {
		$("#navigation").css("background", "#292D34");
		$("#sidebar-2 .administer_widget:last-child").css("border", "none");
	}
}