var mboxCurrent=mboxFactories.get('default').get('ws_home_hero',0);mboxCurrent.setEventTime('include.start');document.write('<div style="visibility: hidden; display: none" id="mboxImported-default-ws_home_hero-0">');document.write('<!-- Offer Id: 103820  --><script type=\"text\/javascript\">\r\n heroAdID = \"AmxGenMem30K\";\r\n heroSrc = \"\";\r\n heroHref = \"http:\/\/www.americanexpress.com\/DLHero\";\r\n heroHead = \"EARN 30,000 BONUS MILES.\";\r\n headLineColor=\"#ffffff\";\r\n heroTitle = \"\"\r\n heroStrong = \"\";\r\n heroSubTitle = \"Plus earn a $50 statement credit and First Checked Bag Free.\";\r\n\r\n<\/script>\r\n<!-- Headline -->\r\n<div id=\"HomeHero\">\r\n   <img src=\'//content.delta.com\/content\/dam\/delta-tnt\/homepage\/hero\/amex-hero-gold-cup-tea.jpg\' alt=\'\' \/>\r\n   <a id=\"headline\" target=\"blank\">\r\n   <h1 id=\'heroHead\'><\/h1>\r\n   <h2 id=\'heroSub\'><\/h2>\r\n   <\/a>\r\n<\/div>\r\n\r\n<!--Code below is for nesting carousel set 1-->\r\n\r\n<script type=\"text\/javascript\">\r\nmboxCreate(\'2place_carSet1\',\'activeHero=amex\');\r\n<\/script>\r\n\r\n<!--Code below is for nesting carousel set 2-->\r\n\r\n<script type=\"text\/javascript\">\r\nmboxCreate(\'2place_carSet2\',\'activeHero=amex\');\r\n<\/script>\r\n\r\n<!--Code below is for nesting carousel set 3-->\r\n<script type=\"text\/javascript\">\r\nmboxCreate(\'2place_carSet3\',\'activeHero=amex\');\r\n<\/script>');document.write('<!-- Offer Id: 56727  --><script type=\"text\/javascript\">\r\nfunction ttAddHomeHeroTrack(_which){\r\n\tif(typeof($) != \"undefined\" && $(_which + \':not([adobe=handled])\').length > 0){\r\n\t\t$(_which).bind(\"click\", function(){\r\n\t\t    var mbox = mboxFactoryDefault.getMboxes().get(\"mboxClickTrack\");\r\n\t\t\tif (mbox.length()==0) { \r\n\t\t\t\tvar d = document.createElement(\"div\");\r\n\t\t\t\td.id = \"mboxClickTrack_div\";\r\n\t\t\t\tdocument.body.appendChild(d);\r\n\t\t\t\tmboxDefine(\"mboxClickTrack_div\",\"mboxClickTrack\");\r\n\t\t\t}\r\n\t\t\tif(typeof(window.heroAdID) == \"undefined\") window.heroAdID=\"notDefined\";\r\n\t\t\tmboxUpdate(\"mboxClickTrack\", \"clicked=homeHero\", \"campaign=01 29 2014 US Hero Default Live Campaign A\", \'offerId=\'+window.heroAdID);\r\n\t\t\tif($(_which).attr(\"target\") !=\"blank\" && $(_which).attr(\"target\") !=\"_blank\"){\r\n\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\tlocation.href = $(_which).attr(\"href\");\r\n\t\t\t\t}, 750);\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}).attr(\"adobe\", \"handled\");\r\n\t}else{\r\n\t\tsetTimeout(function(){ ttAddHomeHeroTrack(_which); }, 200);\r\n\t}\r\n}\r\n\r\nfunction ttStartHeroTracking(){\r\n\tif(typeof($) != \"undefined\" && typeof(heroAdID) != \"undefined\"){\r\n\t\t$(document).ready(function(){\r\n\t\t\tttAddHomeHeroTrack(\"#headline\");\r\n\t\t\twindow.heroAdID = heroAdID;\r\n\t\t});\r\n\t}else{\r\n\t\tsetTimeout(function(){ ttStartHeroTracking(); }, 250);\r\n\t}\r\n}\r\nttStartHeroTracking();\r\n<\/script>');document.write('<!-- Offer Id: 17102  --><script type=\"text\/javascript\">\r\n\/*mboxHighlight+ (1of2) v1 ==> Response Plugin*\/\r\nwindow.ttMETA=(typeof(window.ttMETA)!=\'undefined\')?window.ttMETA:[];window.ttMETA.push({\'mbox\':\'ws_home_hero\',\'campaign\':\'01 29 2014 US Hero Default Live Campaign A\',\'experience\':\'Experience AMXGenMem\',\'offer\':\'09 08 2014 US Hero - Amex Gen Member30K Offer - A\'});window.ttMBX=function(x){var mbxList=[];for(i=0;i<ttMETA.length;i++){if(ttMETA[i].mbox==x.getName()){mbxList.push(ttMETA[i])}}return mbxList[x.getId()]}\r\n<\/script>');document.write('<!-- Offer Id: 24786  --><script type=\"text\/javascript\">\r\nvar rightRailObject=function(){\r\n\tthis.trim=function(str){\r\n    \treturn str.replace(\/^\\s\\s*\/, \'\').replace(\/\\s\\s*$\/, \'\');\r\n\t}\r\n\tthis.setClickImpression=function(){\r\n\t\tfor(var c=0;c<RightRailArray.length;c++){\r\n\t\t\ttheMboxLast=RightRailArray[c].theMbox.split(\"_\");\r\n\t\t\t\r\n\t\t\tvar trunkTitle=document.title;\r\n\t\t\/\/\/\/\r\n\t\t\t\tif(trunkTitle.indexOf(\"Delta Air Lines\") != -1){\r\n\t\t\t\t\ttrunkTitle = trunkTitle.replace(\"Delta Air Lines\",\"\");\r\n\t\t\t\t}\r\n\t\t\t\tif(trunkTitle.indexOf(\",\") != -1){\r\n\t\t\t\t\ttrunkTitle = trunkTitle.replace(\/,\/g ,\"\");\r\n\t\t\t\t}\r\n\t\t\t\tif(trunkTitle.indexOf(\"Delta.com\") != -1){\r\n\t\t\t\t\ttrunkTitle = trunkTitle.replace(\"Delta.com\",\"\")\r\n\t\t\t\t}\r\n\t\t\t\t\tvar trimmedTitle=this.trim(trunkTitle);\r\n\t\t\t\t\tswitch(trimmedTitle){\r\n\t\t\t\t\t\tcase \'My Delta\' : trunkTitle=\'MD\'; break;\r\n\t\t\t\t\t\tcase \'Dashboard\' : trunkTitle=\'DB\'; break;\r\n\t\t\t\t\t\tcase \'My Delta: Dashboard\' : trunkTitle=\'MD-DB\'; break;\r\n\t\t\t\t\t\tcase \'Manage Profile\' : trunkTitle=\'MP\'; break;\r\n\t\t\t\t\t\tcase \'Manage Profile - My Profile\' : trunkTitle=\'MP-MP\'; break;\r\n\t\t\t\t\t\tcase \'Manage Profile My Profile\' : trunkTitle=\'MP-MP\'; break;\r\n\t\t\t\t\t\tcase \'Transfer Miles\' : trunkTitle=\'TM\'; break;\r\n\t\t\t\t\t\tcase \'Delta.com - Transfer Miles\' : trunkTitle=\'TM\'; break;\r\n\t\t\t\t\t\tcase \'Pay With Miles International\' : trunkTitle=\'PWMINTL\'; break;\t\r\n\t\t\t\t\t\tcase \'My Delta: Dashboard\' : trunkTitle=\'MDDB\'; break;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tif(trimmedTitle.length > 25){\r\n\t\t\t\t\t\t\t\ttrunkTitle = trimmedTitle.substr(0,25);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\t\ttrunkTitle = trimmedTitle;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\tvar newMboxLast = theMboxLast[theMboxLast.length-1];\r\n\t\t\t\t\t\tnewMboxLast=newMboxLast.toLowerCase();\r\n\t\t\t\t\t\tvar trunkMbox=\'\';\r\n\t\t\t\t\t\tswitch(newMboxLast){\r\n\t\t\t\t\t\t\tcase \'rightrail1\' : trunkMbox=\'RR1\'; break;\r\n\t\t\t\t\t\t\tcase \'rightrail2\' : trunkMbox=\'RR2\'; break;\r\n\t\t\t\t\t\t\tcase \'rightrail3\' : trunkMbox=\'RR3\'; break;\r\n\t\t\t\t\t\t\tcase \'rightrail4\' : trunkMbox=\'RR4\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom1\' : trunkMbox=\'BTM1\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom2\' : trunkMbox=\'BTM2\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom3\' : trunkMbox=\'BTM3\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom4\' : trunkMbox=\'BTM4\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom5\' : trunkMbox=\'BTM5\'; break;\r\n\t\t\t\t\t\t\tcase \'center\' : trunkMbox=\'CTR\'; break;\r\n\t\t\t\t\t\t\tcase \'center1\' : trunkMbox=\'CTR1\'; break;\r\n\t\t\t\t\t\t\tcase \'center2\' : trunkMbox=\'CTR2\'; break;\r\n\t\t\t\t\t\t\tcase \'middle1\' : trunkMbox=\'MDL1\'; break;\r\n\t\t\t\t\t\t\tcase \'middle2\' : trunkMbox=\'MDL2\'; break;\r\n\t\t\t\t\t\t\tcase \'leftrail1\' : trunkMbox=\'LR1\'; break;\r\n\t\t\t\t\t\t\tcase \'leftrail2\' : trunkMbox=\'LR2\'; break;\r\n\t\t\t\t\t\t\tcase \'righttestrail1\' : trunkMbox=\'RR1\'; break;\r\n\t\t\t\t\t\t\tcase \'righttestrail2\' : trunkMbox=\'RR2\'; break;\r\n\t\t\t\t\t\t}\r\n\t\t\t\/\/\/\/\r\n\t\t\t\t$(\"a.linkRightRail:eq(\"+c+\")\").attr(\"onClick\",\"var s=s_gi(s_account); s.linkTrackVars=\'events,eVar1,prop61,pageName\'; s.linkTrackEvents=\'event29\'; s.eVar1=\'\" + trunkTitle + \":\" + trunkMbox + \":\" + RightRailArray[c].tntOfferId + \"\'; s.events=\'event29\'; s.tl(this,\'o\',\'internal campaign click\');\");\r\n\r\n\t\t\t\r\n\t\t}\r\n\r\n\t}\/\/ end setimpression right rail\r\n\tthis.setImpressionRightRail=function(){\r\n\t\tvar sPropString=\'\';\r\n\t\tvar imgPath = \"//content.delta.com\";\r\n\t\t\tfor(var c=0;c<RightRailArray.length;c++){\r\n\r\n\t\t\t\t\ttheMboxLast=RightRailArray[c].theMbox.split(\"_\");\r\n\t\t\t\t\t$(\"div.tntHeader:eq(\"+c+\")\").html(RightRailArray[c].tntHeader);\r\n\t\t\t\t\t$(\"div.tntHeader:eq(\"+c+\")\").css(\"color\",RightRailArray[c].tntheaderColor);\t\r\n\t\t\t\t\t$(\"a.linkRightRail:eq(\"+c+\")\").css(\"background\",\"#f0f0f0 url(\"+ imgPath +\"\/etc\/designs\/delta\/images\/texture-light.png) repeat\");\r\n\t\t\t\t\t$(\"div.tntPricePoint:eq(\"+c+\")\").html(RightRailArray[c].tntheaderColor);\r\n\t\t\t\t\t$(\"div.tntTeaser:eq(\"+c+\")\").html(RightRailArray[c].tntTeaser);\r\n\t\t\t\t\t$(\"div.tntCta:eq(\"+c+\")\").html(RightRailArray[c].tntCta);\r\n\t\t\t\t\t$(\"a.linkRightRail:eq(\"+c+\")\").attr(\"href\",RightRailArray[c].tntHref);\r\n\t\t\t\t\t$(\"div.tntPricePoint\").html(RightRailArray[c].tntPricePoint);\r\n\t\t\t\t\t$(\"div.tntSubText:eq(\"+c+\")\").html(RightRailArray[c].tntSubText);\r\n\t\t\t\t\r\n\r\n\t\t\t\t\tif(typeof(tntImg) != \"undefined\"){\r\n\t\t\t\t\t\t$(\".picHoldetntightRail:eq(\"+c+\")\").attr(\"src\",\"\"+ imgPath+RightRailArray[c].tntImg+\"\");\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\ttheMboxLast=RightRailArray[c].theMbox.split(\"_\");\t\r\n\r\n\t\t\t\t\tvar trunkTitle=document.title;\r\n\t\t\t\/\/\/\/\r\n\t\t\t\tif(trunkTitle.indexOf(\"Delta Air Lines\") != -1){\r\n\t\t\t\t\ttrunkTitle = trunkTitle.replace(\"Delta Air Lines\",\"\");\r\n\t\t\t\t}\r\n\t\t\t\tif(trunkTitle.indexOf(\",\") != -1){\r\n\t\t\t\t\ttrunkTitle = trunkTitle.replace(\/,\/g ,\"\");\r\n\t\t\t\t}\r\n\t\t\t\tif(trunkTitle.indexOf(\"Delta.com\") != -1){\r\n\t\t\t\t\ttrunkTitle = trunkTitle.replace(\"Delta.com\",\"\")\r\n\t\t\t\t}\r\n\t\t\t\t\tvar trimmedTitle=this.trim(trunkTitle);\r\n\t\t\t\t\t\/\/console.log(\'trimmedTitle: \'+trimmedTitle);\r\n\t\t\t\t\tswitch(trimmedTitle){\r\n\t\t\t\t\t\tcase \'My Delta\' : trunkTitle=\'MD\'; break;\r\n\t\t\t\t\t\tcase \'Dashboard\' : trunkTitle=\'DB\'; break;\r\n\t\t\t\t\t\tcase \'My Delta: Dashboard\' : trunkTitle=\'MD-DB\'; break;\r\n\t\t\t\t\t\tcase \'Manage Profile\' : trunkTitle=\'MP\'; break;\r\n\t\t\t\t\t\tcase \'Manage Profile - My Profile\' : trunkTitle=\'MP-MP\'; break;\r\n\t\t\t\t\t\tcase \'Manage Profile My Profile\' : trunkTitle=\'MP-MP\'; break;\r\n\t\t\t\t\t\tcase \'Manage Profile My Profile |\' : trunkTitle=\'MP-MP\'; break;\r\n\t\t\t\t\t\tcase \'Transfer Miles\' : trunkTitle=\'TM\'; break;\r\n\t\t\t\t\t\tcase \'Delta.com - Transfer Miles\' : trunkTitle=\'TM\'; break;\r\n\t\t\t\t\t\tcase \'Pay With Miles International\' : trunkTitle=\'PWMINTL\'; break;\t\r\n\t\t\t\t\t\tcase \'My Delta: Dashboard\' : trunkTitle=\'MDDB\'; break;\r\n\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\tif(trimmedTitle.length > 25){\r\n\t\t\t\t\t\t\t\ttrunkTitle = trimmedTitle.substr(0,25);\r\n\t\t\t\t\t\t\t\t\/\/console.log(\'working: if \'+trunkTitle);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\telse{\r\n\t\t\t\t\t\t\t\ttrunkTitle = trimmedTitle;\r\n\t\t\t\t\t\t\t\t\/\/console.log(\'working: else \'+trunkTitle);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\t\tvar newMboxLast = theMboxLast[theMboxLast.length-1];\r\n\t\t\t\t\t\tnewMboxLast=newMboxLast.toLowerCase();\r\n\t\t\t\t\t\tvar trunkMbox=\'\';\r\n\t\t\t\t\t\t\/\/console.log(\"trunck mbox: \"+newMboxLast);\r\n\t\t\t\t\t\tswitch(newMboxLast){\r\n\t\t\t\t\t\t\tcase \'rightrail1\' : trunkMbox=\'RR1\'; break;\r\n\t\t\t\t\t\t\tcase \'rightrail2\' : trunkMbox=\'RR2\'; break;\r\n\t\t\t\t\t\t\tcase \'rightrail3\' : trunkMbox=\'RR3\'; break;\r\n\t\t\t\t\t\t\tcase \'rightrail4\' : trunkMbox=\'RR4\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom1\' : trunkMbox=\'BTM1\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom2\' : trunkMbox=\'BTM2\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom3\' : trunkMbox=\'BTM3\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom4\' : trunkMbox=\'BTM4\'; break;\r\n\t\t\t\t\t\t\tcase \'bottom5\' : trunkMbox=\'BTM5\'; break;\r\n\t\t\t\t\t\t\tcase \'center\' : trunkMbox=\'CTR\'; break;\r\n\t\t\t\t\t\t\tcase \'center1\' : trunkMbox=\'CTR1\'; break;\r\n\t\t\t\t\t\t\tcase \'center2\' : trunkMbox=\'CTR2\'; break;\r\n\t\t\t\t\t\t\tcase \'middle1\' : trunkMbox=\'MDL1\'; break;\r\n\t\t\t\t\t\t\tcase \'middle2\' : trunkMbox=\'MDL2\'; break;\r\n\t\t\t\t\t\t\tcase \'leftrail1\' : trunkMbox=\'LR1\'; break;\r\n\t\t\t\t\t\t\tcase \'leftrail2\' : trunkMbox=\'LR2\'; break;\r\n\t\t\t\t\t\t\tcase \'righttestrail1\' : trunkMbox=\'RR1\'; break;\r\n\t\t\t\t\t\t\tcase \'righttestrail2\' : trunkMbox=\'RR2\'; break;\r\n\t\t\t\t\t\t}\r\n\t\t\t\/\/\/\/\r\n\t\t\t\t\t\tsPropString += trunkTitle + \":\" + trunkMbox + \":\" + RightRailArray[c].tntOfferId + \",\";\r\n\r\n\t\t\t\t\t\r\n\t\t\t}\r\n\t\t\tsPropString=sPropString.slice(0,-1);\r\n\t\t\tif(trunkMbox != \'\'){\r\n\t\t\t\t\/\/console.log(sPropString);\r\n\t\t\t\twindow.s_propTwentyFive=window.s_propTwentyFive||\'\',s_prop25=sPropString;\r\n\t\t\t\tif(window.s_propTwentyFive.indexOf(s_prop25)==-1){window.s_propTwentyFive=s_prop25}\r\n\r\n\t\t\t}\r\n\r\n\t}\t\r\n}\/\/ end rightRailObject\r\n\r\nvar rightRailObj=new rightRailObject();\r\n\r\n\tvar mx=\"ws_home_hero\";\r\n\tmx=mx.toLowerCase();\r\n\t\tif( mx.indexOf(\"rightrail\") != -1 || \r\n\t\t\tmx.indexOf(\"center\") != -1 || \r\n\t\t\tmx.indexOf(\"bottom\") != -1 || \r\n\t\t\tmx.indexOf(\"left\") != -1 || \r\n\t\t\tmx.indexOf(\"middle\") != -1){\r\n\t\t\t\trightRailObj.setImpressionRightRail();\r\n\t\t}\r\n\r\nfunction checkAll(){\r\n\tif(typeof(s.pageName) != \"undefined\" && typeof(RightRailArray) != \"undefined\"){\r\n\t\trightRailObj.setClickImpression();\r\n\t\tttStartROSTracking();\r\n\t}\r\n\telse{\r\n\t\tsetTimeout(\"checkAll()\",200);\r\n\t}\r\n}\r\n$(document).ready(function(){\r\n\tvar m=\"ws_home_hero\";\r\n\tm=m.toLowerCase();\r\n\tif( m.indexOf(\"rightrail\") != -1 || \r\n\t\tm.indexOf(\"center\") != -1 || \r\n\t\tm.indexOf(\"bottom\") != -1 || \r\n\t\tm.indexOf(\"left\") != -1 || \r\n\t\tm.indexOf(\"middle\") != -1){\r\n\t\t\tcheckAll();\r\n\t\t\/\/rightRailObj.setImpressionRightRail();\r\n\t}\r\n});\r\n\r\n\/\/--- T&T click tracking code ----\r\n\r\nfunction ttROSTrack(_which){\r\n\tif(typeof($) != \"undefined\" && $(_which + \':not([adobe=handled])\').length > 0){\r\n\t\t$(_which).bind(\"click\", function(){\r\n\t\t    var mbox = mboxFactoryDefault.getMboxes().get(\"mboxClickTrack\");\r\n\t\t\tif (mbox.length()==0) { \r\n\t\t\t\tvar d = document.createElement(\"div\");\r\n\t\t\t\td.id = \"mboxClickTrack_div\";\r\n\t\t\t\tdocument.body.appendChild(d);\r\n\t\t\t\tmboxDefine(\"mboxClickTrack_div\",\"mboxClickTrack\");\r\n\t\t\t}\r\n\t\t\tmboxUpdate(\"mboxClickTrack\", \"clicked=rosLink\", \"campaign=01 29 2014 US Hero Default Live Campaign A\");\r\n\t\t\tif($(this).attr(\"target\") !=\"blank\" && $(this).attr(\"target\") !=\"_blank\"){\r\n\t\t\t\tvar a = this;\r\n\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\tlocation.href = $(a).attr(\"href\");\r\n\t\t\t\t}, 750);\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}).attr(\"adobe\", \"handled\");\r\n\t}else{\r\n\t\tsetTimeout(function(){ ttROSTrack(_which); }, 200);\r\n\t}\r\n}\r\n\r\nfunction ttStartROSTracking(){\r\n\tif(typeof($) != \"undefined\"){\r\n\t\t$(document).ready(function(){\r\n\t\t\tttROSTrack(\"a.linkRightRail\");\r\n\t\t});\r\n\t}else{\r\n\t\tsetTimeout(function(){ ttStartROSTracking(); }, 250);\r\n\t}\r\n}\r\n\r\n\r\n<\/script>');document.write('<!-- Offer Id: 30464  --><script type=\"text\/javascript\">\r\n\/*T&T to SiteCat v3 ==>Response Plugin*\/\r\nwindow.s_tnt=window.s_tnt||\'\',tntVal=\'270967:115:0,\';\r\nif(window.s_tnt.indexOf(tntVal)==-1){window.s_tnt+=tntVal}\r\n<\/script>');document.write('</div>');mboxCurrent.setEventTime('include.end');mboxFactories.get('default').get('ws_home_hero',0).loaded();mboxFactories.get('default').getPCId().forceId("1422783571113-637429.19_09");