// JavaScript Document

function showViolinSizingGuide(){	
	
	var light = new Fx.Morph('sizingGuideViolin', {wait: false, duration:400, onComplete:function(){}});
	light.start('.sizingGuideAfter');	
}

function hideViolinSizingGuide(){
	var light = new Fx.Morph('sizingGuideViolin', {wait: false, duration:400, onComplete:function(){}});
	light.start('.sizingGuideBefore');	
}

function showCelloSizingGuide(){	
	var light = new Fx.Morph('sizingGuideCello', {wait: false, duration:400, onComplete:function(){}});
	light.start('.sizingGuideAfter');	
}

function hideCelloSizingGuide(){
	var light = new Fx.Morph('sizingGuideCello', {wait: false, duration:400, onComplete:function(){}});
	light.start('.sizingGuideBefore');	
}

function startLightBox(){
	
		$('lightBoxBack').setStyle('filter', 'alpha(opacity=1)');
		$('lightBoxBack').setStyle('-moz-opacity', '.01');
		$('lightBoxBack').setStyle('opacity', '.01');
		
	document.getElementById("lightBoxBack").style.height=window.getScrollHeight() + 'px';
	document.getElementById("lightBoxBack").style.width=window.getScrollWidth() + 'px';
	var light = new Fx.Morph('lightBoxBack', {wait: false, duration:400, onComplete:function(){}});
	light.start('.lightBoxBackAfter');	
}