
// Main Controller for grayfuse.com  //

window.onload = init;


//goto("index.html");

var mainDiv = null;
var navDiv = null;
var navDiv = null;

function border(){
	navDiv.style.border = "solid 1px #00F";
}
function unborder(){
	navDiv.style.border = "solid 1px #FFF";	
}



function init(){	
	navDiv = document.getElementById("subnav");
	
	//navDiv.onmouseover = border;
	//navDiv.onmouseout = unborder;
	//waterDiv = document.getElementById('watermark');
	//waterDiv.onClick = goto('index.html');
	
	//flickrDiv = document.getElementById('flickr');
	//flickrDiv.innerHTML = "		  

	//old loaders
	/*theholder = new OpacityObject('holder','images/60percent');
	theholder.setBackground();
	
	
	thenav = new OpacityObject('navholder','images/60percentLime');
	thenav.setBackground();
	
	thewatermark = new OpacityObject('watermark','images/gside');
	thewatermark.setBackground();
	
	holderDiv = document.getElementById('holder');
	mainDiv = document.getElementById('layout');
	holderDiv.innerHTML = mainDiv.innerHTML; */
	
	//navDiv = document.getElementById('nav');
	//mainDiv = document.getElementById('layout');
	//navDiv.style.backgroundColor = "transparent";
	//mainDiv.style.backgroundColor = "transparent";
}