<!--
// jQuery functions
jQuery(function($){ 
$(document).ready(function() {

// external links (w3c valid workaround)
$("a.xhref").attr("target","_blank");

// re-route remote feed links to new windows
$(".xhref a").attr("target","_blank");

// display javascript-only content
$(".js").css("display","block");
$(".jx").css("display","none");

// no title
$("a.notip").attr("title",""); //hide tooltips

// slideshow
$('.crossfade').innerfade({ animationtype:'fade',	speed:750, timeout:3000, runningclass:'slide' }); //type:'random', containerheight:'370px'
//

//sub tab buttons
var tab_arr = Array('gallery','features','options','spec');
$('ul.tabs li a').click(function(){
	var href = $(this).attr('href').split('#')[1];
	
	// hide sections, show selected tab section
	$.each(tab_arr, function(i,v){
		$('div#'+v).hide();
		$('ul.tabs li a[id="tab_'+v+'"]').parent('li').removeClass('selected');
	});
	$('div#'+href).show();
	
	//select tab
	$(this).parent('li').addClass('selected');
	
	//alert( href );
	return false;//no follow
});

//slideshow link display
//$('a.reveal span').hide();
/*
$('a.reveal span').css('opacity','0.5');
$('a.reveal').hover(
  function(){
    $('span',this).css('opacity','1.0');
  }, 
  function(){
    $('span',this).css('opacity','0.5');
  }
);
//*/

});
});
-->
