﻿function FillCboHizliErisim()
{
	var n = 0
	var maxArraySize = 50
	var arr = new Array(maxArraySize)
	for (i = 0; i < maxArraySize; i++)
	{
		arr[i] = new Array(2)
		arr[i][0] = ""
		arr[i][1] = ""
	}
	
var d = new Date();
var curr_date = d.getDate();
var curr_month = d.getMonth();
curr_month++;
if (curr_month.lenght=1)
    curr_month='0'+curr_month;
var curr_year = d.getFullYear();

	
	arr[n][0] = ""
	arr[n][1] = "Hızlı Erişim"; n++;	
	arr[n][0] = "http://www.milliyet.com.tr/"
	arr[n][1] = "Milliyet Ana Sayfa"; n++;
	arr[n][0] = "http://arabam.milliyet.com.tr/"
	arr[n][1] = "Arabam"; n++;
	arr[n][0] = "http://arsiv.milliyet.com.tr"
	arr[n][1] = "Arşiv"; n++;
	arr[n][0] = "http://www.arakibulaki.com"
	arr[n][1] = "Araki Bulaki"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/index.asp?div=astro"
	arr[n][1] = "Astroloji"; n++;
	arr[n][0] = "http://bebekvecocuk.milliyet.com.tr/Bebek/Default.aspx"
	arr[n][1] = "Bebek ve Çocuk"; n++;
	arr[n][0] = "http://teknoloji.milliyet.com.tr"
	arr[n][1] = "Bilim Teknoloji"; n++;
	arr[n][0] = "http://blog.milliyet.com.tr/"
	arr[n][1] = "Blog"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/indexmil.html"
	arr[n][1] = "Bugünkü Gazete"; n++;
	arr[n][0] = "http://uyelik.milliyet.com.tr/bulten.asp"
	arr[n][1] = "Bülten"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/cafe/"
	arr[n][1] = "Cafe"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/index.asp?div=cumartesi"
	arr[n][1] = "Cumartesi"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/Default.aspx?aType=Cizerler"
	arr[n][1] = "Çizerler"; n++;
	arr[n][0] = "http://galeri.milliyet.com.tr"
	arr[n][1] = "Galeri"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/guncel/"
	arr[n][1] = "Güncel"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/dunya/"
	arr[n][1] = "Dünya"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/ege/"
	arr[n][1] = "Ege"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/ekonomi/"
	arr[n][1] = "Ekonomi"; n++;
	arr[n][0] = "http://egitim.milliyet.com.tr/"
	arr[n][1] = "Eğitim"; n++;
	arr[n][0] = "http://emlak.milliyet.com.tr/"
	arr[n][1] = "Emlak"; n++;
	arr[n][0] = "http://finans.milliyet.com.tr"
	arr[n][1] = "Finans"; n++;
	arr[n][0] = "http://haberci.milliyet.com.tr"
	arr[n][1] = "Haberci"; n++;
	arr[n][0] = "http://www.hangiotel.com/"
	arr[n][1] = "Hangi Otel"; n++;
	arr[n][0] = "http://havadurumu.milliyet.com.tr"
	arr[n][1] = "Hava Durumu"; n++;
	arr[n][0] = "http://www.insankaynaklari.com/"
	arr[n][1] = "İnsan Kaynakları"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/index.asp?div=kitap"
	arr[n][1] = "Kitap"; n++;
	arr[n][0] = "http://sanat.milliyet.com.tr"
	arr[n][1] = "Kültür Sanat"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/magazin/"
	arr[n][1] = "Magazin"; n++;
	arr[n][0] = "http://mizah.milliyet.com.tr/"
	arr[n][1] = "Mizah"; n++;
	arr[n][0] = "http://mobil.milliyet.com.tr"
	arr[n][1] = "Mobil"; n++;
	arr[n][0] = "http://muzik.ekolay.net"
	arr[n][1] = "Müzik"; n++;
	arr[n][0] = "http://otomobil.milliyet.com.tr"
	arr[n][1] = "Otomobil"; n++;	
	arr[n][0] = "http://www.milliyet.com.tr/index.asp?div=pazar"
	arr[n][1] = "Pazar"; n++;
	arr[n][0] = "http://saglik.milliyet.com.tr"
	arr[n][1] = "Sağlık"; n++;
	arr[n][0] = "http://www.arakibulaki.com"
	arr[n][1] = "Seri İlanlar"; n++;
	arr[n][0] = "http://sinema.milliyet.com.tr"
	arr[n][1] = "Sinema"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/siyaset/"
	arr[n][1] = "Siyaset"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/sondakika/sondakika.html"
	arr[n][1] = "Son Dakika"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/spor/"
	arr[n][1] = "Spor"; n++;
	arr[n][0] = "http://tatil.milliyet.com.tr/"
	arr[n][1] = "Tatil"; n++;
	arr[n][0] = "http://tvrehberi.milliyet.com.tr"
	arr[n][1] = "Tv Rehberi"; n++;
	arr[n][0] = "http://uyelik.milliyet.com.tr/uye.asp"
	arr[n][1] = "Üyelik"; n++;
	arr[n][0] = "http://video.milliyet.com.tr"
	arr[n][1] = "Video"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/"+curr_year+"/"+curr_month+"/"+curr_date+"/yasam/"
	arr[n][1] = "Yaşam"; n++;
	arr[n][0] = "http://www.milliyet.com.tr/Default.aspx?aType=Yazarlar"
	arr[n][1] = "Yazarlar"; n++;
	arr[n][0] = "http://yorum.milliyet.com.tr/"
	arr[n][1] = "Yorum"; n++


	elem = document.getElementById("cboHizliErisim");
	for (var i=0; i < n; i++)
		elem.options[i] = new Option(arr[i][1], arr[i][0])
}

function HizliErisim(cbo)
{
	if (cbo[cbo.selectedIndex].value != '')
		window.open(cbo[cbo.selectedIndex].value)
}

