
<!--
//	Tools.js
//    JAVASCRIPT INCLUDE FILe
//    Script by Howard Chen
//    Browser Compatible for this script: IE 3.02 or Higher
//                                        Netscape 3.0 or Higher
//    Get more JavaScripts at http://start.at/javascripts/
//    Bug report to jdeveloper@telebot.net
//    This script is free as long as you keep its credits
var theDay = new Date("April 15, 2001")           //The day that you want to solve that it's how long from now.
//========================DO NOT MODIFY THE CODES BELOW THIS LINE========================
function countdown()
{
//var ut = document.clock.unit.options[document.clock.unit.selectedIndex].value

var DayTill 
var today = new Date()                          //Create an Date Object that contains today's date.
var second = Math.floor((theDay.getTime() - today.getTime())/1000)
/*Use getTime() to get the milisecond (1/1000 of a second) from now to theDay.
and devide it into 1000 to get the seconds from now to theDay.*/

var minute = Math.floor(second/60)              //Devide "second" into 60 to get the minute
var hour = Math.floor(minute/60)                //Devide "minute" into 60 to get the hour
var day = Math.floor(hour/24)                   //Devide "hour" into 60 to get the day

countdown = day+1
return countdown
}


function detectBrowser() {

    var version = parseInt(navigator.appVersion);
	
    if(navigator.userAgent.substring(0,8) == "Mozilla/")
	  {
      if (navigator.userAgent.indexOf("MSIE") == -1) 
	         return false
	  else
	  		return true
	  }
         
    else 
      return false
}

var cnt = 0;
var intNum;

function init() {
	intNum = window.setInterval("moveText()", 100);
}
function moveTextBack() {
	
	sc1.style.pixelLeft -= 2;

	cnt++;
	if (40 == cnt) {
		window.clearInterval(intNum);

	}
}
function moveText() {
	sc1.style.pixelLeft += 2;

	cnt++;
	if (40 == cnt) {
		window.clearInterval(intNum);
		cnt = 0;
		intNum = window.setInterval("moveTextBack()", 100);
	}
}

