var currentSection = unescape(document.forms[0].Section.value);

var currentSubsection = unescape(document.forms[0].Subsection.value);
var currentPageType = unescape(document.forms[0].PageType.value);
var currentTitle = unescape(document.forms[0].Title.value);
var currentCategories = unescape(document.forms[0].Categories.value);
var currentTemplate = unescape(document.forms[0].Template.value);
var currentLocation = document.location.href;
var currentHeadline = unescape(document.forms[0].Headline.value);
var currentIntro = unescape(document.forms[0].IntroText.value);
var currentAuthor = unescape(document.forms[0].ArticleAuthorName.value);
var currentPageDate = unescape(document.forms[0].PageDate.value);
var currentPublicationDate = unescape(document.forms[0].PublicationDate.value);
var currentRelated = unescape(document.forms[0].RelatedItems.value); 
var currentType = unescape(document.forms[0].Type.value);
var currentCat = unescape(document.forms[0].Cat.value);
var currentLabel = unescape(document.forms[0].Label.value);
var currentType = unescape(document.forms[0].Type.value);

if (currentPageType!="EmailForm") {
var currentID = unescape(document.forms[0].DocID.value);
}
else {
var currentID = "";
}