var homeNorm = new Image(59,55);
homeNorm.src = "images/homebutton.gif";
var homeOver = new Image(59,55);
homeOver.src = "images/homebutton_over.gif";

var infoNorm = new Image(60, 55);
infoNorm.src = "images/infobutton.gif";
var infoOver = new Image(60, 55);
infoOver.src = "images/infobutton_over.gif";

var flipsideNorm = new Image(60, 55);
flipsideNorm.src = "images/flipbutton.gif";
var flipsideOver = new Image(60, 55);
flipsideOver.src = "images/flipbutton_over.gif";

var mediaNorm = new Image(60, 55);
mediaNorm.src = "images/mediabutton.gif";
var mediaOver = new Image(60, 55);
mediaOver.src = "images/mediabutton_over.gif";

var linksNorm = new Image(58, 55);
linksNorm.src = "images/linksbutton.gif";
var linksOver = new Image(58, 55);
linksOver.src = "images/linksbutton_over.gif";

var homeTitle = new Image(180, 49);
homeTitle.src= "images/hometitle.gif"
var infoTitle = new Image(180, 49);
infoTitle.src= "images/infotitle.gif"
var flipsideTitle = new Image(180, 49);
flipsideTitle.src = "images/flipsidetitle.gif";
var linksTitle = new Image(180, 49);
linksTitle.src = "images/linkstitle.gif";
var mediaTitle = new Image(180, 49);
mediaTitle.src = "images/mediatitle.gif";
var onHomeTitle = new Image(180, 49);
onHomeTitle.src = "images/onhometitle.gif";
var onInfoTitle = new Image(180, 49);
onInfoTitle.src = "images/oninfotitle.gif";
var onMediaTitle = new Image(180, 49);
onMediaTitle.src = "images/onmediatitle.gif";
var onLinksTitle = new Image(180, 49);
onLinksTitle.src = "images/onlinkstitle.gif";
var onFlipTitle = new Image(180, 49);
onFlipTitle.src = "images/onfliptitle.gif";

function imgOn(imgName) 
{
  if (document.images) 
    document[imgName].src = eval(imgName + "Over.src");
}

function imgOff(imgName) 
{
  if (document.images)
    document[imgName].src = eval(imgName + "Norm.src");
}

function imgOn2(imgName, imgName2) 
//displays image other than one being mouse overed
{
   if (document.images) 
  {
   document[imgName].src = eval(imgName2+"Title.src");
  }
}

function getQOTD()
{
 var length=14; //number of quotes
 quotes = new Array(length);

 for (i=0; i < length; i++) 
 {
  quotes[i] = new Array(2);//2-d array, [quote][author]
 }

  quotes[0][0] = "See cows live under fear and stress, <BR> Trying to think what's gonna happen next, <BR> Fear and stress can become a part of you, <BR>In your cells and blood, this is true";
  quotes[0][1] = "Boogie Down Productions";
  quotes[1][0] = "The cow doesn't grow fast enough for man, <BR>So through his greed he makes a faster plan, <BR>He has drugs to make the cow grow quicker, <BR>Through the stress the cow gets sicker";
  quotes[1][1] = "Boogie Down Productions";
  quotes[2][0] = "Twenty-one different drugs are pumped, <BR>Into the cow in one big lump, <BR>So just before it dies, it cries, <BR>In the slaughterhouse full of germs and flies, <BR>Off with the head, they pack it, drain it, and cart it, <BR>And there it is, in your local supermarket, <BR>Red and bloody, a corpse, neatly packed, <BR>And you wonder about heart attacks?";
  quotes[2][1] = "Boogie Down Productions";
  quotes[3][0] = "A rich man is one with knowledge, happiness and his health, <BR>My mind had dealt with the books of Zen, Tao the lessons, <BR>Koran and the Bible, to me they all vital, <BR>And got truth within 'em, gotta read them boys, <BR>You just can't skim 'em, different branches of belief, <BR>But one root that stem 'em, but people of the venom try to trim 'em ";
  quotes[3][1] = "Common Sense";
  quotes[4][0] = "It should be a natural way of life, <BR>Who am I or they to say to whom you pray ain't right, <BR>That's who got you doin right and got you this far, <BR>Whether you say 'in Jesus name' or Hum do Allah, <BR>Long as you know it's a bein' that's supreme to you, <BR>You let that show towards others in the things you do"; 
  quotes[4][1] = "Common Sense";
  quotes[5][0] = "He gave birth to all planets, inorganic, and organic, <BR>So you wouldn't take it for granted, <BR>They rotated they own distance around the sun, <BR>And fully submit to the existance of one";
  quotes[5][1] = "Rakim";
  quotes[6][0] = "We went according by the laws of the world above, <BR>They showed us physically, we could reach infinity, <BR>But mentally, through the century we lost our identity, <BR>Life start and ending, we got trife and started sinning, <BR>Lost touch with the beginning now ciphers stop spinnin, <BR>And what was once easy became confused and hard, <BR>Which brings us back, to the mystic question, who is God?";
  quotes[6][1] = "Rakim";
  quotes[7][0] = "My body is cold steel for real, <BR>I was made to kill that's why they keep me concealed, <BR>Under car seats they sneak me in clubs, <BR>Been in the hands of the mad thugs, <BR>They feed me when they load me with mad slugs, <BR>Seventeen precisely, one in my head, <BR>They call me Desert Eagle semi-auto with lead";
  quotes[7][1] = "Nas";
  quotes[8][0] = "I got niggas heads dividing faster than nerds at a calulus convention, <BR>See I school niggas, then I after-school niggas like detention";
  quotes[8][1] = "Ras Kass";
  quotes[9][0] = "I pulverize MC's and blow up mics, <BR>From street corner cyphers to international web sites, <BR>I'll run up on you and set it for no reason, <BR>My flows are like body-blows that cause internal bleeding, <BR>Cause I'm the baddest motherfucker, above average, <BR>With alien deoxyribonucleic acid, <BR>A blood sport, with metaphors of all sorts, <BR>So fly I need a pass port just to walk";
  quotes[9][1] = "Canibus";
  quotes[10][0] = "I'm strong enough to throw a bullet faster than a gun can shoot it, <BR>So if you try to battle me face-to-face, <BR>I'll bring your career to a stop quicker than anti-lock brakes";
  quotes[10][1] = "Canibus";
  quotes[11][0] = "And while you niggas is babblin,<BR> My lyrics is travelin', <BR>Like a javelin, <BR>To stab you in the abdomen";
  quotes[11][1] = "Canibus";
  quotes[12][0] = "Now get this, these emcees wanna test me like litmus, bear witness<BR> I'm like shot clocks, interstate cops, and blood clots<BR> My point is, your flow can stop!"; 
  quotes[12][1] = "Black Star";
  quotes[13][0] = "Caught up, in conversations of our personal worth<BR> Brought up, through endangered species status on the planet Earth<BR> Survival tactics means, bustin gats to prove you hard<BR> Your firearms are too short to box with God<BR> Without faith, all of that is illusionary <BR> Raise my son, no vindication of manhood necessary";
  quotes[13][1] = "Black Star";

var temp=Math.random()*(quotes.length-1);
index=Math.round(temp);
document.write("" + quotes[index][0] + "<BR> <I> " + quotes[index][1] + "</I>");

}


function date_ddmmmyyyy(date)
{
  var d = date.getDate();
  var m = date.getMonth() + 1;
  var y = date.getYear();

  var mmm=( 1==m)?'Jan':( 2==m)?'Feb':(3==m)?'Mar':( 4==m)?'Apr':( 5==m)?'May':(6==m)?'Jun':( 7==m)?'Jul':( 8==m)?'Aug':(9==m)?'Sep':(10==m)?'Oct':(11==m)?'Nov':'Dec';

  return ""+(d<10?"0"+d:d)+"-"+mmm+"-"+(y<1000?1900+y:y);
}


function date_lastmodified()
{
  var lmd = document.lastModified;
  var s   = "Unknown";
  var d1;

  // check if we have a valid date
  if(0 != (d1=Date.parse(lmd)))
  {
    s = "" + date_ddmmmyyyy(new Date(d1));
  }

  return s;
}



