/*SpecialitySearch.getServicesDropDown(specialityName) {
	alert('hi');
	jQuery.ajax({
					type: "post",
					url: "http://chennai.talash.net/simplecarehealthplan/wp-content/plugins/speciality-search/speciality-search.php",
					data: { action: 'wp_ajax_specialitysearch_speciality_name', speciality: specialityName },
					success: function(html){
						alert(html);
						
						
					},
					error: function(){
						alert('Failed checking for file 404.');
					}
				});


}*/


function myplugin_speciality( specialityName )
{
   var mysack = new sack( 
       "<?php bloginfo( 'wpurl' ); ?>/wp-contents/plugins/speciality-search/specialitysearch.php" );    

  mysack.execute = 1;
  mysack.method = 'POST';
  mysack.setVar( "action", "my_special_action" );
  //mysack.setVar( "vote", vote_field.value );
  //mysack.setVar( "results_div_id", results_div );
  mysack.onError = function() { alert('Ajax error in voting' )};
  mysack.runAJAX();

  return true;

} // end of JavaScript function myplugin_cast_vote

