
	 // Math.pow(i*10,2)*0.001 - ускорение
	 // Math.sqrt(i*10)*30 - торможение

    function toStartOnTPage(){
	nx_b=nx_d.TAG('body')[0];
	var pageHeight=nx_b.scrollHeight,
	    partsCount=70,
	    partLength=pageHeight/partsCount;
	for(var i=1,T=null;i<partsCount+1;i++)
	    T=setTimeout('nx_move_V('+(partLength*i)+')',Math.sqrt(i*10)*30)}

    function toStartOnRPage(){
	nx_b=nx_d.TAG('body')[0];
	window.scroll(0,nx_b.scrollTop)}

    function nx_move_V(offset){window.scroll(nx_b.scrollLeft,offset)}
    function nx_move_H(offset){window.scroll(offset,nx_b.scrollTop)}
