
function moo()
{
	alert("moo");
}

function info(theText)
{
	getDIV("theInfoBox").innerHTML = "<p>" + theText + "</p>";
}

function picInfo(theText)
{
	getDIV("longPanel").innerHTML = "<p>" + theText + "</p>";
}

function picInfoDefault()
{
	getDIV("longPanel").innerHTML = '<p>gallery</p>';
}

function infoDefault()
{
	getDIV("theInfoBox").innerHTML = '<p><a href="index.php">radiantdreamer.net</a></p>';
}

function getCSS(layerID){      //access a CSS property
	if(document.getElementById)
		return document.getElementById(layerID).style;
	else if(document.all)
		return document.all[layerID].style;
	else if(document.layers)
		return document.layers[layerID];
}

function getDIV(layerID){      //access a DIV
	if(document.getElementById)
		return document.getElementById(layerID);
	else if(document.all)
		return document.all[layerID];
	else if(document.layers)
		return document.layers[layerID];
}

function openPicWindow(theFileName, theWidth, theHeight)
{
	theFileName="img.php?pic=" + theFileName;
	window.open(theFileName,"fullsize","toolbar=no,scrollbars=no,resizable=yes,width=" + theWidth + ",height=" + theHeight );
}
