// JavaScript Document
function abone(){
	window.open('popup/abonelik_formu.php','','status=yes,width=620,height=460')
}
function favori(){
	window.external.AddFavorite('http://www.otomobilgazetesi.com','Otomobil Haberleri');
}
function bize_ulasin(){
	window.open('popup/bize_ulasin.php','','status=yes,width=400,height=450');
}
function reklam_ver(){
	window.open('popup/reklam_pazarlama.php','','status=yes,width=440,height=180');
}
function tarih_goster(){
	days = new Array(7)
	days[1] = "Pazar";
	days[2] = "Pazartesi";
	days[3] = "Salı"; 
	days[4] = "Carşamba";
	days[5] = "Perşembe";
	days[6] = "Cuma";
	days[7] = "Cumartesi";
	months = new Array(12)
	months[1] = "Ocak";
	months[2] = "Şubat";
	months[3] = "Mart";
	months[4] = "Nisan";
	months[5] = "Mayıs";
	months[6] = "Haziran";
	months[7] = "Temmuz";
	months[8] = "Ağustos";
	months[9] = "Eylül";
	months[10] = "Ekim"; 
	months[11] = "Kasım";
	months[12] = "Aralık";
	today = new Date(); day = days[today.getDay() + 1]
	month = months[today.getMonth() + 1]
	date = today.getDate()
	year=today.getYear(); 
	if (year < 2000)
	year = year + 1900;
	document.write (date + " " + month + " " + day + " "  + year)
}
function yorum_yaz(id){
	window.open('haber_yorum/yorum_yaz.php?haberID='+id,'','width=400,height=400,resizable=yes');
}
function yorum_oku(id){
	window.open('haber_yorum/yorum_oku.php?haberID='+id,'','width=400,height=400,resizable=yes');
}