$(document).ready(function(){
													 
	//alert('Site matainance is underway - please be patient');													 

  // SM 16Dec10: Disabled - not used and causes a JS error.
  /*													 
	jQuery('#navbarmenu').Accordion({
		header: '.head',
		active: false,
		navigation: true,
		alwaysOpen: true,
		autoheight: false,
		animated: false
	});
	*/
	
	//$(".dash_block_outer").easydrag();
	$(".dash_block_outer").corner("top 7px");
	
	// jQuery corner plugin - standard cornering to any element with class cornerable.
	$(".cornerable").corner("7px");
	
	$(".dash_block_close_a").click(function(){
		//$(this).parent().parent().parent().parent().fadeOut();
		// SM 10Dec07: More robust traversal.
		var found_parent = false;
		elem = $(this).parent();
		while(!found_parent) {
			found_parent = 'dash_block_container' == elem.attr('class') ? true : false;
			if(!found_parent) { elem = elem.parent(); } // grab next parent
		}
		elem.fadeOut(); 
		// TODO: Flag for user that this block will no longer be used
	});
	
	$('#navish_outer').corner('tl tr');
	
});


