<!--  
     var curMenu;
     var curSel1;
     var curNoSel1;
     var curSel1;
     var curNoSel1;
     var intCur;
     var script_work;


     function versions(){

	if (navigator.appName == "Netscape"){
		script_work=0;
	}else{
		if ((navigator.appVersion.charAt(0)=="4") || (navigator.appVersion.charAt(0)=="5")){
			script_work=1;
		}else{
			script_work=0;
		}
	}		

     }     

     function version(){
	


	if (navigator.appName == "Netscape"){
		script_work=0;
	}else{
		for (i=0; i<=document.all.length;i++){
			if (document.all[i].rel=="stylesheet"){
				document.all[i].href="./main.css";
				break;
			}

		}
		main_table.height="100%";


		if (current_date.innerHTML=="............"){
			now = new Date();
			current_date.innerHTML = now.toLocaleString();       
		}


		if ((navigator.appVersion.charAt(0)=="4") || (navigator.appVersion.charAt(0)=="5")){
			script_work=1;
		}else{
			script_work=0;
		}
	}		

     }     


     function mset(mname, mtname) {
        mname.style.backgroundColor='#339933';
        mtname.style.color='#ffffff';

     }
      

     function set_select_id(hid_inp, val)  {
        hid_inp.value = val;
     }
     
     function switcher(vis, hid){
	hid.style.display="none";
	hid.style.visibility="hidden";
	vis.style.display="inline";
	vis.style.visibility="visible";

     }
    
     function mreset(mrename, mtrename) {

        mrename.style.backgroundColor='#eaeaea';
        mtrename.style.color='#000000';

     }
     
     function bset(bname, btname) {

        bname.style.backgroundColor='#ffcc33';
        btname.style.color='#000000';

     }
     function breset(brename, btrename) {

        brename.style.backgroundColor='#339933';
        btrename.style.color='#ffffff';

     }
     
     function buttonset(btname, tdname) {

        btname.style.backgroundColor='#ffcc33';
        btname.style.color='#000000';
        tdname.style.backgroundColor='#ffcc33';

     }

     function buttonreset(btrename, tdname) {

        btrename.style.backgroundColor='#339933';
        btrename.style.color='#ffffff';
        tdname.style.backgroundColor='#339933';

     }

     function Vote(sValue){

	var aCookie = document.cookie.split("; ");
	var d, n;
	

	for(var i=0; i<aCookie.length;i++){
		var aCrumb = aCookie[i].split("=");
		if ((aCrumb[0] == 'vote') && (aCrumb[1] == sValue) ){
		        alert('Повторное голосование не учитываетс');
			return false;

		}
      
	}
        
        d = new Date();
	n = d.getDate();
	d.setDate(n+30);        
	document.cookie="vote="+escape(sValue)+"; expires=" + d.toGMTString();
 
	return true;

    }


    function comp(user, pass1, pass2, email){
        var str = email.value;

       	if (user.value==""){
		alert("Им_ пользовател_ не должно быть пустым");
		return false;
	}
	
	if (str.indexOf("@")==-1){
		alert("Введите адрес e-mail еще раз");
		return false;
	}

	if ((pass1.value == pass2.value) && pass1.value !=""){

		return true;		
	}else{
		alert("Введите пароль еще раз");
		return false;
	}

	

    }
   
//-->
  
   
