document.write("<table width='100%' height='100%' border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr><td align='center' valign='center'>");
//document.write("<table border='0' cellspacing='0' cellpadding='0' height='320' align='center'><tr><td valign='top' align='center'>");

//check if been to the site before. If yes (currentCount > 0), then go to homepage without intro animation. If no (currentCount < 1), then go to intro animation.
//have not been before
var currentCount = Count();
if (currentCount < 2) {
document.write("<div>Welcome!</div>")
When()
setTimeout("redirectSplash();", 2000)
//check if been to the site more than once
} else if (currentCount >= 2) {
document.write("<div>Welcome Back!</div>")
setTimeout("redirectHome();", 2000)


/* this is a script that redirects based on an even or odd number of visits

var oddEven; 
oddEven = currentCount; 
oddEven = parseFloat(oddEven); 
document.write("<img src='images/entryWelcome2_1.gif' border='0'><br>")
//document.write("<span class='intro'>You appear to have visited " + currentCount + " times.<br><br>Your last visit was on <b>" + When() +"</b>.</span>");
document.write("<span class='intro'>Your last visit was on " + When() +".</span>")
//check if number is even
if ((oddEven % 2) == 0) { 
setTimeout("redirectHome();", 3000)
} 
//if a number is not even, it must be odd
else if ((oddEven % 2) != 0) {
setTimeout("redirectSplash();", 3000)
}
*/


}
//document.write("</td></tr><tr><td valign='bottom' height='67'>");
//document.write("<img src='images/entryWelcomeLogoFooter.gif' border='0'></td></tr></table>");
document.write("</td></tr></table>");