/*
bver=navigator.appVersion.split(";");
function totdstart(){
if(bver[1].match("5."))
rv=window.showModalDialog("totd.html",null,"dialogWidth:430px;dialogHeight:280px;center:1;scroll:0;help:0;status:0");
else
rv=window.showModalDialog("totd.html",null,"dialogWidth:430px;dialogHeight:300px;center:1;scroll:0;help:0");
nd= new Date();
nd.setTime (nd.getTime()+(365*24*60*60*1000));
cdomain = (location.domain) ? location.domain : null;
cpath = (location.domain) ? location.pathname : null;
if (rv!=0)
SetCookie ("totdc", "true", nd, cpath, cdomain);
}

function totdinit(){
if (document.all){
if (GetCookie("totdc")!="true")
totdstart()
else
document.body.insertAdjacentHTML('beforeEnd','<Div Id="etotd" style="width:140;position:absolute;top:0;left:0;BACKGROUND-COLOR:#B71717;BORDER-BOTTOM:#5C0000 solid 2px;BORDER-LEFT:#FE5E5E solid 2px;BORDER-RIGHT:#5C0000 solid 2px;BORDER-TOP:#FE5E5E solid 2px;font-family:Arial;font-size:8pt;font-weight:bold;text-align:center;padding-top:2px;padding-bottom:2px;color:#FFFFFF;cursor:default" onclick="enable()" onmouseover="mover()" onmouseout="mout()">Enable Tip of the Day</Div>');
}
}

function enable(){
DeleteCookie("totdc");
etotd.innerHTML="Tip of the Day enabled";
setTimeout('etotd.style.visibility="hidden";totdstart()',1000);
}

function mover(){
etotd.style.borderLeftColor="#5C0000";
etotd.style.borderRightColor="#FE5E5E";
etotd.style.borderBottomColor="#FE5E5E";
etotd.style.borderTopColor="#5C0000";
etotd.style.paddingLeft="1px";
etotd.style.paddingTop="3px";
}

function mout(){
etotd.style.borderLeftColor="#FE5E5E";
etotd.style.borderRightColor="#5C0000";
etotd.style.borderBottomColor="#5C0000";
etotd.style.borderTopColor="#FE5E5E";
etotd.style.paddingLeft="0px";
etotd.style.paddingTop="2px";
}

//  Cookie Functions - Second Helping  (21-Jan-96)
//  Written by:  Bill Dortch, hIdaho Design <bdortch@netw.com>
//  The following functions are released to the public domain.

function getCookieVal (offset) {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1)
    endstr = document.cookie.length;
  return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
  var arg = name + "=";
  var alen = arg.length;
  var clen = document.cookie.length;
  var i = 0;
  while (i < clen) {
    var j = i + alen;
    if (document.cookie.substring(i, j) == arg)
      return getCookieVal (j);
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break; 
  }
  return null;
}

function SetCookie (name, value) {
  var argv = SetCookie.arguments;
  var argc = SetCookie.arguments.length;
  var expires = (argc > 2) ? argv[2] : null;
  var path = (argc > 3) ? argv[3] : null;
  var domain = (argc > 4) ? argv[4] : null;
  var secure = (argc > 4) ? argv[5] : false;
  document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain));
}

function DeleteCookie(name){
exp=new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie ("name");
document.cookie = name + "=" + cval +"; expires=" + exp.toGMTString();
}*/
//Jefs Array
function showText(){
	todmsg=new Array();

// Add below your tips (Do not edit anything above this line !!!!)
todmsg[0]="Save a Life – Adopt a Homeless Pet"
todmsg[1]="Too Many Cats & Dogs, Not Enough Homes. Spay or Neuter."
todmsg[2]="Don’t Litter. Neuter or Spay."
todmsg[3]="Don’t Breed or Buy While Homeless Pets Die."
todmsg[4]="Find a New Friend at Your Local Shelter. Adopt a Homeless Pet."
todmsg[5]="Pet Overpopulation is a Problem You Can Help Solve. Spay or Neuter Your Pets."
todmsg[6]="There Aren’t Enough Homes for Them All. Spay or Neuter Your Pet."
todmsg[7]="Since there aren’t enough homes for them all, please have your cats & dogs neutered or spayed."
todmsg[8]="Stop Overpopulation. Spay or Neuter Your Pets."
todmsg[9]="Please Don’t Litter. Spay or Neuter Your Critters."
todmsg[10]="Please Act Responsibly. Have Your Pet Spayed or Neutered."
todmsg[11]="Stop Pet Overpopulation: Adopt Your Next Best Friend. Spay & Neuter Your Pets."
todmsg[12]="I save lives! I support spay/neuter!"
todmsg[13]="Please consider a rescue pet before you buy a dog or cat from a breeder or pet store. Save a life!"
todmsg[14]="Protect your pet from being lost - ask your vet about microchipping"
todmsg[15]="Did you know? It is safe to spay/neuter your puppy/kitten as young as 8 weeks old."
todmsg[16]="Don’t chain or tether your dog. It allows no opportunity for exercise and socialization, and    when done for long periods of time can lead to behavior problems."
todmsg[17]="Don't chain friends, bring dogs inside."
todmsg[18]="Life sentence, no parole: a chained dog can only watch as life goes by."
todmsg[19]="One dog, her puppies & their offspring can produce more than 60,000 puppies in 6 years! There aren’t enough homes for them all. Please spay or neuter your pets."
todmsg[20]="One cat, her kittens & their offspring can produce more than half a million cats in a little more than 7 years! There aren’t enough homes for them all. Please spay or neuter your pets."
todmsg[21]="Pets are for life. Dogs can live an average of 10-14 years; cats an average of 15-18 years."
todmsg[22]="Save Lives. Spay or Neuter."
todmsg[23]="Be Humane. Neuter or Spay."


	//document.write("starting script");
	count=todmsg.length;
	x=99;
	//document.write(x);
	while(x > count)
	{
		
		x=Math.random()*100;
		x=Math.ceil(x);
		//document.write(x);
		//document.write(" ");
		
	}
	document.write(todmsg[x]);
}