function pano(pos) {
	var w;
	if (self.innerHeight) // !IE
	{
		w = self.innerWidth;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// IE 6 Strict Mode
	{
		w = document.documentElement.clientWidth;
	}
	else if (document.body) // other Explorers
	{
		w = document.body.clientWidth;
	}	

	var max=2266-w;
	var endP=Math.round(max/10)*(pos-1);
	document.getElementById('header').style.backgroundPosition="-"+endP+"px top";
}
