
function rand (n)
{
	return(Math.floor(Math.random() * n + 1));
}
function swap()
{
	var random_msg1 = new Array();
	random_msg1[1] = "<img id='imgSuccess' src='images/home_refresh1.gif' border='0' alt='' />";
	random_msg1[2] = "<img id='imgSuccess' src='images/home_refresh2.gif' border='0' alt='' />";
	random_msg1[3] = "<img id='imgSuccess' src='images/home_refresh3.gif' border='0' alt='' />";
	random_msg1[4] = "<img id='imgSuccess' src='images/home_refresh4.gif' border='0' alt='' />";
	random_msg1[5] = "<img id='imgSuccess' src='images/home_refresh5.gif' border='0' alt='' />";
	random_msg1[6] = "<img id='imgSuccess' src='images/home_refresh6.gif' border='0' alt='' />";
	random_msg1[7] = "<img id='imgSuccess' src='images/home_refresh7.gif' border='0' alt='' />";
	
	var x = rand(random_msg1.length-1);

	if(document.getElementById("dycont") != null)
	{
		var h = document.getElementById("dycont");
		var quotetxt = random_msg1[x];
		h.innerHTML = quotetxt;
	}
}








