function closeAllExcept(element) {
	var other_element;
	var sections = new Array("about", "contact", "documentary", "weddingportrait",  "nature", "commercial", "urban", "other");

	for (i=0;i<sections.length;i++) {
		other_element = sections[i];
		try {
			other_element = $(other_element);
			if(Element.visible(other_element) && other_element != element) { 
				new Effect.SlideLeft(other_element, {queue: 'front'});
			}
		} catch(err) {}
	}
	
}

function defaultOpen(element) {
	closeAllExcept(element);
	element = $(element);
	
	if(!Element.visible(element)) {
			new Effect.SlideRight(element, {queue: 'end'});
	}
}
