


function closeObject(someID) 
{ 
document.getElementById(someID).style.display = 'none'; 
} 


function openObject(someID) 
{ 
document.getElementById(someID).style.display = 'block'; 
} 



function goHome() {
 document.location.href = 'index.html?intro=n';
}


// F A D E S //

function fadeImg() {new Effect.Appear('fadeImg', {duration: 1.0 });}



//===============[ general utilities ]================================================//

function getObj(name){ // returns an object with a specified id tag (name)
	if(document.getElementById) this.obj = document.getElementById(name);
	else if(document.all) this.obj = document.all[name];
	return this.obj;
}
function getElementsByClass(val){ // returns an array of objects with specified class name (val)
	var all = document.all || document.getElementsByTagName('*');
	var arr = [];
	for(var k = 0; k < all.length; k++)
		if(all[k].className == val) arr[arr.length] = all[k];
	return arr;
}


