function check_uyeGiris(){
  if(!t_b_c("frm_uye")){ alert("Lütfen kullanıcı adınızı yazınız !!"); return false};
  if(!t_b_c("frm_sifre")){ alert("Lütfen kullanıcı şifrenizi yazınız !!"); return false};
  return true;
}

function get_request()
{
      var xmlhttp=false;
      /*@cc_on @*/
      /*@if (@_jscript_version >= 5)
      // JScript gives us Conditional compilation, we can cope with old IE versions.
      // and security blocked creation of the objects.
       try {
        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
       } catch (e) {
        try {
         xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        } catch (E) {
         xmlhttp = false;
        }
       }
      @end @*/
      if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
      	try {
      		xmlhttp = new XMLHttpRequest();
      	} catch (e) {
      		xmlhttp=false;
      	}
      }
      if (!xmlhttp && window.createRequest) {
      	try {
      		xmlhttp = window.createRequest();
      	} catch (e) {
      		xmlhttp=false;
      	}
      }

   return xmlhttp;
}

function bosalt(real,formName,fieldname){
	deger = document.forms[formName].elements[fieldname].value;
	if(deger == real)document.forms[formName].elements[fieldname].value = "";
}
	
      
        ara_1 = new Image();		ara_1.src = '/_img/ara_1.gif';
	ara_1a = new Image(); 	        ara_1a.src = '/_img/ara_1a.gif';
	ara_2 = new Image();	   	ara_2.src = '/_img/ara_2.gif';
	
	iara_1 = new Image();		iara_1.src = '/_img/iara_1.gif';
	iara_1a = new Image(); 	        iara_1a.src = '/_img/iara_1a.gif';
	iara_2 = new Image();	   	iara_2.src = '/_img/iara_2.gif';
	
	gir_1 = new Image();		gir_1.src = '/_img/gir_1.gif';
	gir_1a = new Image(); 	        gir_1a.src = '/_img/gir_1a.jpg';
	gir_2 = new Image();	   	gir_2.src = '/_img/gir_2.gif';

			function swap(imgID,img) {
				//imgID: img name, imgObjName: new image!
				document.images[imgID].src = eval(img + ".src");
			}
			
			function click_buton(imgID,img) {
			if(document.LOGIN.UserName.value=='' || document.LOGIN.PassWord.value == ''){
				alert('Lütfen kullanıcı adınızı ve şifrenizi giriniz!');
				return false;
				}
			else {
				document.images[imgID].src = eval(img +".src");
				document.LOGIN.submit();
				document.all[imgID].onclick='none';
				document.all[imgID].onmouseover='none';
				document.all[imgID].onmouseout='none'
				}
			}
			function click_buton2(imgID,img) {
			
				document.images[imgID].src = eval(img +".src");
				document.Ara.submit();
				document.all[imgID].onclick='none';
				document.all[imgID].onmouseover='none';
				document.all[imgID].onmouseout='none'
				}
                        function click_buton3(imgID,img) {
			
				document.images[imgID].src = eval(img +".src");
				document.ARA_IMDB.submit();
				document.all[imgID].onclick='none';
				document.all[imgID].onmouseover='none';
				document.all[imgID].onmouseout='none'
				}

function altyazigonder(){
var pencere=window.open("/imdb/add.php","altyazigonder","width=550,height=550,scrollbars=yes,menubar=no,resizable=no");
}
function istek() {
var pencere=window.open("/imdb/altyaziistek.php","istek","width=340,height=350,scrollbars=yes,menubar=no,resizable=no");
}
function istekler() {
var pencere=window.open("/istek.php","istek","width=330,height=400,scrollbars=yes,menubar=no,resizable=no");
}
function sonyuz() {
var pencere=window.open("/son100.php","sonyuz","width=470,height=600,scrollbars=yes,menubar=no,resizable=no");
}
function aciklama(){
var pencere=window.open("/aciklama.htm","aciklama","width=600,height=600,scrollbars=yes,menubar=no,resizable=no");
}
function addEngine(name,ext,cat,type)
{
    if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) { 
        window.sidebar.addSearchEngine(
            "http://www.divxplanet.com/"+name+".src",
            "http://www.divxplanet.com/images/"+name+"."+ext, name, cat
        );
    } else {
        alert("Uzgunum, Arama Eklentisini kurabilmeniz icin once Mozilla destekli tarayici edinmelisiniz!");
    } 
}
