<!--POST 
/**************************************************************
Copyright 2005, YesMail

             Template for HTML messages
             HP Shopping Main Newsletter
             *************************************************/

var enviroFlag = "live";
var base_url;

if (enviroFlag == "qa"){
	base_url = "test1-role.austin.hp.com";
} else if (enviroFlag == "live"){
	base_url = "register.hp.com";
}

/************** VARIABLES DECLARATION *************************/

//ID segmentation
var userId 			= user.attr("id");
var firstName       = user.attr("firstName");
var lastName        = user.attr("lastName");
var productLine     = user.attr("ProductLine");
var productName     = user.attr("ProductName");
var productNumber   = user.attr("productNumber");
var purchaseDate	= user.attr("purchaseDate");
var purchaseLocation = user.attr("purchaseLocation");
var registrationDate = user.attr("registrationDate");
var publisherFlag    = user.attr("PublisherFlag");
var snapfishFlag     = user.attr("SnapFishFlag");
var marketingFlag    = user.attr("marketingFlag"); 
var eMail           = user.attr("eMail");
var encrypted_token = user.attr("userId");
var country = user.attr("country");
var language = user.attr("language");
var OfferCode       = user.attr("OfferCode");
var OfferID         = user.attr("OfferID");
var displayOffer    = true;
if (OfferCode == null || OfferCode == "" || country == "GD") { displayOffer = false; }
var support_url = "http://www.hp.com/go/hpsupportassistant";
/**************************************************************
PRODUCT FAMILY MULTITABLE FUNCTION
**************************************************************/

var usersProductFamily = '';
var cotentDecision = '';

prodctFamilyLowerArray = new Array('compaq all-in-one products','compaq armada notebook pcs','compaq business desktop pcs','compaq concerto pcs','compaq contura pcs','compaq cq desktop pcs','compaq deskpro pcs','compaq desktop gaming pcs','compaq evo desktop pcs','compaq evo notebook pcs','compaq handheld pcs','compaq ipaq pcs','compaq lte pcs','compaq mini notebook pcs','compaq mini pcs','compaq notebook pcs','compaq palm-size pcs','compaq pocket pcs','compaq portable pcs','compaq presario desktop pcs','compaq presario notebook pcs','compaq prolinea pcs','compaq prosignia notebook pcs','compaq prosignia pcs','compaq slt pcs','compaq tablet pcs','handheld pcs','hp 500 notebook pcs','hp blade pcs','hp brio pcs','hp business desktop pcs','hp compaq business desktop pcs','hp compaq desktop pcs','hp compaq notebook pcs','hp elitebook notebook pcs','hp e-pcs','hp g notebook pcs','hp handheld/pocket/palmtop pcs','hp hdx desktop pcs','hp hdx notebook pcs','hp media center desktop pcs','hp media center/elite desktop pcs','hp mini notebook pcs','hp mini pcs','hp multimedia pcs','hp notebook pcs','hp omnibook notebook pcs','hp pavilion desktop pcs','hp pavilion notebook pcs','hp pavilion notebook series zt pcs','hp pocket pcs','hp pocket/handheld/palmtop pcs','hp probook notebook pcs','hp special edition notebook pcs','hp touchsmart desktop pcs','hp touchsmart notebook pcs','hp vectra 500 pcs','hp vectra pcs','hp vectra pcs (qs/386/486)','ipaq pocket pcs','rugged notebook pcs','voodoo desktop pcs','voodoo mobile pcs','voodoo notebook pcs'); 

function checkProductFamily(inValue) {
	var inValueLower = inValue.toLowerCase();
        var returnVal = 'isNotNewContent';
	for (var x=0; x<prodctFamilyLowerArray.length; x++) {
		if (inValueLower == prodctFamilyLowerArray[x]) {
			returnVal = 'isNewContent';
                        continue;
		}
	}
	return returnVal;
}

//checks if an array contains a value
function contains (array, obj) {
    var i = array.length;
    while (i--) {
        if (array[i] == obj) {
            return true;
        }
    }
    return false;
}



multitable.setID("getProductFamily", productNumber); 

while (multitable.getNext("getProductFamily")){  
    usersProductFamily = multitable.getValue("getProductFamily", "ProductFamily");
}

if (usersProductFamily != '') {
	cotentDecision = checkProductFamily(usersProductFamily);
} else {
	cotentDecision = 'isNotNewContent';
}

messageType = usersProductFamily.substring(0,2);


//Setting Defaults
if ((productLine == "6J" || productLine == "KV") && (productName == "" || productName == null)){
    
	cotentDecision = 'isNewContent';
	messageType = "HP";
	productName = "PC";

	
}

/**************************************************************
Function format Date:
m/d/yyyy to d/m/yyyy
***************************************************************/

var arrDate = new Array();
function fmt_date(dateStr) {
  var newDateStr = dateStr;
  if (dateStr != null) {
    arrDate = dateStr.split("/");
    newDateStr = arrDate[1] + "/" + arrDate[0] + "/" + arrDate[2];
  }
  return newDateStr;
}
/**************************************************************
COUPON CODE MULTITABLE
***************************************************************/
multitable.setID("CouponCode", 1); 

while (multitable.getNext("CouponCode")){  
    var couponCode = multitable.getValue("CouponCode", "CouponCode");
    var couponExpDate = multitable.getValue("CouponCode", "CouponExpirationDate");
}
var loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=US&lang=en";
switch (country) {
  case "AR":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=AR&lang=es";
  break;
  case "AW":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=AW&lang=en";
  break;
  case "BB":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=BB&lang=en";
  break;
  case "BO":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=BO&lang=es";
  break;
  case "BR":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=BR&lang=pt";
  break;
  case "BS":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=BS&lang=en";
  break;
  case "CA":
    switch (language) {
      case "fr":
        loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=CA&lang=fr";
        support_url = "http://www.hp.ca/hpsupportassistant-fr";
      break;
      default:
        loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=CA&lang=en";
        support_url = "http://www.hp.ca/hpsupportassistant";
      break;
    }
  break;
  case "CL":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=CL&lang=es";
  break;
  case "CO":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=CO&lang=es";
  break;
  case "CR":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=CR&lang=es";
  break;
  case "DO":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=DO&lang=es";
  break;
  case "EC":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=EC&lang=es";
  break;
  case "GD":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=GD&lang=en";
  break;
  case "GT":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=GT&lang=es";
  break;
  case "HN":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=HN&lang=es";
  break;
  case "JM":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=JM&lang=es";
  break;
  case "MX":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=MX&lang=es";
  break;
  case "NI":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=NI&lang=es";
  break;
  case "PA":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=PA&lang=es";
  break;
  case "PE":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=PE&lang=es";
  break;
  case "PR":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=PR&lang=es";
  break;
  case "PY":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=PY&lang=es";
  break;
  case "SV":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=SV&lang=es";
  break;
  case "TT":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=TT&lang=en";
  break;
  case "US":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=US&lang=en";
  break;
  case "UY":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=UY&lang=es";
  break;
  case "VE":
    loginUrl = "https://" + base_url + "/americas/flowPage/login/index.do?cc=VE&lang=es";
  break;
}
/**************************************************************
PRODUCT LINE SEGMENTATION
***************************************************************/

var psgDt = false;
var psgNb = false;
var psgHand = false;
var psgTvCd = false;
var otherPSG = false;
var ipgCode = false;
var psgCom = false;
var ipgCom  = false;

if (productLine == "6J") {
  psgDt = true;
} else if (productLine == "KV") {
  psgNb = true;
} else if (productLine == "21") {
  psgHand = true;
} else if (productLine == "ME") {
  psgTvCd = true;
} else if (productLine == "E1") {
  psgTvCd = true;
} else if (productLine == "KX") {
  psgTvCd = true;
} else if (productLine == "KW") {
  psgTvCd = true;
} else if (productLine == "2C") {
  otherPSG = true;
} else if (productLine == "2G") {
  otherPSG = true;
} else if (productLine == "2H") {
  otherPSG = true;
} else if (productLine == "2S") {
  otherPSG = true;
} else if (productLine == "2T") {
  otherPSG = true;
} else if (productLine == "52") {
  otherPSG = true;
} else if (productLine == "8W") {
  otherPSG = true;
} else if (productLine == "9F") {
  otherPSG = true;
} else if (productLine == "9G") {
  otherPSG = true;
} else if (productLine == "9H") {
  otherPSG = true;
} else if (productLine == "9J") {
  otherPSG = true;
} else if (productLine == "BO") {
  otherPSG = true;
} else if (productLine == "BQ") {
  otherPSG = true;
} else if (productLine == "HK") {
  otherPSG = true;
} else if (productLine == "HV") {
  otherPSG = true;
} else if (productLine == "JM") {
  otherPSG = true;
} else if (productLine == "JT") {
  otherPSG = true;
} else if (productLine == "JU") {
  otherPSG = true;
} else if (productLine == "LD") {
  otherPSG = true;
} else if (productLine == "MF") {
  otherPSG = true;
} else if (productLine == "MG") {
  otherPSG = true;
} else if (productLine == "MM") {
  otherPSG = true;
} else if (productLine == "MN") {
  otherPSG = true;
} else if (productLine == "MP") {
  otherPSG = true;
} else if(productLine == "1N"){
    ipgCode = true;
} else if(productLine == "27"){
    ipgCode = true;
} else if(productLine == "2A"){
    ipgCode = true;
} else if(productLine == "2B"){
    ipgCode = true;
} else if(productLine == "2D"){
    ipgCode = true;
} else if(productLine == "2N"){
    ipgCode = true;
} else if(productLine == "2Q"){
    ipgCode = true;
} else if(productLine == "3G"){
    ipgCode = true;
} else if(productLine == "4X"){
    ipgCode = true;
} else if(productLine == "5J"){
    ipgCode = true;
} else if(productLine == "5M"){
    ipgCode = true;
} else if(productLine == "5T"){
    ipgCode = true;
} else if(productLine == "6A"){
    ipgCode = true;
} else if(productLine == "7T"){
    ipgCode = true;
} else if(productLine == "83"){
    ipgCode = true;
} else if(productLine == "9C"){
    ipgCode = true;
} else if(productLine == "9D"){
    ipgCode = true;
} else if(productLine == "A5"){
    ipgCode = true;
} else if(productLine == "AU"){
    ipgCode = true;
} else if(productLine == "B7"){
    ipgCode = true;
} else if(productLine == "C2"){
    ipgCode = true;
} else if(productLine == "DA"){
    ipgCode = true;
} else if(productLine == "DE"){
    ipgCode = true;
} else if(productLine == "DL"){
    ipgCode = true;
} else if(productLine == "DN"){
    ipgCode = true;
} else if(productLine == "DU"){
    ipgCode = true;
} else if(productLine == "HI"){
    ipgCode = true;
} else if(productLine == "HM"){
    ipgCode = true;
} else if(productLine == "HN"){
    ipgCode = true;
} else if(productLine == "HO"){
    ipgCode = true;
} else if(productLine == "HP"){
    ipgCode = true;
} else if(productLine == "HQ"){
    ipgCode = true;
} else if(productLine == "JP"){
    ipgCode = true;
} else if(productLine == "KL"){
    ipgCode = true;
} else if(productLine == "KN"){
    ipgCode = true;
} else if(productLine == "KP"){
    ipgCode = true;
} else if(productLine == "KS"){
    ipgCode = true;
} else if(productLine == "KU"){
    ipgCode = true;
} else if(productLine == "LF"){
    ipgCode = true;
} else if(productLine == "M3"){
    ipgCode = true;
} else if(productLine == "MB"){
    ipgCode = true;
} else if(productLine == "MC"){
    ipgCode = true;
} else if(productLine == "MK"){
    ipgCode = true;
} else if(productLine == "ML"){
    ipgCode = true;
} else if(productLine == "MQ"){
    ipgCode = true;
} else if(productLine == "R6"){
    ipgCode = true;
} else if(productLine == "SR"){
    ipgCode = true;
}
if ((productLine == "7F") || (productLine == "AN") || (productLine == "5X") || (productLine == "21")){
    psgCom = true;
} else if ((productLine == "30") || (productLine == "8A") || (productLine == "MA") || (productLine == "PQ") || (productLine == "AK") || (productLine == "LY") || (productLine == "C5")) {
    ipgCom = true;
}

var bool_product_flag = (productLine == "2B" || productLine == "LY" || productLine == "2Q" || productLine == "8A" || productLine == "T2" || productLine == "MA" || productLine == "83" || productLine == "C2" || productLine == "DL" || productLine == "5M" || productLine == "2N" || productLine == "7T" || productLine == "DU");
if((productName==null || productName=="" || productName==" ")&&(bool_product_flag)&&(country=="US")){
 productName = "HP Printer";
}

/**************************************************************
CHECKING NULL VALUES
***************************************************************/

if (firstName == null || firstName == "" || firstName == " ") {
    firstName = "";
} else {
     /***** convert first letter of name to uppercase *******/
    firstName= firstName.substring(0,1).toUpperCase() + firstName.substring(1, firstName.length).toLowerCase();
}

if (lastName == null || lastName == "" || lastName == " ") {
    lastName = "";
} else {
     /***** convert first letter of name to uppercase *******/
    lastName= lastName.substring(0,1).toUpperCase() + lastName.substring(1, lastName.length).toLowerCase();
}

if (purchaseDate == null || purchaseDate == "" || purchaseDate == " ") {
    purchaseDate = "";
}

if (purchaseLocation == null || purchaseLocation == "" || purchaseLocation == " ") {
    purchaseLocation = "";
}

if (registrationDate == null || registrationDate == "" || registrationDate == " ") {
    registrationDate = "";
} 

/**************************************************************
SET PRODUCT IMAGE
***************************************************************/

var productImage;

if (productNumber == null || productNumber == "" || productNumber == "") {
    productImage = "http://h20180.www2.hp.com/apps/Nav?h_lang=en&lang=en&h_cc=us&c=us&h_product=PK647A&h_page=hpcom&h_pagetype=z-002&h_audience=hho,smb&lang=en&cc=us&h_client=Z-A-P001-1";
} else {
    productImage = "http://h20180.www2.hp.com/apps/Nav?h_lang=en&lang=en&h_cc=us&c=us&h_product=" + productNumber + "&h_page=hpcom&h_pagetype=z-002&h_audience=hho,smb&lang=en&cc=us&h_client=Z-A-P001-1";
}

/*********************************************************************
START OF MESSAGE SEGMENTATION DEPENDING ON COUNTRY AND LANGUAGE
**********************************************************************/
var caribbean = false;
var centralAmerica = false;
var spanishCountry = false;

if ((country == "GD") || (country == "AW") || (country == "BS") || (country == "BB") || (country == "BM") || (country == "JM") || (country == "TT")) {
	caribbean = true;
}

if ((country == "CR") || (country == "DO") || (country == "SV") || (country == "GT") || (country == "HN") || (country == "NI") || (country == "PA")) {
	centralAmerica = true;
        spanishCountry = true;
}

if ((country == "AR") || (country == "BO") || (country == "CL") || (country == "CO") || (country == "EC") || (country == "MX") || (country == "PY")
      || (country == "PE") || (country == "PR") || (country == "UY") || (country == "VE")) {
        spanishCountry = true;
}

/**************************************************************
HPLAR URL SEGMENTATION
***************************************************************/
// url declarations
var subscribersChoiceURL;
var getSupportURL;
var smallBusinessURL;
var servicesURL;
var privacyURL;
var techSolutionsURL;
var subscriptionInfoURL;
var totalcareURL;
var extendedPlanURL;
var suppAccURL;
var resellerURL;
var totalCareURL;
var exploreURL;
var photoCenterURL;
var hhosStoreURL;
var digitalURL;

if (centralAmerica) {

   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
   suppAccURL = "http://welcome.hp.com/country/lamerica_nsc_cnt_amer/es/prodserv/laser-toner-ink-cartridges.html";
   resellerURL = "http://h30095.www3.hp.com/ac/socio_negocios/index.html";
   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
   exploreURL = "http://welcome.hp.com/country/lamerica_nsc_cnt_amer/es/solutions/home_homeoffice.html";
   digitalURL = "http://h30095.www3.hp.com/ac/hogar/cfd/index.html";
   privacyURL = "http://welcome.hp.com/country/lamerica_nsc_cnt_amer/es/privacy.html";

} else {
    
	if (country == "AR") {
	  
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/ar/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30107.www3.hp.com/socio_negocios/index.html";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/ar/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30107.www3.hp.com/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/ar/es/privacy.html";
	
	} else if (country == "BO") {
	
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/bo/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30095.www3.hp.com/bo/socio_negocios/index.html";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/bo/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30095.www3.hp.com/bo/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/bo/es/privacy.html";
	
	} else if (country == "CL") {
	  
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/cl/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30175.www3.hp.com/hp_localizador_canales/html/index.php?id_pais=1&acc=h&te=0";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/cl/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30114.www3.hp.com/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/cl/es/privacy.html";
	
	} else if (country == "CO") {
	  
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/co/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30175.www3.hp.com/hp_localizador_canales/html/index.php?id_pais=3&acc=h&te=0";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/co/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30113.www3.hp.com/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/co/es/privacy.html";
	
	} else if (country == "EC") {
	
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/ec/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30095.www3.hp.com/ec/socio_negocios/index.html";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/ec/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30095.www3.hp.com/ec/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/ec/es/privacy.html";
	
	} else if (country == "MX") {
	
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/mx/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30175.www3.hp.com/hp_localizador_canales/html/index.php?id_pais=36&acc=d?jumpid=in_r11340_catalogo/mx/reseller_locator_20070612";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/mx/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30070.www3.hp.com/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/mx/es/privacy.html";
	
	} else if (country == "PY") {
	
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/py/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30095.www3.hp.com/py/socio_negocios/index.html";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/py/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30095.www3.hp.com/py/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/py/es/privacy.html";
	
	} else if (country == "PE") {
	  
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/pe/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30115.www3.hp.com/socio_negocios/index.html";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/pe/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30115.www3.hp.com/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/pe/es/privacy.html";
	
	} else if (country == "PR") {
	
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/pr/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30095.www3.hp.com/pr/socio_negocios/index.html";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/pr/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30095.www3.hp.com/pr/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/pr/es/privacy.html";
	
	} else if (country == "UY") {
	
	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/uy/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30095.www3.hp.com/uy/socio_negocios/index.html";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/uy/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30095.www3.hp.com/uy/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/uy/es/privacy.html";
	
	} else if (country == "VE") {

	   extendedPlanURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   suppAccURL = "http://welcome.hp.com/country/ve/es/prodserv/laser-toner-ink-cartridges.html";
	   resellerURL = "http://h30175.www3.hp.com/hp_localizador_canales/html/index.php?id_pais=4&acc=h&te=0";
	   totalcareURL = "http://h30095.www3.hp.com/servicio_garantia/0807_total.html";
	   exploreURL = "http://welcome.hp.com/country/ve/es/solutions/home_homeoffice.html";
	   digitalURL = "http://h30116.www3.hp.com/hogar/cfd/index.html";
	   privacyURL = "http://welcome.hp.com/country/ve/es/privacy.html";
	
	}
	

}

/**************************************************************
HP LAR Website Links
**************************************************************/

    if (centralAmerica) {
    
       hplarWebsite = "http://www.hp.com/ac";

    } else if (country == "AR") {
	  
	   hplarWebsite = "http://www.hp.com/ar";
	
	} else if (country == "BO") {
	
	   hplarWebsite = "http://www.hp.com/bo";
	
	} else if (country == "CL") {
	  
	   hplarWebsite = "http://www.hp.com/cl";
	
	} else if (country == "CO") {
	  
	   hplarWebsite = "http://www.hp.com/co"; 
	   
	} else if (country == "EC") {
	
	   hplarWebsite = "http://www.hp.com/ec";
	
	} else if (country == "MX") {
	
	   hplarWebsite = "http://www.hp.com/mx";
	
	} else if (country == "PY") {
	
	   hplarWebsite = "http://www.hp.com/py";
	
	} else if (country == "PE") {
	  
	   hplarWebsite = "http://www.hp.com/pe";
	
	} else if (country == "PR") {
	
	   hplarWebsite = "http://www.hp.com/pr";
	
	} else if (country == "UY") {
	
	   hplarWebsite = "http://www.hp.com/uy";
	
	} else if (country == "VE") {

	   hplarWebsite = "http://www.hp.com/ve";
	
	}
	
//Setup productLine Adjustment
//Added 11/01/2010
var mapMA = new Array("MC","C5","T2","2B","LY","AK","PQ","8A");
var map5M = new Array("4X","T8");

if(contains(mapMA, productLine))
    productLine = "MA";  //Change Product line 
if(contains(map5M, productLine))
    productLine = "5M";  //Change Product line 
	
/**************************************************************
SUBJECT LINE
***************************************************************/

if (language == "fr") {

	document.subject("HP vous remercie de votre inscription");
	
} else if (spanishCountry == true) {

	document.subject("Gracias por registrarse");
	
} else if (country == "BR") {

    document.subject("Obrigado por registrar-se");
    
} else if (displayOffer && OfferID == "4006003"){

	document.subject("HP Registration: Get $100 Google AdWords credit");

} else if (productLine == "5M" || productLine == "2N" || productLine == "7T"){
	//document.subject("Thank you from HP Registration: Try Adobe Photoshop Elements FREE!");
	document.subject("Thank You For Registering With HP");    
} else if (productLine == "DL" || productLine == "83" || productLine == "DU" || productLine == "7T"){
	document.subject("Thank You From HP Registration: Your Welcome Gift is attached");
} else if ((country == "US") && productLine == "6J" || productLine == "KV"){
	if (firstName == "" || firstName == " " || firstName == null){
		document.subject("Thanks, you're registered - now here's your reward");
	} else {
		firstName= firstName.substring(0,1).toUpperCase() + firstName.substring(1, firstName.length).toLowerCase();
		document.subject("Thanks " + firstName + ", you're registered - now here's your reward");
	}
} else {

    document.subject("Thank You For Registering With HP");    
}


// START WITH SPANISH VERSION
if (spanishCountry == true) {
document.from("HP Registro");
POST-->Display graphics version
@HTML_PREVIEW_LINK

HP Invent
--------------------------------------------------------

GRACIAS POR REGISTRAR TU PRODUCTO

Felicitaciones `firstName`!
Has completado tu registro con xito.

Ahora que ests registrado en HP, recibirs la siguiente 
informacin:
- Acessa a soporte y servicios y disfruta al mximo de 
  tus productos HP.
- Suscripcin para avisos de controlador gratuitos.
- Boletines personalizados gratuitos con consejos y 
  trucos e ideas creativas para tus productos HP y Compaq.
- Los ltimos consejos en materia de soporte, soluciones, 
  promociones y ofertas especiales que responden a tus 
  necesidades.

Maneja tu cuenta. Haz clic aqu e ingresa al sitio bajo la 
opcin "Ya he realizado alguna visita". 
`loginUrl`

--------------------------------------------------------
AQU ESTN LOS DETALLES DE TU REGISTRO
--------------------------------------------------------

<!--POST if (firstName != "") { POST-->Nombre: `firstName` `lastName`
<!--POST } POST--><!--POST if ((eMail != null) && (eMail != "") && (eMail != " ")){ POST-->Correo electrnico: `eMail`
<!--POST } POST--><!--POST if ((productName != null) && (productName != "") && (productName != " ")){ POST-->Nombre del producto: `productName`
<!--POST } POST--><!--POST if ((purchaseDate != null) && (purchaseDate != "") && (purchaseDate != " ")){ POST-->Fecha de compra: `fmt_date(purchaseDate)`
<!--POST } POST--><!--POST if ((purchaseLocation != null) && (purchaseLocation != "") && (purchaseLocation != " ")){ POST-->Lugar de compra: `purchaseLocation`
<!--POST } POST--><!--POST if ((registrationDate != null) && (registrationDate != "") && (registrationDate != " ")){ POST-->Fecha de registro: `fmt_date(registrationDate)`
<!--POST } POST-->
--------------------------------------------------------
Obtener ms
--------------------------------------------------------

Total Care 
La tranquilidad de contar con el respaldo de HP Total 
Care
`totalcareURL`

Explora HP Hogar y HP Oficina en el hogar para encontrar 
ideas de proyectos creativos, consejos innovadores y 
valiosa informacin de producto.
`exploreURL`

Centro de Fotografia Digital 
Con HP transforma cada instante especial en increbles 
fotografias
`digitalURL`

--------------------------------------------------------
PRUEBA ESTAS OPCIONES
--------------------------------------------------------
Planes de Garanta Extendidas
`extendedPlanURL`

Consumibles y Accesorios 
`suppAccURL`

Encontrar a un Distribuidor 
`resellerURL`

-----------------------------------------------------------------
OPTIONS HP
-----------------------------------------------------------------
Tus datos
`loginUrl`

-----------------------------------------------------------------

Site Web de Hewlett-Packard 
`hplarWebsite`

Ests recibiendo este correo porque esta direccin de 
e-mail `eMail` fue registrada en www.hp.com para recibir 
comunicaciones relevantes.

Si tienes problemas para ver este correo, por favor haz 
clic aqu:
@HTML_PREVIEW_LINK
<!--POST if (marketingFlag == "Y") { POST-->
Para dejar de recibir este correo haz clic en esta liga, o 
bien cpiala y pgala en el navegador:
http://hprole.p0.com/unsubscribe.jsp

Alternativamente, puedes responder este mensaje colocando 
la palabra "UNSUBSCRIBE" en la lnea Asunto.
<!--POST } POST-->
Da clic o copia esta liga para cambiar tu suscripcin
`loginUrl`

Poltica de Privacidad 
`privacyURL`

(c)2008 Hewlett-Packard Development Company, L.P. La 
informacin aqu contenida est sujeta a cambios sin previo 
aviso.
<!--POST 
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// PORTUGUESE
} else if (country == "BR") { 
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
POST-->Display graphics version
@HTML_PREVIEW_LINK

HP Invent
--------------------------------------------------------

AGRADECEMOS POR REGISTRAR O SEU PRODUTO

Parabns, `firstName`!
Voc completou o seu registro com sucesso.

Agora que voc se registrou na HP, receber o seguinte:
- Suporte e servios para aproveitar ao mximo os seus 
  produtos da HP.
- Assinatura para receber gratuitamente notcias sobre 
  drivers
- Boletins personalizados gratuitos com dicas e truques e 
  idias criativas para voc usar os seus produtos HP e 
  Compaq.
- As mais atualizadas dicas de suporte, solues, 
  promoes e ofertas especiais que atendem suas 
  necessidades.

Gerencie sua conta, clique aqui e faa login sob "Sou 
um usurio registrado". 
`loginUrl`

--------------------------------------------------------
DETALHES DO SEU REGISTRO
--------------------------------------------------------

<!--POST if (firstName != "") { POST-->Nome: `firstName` `lastName`
<!--POST } POST--><!--POST if ((eMail != null) && (eMail != "") && (eMail != " ")){ POST-->E-mail: `eMail`
<!--POST } POST--><!--POST if ((productName != null) && (productName != "") && (productName != " ")){ POST-->Nome do produto: `productName`
<!--POST } POST--><!--POST if ((purchaseDate != null) && (purchaseDate != "") && (purchaseDate != " ")){ POST-->Data da compra: `fmt_date(purchaseDate)`
<!--POST } POST--><!--POST if ((purchaseLocation != null) && (purchaseLocation != "") && (purchaseLocation != " ")){ POST-->Local da compra: `purchaseLocation`
<!--POST } POST--><!--POST if ((registrationDate != null) && (registrationDate != "") && (registrationDate != " ")){ POST-->Data de registro: `fmt_date(registrationDate)`
<!--POST } POST-->
--------------------------------------------------------
OBTENHA MAIS  
--------------------------------------------------------

Total Care
A tranqilidade de contar com o respaldo da HP Total Care
http://h30091.www3.hp.com/servico_garantia/0807_total.html

Conhea a HP Casa e HP Escritrio Domstico
Para obter idias de projetos criativos, dicas inovadoras e 
valiosas informaes sobre produtos.
http://welcome.hp.com/country/br/pt/solutions/home_homeoffice.html

Centro de Fotografia Digital 
Com a HP, transforme cada instante especial em fotografias
incrveis
http://h30091.www3.hp.com/lar/cfd/index.html
 
--------------------------------------------------------
EXPERIMENTE ESTES ITENS
--------------------------------------------------------

Planos de servios estendidos
http://h30091.www3.hp.com/servico_garantia/0807_total.html

Suprimentos e acessrios
http://welcome.hp.com/country/br/pt/prodserv/laser-toner-ink-cartridges.html

Encontre um revendedor  
http://h30402.www3.hp.com/hp_localizador_canales_brasil/html/index.php 

-----------------------------------------------------------------
HP NEWSGRAM OPTIONS
-----------------------------------------------------------------
Suas informaes
`loginUrl`

-----------------------------------------------------------------

Hewlett-Packard Website 
http://www.hp.com/br

Voc recebeu este e-mail porque o endereo `eMail` foi 
registrado em www.hp.com/br para receber e-mails com 
informaes importantes.

Caso no consiga ler esse e-mail, clique aqui:
@HTML_PREVIEW_LINK
<!--POST if (marketingFlag == "Y") { POST-->
Para deixar de receber e-mails, clique nesse link ou copie 
e cole no seu browser:
http://hprole.p0.com/unsubscribe.jsp

Ou, responda este email colocando a palavra "UNSUBSCRIBE"
no campo Assunto.
<!--POST } POST-->
Clique ou copie este link para mudar sua assinatura
`loginUrl`

Poltica de Privacidade
http://welcome.hp.com/country/br/pt/privacy.html

(c)2008 Hewlett-Packard Development Company, L.P. A 
informao aqui contida pode ser alterada sem aviso prvio.
<!--POST 
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// FRENCH
} else if (language == "fr") { 
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
POST-->Afficher la version des lments graphiques
@HTML_PREVIEW_LINK

HP Invent
--------------------------------------------------------

MERCI D'AVOIR ENREGISR VOTRE PRODUIT

Flicitations, `firstName`!
Vous avez complt avec succs l'enregistrement.

Maintenant que votre produit est enregistr chez HP, 
vous bnficiez des avantages suivants :
- Accs au soutien et aux services pour tirer le meilleur 
  parti de vos produits HP
- Inscription au service gratuit d'avis de nouveaux pilotes
- Bulletins gratuits de conseils personnaliss ciblant vos 
  produits HP et Compaq
- Les plus rcentes informations concernant les offres 
  spciales, promotions, solutions et conseils de soutien 
  rpondant  vos besoins commerciaux

Grez votre compte, cliquez sur le lien ci-dessous et ouvrez 
une session sous  Je suis un utilisateur inscrit .
`loginUrl`

--------------------------------------------------------
DTAILS DE VOTRE ENREGISTREMENT
--------------------------------------------------------

<!--POST if (firstName != "") { POST-->Name: `firstName` `lastName`
<!--POST } POST-->E-mail: `eMail`
<!--POST if (productName != null && productName != "" && productName != " ") { POST-->Product name: `productName`
<!--POST } POST--><!--POST if (purchaseDate != null && purchaseDate != "" && purchaseDate != " ") { POST-->Purchase date: `purchaseDate`
<!--POST } POST--><!--POST if (purchaseLocation != null && purchaseLocation != "" && purchaseLocation != " ") { POST-->Purchase location: `purchaseLocation`
<!--POST } POST--><!--POST if (registrationDate != null && registrationDate != "" && registrationDate != " ") { POST-->Registration date: `registrationDate`
<!--POST } POST-->
--------------------------------------------------------
OBTENEZ-EN DAVANTAGE
--------------------------------------------------------

Explorez la boutique HP pour les particuliers et les bureaux 
 domicile  la recherche de produits intressants, 
complmentaires de votre nouveau `productName`.
http://shopping.hp.ca/home.asp?BEId=5&LANG=FR

Visitez la boutique HP pour les particuliers et les bureaux 
 domicile  la recherche d'ides de projets cratives, de 
conseils novateurs et d'informations prcieuses sur les 
produits. 
http://www.hp.ca/portal/hho/index-fr.php
 
Inscrivez-vous aux cours gratuits du centre d'apprentissage 
en ligne de HP et perfectionnez vos comptences 
technologiques. 
http://h30240.www3.hp.com/?mcid=hhoep

--------------------------------------------------------
ESSAYEZ CES ARTICLES AVEC VOTRE NOUVEAU PRODUIT
--------------------------------------------------------
<!--POST if (psgDt) { POST-->
Programme de service tendu
http://shopping.hp.ca/cStoreCA/OptionMenu.asp?SuperCategoryId=59&BEId=5&LANG=FR

Desktop Accessoires
http://www.hp.ca/products/landing/consumer-accessories/desktops/index-fr.php

Trouver un dtaillant
http://welcome.hp.com/country/ca/fr/howtobuy.html
<!--POST } else if (psgNb) { POST-->
Programme de service tendu
http://shopping.hp.ca/cStoreCA/OptionMenu.asp?SuperCategoryId=59&BEId=5&LANG=FR

Notebook Accessoires
http://www.hp.ca/products/landing/consumer-accessories/index-fr.php

Trouver un dtaillant
http://welcome.hp.com/country/ca/fr/howtobuy.html
<!--POST } else if (psgHand) { POST-->
Programme de service tendu
http://www.hp.ca/products/landing/ipaq/index-fr.php

Accessoires
http://h10010.www1.hp.com/wwpc/ca/en/sm/WF12a/12139188-12139190-12139190.html

Trouver un dtaillant
http://welcome.hp.com/country/ca/fr/howtobuy.html
<!--POST } else if (psgTvCd) { POST-->
Programme de service tendu
http://h71036.www7.hp.com/hho/cache/309975-0-0-39-135.html?jumpid=reg_R1002_CAFR

Accessoires
http://shopping.hp.ca/cStoreCA/OptionMenu.asp?SuperCategoryId=19&BEId=5&Lang=FR 

Trouver un dtaillant
http://welcome.hp.com/country/ca/fr/howtobuy.html
<!--POST } else if (otherPSG) { POST-->
Programme de service tendu
http://h71036.www7.hp.com/hho/cache/309975-0-0-39-135.html?jumpid=reg_R1002_CAFR

Trouver un dtaillant
http://welcome.hp.com/country/ca/fr/howtobuy.html
<!--POST } else if (ipgCode) { POST-->
Programme de service tendu
http://h71036.www7.hp.com/hho/cache/309975-0-0-39-135.html?jumpid=reg_R1002_CAFR

Fournitures : Encre, toner et papier
http://www.hp.ca/catalog/supplies/index-fr.php

Accessoires
http://www.hp.ca/catalog/supplies/index-fr.php

Trouver un dtaillant
http://welcome.hp.com/country/ca/fr/howtobuy.html
<!--POST } else if (psgCom) { POST-->
Programme de service tendus
http://h71036.www7.hp.com/hho/cache/309717-0-0-39-121.html?jumpid=redirect/index-fr.php

Computing Accessoires
http://www.hp.ca/products/landing/consumer-accessories/acc_landing-fr.php

Software Solutions
http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-001&h_lang=fr&h_cc=ca&h_product=18964&h_page=hpcom&cc=ca&lang=fr&h_client=S-A-R311-1

Trouver un dtaillant 
http://welcome.hp.com/country/ca/fr/howtobuy.html
<!--POST } else if (ipgCom) { POST-->
Programme de service tendus
http://h71036.www7.hp.com/hho/cache/309717-0-0-39-135.html?jumpid=re_R11268_rightnav/?jumpid=re_R11268_rightnav/hho_ca/totalcare

Fournitures et accessoires
http://www.hp.ca/catalog/supplies/?LANGUAGE=en&jumpid=hpr_R1002_CAFR

Trouver un dtaillant 
http://welcome.hp.com/country/ca/fr/howtobuy.html
<!--POST } POST-->
-----------------------------------------------------------------
OPTIONS HP
-----------------------------------------------------------------
Vos renseignements
`loginUrl`

-----------------------------------------------------------------

Site Web de Hewlett-Packard
http://www.hp.com/country/ca/fr/welcome.html

Vous avez reu ce courriel car l'adresse de courrier 
lectronique `eMail` a t enregistre sur le site 
www.hp.com comme adresse de rception de toute 
communication pertinente.

Si vous rpouvez des difficults  afficher ce courriel, 
veuillez cliquer sur le lien ci-dessous :
@HTML_PREVIEW_LINK
<!--POST if (marketingFlag == "Y") { POST-->
Pour annuler votre inscription, cliquez sur ce lien ou 
copiez-le dans votre navigateur Internet.
http://h30189.www3.hp.com/one-click.jsp

Vous pouvez galement rpondre  ce courriel en 
mentionnant  ANNULER L'INSCRIPTION  en objet.
<!--POST } POST-->
Cliquez sur ce lien ou copiez-le pour modifier vos 
donnes d'inscription
`loginUrl`

HP est engage  respecter votre vie prive. Pour 
plus d'information, consultez notre politique de 
confidentialit sur le site :
http://welcome.hp.com/country/ca/fr/privacy.html
or contact us at HP Privacy Mailbox, 11445 Compaq Center Drive W.,
Mailstop 040307, Houston, TX 77070

(c)2008 Hewlett-Packard Development Company, L.P. Les 
renseignements contenus dans ce document peuvent tre 
modifis sans pravis.
<!--POST 
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
// ALL ENGLISH
} else { 
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
POST--><!--POST
	// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	// CARIBBEAN
	 if (caribbean) { 
	 // xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	 POST-->Display graphics version
@HTML_PREVIEW_LINK

HP Invent
--------------------------------------------------------

THANK YOU FOR REGISTERING YOUR PRODUCT

Congratulations `firstName`!
You've successfully completed registration.

Now that you've registered with HP, you'll receive the 
following:
- Access support and services, and get the most out of 
  your HP products
- Sign up for free driver notices
- Free personalized newsletters that feature customized 
  tips & tricks and creative ideas for your HP and Compaq  
  products.
- The latest support tips, solutions, promotions 
  and special offers that fit your needs

Manage your account, click below and log in under "I am a return 
user."
`loginUrl`

--------------------------------------------------------
YOUR REGISTRATION DETAILS
--------------------------------------------------------

<!--POST if (firstName != "") { POST-->Name: `firstName` `lastName`
<!--POST } POST-->E-mail: `eMail`
<!--POST if (productName != null && productName != "" && productName != " ") { POST-->Product name: `productName`
<!--POST } POST--><!--POST if (purchaseDate != null && purchaseDate != "" && purchaseDate != " ") { POST-->Purchase date: `purchaseDate`
<!--POST } POST--><!--POST if (purchaseLocation != null && purchaseLocation != "" && purchaseLocation != " ") { POST-->Purchase location: `purchaseLocation`
<!--POST } POST--><!--POST if (registrationDate != null && registrationDate != "" && registrationDate != " ") { POST-->Registration date: `registrationDate`
<!--POST } POST-->
--------------------------------------------------------
GET MORE
--------------------------------------------------------

Total Care
Get 24/7 service, advice, learning and support whether your 
HP products are in? or out-of-warranty.
http://h30095.www3.hp.com/servicio_garantia/0807_total.html

Explore HP Home and Home Office for creative project ideas, 
innovative tips and valuable product information.  
http://www.shopping.hp.com/webapp/shopping/home.do?displayTab=learnAbout&jumpid=re_R602_prodexp/hpcom/split/hhoslplearn
 
Digital Photography Center 
Everything you need to take, print, share and create brilliant 
photos.
http://www.hp.com/united-states/consumer/digital_photography/home_f.html

--------------------------------------------------------
TRY THESE ITEMS WITH YOUR NEW PRODUCT
--------------------------------------------------------

Extended Service Plans
http://h20219.www2.hp.com/services/cache/79988-0-0-225-121.aspx

Supplies and Accessories 
http://welcome.hp.com/country/lamerica_nsc_carib/en/prodserv/laser-toner-ink-cartridges.html

Find a Reseller 
http://h30175.www3.hp.com/hp_localizador_canales/html/index.php?id_pais=5&acc=e

-----------------------------------------------------------------
HP NEWSGRAM OPTIONS
-----------------------------------------------------------------
Your Information
`loginUrl`

-----------------------------------------------------------------

Hewlett-Packard Website 
http://www.hp.com

You are receiving this e-Mail because the e-mail address 
`eMail` was registered at www.hp.com to receive relevant 
communications.

If you're having trouble viewing this e-mail, please
click below:
@HTML_PREVIEW_LINK
<!--POST if (marketingFlag == "Y") { POST-->
To unsubscribe, click on this link or copy and paste it 
into your web browser:
http://hprole.p0.com/unsubscribe.jsp

Alternatively, you can reply to this mail with "UNSUBSCRIBE" 
in the subject line.
<!--POST } POST-->
Click on or copy this link to change your subscription 
information
`loginUrl`

HP Privacy Mailbox, 11445 Compaq Center Drive W., MS 040307,
Houston, TX 77070.

(c)<insert><name>year</name></insert> Hewlett-Packard Development Company, L.P. The 
information contained herein is subject to change without 
notice.
<!--POST 
	// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	// CANADA
	} else if (country == "CA") { 
	// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

if (productName == "" || productName == " " || productName == null || productName == "null"){
	if (productLine == "6J"){
		productName = "Desktop";
	} else if (productLine == "KV"){
		productName = "Laptop";
	} else {
		productName = "Computer";
	}
}

var stretch_url;
var learn_url;
var protect_url;
var accessorize_url;
var gift_url;
  
stretch_url = "";
learn_url = "http://www.hp.com/canada/products/landing/learning_centre/";
protect_url = "http://www.hp.com/canada/products/landing/consumer_carepacks/";
accessorize_url = "http://h10084.www1.hp.com/canada/products/landing/consumer-accessories/acc_landing.html";
gift_url = "http://preview.4at5.net/email_domains/hprole/19781/Wild_Tangent_page.html";
  

	POST-->Display graphics version
@HTML_PREVIEW_LINK

HP Invent
--------------------------------------------------------
<!--POST if (productLine == "6J" || productLine == "KV"){ POST-->
OOH, LOOK WHO'S GOT A NEW COMPUTER!

Thanks for registering!

Congratulations `firstName`!
You're gonna love your new
`productName`

<!--POST if (purchaseLocation){ POST-->Purchase location: `purchaseLocation`<!--POST } POST-->
<!--POST if (registrationDate){ POST-->Registration date: `registrationDate`<!--POST } POST-->

LEARN
Learn and grow with our free online classes and self-guided
tutorials.
`learn_url`

PROTECT
Avoid down-time! Learn how to protect your PC with HP Care Pack
Services.
`protect_url`

ACCESSORIZE
Enhance your new computer with a wide range of accessries just
for it.
`accessorize_url`

GET SUPPORT
Get help and quick answers to any questions about your new HP
PC.
`support_url`
<!--POST if (displayOffer && OfferID == "4006001") { POST-->	
YOUR FREE GIFT! PENGUINS! The Game
Thanks for registering! Use code `OfferCode`
to unlock your free game! Just follow these steps
http://preview.4at5.net/email_domains/hprole/19781/Wild_Tangent_page.html
<!--POST } 
} else { POST-->
THANK YOU FOR REGISTERING YOUR PRODUCT

Congratulations `firstName`!
You've successfully completed registration.

Now that you've registered with HP, you'll receive the 
following:
- Access support and services, and get the most out of 
  your HP products
- Sign up for free driver notices
- Free HP Canada newsletters that feature support tips 
  & tricks and creative ideas for your HP and Compaq 
  products.
- The latest support tips, solutions, promotions 
  and special offers that fit your needs

Manage your account, click below and log in under "I am a return 
user."
`loginUrl`
<!--POST if (productLine == "2N" || productLine == "DL"){ POST-->
Free plays of 600+ family-friendly PC games.  
Play online or offline, no subscription is required. New games
are added weekly.
Play today
http://hp.wildgames.com/?dp=hpipg&mc=hpipg_prodregmail_cnd
<!--POST } POST-->
--------------------------------------------------------
YOUR REGISTRATION DETAILS
--------------------------------------------------------

<!--POST if (firstName != "") { POST-->Name: `firstName` `lastName`
<!--POST } POST-->E-mail: `eMail`
<!--POST if (productName != null && productName != "" && productName != " ") { POST-->Product name: `productName`
<!--POST } POST--><!--POST if (purchaseDate != null && purchaseDate != "" && purchaseDate != " ") { POST-->Purchase date: `purchaseDate`
<!--POST } POST--><!--POST if (purchaseLocation != null && purchaseLocation != "" && purchaseLocation != " ") { POST-->Purchase location: `purchaseLocation`
<!--POST } POST--><!--POST if (registrationDate != null && registrationDate != "" && registrationDate != " ") { POST-->Registration date: `registrationDate`
<!--POST } POST-->
--------------------------------------------------------
GET MORE
--------------------------------------------------------

Check out HP Home and Home Office Store for smart and exciting 
products to use with your new `productName`. 
http://shopping.hp.ca/home.asp?BEId=5&LANG=EN

Explore HP Home and Home Office for creative project ideas, 
innovative tips and valuable product information.  
http://www.hp.ca/portal/hho/index.php
 
Enroll in free online classes at the HP Learning Center and 
fine-tune your technological skills.  
http://h30240.www3.hp.com/?mcid=hhoep

--------------------------------------------------------
TRY THESE ITEMS WITH YOUR NEW PRODUCT
--------------------------------------------------------
<!--POST if (psgDt) { POST-->
Extended Service Plan
http://h71036.www7.hp.com/hho/cache/386539-0-0-39-121.html

Desktop Accessories
http://www.hp.ca/products/landing/consumer-accessories/desktops/?jumpid=reg_R1002_CAEN

Find a Retailer
http://welcome.hp.com/country/ca/en/howtobuy.html
<!--POST } else if (psgNb) { POST-->
Extended Service Plan
http://h71036.www7.hp.com/hho/cache/309717-0-0-39-121.html?jumpid=re_R11268_rightnav/hho_ca/totalcare

Notebook Accessories
http://www.hp.ca/products/landing/consumer-accessories/?jumpid=reg_R1002_CAEN

Find a Retailer
http://welcome.hp.com/country/ca/en/howtobuy.html
<!--POST } else if (psgHand) { POST-->
Extended Service Plan
http://www.hp.ca/products/landing/ipaq/

Accessories
http://h10010.www1.hp.com/wwpc/ca/en/sm/WF12a/12139188-12139190-12139190.html

Find a Retailer
http://welcome.hp.com/country/ca/en/howtobuy.html
<!--POST } else if (psgTvCd) { POST-->
Extended Service Plan
http://h71036.www7.hp.com/hho/cache/310113-0-0-39-121.html

Accessories
http://shopping.hp.ca/cStoreCA/OptionMenu.asp?SuperCategoryId=19&BEId=5&Lang=EN

Find a Retailer
http://welcome.hp.com/country/ca/en/howtobuy.html
<!--POST } else if (otherPSG) { POST-->
Extended Service Plan
http://h71036.www7.hp.com/hho/cache/309717-0-0-39-121.html?jumpid=re_R11268_rightnav/hho_ca/totalcare

Find a Retailer
http://welcome.hp.com/country/ca/en/howtobuy.html
<!--POST } else if (ipgCode) { POST-->
Extended Service Plan
http://h71036.www7.hp.com/hho/cache/309717-0-0-39-121.html?jumpid=re_R11268_rightnav/hho_ca/totalcare

Supplies: Ink, Toner, and Paper
http://www.hp.ca/catalog/supplies/?LANGUAGE=en&jumpid=hpr_R1002_CAEN

Accessories
http://www.hp.ca/catalog/supplies/?LANGUAGE=en&jumpid=hpr_R1002_CAEN

Find a Retailer
http://welcome.hp.com/country/ca/en/howtobuy.html
<!--POST } else if (psgCom) { POST-->
Extended Service Plans
http://h20219.www2.hp.com/services/cache/11189-0-0-225-121.html

Computing Accessories
http://h10010.www1.hp.com/wwpc/ca/en/sm/WF12a/12139188-12139280-12139280.html

Software Solutions
http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-002&h_lang=en&h_cc=ca&h_product=18964&h_page=hpcom&cc=ca&lang=en&h_client=S-A-R311-1

Find a Reseller 
http://welcome.hp.com/country/ca/en/howtobuy.html
<!--POST } else if (ipgCom) { POST-->
Extended Service Plans
http://h71036.www7.hp.com/hho/cache/309717-0-0-39-121.html?jumpid=re_R11268_rightnav/hho_ca/totalcare

Supplies and Accessories 
http://www.hp.ca/catalog/supplies/?LANGUAGE=en&jumpid=hpr_R1002_CAEN

Find a Reseller 
http://welcome.hp.com/country/ca/en/howtobuy.html
<!--POST } } POST-->
-----------------------------------------------------------------
HP NEWSGRAM OPTIONS
-----------------------------------------------------------------
Your Information
`loginUrl`

-----------------------------------------------------------------

Hewlett-Packard Website 
http://www.hp.ca

You are receiving this e-Mail because the e-mail address 
`eMail` was registered at www.hp.com to receive relevant 
communications.

If you're having trouble viewing this e-mail, please
click below:
@HTML_PREVIEW_LINK
<!--POST if (marketingFlag == "Y") { POST-->
To unsubscribe, click on this link or copy and paste it 
into your web browser:
http://hprole.p0.com/unsubscribe.jsp

Alternatively, you can reply to this mail with "UNSUBSCRIBE" 
in the subject line.
<!--POST } POST-->
Click on or copy this link to change your subscription 
information
`loginUrl`

HP Privacy Mailbox, 11445 Compaq Center Drive W., MS 040307,
Houston, TX 77070.

(c)<insert><name>year</name></insert> Hewlett-Packard Development Company, L.P. The 
information contained herein is subject to change without 
notice.
<!--POST
	// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	// DEFAULT US ENGLISH
	 } else { 
	 // xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	 POST-->Display graphics version
@HTML_PREVIEW_LINK

HP Invent
--------------------------------------------------------
<!--POST
var stretch_url;
var learn_url;
var protect_url;
var accessorize_url;
var support_url;
var gift_url;

if (productLine == "6J"){
	aoid = "49188";
	stretch_url = "";
	learn_url = "http://www.hp.com/go/pclearningcenter";
	protect_url = "http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps&subcat1=desktop&aoid=49188";
	accessorize_url = "http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=accessories&landing=desktop&aoid=49188";
	support_url = "http://www.hp.com/go/hpsupportassistant";
	gift_url = "http://preview.4at5.net/email_domains/hprole/19781/Wild_Tangent_page.html";
} else if (productLine == "KV"){
	aoid = "49187";
	stretch_url = "";
	learn_url = "http://www.hp.com/go/pclearningcenter";
	protect_url = "http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps&subcat1=notebook&aoid=49187";
	accessorize_url = "http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=accessories&landing=notebook&aoid=49187";
	support_url = "http://www.hp.com/go/hpsupportassistant";
	gift_url = "http://preview.4at5.net/email_domains/hprole/19781/Wild_Tangent_page.html";
}

//NEW CONTENT SECTION
if (cotentDecision == "isNewContent"){
	//SERVE UP HP VERSION
	if (messageType == "HP"){
POST-->
OOH, LOOK WHO'S GOT A NEW COMPUTER!

Thanks for registering!

Congratulations `firstName`!
You're gonna love your new
`productName`

<!--POST if (purchaseLocation){ POST-->Purchase location: `purchaseLocation`<!--POST } POST-->
<!--POST if (registrationDate){ POST-->Registration date: `registrationDate`<!--POST } POST-->

OUR WELCOME GIFT TO YOU:
15% OFF ALL ACCESSORIES

Buy directly and save - the HP Home & Home Office Store is
loaded with accessories to enhance your new computer.

USE COUPON CODE ACCS73419 AT CHECK OUT
`accessorize_url`

-------------------------------

LEARN
Learn and grow with our free online classes and self-guided
tutorials.
`learn_url`

PROTECT
Avoid down-time! Learn how to protect your PC with HP Care Pack Services.
`protect_url`

GET SUPPORT
Get help and quick answers to any questions about your new HP
PC.
`support_url`

<!--POST if (displayOffer && OfferID == "4006001") { POST-->	
YOUR FREE GIFT! PENGUINS! The Game
Thanks for registering! Use code `OfferCode`
to unlock your free game! Just follow these steps
http://preview.4at5.net/email_domains/hprole/19781/Wild_Tangent_page.html
<!--POST } POST-->
-----------------------------------------------------------------
AWARD-WINNING HP TOTAL CARE
http://h71036.www7.hp.com/hho/cache/309717-0-0-225-121.html
-----------------------------------------------------------------
Software & Driver Downloads
http://welcome.hp.com/country/us/en/support.html?pageDisplay=drivers
Support & Troubleshooting
http://welcome.hp.com/country/us/en/support.html?pageDisplay=support
Chat Support for HP Products
http://welcome.hp.com/country/us/en/contact/chat_1.html
Email Support in as fast as 1 hour
http://welcome.hp.com/country/us/en/contact/email_1.html
HP Care Pack Services
http://www.shopping.hp.com/esp?jumpid=in_R329_prodexp/hhoslp/split/serviceplans
Support Forum
http://h30434.www3.hp.com/psg/
Register Your Product
https://register.hp.com/americas/flowPage/registration/index.do?execution=e1s1&cc=US&lang=en

-----------------------------------------------------------------
SHOP WHERE AND WHEN YOU WANT
-----------------------------------------------------------------
Call: 1-888-917-8097
Click: www.hpdirect.com
http://www.shopping.hp.com/webapp/shopping/home.do
Visit: over 15,000 retail locations
http://h71036.www7.hp.com/hho/cache/581708-0-0-225-121.html

Quick Shopping Links
--------------------
Ink & Toner
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=printer_supp_acc
Clearance
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=landing&landing=outlet_store
Online shopping
http://www.shopping.hp.com/webapp/shopping/home.do

-----------------------------------------------------------------
HP RESOURCES ON THE WEB
-----------------------------------------------------------------
Projects
http://www.hp.com/hho/hp_create/?jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em
Free classes
http://h30187.www3.hp.com/?tab=atHome&mcid=hho
Support
http://welcome.hp.com/country/us/en/support.html?pageDisplay=support

---------------------------------------------------------------

Follow HP Direct at Twitter:
http://www.twitter.com/hpdeals

Facebook
http://www.facebook.com/Hphome?aoid=45040

Hewlett-Packard Website
http://www.hp.com

Valid for HP Direct (hpdirect.com) internet and call center
purchases only. Coupon valid while supplies last. Any unused
portion will be forfeited. Each coupon code is limited to one
usage per customer; one coupon code per checkout. Offer void
where prohibited, taxed or restricted by law. Non-transferable.
Not valid retroactively on previously purchased items. Not valid
for any resale activity as defined by HP Direct. Coupons may not
be used to purchase gift cards. Products and support acquired by
Customer under these Terms are solely for Customer's personal use
and not for immediate resale or sub-licensing. Not valid on:
Personal Media drives, Pocket Media drives, SimpleSave drives,
MediaSmart Servers and all non-HP brands. Offer is combinable
with Instant Rebates. For complete coupon conditions, see "Coupon
Information" in the "Customer Service" section at
www.hpdirect.com.

You are receiving this e-Mail because the e-mail address
`eMail` was registered at www.hp.com to receive relevant
communications.
<!--POST if (displayOffer && OfferID == "4006001") { POST-->
* If you have already purchased "Penguins" please go to
http://support.wildgames.com for access to a different game.
<!--POST } POST-->
If you're having trouble viewing this e-mail, please click here.

Click on or copy this link to change your subscription
information https://`base_url`/americas/flowPage/login/index.do?cc=US&lang=en

HP Privacy Mailbox, 11445 Compaq Center Drive W., MS 040307,
Houston, TX 77070.

(C) <insert><name>year</name></insert> Hewlett-Packard Development Company, L.P. The
information contained herein is subject to change without
notice.
<!--POST
	//SERVE UP COMPAQ VERSOPM
	} else if (messageType == "Co"){
POST-->
Guess who's got that new computer feeling?

Congratulations and thanks for registering!

`firstName`!
You're gonna love your new
`productName`

<!--POST if (purchaseLocation){ POST-->Purchase location: `purchaseLocation`<!--POST } POST-->
<!--POST if (registrationDate){ POST-->Registration date: `registrationDate`<!--POST } POST-->

OUR WELCOME GIFT TO YOU:
15% OFF ALL ACCESSORIES
USE COUPON CODE ACCS73419 AT CHECK OUT

Buy directly and save - the HP Home & Home Office Store is
loaded with accessories to enhance your new computer.

HURRY, OFFER ENDS IN 7 DAYS
`accessorize_url`

-------------------------------

LEARN
Learn and grow with our free online classes and self-guided
tutorials.
`learn_url`

PROTECT
Avoid down-time! Learn how to protect your PC with HP Care Pack Services.
`protect_url`

ACCESSORIZE
Enhance your new computer with a wide range of accessries just
for it.
`accessorize_url`

GET SUPPORT
Get help and quick answers to any questions about your new HP
PC.
`support_url`
<!--POST if (displayOffer && OfferID == "4006001") { POST-->	
YOUR FREE GIFT! PENGUINS! The Game
Thanks for registering! Use code `OfferCode`
to unlock your free game! Just follow these steps
http://preview.4at5.net/email_domains/hprole/19781/Wild_Tangent_page.html
<!--POST } POST-->
-----------------------------------------------------------------
AWARD-WINNING HP TOTAL CARE
http://h71036.www7.hp.com/hho/cache/309717-0-0-225-121.html
-----------------------------------------------------------------
Software & Driver Downloads
http://welcome.hp.com/country/us/en/support.html?pageDisplay=drivers
Support & Troubleshooting
http://welcome.hp.com/country/us/en/support.html?pageDisplay=support
Chat Support for HP Products
http://welcome.hp.com/country/us/en/contact/chat_1.html
Email Support in as fast as 1 hour
http://welcome.hp.com/country/us/en/contact/email_1.html
HP Care Pack Services
http://www.shopping.hp.com/esp?jumpid=in_R329_prodexp/hhoslp/split/serviceplans
Support Forum
http://h30434.www3.hp.com/psg/
Register Your Product
https://register.hp.com/americas/flowPage/registration/index.do?execution=e1s1&cc=US&lang=en

-----------------------------------------------------------------
SHOP WHERE AND WHEN YOU WANT
-----------------------------------------------------------------
Call: 1-888-917-8097
Click: www.hpdirect.com
http://www.shopping.hp.com/webapp/shopping/home.do
Visit: over 15,000 retail locations
http://h71036.www7.hp.com/hho/cache/581708-0-0-225-121.html

Quick Shopping Links
--------------------
Ink & Toner
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=printer_supp_acc
Clearance
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=landing&landing=outlet_store
Online shopping
http://www.shopping.hp.com/webapp/shopping/home.do

-----------------------------------------------------------------
HP RESOURCES ON THE WEB
-----------------------------------------------------------------
Projects
http://www.hp.com/hho/hp_create/?jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em
Free classes
http://h30187.www3.hp.com/?tab=atHome&mcid=hho
Support
http://welcome.hp.com/country/us/en/support.html?pageDisplay=support

---------------------------------------------------------------

Follow HP Direct at Twitter:
http://www.twitter.com/hpdeals

Facebook
http://www.facebook.com/Hphome?aoid=45040

Hewlett-Packard Website
http://www.hp.com

Valid for HP Direct (hpdirect.com) internet and call center
purchases only. Coupon valid while supplies last. Any unused
portion will be forfeited. Each coupon code is limited to one
usage per customer; one coupon code per checkout. Offer void
where prohibited, taxed or restricted by law. Non-transferable.
Not valid retroactively on previously purchased items. Not valid
for any resale activity as defined by HP Direct. Coupons may not
be used to purchase gift cards. Products and support acquired by
Customer under these Terms are solely for Customer's personal use
and not for immediate resale or sub-licensing. Not valid on:
Personal Media drives, Pocket Media drives, SimpleSave drives,
MediaSmart Servers and all non-HP brands. Offer is combinable
with Instant Rebates. For complete coupon conditions, see "Coupon
Information" in the "Customer Service" section at
www.hpdirect.com.

You are receiving this e-Mail because the e-mail address
`eMail` was registered at www.hp.com to receive relevant
communications.
<!--POST if (displayOffer && OfferID == "4006001") { POST-->
* If you have already purchased "Penguins" please go to
http://support.wildgames.com for access to a different game.
<!--POST } POST-->
If you're having trouble viewing this e-mail, please click here.

Click on or copy this link to change your subscription
information https://`base_url`/americas/flowPage/login/index.do?cc=US&lang=en

HP Privacy Mailbox, 11445 Compaq Center Drive W., MS 040307,
Houston, TX 77070.

(C) <insert><name>year</name></insert> Hewlett-Packard Development Company, L.P. The
information contained herein is subject to change without
notice.
<!--POST
	}
//AND NOW THE REST OF THE MESSAGE WHICH HAS NOT CHANGED
} else {

if (productLine == "2B" || productLine == "LY" || productLine == "2Q" || productLine == "8A" || productLine == "T2" || productLine == "MA" || productLine == "83" || productLine == "C2" || productLine == "DL" || productLine == "5M" || productLine == "2N" || productLine == "7T" || productLine == "DU"){ 
if (productName == "" || productName == null || productName == " "){
	productName = "HP Printer";
}
POST-->
THANKS FOR REGISTERING

-------------------------------

CONGRATULATIONS
`firstName`

You're gonna love your new
`productName`

<!--POST if (purchaseLocation){ POST-->Purchase location: `purchaseLocation`<!--POST } POST-->
<!--POST if (registrationDate){ POST-->Registration date: `registrationDate`<!--POST } POST-->

-------------------------------

<!--POST if (productLine == "83" || productLine == "7T" || productLine == "5M" || productLine == "2N" || productLine == "DL" ){ POST-->
Check out the ever-expanding variety of apps & use ePrint mobile printing

Start your free account now to get the most out of
your web-connected printer at HP's ePrintCenter
http://h30495.www3.hp.com?jumpid=em_us_en_ePC_TYE_09022011/
<!--POST } POST-->

<!--POST if (productNumber){ POST-->--------------------------------

TELL US WHAT YOU THINK.

Help HP improve by giving us your opinion.
http://g1w2399g.austin.hp.com/Community/se.ashx?s=3BC1E4C104F3818D&u=`productNumber`&d=`registrationDate`&i=73&e=`eMail`&y=`userId`<!--POST } POST-->

-------------------------------

FREE CLASSES

Enroll in free online classes at the HP Learning Center and
fine-tune your technological skills.

<!--POST if (productLine == "7T" || productLine == "DU"){ POST-->http://h30187.www3.hp.com/index.jsp?tab=atWork=rmueller-may09-work<!--POST } else { POST-->http://h30187.www3.hp.com/index.jsp?mcid=rmueller-may09-home<!--POST } POST-->

---------------

PROTECT

Avoid down-time! Learn how to protect your printer with
HP Care Pack Services.

http://www.shopping.hp.com/webapp/shopping/can.do?landing=esp&category=Printer&catLevel=1&storeName=storefronts

---------------

GET SUPPORT

Get help and quick answers to any questions about your new HP
printer.

`support_url`

-------------------------------

HP SMART DEALS
FREE PRINTABLE & ONLINE COUPONS

Get back to savings with HP Smart Deals! Print and use the
coupons you want, when you need them. 

http://h71036.www7.hp.com/hho/cache/567769-0-0-225-121.html?jumpid=ex_r602_go/smartdeals/prodregwelcome/coupons

-----------------------------------------------------------------
AWARD-WINNING HP TOTAL CARE
-----------------------------------------------------------------
Software & Driver Downloads
http://welcome.hp.com/country/us/en/support.html?pageDisplay=drivers
Support & Troubleshooting
http://welcome.hp.com/country/us/en/support.html?pageDisplay=support
Chat Support for HP Products
http://welcome.hp.com/country/us/en/contact/chat_1.html
Email Support in as fast as 1 hour
http://welcome.hp.com/country/us/en/contact/email_1.html
Enhanced Service Options
http://www.shopping.hp.com/esp?jumpid=in_R329_prodexp/hhoslp/split/serviceplans&aoid=45040

-----------------------------------------------------------------
SHOP WHERE AND WHEN YOU WANT
-----------------------------------------------------------------
Call: 1-888-917-8097
Click: www.hpdirect.com
hhttp://www.shopping.hp.com/webapp/shopping/home.do?aoid=45040
Visit: over 15,000 retail locations
http://h71036.www7.hp.com/hho/cache/581708-0-0-225-121.html

Quick Shopping Links
--------------------
Laptops
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=computer_store&landing=notebooks&aoid=45040
Desktops
http://www.hpshopping.com/webapp/shopping/store_access.do?template_type=computer_store&landing=desktops&aoid=45040
Printers
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=landing&landing=printer&aoid=45040
Ink & Toner
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=printer_supp_acc&aoid=45040
Outlet
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=landing&landing=outlet_store&aoid=45040
Projects
http://www.hp.com/hho/hp_create/?jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em_hpn_1583
Free classes
http://www.hp.com/go/learningcenter
Support
http://welcome.hp.com/country/us/en/support.html?pageDisplay=support
Register your Extended Service Plan
http://www.hp.com/go/hpcarepack/register

-----------------------------------------------------------------
HP NEWSGRAM OPTIONS
-----------------------------------------------------------------
Update your preferences
http://h30189.www3.hp.com/ngpp3_summary.jsp
Change your e-mail
http://h30189.www3.hp.com/change-email.jsp
Privacy policy
http://www.hp.com/country/us/en/privacy.html
Unsubscribe
http://h30189.www3.hp.com/one-click.jsp
-----------------------------------------------------------------

Please note that the content of this email is intended for U.S.
residents only.

Follow HP Direct at Twitter:
http://www.twitter.com/hpdeals

Facebook
http://www.facebook.com/Hphome?aoid=45040

Please add Hewlett-Packard@us.newsgram.hp.com to your address
book. Need help? Click here.
http://h30189.www3.hp.com/add_address.jsp

This mailing was sent to `eMail` because you signed up to
receive the HP Newsgram. This is an ongoing mailing. To
customize your HP Newsgram, please visit your preference page.
http://h30189.www3.hp.com/ngpp3_summary.jsp

If you no longer want to receive the HP Newsgram, please click
unsubscribe. 
http://h30189.www3.hp.com/one-click.jsp
To unsubscribe from the HP Newsgram and other marketing-related
communication from HP, reply with "UNSUBSCRIBE" as the subject line.

HP Privacy Mailbox, 11445 Compaq Center Drive W., MS 040307, Houston, TX 77070.

<!--POST } else { POST-->
THANK YOU FOR REGISTERING YOUR PRODUCT

Congratulations `firstName`!
You've successfully completed registration.
<!--POST if (displayOffer && OfferID == "4006003") { POST-->                         
-----------------------------------------------------------------
Google
-----------------------------------------------------------------
Find new customers searching on Google for what your business 
offers with Google AdWords. 

Steps to redeem your free $100 Google AdWords gift*:

  1. Your unique coupon code is: `OfferCode`
  2. Right click and copy your coupon code
  3. Click here to set up your Google AdWords account and get 
     started (It's easy)
     http://www.google.com/ads/hpipgreg
<!--POST } else if (displayOffer && OfferID == "4006001") { POST-->
-----------------------------------------------------------------
Your Reward for Registering To activate your PC game from 
Wildtangent.com
-----------------------------------------------------------------
 
  1. Go to "My HP Games" on the desktop or in the Start Menu
  2. Search for the PC Game "Penguins"*
  3. Launch the Free Trial; Install the Game and Click Play.
  4. On the next screen click the small Unlock link instead of 
     big Play button.
  5. Enter the following unlock code: `OfferCode`
  6. Click Unlock Game.
  7. Enjoy!
<!--POST } POST-->
Now that you've registered with HP, you'll receive the 
following:
- Access support and services, and get the most out of 
  your HP products
- Sign up for free driver notices
- Free personalized newsletters that feature customized 
  tips & tricks and creative ideas for your HP and Compaq  
  products.
- The latest support tips, solutions, promotions 
  and special offers that fit your needs

Manage your account, click below and log in under "I am a return 
user."
`loginUrl`
<!--POST if (productNumber == "CB029A" || productNumber == "CB030A" || productNumber == "CB780A" || productNumber == "CB806A" || productNumber == "CB807A" || productNumber == "CB850A" || productNumber == "Q8389A" || productNumber == "Q8391A" || productNumber == "Q8392A" || productNumber == "Q8388A" || productNumber == "Q8390A" || productNumber == "Q8331A" || productNumber == "Q8332A" || productNumber == "Q8337A" || productNumber == "Q8330A" || productNumber == "CC335A%23B1H" || productNumber == "CC335A%23ABA" || productNumber == "CC336A%231H3" || productNumber == "CC336A%231H9" || productNumber == "CC430A" || productNumber == "CC431A"){ POST-->
-------------------------------

Tell us what you think. Help HP improve by giving us your
opinion.
TAKE SURVEY
http://g1w2399g.austin.hp.com/Community/se.ashx?s=3BC1E4C104F3818D&u=`productNumber`&d=`registrationDate`&i=73&e=`eMail`&y=`userId`
<!--POST } else if (productLine == "5M" || productLine == "83"){ POST-->
<!--POST

/* Webprod Comment Out 08/31/31
-------------------------------

Save $30 instantly on your purchase of
Adobe Photoshop Element 7!  Easily edit, 
organize and print your photos.
Limited Time Offer ends May 10, 2009

http://www.adobe.com/go/pse_hp?sdid=DYNXY
*/ 

POST-->
<!--POST } else if (productLine == "2N" || productLine == "DL"){ POST-->
-------------------------------

Free plays of 600+ family-friendly PC games.  
Play online or offline, no subscription is required. New games
are added weekly.
Play today
http://hp.wildgames.com/?dp=hpipg&mc=hpipg_prodregmail_us
<!--POST } else if (productLine == "7T"){ POST-->
-------------------------------

Free - QuickBooks(r) Simple Start
The simplest way to track sales and expenses: Pay bills,
invoice customers, create reports, and more.
Click here to redeem
http://www.quickbooksdirect.com/hpfreeoffer11
<!--POST } else { if (displayOffer && OfferID == "4006003") { POST-->
-------------------------------

Your reward for registering:

Opportunity to try Google AdWords(TM) and acquire new 
customers with $100 worth of free advertising* (See 
details on how to redeem)

*Promotion valid for new Google AdWords customers 
in U.S. only. See promotion URL for full terms and 
conditions. 
<!--POST } } POST-->
--------------------------------------------------------
YOUR REGISTRATION DETAILS
--------------------------------------------------------

<!--POST if (firstName != "") { POST-->Name: `firstName` `lastName`
<!--POST } POST-->E-mail: `eMail`
<!--POST if (productName != null && productName != "" && productName != " ") { POST-->Product name: `productName`
<!--POST } POST--><!--POST if (purchaseDate != null && purchaseDate != "" && purchaseDate != " ") { POST-->Purchase date: `purchaseDate`
<!--POST } POST--><!--POST if (purchaseLocation != null && purchaseLocation != "" && purchaseLocation != " ") { POST-->Purchase location: `purchaseLocation`
<!--POST } POST--><!--POST if (registrationDate != null && registrationDate != "" && registrationDate != " ") { POST-->Registration date: `registrationDate`
<!--POST } POST-->
--------------------------------------------------------
GET MORE
--------------------------------------------------------
<!--POST if (productLine == "7T" || productLine == "DU"){ POST-->
Download your free HP Yahoo! Printing Toolbar
This FREE tool gives you easy, one-click access to FREE
business tools and templates, FREE Online Classes, FREE
Downloads & Discounts through HP Smart Deals, plus much more.
http://toolbar.yahoo.com/config/slv4_done?.act=3&.dflt=1&.intl=us&.region=us&.partner=&.guest=&.cpdl=hpd06
<!--POST } else if (productLine == "DL" || productLine == "2N" || productLine == "T8" || productLine == "83" || productLine == "5M"){ POST-->
Learn more about the HP Yahoo! Printing Toolbar
This FREE Toolbar gives you easy one-click access to fun and
useful resources such as Snapfish, Free printing projects, Free
Downloads through HP Smart Deals, plus safe Yahoo search and
more.
http://www.hp.com/go/toolbar3
<!--POST } else if (productLine == "MA" || productLine == "8A" || productLine == "PQ" || productLine == "AK" || productLine == "LY" || productLine == "2B" || productLine == "T2"){ POST-->
Download your free HP Yahoo! Printing Toolbar!
This FREE tool gives you easy, one-click access to FREE
business tools and templates, FREE Online Classes, FREE
Downloads & Discounts through HP Smart Deals, plus much more.
http://toolbar.yahoo.com/config/slv4_done?.act=3&.dflt=1&.intl=us&.region=us&.partner=&.guest=&.cpdl=hpd08 
<!--POST } else { POST-->HP Customer Care
When you buy any HP product, you get more than great technology, 
you get award-winning Total Care.
http://h10025.www1.hp.com/ewfrf/wc/siteHome?lc=en&cc=us&dlc=en<!--POST } POST-->

Check out HP Home and Home Office Store for smart and exciting 
products to use with your new `productName`. 
http://www.shopping.hp.com/webapp/shopping/home.do

Explore HP Home and Home Office for creative project ideas, 
innovative tips and valuable product information.  
http://www.shopping.hp.com/webapp/shopping/home.do?displayTab=learnAbout
 
Enroll in free online classes at the HP Learning Center and 
fine-tune your technological skills.  
http://www.hp.com/go/onlineclasses
<!--POST if (snapfishFlag == 1) { POST-->
--------------------------------------------------------
SNAPFISH
--------------------------------------------------------

20 FREE PRINTS
Sign up for HP's new online photo service.  Receive 20 free 
prints+ along with free online sharing and storage.

Create a snapfish account
http://www.snapfish.com/hp_2007_registrationrole_thankyouemailad

View terms & conditions
http://www.snapfish.com/termsAndConditions

+ Free print offer for new snapfish customers only.
<!--POST } POST-->
--------------------------------------------------------
TRY THESE ITEMS WITH YOUR NEW PRODUCT
--------------------------------------------------------
<!--POST if (psgDt) { POST-->
Extended Service Plan
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps&subcat1=desktop&aoid=34350

Desktop Accessories
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=accessories&landing=desktop&aoid=34351
<!--POST } else if (psgNb) { POST-->
Extended Service Plan
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps&subcat1=notebook&aoid=34350

Notebook Accessories
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=accessories&landing=notebook&aoid=34352
<!--POST } else if (psgHand) { POST-->
Extended Service Plan
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps&subcat1=handheld&aoid=34350

Accessories
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=accessories&landing=computer&category=ipaq_accessories&aoid=39235
<!--POST } else if (psgTvCd) { POST-->
Extended Service Plan
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps&subcat1=entertainment&aoid=34350

Accessories
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=accessories&landing=entertainment&aoid=39236
<!--POST } else if (otherPSG) { POST-->
Extended Service Plan
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps&aoid=34350
<!--POST } else if (ipgCode) { POST-->
Extended Service Plan
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps&subcat1=printer&aoid=34439

Supplies: Ink, Toner, and Paper
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=printer_supp_acc&aoid=34353

Accessories
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=accessories&landing=printer&aoid=34354

Find a Retailer
http://hp.via.infonow.net/usconsumer/jsp/
<!--POST } else if (psgCom) { POST-->
Extended Service Plans
http://h20219.www2.hp.com/services/cache/79988-0-0-225-121.aspx

Computing Accessories
http://h71016.www7.hp.com/sp_main.asp?hp_url=cadefault.asp%3F%2526jumpid%3Din_r3924/ROLE/cadefault/cote

Software Solutions
http://h71016.www7.hp.com/sp_main.asp?hp_url=spdefault.asp%3Fstore_id%3D11%26search%3Dshowcase%26pagemode%3Dca%26jumpid%3Din_r3924_ROLE/sw_solutions/cote

Find a Reseller 
http://welcome.hp.com/country/us/en/buy/resellers.html
<!--POST } else if (ipgCom) { POST-->
Extended Service Plans
http://h20219.www2.hp.com/services/cache/79988-0-0-225-121.aspx

Supplies and Accessories 
http://h71016.www7.hp.com/sp_main.asp?hp_url=filterby.asp%3Ftype%3D1%26pagemode%3Dca%26jumpid%3Din_r3924_ROLE/printing_suppliest/cote

Find a Reseller 
http://welcome.hp.com/country/us/en/buy/resellers.html
<!--POST } else { POST-->
Extended Service Plans - Consumer
http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=storefronts&category=esps

Extended Service Plans - Commercial
http://www.hp.com/go/smbservices

Find a Retailer
http://hp.via.infonow.net/usconsumer/jsp/

Find a Reseller
http://welcome.hp.com/country/us/en/buy/resellers.html
<!--POST } POST-->
-----------------------------------------------------------------
HP NEWSGRAM OPTIONS
-----------------------------------------------------------------
Your Information
`loginUrl`

-----------------------------------------------------------------

Hewlett-Packard Website 
http://www.hp.com
<!--POST if (displayOffer && OfferID == "4006001") { POST-->  
* If you have already purchased "Penguins" please go to for 
access to a different game.
http://support.wildgames.com
<!--POST } POST--> 
You are receiving this e-Mail because the e-mail address 
`eMail` was registered at www.hp.com to receive relevant 
communications.

If you're having trouble viewing this e-mail, please
click below:
@HTML_PREVIEW_LINK
<!--POST if (marketingFlag == "Y") { POST-->
To unsubscribe, click on this link or copy and paste it 
into your web browser:
http://hprole.p0.com/unsubscribe.jsp

Alternatively, you can reply to this mail with "UNSUBSCRIBE" 
in the subject line.
<!--POST } POST-->
Click on or copy this link to change your subscription 
information
`loginUrl`
<!--POST if (displayOffer && OfferID == "4006003") { POST-->
Google and AdWords are trademarks of Google, Inc and are 
registered in the US and other countries.
<!--POST } POST-->
HP Privacy Mailbox, 11445 Compaq Center Drive W., MS 040307,
Houston, TX 77070.

(c)<insert><name>year</name></insert> Hewlett-Packard Development Company, L.P. The 
information contained herein is subject to change without 
notice.<!--POST } POST-->
<!--POST } POST--><!--POST
	 // xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	  } 
	  // xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
	  POST-->
	 
<!--POST 
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
} 
// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
POST-->