function showNews(sPage) {
	sPage = sPage + ".htm"
	popwin = window.open(sPage,"","edge=Raised,scrollbars=yes,status=no,help=no,center=yes,resizable=no,width=500,height=380");
}
function showAnnouncement(sPage) {
	sPage = sPage + ".htm"
	popwin = window.open(sPage,"","edge=Raised,scrollbars=yes,status=no,help=no,center=yes,resizable=yes,width=500,height=450");
}
function showPressReleaseDetail(sPage) {
	sPage = sPage + ".htm"
	window.showModalDialog(sPage,this,"status=no;help=no;center=yes;resizable=no;dialogwidth=428px;dialogheight=375px");
}
function showPressDetail(sPath,sMode) {
	var sStaticPath = "/shared/images/media/press/"
	switch (sMode)
	{
		case "img" :
//			imgwin = window.showModelessDialog("",this,"status=no;help=no;center=yes;resizable=yes;dialogwidth=450px;dialogheight=400px");
			imgwin = window.open("","","edge=Raised,scrollbars=yes,status=no,help=no,center=yes,resizable=yes,width=200,height=200");
			imgwin.document.open();
			imgwin.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
			imgwin.document.writeln("<html>");
			imgwin.document.writeln("<head>");
			imgwin.document.writeln("<meta http-equiv=\"Content-Language\" content=\"TR\">");
			imgwin.document.writeln("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1254\">");
			imgwin.document.writeln("<meta http-equiv=\"Keywords\" content=\"\">");
			imgwin.document.writeln("<meta name=\"Description\" content=\"InfoNet - \">");
			imgwin.document.writeln("<meta name=\"Creator\" content=\"InfoNet\">");
			imgwin.document.writeln("<meta name=\"Developer\" content=\"Çağatay CILIZ / cciliz@hotmail.com\">");
			imgwin.document.writeln("<meta name=\"Audience\" content=\"All\">");
			imgwin.document.writeln("<meta name=\"Publisher\" content=\"InfoNet\">");
			imgwin.document.writeln("<meta name=\"Robots\" content=\"index,follow\">");
			imgwin.document.writeln("<meta name=\"Revisit-After\" content=\"7 days\">");
			imgwin.document.writeln("<title>InfoNet Bilgi Teknolojileri - Basın - Yazılı Basın</title>");
			imgwin.document.writeln("<link href=\"/shared/css/infstyles.css\" rel=\"stylesheet\" type=\"text/css\">");
			imgwin.document.writeln("<script type=\"text/javascript\">");
			imgwin.document.writeln("function sizeWin() {");

			imgwin.document.writeln("iw = document.body.clientWidth;")
			imgwin.document.writeln("ih = document.body.clientHeight;")
			imgwin.document.writeln("w = document.all.dynImg.width - iw;")
			imgwin.document.writeln("h = document.all.dynImg.height - ih;")
//			imgwin.document.writeln("alert(h + ' ' +  ih + ' ' +  window.screen.availHeight)")
			imgwin.document.writeln("window.resizeBy(w, h+5);")
//			imgwin.document.writeln("window.resizeBy(w+60, h-10);")
			imgwin.document.writeln("window.moveTo(0, 0);")
			imgwin.document.writeln("self.focus();")
			imgwin.document.writeln("}");
			imgwin.document.writeln("</script>");
			imgwin.document.writeln("</head>");
			imgwin.document.writeln("<body onload=\"sizeWin();\" bgcolor=\"#FFFFFF\" text=\"#000000\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">");
			imgwin.document.writeln("<table id=\"layout\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
			imgwin.document.writeln("<tr>");
			imgwin.document.writeln("<td align=\"center\"><img id=\"dynImg\" src=\"" + sStaticPath + sPath + "\"></td>");
			imgwin.document.writeln("</tr>");
			imgwin.document.writeln("<tr>");
			imgwin.document.writeln("<td align=\"center\" valign=\"top\"><button name=\"button\" type=\"button\" class=\"button\" style=\"width:100%\" onClick=\"window.close()\">Kapat</button></td>");
			imgwin.document.writeln("</tr>");
			imgwin.document.writeln("</table>");
			imgwin.document.writeln("</body>");
			imgwin.document.writeln("</html>");
			imgwin.document.close();
			imgwin = null;
		break;
		
		case "doc" :
			window.showModalessDialog(sPath,this,"status=no;help=no;center=yes;resizable=no;dialogwidth=450px;dialogheight=350px");
		break;
	}
}