random_number= Math.floor(Math.random()* 7+1 );
// Loads the appropriate image and text color based on random number.
if (random_number==1) {
    image = location.protocol + "//" + document.location.host + "/images/body/1.jpg";
}
if (random_number==2) {
    image = location.protocol + "//" + document.location.host + "/images/body/2.jpg";
}
if (random_number==3) {
    image = location.protocol + "//" + document.location.host + "/images/body/3.jpg";
}
if (random_number==4) {
    image = location.protocol + "//" + document.location.host + "/images/body/4.jpg";
}
if (random_number==5) {
    image = location.protocol + "//" + document.location.host + "/images/body/5.jpg";
}
if (random_number==6) {
    image = location.protocol + "//" + document.location.host + "/images/body/6.jpg";
}
if (random_number==7) {
    image = location.protocol + "//" + document.location.host + "/images/body/7.jpg";
}

function ShowHide(id) {
    obj = document.getElementsByTagName("div");
    if (obj[id].style.display == 'block'){
    obj[id].style.display = 'none';
    }
    else {
    obj[id].style.display = 'block';
    }
}

function ToggleElement(element, dur)
{
    new Effect.toggle(element, 'Blind', { duration: dur });
}

