﻿function rw_selectSection(thesection, thebutton) {
    if (cursection != '')
        $("#" + cursection).hide("scale", {percent:0}, 500);
    if (curbutton != '')
        $("#" + curbutton).removeClass("ui-state-active");

    $("#" + thesection).show("slide", {}, 500);
    $("#" + thebutton).addClass("ui-state-active");
    cursection = thesection;
    curbutton = thebutton;
};
