function create() {
        this.width = ''
        this.height = ''
        this.src = ''
		this.href = ''
        this.border = ''
}
ad4s = new Array()
for(var i=1; i<=5; i++) { ad4s[i] = new create() }

ad4s[1].width = "53"
ad4s[1].height = "53"
ad4s[1].src = "images/random/4/4a.jpg"
ad4s[1].href = "#"
ad4s[1].border = "0"

ad4s[2].width = "53"
ad4s[2].height = "53"
ad4s[2].src = "images/random/4/4b.jpg"
ad4s[2].href = "#"
ad4s[2].border = "0"

ad4s[3].width = "53"
ad4s[3].height = "53"
ad4s[3].src = "images/random/4/4c.jpg"
ad4s[3].href = "#"
ad4s[3].border = "0"

ad4s[4].width = "53"
ad4s[4].height = "53"
ad4s[4].src = "images/random/4/4d.jpg"
ad4s[4].href = "#"
ad4s[4].border = "0"

ad4s[5].width = "53"
ad4s[5].height = "53"
ad4s[5].src = "images/random/4/4d.jpg"
ad4s[5].href = "#"
ad4s[5].border = "0"

var n = Math.random() + ''
n = parseInt(n.charAt(5))
if(n >5) {
        n = n - 5
}
else if(n==0) {
        n = n + 5
}
n += ""

var image = ad4s[n]
var ad4 = ""
ad4 += '<img src="' + image.src + '" width="' + image.width + '" height="' + image.height + '" border="' + image.border + '"></a>'
