function setTabs(){
         /*intialMeetingsPage and searchInterface are the default content for the meetingsPage
	  and searchPage tabs.  I load the default html in the initialMeetingsPage and 
	  searchInterface divs, hide those divs, and then whenever I need the default interface,
	  I load the hidden divs' content into the tabs.
	 */

	$('div#meetingsPage').html($('div#initialMeetingsPage').html());
	$('div#initialMeetingsPage').hide();
       	$('div#meetlieLoginDialog').hide();
      	$('div#signupDialog').hide();
	$("div#notifications").hide();
	$("div#registerDiv").hide();

	$tabs=$('#tabs').tabs({
		select: function(event, ui) {
		    /*
		    if(ui.panel.id!="meetingsPage")
			{
			    loadInitialMeetingPage();
			}
		    */
		    /*
		    if(ui.index!=registerTabIndex)
			if(registerTabIndex!=null)
			    {
				temp=registerTabIndex;
				registerTabIndex=null;
				$tabs.tabs("remove", temp);
			    }
		    */
     		    if((ui.panel.id=="meetingsPage")||(ui.panel.id=="signupsPage")||(ui.panel.id=="createPage"))
			{
			    if(authenticated=="")
				showMeetlieLoginForm();
			}


		    /*		    if(signupTabIndex!=null)
			if(ui.panel.id!='signupTab')
			    {
				alert(signupTabIndex);
				$tabs.tabs('remove', signupTabIndex);
				signupTabIndex=null;
			    }
		    */
		    $("div#notifications").html("");  //any time we select a tab, blank the notification
		    $("div#notifications").hide();
		}
	    });

	if($("#signupTab").html()!=null)
	    {
		$tabs.tabs('select', '#signupTab');
		signupTabIndex=$tabs.tabs('option', 'selected');
	    }
	
}

function blankCreateForm() //set all the values on the create back back to defaults
{
    $("form#createForm input.textField").val("");
}