function menuItem(argText,argId,argPage,argImgName) {
  this.text = argText;
  this.Id = argId;
  this.page = argPage;
  this.img = argImgName;
}

var concept = [
  new menuItem( "Challenger&#160;>","challenger","challenger.html?context="+context+"&type=textNav", "nav1Img" ),
  new menuItem( "Magnum SRT-8&#160;>","srt8","srt8.html?context="+context+"&type=textNav", "nav1Img" ),
  new menuItem( "Kahuna&#160;>","kahuna","kahuna.html?context="+context+"&type=textNav", "nav1Img" ),
  new menuItem( "Avenger&#160;>","avenger","avenger.html?context="+context+"&type=textNav", "nav1Img" ),
  new menuItem( "Durango HEMI&#174; RT&#160;>","durango_hemi","durango_hemi.html?context="+context+"&type=textNav", "nav1Img" ),
  new menuItem( "Razor&#160;>","razor","razor.html?context="+context+"&type=textNav", "nav1Img" ),
  new menuItem( "M80&#160;>","m80","m80.html?context="+context+"&type=textNav", "nav2Img" ),
  new menuItem( "Charger R/T&#160;>","charger","charger.html?context="+context+"&type=textNav", "nav3Img" ),
  new menuItem( "Dodge Maxx&#160;>","maxx","maxx.html?context="+context+"&type=textNav", "nav4Img" ),
  new menuItem( "Power Box&#160;>","power_box","power_box.html?context="+context+"&type=textNav", "nav5Img" ),
  new menuItem( "Super 8 HEMI&#174;&#160;>","hemi_r","hemi_r.html?context="+context+"&type=textNav", "nav6Img" ),
  new menuItem( "Viper GTS-R&#160;>","viper_gts_r","viper_gts_r.html?context="+context+"&type=textNav", "nav7Img" )
];

var dodge = [
  new menuItem( "New 2009 Chrysler Aspen HEMI&#174; Hybrid and Dodge Durango HEMI&#174; Hybrid","hybrid_reveal","hybrid_reveal.html?context="+context+"&type=textNav" ),
  new menuItem( "Dodge Invites Two Lucky Lovebirds to Start Their Journey of a Lifetime at the 100th Chicago Auto Show","journeyofalifetime","journeyofalifetime.html?context="+context+"&type=textNav" ),
  new menuItem( "Jerry Jones Jr. and Lonna Schindler Families Sent Packing as Winners of &#34;Dodge VANtastic Holiday Voyage&#34; Challenges","vantasticvoyage","vantasticvoyage.html?context="+context+"&type=textNav" ),
  new menuItem( "Dodge Brand Helps Tune Up a Tuned-Out Relationship This Holiday Season","rutunedout","rutunedout.html?context="+context+"&type=textNav" ),
  new menuItem( "Dodge Heats Up this Year's State Fair of Texas with the Durango Tango  &gt;","durango_tango_final","durango_final.html?context="+context+"&type=textNav" ),
  new menuItem( "Dodge Announces Exciting New Journey Crossover that Delivers Great Value and Unsurpassed Function and Flexibility starting at &#36;19,985 &gt;","journey","journey_reveal.html?context="+context+"&type=textNav" ),
  new menuItem( "New Guinness World Record&trade; for the World’s Largest Photo Album Set in Orlando, Fla. &gt;","scrapbook","scrapbooking.html?context="+context+"&type=textNav" ),
  new menuItem( "Consumers Invited to \"Tango\" for a Dodge Durango at the State Fair of Texas &gt;","durango_tango","durango_tango.html?context="+context+"&type=textNav" ),
  new menuItem( "National Survey Provides a Chilling Look Inside the Modern Glove Box &gt;","glovebox","glovebox.html?context="+context+"&type=textNav" ),
  new menuItem( "'Dodge Magnum Big Red Wagon' Cooks Up the Ultimate Challenge for Fathers &gt;","bigredwagon","bigredwagon.html?context="+context+"&type=textNav" ),
  new menuItem( "Chrysler Group <br> the First to Offer SIRIUS Backseat TV&trade; &gt;","backseat_tv","backseat_tv.html?context="+context+"&type=textNav" ),
  new menuItem( "Dodge &quot;Avenge Your Commute&quot; Gives Consumers Who Live Life in the Stress Lane Something to Write About &gt;","avenge","avenge.html?context="+context+"&type=textNav" ), 			 
  new menuItem( "Ontario to Become Home of the All-New 2008 Dodge Challenger &gt;","2008_challenger","2008_challenger.html?context="+context+"&type=textNav" ), 			 
  new menuItem( "Dodge Creates Hoopla in Atlanta this March with &quot;Dribble for a Dodge&quot; &gt;","dribble","dribble.html?context="+context+"&type=textNav" ),
  new menuItem( "2008 Dodge Magnum Lineup Packs Powerful Punch &gt;","2008_magnum","2008_magnum.html?context="+context+"&type=textNav" ),
  new menuItem( "Charger and Magnum Police Vehicles&#160;>","charger_police","charger_police.html?context="+context+"&type=textNav" ),
  new menuItem( "DaimlerChrysler Makes Dreams Come True&#160;>","drz_sweepstakes","drz_sweepstakes.html?context="+context+"&type=textNav" ),	
  new menuItem( "2007 Dodge vehicles awarded &#34;Best Buy&#34; from Consumer Guide&reg;&#160;>","best_buy_07","best_buy_07.html?context="+context+"&type=textNav" ),
  new menuItem( "The Dodge Nitro Hot Shots Melt-Off proves who's hot enough to drive the all-new Dodge Nitro&#160;>","nitrohotshots","nitrohotshots.html?context="+context+"&type=textNav" )
];

var car = [
  new menuItem( "First Photos:  All-new 2008 Dodge Challenger SRT8&#174;","challenger_photos","challenger_photos.html?context="+context+"&type=textNav" ),
  new menuItem( "Dodge Announces Pricing for All-new 2008 Challenger SRT8 &gt;","challenger_pricing","challenger_pricing.html?context="+context+"&type=textNav" ),
  new menuItem( "Ontario to Become Home of the All-New 2008 Dodge Challenger &gt;","2008_challenger","2008_challenger.html?context="+context+"&type=textNav" ), 		   
  new menuItem( "All-New 2008 Dodge Avenger Provides Style, Performance and Value &gt;","2008_avenger","2008_avenger.html?context="+context+"&type=textNav" ), 
  new menuItem( "2008 Dodge Magnum Lineup Packs Powerful Punch &gt;","2008_magnum_car","2008_magnum.html?context="+context+"&type=textNav" ),  
  new menuItem( "Dodge Unleashes New 600-horsepower 2008 Viper SRT10 &gt;","viper_srt10","viper_srt10.html?context="+context+"&type=textNav" ),		   
  new menuItem( "Charger and Magnum Police Vehicles&#160;>","charger_police","charger_police.html?context="+context+"&type=textNav" ),
  new menuItem( "Dodge Magnum Earns Edmund.com's Ninth Annual Editors' Most Wanted Award&#160;>","edmunds_07_magnum","edmunds_07_magnum.html?context="+context+"&type=textNav" ),
  new menuItem( "Dodge Challenger is a\"Go\"&#160;>","challenger_concept","challenger_concept.html?context="+context+"&type=textNav" ),
  new menuItem( "Caliber Earns Five-Star Crash Test Rating&#160;>","five_star_rating","caliber_five_star.html?context="+context+"&type=textNav" ),
  new menuItem( "Charger Wins AAA Car of the Year Accolade&#160;>","charger_aaa_win","aaa_chargerwin.html?context="+context+"&type=textNav" ),
  new menuItem( "Kelley Blue Book\'s kbb.com Names Caliber One of Top 10 Cool, Affordable New Vehicles&#160;>","blue_book","blue_book.html?context="+context+"&type=textNav" ),
  new menuItem( "Charger and Magnum: <i>Road & Travel</i> Award Winners&#160;>","road_travel","road_travel.html?context="+context+"&type=textNav" ),
  new menuItem( "Rapper T.I. Creates Pimped Out Dodge Charger&#160;>","ti_charger","ti_charger.html?context="+context+"&type=textNav" ),
  new menuItem( "2007 Dodge vehicles awarded &#34;Best Buy&#34; from Consumer Guide&#160;>","best_buy_07","best_buy_07.html?context="+context+"&type=textNav" ),
  new menuItem( "Charged-up Fantasy Winners&#160;>","photocontest","photocontest.html?context="+context+"&type=textNav" ),
  new menuItem( "The Thrill in Nashville&#160;>","thrill_nashville","thrill_nashville.html?context="+context+"&type=textNav" ),
  new menuItem( "Viper vs. Viper&#160;>","viper_viper","viper_viper.html?context="+context+"&type=textNav" )
  //new menuItem( "Stratus Sedan Earns Five Star Safety Rating&#160;>","five_star_safety","five_star_safety.html?context="+context+"&type=textNav" )
];

var truck = [
  new menuItem( "BusinessWeek names 2008 Dodge Dakota \“America’s Best Small Pickup.\”","best_pickup","dakota_best_pickup.html?context="+context+"&type=textNav" ),
  new menuItem( "Dakota TRX4 4x4 Receives Mid-Size Pickup Honors","tawa","tawa.html?context="+context+"&type=textNav" ),
  new menuItem( "First to meet stringent 2010 truck emissions standards in all 50 states &gt","clean_diesel","clean_diesel.html?context="+context+"&type=textNav" ),			 
  new menuItem( "Dodge Expands Commercial Presence, Charges into Class 4-5 Segment with All-new 2008 Ram 4500 and 5500 Chassis Cabs&#160;>","chassis_cab_4500_5500","4500_5500_chassis_cab.html?context="+context+"&type=textNav" ),
  new menuItem( "All-new 2007 Sprinter Commercial Standard>","sprinter","sprinter_07.html?context="+context+"&type=textNav" ),
  new menuItem( "All-new 2007 Ram 3500 Chassis Cab&#160;>","chassis_cab","chassis_cab.html?context="+context+"&type=textNav" ),
  new menuItem( "Mega cool describes the 2006 Dodge Ram <i>Mega Low</i> Truck&#160;>","mega_low","mega_low.html?context="+context+"&type=textNav" ),
  //new menuItem( "Musgrave Wins NCTS Title&#160;>","craftsman","craftsman.html?context="+context+"&type=textNav" ),
  new menuItem( "2006 Dodge Ram Mega Cab&reg; Dually Delivers Mega Haul And Tow&#160;>","state_fair","mega_cab_state_fair.html?context="+context+"&type=textNav" ),
  new menuItem( "Durango Receives Top Ratings in Government Crash Test&#160;>","govt_crash_test","govt_crash_test.html?context="+context+"&type=textNav" ),
  new menuItem( "Ram Pickup Earns Five Star Safety Rating&#160;>","ram_5star_safety","ram_5star_safety.html?context="+context+"&type=textNav" )
];

var minivan = [
new menuItem( "MYRIDE.COM EDITORS&rsquo; CHOICE AWARDS BEST NEW MINIVAN FOR 2008, DODGE GRAND CARAVAN>","editors_choice","editors_choice.html?context="+context+"&type=textNav" ),
  new menuItem( "ABC&#039;S &#34;THE VIEW&#34; AND THE DODGE BRAND PARTNER FOR THE OFFICIAL &#34;CAROLING FOR A CARAVAN&#34; CONTEST >","caravan_the_view","caravan_the_view.html?context="+context+"&type=textNav" ),
  new menuItem( "Read a Special Report on Caravan from J.D. Power and Associates >","caravan_jd_power","caravan_jd_power.html?context="+context+"&type=textNav" ),		   
  new menuItem( "2007 Dodge vehicles awarded &#34;Best Buy&#34; from Consumer Guide&#160;>","mini_best_buy_07","best_buy_07.html?context="+context+"&type=textNav" ),
  new menuItem( "Caravan named one of America's Best Cars for 2006 by <i>BusinessWeek</i> >","best_american_cars","best_american_cars.html?context="+context+"&type=textNav" )

];

var rodeo = [
  new menuItem( "Dodge Rodeo Events Calendar", "", "javascript:flexWin('/dodge_life/events/gallery.html?event=rodeo','yes','612','425','rodeoSchedule','all');"),
  new menuItem( "Professional Rodeo Cowboys Association","","javascript:flexWin(\'/exitPage/index.jsp?tsrc=grabrodeo&tgrp=extlink&tname=cowboy_assoc\',\'true\',\'\',\'\',\'cowboy_assoc\',\'all\');" ),
  new menuItem( "Find a Ram 2500 that fits your needs.","","/en/2009/ram_2500_3500/?context="+context+"&type=textNav" )
];

var autoshow = [
  new menuItem( "", "", "")
];

var zoo = [
  new menuItem( "Zoo Adventure Tour Calendar", "", "javascript:flexWin('/dodge_life/events/gallery.html?event=zoo','yes','612','425','calendar_popup');")
  
];

var charger = [
  new menuItem( "Model Box Build Events Calendar", "", "javascript:flexWin('/dodge_life/events/gallery.html?event=charger','yes','612','425','calendar_popup');")
  
];

var family_day = [];

function writeTextNav(){
    var textNav = "";
    var titleGif = curTextNav;
    textNav +='<table cellspacing="0" cellpadding="0" border="0" width="130">';
    textNav +='<td valign="top"><img src="/dodge_life/img/title_'+titleGif+'.gif" border="0" /><br /><img src="/img/spacer.gif" width="1" height="10" border="0" /></td></tr>';
  for( var i = 0; i < eval(curTextNav).length; i++ ) { 
    if(curPage == eval(curTextNav)[i].Id){
      textNav +='<tr><td valign="top" width="154"><a href="'+ eval(curTextNav)[i].page +'" class="redNav"><b>' + eval(curTextNav)[i].text +'</a></b><br /><img src="/img/spacer.gif" width="1" height="5" border="0" /></td></tr>';
    }
    else {
      textNav +='<tr><td valign="top" width="154"><a href="'+ eval(curTextNav)[i].page +'" class="redNav">' + eval(curTextNav)[i].text +'</a><br /><img src="/img/spacer.gif" width="1" height="5" border="0" /></td></tr>';
    }
  }
    textNav +='</table>';
    document.write(textNav);
	carryover();
}


onload_register(carryover);

//written for carryover
function carryover() {
	//define vars
	var content = document.getElementById('content3');
	var table = content.getElementsByTagName('table')[2];
	var td = table.getElementsByTagName('td');
	
	//draw bgColor
	table.style.padding = "5px";
	table.style.background = "#000";
	
	
}

