// JavaScript Document
goSdvig='';
function rzOrFull(napr){
	window.clearInterval(goSdvig);
	goSdvig = window.setInterval("dvig("+napr+")",10);
	}
function dvig(whr){
	val=document.getElementById('filled').style.width;
	//val=val.substr(0,(val.lngth-3));
	if(val==0||val=='') val=455;
	val=parseInt(val,10)
		if(whr==1&&val<=665){
			document.getElementById('filled').style.width=(val+10)+'px';
			}
		else if(whr==2&&val>=245){
			document.getElementById('filled').style.width=(val-10)+'px';
			}
		else if(whr==3&&val>455){
			document.getElementById('filled').style.width=(val-10)+'px';
			}
		else if(whr==3&&val<455){
			document.getElementById('filled').style.width=(val+10)+'px';
			}	
		else window.clearInterval(goSdvig);
	}
