<!--
// this JavaScript coding by Peter LaQuerre

function chooseTheTip() {
   var today = new Date()
   var todaysDate = today.getDate()

   if (todaysDate > 24) {
	   if (todaysDate < 29) {
                 newDate = todaysDate - 24
                 todaysDate = newDate
               } else {
	             newDate = todaysDate - 28
	             todaysDate = newDate
	   }
   }

   if (todaysDate < 10) {
                 theTipURL = "dailytip_00" + todaysDate + ".html"
	         } else {
                 theTipURL = "dailytip_0" + todaysDate + ".html"
	}

   window.location="/commercial/teamlinks/daily_tip/" + theTipURL
}
<!-- Rollover JavaScript functions relies on image replacement feature of JavaScript 1.1

var iversion = -1;
function version() {
        if (iversion != -1) return iversion;
        if(navigator.appName.indexOf("Netscape") != -1){
                if (navigator.userAgent.indexOf("Mozilla/2.0") != -1)
                                                iversion = 2;
                        else
                            if (navigator.userAgent.indexOf("Mozilla/3.0") != -1)
                                                        iversion = 3;
                                        else
                                        if (navigator.userAgent.indexOf("Mozilla/4") != -1)
                                                iversion = 4;
                                        else
                                            iversion = 1;
        }  else {  // Not netscape.
                if(navigator.appName.indexOf("Internet Explorer") != -1){
                     if (navigator.userAgent.indexOf("Mozilla/4") != -1)
                                iversion = 4;
                         else
                            iversion = 1;
                     } else
                        iversion = 1;
               }
        return iversion;
}
if (3 <= version()) {
  homeon = new Image (102,13);
  homeon.src = "/commercial/teamlinks/images/but-home2.gif";
  homeoff= new Image (102,13);
  homeoff.src = "/commercial/teamlinks/images/but-home.gif";
  ovron = new Image(58,13);
   ovron.src = "/commercial/teamlinks/images/but-overview2.gif";
	ovroff = new Image(58,13);
	ovroff.src = "/commercial/teamlinks/images/but-overview.gif";
   featon = new Image(74,13);
   featon.src = "/commercial/teamlinks/images/but-newftur2.gif";
	featoff = new Image(74,13);
	featoff.src = "/commercial/teamlinks/images/but-newftur.gif";
   downon = new Image(64,13);
   downon.src = "/commercial/teamlinks/images/but-downld2.gif";
	downoff = new Image(64,13);
	downoff.src = "/commercial/teamlinks/images/but-downld.gif";
   dison = new Image(53,13);
   dison.src = "/commercial/teamlinks/images/but-discuss2.gif";
	disoff = new Image(53,13);
	disoff.src = "/commercial/teamlinks/images/but-discuss.gif";
   tipon = new Image(83,13);
   tipon.src = "/commercial/teamlinks/images/but-tipday2.gif";
	tipoff = new Image(83,13);
	tipoff.src = "/commercial/teamlinks/images/but-tipday.gif";
}
function rollon(imgName) {
        if (3 <= iversion) {
        imgOn = eval(imgName + "on.src");
        document[imgName].src = imgOn;
        }
}
function rolloff(imgName) {
        if (3 <= iversion) {
        document[imgName].src = eval(imgName + "off.src");
        }
}

// This JavaScript based on examples in Danny Goodman's "JavaScript Bible"
 function MakeArray(n) {
	this.length = n
	return this
}
monthNames = new MakeArray(12)
monthNames[1] = "January"
monthNames[2] = "February"
monthNames[3] = "March"
monthNames[4] = "April"
monthNames[5] = "May"
monthNames[6] = "June"
monthNames[7] = "July"
monthNames[8] = "August"
monthNames[9] = "September"
monthNames[10] = "October"
monthNames[11] = "November"
monthNames[12] = "December"
dayNames = new MakeArray(7)
dayNames[1] = "Sunday"
dayNames[2] = "Monday"
dayNames[3] = "Tuesday"
dayNames[4] = "Wednesday"
dayNames[5] = "Thursday"
dayNames[6] = "Friday"
dayNames[7] = "Saturday"

function customDateString(oneDate) {
	var theDay = dayNames[oneDate.getDay() + 1]
	var theMonth = monthNames[oneDate.getMonth() + 1]
	var theYear = oneDate.getYear() 
	if (theYear < 2000) theYear = theYear + 1900
	return theDay + ", " + theMonth + " " + oneDate.getDate() + ", " + theYear
}

function isItNavigatorV3() {
	var browserName = navigator.appName
	var browserVersion = navigator.appVersion.charAt(0)
	if (browserName == "Netscape") {
		if (browserVersion > 2) {
			return true
		} else {
			return false
		}
	} else {
		return false
	}
}


function checkForShockwave() {
	for (var i = 0; i < navigator.plugins.length; i++) {
		if (navigator.plugins[i].name == "Shockwave for Director") {
			return true
			break
		}
	}
	return false
}


function doTheRightThing() {
	if (isItNavigatorV3() == true) {
		var shockWaveCheck = checkForShockwave()
		if (shockWaveCheck == true) {
			window.location = "/commercial/teamlinks/new_features/newfeat_intro.html"
		} else {
			window.location = "/commercial/teamlinks/new_features/no_shockwave.html"
		}
	} else {
		window.location = "/commercial/teamlinks/new_features/ie_nav2_newfeat.html"
	}
}
//-->
