function gED(d,h,m){var exd= new Date(); exd.setDate(exd.getDate()+parseInt(d));exd.setHours(exd.getHours()+parseInt(h));exd.setMinutes(exd.getMinutes()+parseInt(m));return exd.toGMTString();}
function gC(ofs){ var estr=document.cookie.indexOf(';',ofs);if(estr==-1)estr=document.cookie.length; return unescape(document.cookie.substring(ofs,estr));
}
function getCookie(n){
var arg=n+'=';var alen=arg.length; var clen=document.cookie.length;var i=0;
while(i<clen){j=i+alen;if(document.cookie.substring(i,j)==arg){return gC(j);}
i=document.cookie.indexOf(" ",i)+1;if(i==0)break;}return "";
}
function setCookie(n,v,p,e){
document.cookie=n+'='+escape(v)+((p)?'; path='+p:'')+((e)?'; expires='+e:'');
}
function gecikmeliFonksiyonCalistir(fn){
    if(window.gecikmeliFonksiyonCalistirtime)
	clearTimeout(gecikmeliFonksiyonCalistirtime);
    gecikmeliFonksiyonCalistirtime=setTimeout(fn,500);
}
function valuedanSec(select, value){
    for(i=0;i<select.options.length;i++){
        if(select.options[i].value==value)
            select.selectedIndex=i;
    }
}
function valuedanSec2(select, value){
    for(i=0;i<select.options.length;i++){
        if(select.options[i].text==value)
            select.selectedIndex=i;
    }
}
function ResimYoksa(that){
    if(that.src!='no_tumb.jpg')
	that.src='no_tumb.jpg';
}
function inputSil(nerden){ if(nerden.value==nerden.defaultValue)nerden.value=''; }
function inputYaz(nerden){ if(nerden.value=='')nerden.value=nerden.defaultValue; }