      
      function LookWin(put,ww,hh){               
               left1 = (screen.availWidth - ww)/2
               top1 = (screen.availHeight - hh)/2             
               eval("window.open(\'"+put+"\',\'_blank',\'status=yes,top="+top1+",left="+left1+",toolbar=no,scrollbars=yes,directories=no,menubar=no,resizable=yes,width="+ww+",height="+hh+"\')"); 
      }
      
      function isEmpty(str) {
                 
               for (var i = 0; i < str.length; i++)
                    if (" " != str.charAt(i))
                        return false;
                 
               return true;
      }
        
      function checkStrForm(nameform,nameinput,msg){
                 
               f = eval("document."+nameform+"."+nameinput); 
                 
               if (isEmpty(f.value)) { alert(msg); return false; }
                 
               return true;
      }
      ////////////////////////
      function forms_js_select(nameSelect,txtSelect,curVal,beginVal,exitVal,selWW){
            
            document.write("<select name=\""+nameSelect+"\" style=\"width:"+selWW+"px\">");
            document.write("<option value=0>"+txtSelect+"</option>");
            for(i = beginVal; i <= exitVal; i++){
                document.write("<option value="+i);
                if(curVal == i) document.write(" selected");
                document.write(">"+i+"</option>");
            }
            document.write("</select>");
           
      }
      ////////////////////////
      
      function js_one_bl_list(curTime,idUser,typeImg,nameUser,ageUser,heightUser,City,Country){
     
              document.write('<Td>'+
                             '<A Href="?check=lookuser&id_user='+idUser+'" style="color:#1e6476">'+
                             '<Img Src="images/jpg.phtml?'+typeImg+':'+idUser+':2:'+curTime+':1" Border=0 Width=112 Height=132><br>'+
                             '<font color=#CC0000>#'+idUser+'</font> <b>'+nameUser+'</b> '+ageUser+'<br>'+
                             cm_fut(heightUser)+'<br>'+
                             City+', '+Country+'</A>'+
                             '</Td>');
      }