// 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/pink-yellow-diamond-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/AvailableItems/Rings/Gallery/1_front.jpg"
ads[2].href = "http://rockdiamond.com/index.php/jewelry/three-stone-ring-vivid-yellow-radiant-gia-with-half-moons"
ads[2].border = "0px"
ads[2].mouseover = "Natural Fancy Vivid Yellow Diamond Ring."
ads[2].sponsor = "Natural Fancy Vivid Yellow Diamond Ring."

ads[3].width = "320"
ads[3].height = "274"
ads[3].src = "http://diamondsbylauren.com/diamond-rings/blue-sapphire.jpg"
ads[3].href = "http://rockdiamond.com/index.php/jewelry/natural-sapphire-442ct-scissor-cut-gorgeous-light-blue"
ads[3].border = "0px"
ads[3].mouseover = "Gorgeous Blue Scissor Cut Sapphire."
ads[3].sponsor = "Gorgeous Blue Scissor Cut Sapphire."

ads[4].width = "320"
ads[4].height = "274"
ads[4].src = "http://diamondsbylauren.com/diamond-rings/green-diamond-r2683g.jpg"
ads[4].href = "http://rockdiamond.com/index.php/jewelry/loose-diamond-281ct-amazing-color-asscher-diamond-gia-vs2-stunning"
ads[4].border = "0px"
ads[4].mouseover = "Fancy Brownish Greenish Yellow Asscher Cut Diamond."
ads[4].sponsor = "Fancy Brownish Greenish Yellow Asscher Cut Diamond"

ads[5].width = "320"
ads[5].height = "274"
ads[5].src = "http://diamondsbylauren.com/diamond-rings/pink-diamond-earrings.jpg"
ads[5].href = "http://rockdiamond.com/index.php/jewelry/diamond-earrings-22carat-total-weight-natural-deep-pink-cushion-diamond"
ads[5].border = "0px"
ads[5].mouseover = "Natural Fancy Deep Pink Diamond Earrings"
ads[5].sponsor = "Natural Fancy Deep Pink Diamond Earrings"

ads[6].width = "320"
ads[6].height = "274"
ads[6].src = "http://diamondsbylauren.com/diamond-rings/brown-yellow-diamond-ring.jpg"
ads[6].href = "http://rockdiamond.com/index.php/jewelry/brown_intense_yelllow_diamond_ring"
ads[6].border = "0px"
ads[6].mouseover = "Three Stone Deep Brownish Yellow Oval diamond ring"
ads[6].sponsor = "Three Stone Deep Brownish Yellow Oval diamond ring"

ads[7].width = "320"
ads[7].height = "274"
ads[7].src = "http://diamondsbylauren.com/diamond-rings/yellow-princess-diamond.jpg"
ads[7].href = "http://rockdiamond.com/index.php/jewelry/loose-dimaond-215ct-w-x-light-yellow-princess-radiant-diamond"
ads[7].border = "0px"
ads[7].mouseover = "2ct W-X Light Yellow Princess-Radiant Loose Diamond"
ads[7].sponsor = "2ct W-X Light Yellow Princess-Radiant Loose 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>'
//-->
