function addHelp(signInText) {
	if ($$(".IdeaExchangePage").size()>0) {
		var signInLink = $("loginPage").href;
		var menuButtonHelpDiv = new Element("div", {"class" : "helpText"});
		var menuButtonHelpAnc = new Element("a", {"href" : signInLink});
		menuButtonHelpAnc.update(signInText);
		menuButtonHelpDiv.appendChild(menuButtonHelpAnc);
		var menuBar
			= $$("#lia-body.IdeaExchangePage div.lia-menu-bar")[0];
		menuBar.appendChild(menuButtonHelpDiv);
		menuBar.addClassName("helpShow");
	}
}

function addComment(addCommentText) {
	var addCommentDiv = $("addComment");
	if (addCommentDiv != null){
		if ($$(".CommentEditorForm").size()>0){
			var gotoCommentLink = new Element("a", {
				"href" : "#comment-on-this",
				"rel" : "nofollow",
				"class" : "lia-button lia-button-secondary goto-comment-link"	
			});
			gotoCommentLink.update(addCommentText);
			addCommentDiv.appendChild(gotoCommentLink);
			addCommentDiv.removeClassName("lia-mark-empty");
		}
	}
}
