function helpBubbleFromDiv(name, caller) {
    helpPanel = new YAHOO.widget.Panel(name, { width:"260px", visible:true, constraintoviewport:true , "xy":[YAHOO.util.Dom.getX(caller)+10, YAHOO.util.Dom.getY(caller)+10]});
    //helpPanel.setHeader(title);
    //helpPanel.setBody(text);
    //helpPanel.setFooter("End of Panel #2"); 
    helpPanel.render(document.body);
    helpPanel.show();
    return false;
}

function helpBubbleDynamic(name, caller, title, text) {
    helpPanel = new YAHOO.widget.Panel(name, { width:"260px", visible:true, constraintoviewport:true , "xy":[YAHOO.util.Dom.getX(caller)+10, YAHOO.util.Dom.getY(caller)+10]});
    helpPanel.setHeader(title);
    helpPanel.setBody(text);
    //helpPanel.setFooter("End of Panel #2"); 
    helpPanel.render(document.body);
    helpPanel.show();
    return false;
}

function helpBubbleGuide(caller){
    /* help Bubble for the Guide
     */
    return helpBubbleDynamic('help-guide', caller, "View Collection Guide",
	"Download a PDF document or view a simple HTML version to save or print the full collection guide."
            );
}

function helpBubbleContents(caller){
    /* help Bubble for the Guide
     */
    return helpBubbleDynamic('help-contents', caller, "Contents",
	"The Table of Contents shows you how the collection is physically arranged.  Some collections include a container list, where you can see if materials are located in particular boxes or folders."
            );
}
