function playIntro(){

	var ua = navigator.userAgent ;

	if (ua.indexOf("iPhone") > 0) 
	{ 

		document.location.replace("http://cdn.windowflow.com/MA/OL/v2/files/http://cdn.windowflow.com/MA/OL/v2/files/OL-intro-100826.m4v");
		return;
	}

	window.location.hash = "watchDemo";

		$("#introMovieContainer").slideDown("slow", function() {
				$("#introMovie").html(QT_GenerateOBJECTText('http://cdn.windowflow.com/MA/OL/v2/files/OL-intro-100826.mov', '768','512', '', 'autoplay', 'true'));
			}
		);
}

function showMoveDetail()
{
	$("#moveSpec").addClass("current_spec_box");
	$("#resizeSpec").removeClass("current_spec_box");		
	$("#switchSpec").removeClass("current_spec_box");		
	$("#tileSpec").removeClass("current_spec_box");						
	
	$("#moveDetail").show();
	$("#resizeDetail").hide();
	$("#switchDetail").hide();
	$("#tileDetail").hide();		
}

function showResizeDetail()
{			
	$("#moveSpec").removeClass("current_spec_box");
	$("#resizeSpec").addClass("current_spec_box");		
	$("#switchSpec").removeClass("current_spec_box");		
	$("#tileSpec").removeClass("current_spec_box");
	
	$("#moveDetail").hide();
	$("#resizeDetail").show();
	$("#switchDetail").hide();
	$("#tileDetail").hide();		
}

function showTileDetail()
{
	$("#moveSpec").removeClass("current_spec_box");
	$("#resizeSpec").removeClass("current_spec_box");		
	$("#switchSpec").removeClass("current_spec_box");		
	$("#tileSpec").addClass("current_spec_box");						
	
	$("#moveDetail").hide();
	$("#resizeDetail").hide();
	$("#switchDetail").hide();
	$("#tileDetail").show();
}
function showSwitchDetail()
{
	$("#moveSpec").removeClass("current_spec_box");
	$("#resizeSpec").removeClass("current_spec_box");		
	$("#switchSpec").addClass("current_spec_box");		
	$("#tileSpec").removeClass("current_spec_box");						
	
	$("#moveDetail").hide();
	$("#resizeDetail").hide();
	$("#switchDetail").show();
	$("#tileDetail").hide();
}		
