<!--POST

/************************************************************************
STAF section
************************************************************************/

var referredEmail = user.attr("lastReferredByEmail");
var signature;
var referredNoteExists = true;
var isReferred = false;

if (user.attr("subscribed") == 2) {
    isReferred = true;}

var lastReferredfirstName = user.attr("lastReferredFirstName");
var lastReferredNote = user.attr("lastReferredNote");
    if (lastReferredNote == null || lastReferredNote == "" || lastReferredNote == " ") {
    lastReferredNote = "";
    referredNoteExists = false;}
    else {
    lastReferredNote = lastReferredNote + "<br><br>";}

if (firstName == null || firstName == "" || firstName == " ") {
    firstName = ""; 
    signature = referredEmail;
    greeting ="Valued HP Home & Home Office customer!";
} else {
     /***** convert first letter of name to uppercase *******/
    firstName= firstName.substring(0,1).toUpperCase() + firstName.substring(1, firstName.length).toLowerCase();
    signature= firstName + "<br>" + referredEmail;
    greeting = "Hi " + firstName + "!";
}

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


//Subject line
if (firstName == null || firstName == "" || firstName == " ") {
       document.subject("Welcome to the HP Canada Newsgram"); 
    } else {
       document.subject(firstName + ", welcome to the HP Canada Newsgram");
}

var greeting;
var firstName = user.attr ("firstName");
if (firstName == null || firstName == "" || firstName == " ") {
  greeting ="Hello,"; 
    } else {
     /***** convert first letter of name to uppercase *******/
    var phraseLength = firstName.length;
    var userFirstInitial = firstName.substring(0,1).toUpperCase();
    var userRestOfName = firstName.substring(1, phraseLength);
    greeting = "Hello " + userFirstInitial + userRestOfName + ",";
}



/********************************************
      CHECKING FOR E-MAIL SYSTEMS USERS
********************************************/

var userid = user.attr("id");
var emailStr = user.attr("eMail");

/********************************************
         CHECKING FOR AOL USERS
********************************************/
var isAOL = false;
if (user.attr ("eMail") != null) {
    isAOL = user.attr ("eMail").substring (
user.attr ("eMail").length - 8, 999) == "@aol.com";}

/********************************************
         CHECKING FOR HOTMAIL USERS
********************************************/
var hasHotmail = false;
if (emailStr.substring (emailStr.length - 12) == "@hotmail.com") {
   hasHotmail = true;}
   
/********************************************
         CHECKING FOR Excite USERS
********************************************/
var hasExcite = false;
if (emailStr.substring (emailStr.length - 11) == "@excite.com") {
   hasExcite = true;}

/********************************************
         CHECKING FOR Juno USERS
********************************************/
var hasJuno = false;
if (emailStr.substring (emailStr.length - 9) == "@juno.com") {
   hasJuno = true;}

/********************************************
         CHECKING FOR Mindspring USERS
********************************************/
var hasMindspring = false;
if (emailStr.substring (emailStr.length - 15) == "@mindspring.com") {
   hasMindspring = true;}

/********************************************
         CHECKING FOR Netscape USERS
********************************************/
var hasNetscape = false;
if (emailStr.substring (emailStr.length - 13) == "@netscape.net") {
   hasMindspring = true;}

/********************************************
         CHECKING FOR Prodigy USERS
********************************************/
var hasProdigy = false;
if (emailStr.substring (emailStr.length - 12) == "@prodigy.net") {
   hasProdigy = true;}

/********************************************
         CHECKING FOR Webtv USERS
********************************************/
var hasWebtv = false;
if (emailStr.substring (emailStr.length - 10) == "@webtv.net") {
   hasWebtv = true;}

/********************************************
         CHECKING FOR MSN USERS
********************************************/
var hasMSN = false;
if (emailStr.substring (emailStr.length - 8) == "@msn.com") {
   hasMSN = true;}

/********************************************
         CHECKING FOR EARTHLINK USERS
********************************************/
var hasEarthlink = false;
if (emailStr.substring (emailStr.length - 14) == "@earthlink.net") {
   hasEarthlink = true;}

var isAOL = false;
if (user.attr ("eMail") != null) {
    isAOL = user.attr ("eMail").substring (
user.attr ("eMail").length - 8, 999) == "@aol.com";}

function anchor (url, label) {
    if (isAOL) {
        document.write ("<A HREF=\"" + url + "\">" + label + "</A>");}
    else {
        document.write (url);}}

POST--><!--POST if (isReferred) { POST-->Hello `lastReferredfirstName`

`firstName` thought you would like to see this special 
edition of the HP newsgram.
<!--POST if (referredNoteExists) { 
var lastReferredNote = lastReferredNote;
document.write(lastReferredNote);
POST-->`signature`<!--POST } POST-->
This doesn't mean you will be getting messages from HP. But if you'd
like to sign up for useful and fun information like this, you can
subscribe here today. 
http://h30189.www3.hp.com/signUp.jsp
<!--POST } POST-->
HP Newsgram
--------------------------------------------------------
Welcome to the handy & helpful HP Canada Newsgram

`greeting` Welcome to the HP Canada Newsgram - a free
e-newsletter filled with handy tips, creative ideas for
projects, relevant articles based on your products and
info on new products.

Your HP Canada Newsgram

Congratulations for joining over 1 million Canadians who
receive the Newsgram!

We're here to maximize your product experience by helping
you learn, grow, and create using the full range of
exciting digital tools you face every day.

Your HP Canada Newsgram features:

- product support tips
- creative projects and printables
- insider news on the latest HP technology
- contests
- special offers and rebates
- helpful links to great Canadian websites

For more useful content from HP, just visit http://www.hp.ca/home
Be sure to bookmark this site when you're there!

-----------------------------------------------------------------
AWARD-WINNING HP SERVICE AND SUPPORT 
-----------------------------------------------------------------

Software & Driver Downloads
>> http://welcome.hp.com/country/ca/en/support.html?pageDisplay=drivers

Support & Troubleshooting
>> http://welcome.hp.com/country/ca/en/support.html?pageDisplay=support

Real Time Chat
>> http://welcome.hp.com/country/ca/en/contact/chat_1.html

Email Support in as fast as 1 hour
>> http://welcome.hp.com/country/ca/en/contact/email_1.html

-----------------------------------------------------------------
SHOP WHERE AND WHEN YOU WANT
-----------------------------------------------------------------

Call: 1-877-231-4351

Click: www.hpshopping.ca
>> http://www.hpshopping.ca/

Visit: one of your nearest retailers 
>> http://hp.via.infonow.net/locator/can_partner/?LOC=en_CA

Quick Shopping Links
--------------------
Printer supplies
>> http://www.hp.ca/reliable

Outlet
>> http://h20386.www2.hp.com/CanadaStore/#clearance_items

Online shopping
>> http://www.hpshopping.ca

Snapfish - Online Photo Service
>> http://www.snapfish.com/

-----------------------------------------------------------------
HP RESOURCES ON THE WEB
-----------------------------------------------------------------

Projects
>> http://h10025.www1.hp.com/ewfrf/wc/activityCenterHome?cc=ca&dlc=en&lc=en

Online classes
>> http://h30240.www3.hp.com/?mcid=newsgram1&jumpid=ex_R602_info/hho-ng-1142-online-classes

-----------------------------------------------------------------
HP NEWSGRAM OPTIONS
-----------------------------------------------------------------
<!--POST if(!isReferred) { POST-->
Register your product
>> https://register.hp.com/americas/flowPage/registration/index.do?cc=CA&lang=en&gwCountry=CA

Change your e-mail
>> http://h30189.www3.hp.com/change-email.jsp

Privacy policy
>> http://www.hp.com/country/ca/en/privacy.html

Unsubscribe
>> http://h30189.www3.hp.com/one-click.jsp
<!--POST } else { POST-->
Privacy policy
>> http://www.hp.com/country/ca/en/privacy.html
<!--POST } POST--> 
-----------------------------------------------------------------
HP Canada is pleased to include you in the distribution of this newsgram 
as a result of indications you made through: product registration, 
subscription or responses to HP promotions. If you would prefer to 
discontinue receiving this newsletter please visit:
http://hpccm.p0.com/one-click.jsp

HP is committed to respecting your privacy. For more information, 
visit our privacy policy at: 
http://welcome.hp.com/country/ca/eng/privacy_intent.html?jumpid=ng-jan08-priv-ht&uid=49218432

Or contact us at: HP Privacy Mailbox, 20555 SH 249, MS 040307, 
Houston, TX 77070.

If you intend on unsubscribing from the HP CANADA newsgram and ALL 
other HP marketing-related e-mail communications, reply to this 
message and type "UNSUBSCRIBE" as the subject line.
 
Hewlett-Packard (Canada) Co. website: 
http://www.hp.ca?jumpid=ng-jan08-website-ht&uid=49218432

(C) 2008 Hewlett-Packard Development Company, L.P. All rights reserved. 
All product and company names referenced herein are trademarks of their 
respective owners. The information contained herein is subject to change 
without notice. This document is provided for informational purposes only. 
Information provided in this document is provided as is without warranty 
of any kind, either expressed or implied.

Except where noted, all prices are suggested retail price in Canadian 
dollars; retailers may sell for less.
========================================================
HP     Brilliantly Simple
========================================================