			function sec2rDate(sec) {
        var d = new Date(sec*1000);
				var day = d.getDate();
 				if (day < 10) day = "0" + day;
 				var month = d.getMonth()+1;
 				if (month < 10) month = "0" + month;
        return (day+"."+month+"."+d.getFullYear());
			}
		
 			function eXcell_rusDate(cell){
 				if (cell){                                       
          this.cell = cell;
          this.grid = this.cell.parentNode.grid;
      	}
      	this.edit = function(){}                    
      	this.isDisabled = function(){ return true; }
      	this.setValue=function(val){
          this.setCValue(sec2rDate(val));
      	}
  		}
  		eXcell_rusDate.prototype = new eXcell;
 			function eXcell_rusDateTime(cell){
 				if (cell){                                       
          this.cell = cell;
          this.grid = this.cell.parentNode.grid;
      	}
      	this.edit = function(){}                    
      	this.isDisabled = function(){ return true; }
      	this.setValue=function(val){
          var d = new Date(val*1000);
					var day = d.getDate();
 					if (day < 10) day = "0" + day;
 					var month = d.getMonth()+1;
 					if (month < 10) month = "0" + month;					
					var h = d.getHours();
					if (h < 10) h = "0" + h;
					var m = d.getMinutes();
					if (m < 10) m = "0" + m;
          this.setCValue(day+"."+month+"."+d.getFullYear()+" "+h+":"+m);
      	}
  		}
  		eXcell_rusDateTime.prototype = new eXcell;
