/*var $tabs;
$('document').ready(function () {
	$tabs = $('#content').tabs({
			ajaxOptions: {
				 async: true 
			},
			fx: {opacity: 'toggle'},
			collapsible: true
	});
	$('.ui-tabs-panel a').live('click', function (event) {
		event.preventDefault();
		var tabIndex = $tabs.tabs('option', 'selected');
		var oldUrl = $tabs.tabs('url', tabIndex);
		$tabs.tabs('url', tabIndex, this.href);
		$tabs.tabs('load', tabIndex);
		$tabs.tabs('url', tabIndex, oldUrl);
	});
});

*/

$('document').ready(function () {
	$('#topnav a').button()
	$('#topnav').buttonset();
	$('#subnav a').button();
	$('#subnav').buttonset();
	$('.activeButtonNav').addClass('ui-state-focus');
	$('.blog-roll').dialog({position: Array(700,100) });
	$('.readmoreb').css({'font-size':'10px'}).button();
});

function updateTips(tips,t) {
	tips.text(t).addClass('ui-state-highlight');
	setTimeout(function() {
		tips.removeClass('ui-state-highlight', 1500);
	}, 500);
}

