// JavaScript Document
var a=true
function tarihyaz()
{
var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var year = currentTime.getFullYear()
var currentTime = new Date()
var gun2=currentTime.getDay()
ay=month
if(ay==1){ay="Ocak"}
if(ay==2){ay="Şubat"}											
if(ay==3){ay="Mart"}											
if(ay==4){ay="Nisan"}											
if(ay==5){ay="Mayıs"}											
if(ay==6){ay="Haziran"}											
if(ay==7){ay="Temmuz"}											
if(ay==8){ay="Ağustos"}											
if(ay==9){ay="Eylül"}											
if(ay==10){ay="Ekim"}
if(ay==11){ay="Kasım"}
if(ay==12){ay="Aralık"}

if(gun2==0){gun2="Pazar"}
if(gun2==1){gun2="Pazartesi"}
if(gun2==2){gun2="Salı"}
if(gun2==3){gun2="Çarşamba"}
if(gun2==4){gun2="Perşembe"}
if(gun2==5){gun2="Cuma"}
if(gun2==6){gun2="Cumartesi"}


document.write(day + " " + ay + " " + year + " - " + gun2)
}

/***************
function sakla()
{
	if(a==true) 
	{
	alt.style.visibility="visible";
	document.background="black";
	a=false;
	return;
	}
	if(a==false) 
{a=true;
alt.style.visibility="hidden";
return;
	}

}
*******************************/
  function getFile(filename) {
    oxmlhttp = null;
    try {
      oxmlhttp = new XMLHttpRequest();
      oxmlhttp.overrideMimeType("text/xml");
    }
    catch(e) {
      try { oxmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }
      catch(e) { return null; }
    }
    if(!oxmlhttp) return null;
    try {
      oxmlhttp.open("GET",filename,false);
      oxmlhttp.send(null);
    }
    catch(e) { return null; }
    return oxmlhttp.responseText;
  }
