function JSToolbox()
{
    this.setup = function()
    {
        alert("JS Toolbox: hey there");
    }
    
    this.setMousePointer = function(object)
    {
        $(function(){
            $(object).mouseover(function(){
                $(this).css("cursor", "pointer"); 
            }).mouseout(function(){
                $(this).css("cursor", "auto");
            }); 
        });
    }
    
    //given a string, assumes the id is the last token of that string
    // (default) delimted by '_'.
    this.extractId = function(rawId, delimiter)
    {
        if(delimiter == null)
            delimiter = "_";
        var arr = rawId.split(delimiter);
        return arr[arr.length-1];
    }
    
    this.setDisplayContainer = function(container, show_element, hide_element)
    {
        $(function(){
           $(show_element).click(function(){
                $(container).fadeIn("fast");
            });
               
            $(hide_element).click(function(){
                $(container).fadeOut("fast");
             });
        });
    }
    
    this.repositionElement = function(elementToPosition, posLeft, posTop)
    {
        
    }
}
