/********************************************************************************
Top-page button
********************************************************************************/

			var myplatform = navigator.userAgent;
			var platform;
			if (myplatform.indexOf('Mac') !=-1)  {
				platform = 'mac';
			} else {
				platform = 'win';
			}


			function BackToTop()
			{
				if (document.getElementById)
				{ scrollTo (0,0) ; }
			}
			
			function floating () {
				if (document.all) {
					
					if (platform == 'mac')
					{	
					}
					else
					{
						document.all.pagetop.style.pixelTop = document.body.clientHeight - 40 + document.body.scrollTop;
					}
				}
				else if (document.layers) {
					document.pagetop.top = window.innerHeight - 53 + window.pageYOffset;
				}
				else if (document.getElementById) {
					document.getElementById('pagetop').style.top = window.innerHeight - 58 + window.pageYOffset + 'px';
				   }
			}

			function initfloatingimage () {
				
				if (document.all) {
					document.all.pagetop.style.pixelLeft = 706; //document.body.clientWidth - document.all.pagetop.offsetWidth - 120; //760;
					if (platform == 'mac')
					{
						document.all.pagetop.style.visibility = 'hidden';
					}
					else
					{
						document.all.pagetop.style.visibility = 'visible';
					}
				}
				else if (document.layers) {
					document.pagetop.left = 706;//window.innerWidth - document.pagetop.clip.width - 25;
					document.pagetop.visibility = 'show';
				}
				else if (document.getElementById) {
					document.getElementById('pagetop').style.left = 706;// (window.innerWidth - 45) + 'px';
					document.getElementById('pagetop').style.visibility = 'visible';
				   }
				}

			if (document.all)
				window.onscroll = floating;
			else
				setInterval ('floating()', 60);
			
