<!--POST 
/*************************************************
            General Personalizations
*************************************************/
var eMail  = user.attr("eMail");
var userid = user.attr("id");
var today = new Date();

/************************************************************************
AOIDs
************************************************************************/

var jobnum = "hpn_1695";
var linknum = 1695;
var mmid = masterinfo.getID();

var id = funcEnc(user.attr("id") + "| |");
var ccmCkmId = funcEnc(funcNul(user.attr("ccmCkmId")) + "| |");
var urlArg = id + "|" + ccmCkmId;

function funcNul(inVal) {
  if (inVal == null) { inVal = "0"; }
  return inVal;
}

// build encrypted string
function funcEnc(inPassStr) {
  var encValue = "";
  multitable.setID("encrypt_unPadded_input", inPassStr);
  while (multitable.getNext("encrypt_unPadded_input")) {
     encValue = multitable.getValue("encrypt_unPadded_input", "encryptedString");
  }             
  return encValue;
}

/********************************************
  Call for scramble code in content block
********************************************/
var contentImage3 = "";
var contentImage4 = "";
var contentImageB = "";
POST--><insert><id>2339</id></insert><!--POST
/********************************************
CHECKING FOR specific E-MAIL domains 
********************************************/
var isAOL         = false;
var hasHotmail    = false;
var hasMSN        = false;
var gMailFlag     = false;

switch (eMail.substring(eMail.indexOf('@'), eMail.length)){
    case "@aol.com":
      isAOL         = true;
      break;
    case "@hotmail.com":
      hasHotmail    = true;
      break;
    case "@msn.com":
      hasMSN        = true;
      break;
    case "@gmail.com":
      gMailFlag     = true;
      break;
}

/**********************************************************************************
 **********************************************************************************
  Source Detection
 ******************
  
  This section determines how the user originally came into
  the database.  We use this information in the footer section.
  
***********************************************************************************
**********************************************************************************/
POST--><insert><id>2406</id></insert><!--POST
/*********************************************************
         MDB PREPARATION 
*********************************************************/
var mdb_prod_str = (userProductOwnedString == null || 
                    userProductOwnedString == "") ? "default" : userProductOwnedString;
var mdb_num_prod = mdb_prod_str.split("\x01").length;
    mdb_prod_str = mdb_prod_str.toLowerCase();
var mdb_prod_array = mdb_prod_str.split("\x01");
var mdb_num_prod_actual = mdb_num_prod - 2;

function rip(str, from, to){
  return (str.substring(str.indexOf(from) + 1, str.indexOf(to)));
}

for (i=1;i<=mdb_num_prod_actual;i++){

eval(
   "var my_hash" + 
    i + " = {'" + 
    mdb_prod_array[i].substring(0, mdb_prod_array[i].indexOf("\x02")) + 
    "':1, '" + 
    rip(mdb_prod_array[i], "\x01", "\x02") + 
    "':2, '" + 
    rip(mdb_prod_array[i], "\x02", "\x03") + 
    "':3, '" + 
    rip(mdb_prod_array[i], "\x03", "\x04") + 
    "':4, '" + 
    mdb_prod_array[i].substring(mdb_prod_array[i].indexOf("\x05")) + 
    "':5}");
}

/* Products */
var hpccmProductsOwned1 = user.attr("hpccmProductsOwned1");
    
if (hpccmProductsOwned1 == null){ 
   hpccmProductsOwned1 = "\n"; 
}
  
function ownsProducts (text){
var answer = false;
  if (hpccmProductsOwned1.indexOf(text) > 0 ||
      hpccmProductsOwned1 == text){
     answer = true;
  }
return answer;
}

/*****************************
    Global Variables
*****************************/

var globalComputing  = false;
var globalPrinting  = false;
var globalDE        = false;
var globalDP        = false;
var homebiz         = false;

// Home biz segmentation
var ccmMkting = user.attr("ccmMarketSegment");
if (ccmMkting == "Home-based Business"){
	homebiz = true;
}

// GLOBAL PRINTING LOGIC

function checkContains(conAttr, conList) {
	var thisItem = conList.split("^");
	var answer = false;
	for (var x=0; x < thisItem.length; x ++) {
		if (user.contains(conAttr, thisItem[x])) {
			answer = true;
		}
	}
	return answer;
}

var a1 = user.attr("ngpp3_computing");
var a2 = user.attr("ngpp3_digiEnt");
var a3 = user.attr("ngpp3_digiPhoto");
var a4 = user.attr("ngpp3_houseHoldPeople");
var a5 = user.attr("ngpp3_interests");
var a6 = user.attr("ngpp3_pcType");
var a7 = user.attr("ngpp3_printing");
var a8 = user.attr("ngpp3_purchasePref");

//var NG_Segments_Level1 = user.attr("NG_Segments_Level1");

var checkPrinters = checkContains("ngpp3_printing","HP DeskJet printer^HP OfficeJet All-in-One (print/copy/scan)^HP Photosmart compact photo printer (4x6\", 5x7\")^HP Photosmart standard printer (8.5x11\")^HP Photosmart All-in-One (print/copy/scan)^HP LaserJet printer");
var checkAIO = checkContains("ngpp3_printing","HP Photosmart All-in-One (print/copy/scan)^HP OfficeJet All-in-One (print/copy/scan)");
var checkProdUse = checkContains("ngpp3_interests", "Everyday Printing -- printing tips from quick prints to high-quality printing^Print Projects - cards, calendars, photo projects, seasonal projects");
var checkProdFam = checkContains("hpccmProductFamilies", "compaq all-in-one products^compaq inkjet printers^hp color inkjet printers^hp color laserjet printers^hp deskjet printers^hp digital copier products^hp inkjet media^hp inkjet print cartridges & kits^hp laserjet mfp and all-in-one products^hp laserjet print cartridges & kits^hp laserjet printers^hp officejet all-in-one products^hp printer/scanner/copier^hp printer/scanner/copier products^hp scanjet scanners");

if (checkPrinters) {
	globalPrinting = true;
} else if (checkAIO) {
	globalPrinting = true;
} else if (checkProdUse) {
	globalPrinting = true;
} else if (checkProdFam) {
	globalPrinting = true;
}

var checkNotebook = checkContains("ngpp3_computing", "HP Pavilion notebook PC");
var checkDigiTV = checkContains("ngpp3_digiEnt", "HP TV^HP Digital Entertainment Center");
var checkDigiMusic = checkContains("ngpp3_interests", "Digital Entertainment --- maximizing your home theater");
var checkProdFam = checkContains("hpccmProductFamilies", "compaq ipaq music^compaq ipaq pcs^compaq ipaq personal audio players^compaq pocket pcs^digital projector accessories^hp cd-writers^hp digital entertainment centers^hp digital entertainment receivers^hp digital music products^hp digital projectors^hp dvd writers^hp flat panel televisions^hp handheld/pocket/palmtop pcs^hp media center desktop pcs^hp multimedia pcs^ipaq pocket pcs^personal media storage^rugged notebook pcs");

if (checkNotebook){
    globalDE = true;
} else if (checkDigiTV) {
    globalDE = true;
} else if (checkDigiMusic) {
    globalDE = true;
} else if (checkProdFam) {
    globalDE = true;
}

var checkPrinters = checkContains("ngpp3_printing", "HP Photosmart compact photo printer (4x6\", 5x7\")^HP Photosmart standard printer (8.5x11\")^HP Photosmart All-in-One (print/copy/scan)");
var checkDigiCam = checkContains("ngpp3_digiPhoto", "HP Photosmart digital camera^HP Photosmart compact photo printer (4x6\", 5x7\")^HP ScanJet scanner^HP Photosmart Essentials software^Snapfish online photo service (by HP)^HP Photosmart retail photo solutions");
var checkProdUse = checkContains("ngpp3_interests", "Digital Photography -- digital cameras, getting prints of your digital photos, photo-editing");

if (checkPrinters) {
    globalDP = true;
} else if (checkDigiCam) {
    globalDP = true;
} else if (checkProdUse) {
    globalDP = true;
}

/*****************************    
  Product Support flags
*****************************/

var hasPSC        = false;
var hasDeskjet    = false;
var hasAIO        = false;
var hasOfficejet  = false;
var hasPsPrinter  = false;
var hasPsCamera   = false;
var ize        = false;
var hasLaserjet   = false;
var hasScanjet    = false;
var hasPsScanner  = false;

var hasPavilNB    = false;
var hasMCPc       = false;
var hasPresarioPC = false;
var hasPresarioNB = false;
var hasPavilPc    = false;

var hasHPIpod    = false;

/*****************************    
  product series flags
*****************************/

var oj1       = false;
var hp_mobile_h470 = false;
var psAIO1    = false;
var psAIO2    = false;
var psAIO3    = false;
var psAIO4    = false;
var photosmart_c3180 = false;
var photosmart_c6180 = false;
var photosmart_c4180 = false;
var psc1      = false;
var psc2      = false;
var psc3      = false;
var psc4      = false;
var psc5      = false;
var psc6      = false;
var psPrint1  = false;
var psPrint2  = false;
var psPrint3  = false;
var psPrint4  = false;
var photosmart_7350_printer = false;
var photosmart_7760_printer = false
var psPrint5  = false;
var psPrint6  = false;
var psPrint7  = false;
var psPrint8  = false;
var psPrint9  = false;
var psPrint10  = false;
var psCam1    = false;
var psCam2    = false;
var photosmart_r707 = false;
var sj1       = false;
var sj2       = false;
var dj1       = false;
var dj2       = false;
var dj3       = false;
var dj4      = false;
var deskjet_d4160_printer = false;

/***************************************
 this vars will hold series number
***************************************/

var pscSeries = "";

/***************************************************************************  
   Photosmart AIO (All-in-one)
***************************************************************************/   
 
if (user.contains("hpccmProductFamilies", "hp photosmart all-in-one products")){
    hasAIO = true;
  if (ownsProducts("photosmart c318")){
    psAIO1 = true;
  } else if (ownsProducts("photosmart c618")){
    psAIO2 = true;
  } else if (ownsProducts("photosmart c518")){
    psAIO3 = true;
  } else if (ownsProducts("photosmart c418")){
    psAIO4 = true;
  } 
}

/***************************************************************************
   Officejet / All-In-One
***************************************************************************/

if (user.contains("hpccmProductFamilies", "hp officejet all-in-one products") ||
  user.contains("ngpp3_printing", "HP OfficeJet All-in-One (print/copy/scan)")){
    hasOfficejet  = true;
	if (ownsProducts("hp officejet 5610")){
    oj1 = true;
  } 
}

if (ownsProducts("hp officejet mobile h470")){
	hp_mobile_h470 = true;
}

/***************************************************************************
   PSC / All-In-One
***************************************************************************/  

if (user.contains("hpccmProductFamilies", "hp psc all-in-one products") ||
	user.contains("hpccmProductFamilies", "hp printer/scanner/copier") ||
	user.contains("hpccmProductFamilies", "hp printer/scanner/copier products") ||
    user.contains("ngpp3_printing", "HP Photosmart All-in-One (print/copy/scan)")){
    hasPSC = true;
  if (ownsProducts("hp psc 1210")){
    psc1 = true;
  }
}

if (ownsProducts("hp psc 1315")){
	psc1315 = true;
} 

/***************************************************************************  
   Photosmart Printer
***************************************************************************/   
 
if (user.contains("hpccmProductFamilies", "hp photosmart photo printers") ||
    user.contains("ngpp3_printing", "HP Photosmart compact photo printer (4x6\", 5x7\")") ||
    user.contains("ngpp3_printing", "HP Photosmart standard printer (8.5x11\")") ||
    user.contains("ngpp3_printing", "HP Photosmart All-in-One (print/copy/scan)")){
    hasPsPrinter = true;
  if (ownsProducts("hp photosmart d5160")){
    psPrint1 = true;
  } else if (ownsProducts("hp photosmart 8250")){
    psPrint2 = true;
  } else if (ownsProducts("hp photosmart 7660")){
    psPrint3 = true;
  } else if (ownsProducts("hp photosmart d7360")){
    psPrint4 = true;
  } else if (ownsProducts("hp photosmart 7350")){
    photosmart_7350_printer = true;
  } else if (ownsProducts("hp photosmart 7760")){
    photosmart_7760_printer = true;
  } else if (ownsProducts("photosmart c3180")){
    photosmart_c3180 = true;
  } else if (ownsProducts("photosmart c6180")){
    photosmart_c6180 = true;
  } else if (ownsProducts("photosmart c4180")){
    photosmart_c4180 = true;
  } 
}

if (ownsProducts("photosmart c3180")){
    photosmart_c3180 = true;
}

/***************************************************************************
   ScanJet
***************************************************************************/

if (user.contains("hpccmProductFamilies", "hp scanjet scanners") ||
  user.contains("ngpp3_digiPhoto", "HP ScanJet scanner")){
    hasScanjet = true;
  if (ownsProducts("hp scanjet 3970")){
    sj1 = true;
  } else if (ownsProducts("hp scanjet 2400")){
    sj2 = true;
  } 
}

/***************************************************************************
   DeskJet
***************************************************************************/
var djSeries = "";
if (user.contains("hpccmProductFamilies", "hp deskjet printers") ||
  user.contains("ngpp3_printing", "HP DeskJet printer")){
    hasDeskjet = true;
 if (ownsProducts("hp deskjet f380")){
    dj1 = true;
  } else if (ownsProducts("hp deskjet 5550")){
    dj2 = true;
  } else if (ownsProducts("hp deskjet 5150")){
    dj3 = true;
  } else if (ownsProducts("hp deskjet d1360")){
    dj4 = true;
  } else if (ownsProducts("hp deskjet d4160")){
    deskjet_d4160_printer = true;
  }
}

/***************************************************************************  
   Photosmart Camera
***************************************************************************/   

if (user.contains("hpccmProductFamilies", "hp photosmart digital cameras") ||
  user.contains("ngpp3_digiPhoto", "HP Photosmart digital camera")){
    hasPsCamera = true;
  if (ownsProducts("hp photosmart m425")){
    psCam1 = true;
  } else if (ownsProducts("hp photosmart m525")){
    psCam2 = true;
  } else if (ownsProducts("hp photosmart r707")){
    photosmart_r707 = true;
  }
}

/*************************************************************************** 
   Pavilion Notebook
***************************************************************************/  

if (user.contains("hpccmProductFamilies", "hp pavilion notebook pcs")){ 
  hasPavilNB = true;
} else if (user.contains("ngpp3_computing", "HP Pavilion notebook PC")){
  hasPavilNB = true;
}

/*************************************************************************** 
   Pavilion Desktop
***************************************************************************/   

if (user.contains("hpccmProductFamilies", "hp pavilion desktop pcs")){
    hasPavilPc = true;
} else if (user.contains("ngpp3_computing", "HP Pavilion desktop PC")){
    hasPavilPc = true;
}

/***************************************************************************
   Compaq Presario NB
***************************************************************************/       

if (user.contains("hpccmProductFamilies", "compaq presario notebook pcs")){
    hasPresarioNB = true;
} else if (user.contains("ngpp3_computing", "Compaq notebook PC")){
    hasPresarioNB = true;
}

/***************************************************************************
   Compaq Presario PC
***************************************************************************/ 
 
if (user.contains("hpccmProductFamilies", "compaq presario desktop pcs")){
    hasPresarioPC = true;
} else if (user.contains("ngpp3_computing", "Compaq desktop PC")){
  hasPresarioPC = true;
} 

/***************************************************************************
   Media Center PC
***************************************************************************/ 
 
if (user.contains("hpccmProductFamilies", "hp media center desktop pcs")){
    hasMCPc = true;
} 

/***************************************************************************
  Global Computing
***************************************************************************/
if ((hasPavilNB) || (hasPavilPc) || (hasPresarioNB) || (hasPresarioPC)){
globalComputing = true;
}

/***************************************************************************
  Determine NB or DT
***************************************************************************/
var hasNB;
var hasDT;

if ((hasPavilNB) || (hasPresarioNB)){
	hasNB = true;
} else if ((hasPavilPc) || (hasPresarioPC)){
	hasDT = true;
}

/************************************************************************
Forward To A Friend section
************************************************************************/
POST--><insert><id>2404</id></insert><!--POST
/************************************************************************
End of Forward To A Friend section
************************************************************************/

//var aoid = 46780;

if (globalComputing) {
	var  aoid = 47202;
} else if (globalPrinting) {
	var  aoid = 47203;
} else if (globalDP) {
	var aoid = 47201;
} else if (globalDE) {
	var aoid = 47200;
} else {
	var  aoid = 47204;
}

/************************************************************************
   Subject lines
************************************************************************/

document.subject("HP Newsgram: November 2009");


// SLOT CODE.
// THIS PRODUCES THE STORIES.
/*
	VARIABLES: 
		slot
		blurb
		swapping
		title
		image
		copy
		url
*/

function grabArticle(article) {
	var link;
	var linkVal;
	var title;
	var image;
	var alt;
	var copy;
	var url;
	
	var omnituretag = "hhosnl=" +jobnum + "|" + mmid + "|" + urlArg;
	switch (article) {

		case "1.1": {
			link = "http://h71036.www7.hp.com/hho/us/en/ep/articles/thanksgiving-party-ideas.html?" + omnituretag;
			linkVal = "Read More";
			title = "Be thankful with help from HP";
			copy = "Add elegance and fun to your Thanksgiving feast. Discover free, professionally designed invitation, decoration, and thank-you note templates from HP.";
			image = "http://content.4at5.net/email_domains/hpn/54613/1117novngprintingthanksgiving.jpg";
			alt = "Be thankful with help from HP";
			break;
		}

		case "1.2": {
			link = "http://www.hp.com/united-states/consumer/digital_photography/magazine/index.html?jumpid=re_r602_dp_home_discover_ideas_link2_august09&" + omnituretag;
			linkVal = "Read More";
			title = "Make and share Thanksgiving memories";
			copy = "Use an HP Photosmart All-in-One to help prepare for the celebration, as well as share photos of the good times.";
			image = "http://content.4at5.net/email_domains/hpn/54613/1117novngprintingdefault.jpg";
			alt = "Make and share Thanksgiving memories";
			break;
		}
		
		case "2.3": {
			link = "http://www.hp.com/united-states/consumer/everyday-computing/feature-guide/notebook/laptop-overview.html?" + omnituretag;
			linkVal = "Read More";
			title = "Check out HP's latest line up of notebooks and netbooks";
			copy = "A perfect gift or a great way to gear up for the holidays - a new HP notebook or netbook might just do the trick. See our latest line up and find the one that is just right for you.";
			image = "http://content.4at5.net/email_domains/hpn/54613/1117novngcomputingholodays.jpg";
			alt = "Check out HP's latest line up of notebooks and netbooks";
			break;
		}

		case "2.4": {
			link = "http://h71036.www7.hp.com/hho/us/en/pclc/articles/topics-november-to-do-list.html?jumpid=ex_r602_go/november?" + omnituretag;
			linkVal = "Read More";
			title = "Do more with your PC this November";
			copy = "Protect your precious memories, create holiday cards and gifts or just find fun ideas to try this holiday season. We've gathered our favorites for you in the PC Learning Center.";
			break;
		}
		
		case "3.5": {
			link = "http://h30393.www3.hp.com/printing/app/us/en/pk_thanksgiving-landing.aspx?jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em_" + jobnum + "&" + omnituretag;
			linkVal = "Creative projects";
			title = "Autumn Bounty Thanksgiving kit";
			copy = "";
			break;
		}

		case "4.6": {
			link = "http://h30393.www3.hp.com/printing/app/us/en/frame_autumnbounty-landing.aspx?jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em_" + jobnum + "&" + omnituretag;
			linkVal = "Creative projects";
			title = "Autumn Bounty Photo Frame";
			copy = "";
			break;
		}

		case "5.7": {
			link = "http://www.hp.com/hho/hp_create/cards-stationery.html?jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em_" + jobnum + "&" + omnituretag;
			linkVal = "Creative projects";
			title = "Holiday Newsletters ";
			copy = "";
			break;
		}
		
		case "6.8": {
			link = "http://www.hp.com/hho/hp_create/cards-greeting_cards.html?filterleft=themes_holidays_christmas&jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em_" + jobnum + "&" + omnituretag;
			linkVal = "Creative projects";
			title = "Holiday Cards";
			copy = "";
			image = "http://content.4at5.net/email_domains/hpn/54613/1117novngcreativestudiocards.jpg";
			alt = "Holiday Cards";
			break;
		}

		case "7.9": {
			link = "http://h30187.www3.hp.com/courses/overview/p/courseId/35827?mcid=hho_ngnov09&" + omnituretag;
			linkVal = "Free online Classes";
			title = "Adobe Photoshop CS4 for photographers";
			copy = "Learn how to create professional-looking photos in your digital darkroom using Adobe Photoshop CS4.";
			image = "http://content.4at5.net/email_domains/hpn/54613/1117novngonlineclassesadobe.jpg";
			alt = "Adobe Photoshop CS4 for photographers";
			break;
		}

		case "7.10": {
			link = "http://h30187.www3.hp.com/courses/overview/p/courseId/17398?mcid=hho_ngnov09&" + omnituretag;
			linkVal = "Free online Classes";
			title = "Improve your personal networking skills";
			copy = "Networking can help you find a great employee or help you promote your business. In this class, you'll learn the art of social networking - in person and online.";
			image = "http://content.4at5.net/email_domains/hpn/54613/1117novngonlineclassesnetworking.jpg";
			alt="Improve your personal networking skills";
			break;
		}

		case "8.11": {
			link = "http://h30187.www3.hp.com/articles/viewArticle/p/courseId/13516?mcid=hho_ngnov09&" + omnituretag;
			linkVal = "Free online Classes";
			title = "Laptop PCs: troubleshoot wireless problems";
			copy = "In this class you'll dig into key components and issues related to maintaining and troubleshooting laptop PC wireless connections.";
			image = "http://content.4at5.net/email_domains/hpn/54613/1117novngonlineclasseslaptop.jpg";
			alt="Laptop PCs: troubleshoot wireless problems";
			break;
		}

		case "8.12": {
			link = "http://h30187.www3.hp.com/courses/overview/p/courseId/3180?mcid=hho_ngnov09&" + omnituretag;
			linkVal = "Free online Classes";
			title = "Microsoft ASP.NET 3.5: beginner's guide";
			copy = "Learn the essentials of ASP.NET 3.5 and how to create simple, dynamic web form with this ASP.NET training.";
			image = "http://content.4at5.net/email_domains/hpn/54613/1117novngonlineclassesmicrosoft.jpg";
			alt="Microsoft ASP.net 3.5: beginner's guide";
			break;
		}

		case "9.13": {
			link = "http://h41112.www4.hp.com/promo/win7web/printer-support/us/en/deskjet.html?" + omnituretag;
			linkVal = "";
			title = "Check compatibility of your HP Imaging and Printing products with Windows(R) 7";
			copy = "Software and drivers for your HP Imaging and Printing products will be available as part of the Windows(R) 7 operating system, on Microsoft's Windows(R) Update, or as a download from hp.com.";
			image = "";
			alt="";
			break;
		}

		case "10.14": {
			link = "http://h30434.www3.hp.com/psg/?" + omnituretag;
			linkVal = "";
			title = "HP's Consumer Support Forum";
			copy = "Holiday Sharing! Get all the help and advice you need from the HP Consumer Support Forum. You have a whole community to help you get answers and share tips during the holiday season. Join the conversation!";
			image = "";
			alt="";
			break;
		}

		case "10.15": {
			link = "http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01881110&" + omnituretag;
			linkVal = "";
			title = "Troubleshoot Notebook Display problems";
			copy = "Get all the information you need to address the common display quality problems that can occur with the LCD display on notebook PCs.";
			image = "";
			break;
		}

		case "10.16": {
			link = "http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01778879&cc=us&dlc=en&lc=en&jumpid=reg_R1002_USEN&" + omnituretag;
			linkVal = "";
			title = "Drivers to support Windows(R) 7 upgrade";
			copy = "HP is offering Windows(R) 7 upgrades for qualifying HP and Compaq desktop computers purchased on or after June 26th, 2009. Find out if you have a qualifying computer.";
			image = "";
			break;
		}
	}
this.link = link;
this.linkVal = linkVal;
this.title = title;
this.alt = alt;
this.copy = copy;
this.image = image;
}


// setup slot 1
var slot1 = new grabArticle("1.2");
if (globalPrinting) {
	slot1 = new grabArticle("1.1");
}

//setup slot 2
var slot2 = new grabArticle("2.4");
if (globalComputing) {
	slot2 = new grabArticle("2.3");
}

//setup slot 3
var slot3 = new grabArticle("3.5");


//setup slot 4
var slot4 = new grabArticle("4.6");


//setup slot 5
var slot5 = new grabArticle("5.7");


//setup slot 6
var slot6 = new grabArticle("6.8");

// setup slot 7
var slot7 = new grabArticle("7.10");
if (globalDP) {
	slot7 = new grabArticle("7.9");
}

// setup slot 8
var slot8 = new grabArticle("8.12");
if (globalComputing) {
	slot8 = new grabArticle("8.11");
}

//setup slot 9
var slot9 = new grabArticle("9.13");

//setup slot 10
var slot10 = new grabArticle("10.14");
if (hasNB){
	slot10 = new grabArticle("10.15");
} else if (hasDT){
	slot10 = new grabArticle("10.16");
}

POST-->Display graphics version
>> @HTML_PREVIEW_LINK

HP NEWSGRAM - November 2009
===========================================

`slot1.title`

`slot1.copy`

>> `slot1.linkVal`
`slot1.link`

------------------------------------------------
`slot2.title`

`slot2.copy`

>>`slot2.linkVal`
`slot2.link`

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

FREE PRINTING PROJECTS!

>> SEE ALL THANKSGIVING PROJECTS
http://www.hp.com/hho/hp_create/themes_holidays_thanksgiving.html?jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em_`jobnum`&hhosnl=`jobnum`|`mmid`|`urlArg`

`slot3.title`
`slot3.link`
----------
`slot4.title`
`slot4.link`
----------
`slot5.title`
`slot5.link`
----------
`slot6.title`
`slot6.link`

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

HP DAILY SURPRISE

A new craft. Delivered to your desktop. Free. Everyday.
Get the free HP Daily Surprise - a new desktop app that 
brings you a fun, easy craft idea from the HP Creative Studio. 
Fresh everyday.

>>DOWNLOAD IT NOW
http://h30440.www3.hp.com/daily-surprise/index.html?hhosnl=`jobnum`|`mmid`|`urlArg`


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

FEATURED CLASSES

`slot7.title`
`slot7.copy`
`slot7.link`

`slot8.title`
`slot8.copy`
`slot8.link`

HHO LEARNING CENTER

>> Digital Photography
http://h30187.www3.hp.com/campus/p/campusId/11261/Digital_photography.htm?webPageId=1000000&mcid=hho_ngnov09&hhosnl=`jobnum`|`mmid`|`urlArg`

>> PC Security & Maintenance
http://h30187.www3.hp.com/campus/p/campusId/11264?mcid=hhonewgramssnov09&hhosnl=`jobnum`|`mmid`|`urlArg`

>> Home Office
http://h30187.www3.hp.com/campus/p/campusId/11262/Home_office.htm?webPageId=1000000&mcid=hho_ngnov09&hhosnl=`jobnum`|`mmid`|`urlArg`

>> Microsoft Office and Adobe
http://h30187.www3.hp.com/campus/p/campusId/11263/Microsoft_Office_and_Adobe.htm?webPageId=1000000&mcid=hho_ngnov09&hhosnl=`jobnum`|`mmid`|`urlArg`

SEE ALL
>> http://h30187.www3.hp.com/?tab=atHome&mcid=hho_ngnov09&hhosnl=`jobnum`|`mmid`|`urlArg`

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

NEED HELP WITH YOUR HP PRODUCT?

`slot9.title`

`slot9.copy`

>> More
`slot9.link`

`slot10.title`

`slot10.copy`

>> More
`slot10.link`

Helpful Links:

>> Software & Driver Downloads 
http://welcome.hp.com/country/us/en/support.html?pageDisplay=drivers&hhosnl=`jobnum`|`mmid`|`urlArg`

>> Support & Troubleshooting
http://welcome.hp.com/country/us/en/support.html?pageDisplay=support&hhosnl=`jobnum`|`mmid`|`urlArg`

>> HP Total Care	
http://h71036.www7.hp.com/hho/cache/309717-0-0-225-121.html?hhosnl=`jobnum`|`mmid`|`urlArg`

>> Software & Real Time Chat
http://welcome.hp.com/country/us/en/contact/chat_1.html?jumpid=ex_R602_info/hho-ng-`linknum`-chat&hhosnl=`jobnum`|`mmid`|`urlArg`

>> Support & Email Support in as fast as 1 hour
http://welcome.hp.com/country/us/en/contact/email_1.html?jumpid=ex_R602_info/hho-ng-`linknum`-email&hhosnl=`jobnum`|`mmid`|`urlArg`

>> HP Care Pack Services
http://www.shopping.hp.com/esp?jumpid=in_R329_prodexp/hhoslp/split/serviceplans&aoid=`aoid`&hhosnl=`jobnum`|`mmid`|`urlArg`

>> Support Forum
http://h30434.www3.hp.com/psg/?hhosnl=`jobnum`|`mmid`|`urlArg`

>> Register Your Product
https://register.hp.com/americas/flowPage/registration/index.do?execution=e1s1&cc=US&lang=en&hhosnl=`jobnum`|`mmid`|`urlArg`

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

The HP Holiday Gift Guide

GIFTS UNDER $50
GIFTS UNDER $100
GIFTS UNDER $150
GIFTS UNDER $300
GIFTS UNDER $400

SHOP HP NOW
>>http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=guide&guide=holiday09&aoid=`aoid`&hhosnl=`jobnum`|`mmid`|`urlArg`

CALL
1-888-917-8097

CLICK
>> http://www.shopping.hp.com/webapp/shopping/home.do?aoid=`aoid`&hhosnl=`jobnum`|`mmid`|`urlArg`

VISIT
Store finder
>>http://h71036.www7.hp.com/hho/cache/581708-0-0-225-121.html?hhosnl=`jobnum`|`mmid`|`urlArg`

------------------------------------------------
Cool Video

HP Photosmart Print Apps

People like you are loving the print apps on the new HP
Photosmart Premium with Touchsmart Web. Here's why.

>>http://h30428.www3.hp.com/index.jsp?auto_band=x&rf=sv&fr_story=d0c211c9d60cb8febe505c20bc688857851ecce6&hhosnl=`jobnum`|`mmid`|`urlArg`

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

New in the HP Creative Community

Thanksgiving Projects

There are plenty of things to be thankful for, including fun and
easy Thanksgiving decorations crafts from HP and other members!

>>http://expressioncenter.wetpaint.com/page/Thanksgiving+Projects

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

OTHER NEWS AT HP

Exclusive HP Friends and Family Offer

25% off All Value Packs**. Print high quality, long lasting
photographs at home. It's fun, easy, and most of all economical.

Get Your Value Pack!
>>http://h30014.www3.hp.com/offers/us/detail.asp?id=1512&jumpid=ex_R602_go/pvprebate&hhosnl=`jobnum`|`mmid`|`urlArg`

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

Windows Live Essentials

Windows Live is a set of free communication and sharing services
that lets you integrate, share, and use your digital
stuff - contacts, e-mail accounts, profiles, photos, files,
calendars, outgoing or incoming notifications - from your PC or
web-enabled phone.

Get Windows Live
>>http://www.hp.com/global/us/en/consumer/digital_photography/free/software/wlpg.html?hhosnl=`jobnum`|`mmid`|`urlArg`

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

Windows Live Photo Gallery

Organize, edit, and share photos easily with Windows Live Photo
Gallery. And it's free!

Get Windows Live Photo Gallery
>>http://www.hp.com/global/us/en/consumer/digital_photography/free/software/wlpg.html?hhosnl=`jobnum`|`mmid`|`urlArg`

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

Create a world of change

HP has partnered with some of the world's leading charities to
fuel donations to great causes. Donate 4% of your purchase
through the HP Create Change program to make a difference today.

Start Giving
>>http://h30484.www3.hp.com/CREATECHANGE/index.html?hhosnl=`jobnum`|`mmid`|`urlArg`

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

30% off on gifts!

You'll be sure to find the perfect photo gifts for all your
favorite people and pets. Get 30% off any gifts for him, for her
and pets in one order from Snapfish, plus new customers get 50
free 4 x 6 prints. Hurry, offer ends 11/21/09!

Start your gifts now!
>>http://www.snapfish.com/hp_us_newsgramnov09_50_30offhishers_1109

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

Print FREE coupons for your favorite brands!

Save on your holiday meals with Coupons.com FREE printable
coupons. It's easy to save on your favorite brands like
Kellogg's, General Mills, Kimberly-Clark & more. Print at home.
Save in stores.

Start Saving
>>http://print.coupons.com/couponweb/Offers.aspx?pid=14872&zid=yf00&nid=10

---------------------
Quick Shopping Links
--------------------
Ink & Toner
>> http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=printer_supp_acc&aoid=`aoid`&hhosnl=`jobnum`|`mmid`|`urlArg`

Outlet
>> http://www.shopping.hp.com/webapp/shopping/store_access.do?template_type=landing&landing=outlet_store&aoid=`aoid`&hhosnl=`jobnum`|`mmid`|`urlArg`

Online shopping
>> http://www.shopping.hp.com/webapp/shopping/home.do?aoid=`aoid`&hhosnl=`jobnum`|`mmid`|`urlArg`

-----------------------------------------------------------------
HP RESOURCES ON THE WEB
-----------------------------------------------------------------
Projects
>> http://www.hp.com/hho/hp_create/?jumpid=em_r11400_us/en/hho/IPG/ipg20_cpt_em_`jobnum`&hhosnl=`jobnum`|`mmid`|`urlArg`

Free classes
>> http://h30187.www3.hp.com/?tab=atHome&mcid=hho&hhosnl=`jobnum`|`mmid`|`urlArg`

Support
>> http://welcome.hp.com/country/us/en/support.html?pageDisplay=support&hhosnl=`jobnum`|`mmid`|`urlArg`

Digital Photography
>> http://www.hp.com/united-states/consumer/digital_photography/?hhosnl=`jobnum`|`mmid`|`urlArg`

Photos online
>> http://www.snapfish.com/welcome
 
Everyday Printing
>> http://www.hp.com/united-states/consumer/everyday-printing/index.html?hhosnl=`jobnum`|`mmid`|`urlArg`
 
HP in Real Life
>> http://www.hp.com/united-states/reallife/?jumpid=ex_r602_go/inreallife&hhosnl=`jobnum`|`mmid`|`urlArg`
 
Creative Community 
>> http://www.expressioncenter.wetpaint.com
 
HP Smart Deals
>> http://h71036.www7.hp.com/hho/cache/567628-0-0-225-121.html?jumpid=ex_r602_go/smartdeals3&hhosnl=`jobnum`|`mmid`|`urlArg`

HP Mac Products
>> http://www.hp.com/sbso/printing/mac/index.html?jumpid=ex_R295_go/mac/printing&hhosnl=`jobnum`|`mmid`|`urlArg`

Retail Store Finder
>> http://h71036.www7.hp.com/hho/cache/581708-0-0-225-121.html?hhosnl=`jobnum`|`mmid`|`urlArg`

Photos Online
>> http://www.snapfish.com/welcome
-----------------------------------------------------------------
HP NEWSGRAM OPTIONS
-----------------------------------------------------------------

Update your preferences
>> http://h30189.www3.hp.com/modify_profile.jsp

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

Privacy policy
>> http://www.hp.com/country/us/en/privacy.html?hhosnl=`jobnum`|`mmid`|`urlArg`

Unsubscribe
>> http://h30189.www3.hp.com/one-click.jsp

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

* Offer is good while supplies last. Offer is also subject to
change or cancellation at any time. See product page for
details. Prices shown may include applicable instant savings.
Restrictions apply to sale items and are subject to change
without notice.

** Purchased between 11/01/09 and 11/21/09

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

<!--POST if (!isReferred){ POST-->SHARE THIS:
@SHARE_THIS_LINK<!--POST } POST-->

Please note that the content of this email is intended for U.S.
residents only.
 
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. To customize your HP Newsgram, please
visit your preference page.
>> http://h30189.www3.hp.com/modify_profile.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 Dr. W., MS 040307, Houston, TX 77070.