function tarihsaat() 
{ 
var d=new Date(); 
var s=d.getSeconds(); 
var m=d.getMinutes(); 
var h=d.getHours(); 
var day=d.getDay(); 
var date=d.getDate(); 
var month=d.getMonth(); 
var year=d.getFullYear(); 
var days=new Array("Pazar","Pazartesi","Sali","Çarsamba","Persembe","Cuma","Cumartesi"); 
var months=new Array("Ocak","Subat","Mart","Nisan","Mayis","Haziran","Temmuz","Agustos","Eylül","Ekim","Kasim","Aralik");
if (h<10) {h="0" + h} 
if (s<10) {s="0" + s} 
if (m<10) {m="0" + m} 
document.getElementById("clock").innerHTML=date + " " + months[month] + " " + year + ", " + days[day] + " | " + h + ":" + m + ":" + s + " "
setTimeout("tarihsaat()",1000); 
}
function CC_noErrors() {return true;}window.onerror = CC_noErrors;
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function Kontrol(theForm)
{
var str = theForm.email.value;
    var re = /^[\w-]+(\.[\w-]+)*@([\w-]+\.)+[a-zA-Z]{2,7}$/;

  if (theForm.kullaniciadi.value ==0 )
  {
    alert("Lütfen Bir Kullanici Adi Girin");
    theForm.kullaniciadi.focus();
    return (false);
  }
    if (theForm.sifre.value ==0 )
  {
    alert("Lütfen Bir Sifre Girin");
    theForm.sifre.focus();
    return (false);
  }
 
   if (theForm.sifretekrar.value ==0 )
  {
    alert("Lütfen Sifrenizin Tekrarini Girin");
    theForm.sifretekrar.focus();
    return (false);
  } 
       if (theForm.email.value ==0 )
  {
    alert("Lütfen Mail Adresinizi Girin");
    theForm.email.focus();
    return (false);
  }
  if (theForm.adi.value ==0 )
  {
    alert("Lütfen Adinizi Girin");
    theForm.adi.focus();
    return (false);
  }
  
    if (theForm.soyadi.value ==0 )
  {
    alert("Lütfen Soyadinizi Girin");
    theForm.soyadi.focus();
    return (false);
  }   
    if (theForm.dogumtarihigun.value ==-1 )
  {
    alert("Lütfen Dogum Tarihi Bilgilerinizi Tam Girin");
    theForm.dogumtarihigun.focus();
    return (false);
  }
  
      if (theForm.dogumtarihiay.value ==-1 )
  {
    alert("Lütfen Dogum Tarihi Bilgilerinizi Tam Girin");
    theForm.dogumtarihiay.focus();
    return (false);
  }

      if (theForm.dogumtarihiyil.value ==-1 )
  {
    alert("Lütfen Dogum Tarihi Bilgilerinizi Tam Girin");
    theForm.dogumtarihiyil.focus();
    return (false);
  }
    if (theForm.sifre.value != theForm.sifretekrar.value)
  {
    alert("Yazmis Oldugunuz Sifreler Uyusmuyor.");
    theForm.sifretekrar.focus();
    return (false);
  }

  if (!str.match(re)) {
        alert("E-Mail Adresi Geçerli Degil.");
        theForm.email.focus();
        return (false);
    }

    
    return (true);
}

function changeFontSize(element,step)
{
	step = parseInt(step,10);
	var el = document.getElementById(element);
	var curFont = parseInt(el.style.fontSize,10);
	el.style.fontSize = (curFont+step) + 'px';

}

function changeFont(element,step)
{
	document.getElementById(element).style.fontSize = (parseInt(document.getElementById(element).style.fontSize,10)+parseInt(step,10)) + 'px';
}


