﻿$(document).ready(function () {
    if($("#ulTabs li a.active").size() == 0)
        $("#ulTabs li a:first").addClass('active');
    $(".techLeft").css('display', 'none'); $(".techRight").css('display', 'none');
    $(".techLeft:first").css('display', 'inline'); $(".techRight:first").css('display', 'inline');
    Cufon.replace('#ulTabs li', { fontFamily: 'Quicksand Bold', hover: true });
});
var currentItem = 1;
function clickOnTab(no)
{
    var i=0;
    $("#ulTabs li a:eq("+(currentItem-1)+")").removeClass("active");
    $("#ulTabs li a:eq(" + (no - 1) + ")").addClass("active");
    //alert($("#ulTabs li a:eq(" + (no - 1) + ")").attr('class'));
    $(".techLeft."+currentItem).css("display","none");
    $(".techLeft."+no).fadeIn("slow");
    $(".techRight."+currentItem).css("display","none");
    $(".techRight."+no).fadeIn("slow");
    currentItem = no;
    Cufon.replace('#ulTabs li', { fontFamily: 'Quicksand Bold', hover: true });
}

  


