// JavaScript Document
// perform JavaScript after the document is scriptable. 
$(function() {
	// :first selector is optional if you have only one tabs on the page
	$("ul.css-tabs:first").tabs("div.css-panes:first > div");
});



// execute your scripts when the DOM is ready. this is a good habit 
$(function() { 
 
    // expose the form when it's clicked or cursor is focused 
    $("form.expose").bind("click keydown", function() { 
 
        $(this).expose({ 
 
            // custom mask settings with CSS 
            maskId: 'mask', 
 
            // when exposing is done, change form's background color 
            onLoad: function() { 
                this.getExposed().css({backgroundColor: '#697785'}); 
            }, 
 
            // when "unexposed", return to original background color 
            onClose: function() { 
                this.getExposed().css({backgroundColor: null}); 
            }, 
 
            api: true 
 
        }).load(); 
    }); 
});
$(function () {
    var tabContainers = $('div.tabs > div');
    
    $('div.tabs ul.tabNavigation a').click(function () {
        tabContainers.hide().filter(this.hash).show();
        
        $('div.tabs ul.tabNavigation a').removeClass('selected');
        $(this).addClass('selected');
        
        return false;
    }).filter(':first').click();
});