// JavaScript Document

<!--

// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
// http://annemoss.com, http://webpreppro.com, http://sportsmedinfo.net
function create() {
        this.width = ''
        this.height = ''
        this.src = ''
        this.href = ''
        this.border = ''
        this.mouseover = ''
        this.sponsor = ''
}
ads = new Array()
for(var i=1; i<=7; i++) { ads[i] = new create() }

ads[1].width = "320"
ads[1].height = "274"
ads[1].src = "http://diamondsbylauren.com/diamond-rings/dbl-leon-mege-ring.jpg"
ads[1].href = "http://rockdiamond.com/index.php/jewelry/three-stone-ring-fancy-light-orangey-pink-radiant-with-intense-yellow-trapezoid-sides"
ads[1].border = "0px"
ads[1].mouseover = "Fancy Pink and Yellow Radiant cut Diamond Ring"
ads[1].sponsor = "Fancy Pink and Yellow Radiant cut Diamond Ring"

ads[2].width = "320"
ads[2].height = "274"
ads[2].src = "http://diamondsbylauren.com/diamond-rings/vivid-yellow-asscher-diamond.jpg"
ads[2].href = "http://rockdiamond.com/index.php/categories/fancy-vivid-yellow-loose-diamonds-and-rings"
ads[2].border = "0px"
ads[2].mouseover = "Natural Fancy Vivid Yellow Diamond Rings."
ads[2].sponsor = "Natural Fancy Vivid Yellow Diamond Rings."

ads[3].width = "320"
ads[3].height = "274"
ads[3].src = "http://diamondsbylauren.com/diamond-rings/pink-diamonds.jpg"
ads[3].href = "http://rockdiamond.com/index.php/categories/pink-diamond-rings"
ads[3].border = "0px"
ads[3].mouseover = "Pink diamonds and pink diamond rings"
ads[3].sponsor = "Pink diamonds and pink diamond rings"

ads[4].width = "320"
ads[4].height = "274"
ads[4].src = "http://diamondsbylauren.com/diamond-rings/loose-blue-diamond.jpg"
ads[4].href = "http://rockdiamond.com/index.php/jewelry/loose-diamond-101ct-fancy-gray-blue-gia-vs1-round-diamond--almost-an-old-mine-cut-r3512"
ads[4].border = "0px"
ads[4].mouseover = "GIA Natural 1.01ct Fancy Gray-Blue Diamond"
ads[4].sponsor = "GIA Natural 1.01ct Fancy Gray-Blue Diamond"

ads[5].width = "320"
ads[5].height = "274"
ads[5].src = "http://diamondsbylauren.com/diamond-rings/ruby-emerald-cut.jpg"
ads[5].href = "http://rockdiamond.com/index.php/categories/natural-sapphires-gemstones"
ads[5].border = "0px"
ads[5].mouseover = "Natural gemstones and gemstone rings"
ads[5].sponsor = "Natural gemstones and gemstone rings"

ads[6].width = "320"
ads[6].height = "274"
ads[6].src = "http://diamondsbylauren.com/diamond-rings/vivid-yellow-diamond.jpg"
ads[6].href = "http://rockdiamond.com/index.php/categories/fancy-vivid-yellow-loose-diamonds-and-rings"
ads[6].border = "0px"
ads[6].mouseover = "Loose natural vivid yellow diamonds"
ads[6].sponsor = "Loose natural vivid yellow diamonds"

ads[7].width = "320"
ads[7].height = "274"
ads[7].src = "http://diamondsbylauren.com/diamond-rings/pink-purple-diamond.jpg"
ads[7].href = "http://rockdiamond.com/index.php/jewelry/loose-diamond-32ct-purple-pink-cushion-diamond-rosy-color-gia-r3858"
ads[7].border = "0px"
ads[7].mouseover = "Fancy Purple-Pink SI1 Cushion Diamond"
ads[7].sponsor = "Fancy Purple-Pink SI1 Cushion Diamond"



var n = Math.random() + ''
n = parseInt(n.charAt(5))
if(n >7) {
        n = n - 7
}
else if(n==0) {
        n = n + 7
}
n += ""

var image = ads[n]
var ad = ""
ad += '<a href="' + image.href + '" \n'
ad += 'onMouseOver="self.status=\'' + image.mouseover + '\'\;return true" \n'
ad += 'onMouseOut="self.status=\'\'"> \n'
ad += '<img src="' + image.src + '" width=' + image.width
ad += '\n height=' + image.height + ' border=' + image.border
ad += '\n><p> ' + image.sponsor + '</a>'
//-->
