﻿// JScript File
 helpTree="This menu is made from the combination of a SiteMapDataSource and a Treeview";
    helpSubstitution="The site uses ASP.NET 2.0 Membership and Personalization features. <br/><br/>The master page uses ASP.NET 2.0 Substition Controls to refresh the login status while enabling the rest of the page to be cached."
    helpLoginView="Here is a LoginView control which has different content based on the login status of the user. The user name is displayed by the LoginName control and the status by the LoginStatus control.";
helpLogOutView ="The site uses ASP.NET 2.0 Membership and Personalization. Here is a LoginView control which has different content based on the login status of the user. When the status is not logged in, a Login control and the membership link is displayed.";
helpDisplay="This site uses web parts. When you set the Page Mode to Design, you can move the parts around to design the site the way you want. You must be logged in to do this.<br/><br/> If you are not a member, login in as [anon] with password [anon123!] to play with the web parts. Users settings will be saved for their account.";
helpMaster="This site uses master pages. The header (VTdotNET image and login controls) and side panel (menu) are part of the site master and are common to every page."
    /* this function displays the help popup div when user moves over a question icon */
    function ShowHelp(helpstring)
    {
    if (helpstring.length>100)
    {
    TreeViewHelp.style.width=200
    }
        helptext.innerHTML=helpstring;
    
        /* get the mouse left position */
        x = event.clientX + document.body.scrollLeft;
        /* get the mouse top position  */
        y = event.clientY + document.body.scrollTop-10 ;
        /* display the pop-up */
        TreeViewHelp.style.display="block";
        TreeViewHelp.style.left = x;
        TreeViewHelp.style.top = y;
    }
    /* hide thepopup */
    function HideHelp()
    {
        TreeViewHelp.style.display="none";
       
    }
