function getCookie(cname) { var retval = ''; var ca = document.cookie.split(';'); for(var i=0; i", loadContainer : function (dowhat) { jQuery('#wss_user_container').html(this.waiting_gif); jQuery.get(this.ajPath+"?dowhat="+dowhat+this.ajAppend, function(data) { jQuery('#wss_user_container').html(data); }); }, showSection : function (section,classname) { jQuery('.'+classname).hide(); jQuery('#'+section).slideDown('fast'); }, userSignin : function () { jQuery.post(this.ajPath+"?dowhat=exec_signin"+this.ajAppend, jQuery('#signin_form').serializeArray(), function(data) { eval(data); }); }, passwordRecovery : function () { jQuery.post(this.ajPath+"?dowhat=recover_password"+this.ajAppend, jQuery('#recover_form').serializeArray(), function(data) { eval(data); }); }, createAccount : function () { jQuery('#create_account_form *').removeClass('inputerror'); jQuery.post(this.ajPath+"?dowhat=create_account"+this.ajAppend, jQuery('#create_account_form').serializeArray(), function(data) { eval(data); }); }, showAccountSection : function (section) { jQuery('.account_section').not('#'+section).slideUp('fast'); jQuery('#'+section).slideToggle('fast'); jQuery('.sectionselect').not('#sectionselect_'+section).removeClass('sectionselect_selected'); jQuery('#sectionselect_'+section).toggleClass('sectionselect_selected'); }, updateForm : function(section) { jQuery('.form_error').html(''); jQuery('.form_error').hide(); jQuery('#'+section+'_button').val('Updating...'); jQuery.post(this.ajPath+"?dowhat=update_form§ion="+section+this.ajAppend, jQuery('#'+section+'_form').serializeArray(), function(data) { eval(data); jQuery('#'+section+'_button').val('Update'); }); }, getContent : function(theUrl,theID) { jQuery('#'+theID).html(this.waiting_gif); jQuery.get(theUrl+this.ajAppend, function(data) { jQuery('#'+theID).html(data); }); } }; document.write("
"); document.write("");