function openwindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function bs() {
}

function addbookmark(){ // sik kullanillanlara ekle
var bookmarkurl="http://www.aftg.org.tr"
var bookmarktitle="Antep Fistigi Tanitim Grubu"
if (document.all)
        window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

function addbookmark2(){ // sik kullanillanlara ekle
var bookmarkurl="http://www.aftg.org.tr"
var bookmarktitle="Antep Pistachio Promotion Group"
if (document.all)
        window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

function sil(varhref,bolum)  // silmek için onay al
         {         
		 var varhref,bolum;
if (bolum==0)
metin='kayıt';
		  var sor=confirm('Seçilen '+metin+' silinecek\nDevam mı ? ');
           if (sor)
           {
            location.href=varhref;
           }
        }		



var highlightcolor="EFEFEF"   
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
}
}
