
var navBarHelpOverrideManifestKey = "Nintex.Podcasting.manifest";
function TopHelpButtonClick(strParam)
{
    if(typeof(navBarHelpOverrideKey) !="undefined")
       return HelpWindowKey(navBarHelpOverrideKey);
    if (strParam !=null)
        HelpWindowKey(strParam);
    else
        HelpWindowKey('NavBarHelpHome');
}
function HelpWindowHelper(strParam)
{
    var strHelpUrl;
    if (typeof(strParam)=="undefined")
        {strHelpUrl="/_layouts/help.aspx?Lcid="+L_Language_Text;}
    else
        {strHelpUrl="/_layouts/help.aspx?Lcid="+L_Language_Text+strParam;}
    var wndHelp=window.open(strHelpUrl, "STSHELP",
        "height=500,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,width=475"
        );
    wndHelp.focus();
}
function HelpWindowKey(strKey)
{
    if(strKey == 'NavBarHelpHome')
      HelpWindowHelper("&Key="+strKey);
    else
      HelpWindowHelper("&cid0="+navBarHelpOverrideManifestKey+"&tid="+strKey);
      //http://obs-chanwss3x86/_layouts/help.aspx?Lcid=1033&cid0=Nintex.Podcasting.manifest&tid=Nintex.Podcasting.RecordPodcast
}
function HelpWindowUrl(strUrl)
{
    HelpWindowHelper("&Url="+strUrl);
}
