$(document).ready(function () {		
$(".ilantable tbody tr:gt(0):even").css('background', '#fbfbfb')
$(".ilantable tbody tr:last td").css('border', 'none')

$("input:text, textarea, input:password").each(function(){
	if(this.value == '')
		this.value = this.title;
});
$("input:text, textarea, input:password").focus(function(){
	if(this.value == this.title)
		this.value = '';
});
$("input:text, textarea, input:password").blur(function(){
	if(this.value == '')
		this.value = this.title;
});
$("input:image, input:button, input:submit").click(function(){
	$(this.form.elements).each(function(){
		if(this.type =='text' || this.type =='textarea' || this.type =='password' ){
			if(this.value == this.title && this.title != ''){
				this.value='';
			}
		}
	});
});

$("input#kelime").click(function(){
	$("#kelimetoggle").show()
});
$("#kelimetoggle input").click(function(){
	$("#searcform").attr('action', $(this).val())
	$("#kelimetoggle").hide()
	$("input#kelime").focus()
});
$("#searcbutton").click(function(){
	$("#kelimetoggle input").attr('disabled', 'disabled')
	$("#tur").val($("#tur").attr('title'))
	$("#sehir").val($("#sehir").attr('title'))
	$("#searcform").submit()
});
});
