function swapView(dir)
	{
	pics = new Array("hdl_1.jpg","hdl_2.jpg","hdl_3.jpg");
	oEle = document.getElementById("view");
	var i=0;
	var stop=0;
	while ((i<pics.length) && (stop == 0))
		{
		nex = eval(i+dir);
		if (nex == pics.length)
			nex = 0;
		else if (nex < 0)
			nex = pics.length-1;
		if (oEle.src.match(pics[i]))
			{
			oEle.src = "./img/" + pics[nex];
			stop = 1;
			}
		i++;
		}
	}
	
function navigate(page)
	{
	self.location.href = "?page="+page;
	}

function swapBG(oObj)
	{
	(oObj.style.backgroundColor == "") ? (oObj.style.backgroundColor = "#aa0000") : (oObj.style.backgroundColor = "");
	}
