//function SelectAll(id)
//{
//    document.getElementById(id).focus();
//    document.getElementById(id).select();
//}

$().ready(function() {
	$(".LYorum").corner("10px");
});
$().ready(function() {
	$(".LCounter").corner("10px");
});

$().ready(function() {
	$(".sayfalama span").corner("6px");
});

$().ready(function() {
	$(".Lbirinci").corner("10px");
});

$().ready(function() {
	$(".baslik2").corner("10px");
});

$().ready(function() {
	$(".usrLogin").corner("5px");
});

$(document).ready(function () {
  $(".bebekDiz").hover(
      function () {
		$(this).find('.bDetails').fadeIn('fast');
      }, 
      function () {
		$(this).find('.bDetails').fadeOut('fast');
      }
    );       
});
$(document).ready(function () {
  $(".hoverClass").hover(
      function () {
		$(this).find('.openClass').fadeIn('fast');
      }, 
      function () {
		$(this).find('.openClass').fadeOut('normal');
      }
    );       
});

$(document).ready(function () {
    $('.usrPan').click(function () {
		$('.usrLogin').slideToggle('medium');
    });
});

$().ready(function() {
	$("#uyeol").validate({
		rules: {
			ad: {	
					required: true,
					minlength: 3
			},
			sad: {	
					required: true,
					minlength: 3
			},			
			epost: {
					required: true,
					email: true
			},
			pass: {
					required: true
			},
			pass2: {
					required: true,
					equalTo: "#pass"
			},
			kabul: {
					required: true
			},			
			kod: {
					required: true,
					minlength: 5
			}
			
		},
		messages: {
			ad: "* Adınızı yazınız",
			sad: "* Soyadınızı yazınız",
			epost: "* Gerçeli bir E-Posta adresi yazınız",
			pass: "* Şifrenizi Giriniz",
			pass2: "* Şifrenizi Doğrulayın",
			kabul: "* Kullanım Koşullarını Kabul Etmelisiniz.",
			kod: "* Doğrulama Kodunu Giriniz."
		}
	});
});	

$().ready(function() {
	$("#usrLogin").validate({
		rules: {
			epost: {
					required: true,
					email: true
			},
			pass: {
					required: true
			}			
		},
		messages: {
			epost: "* Gerçeli bir E-Posta adresi yazınız",
			pass: "* Şifrenizi Giriniz"
		}
	});
});	
