
/***********************************************
* Random Content Colors script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

//specify list of random background colors to apply to CSS class "randomcolor"
//For each entry, you can optionally specify a text and link color via the syntax:
// "BackgroundColor:TextColor" OR "BackgroundColor:TextColor:LinkColor"
var randombgcolors=[ "#332B2A", "#3C2639 ", "#452325", "#4A3242", "#4B2942", "#4C3327", "#4E2E2D", "#512B1B", "#513C40", "#522D24", "#542E19", "#592C35", "#5D3526", "#5E172D", "#5E3032", "#5F3316", "#60351D","#673327", "#6C4D23", "#6D5047", "#6E3219", "#70382D", "#703D29", "#723D14", "#753B37", "#803D0D", "#825C26", "#836344", "#844C54", "#8D3C1E", "#954A09", "#966D5B", "#995214", "#9A542E", "#9B6E51", "#9C6114", "#9D5324", "#A25022", "#A33F1F", "#A76F3E", "#A88165", "#AB8876", "#AE7D58", "#B2541A", "#B26F16", "#B26F16", "#B3995D", "#B6735C", "#B7621B", "#BA6F2E", "#BB650E", "#BD8A5E", "#BD9271", "#C0A494", "#C7AC96", "#C7B37F", "#C88F42", "#C99272", "#CD894E", "#CDB6A7", "#CEA98C", "#D3A985", "#D3BEA9", "#D7A890", "#D8C7B9", "#D9AC6D", "#DDB99A", "#E2AE81", "#E2CDB8", "#E39B6C", "#E3BAA", "#E6BFAE", "#E9BF9B", "#EAC4B7", "#EACACD", "#EBBDA9", "#EBCAB8", "#EFBE9C", "#F1CDAF", "#FAC396", "#FFC2A2"
]

var rbcssrule=""
var randomnum=Math.floor(Math.random()*randombgcolors.length)
if (randombgcolors[randomnum].indexOf(":")!=-1){
rbcssrule="color: "+randombgcolors[randomnum].split(":")[0]+";"

}
else
rbcssrule="color: "+randombgcolors[randomnum]+";"

document.write('<style type="text/css">\n')
document.write('h2 a:hover{'+rbcssrule+'}\n')
document.write('<\/style>')

