var GUARANTEE_STANDARD_30_DAY_FOR_888 = 1; 
var GUARANTEE_STANDARD_30_DAY_FOR_37  = 2; 
var GUARANTEE_NO_RIGHTS_30_DAY_FOR_37 = 3; 

var bbDefaultAddToCartButtonStyling  = "font-family: Tahoma; font-size: 32pt; color: #004488;";
var bbDefaultAddToCartButtonText     = "Add To Cart";
var bbDefaultAddToCartLinkStyling    = "font-size: 18pt; text-align: center; text-decoration: underline;";
var bbDefaultAddToCartLinkText       = "Add To Cart";
var bbDefaultAllowClickAnywhere      = false;
var bbDefaultBoxBorderStyling        = "background-color: #FFFFFF; border: 6px dashed #CC0000; border-collapse: collapse; padding: 20px; text-decoration: none; width: 500px;";
var bbDefaultButtonImageBorder       = "3px solid #B40000";
var bbDefaultButtonImageHeight       = "59px";
var bbDefaultButtonImageURL          = "images/blank-belcher-button.gif";
var bbDefaultButtonImageWidth        = "392px";
var bbDefaultBuyButtonLink           = "#";
var bbDefaultCallToActionText        = "Claim Your Copy Now!"; 
var bbDefaultCallToActionTextStyling = "color: #CC0000; font-family: Verdana,Tahoma,Arial,Helvetica,sans serif; font-size: 28pt; font-weight: bold; margin-bottom: 10px;"; 
var bbDefaultCreditCardImagesALink   = true;
var bbDefaultCreditCardImagesURL     = "images/visa-mc-amex-discover-paypal.gif"; 
var bbDefaultRegularPrice            = "$???";
var bbDefaultRegularPriceLabel       = "Regular Price ";
var bbDefaultRegularPriceStyling     = "font-family: Tahoma; font-size: 18pt; color: #000000; margin-bottom: 10px; text-decoration: none;";
var bbDefaultTodaysPriceLabel        = "Today ";
var bbDefaultTodaysPrice             = "$???";

var browserName                  = navigator.appName;
var browserVersion               = parseFloat(navigator.appVersion);
var companyAddress               = "";
var companyName                  = "";
var copyrightHolder              = "";
var copyrightStart               = "";
var defaultAuthorizeNetID        = null;
var defaultContactURL            = "http://GetMMCSupport.com/Contact.htm";
var defaultGuaranteeBonusPercent = 0;
var defaultGuaranteeLength       = 0;
var defaultGuaranteePercent      = 100;
var defaultHonestEImage          = ""
var defaultHonestESiteCode       = ""
var defaultPayPalID              = "";
var defaultSupportURL            = "http://GetMMCSupport.com";
var domainName                   = "";
var domainToWhiteList            = "";
var emailAddressPrimary          = "";
var emailAddressRefunds          = "";
var emailAddressSupport          = "";
var freeReportNameLong           = "";
var freeReportNameShort          = "";
var htmlSourceLongSignature      = "";
var productNameLong              = "";
var productNameShort             = "";

function getBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                          CallToActionText, CallToActionTextStyling, 
                          AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                          BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                          ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                          CreditCardImagesURL, CreditCardImagesALink, whereLinkGoes)
{
   var belcherButtonCode = "<center>";
   var whereLinkGoesHTML = ((null != whereLinkGoes) && ("" != whereLinkGoes) ? " target='" + whereLinkGoes + "'" : "");

                                       // Is there a message outside the box??
   if ((null != CallToActionText) && ("" != CallToActionText))
   {
                                       // Yes, display it
      belcherButtonCode += "<div" + 
                           ((null != CallToActionTextStyling) && ("" != CallToActionTextStyling) ? " style='" + CallToActionTextStyling + "'>" : ">") + 
                           CallToActionText + "</div></center>";

   }                                   // if ((null != CallToActionText) && ("" != CallToActionText))

                                       // Opening tag for the box
   belcherButtonCode += "<center><div style='" + 
                        ((null != BoxBorderStyling) && ("" != BoxBorderStyling) ? BoxBorderStyling : bbDefaultBoxBorderStyling) + 
                        "'>";
                                       // Should the entire area be clickable
   if ((null != AllowClickAnywhere) && (AllowClickAnywhere))
   {
                                       // Yes, create the opening tag for the link, essentially 
                                       //      clicking anywhere causes the start of the sales process
      belcherButtonCode += "<a href='" + BuyButtonLink + "' style='text-decoration: none;'" + whereLinkGoesHTML + ">";

   }                                   // if ((null != AllowClickAnywhere) && (AllowClickAnywhere))

                                       // Is there a regular price message??
   if ((null != RegularPriceLabel) && ("" != RegularPriceLabel))
   {
                                       // Yes, display it
      belcherButtonCode += "<center><div" + 
                           ((null != RegularPriceStyling) && ("" != RegularPriceStyling) ? " style='" + RegularPriceStyling + "'>" : ">") + 
                           RegularPriceLabel + " <span style='text-decoration: line-through;'> " + RegularPrice + " </span>" + 
                           ((null != TodaysPriceLabel) && ("" != TodaysPriceLabel) ? TodaysPriceLabel + " " +  TodaysPrice : "") + 
                           "</div></center>";

   }                                   // if ((null != RegularPriceLabel) && ("" != RegularPriceLabel))

   belcherButtonCode += ((null == AllowClickAnywhere) || (! AllowClickAnywhere) ? 
                         "<a href='" + BuyButtonLink + "' style='text-decoration: none;'" + whereLinkGoesHTML + ">" : 
                         "") + 
                        "<div style='margin-bottom: 10px;'>" + 
                        "<div style='background-image: url("+ ((null != ButtonImageURL) && ("" != ButtonImageURL) ? ButtonImageURL : bbDefaultButtonImageURL) + 
                           "); border: " + ((null != ButtonImageBorder) && ("" != ButtonImageBorder) ? ButtonImageBorder : bbDefaultButtonImageBorder) +  
                           "; height: "   + ((null != ButtonImageHeight) && ("" != ButtonImageHeight) ? ButtonImageHeight : bbDefaultButtonImageHeight) +  
                           "; width: "    + ((null != ButtonImageWidth)  && ("" != ButtonImageWidth)  ? ButtonImageWidth  : bbDefaultButtonImageWidth) +  
                           ";'>" + 
                        ((null != AddToCartButtonStyling) && ("" != AddToCartButtonStyling) ? 
                         "<span style='" + AddToCartButtonStyling + "'>" +  AddToCartButtonText + "</span>" : 
                         AddToCartButtonText) + 
                        "</div></div>" + 
                        ((null == AllowClickAnywhere) || (! AllowClickAnywhere) ? "</a>" : "");

                                       // Is there an add-to-cart link??
   if ((null != AddToCartLinkText) && ("" != AddToCartLinkText))
   {
                                       // Yes, display it
      belcherButtonCode += ((null == AllowClickAnywhere) || (! AllowClickAnywhere) ? 
                            "<a href='" + BuyButtonLink + "'" + whereLinkGoesHTML +  
                               ((null != AddToCartLinkStyling) && ("" != AddToCartLinkStyling) ? " style='" + AddToCartLinkStyling + "'>" : ">") : "") + 
                           AddToCartLinkText + 
                           ((null == AllowClickAnywhere) || (! AllowClickAnywhere) ? "</a>" : "") + 
                           "<br /><br />";

   }                                   // if ((null != AddToCartLinkText) && ("" != AddToCartLinkText))

                                       // Are the credit card images supposed to be displayed??
   if ((null != CreditCardImagesURL) && ("" != CreditCardImagesURL))
   {
                                       // Yes, display them
      belcherButtonCode += ((null != CreditCardImagesALink) && (CreditCardImagesALink) ? "<a href='" + BuyButtonLink + "'>" : "") + 
                           "<center><div><img alt='' border='0' src='" + CreditCardImagesURL + "' /></div></center>" + 
                           ((null != CreditCardImagesALink) && (CreditCardImagesALink) ? "</a>" : "");

   }                                   // if ((null != CreditCardImagesURL) && ("" != CreditCardImagesURL))

                                       // Should the entire area be clickable
   if ((null != AllowClickAnywhere) && (CallToActionText))
   {
                                       // Yes, create the closing tag for the link, essentially 
                                       //      clicking anywhere causes the start of the sales process
      belcherButtonCode += "</a>";
   }                                   // if ((null != AllowClickAnywhere) && (CallToActionText))

   belcherButtonCode += "</div></center>";

   return (belcherButtonCode);

}                                      // function getBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                                       //                           CallToActionText, CallToActionTextStyling, 
                                       //                           AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                                       //                           BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                                       //                           ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                                       //                           CreditCardImagesURL, CreditCardImagesALink, whereLinkGoes)

function getCompanyName()
{
   return (companyName);
}                                      // function getCompanyName()

function getContactURL(wantAsLink)
{
   var contactURL = defaultContactURL;

   if (wantAsLink)
   {
      contactURL = "<a href='" + contactURL + "' target='_blank'>" + 
                     contactURL + "</a>";

   }                                   // if (wantAsLink)
   return (contactURL);
}                                      // function getContactURL(wantAsLink)

function getCookiesMustBeEnabled()
{
   return ("<span class='SmallHighlightedSection'>" + 
              "(Note: Cookies MUST be enabled in order to make a valid purchase)" + 
           "</span>");
}                                      // function getCookiesMustBeEnabled()

function getCopyright(copyrightHolder, copyrightStart)
{
   var copyright  = "Copyright &copy; ";
   var todaysDate = new Date();

   if ((null != copyrightStart) && (copyrightStart != todaysDate.getFullYear()))
   {
      copyright += copyrightStart + "-";
   }                                   // if ((null != copyrightStart) && (copyrightStart != todaysDate.getFullYear()))

   copyright += todaysDate.getFullYear() + ", " +
                (copyrightHolder ? copyrightHolder + ", " : "") + 
                "All Worldwide Rights Reserved";

   return (copyright);
}                             // function getCopyright()

function getCopyrightHolder()
{
   return (copyrightHolder);
}                                      // function getCopyrightHolder()

function getCopyrightStart()
{
   return (copyrightStart);
}                                      // function getCopyrightStart()

function getCreditCardImages()
{
   return("<img alt='Purchase by credit card or PayPal' height='36' src='images/visa-mc-amex-discover-paypal.gif' style='border: 0px;' width='304' />");

}                                      // function getCreditCardImages();

function getCreatedByHTML(linkFontSize)
{
return ("");
/*
   return ("<center><p class='BottomPageMenu'>" + 
           "<a href='http://www.eGlobalPartners.com' title='Get a Product and Web Site Just Like This' target='_blank'" + 
           ((null != linkFontSize) && linkFontSize ?  " style='font-size: " + linkFontSize + ";'" : "") + 
           ">Created by eGlobal Partners, LLC</a></p></center>");
*/
}                                      // function getCreatedByHTML(linkFontSize)

function getCurrentYear()
{
   var currentYear = (new Date()).getYear();

   return (currentYear + (currentYear < 1900 ? 1900 : 0));

}                             // function getCurrentYear()

function getDefaultBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                                 CallToActionText, CallToActionTextStyling, 
                                 AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                                 BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                                 ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                                 CreditCardImagesURL, CreditCardImagesALink)
{
   return (getBelcherButton(((null != BuyButtonLink)           && ("" != BuyButtonLink)           ? BuyButtonLink           : bbDefaultBuyButtonLink), 
                            ((null != RegularPrice)            && ("" != RegularPrice)            ? RegularPrice            : bbDefaultRegularPrice), 
                            ((null != TodaysPrice)             && ("" != TodaysPrice)             ? TodaysPrice             : bbDefaultTodaysPrice), 
                            ((null != RegularPriceLabel)       && ("" != RegularPriceLabel)       ? RegularPriceLabel       : bbDefaultRegularPriceLabel), 
                            ((null != TodaysPriceLabel)        && ("" != TodaysPriceLabel)        ? TodaysPriceLabel        : bbDefaultTodaysPriceLabel), 
                            ((null != CallToActionText)        && ("" != CallToActionText)        ? CallToActionText        : bbDefaultCallToActionText), 
                            ((null != CallToActionTextStyling) && ("" != CallToActionTextStyling) ? CallToActionTextStyling : bbDefaultCallToActionTextStyling),  
                            ((null != AddToCartButtonText)     && ("" != AddToCartButtonText)     ? AddToCartButtonText     : bbDefaultAddToCartButtonText), 
                            ((null != AddToCartButtonStyling)  && ("" != AddToCartButtonStyling)  ? AddToCartButtonStyling  : bbDefaultAddToCartButtonStyling), 
                            ((null != AddToCartLinkText)       && ("" != AddToCartLinkText)       ? AddToCartLinkText       : bbDefaultAddToCartLinkText), 
                            ((null != AddToCartLinkStyling)    && ("" != AddToCartLinkStyling)    ? AddToCartLinkStyling    : bbDefaultAddToCartLinkStyling), 
                            ((null != BoxBorderStyling)        && ("" != BoxBorderStyling)        ? BoxBorderStyling        : bbDefaultBoxBorderStyling), 
                            ((null != AllowClickAnywhere)                                         ? AllowClickAnywhere      : bbDefaultAllowClickAnywhere), 
                            ((null != RegularPriceStyling)     && ("" != RegularPriceStyling)     ? RegularPriceStyling     : bbDefaultRegularPriceStyling), 
                            ((null != ButtonImageURL)          && ("" != ButtonImageURL)          ? ButtonImageURL          : bbDefaultButtonImageURL), 
                            ((null != ButtonImageBorder)       && ("" != ButtonImageBorder)       ? ButtonImageBorder       : bbDefaultButtonImageBorder), 
                            ((null != ButtonImageHeight)       && ("" != ButtonImageHeight)       ? ButtonImageHeight       : bbDefaultButtonImageHeight), 
                            ((null != ButtonImageWidth)        && ("" != ButtonImageWidth)        ? ButtonImageWidth        : bbDefaultButtonImageWidth), 
                            ((null != CreditCardImagesURL)     && ("" != CreditCardImagesURL)     ? CreditCardImagesURL     : bbDefaultCreditCardImagesURL), 
                            ((null != CreditCardImagesALink)                                      ? CreditCardImagesALink   : bbDefaultCreditCardImagesALink)));

}                                      // function getDefaultBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                                       //                                  CallToActionText, CallToActionTextStyling, 
                                       //                                  AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                                       //                                  BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                                       //                                  ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                                       //                                  CreditCardImagesURL, CreditCardImagesALink)

function getDefaultPageBottom()
{
   return(getPageBottom(getCompanyName(), getCopyrightHolder(), getCopyrightStart(), 
                        null, true, true, true, true, false, true) + 
          getCreatedByHTML());

}                                      // function getDefaultPageBottom()

function getDefaultPageBottomNoLinks()
{
   return(getPageBottom(getCompanyName(), getCopyrightHolder(), getCopyrightStart()) + 
          getCreatedByHTML());

}                                      // function getDefaultPageBottomNoLinks()

function getDefaultPageBottomWithEthicLinks()
{
   return(getPageBottom(getCompanyName(), getCopyrightHolder(), getCopyrightStart(), 
                        null, true, true, true, true, true) + 
          getCreatedByHTML());

}                                      // function getDefaultPageBottomWithEthicLinks()

function getDefaultSecurityHTML(wantCreditCardImages)
{
   return (((null != wantCreditCardImages) && wantCreditCardImages ? getCreditCardImages() + "<br />" : "") + 
           getSecuritySealsHorizontal(defaultHonestESiteCode, null, 
                                      defaultPayPalID, 
                                      defaultAuthorizeNetID));

}                                   // function getDefaultSecurityHTML(wantCreditCardImages)

function getDisplayDate(wantDayName)
{
   var todaysDate = new Date();

   return (((null != wantDayName) && wantDayName ? 
            (new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"))[todaysDate.getDay()] + " " :
            "") + 
           (new Array("January", "February", "March", "April", "May", "June", "July", 
                      "August", "September", "October", "November", "December"))[todaysDate.getMonth()] + " " +
           todaysDate.getDate() + ", " + todaysDate.getFullYear());

}                             // function getDisplayDate()

function getDomainName()
{
   return(domainName);
}                                      // function getDomainName()

function getDomainToWhiteList()
{
   return(domainToWhiteList);
}                                      // function getDomainToWhiteList()

function getEA(wantAsLink)
{
   return (getEmailHTMLCode(getEmailAddressPrimary(), wantAsLink));

}                                      // function getEA(wantAsLink)

function getEmailAddressPrimary()
{
   return (emailAddressPrimary)
}                                      // function getEmailAddressPrimary()

function getEmailAddressRefunds()
{
   return (emailAddressRefunds)
}                                      // function getEmailAddressRefunds()

function getEmailAddressSupport()
{
   return (emailAddressSupport)
}                                      // function getEmailAddressSupport()

function getEmailHTMLCode(emailAddress, wantAsLink)
{
   if (wantAsLink)
   {
      emailAddress = "<"+"a"+" "+"h"+"r"+"e"+"f"+"="+"'"+"m"+"a"+"i"+"l"+"t"+"o"+":"+ emailAddress +"'"+">" + 
                     emailAddress + "<"+"/"+"a"+">";

   }                                   // if (wantAsLink)
   return (emailAddress);
}                                      // function getEmailHTMLCode(emailAddress, wantAsLink)

function getFreeReporttName(wantShortName)
{
   return((null != wantShortName) && wantShortName ? freeReportNameShort : freeReportNameLong);

}                                      // function getFreeReporttName(wantShortName)

function getGuaranteeBox(guaranteeNumber, guaranteeLength)
{
   var guarantee   = "";
   var sealHeight  = 0;
   var sealImage   = "";
   var sealHeight  = 0;
   var sealWidth   = 0;

   if (null == guaranteeLength)        // Was a guarantee length specified??
   {
                                       // No, use the default length
      guaranteeLength = defaultGuaranteeLength;

   }                                   // if (null == guaranteeLength)

   if (guaranteeLength != 0)           // Is there a guarantee??
   {
                                       // yes, get the HTML box for it
      guarantee = "<center><div class='GuaranteeBox'><h1 class='Headline'>100% Money Back Guarantee</h1>";

      switch (guaranteeLength)
      {
         case 30:
            sealImage  = "images/guarantee-seal-30-day.gif";
            sealHeight = 127;
            sealWidth  = 100;
            break;

         case 60:
            sealImage  = "images/guarantee-seal-60-day.gif";
            sealHeight = 127;
            sealWidth  = 100;
            break;

         case 90:
            sealImage  = "images/guarantee-seal-90-day.gif";
            sealHeight = 127;
            sealWidth  = 100;
            break;

         case 180:
            sealImage  = "images/guarantee-seal-180-day.gif";
            sealHeight = 127;
            sealWidth  = 100;
            break;

         case 365:
            sealImage  = "images/guarantee-seal-365-day.gif";
            sealHeight = 127;
            sealWidth  = 100;
            break;

         default:
            sealImage  = "images/guarantee-seal-30-day.gif";
            sealHeight = 127;
            sealWidth  = 100;
            break;
      }                                // switch (guaranteeLength)

      guarantee += "<img align='right' alt='100% Money Back Guarantee' height='" + sealHeight + "' " + 
                        "src='" + sealImage + "' width='" + sealWidth + "' />";

                                       // Are we doing the standard $8.88 sale guarantee??
      if (guaranteeNumber == GUARANTEE_STANDARD_30_DAY_FOR_888)
      {
                                       // Yes, put in the "nobody does it" paragraph
         guarantee += "<p>Hardly anybody gives a money back guarantee on these types of sales but I've " + 
                      "never quite done what everybody else does and won't here either. So...</p>";

      }                                // if (guaranteeNumber == 2GUARANTEE_STANDARD_30_DAY_FOR_888)

                                       // Are we doing the standard "with rights" sale guarantee??
      if ((guaranteeNumber == GUARANTEE_STANDARD_30_DAY_FOR_888) || (guaranteeNumber == GUARANTEE_STANDARD_30_DAY_FOR_37))
      {
                                       // Yes, put in the "nobody does it" paragraph
         guarantee += "<p><span class='PrimaryHighlight'>You've got " + guaranteeLength + " days</span> to look at the products, " + 
                      "put them up for sale and make a mint:-) If, after that, you decide you don't want them then send an e-mail to " + 
                      getREA(true) + 
                      " and <span class='PrimaryHighlight'>I will give you your money back.</span></p>" + 
                      "<p>Fair?</p>" + 
                      "<p>I can't believe you can't make money from these -- at least more than you paid -- ";
      }
      else
      {
         guarantee += "<p><span class='PrimaryHighlight'>You've got " + guaranteeLength + " days</span> to look at the product, " + 
                      "use them, put them into practice and extract all the benefit. If, after that you, decide you don't want " + 
                      "it then send an e-mail to " + getREA(true) + 
                      " and <span class='PrimaryHighlight'>I will give you your money back.</span></p>" + 
                      "<p>Fair?</p>" + 
                      "<p>I can't believe they won't help you ";

      }                                // if ((guaranteeNumber == GUARANTEE_STANDARD_30_DAY_FOR_888) || (guaranteeNumber == GUARANTEE_STANDARD_30_DAY_FOR_37))

      guarantee += "but I don't want you to put out cold hard cash and then be bummed about it so if that happens " + 
                   "let me know and I'll give you your money back.</p>" + 
                   "<center>" + 
                   "<h2 class='Subheadline'>No hassles.</h2>" + 
                   "<h2 class='Subheadline'>No delays.</h2>" + 
                   "<h2 class='Subheadline'>Simple as that.</h2>" + 
                   "<h2 class='Subheadline'>I Take ALL the Risk...</h2>" + 
                   "<h1 class='Headline'>My Solemn Promise to You.<br />Guaranteed.</h1>" + 
                   "</center>" + 
                   "</div></center>";

   }                                   // if (guaranteeLength != 0)
   return (guarantee);
}                                      // function getGuaranteeBox(guaranteeNumber, guaranteeLength)

function getGuaranteeBox2(guaranteeLengthInDays, guaranteePercentage, guaranteeBonusPercentage)
{
   var guarantee             = "";
   var guaranteeBonusPercent = (null != guaranteeBonusPercentage ? guaranteeBonusPercentage : defaultGuaranteeBonusPercent);
   var guaranteeLength       = (null != guaranteeLengthInDays    ? guaranteeLengthInDays    : defaultGuaranteeLength); 
   var guaranteePercent      = (null != guaranteePercentage      ? guaranteePercentage      : defaultGuaranteePercent);
   var sealHeight            = 0;
   var sealImage             = "";
   var sealHeight            = 100;
   var sealWidth             = 80;

   if (guaranteeLength != 0)           // Is there a guarantee??
   {
                                       // Yes, get the HTML box for it
      sealImage = guaranteeLength + "DayGuaranteeSeal.jpg";
/*
      switch (guaranteeLength)
      {
         case 30:
            break;

         case 60:
            break;

         case 90:
            break;

         case 180:
            break;

         case 365:
            break;

         default:
            break;
      }                                // switch (guaranteeLength)
*/
      guarantee = "<center>" + 
                     "<div class='OutsideGuaranteeCertificate'>" + 
                        "<div class='GuaranteeCertificate'>" + 
                           "<div class='InsideGuaranteeCertificate'>" + 
                              "<img align='right' alt='Full " + guaranteeLength + " day money back guarantee' " + 
                                   "height='" + sealHeight + "' src='images/" + sealImage + "' width='80' />" + 
                              "My solid, titanium clad guarantee is that you will have a " + 
                              "<span class='PrimaryHighlight SecondaryHighlight'>FULL " + guaranteeLength + " days</span> " + 
                              "to review and use these products." + 
                              "<br /><br />" + 
                              "If, after that time you, for any reason whatsoever, " + 
                              "decide this is not for you, may return the products " + 
                              "and I will gladly give you a complete and immediate " + 
                              guaranteePercent + "% refund, no questions asked." + 
                              "<br /><br />" + 
                              (guaranteeBonusPercent > 0 ?
                               "In addition, I will also refund you and additional " + guaranteeBonusPercent + "% " + 
                                  "as a thank you for taking the time to consider these products." + 
                                  "<br /><br />" :
                               "") + 
                              "This is my solemn promise to you." + 
                           "</div>" + 
                        "</div>" + 
                     "</div>" + 
                  "</center>";
   }                                   // if (guaranteeLength != 0)
   return (guarantee);
}                                      // function getGuaranteeBox2(guaranteeLengthInDays, guaranteePercentage, guaranteeBonusPercentage)

function getNotPhysicalProduct(wantVideoBlurb, wantFlashBlurb, wantDVDBlurb)
{
   return ("<center><p class='CallOutBox'>" + 
           "Please note that you will be able to download these products immediately" + 
           ((null != wantFlashBlurb) && wantFlashBlurb ? 
            "; the included videos are in Flash format and can only played them on a computer that has Flash installed" : 
            "") + 
           ".<br /><br />" + 
           "The DVDs and books in the pictures are for illustration purposes only and you will not receive " + 
           "any actual DVDs, CDs, books or any other physical product; everything is a digital download." + 
           ((null != wantDVDBlurb) && wantDVDBlurb ? 
            "<br /><br />Also note, that you cannot copy the DVDs and play them on a standard DVD player." : 
            "") + 
           "</p></center>");

}                                      // function getNotPhysicalProduct(wantVideoBlurb, wantFlashBlurb, wantDVDBlurb)

function getPageBottom(companyName, copyrightHolder, copyrightStart, linkFontSize, 
                       wantLegalRights, wantEarningsDisclaimer, wantPrivacyPolicy, wantTermsOfUse, 
                       wantEthicLinks, wantContactUsLink)
{
   var bottomOfPage = "<center><p class='BottomPageMenu'>";

   if ((null != wantLegalRights) && wantLegalRights)
   {
      bottomOfPage += "<a href='http://" + document.domain + "/DisclaimerAndLegalRights.htm' title='Disclaimer And Legal Rights' target='_blank'" + ((null != linkFontSize) && linkFontSize ?  " style='font-size: " + linkFontSize + ";'" : "") + 
                      ">Disclaimer &amp; Legal Rights</a>&nbsp;|&nbsp;";

   }                                   // if ((null != wantLegalRights) && wantLegalRights)

   if ((null != wantEarningsDisclaimer) && wantEarningsDisclaimer)
   {
      bottomOfPage += "<a href='http://" + document.domain + "/EarningsAndIncomeDisclaimers.htm' title='Earnings And Income Disclaimers' target='_blank'" + 
                      ((null != linkFontSize) && linkFontSize ?  " style='font-size: " + linkFontSize + ";'" : "")  + 
                      ">Earnings &amp; Income Disclaimers</a>&nbsp;|&nbsp;";

   }                                   // if ((null != wantEarningsDisclaimer) && wantEarningsDisclaimer)

   if ((null != wantPrivacyPolicy) && wantPrivacyPolicy)
   {
      bottomOfPage += "<a href='http://" + document.domain + "/PrivacyPolicy.htm' title='Privacy Policy' target='_blank'" + 
                      ((null != linkFontSize) && linkFontSize ?  " style='font-size: " + linkFontSize + ";'" : "")  + 
                      ">Privacy Policy</a>&nbsp;|&nbsp;";

   }                                   // if ((null != wantPrivacyPolicy) && wantPrivacyPolicy)

   if ((null != wantTermsOfUse) && wantTermsOfUse)
   {
      bottomOfPage += "<a href='http://" + document.domain + "/TermsOfUseAndService.htm' title='Terms of Use And Service' target='_blank'" + 
                      ((null != linkFontSize) && linkFontSize ?  " style='font-size: " + linkFontSize + ";'" : "")  + 
                      ">Terms Of Use &amp; Service</a>&nbsp;|&nbsp;";

   }                                   // if ((null != wantTermsOfUse) && wantTermsOfUse)

   if ((null != wantEthicLinks) && wantEthicLinks)
   {
      bottomOfPage += "<a href='http://" + document.domain + "/ethiclinks.php' title='Ethic Links' target='_blank'" + 
                      ((null != linkFontSize) && linkFontSize ?  " style='font-size: " + linkFontSize + ";'" : "")  + 
                      ">Links</a>&nbsp;|&nbsp;";

   }                                   // if ((null != wantEthicLinks) && wantEthicLinks)

   if ((null != wantContactUsLink) && wantContactUsLink)
   {
      bottomOfPage += "<a href='" + getContactURL() + "' target='_blank'" + 
                      ((null != linkFontSize) && linkFontSize ?  " style='font-size: " + linkFontSize + ";'" : "")  + 
                      ">Contact</a>&nbsp;|&nbsp;";

   }                                   // if ((null != wantContactUsLink) && wantContactUsLink)

   if (bottomOfPage.substr(bottomOfPage.length-7) == "|&nbsp;")
   {
      bottomOfPage = bottomOfPage.substr(0, bottomOfPage.length-7);

   }                                   // if (bottomOfPage.substr(bottomOfPage.length-7) == "|&nbsp;")

   if ((null != companyName) && companyName)
   {
      bottomOfPage += "<br /><span class='ContactInfo'>" + companyName + ", " + companyAddress + "</span>";

   }                                   // if ((null != companyName) && companyName)

   if ((null != copyrightHolder) && copyrightHolder)
   {
      bottomOfPage += "<br /><span class='CopyrightMessage'>" + getCopyright(copyrightHolder, copyrightStart) + "</span>";

   }                                   // if ((null != copyrightHolder) && copyrightHolder)

   return (bottomOfPage + "</p></center>");

}                                      // function getPageBottom(companyName, copyrightHolder, copyrightStart, linkFontSize, 
                                       //                        wantLegalRights, wantEarningsDisclaimer, wantPrivacyPolicy, wantTermsOfUse, 
                                       //                        wantEthicLinks)

function GetParameters(queryStringParameter)
{
   var URL = window.location.href;

   var regularExpression = "[\\?&]" + queryStringParameter.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]") + "=([^&#]*)";
   var regex             = new RegExp(regularExpression, "i");
   var results           = regex.exec(URL);

   return (results == null ? "" : results[1]);

}                                // function GetParameters(queryStringParameter)

function getProductName(wantShortName)
{
   return((null != wantShortName) && wantShortName ? productNameShort : productNameLong);

}                                      // function getProductName(wantShortName)

function getREA(wantAsLink)
{
   return (getEmailHTMLCode(getEmailAddressRefunds(), wantAsLink));

}                                      // function getREA(wantAsLink)

function getSEA(wantAsLink)
{
   return (getEmailHTMLCode(getEmailAddressSupport(), wantAsLink));

}                                      // function getSEA(wantAsLink)

function getSecuritySealAuthorizeNet(authorizeNetID)
{
//   return ("<div class='AuthorizeNetSeal'><script type='text/javascript' language='javascript'>var ANS_customer_id='" + authorizeNetID + "';</script>" + 
//           "<script type='text/javascript' language='javascript' src='http://verify.authorize.net/anetseal/seal.js' ></script><a href='http://www.authorize.net/' id='AuthorizeNetText' target='_blank'>Transaction Processing</a> </div>");
//
   return ("");

}                                      // function getSecuritySealAuthorizeNet(authorizeNetID)

function getSecuritySealHonestEOnline(honestESiteCode, honestEImage)
{
   if (null == honestESiteCode)
   {
      honestEImage = defaultHonestESiteCode;

   }                                   // if (null == honestESiteCode)

   if (null == honestEImage)
   {
      honestEImage = defaultHonestEImage;

   }                                   // if (null == honestEImage)

   return ("<a href='http://www.honesteonline.com/members/consumerpage.php?company=2620&link=" + honestESiteCode + "' target='_blank'>" + 
              "<img alt='HONESTe Online Member Seal Click to verify - Before you buy!' " + 
                   "src='images/" + honestEImage + "' style='border: 0px;' /></a>");

}                                      // function getSecuritySealHonestEOnline(honestESiteCode)

function getSecuritySealPayPal(payPalCompanyID)
{
   return ("<a href='https://www.paypal.com/us/verified/pal=" + payPalCompanyID + "' target='_blank'>" + 
              "<img alt='Official PayPal Seal' " + 
                   "src='images/PaypalVerificationSeal.gif' style='border: 0px;' /></a>");

}                                      // function getSecuritySealPayPal(payPalCompanyID)

function getSecuritySealsHorizontal(honestESiteCode, honestEImage, payPalCompanyID, authorizeNetID)
{
   var securitySeals = "<center><table><tr>";

   if (null != honestESiteCode)
   {
      securitySeals += "<td valign='middle'>" + getSecuritySealHonestEOnline(honestESiteCode, honestEImage) + "</td>";

   }                                   // if (null != honestESiteCode)

   if (null != payPalCompanyID)
   {
      securitySeals += "<td valign='middle'>" + getSecuritySealPayPal(payPalCompanyID) + "</td>";

   }                                   // if (null != payPalCompanyID)

   if (null != authorizeNetID)
   {
      securitySeals += "<tr><td valign='middle'>" + getSecuritySealAuthorizeNet(authorizeNetID) + "</td></tr>";

   }                                   // if (null != authorizeNetID)

   return (securitySeals + "</tr></table></center>");

}                                      // function getSecuritySealsHorizontal(honestESiteCode, honestEImage, payPalCompanyID, authorizeNetID)

function getSecuritySealsVertical(honestESiteCode, honestEImage, payPalCompanyID, authorizeNetID)
{
   var securitySeals = "<center><table>";

   if (null != honestESiteCode)
   {
      securitySeals += "<tr><td valign='middle'>" + getSecuritySealHonestEOnline(honestESiteCode, honestEImage) + "</td></tr>";

   }                                   // if (null != honestESiteCode)

   if (null != payPalCompanyID)
   {
      securitySeals += "<tr><td valign='middle'>" + getSecuritySealPayPal(payPalCompanyID) + "</td></tr>";

   }                                   // if (null != payPalCompanyID)

   if (null != authorizeNetID)
   {
      securitySeals += "<tr><td valign='middle'>" + getSecuritySealAuthorizeNet(authorizeNetID) + "</td></tr>";

   }                                   // if (null != authorizeNetID)

   return (securitySeals + "</table></center>");

}                                      // function getSecuritySealsVertical(honestESiteCode, honestEImage, payPalCompanyID, authorizeNetID)

function getSignatureImageLong()
{
   return (htmlSourceLongSignature);

}                                      // function getSignatureImageLong()

function getStopSpecialOfferMessage(wantStopSign, specialEndingMessage)
{
   return ("<center><div class='PurchaseProductBox'>" + 
           ((null != wantStopSign) && wantStopSign ? 
            "<img align='left' alt='Stop, look at this special offer' border='0' height='106' src='images/StopSign.gif' width='111' />" : 
            "") + 
           "<u>Before you download your products below</u> please " + 
           "<span class='SecondaryHighlight'>take a look at this vey special offer</span> " + 
           ((null == specialEndingMessage) || ("" == specialEndingMessage) ?
            "that <span class='PrimaryHighlight'>you can make even money with</span>. <br /><br />" + 
               "It also will help increase your<span class='PrimaryHighlight'> traffic generation</span> " + 
               "so you have a stream of ready and willing buyers." :
            specialEndingMessage) + 
           "</div></center>");

}                                      // function getStopSpecialOfferMessage(wantStopSign, specialEndingMessage)

function getSupportURL(wantAsLink)
{
   var supportURL = defaultSupportURL;

   if (wantAsLink)
   {
      supportURL = "<a href='" + supportURL + "' target='_blank'>" + 
                     supportURL + "</a>";

   }                                   // if (wantAsLink)
   return (supportURL);
}                                      // function getSupportURL(wantAsLink)

function hideLayer(layerID)
{
   showHideLayer(layerID, "none");

}                                      // function hideLayer(layerID)

function showHideLayer(layerID, displayType)
{
   var desiredLayer = (document.getElementById ? document.getElementById(layerID) : null);

                                       // Can we find the layer??
   if ((desiredLayer != null) && (desiredLayer.style != null) && (desiredLayer.style.display != null))
   {
                                       // Yes, then change the display type
      desiredLayer.style.display = displayType;

   }                                   // if ((desiredLayer != null) && (desiredLayer.style != null) && (desiredLayer.style.display != null))

}                                      // function showHideLayer(layerID, displayType)

function showLayer(layerID)
{
   showHideLayer(layerID, "block");

}                                      // function showLayer(layerID)

function toggleLayer(layerID)
{
   var desiredLayer = (document.getElementById ? document.getElementById(layerID) : null);
                                       // Can we find the layer??
   if ((desiredLayer != null) && (desiredLayer.style != null))
   {
                                       // Yes, is the layer shown??
      if (desiredLayer.style.display == "block")
      {
         hideLayer(layerID);           // Yes, hide it
      }
      else                             // No, show it
      {
         showLayer(layerID);
      }                                // if (desiredLayer.style.display == "block")

   }                                   // if ((desiredLayer != null) && (desiredLayer.style != null))

}                                      // function toggleLayer(layerID)

function wea(wantAsLink)
{
   document.write(getEA(wantAsLink));
}                                      // function wea(wantAsLink)

function wrea(wantAsLink)
{
   document.write(getREA(wantAsLink));
}                                      // function wrea(wantAsLink)

function writeBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                           CallToActionText, CallToActionTextStyling, 
                           AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                           BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                           ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                           CreditCardImagesURL, CreditCardImagesALink, whereLinkGoes)
{
   document.write(getBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                                   CallToActionText, CallToActionTextStyling, 
                                   AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                                   BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                                   ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                                   CreditCardImagesURL, CreditCardImagesALink, whereLinkGoes));

}                                      // function writeBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                                       //                             CallToActionText, CallToActionTextStyling, 
                                       //                             AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                                       //                             BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                                       //                             ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                                       //                             CreditCardImagesURL, CreditCardImagesALink, whereLinkGoes)

function writeCookiesMustBeEnabled()
{
   document.write(getCookiesMustBeEnabled());

}                                      // function writeCookiesMustBeEnabled()

function writeDefaultBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                                   CallToActionText, CallToActionTextStyling, 
                                   AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                                   BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                                   ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                                   CreditCardImagesURL, CreditCardImagesALink, whereLinkGoes)
{
   document.write(getDefaultBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                                          CallToActionText, CallToActionTextStyling, 
                                          AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                                          BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                                          ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                                          CreditCardImagesURL, CreditCardImagesALink, whereLinkGoes));

}                                      // function writeDefaultBelcherButton(BuyButtonLink, RegularPrice, TodaysPrice, RegularPriceLabel, TodaysPriceLabel, 
                                       //                                    CallToActionText, CallToActionTextStyling, 
                                       //                                    AddToCartButtonText, AddToCartButtonStyling, AddToCartLinkText, AddToCartLinkStyling, 
                                       //                                    BoxBorderStyling, AllowClickAnywhere, RegularPriceStyling, 
                                       //                                    ButtonImageURL, ButtonImageBorder, ButtonImageHeight, ButtonImageWidth, 
                                       //                                    CreditCardImagesURL, CreditCardImagesALink, whereLinkGoes)

function writeDefaultPageBottom(wantLineSeparator)
{
  if ((null != wantLineSeparator) && wantLineSeparator)
  {
      document.write("<hr />");
  }                                    // if ((null != wantLineSeparator) && wantLineSeparator)

   document.write(getDefaultPageBottom());

}                                      // function writeDefaultPageBottom()

function writeDefaultSecurityHTML(wantCreditCardImages)
{
   document.write(getDefaultSecurityHTML(wantCreditCardImages));

}                                      // function writeDefaultSecurityHTML(wantCreditCardImages)

function writeNotPhysicalProduct(wantVideoBlurb, wantFlashBlurb, wantDVDBlurb)
{
   document.write(getNotPhysicalProduct(wantVideoBlurb, wantFlashBlurb, wantDVDBlurb));

}                                      // function writeNotPhysicalProduct()

function writeDomainName(wantAsLink, wantShortName)
{
   var domainName = getDomainName(wantShortName);

   if (wantAsLink)
   {
      domainName = "<a href='http://" + domainName + "'>" + domainName + "</a>";

   }                                   // if (wantAsLink)
   document.write(domainName);
}                                      // function writeDomainName(wantAsLink, wantShortName)

function writeDomainToWhiteList(wantAsLink)
{
   var domainName = getDomainToWhiteList();

   if (wantAsLink)
   {
      domainName = "<a href='http://" + domainName + "'>" + domainName + "</a>";

   }                                   // if (wantAsLink)
   document.write(domainName);
}                                      // function writeDomainToWhiteList(wantAsLink)

function writeFreeReportName(wantShortName)
{
   document.write(getFreeReportName(wantShortName));

}                                      // function writeFreeReportName(wantShortName)

function writeGuaranteeBox(guaranteeNumber, guaranteeLength)
{
   document.write(getGuaranteeBox(guaranteeNumber, guaranteeLength));

}                                      // function writeGuaranteeBox(guaranteeNumber, guaranteeLength)

function writeGuaranteeBox2(guaranteeLengthInDays, guaranteePercentage, guaranteeBonusPercentage)
{
   document.write(getGuaranteeBox2(guaranteeLengthInDays, guaranteePercentage, guaranteeBonusPercentage));

}                                      // function writeGuaranteeBox2(guaranteeLengthInDays, guaranteePercentage, guaranteeBonusPercentage)

function writeProductName(wantShortName)
{
   document.write(getProductName(wantShortName));

}                                      // function writeProductName(wantShortName)

function wsea(wantAsLink)
{
   document.write(getSEA(wantAsLink));
}                                      // function wsea(wantAsLink)

function writeSignature(wantLong, wantEmail, wantEmailAsLink)
{
   document.write(getSignatureImageLong() + "<br /");

                                       // Is the e-mail address desired also??
   if ((null != wantEmail) && (wantEmail))
   {
                                       // Yes, write it too
      wea(wantEmailAsLink);
   }                                   // if ((null != wantEmail) && (wantEmail))

}                                      // function writeSignature(wantLong, wantEmail, wantEmailAsLink)

function writePurchaseBoxSecurityNotesFooter(wantCreditCardImages, dontWantNotPhysicalProduct, wantVideoBlurb, wantFlashBlurb, wantDVDBlurb)
{
   writeDefaultSecurityHTML(wantCreditCardImages);
   writeCookiesMustBeEnabled();
   document.write("<br /><br />");

   if ((null == dontWantNotPhysicalProduct) || (! dontWantNotPhysicalProduct))
   {
      writeNotPhysicalProduct(wantVideoBlurb, wantFlashBlurb, wantDVDBlurb);

   }                                   // if ((null == dontWantNotPhysicalProduct) || (! dontWantNotPhysicalProduct))

}                                      // function writePurchaseBoxSecurityNotesFooter(wantCreditCardImages)

function writeStopSpecialOfferMessage(wantStopSign, wantLineBreakBefore, wantLineBreakAfter, specialEndingMessage)
{
   document.write(((null != wantLineBreakBefore) && wantLineBreakBefore ? "<br />" : "") + 
                  getStopSpecialOfferMessage(wantStopSign, specialEndingMessage) + 
                  ((null != wantLineBreakAfter) && wantLineBreakAfter ? "<br />" : ""));

}                                      // function writeStopSpecialOfferMessage(wantStopSign, wantLineBreakBefore, wantLineBreakAfter, specialEndingMessage)

function writeSupportURL(wantAsLink)
{
   document.write(getSupportURL(wantAsLink));

}                                      // function writeSupportURL(wantAsLink)

