function showIt(){
	var theManifesto = document.getElementById('manifesto');
	theManifesto.style.visibility = 'visible';
}

function hideIt(){
	var theManifesto = document.getElementById('manifesto');
	theManifesto.style.visibility = 'hidden';
}

function moveBlock(){
	var theBlock = document.getElementById('manifesto');
	var theLeft = theTest();
	var theTop = getOffsetTop();
	theBlock.style.left = theLeft + 195 + 'px';
	theBlock.style.top = theTop + 93 + 'px';
}

function theTest() 
{
var el = document.getElementById('theSpot');
var curleft = document.getElementById('theSpot').offsetLeft;
while(el.offsetParent) 
	{curleft=curleft + (el.offsetParent.offsetLeft); 
		el=el.offsetParent; 
	} 
return curleft;
}

function getOffsetTop(){ 
var someObj = document.getElementById('theSpot');
var curtop = 0; 
if (someObj.offsetParent) { 
	while (1) { 
		curtop+=someObj.offsetTop; 
		if (!someObj.offsetParent) { 
		break; 
		} 
		someObj=someObj.offsetParent; 
	} 
} else if (someObj.y) { 
	someObj+=someObj.y; 
	} 
	return curtop;
}

function noSpam(theName,theDomain){
	var name = theName;
	var domain = theDomain;
	var mail = 'mailto:' + name + '@' + domain;
	window.location = mail;
}
function cacheImgs()
{
	cached = new Array();
	for (var i=1;i<arguments.length;i++)
	{
		cached[i]=new Image();
		cached[i].src = arguments[0] + arguments[i];
	}
}
function imgSwap(nom,pik)
{
	var end_path=document[nom].src.lastIndexOf('/') + 1;
	var image_path=document[nom].src.substring(0,end_path);
	document[nom].src = image_path + pik;
}
