
function restyle(bgcol,bgimg,notecol,noteimg,bordstyle,pagetitle)
{
	if (dom)
	{
		document.getElementById('malevole').style.visibility='hidden';
		document.title=pagetitle+" - another adjectiveanimal weblog";
		document.body.style.backgroundColor='#'+bgcol;
		document.body.style.backgroundImage='url("/mv/entryimg/'+bgimg+'")';
		for (var i=1;i<11;i++)
		{
			if (document.getElementById("note"+i))
			{
				document.getElementById("note"+i).style.backgroundImage='url("/mv/entryimg/'+noteimg+'")';
				document.getElementById("note"+i).style.backgroundColor='#'+notecol;
				document.getElementById("note"+i).style.border=bordstyle;
			}
		}
	}
	else alert ("Sorry, your browser won't do this stuff. Feel free to hate me if it helps you get over it.");
}
