function fncCalendar(){
	var date	= new Date();
	var saat	= date.getHours();
	var dakika	= date.getMinutes();
	var saniye	= date.getSeconds();

	if(String(saat).length==1){saat = "0" + saat}
	if(String(dakika).length==1){dakika = "0" + dakika}
	if(String(saniye).length==1){saniye = "0" + saniye}
	document.getElementById("calTime").innerHTML = saat + ":" + dakika + ":" + saniye;
	setTimeout("fncCalendar();",1000);
}

function tabMenuSrc(img){
	
	if(img.src.search("tab1")>=0){
		img.src = "/images/tab1_over.jpg";
		img.style.cssText = "cursor:pointer;";
		if(navigator.appName == "Netscape"){
			img.addEventListener('mouseout',function(){img.src="/images/tab1.jpg"},false)
			img.addEventListener('click',function(){location.href="/pageDetails.asp?PID=1"},false)
		}else{
			img.attachEvent("onmouseout", function(){img.src="/images/tab1.jpg"})
			img.attachEvent("onclick", function(){location.href="/pageDetails.asp?PID=1"})
		}//Else Sonu
	}//IF Sonu
	
	if(img.src.search("tab2")>=0){
		img.src = "/images/tab2_over.jpg";
		img.style.cssText = "cursor:pointer;";
		if(navigator.appName == "Netscape"){
			img.addEventListener('mouseout',function(){img.src="/images/tab2.jpg"},false)
			img.addEventListener('click',function(){location.href="http://www.batmankulturturizm.gov.tr"},false)
		}else{
			img.attachEvent("onmouseout", function(){img.src="/images/tab2.jpg"})
			img.attachEvent("onclick", function(){location.href="http://www.batmankulturturizm.gov.tr"})
		}//Else Sonu
	}//IF Sonu
	
	if(img.src.search("tab3")>=0){
		img.src = "/images/tab3_over.jpg";
		img.style.cssText = "cursor:pointer;";
		if(navigator.appName == "Netscape"){
			img.addEventListener('mouseout',function(){img.src="/images/tab3.jpg"},false)
			img.addEventListener('click',function(){location.href="http://www.batmanproje.gov.tr"},false)
		}else{
			img.attachEvent("onmouseout", function(){img.src="/images/tab3.jpg"})
			img.attachEvent("onclick", function(){location.href="http://www.batmanproje.gov.tr"})
		}//Else Sonu
	}//IF Sonu
	
	if(img.src.search("tab4")>=0){
		img.src = "/images/tab4_over.jpg";
		img.style.cssText = "cursor:pointer;";
		if(navigator.appName == "Netscape"){
			img.addEventListener('mouseout',function(){img.src="/images/tab4.jpg"},false)
			img.addEventListener('click',function(){location.href="http://www.batmaneczaciodasi.org.tr/nobetci_eczaneler.htm"},false)
		}else{
			img.attachEvent("onmouseout", function(){img.src="/images/tab4.jpg"})
			img.attachEvent("onclick", function(){location.href="http://www.batmaneczaciodasi.org.tr/nobetci_eczaneler.htm"})
		}//Else Sonu
	}//IF Sonu
	
	if(img.src.search("tab5")>=0){
		img.src = "/images/tab5_over.jpg";
		img.style.cssText = "cursor:pointer;";
		if(navigator.appName == "Netscape"){
			img.addEventListener('mouseout',function(){img.src="/images/tab5.jpg"},false)
			img.addEventListener('click',function(){location.href="/pageDetails.asp?PID=5"},false)
		}else{
			img.attachEvent("onmouseout", function(){img.src="/images/tab5.jpg"})
			img.attachEvent("onclick", function(){location.href="/pageDetails.asp?PID=5"})
		}//Else Sonu
	}//IF Sonu
	
	if(img.src.search("tab6")>=0){
		img.src = "/images/tab6_over.jpg";
		img.style.cssText = "cursor:pointer;";
		if(navigator.appName == "Netscape"){
			img.addEventListener('mouseout',function(){img.src="/images/tab6.jpg"},false)
			img.addEventListener('click',function(){location.href="/galeri.asp"},false)
		}else{
			img.attachEvent("onmouseout", function(){img.src="/images/tab6.jpg"})
			img.attachEvent("onclick", function(){location.href="/galeri.asp"})
		}//Else Sonu
	}//IF Sonu
	
	if(img.src.search("tab7")>=0){
		img.src = "/images/tab7_over.jpg";
		img.style.cssText = "cursor:pointer;";
		if(navigator.appName == "Netscape"){
			img.addEventListener('mouseout',function(){img.src="/images/tab7.jpg"},false)
			img.addEventListener('click',function(){location.href="/pageDetails.asp?PID=7"},false)
		}else{
			img.attachEvent("onmouseout", function(){img.src="/images/tab7.jpg"})
			img.attachEvent("onclick", function(){location.href="/pageDetails.asp?PID=7"})
		}//Else Sonu
	}//IF Sonu
}

function newsChange(image,baslik,aciklama){
	//alert(aciklama)
	document.getElementById("news").getElementsByTagName("IMG")[0].src= image;
	document.getElementById("caption").innerHTML = baslik;
	document.getElementById("newsDesc").innerHTML = aciklama.replace("'","");
}
