
function quote_colour() 
{
q_col = new Array
q_col[1]="<style type='text/css'>.quote {background:transparent url(http://www.rodsnsods.co.uk/forum/images/rns/custom/q-green.png) no-repeat scroll 0 0;} blockquote.bq {border-left:3px solid #3cfc23;}</style>"
q_col[2]="<style type='text/css'>.quote {background:transparent url(http://www.rodsnsods.co.uk/forum/images/rns/custom/q-red.png) no-repeat scroll 0 0;} blockquote.bq {border-left:3px solid #ff5400;}</style>"
q_col[3]="<style type='text/css'>.quote {background:transparent url(http://www.rodsnsods.co.uk/forum/images/rns/custom/q-purple.png) no-repeat scroll 0 0;} blockquote.bq {border-left:3px solid #6600d9;}</style>"
q_col[4]="<style type='text/css'>.quote {background:transparent url(http://www.rodsnsods.co.uk/forum/images/rns/custom/q-blue.png) no-repeat scroll 0 0;} blockquote.bq {border-left:3px solid #0433fc;}</style>"

random_num = (Math.round((Math.random()*3)+1))

return q_col[random_num];
}

function rollchange(n,forumname)
{
	if (n == 0)
	{
		document.getElementById(forumname).style.background="#1f2020";
	}
	else if (n == 1)
	{
		document.getElementById(forumname).style.background="#242628";
	}
}
