$(function search() {
	$(document).ready(function() {
		if ( $("#search").attr("value") == "" ) {
			$("#search").attr("value","Search");
		}
	});
	$("#search").bind('focus', function(event) {
		if ( $(this).attr("value") == "Search" ) {
			$(this).attr("value","");
		}
	});
	$("#search").bind('blur', function(event) {
		if ( $(this).attr("value") == "" ) {
			$(this).attr("value","Search");
		}
	});
	
	
	$(document).ready(function() {
		if ( $("#author").attr("value") == "" ) {
			$("#author").attr("value","Ваше имя");
		}
	});
	$(document).ready(function() {
		if ( $("#email").attr("value") == "" ) {
			$("#email").attr("value","Ваш e-mail");
		}
	});
	$(document).ready(function() {
		if ( $("#url").attr("value") == "" ) {
			$("#url").attr("value","Website (необязательно)");
		}
	});
	$("#author").bind('focus', function(event) {
		if ( $(this).attr("value") == "Ваше имя" ) {
			$(this).attr("value","");
		}
	});
	$("#author").bind('blur', function(event) {
		if ( $(this).attr("value") == "" ) {
			$(this).attr("value","Ваше имя");
		}
	});
	$("#email").bind('focus', function(event) {
		if ( $(this).attr("value") == "Ваш e-mail" ) {
			$(this).attr("value","");
		}
	});
	$("#email").bind('blur', function(event) {
		if ( $(this).attr("value") == "" ) {
			$(this).attr("value","Ваш e-mail");
		}
	});
	$("#url").bind('focus', function(event) {
		if ( $(this).attr("value") == "Website (необязательно)" ) {
			$(this).attr("value","");
		}
	});
	$("#url").bind('blur', function(event) {
		if ( $(this).attr("value") == "" ) {
			$(this).attr("value","Website (необязательно)");
		}
	});
})