function positionViewer(){
	var x,y;
	if (self.innerHeight) // all except Explorer
	{
	x = self.innerWidth;
	y = self.innerHeight;
	}
	
	else if (document.documentElement.clientHeight)
	// document.documentElement && Explorer 6 Strict Mode
	{
	x = document.documentElement.clientWidth;
	y = document.documentElement.clientHeight;
	}
	
	else if (document.body) // other Explorers
	{
	x = document.body.clientWidth;
	y = document.body.clientHeight;
	}
	
	else if (x > 870){
	var scrollOffset;
	scrollOffset = 1075 - ((x - 870) /2);
	}
	else{
	scrollOffset = 1045;  
	}
	//window.scrollTo(scrollOffset,0);
	window.scrollTo(0,0);
}

function MM_callJS(jsStr) { //v2.0
	return eval(jsStr)
	}

function goToLink( x_pos,  y_pos)
	{
	window.scrollTo(x_pos, y_pos);
	}

window.addEvent('domready',function() {
	new SmoothScroll({ duration:3000 }, window);
});
