i2on = new Image();
i2on.src = "images/button_contact_o.gif";
i2off = new Image();
i2off.src = "images/button_contact.gif";
i3on = new Image();
i3on.src = "images/button_friend_o.gif";
i3off = new Image();
i3off.src = "images/button_friend.gif";
i4on = new Image();
i4on.src = "images/button_reprint_o.gif";
i4off = new Image();
i4off.src = "images/button_reprint.gif";
i5on = new Image();
i5on.src = "images/button_univcontacts_o.gif";
i5off = new Image();
i5off.src = "images/button_univcontacts.gif";
i6on = new Image();
i6on.src = "images/button_profile_o.gif";
i6off = new Image();
i6off.src = "images/button_profile.gif";
i7on = new Image();
i7on.src = "images/button_news_o.gif";
i7off = new Image();
i7off.src = "images/button_news.gif";
i8on = new Image();
i8on.src = "images/button_feature_o.gif";
i8off = new Image();
i8off.src = "images/button_feature.gif";
i9on = new Image();
i9on.src = "images/button_letter_o.gif";
i9off = new Image();
i9off.src = "images/button_letter.gif";
i10on = new Image();
i10on.src = "images/button_home1_o.gif";
i10off = new Image();
i10off.src = "images/button_home1.gif";
i11on = new Image();
i11on.src = "images/button_dl_o.gif";
i11off = new Image();
i11off.src = "images/button_dl.gif";
i12on = new Image();
i12on.src = "images/button_print_o.gif";
i12off = new Image();
i12off.src = "images/button_print.gif";
i13on = new Image();
i13on.src = "images/button_home_o.gif";
i13off = new Image();
i13off.src = "images/button_home.gif";

/*/
/ / This function will change the src property of element
/ / to match the src property of the image in the DOM.
/ / Returns true or false depending on success.
/*/
function swapImg(element, image)
{
  // only if there are images defined in the DOM
  if (document.images)
  {
    eval("document." + element + ".src = \"" + image.src + "\";");
    return true;
  }
  else
    return false;
}

