function create() {
        this.width = ''
        this.height = ''
        this.src = ''
        this.border = ''
}
prod = new Array()
for(var i=1; i<=6; i++) { prod[i] = new create() }

prod[1].width = "600"
prod[1].height = "395"
prod[1].src = "bilder/home_produkt_1.png"
prod[1].border = "0"

prod[2].width = "600"
prod[2].height = "395"
prod[2].src = "bilder/home_produkt_2.png"
prod[2].border = "0"

prod[3].width = "600"
prod[3].height = "395"
prod[3].src = "bilder/home_produkt_3.png"
prod[3].border = "0"

prod[4].width = "600"
prod[4].height = "395"
prod[4].src = "bilder/home_produkt_1.png"
prod[4].border = "0"

prod[5].width = "600"
prod[5].height = "395"
prod[5].src = "bilder/home_produkt_2.png"
prod[5].border = "0"

prod[6].width = "600"
prod[6].height = "395"
prod[6].src = "bilder/home/_produkt_3.png"
prod[6].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 = prod[n]
var pro = ""
pro += '<img src="' + image.src + '" width=' + image.width
pro += '\n height=' + image.height + ' border=' + image.border + '>'
