function GoWhite(id,prompt)
{
	document.all[id].style.background='white';
	document.all[id].style.color='black';
	SetMessage(prompt);
	return true;
}

function GoBlack(id)
{
	document.all[id].style.background='black';
	document.all[id].style.color='white';
	SetMessage("Copyright © ConceptPC Ltd 2003-2004");
}

function ThickBorder(id,message)
{
	document.all[id].style.borderWidth=3;
	document.all[id].style.borderColor="#ffaa00";
	document.all[id].style.marginLeft=0;
	document.all[id].style.marginTop=0;
	document.all[id].style.marginRight=0;
	document.all[id].style.marginBottom=0;
	window.status = message;
	return true;
}

function ThinBorder(id)
{
	document.all[id].style.borderWidth=1;
	document.all[id].style.borderColor="#aaaaaa";
	document.all[id].style.marginLeft=2;
	document.all[id].style.marginTop=2;
	document.all[id].style.marginRight=2;
	document.all[id].style.marginBottom=2;
}

function GoToPage(page,id)
{
//	alert("page = "+page+" id = "+id);
	document.forms.f.page.value = page;
	document.forms.f.submit();
}

var pics = new Array("graphics/logo.png",
					 "graphics/gallery.gif",
					 "graphics/envelopes.gif");

var pre = new Array();
for(var i = 0; i < pics.length; i++)
{
	pre[ i ] = new Image();
	pre[ i ].src = pics[i];
}

var message = "Copyright © ConceptPC Ltd 2003-2004";
function SetMessage(new_message)
{
	message = new_message;
	window.defaultStatus=message;
	return true;
}
