var $j = jQuery.noConflict();

// Get Date For Form Processor
var getDate=new Date()

var getYear=getDate.getYear()
if (getYear < 1000)
getYear+=1900

var getDay=getDate.getDay()

var getMonth=getDate.getMonth()+1
if (getMonth<10)
getMonth="0"+getMonth

var getCurrentDay=getDate.getDate()
if (getCurrentDay<10)
getCurrentDay="0"+getCurrentDay

theDate = getMonth+"/"+getCurrentDay+"/"+getYear

/* jQuery SUCKERFISH PARAMS */
/*
$j(document).ready(function(){
    $j("#nav-one li").hover(
        function(){ $j("ul", this).fadeIn("fast"); }, 
        function() { } 
    );
    if (document.all) {
        $j("#nav-one li").hoverClass ("sfHover");
    }
});

$j.fn.hoverClass = function(c) {
    return this.each(function(){
        $j(this).hover( 
            function() { $j(this).addClass(c);  },
            function() { $j(this).removeClass(c); }
        );
    });
};  
*/  

/* $j TABS PARAMS */
$j(function() {
	$j('#sections').tabs();
});


$j(document).ready(function() {
	// Hide Modals
	$j("div.mbfacebox").css({'display' : 'none'});

	//Activate FancyBox
	$j("a.fancytest").fancybox();
	
	/****** FACEBOX PARAMS ********/
	$j('a[rel=facebox]').facebox();
	
	$j('a[rel=facebox]').click(function() {
	
		$j("a.fancytest").fancybox();
		
	});
});
	
    
/****** TREEVIEW PARAMS ********/
	$j(document).ready(function()
{
	$j("#sitemapContent").treeview({
		animated: "fast",
		collapsed: true
	});
});

