      function InitializeHiddenVars(){
        if (document.ReportPageSetupPage.CloseAndExit!=null){
          if (document.ReportPageSetupPage.CloseAndExit.value=="true"){
	    window.close();
	    return;
	  }		 	
        }
                PageBorderFontColorCallerDiv.style.backgroundColor=document.ReportPageSetupPage.AllPageBorderBackColor.value;
                PageBorderFontColorCallerDiv.style.borderWidth=document.ReportPageSetupPage.AllPageBorderBorderWidth.value;
                PageBorderFontColorCallerDiv.style.borderColor=document.ReportPageSetupPage.AllPageBorderBorderColor.value;
                PageBorderFontColorCallerDiv.style.borderStyle=document.ReportPageSetupPage.AllPageBorderBorderStyle.value;

                HeaderBorderFontColorCallerDiv.style.backgroundColor=document.ReportPageSetupPage.AllHeaderBorderBackColor.value;
                HeaderBorderFontColorCallerDiv.style.borderWidth=document.ReportPageSetupPage.AllHeaderBorderBorderWidth.value;
                HeaderBorderFontColorCallerDiv.style.borderColor=document.ReportPageSetupPage.AllHeaderBorderBorderColor.value;
                HeaderBorderFontColorCallerDiv.style.borderStyle=document.ReportPageSetupPage.AllHeaderBorderBorderStyle.value;

                DetailBorderFontColorCallerDiv.style.backgroundColor=document.ReportPageSetupPage.AllBodyBorderBackColor.value;
                DetailBorderFontColorCallerDiv.style.borderWidth=document.ReportPageSetupPage.AllBodyBorderBorderWidth.value;
                DetailBorderFontColorCallerDiv.style.borderColor=document.ReportPageSetupPage.AllBodyBorderBorderColor.value;
                DetailBorderFontColorCallerDiv.style.borderStyle=document.ReportPageSetupPage.AllBodyBorderBorderStyle.value;

                FooterBorderFontColorCallerDiv.style.backgroundColor=document.ReportPageSetupPage.AllFooterBorderBackColor.value;
                FooterBorderFontColorCallerDiv.style.borderWidth=document.ReportPageSetupPage.AllFooterBorderBorderWidth.value;
                FooterBorderFontColorCallerDiv.style.borderColor=document.ReportPageSetupPage.AllFooterBorderBorderColor.value;
                FooterBorderFontColorCallerDiv.style.borderStyle=document.ReportPageSetupPage.AllFooterBorderBorderStyle.value;
      }


      function SetHiddenVars(){
                document.ReportPageSetupPage.AllPageBorderBackColor.value=PageBorderFontColorCallerDiv.style.backgroundColor;
                document.ReportPageSetupPage.AllPageBorderBorderWidth.value=PageBorderFontColorCallerDiv.style.borderWidth;
                document.ReportPageSetupPage.AllPageBorderBorderColor.value=PageBorderFontColorCallerDiv.style.borderColor;
                document.ReportPageSetupPage.AllPageBorderBorderStyle.value=PageBorderFontColorCallerDiv.style.borderStyle;

                document.ReportPageSetupPage.AllHeaderBorderBackColor.value=HeaderBorderFontColorCallerDiv.style.backgroundColor;
                document.ReportPageSetupPage.AllHeaderBorderBorderWidth.value=HeaderBorderFontColorCallerDiv.style.borderWidth;
                document.ReportPageSetupPage.AllHeaderBorderBorderColor.value=HeaderBorderFontColorCallerDiv.style.borderColor;
                document.ReportPageSetupPage.AllHeaderBorderBorderStyle.value=HeaderBorderFontColorCallerDiv.style.borderStyle;

                document.ReportPageSetupPage.AllBodyBorderBackColor.value=DetailBorderFontColorCallerDiv.style.backgroundColor;
                document.ReportPageSetupPage.AllBodyBorderBorderWidth.value=DetailBorderFontColorCallerDiv.style.borderWidth;
                document.ReportPageSetupPage.AllBodyBorderBorderColor.value=DetailBorderFontColorCallerDiv.style.borderColor;
                document.ReportPageSetupPage.AllBodyBorderBorderStyle.value=DetailBorderFontColorCallerDiv.style.borderStyle;

                document.ReportPageSetupPage.AllFooterBorderBackColor.value=FooterBorderFontColorCallerDiv.style.backgroundColor;
                document.ReportPageSetupPage.AllFooterBorderBorderWidth.value=FooterBorderFontColorCallerDiv.style.borderWidth;
                document.ReportPageSetupPage.AllFooterBorderBorderColor.value=FooterBorderFontColorCallerDiv.style.borderColor;
                document.ReportPageSetupPage.AllFooterBorderBorderStyle.value=FooterBorderFontColorCallerDiv.style.borderStyle;
      }


      function SetFieldHiddenVars(){

      }
