if (document.images)
{

 navBynightN = new Image(121,22); navBynightN.src = "images/Nav/bynight_off.jpg";
 navBynightO = new Image(121,22); navBynightO.src = "images/Nav/bynight_on.jpg";
 
 navDestN = new Image(72,22); navDestN.src = "images/Nav/destination_off.jpg";
 navDestO = new Image(72,22); navDestO.src = "images/Nav/destination_on.jpg";
 
 navFashionN = new Image(128,22); navFashionN.src = "images/Nav/fashion_off.jpg";
 navFashionO = new Image(128,22); navFashionO.src = "images/Nav/fashion_on.jpg";
 
 navGearN = new Image(72,22); navGearN.src = "images/Nav/gear_off.jpg";
 navGearO = new Image(72,22); navGearO.src = "images/Nav/gear_on.jpg";

 navLifeN = new Image(72,22); navLifeN.src = "images/Nav/life_off.jpg";
 navLifeO = new Image(72,22); navLifeO.src = "images/Nav/life_on.jpg";
 
 navSpeedN = new Image(72,22); navSpeedN.src = "images/Nav/speed_off.jpg";
 navSpeedO = new Image(72,22); navSpeedO.src = "images/Nav/speed_on.jpg";
 
 navHomeN = new Image(72,22); navHomeN.src = "images/Nav/home_off.jpg";
 navHomeO = new Image(72,22); navHomeO.src = "images/Nav/home_on.jpg";


//-channel definitions-

// get the month//
var mmonth,d,myear,mtg
var days
d = new Date()    //today's date
mmonth=d.getMonth()+1
myear=d.getYear()
if (mmonth<10){mmonth="0"+mmonth}
mtg = new String(myear)    //calculate days and convert to string
myear=mtg.substring(2,4) 

 destination = new Image(121,22); destination.src = "images/channels/destination/"+mmonth+myear+"_destination_sub.jpg";

 bynight = new Image(121,22); bynight.src = "images/channels/bynight/"+mmonth+myear+"_bynight_sub.jpg";
 gear = new Image(121,22); gear.src = "images/channels/gear/"+mmonth+myear+"_gear_sub.jpg";
 life = new Image(121,22); life.src = "images/channels/life/"+mmonth+myear+"_life_sub.jpg";
 speed = new Image(121,22); speed.src = "images/channels/speed/"+mmonth+myear+"_speed_sub.jpg";
 fashion = new Image(121,22); fashion.src = "images/channels/fashion/"+mmonth+myear+"_fashion_sub.jpg";
 
}

function Swap(imgName,imgObjName)
{
 if (document.images)
  {
   document.images[imgName].src = eval(imgObjName + ".src");
  }
}