//DO NOT USE THIS FILE - YOU SHOULD BE EDITING WITHIN THE ROOT JS FOLDER
var curVehicle = "";
var argTrackingTname = getParameter( "tname" );
var argGenericParam = getParameter ( "param" );
var argZipParam = getParameter ( "passzip" );
var argContext = getParameter ( "tsrc" );
var queryString = new String( location.search.substring(1, location.search.length) );
//DO NOT USE THIS FILE - YOU SHOULD BE EDITING WITHIN THE ROOT JS FOLDER
//Add your extrenal Link values here.
//tnameValues("tmname","URL")
//DO NOT USE THIS FILE - YOU SHOULD BE EDITING WITHIN THE ROOT JS FOLDER
var argExternalLinks = new Array (
	new tnameValues("durango_tango","http://www.DodgeDurangoTango.com", ""),
	new tnameValues("caliber_edmunds_promo","http://www.edmunds.com/insideline/do/VideosMakeModelIndex/make=Dodge/model=Caliber", "yes"),
	new tnameValues("dodge_arte_house","http://www.dodgeartehouse.com", "yes"),
	new tnameValues("nhl2k","http://www.2ksports.com/games/nhl2k7", "yes"),
	new tnameValues("sitemap_visa","https://www.rewards-catalog.com/redirect/boa/dodge/landingpage.cfm?DodgeAdLink=000005005d441903a833", "yes"),
	new tnameValues("sitemap_autoinsurance","http://www.insurance.daimlerchrysler.com/autoinsurance/dodge/index.html", "yes"),
	new tnameValues("owners_services","https://wsprod.bbdodetroit.com/launch/olpCombo.jsp?brand=Dodge", "yes"),
	new tnameValues("owners_financial2","https://www.chryslerfinancial.com", ""),
	new tnameValues("owners_financial","https://www.chryslerfinancial.com/credit/cfc2/index.jsp", ""),
	new tnameValues("owners_sirius","http://shop.sirius.com//edealinv/servlet/track?subid=5113", "yes"),
	new tnameValues("manuals_purchase","http://www.techauthority.com", "yes"),
	new tnameValues("owners_boston","http://www.bostonacoustics.com/dcxstore.aspx", "yes"),
	new tnameValues("owners_leapster","http://www2.leapfrog.com/pages/splashes/lpclassics/chrysler.jsp?CID=AFC-Chrysler_Mar_07", "yes"),
	new tnameValues("find_answers","https://zoddda01.extra.chrysler.com/data/public/wccs/wckbgp7net.nsf/bystatuspubpub", "yes"),
	new tnameValues("owners_insurance","http://www.insurance.daimlerchrysler.com/autoinsurance/dodge/index.html", "yes"),
	new tnameValues("owners_service","http://www.mopar.com/bridge/dodge/mbridge.htm", "yes"),
	new tnameValues("owners_tirespecials","http://www.mopar.com/controller/dodge/tire_promo.htm?pageName=tireSpecials&year=2008&vehicle=avenger|JSXXXX&brand=dodge", "yes"),
	new tnameValues("owners_partsspecials","http://www.mopar.com/MoparController?action=redirect&brand=dodge&appname=specialDeals", "yes"),
	new tnameValues("owners_accessories","http://www.mopar.com/MoparController?action=redirect&brand=dodge&appname=accessories", "yes"),
	new tnameValues("owners_answers","https://zoddda01.extra.chrysler.com/data/public/wccs/wckbgp7net.nsf/bystatuspubpub", "yes"),
	new tnameValues("sirius", "http://www.sirius.com/dcx/dodge/html/index.html", "yes"),
	new tnameValues("rewards_visa", "https://www.rewards-catalog.com/redirect/boa/dodge/landingpage.cfm?DodgeAdLink=000302005e8500FAAJLP", "yes"),
	new tnameValues("dodge_rewards","https://www.rewards-catalog.com/redirect/boa/dodge/landingpage.cfm?DodgeAdLink=000302005e8500FAAJLP", "yes"),
	new tnameValues("themegalow","http://www.themegalow.com"),
	new tnameValues("nitromeltoff_entry","http://www.nitromeltoff.com"),
 	new tnameValues("nitromeltoff_rules","http://www.nitromeltoff.com/rules.htm"),
 	new tnameValues("caliber_buzz","http://www.caliberbuzz.com"),
    new tnameValues("drz","http://www.askdrz.com"),
 	new tnameValues("drz_sweeps_rules","https://chrysler.eprize.net/askdrz/index.tbapp?page=rules"),
    new tnameValues("drz_sweeps","https://www.askdrz.com/enter/index.html"),
	new tnameValues("drz_sweeps_end","https://www.askdrz.com/sweepstakes/index.html"),
	new tnameValues("edmunds_video","http://www.edmunds.com/insideline/do/VideosMakeModelIndex/make=Dodge/model=Caliber"),
 	new tnameValues("e85","http://www.e85fuel.com"),
  	new tnameValues("discoveralternatives","http://www.discoveralternatives.org"),
  	new tnameValues("caliber_dash","http://www.caliberdash.com"),
  	new tnameValues("clearairchoice","http://www.cleanairchoice.org/outdoor/E85background.asp"),
  	new tnameValues("ethanol","http://www.ethanol.org/e85.html"),
  	new tnameValues("wiki","http://en.wikipedia.org/wiki/E85"),
	new tnameValues("ringtones","http://dodge.modtones.com"),
	new tnameValues("dallascaliber","http://Dallas.DodgeHighCaliberChallenge.net"),
	new tnameValues("chicagocaliber","http://Chicago.DodgeHighCaliberChallenge.net"),
	new tnameValues("bostoncaliber","http://Boston.DodgeHighCaliberChallenge.net"),
	new tnameValues("globalmusic","http://www.globalmusicproject.org/"),
	new tnameValues("highcaliber2","http://www.DodgeHighCaliberChallenge.com"),
	new tnameValues("highcaliber","http://www.highcaliberchallenge.com/rules"),
	new tnameValues("highcaliberracing","http://games.nstorm.com/highcaliber/highcaliber.htm"),
	new tnameValues("comedycentral","http://www.comedycentral.com/whatsnew"),
	new tnameValues("nascar06","http://www.easports.com/nascar06/index.jsp"),
	new tnameValues("wastelandsweeps","http://www.americanwastelandsweeps.com"),
	new tnameValues("wasteland","http://th-american-wasteland.com"),
	new tnameValues("freak_contest","http://www.unleashyourfreak.com/"),
	new tnameValues("cf_home","http://www.chryslerfinancial.com/"),
	new tnameValues("prereg_lifecard"," http://www.dodge-lifecard.com/register05/"),
	new tnameValues("newyork_autoshow","http://www.autoshowny.com/"),
	new tnameValues("get_flash","http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"),
	new tnameValues("ea_sports","http://www.easports.com/"),
	new tnameValues("race_for_cup","http://www.easports.com/games/nascar2005/xbox.jsp"),
	new tnameValues("ea_games","http://www.easports.com/easportspremiumpass/madden/home.jsp"),
	new tnameValues("wild_tangent","http://www.wildtangent.com"),
	new tnameValues("logitech","http://www.logitech.com"),
	new tnameValues("midway","http://www.midway.com"),
	new tnameValues("nstorm","http://www.nstorm.com"),
	new tnameValues("rockstar","http://www.rockstargames.com/"),
	new tnameValues("xbox","http://www.xbox.com"),
	new tnameValues("nvidia","http://www.nvidia.com"),
	new tnameValues("terminal_reality","http://www.terminalreality.com"),
	new tnameValues("inbox","http://www.inbox.co.uk"),
	new tnameValues("mondo","http://www.mondostudios.com"),
	new tnameValues("hemi_hurling","http://us.games2.yimg.com/download.games.yahoo.com/games/buzz/media/hemi_hurling_pc/demos/hemi_install.exe"),
	new tnameValues("dodge_garage","http://us.games2.yimg.com/download.games.yahoo.com/games/buzz/media/dodge_garage_pc/demos/dodge_garage.exe"),
	new tnameValues("wildgames","http://support.wildgames.com"),
	new tnameValues("clearmag","http://www.clearmag.com"),
	new tnameValues("premiere_days_rules","http://dodgepremiere2004sweepstakes.com"),
	new tnameValues("mopar_performance","http://www.mopar.com/performance/"),
	new tnameValues("dodge_nascar","http://www.nascar.com/dodge/"),
	new tnameValues("nhra","http://www.mopar.com/teams/nhra.html"),
	new tnameValues("moparRacing","http://www.mopar.com/racing/"),
	new tnameValues("gms","http://www.globalmusicproject.com"),
	new tnameValues("nitto","http://www.nitto1320.com"),
	new tnameValues("woo","http://www.mopar.com/teams/woo.html"),
	new tnameValues("usac","http://www.mopar.com/teams/usac.html"),
	new tnameValues("look_photos","http://216.216.188.249/dodgeGeneric/login.asp?"+queryString),
	new tnameValues("sbyv","http://www.dcxmediaservices.com/sbyv/"),
	new tnameValues("naias","http://www.autoshowny.com/"),
	new tnameValues("dodge_yahoo_games","http://dodge.games.yahoo.com/"),
	new tnameValues("cf_leaseend","http://www.chryslerfinancial.com/learningCenter/learningCenterLease.jsp"),
	new tnameValues("roadside","/webselfservice/dodge/index.jsp?screenName=roadside&country=us&emailUrl=goToEmailForm%28%27R%27%29", "yes"),
	new tnameValues("mopar_safety","http://www.mopar.com/dodgequality/dodge_quality.html"),
	new tnameValues("cf_commercial","http://www.chryslerfinancial.com/commercial/index_buy.jsp"),
	new tnameValues("lion_king","http://transfer.go.com/cgi/transfer.dll?name=91812&SOURCE=91812&srvc=store&goto=http%3A%2F%2Fdisney.store.go.com%2FDSSectionPage.process%3FSection_Id%3D13687%26Product_Id%3D135423"),
	new tnameValues("nhl_hitz","http://www.nhlhitzprosweeps.midway.com"),
	new tnameValues("cf_home","http://www.chryslerfinancial.com/"),
	new tnameValues("cf_revcalc","http://www.chryslerfinancial.com/affordCalc/index.jsp"),
	new tnameValues("cf_tools","http://www.chryslerfinancial.com/sales/index.jsp?brand=dodge"),
	new tnameValues("dodge_mopar_access","http://www.mopar.com/dodge/index.html"),
	// dodge_mopar_access2 Added March 23/04 - DB
	new tnameValues("dodge_mopar_access2","http://www.mopar.com/performance"),
	new tnameValues("davinci","http://www.esd.org/davinci"),
	new tnameValues("spanish_cf_payments","http://www.chryslerfinancial.com/es/payments/index.jsp"),
	new tnameValues("spanish_cf_credit","http://www.chryslerfinancial.com/es/credit/index.jsp"),
	new tnameValues("spanish_cf_budget","http://www.chryslerfinancial.com/es/budget/index.jsp"),
	new tnameValues("spanish_payments","http://www.chryslerfinancial.com/es/payments/index.jsp"),
	new tnameValues("spanish_application","http://www.chryslerfinancial.com/es/credit/index.jsp"),
	new tnameValues("spanish_calculate","http://www.chryslerfinancial.com/es/budget/index.jsp"),
	new tnameValues("spanish_business","http://nuestrosnegocios.com/"),
	new tnameValues("srt4_eshots","http://www.dodge-photos.com/srt-4/index.cfm"),
	new tnameValues("viper_comp_coupe","http://www.vipercompetitioncoupe.com/"),
	new tnameValues("tomahawk_eshots","http://www.dodge-photos.com/e3/index.cfm"),
	new tnameValues("tomahawk_poster","http://www.tomahawkmerchandise.com/TomahawkStore/Default.asp"),
	new tnameValues("srt4_video","http://66.250.27.80/pop_srt4video.asp"),
	new tnameValues("coachella","http://www.coachella.com"),
	new tnameValues("pigoutpublications","http://www.pigoutpublications.com"),
	new tnameValues("blender","http://www.blender.com/parties/dodge"),
	new tnameValues("disclaimer","/universal/privacy.html"),
	new tnameValues("magical_minivan_survey","http://www.rcdzone.net/dzone/dodge.nsf/main?OpenFrameset&Frame=content&SRC=%2Fdzone/dodge.nsf/pSixtySecondSurvey?OpenForm%26REAY5JYQKK%2F"),
	new tnameValues("neon_name_survey","http://www.rcdzone.net/dzone/dodge.nsf/main?OpenFrameset&Frame=content&SRC=%2Fdzone/dodge.nsf/pSixtySecondSurvey?OpenForm%26REAY5JXLJY%2F"),
	new tnameValues("srt_ad","http://webevents.broadcast.com/dodge/raceinspired"),
	new tnameValues("overseer_song","http://webevents.broadcast.com/dodge/velocityshift"),
	new tnameValues("magical_minivan","http://www.lhjpromo.com/MagicalMinivanMoments"),
	new tnameValues("cf_payment","http://www.chryslerfinancial.com/payments/index.jsp?brand=dodge"),
	new tnameValues("cf_budget","http://www.chryslerfinancial.com/budget/index.jsp?brand=dodge"),
	new tnameValues("dodge_inv_pre","http://www.dodgenpo.com/inventory.cgi"),
	new tnameValues("kelly_bb","http://www.kbb.com/kb/ki.dll/kw.kc.uy?dc&23232;t&21"),
	new tnameValues("cf_credit","http://www.chryslerfinancial.com/credit/index.jsp?brand=dodge"),
	new tnameValues("techauthority","http://www.techauthority.com/"),
	new tnameValues("cf_account","http://www.chryslerfinancial.com/account/index.jsp?brand=dodge", ""),
	new tnameValues("fleet","http://www.fleet.chrysler.com/index.html"),
	new tnameValues("servicecontracts","http://www.servicecontracts.chrysler.com/", "yes"),
	new tnameValues("mopar_vehicle_care","http://www.mopar.com/dodge/maint.html"),
	new tnameValues("international","http://www.international.chryslercorp.com/index.html?dodge"),
	new tnameValues("recommendations","http://www.daimlerchrysler.com/disclaimer/recommendations.html"),
	new tnameValues("ramtoolmaster","http://www.dodgeramtoolmaster.com"),
	new tnameValues("gifts_gear","http://www.goods.dodge.com", "yes"),
	new tnameValues("neon_gifts_gear","https://www.moparcollection.com/newsite/dodge_home20.htm"),
	new tnameValues("srt4_gifts_gear","https://www.moparcollection.com/newsite/dodge_home31.htm"),
	new tnameValues("stratus_coupe_gifts_gear","https://www.moparcollection.com/newsite/dodge_home21.htm"),
	new tnameValues("stratus_sedan_gifts_gear","https://www.moparcollection.com/newsite/dodge_home22.htm"),
	new tnameValues("intrepid_gifts_gear","https://www.moparcollection.com/newsite/dodge_home23.htm"),
	new tnameValues("durango_gifts_gear","https://www.moparcollection.com/newsite/dodge_home24.htm"),
	new tnameValues("dakota_gifts_gear","https://www.moparcollection.com/newsite/dodge_home25.htm"),
	new tnameValues("ram_1500_gifts_gear","https://www.moparcollection.com/newsite/dodge_home26.htm"),
	new tnameValues("ram_2500_3500_gifts_gear","https://www.moparcollection.com/newsite/dodge_home27.htm"),
	new tnameValues("sprinter_gifts_gear","https://www.moparcollection.com/newsite/dodge_home0.htm"),
	new tnameValues("caravan_gifts_gear","https://www.moparcollection.com/newsite/dodge_home28.htm"),
	new tnameValues("grand_caravan_gifts_gear","https://www.moparcollection.com/newsite/dodge_home29.htm"),
	new tnameValues("viper_gifts_gear","https://www.moparcollection.com/newsite/dodge_home30.htm"),
	new tnameValues("stratus_sedan_five_star","http://www.fivestar.com/index.html"),
	new tnameValues("conversion_gifts_gear","https://www.moparcollection.com/newsite/dodge_home0.htm"),
	new tnameValues("cargo_gifts_gear","https://www.moparcollection.com/newsite/dodge_home0.htm"),
	new tnameValues("team_dodge_gifts_gear","http://www.goods.dodge.com/TheGoods/team_dodge.asp"),
	new tnameValues("businesslink_espanol_site","http://nuestrosnegocios.com/"),
	new tnameValues("dodge_trivia","http://www.qb1.com/"),
	new tnameValues("rodeo_finals","http://www.dncfr.com/"),
	new tnameValues("cowboy_assoc","http://www.prorodeo.com/"),
	new tnameValues("time_inc","https://subs.timeinc.net/news_teamdodge/ns.jhtml"),
	new tnameValues("skip_barber","https://www.skipbarber.com/teamdodge/"),
	new tnameValues("raminator_estore","https://www.moparcollection.com/dms2002/dms02_home0.htm"),
	new tnameValues("mtv", "http://www.mtv.com"),
	new tnameValues("msports_brawny_sweepstakes","http://www.gp.com/brawnyman/index.html?z=1"),
	new tnameValues("nascar_wrs","http://www.weeklyracingseries.com/"),
	new tnameValues("evernham_book","http://coffeetablebooks.com/Book.html?rn=966422&cart=3254475247611928&gid=&Titlesku=20011102141105"),
	new tnameValues("msports_craftsman_news","http://dcxracing.com/racing_dodge/news_overview.php?sID=1"),
	new tnameValues("msports_winston_news","http://dcxracing.com/racing_dodge/news_overview.php?sID=5"),
	new tnameValues("nascar_driver","http://www.nascarpopulardriver.com/"),
	new tnameValues("msports_estore","https://www.moparcollection.com/dms2002/dms02_home0.htm"),
	new tnameValues("srt4_news","http://www.sportcompactcarweb.com/features/0302scc_neon/"),
	new tnameValues("superbowl_ad","http://webevents.broadcast.com/dodge/jerky/"),
	new tnameValues("skip_barber","https://www.skipbarber.com/teamdodge/"),
	new tnameValues("midnight_racer","http://www.dcxgames.com/dodge/dmr/index.html?prg=dodge_dmr_site"),
	new tnameValues("mopar_perf","http://www.mopar.com/perf.html"),
	new tnameValues("mopar_home","http://www.mopar.com"),
	new tnameValues("mopar_service","http://www.mopar.com/MoparController?action=redirect&brand=dodge&appname=specialDeals", "yes"),
	new tnameValues("mopar_tire","http://www.mopar.com/MoparController?action=redirect&brand=dodge&appname=tireSpecials"),
	new tnameValues("view_photos","http://www.dodge-photos.com/autoshow"),
	new tnameValues("disclaimer_es","/universal/privacy_espanol.html"),
	new tnameValues("bodyb_sprinter","http://www.dcmi-vans.com/DCMI/DesktopDefault.aspx?refer=www.dodge.com"),
	new tnameValues("dodge_deals","http://www.dodgedeals.com/"),
	new tnameValues("dodge_deals_NTRA","http://www.dodgedeals.com/ntra.htm"),
	new tnameValues("dodge_weekly_series","http://209.10.110.68/"),
	new tnameValues("dodge_zoo","https://securesite.bbdodetroit.com/genwebreg/index.jsp?mktprgm=DZTR04"),
	new tnameValues("dodge_goods_hat","http://www.goods.dodge.com/TheGoods/category.asp?catalog%5Fname=TeamDodge&category%5Fname=1303+Team+Dodge%28DCXDodge%29"),
	new tnameValues("sprinter_body","http://www.dcmi-vans.com/DCMI/DesktopDefault.aspx?refer=www.dodge.com"),
	new tnameValues("clubmom","http://www.clubmom.com/display/175435"),
	new tnameValues("dollar","http://66.162.6.220/IDCE/Start.asp?SID=04525&SRC=3"),
	new tnameValues("thrifty","http://66.162.6.220/IDCE/Start.asp?SID=04525&SRC=4"),
	new tnameValues("teamdodge_password","http://securesite.bbdodetroit.com/TicketSalesWeb/ForgotMembershipNumber.jsp"),
	new tnameValues("family_day","http://www.chryslerfamilyday.com"),
	new tnameValues("hemi","http://www.hemi.com"),
	new tnameValues("dccollegegrad", "http://www.dc-collegegrad.com"),
	new tnameValues("dodge_photos_autoshow", "http://www.dodge-photos.com/autoshow/"),
	new tnameValues("lifecard", "http://www.dodge-lifecard.com/"),
	new tnameValues("ebay_auction", "http://www.ebay.com/charger"),
	new tnameValues("chicago_autoshow","http://www.chicagoautoshow.com/"),
	new tnameValues("dcmedia","http://media.daimlerchrysler.com/"),
	new tnameValues("nascar","http://www.nascar.com"),
	new tnameValues("weekly_racing","http://www.weeklyracingseries.com/"),
	new tnameValues("drag_racing","http://www.mopar.com/speed/racing_nhra.htm"),
	new tnameValues("open_wheel","http://www.mopar.com/speed/racing_usac.htm"),
	new tnameValues("monster_truck","http://www.raminator.com/"),
	new tnameValues("dodge_modtones","http://dodge.modtones.com"),
	new tnameValues("getflash","http://www.macromedia.com/go/getflashplayer/"),
	new tnameValues("adventurerkit","http://www.adventurerkit.com/"),
	new tnameValues("aarp","https://mat.aarp.org/mat/gate?offerid=dodge"),
	new tnameValues("chryslergroup","http://www.chryslerllc.com"),
	new tnameValues("club_racing","http://www.scca.com"),
	new tnameValues("mc_rules","http://www.dodgerammegamusicalchairs.com/rules.html"),
	new tnameValues("scca","http://www.world-challenge.com"),
	new tnameValues("bott","http://www.bottusa.com/shop/listCategoriesAndProducts.asp?idCategory=46"),
	new tnameValues("bound_glory","http://espn.go.com/eoe/B4G/index.html"),
	new tnameValues("caliber_adi","http://www.designyourdodge.com/caliber"),
	new tnameValues("fantasy_photo","http://www.popphoto.com"),
	new tnameValues("autoshow_flickr","http://www.flickr.com/photos/20768007@N00/favorites/show"),
	new tnameValues("autoshow_photos","http://dodge-photos.com/autoshows/"),
	new tnameValues("musical_chairs","http://www.dodgerammegamusicalchairs.com"),
	new tnameValues("caliber_challenge","http://www.highcaliberchallenge.com/rules"),
	new tnameValues("caliber_challenge2","http://www.highcaliberchallenge.com"),
	new tnameValues("mopar_accessories","http://www.mopar.com/MoparController?action=redirect&brand=dodge&appname=accessories"),
	new tnameValues("stratus_sedan_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Stratus&action=domodel"),
	new tnameValues("viper_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Viper&action=domodel"),
	new tnameValues("charger_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Charger&action=domodel"),
	new tnameValues("caliber_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Caliber&action=domodel"),
	new tnameValues("magnum_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Magnum&action=domodel"),
	new tnameValues("caravan_1_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Caravan&action=domodel"),
	new tnameValues("caravan_2_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Grand_Caravan&action=domodel"),
	new tnameValues("durango_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Durango&action=domodel"),
	new tnameValues("dakota_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Dakota&action=domodel"),
  new tnameValues("ram_1500_1_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Ram_Pickup_1500&action=domodel"),
	new tnameValues("ram_1500_2_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2006&make=Dodge&model=Ram_Pickup_1500_SRT10&action=domodel"),
	new tnameValues("ram_2500_3500_1_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Ram_Pickup_2500&action=domodel"),
	new tnameValues("ram_2500_3500_2_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Ram_Pickup_3500&action=domodel"),
	new tnameValues("sprinter_1_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Sprinter&action=domodel"),
	new tnameValues("sprinter_2_pda", "http://dodge-download.edmunds2go.com/apps/avantgo/AvantgoAction?usein=n&year=2007&make=Dodge&model=Sprinter_Cargo&action=domodel"),
  //Edmunds promo links
  new tnameValues("edmunds_home", "http://www.edmunds.com/apps/ratings/ratingsIndex.jsp", "yes"),
	new tnameValues("ram_1500_edmunds", "http://www.edmunds.com/new/2006/dodge/rampickup1500/100593583/ratings_consumer.html", "yes"),
	new tnameValues("ram_2500_3500_edmunds", "http://www.edmunds.com/new/2006/dodge/rampickup2500/100604856/ratings_consumer.html", "yes"),
	new tnameValues("srt10_edmunds", "http://www.edmunds.com/new/2006/dodge/rampickup1500srt10/100645332/ratings_consumer.html", "yes"),
	new tnameValues("durango_edmunds", "http://www.edmunds.com/new/2006/dodge/durango/100626121/ratings_consumer.html", "yes"),
	new tnameValues("caravan_edmunds", "http://www.edmunds.com/new/2006/dodge/grandcaravan/100606063/ratings_consumer.html", "yes"),
	new tnameValues("magnum_edmunds", "http://www.edmunds.com/new/2006/dodge/magnum/100531256/ratings_consumer.html", "yes"),
	new tnameValues("charger_edmunds", "http://www.edmunds.com/new/2006/dodge/charger/100518597/ratings_consumer.html", "yes"),
	new tnameValues("viper_edmunds", "http://www.edmunds.com/new/2006/dodge/viper/100616122/ratings_consumer.html", "yes"),
	new tnameValues("stratus_sedan_edmunds", "http://www.edmunds.com/new/2006/dodge/stratus/100561072/ratings_consumer.html", "yes"),
	new tnameValues("caliber_edmunds", "http://www.edmunds.com/new/2007/dodge/caliber/100685354/ratings_consumer.html", "yes"),
  new tnameValues("sprinter_edmunds", "http://www.edmunds.com/new/2006/dodge/sprinter/100564340/ratings_consumer.html", "yes"),
  new tnameValues("dakota_edmunds", "http://www.edmunds.com/new/2006/dodge/dakota/100578155/ratings_consumer.html", "yes"),
  new tnameValues("ram_2500_3500_intellichoice", "http://www.intellichoice.com"),
  new tnameValues("hcc_blog_chicago", "http://chicago.dodgehighcaliberchallenge.net/"),
  new tnameValues("hcc_blog_boston", "http://boston.dodgehighcaliberchallenge.net/"),
  new tnameValues("hcc_blog_dallas", "http://dallas.dodgehighcaliberchallenge.net/"),
  new tnameValues("challenger_vid1_edmunds", "http://www.edmunds.com/insideline/do/MultimediaLanding"),
  new tnameValues("challenger_vid2_edmunds", "http://www.edmunds.com/insideline/do/Features/articleId=108756"),
  new tnameValues("challenger_vid3_edmunds", "http://www.edmunds.com/insideline/do/Features/articleId=115459"),
  new tnameValues("viper_snakeskin", "http://www.prefix.com/snakeskin/"),
  new tnameValues("cbs", "http://cbs.sportsline.com/partner/ramchallenge/"),
  //Motorsports links
  new tnameValues("petty_exp", "http://www.1800bepetty.com"),
  new tnameValues("scca", "http://www.scca.com"),
  new tnameValues("nhra", "http://www.nhra.com"),
  new tnameValues("usaracing", "http://www.usacracing.com"),
  new tnameValues("moparspeed", "http://www.moparspeed.com"),
  new tnameValues("filmloop", "http://filmloop.com/loops?query=dodge+racing"),
  new tnameValues("grand_caravan_concept", "http://caravan.us.pls.carscomplete.com/prelaunch/dispatch.do"),
  new tnameValues("marvel_promo","http://www.15letters.com/marvel/hulk", "yes"),
  new tnameValues("challenger_countdown","http://www.dodgechallengercountdown.com/", "yes"),
  new tnameValues("avenge_your_commute_rules","http://www.avengeyourcommute.com/rules.html"),
  new tnameValues("avenge_your_commute_join","http://www.avengeyourcommute.com/")    
);
//DO NOT USE THIS FILE - YOU SHOULD BE EDITING WITHIN THE ROOT JS FOLDER
//DO NOT EDIT!!!!!!!
if (argTrackingTname == "get_list"){
  displayTnames();
}else{
  for (i=0; i < argExternalLinks.length; i++) {
	  //if ( argTrackingTname.indexOf( argExternalLinks[i].tname) != -1) {
		if( argTrackingTname == argExternalLinks[i].tname ) {
      redirectUser();
		  break;
	 }
  }
}

//DO NOT EDIT!!!!!!!
function getParameter( argParam ) {
  var queryString = new String( location.search.substring(1, location.search.length) );
  var params = queryString.split( "&" );
  var val = "";
  if( argParam ) {
    for(i=0;i<params.length;i++) {
      if( params[i].split( "=" )[0] == argParam )
        val = params[i].split( "=" )[1];
    }
    return val;
  }
}

//DO NOT EDIT!!!!!!!
function tnameValues (argTname, argURL, argExitMessage) {
	this.tname   = argTname;
  this.url 		 = argURL;
  this.message = argExitMessage;
}

//DO NOT EDIT!!!!!!!
function redirectUser(){
	var url = argExternalLinks[i].url;
  var exitMessage = argExternalLinks[i].message;
  if ( argGenericParam.length > 0 ) {
	  	url+= '?param=' + argGenericParam;
	}
	if ( (argZipParam.length > 0) && (argZipParam != "") ) {
	  		url+= '&zip=' + argZipParam;
	}
  if (exitMessage == "yes") {
	document.write('<div id="exitBounce" style="position: relative; background-image: url(/img/interstitial-bg.gif); background-repeat: no-repeat; font-family: verdana; font-size: 10pt; width: 534px; height: 317px; left: 50%; margin: 30px 0 0 -267px; padding-top: 100px; text-align: center;"><big>You are now exiting dodge.com.</big><br /><small><br />Site will load in three seconds...</small><br /><br /><br /><img src="/img/aqua-progressbar.gif" /></div>');
  setTimeout(function() { window.location.replace(url) }, 3000);
  } else {
    window.location.replace(url);
  }
}

//DO NOT EDIT!!!!!!!
function displayTnames(){
var tnameList = "<table border='1' width='400' cellspacing='3' cellpadding='0'>\n";
  tnameList += "<tr>\n"
  tnameList += "<td valign='top'><b>TNAME</b></td>\n";
	tnameList += "<td valign='top'><b>URL</b></td>\n";
	tnameList += "</tr>\n"
	for (i=0; i < argExternalLinks.length; i++) {
		tnameList += "<tr>\n"
    tnameList += "<td valign='top'>" + argExternalLinks[i].tname + "</td>\n";
		tnameList += "<td valign='top'><b><a href='" + argExternalLinks[i].url + "'>" + argExternalLinks[i].url + "</a></b></td>\n";
		tnameList += "</tr>\n"
	}
	tnameList += "</table><br /><br />";
  document.write(tnameList);
}
