var $j = jQuery.noConflict();


$j(function()
{
	// creates rotator
	$j('#rotate').cycle(
		{ 
                            delay: 1000,
                            speed: 500 
    	});

	// create tabs
    $j("#staffarea > ul").tabs();
	
     //open windows without embedding target="_blank"
    $j('a[@rel$=external]').click(function()
    	{
        	this.target = "_blank";
    	});
	
	//make the toggles have a differen mouse icon
	$j(".togglemebox h4").css("cursor","hand");
    
	//open close for toggles
	$j(".togglemebox span").click(function()
		{
	  		$j(this).parent().siblings().slideToggle("fast");
	  	});

});