﻿rnd.today = new Date();
rnd.seed = rnd.today.getTime();

function rnd() {
    rnd.seed = (rnd.seed * 9301 + 49297) % 233280;
    return rnd.seed / (233280.0);
};

function rand(number) {
    return Math.ceil(rnd() * number);
};

var number = rand(2) - 1

if (number == 0) {
    document.write("<div><a href='http://www.dentalvibe.com' target=_blank>")
    document.write("<img src='/userfiles/2/image/dv-dentistryCE-120x600.jpg' alt='Dental Vibe' border='0' width='120' height='600'></a></div>")
}

if (number == 1) {
    document.write("<div><a href='http://www.dentalvibe.com' target=_blank>")
    document.write("<img src='/userfiles/2/image/dv-anesthesia-120x600.jpg' alt='Dental Vibe' border='0' width='120' height='600'></a></div>")
}
