/*************************************************************************
  This code is from Dynamic Web Coding at www.dyn-web.com
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  Permission granted to use this code 
  as long as this entire notice is included.
*************************************************************************/

function initStatLyr() {
	// args: id, left, top, w, h, duration of glide to location onscroll, acceleration factor
 	// acceleration factor should be -1 to 1. -1 is full deceleration
	var resW = screen.width;
	if(resW == "1024") {margen_banner = 785 + 122;}

	if(resW == "1152") {margen_banner = 785 + 177;}

	if(resW == "1280") {margen_banner = 785 + 245;}

	if(resW == "1400") {margen_banner = 785 + 307;}

	if(resW == "1440") {margen_banner = 785 + 326;}

	if(resW == "1600") {margen_banner = 785 + 406;}

	if(resW == "1680") {margen_banner = 785 + 445;}
	
	if(resW == "1920") {margen_banner = 785 + 565;}
	
	var statLyr = new Glider("glideDiv",margen_banner,20,null,null,1000,-1);
  	statLyr.show();
}

window.onload = initStatLyr;

