//random colour scheme script, kudos to: http://www.groan-zone.net/jscript/random.html
var randnum = Math.random();
var inum = 10;
var rand1 = Math.round(randnum * (inum-1)) + 1;
images = new Array
images[1] = "background01.jpg"
images[2] = "background02.jpg"
images[3] = "background03.jpg"
images[4] = "background04.jpg"
images[5] = "background05.jpg"
images[6] = "background06.jpg"
images[7] = "background07.jpg"
images[8] = "background08.jpg"
images[9] = "background09.jpg"
images[10] = "background10.jpg"

colors = new Array
colors[1] = "#30b3e3"
colors[2] = "#fe4500"
colors[3] = "#846a97"
colors[4] = "#69645d"
colors[5] = "#7a453c"
colors[6] = "#f77016"
colors[7] = "#8f8f8f"
colors[8] = "#816fd6"
colors[9] = "#a715d1"
colors[10] = "#430406"

buttons = new Array
buttons[1] = "drop-menu-background01.jpg"
buttons[2] = "drop-menu-background02.jpg"
buttons[3] = "drop-menu-background03.jpg"
buttons[4] = "drop-menu-background04.jpg"
buttons[5] = "drop-menu-background05.jpg"
buttons[6] = "drop-menu-background06.jpg"
buttons[7] = "drop-menu-background07.jpg"
buttons[8] = "drop-menu-background08.jpg"
buttons[9] = "drop-menu-background09.jpg"
buttons[10] = "drop-menu-background10.jpg"


var image = images[rand1]
var color = colors[rand1]
var button = buttons[rand1]

document.write('<style type="text/css"> body { background-image:url(imgs/' + image + ');}' + '#dropmenu li:hover li a { background-color:' + color + ';} #dropmenu li li a:hover { background-color:#fff; color:' + color + ';} #dropmenu { background-image:url(imgs/' + button + ');} </style>')
