//functions to show/hide topnav menu dropdowns...
	function resim(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

	function popupform(myform, windowname)
{
if (! window.focus)return true;
window.open('', windowname, 'height=332,width=535,scrollbars=yes');
myform.target=windowname;
return true;
}

function duyuru(theURL,winName,features) {
  window.open('duyurudetay.php?id='+theURL,"Duyurular","width=532,height=335,scrollbars=yes");
  
}
function ac(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

var highlightcolor="D4D0C8"

var ns6=document.getElementById&&!document.all
var previous=''
var eventobj

var intended=/INPUT|TEXTAREA|SELECT|OPTION/

function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}