function goToByScroll(id,goster){
	if (goster == "1") {
	GosterilecekDivName=document.getElementById(id);
	GosterilecekDivName.style.display="block";
	}
	$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
}
/*
 * function goToByScroll(id){
$('html,body').animate({scrollTop: $("#"+id).offset().top},'slow');
}
 */

// Input OnFocus And OnBlur
jQuery(document).ready(function() {
	$('input[id="OnFocus"]').addClass("idleField");
	$('input[id="OnFocus"]').focus(function() {
		$(this).removeClass("idleField").addClass("focusField");
		if (this.value == this.defaultValue){ 
			this.value = '';
		}
		if(this.value != this.defaultValue){
			this.select();
		}
	});
	$('input[id="OnFocus"]').blur(function() {
		$(this).removeClass("focusField").addClass("idleField");
		if ($.trim(this.value) == ''){
			this.value = (this.defaultValue ? this.defaultValue : '');
		}
	});
	
	$('input[id="OnFocus"]').addClass("idleField");
	$('input[id="OnFocus"]').focus(function() {
		$(this).removeClass("idleField").addClass("focusField");
		if (this.value == this.defaultValue){ 
			this.value = '';
		}
		if(this.value != this.defaultValue){
			this.select();
		}
	});
	$('input[id="OnFocus"]').blur(function() {
		$(this).removeClass("focusField").addClass("idleField");
		if ($.trim(this.value) == ''){
			this.value = (this.defaultValue ? this.defaultValue : '');
		}
	});
});
// Input OnFous And OnBlur
