

function onLoadNomap(){
	mapWidthCenteringNomap();
	OSK_moviMapNomap();
	OSK_onLoaded = true;
}

function OSK_moviMapNomap(){
	
	var PosLeft;
	var PosTop;
	
	clearTimeout(timerID);
	timerID = setTimeout("OSK_moviMapNomap()",10);
	
	if(document.all){
		PosLeft = document.body.parentNode.scrollLeft;
		PosTop = document.body.parentNode.scrollTop;
	}
	else if(document.layers){
		PosLeft = window.pageXOffset;
		PosTop = window.pageYOffset;
	}
	else if(document.getElementById){
		PosLeft = window.pageXOffset;
		PosTop = window.pageYOffset;
	}
	
	OSK_tay = PosTop + OSK_ofy;
	OSK_say = OSK_say + (OSK_tay - OSK_say) / 6;
	
	moveLAYER(OSK_floater,OSK_x,OSK_say);
}

function mapWidthCenteringNomap(){
	var setx = getINNERWIDTH() / 2 + OSK_centerBafNomap + OSK_dec;
	if(getINNERWIDTH() < OSK_contetsWith){
		setx = OSK_contetsWith / 2 + OSK_centerBafNomap + OSK_dec;
	}
	OSK_x = setx;
	moveLAYER(OSK_floater,OSK_x,OSK_say);
}


function moveLAYER(idName,x,y){
	
    if(document.getElementById){
     	document.getElementById(idName).style.left = x+'px';
     	document.getElementById(idName).style.top = y+'px';
    }
    else if(document.all){
     	document.all(idName).style.pixelLeft = x;
     	document.all(idName).style.pixelTop = y;
    }
    else if(document.layers){
     	document.layers[idName].moveTo(x,y);
	}
}

function getINNERWIDTH(){
	if(window.opera){
		return window.innerWidth;          //o6,o7
	}else if(document.all){
		return document.body.clientWidth;  //e4,e5,e6
	}else if(document.layers){
		return window.innerWidth;          //n4
	}else if(document.getElementById){
		return  window.innerWidth;         //n6,n7,m1,s1
	}
	return null;
}

function getINNERHEIGHT(){
	if(window.opera){
		return window.innerHeight;         //o6,o7
	}else if(document.all){
		return document.body.clientHeight; //e4,e5,e6
	}else if(document.layers){
		return  window.innerHeight;        //n4
	}else if(document.getElementById){
		return window.innerHeight;         //n6,n7,m1,s1
	}
	return null;
}