function habergetir() {
	var xmlDoc=null;
	if (window.ActiveXObject) {
	xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
	}
	else if (document.implementation.createDocument) {
	xmlDoc=document.implementation.createDocument("","",null);
	} else {
	alert('Your browser cannot handle this script');
	}

	if (xmlDoc!=null) { 
	xmlDoc.async=false;
	xmlDoc.load("resim/interaktif/son5haber.xml");

	var x=xmlDoc.getElementsByTagName("haber");

	for (i=0;i<x.length;i++) { 
		document.write("<TABLE cellSpacing=0 cellPadding=4 width='100%'><tr>");
		document.write("<TD style='BORDER-BOTTOM: #c8c8c8 1px dashed' vAlign=top>");
		document.write("<a href='haber.asp?konu=detay&haberid=" + x[i].getElementsByTagName("haberid")[0].childNodes[0].nodeValue +"' class=black>");
		document.write("<IMG style='BORDER:solid 1px #000000' hspace=5 src='/resim/haber/"+ x[i].getElementsByTagName("resim")[0].childNodes[0].nodeValue +"' width=50 align=left>");
		document.write(x[i].getElementsByTagName("baslik")[0].childNodes[0].nodeValue);
		document.write("</a><br>"+ x[i].getElementsByTagName("icerik")[0].childNodes[0].nodeValue + "</td>");
		document.write("</tr></table>");
		}
	}
}


function hikayegetir() {
	var xmlDoc=null;
	if (window.ActiveXObject) {
	xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
	}
	else if (document.implementation.createDocument) {
	xmlDoc=document.implementation.createDocument("","",null);
	} else {
	alert('Your browser cannot handle this script');
	}

	if (xmlDoc!=null) { 
	xmlDoc.async=false;
	xmlDoc.load("resim/interaktif/son5hikaye.xml");

	var x=xmlDoc.getElementsByTagName("hikaye");

	for (i=0;i<x.length;i++) { 
		document.write("<TABLE cellSpacing=0 cellPadding=2 width='100%' border=0><tr>");
		document.write("<TD style='BORDER-BOTTOM: #c8c8c8 1px dashed' width=16><IMG height=16 src='default_dosyalar/s25.gif' width=16></TD><TD style='BORDER-BOTTOM: #c8c8c8 1px dashed'>");
		document.write("<a href='tanismahikayeleri.asp?git=oku&id=" + x[i].getElementsByTagName("id")[0].childNodes[0].nodeValue +"' class=black>");
		document.write(x[i].getElementsByTagName("baslik")[0].childNodes[0].nodeValue);
		document.write("</a>"+ x[i].getElementsByTagName("icerik")[0].childNodes[0].nodeValue + "</td>");
		document.write("</tr></table>");
		}
	}
}


function duyurugetir() {
	var xmlDoc=null;
	if (window.ActiveXObject) {
	xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
	}
	else if (document.implementation.createDocument) {
	xmlDoc=document.implementation.createDocument("","",null);
	} else {
	alert('Your browser cannot handle this script');
	}

	if (xmlDoc!=null) { 
	xmlDoc.async=false;
	xmlDoc.load("resim/interaktif/sonduyuru.xml");

	var x=xmlDoc.getElementsByTagName("duyuru");

	for (i=0;i<x.length;i++) { 
		document.write("<TABLE cellSpacing=0 cellPadding=6 width='100%'><tr>");
		document.write("<TD vAlign=top>");
		document.write("<a href='duyuru.asp?git=oku&id=" + x[i].getElementsByTagName("duyuruid")[0].childNodes[0].nodeValue +"' class=black>");
		document.write("<IMG style='BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid' vspace=5 src='resim/duyuru/"+ x[i].getElementsByTagName("resim")[0].childNodes[0].nodeValue + "'><br><b>");
		document.write(x[i].getElementsByTagName("baslik")[0].childNodes[0].nodeValue);
		document.write("</b></a><br>"+ x[i].getElementsByTagName("icerik")[0].childNodes[0].nodeValue + "</td>");
		document.write("</tr></TABLE>");
		}
	}
}
