var grjurl='http://www.garaj.org';
function Obj(id){if (document.getElementById){return document.getElementById(id);}else return false;}
function ud(){e=document.getElementsByTagName('A');if (!e) return;l=e.length;for (i=0; i<l; i++){if (e[i].uye){var isim=e[i].uye;if (isim.substring(0,1)=='•') isim=isim.substring(1,isim.length-1);e[i].title=isim;e[i].onclick=new Function('', "return kim('"+isim+"');");e[i].onmouseover=new Function('',"s1('Kimdir bu "+isim+" ?'); return true;");e[i].onmouseout=new Function('',"s2()");}}}
function KU(i,n,txt){btn=(i) ? '<input type="button" value="Mesaj" onclick="MesajK(\''+n+'\')" class="buton" style="width:50px"> <input type="button" value="Detaylar" onclick="UyeDetay('+i+')" class="buton"> ' : '';Obj('popUp').innerHTML=txt+'<hr><div align="center">'+btn+'<input type="button" value=" Kapat " onclick="gosterme(\'popUp\')" class="buton"></div>';return false;}
function Git(url){document.location=url;}
function UyeDetay(uye){Git(grjurl+'/uyedetay.php?uye='+uye);}
function Geri(){history.back();}
function Emin(){return confirm('Emin misiniz ?');}
function Print(txt){document.writeln(txt);}
function goster(obj){Obj(obj).style.display='block';}
function gosterme(obj){Obj(obj).style.display='none';}
function kim(uye){Obj('popUp').innerHTML='<center><br>Bakalım kimmiş bu <b>'+uye+'</b>...<br><br></center>';goster('popUp');ox=(screen.width-Obj('mihenk').offsetWidth)/2;x=window.event.clientX+document.body.scrollLeft+ox;y=window.event.clientY+document.body.scrollTop;if (x>screen.width/2) x-=270;Obj('popUp').style.left=x-130;Obj('popUp').style.top=y;l=uye.length;if (uye.substring(l-2,l)==' *') uye=uye.substring(0,l-2);parent.ifr.document.location='?s=kim&uye='+uye;return false;}
function MesajK(uye){if (uye=='1'){alert('Bu üye size gıcık olduğu için ona mesaj gönderemezsiniz');return;}else{if (uye=='2'){alert('Bu üye sadece eş-dost listesindeki üyelerden mesaj alabilir');return;}}top.location=grjurl+'/mesajyaz.php?kime='+uye;}
function s1(w){window.status=w;return true;}
function s2(){window.status='';}
function Flash(dosya,width,height,id,wmode){if (wmode){wmode1="<PARAM NAME=wmode VALUE="+wmode+">";wmode2="wmode="+wmode;}else wmode1=wmode2='';document.writeln('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+width+'" HEIGHT="'+height+'" id="'+id+'">'+wmode1+'<PARAM NAME=movie VALUE="'+dosya+'"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="'+dosya+'"'+wmode2+' quality=high bgcolor=#FFFFFF WIDTH="'+width+'" HEIGHT="'+height+'" NAME="'+id+'" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');}
