function show_img1()
{
document.all["img1"].style.display = "";
document.all["img2"].style.display = "none";
document.all["img3"].style.display = "none";
document.all["img4"].style.display = "none";
document.all["img5"].style.display = "none";
document.all["img6"].style.display = "none";
document.all["img7"].style.display = "none";
document.all["link1"].style.display = "";
document.all["link2"].style.display = "none";
document.all["link3"].style.display = "none";
document.all["link4"].style.display = "none";
document.all["link5"].style.display = "none";
document.all["link6"].style.display = "none";
document.all["link7"].style.display = "none";
}
function show_img2()
{
document.all["img1"].style.display = "none";
document.all["img2"].style.display = "";
document.all["img3"].style.display = "none";
document.all["img4"].style.display = "none";
document.all["img5"].style.display = "none";
document.all["img6"].style.display = "none";
document.all["img7"].style.display = "none";
document.all["link1"].style.display = "none";
document.all["link2"].style.display = "";
document.all["link3"].style.display = "none";
document.all["link4"].style.display = "none";
document.all["link5"].style.display = "none";
document.all["link6"].style.display = "none";
document.all["link7"].style.display = "none";
}
function show_img3()
{
document.all["img1"].style.display = "none";
document.all["img2"].style.display = "none";
document.all["img3"].style.display = "";
document.all["img4"].style.display = "none";
document.all["img5"].style.display = "none";
document.all["img6"].style.display = "none";
document.all["img7"].style.display = "none";
document.all["link1"].style.display = "none";
document.all["link2"].style.display = "none";
document.all["link3"].style.display = "";
document.all["link4"].style.display = "none";
document.all["link5"].style.display = "none";
document.all["link6"].style.display = "none";
document.all["link7"].style.display = "none";
}
function show_img4()
{
document.all["img1"].style.display = "none";
document.all["img2"].style.display = "none";
document.all["img3"].style.display = "none";
document.all["img4"].style.display = "";
document.all["img5"].style.display = "none";
document.all["img6"].style.display = "none";
document.all["img7"].style.display = "none";
document.all["link1"].style.display = "none";
document.all["link2"].style.display = "none";
document.all["link3"].style.display = "none";
document.all["link4"].style.display = "";
document.all["link5"].style.display = "none";
document.all["link6"].style.display = "none";
document.all["link7"].style.display = "none";
}
function show_img5()
{
document.all["img1"].style.display = "none";
document.all["img2"].style.display = "none";
document.all["img3"].style.display = "none";
document.all["img4"].style.display = "none";
document.all["img5"].style.display = "";
document.all["img6"].style.display = "none";
document.all["img7"].style.display = "none";
document.all["link1"].style.display = "none";
document.all["link2"].style.display = "none";
document.all["link3"].style.display = "none";
document.all["link4"].style.display = "none";
document.all["link5"].style.display = "";
document.all["link6"].style.display = "none";
document.all["link7"].style.display = "none";
}
function show_img6()
{
document.all["img1"].style.display = "none";
document.all["img2"].style.display = "none";
document.all["img3"].style.display = "none";
document.all["img4"].style.display = "none";
document.all["img5"].style.display = "none";
document.all["img6"].style.display = "";
document.all["img7"].style.display = "none";
document.all["link1"].style.display = "none";
document.all["link2"].style.display = "none";
document.all["link3"].style.display = "none";
document.all["link4"].style.display = "none";
document.all["link5"].style.display = "none";
document.all["link6"].style.display = "";
document.all["link7"].style.display = "none";
}
function show_img7()
{
document.all["img1"].style.display = "none";
document.all["img2"].style.display = "none";
document.all["img3"].style.display = "none";
document.all["img4"].style.display = "none";
document.all["img5"].style.display = "none";
document.all["img6"].style.display = "none";
document.all["img7"].style.display = "";
document.all["link1"].style.display = "none";
document.all["link2"].style.display = "none";
document.all["link3"].style.display = "none";
document.all["link4"].style.display = "none";
document.all["link5"].style.display = "none";
document.all["link6"].style.display = "none";
document.all["link7"].style.display = "";
}
function initRollovers() {
if (!document.getElementById) return
var aPreLoad = new Array();
var sTempSrc;
var aImages = document.getElementsByTagName('img');
for (var i = 0; i < aImages.length; i++) {
if (aImages[i].className == 'imgover') {
var src = aImages[i].getAttribute('src');
var ftype = src.substring(src.lastIndexOf('.'), src.length);
var hsrc = src.replace(ftype, '_h'+ftype);
aImages[i].setAttribute('hsrc', hsrc);
aPreLoad[i] = new Image();
aPreLoad[i].src = hsrc;
aImages[i].onmouseover = function() {
sTempSrc = this.getAttribute('src');
this.setAttribute('src', this.getAttribute('hsrc'));
}
aImages[i].onmouseout = function() {
if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_h'+ftype, ftype);
this.setAttribute('src', sTempSrc);
}
}
}
}
window.onload = initRollovers;