﻿// JavaScript Document
<!--

var meObj_01,lastScrollY=0;

function theInitFun_01(id,_top,_type,_xlr)
{
	meObj_01=document.getElementById(id);
	var bodyObj=document.body;
	var docObj=document.documentElement;
	meObj_01.style.top=_top?(_top+'px'):0;
	meObj_01.style.position='absolute';
	if(_type==1)
	{
		meObj_01.style.left=_xlr?(_xlr+'px'):0;
	}
	else
	{
		meObj_01.style.right=_xlr?(_xlr+'px'):0;
	}
	
	setInterval(function (){
							var thePercent=(Math.max(bodyObj.scrollTop,docObj.scrollTop)+_top-parseInt(meObj_01.style.top))*0.1;
							if(thePercent>0)
							{
								thePercent=Math.ceil(thePercent);
							}
							else
							{
								thePercent=Math.floor(thePercent);
							}
						  	meObj_01.style.top=parseInt(meObj_01.style.top)+thePercent+'px';
						  },10+parseInt(Math.random()*20));
}

function outerClose_01()
{
	if(meObj_01)
	{
		meObj_01.style.display="none";
	}
}

//-->
