var $j=jQuery.noConflict();
	
function corners(){
			$j(".previewPic_").corner("10px");
			}
$j(corners);			 


function tabs(){
    $j("ul.tabs").tabs("div.panes > div.pane").history(); 
}
$j(tabs);




function tooltips(){
$j("#editform textarea").tooltip({
	position: "center right",
	offset: [-2, 10],
	effect: "fade",
	opacity: 0.7,
	tip: '.tooltip'

});

}
$j(tooltips);

function wizard() { 
 
    // assign a click event to the exposed element, using normal jQuery coding 
	var wizard = $j("#addForm").expose({color: '#aaa', lazy: true}); 
	var wizard1 = $j("div.message").expose({color: '#aaa', lazy: true}); 		
	wizard.click(function() { 
        $j(this).expose().load(); 
    });
 	wizard1.click(function() { 
        $j(this).expose().load(); 
    });
  
}
$j(wizard);


function accordion() { 

$j("#accordion").tabs("#accordion div.pane", {tabs: 'h2', effect: 'slide', initialIndex: null});
}

$j(accordion);

function fill_list(){

$j("#fill_chkbx").click(function(){
if ($j(this).is(":checked"))
{
$j("#posting_list").load("select_authors.php");
} else {
$j("#posting_list").empty();
}

});
}

$j(fill_list);