var TechSpecs = {
	initialize : function(container) {
		container = $(container);

		var typesContainer   = container.select('.specification-types').first();
		var detailsContainer = container.select('.specification-details').first();

		var typesElements   = typesContainer.select('li');
		var detailsElements = detailsContainer.select('div');
		var exampleElement  = detailsContainer.select('#default').first();

		typesElements.each(function(type, index) {
			type.observe('mouseover', function(event) {
				detailsElements[index].show();
				exampleElement.hide();
			});
			type.observe('mouseout', function(event) {
				detailsElements[index].hide();
				exampleElement.show();
			});
		});
	}
};