function rollOver(pic, type)
{
	if (type == "" || type == null)
	{
		var type = "gif";
	}
	
	document.images[pic].src = "media/" + pic + "_over." + type;
}

function rollOut(pic, type)
{
	if (type == "" || type == null)
	{
		var type = "gif";
	}

	document.images[pic].src = "media/" + pic + "." + type;
}

function writeHeader()
{
	var picCount = 50;

	var randomNum = Math.floor((Math.random() * picCount)) + 1;
	document.write('<img src="media/headers/header_' + randomNum + '.jpg" border=0 width=531 height=42>');	
}
