verticleCenter = function(target,exception){
	xcalc = (((document.viewport.getHeight()-target.getHeight())*.5)-exception.getHeight());
	if(xcalc < 20){
		return 20;
	}
	else{ return xcalc; }
}

verticleCenterAll = function(){
	var offset = 0;
/*
	xelems = $$('div')[0].siblings();
	xelems.each(function(s){ 
		xcalc += s.getHeight();
	});
*/
	$$('img').each(function(e){
		offset += e.getHeight();
	});
	offset = (document.viewport.getHeight()-offset)*.5;
	if(offset < 40) return 40;
	else return offset;
}
