if(typeof vwLeftNav=="undefined")
{
var vwLeftNav = {};
}
vwLeftNav.data =
{
init : function()
{
this.navType = "myvw";
this.rootFolder = "myvw";
this.comingSoon = new Array();
this.nav = new Array();
this.nav[0] = {type:"t", title:"t_title", height:46};
this.nav[1] = {type:"hr_7", title:"m_hr"};
this.nav[2] = {type:"m", title:"m_partsService", items:new Array(), url:this.getPath("yourcar/servicecenter"), height:19};
<!-- Service Store Link -->
this.nav[2].items[0] = {type:"sm", title:"yc_serviceStore", items:new Array(), url:this.getPath("yourcar/servicestore"), height:17, isActive:true, revealSub:true, expand:true};
this.nav[2].items[0].items[0] = {type:"ssm", title:"ss_oil", url:this.getPath("yourcar/servicestore/oil"), height:15};
this.nav[2].items[0].items[1] = {type:"ssm", title:"ss_tires", url:this.getPath("yourcar/servicestore/tires"), height:15};
this.nav[2].items[0].items[2] = {type:"ssm", title:"ss_batteries", url:this.getPath("yourcar/servicestore/batteries"), height:15};
this.nav[2].items[0].items[3] = {type:"ssm", title:"ss_brakes", url:this.getPath("yourcar/servicestore/brakes"), height:15};
this.nav[2].items[0].items[4] = {type:"ssm", title:"ss_wipers", url:this.getPath("yourcar/servicestore/wipers"), height:15};
this.nav[2].items[0].items[5] = {type:"ssm", title:"ss_specials", url:this.getPath("yourcar/servicestore/specials"), height:15};
this.nav[2].items[0].items[6] = {type:"ssm", title:"ss_technical", url:this.getPath("yourcar/servicestore/technical"), height:15};
<!-- Why Use Real VW Parts Links -->
this.nav[2].items[1] = {type:"sm", title:"yc_vwparts", items:new Array(), url:this.getPath("yourcar/vwparts"), height:17, isActive:true, revealSub:true, expand:true};
this.nav[2].items[1].items[0] = {type:"ssm", title:"rp_collision", url:this.getPath("yourcar/vwparts/collision"), height:15};
this.nav[2].items[1].items[1] = {type:"ssm", title:"rp_accessories", url:this.getPath("yourcar/vwparts/accessories"), height:15};
<!-- Maintenance Links -->
this.nav[2].items[2] = {type:"sm", title:"yc_maintenance", items:new Array(), url:this.getPath("yourcar/maintenance"), height:17, isActive:true, revealSub:true, expand:true};
this.nav[2].items[2].items[0] = {type:"ssm", title:"ma_findschedules", url:this.getPath("yourcar/maintenance/findschedules"), height:15};
<!-- Warranty Info Links -->
this.nav[2].items[3] = {type:"sm", title:"yc_warrantyinfo", items:new Array(), url:this.getPath("yourcar/warrantyinfo"), height:17};
<!-- Recall Campaign Lookup Link -->
this.nav[2].items[4] = {type:"sm", title:"yc_recallcampaignlookup", items:new Array(), url:this.getPath("yourcar/recallcampaignlookup"), height:17};
<!-- Car Care Tips Links -->
this.nav[2].items[5] = {type:"sm", title:"yc_cartips", items:new Array(), url:this.getPath("yourcar/cartips"), height:17, isActive:true, revealSub:true, expand:true};
this.nav[2].items[5].items[0] = {type:"ssm", title:"ct_fuelefficiency", url:this.getPath("yourcar/cartips/fuelefficiency"), height:15};
this.nav[2].items[5].items[1] = {type:"ssm", title:"ct_wearanduse", url:this.getPath("yourcar/cartips/wearanduse"), height:15};
<!-- Smart Key Link -->
this.nav[2].items[6] = {type:"sm", title:"yc_smartKey", items:new Array(), url:this.getPath("yourcar/smartkey"), height:17};
<!-- Rest of Links -->
this.nav[3] = {type:"hr_7", title:"m_hr"};
this.nav[4] = {type:"m", title:"m_carefree", items:new Array(), url:"/myvw/carefree/en/us", height:38};
this.nav[5] = {type:"hr_7", title:"m_hr"};
this.nav[6] = {type:"m", title:"m_vwCredit", items:new Array(), url:this.getPath("vwcredit"), height:19};
this.nav[7] = {type:"hr_7", title:"m_hr"};
this.nav[8] = {type:"m", title:"m_driverGear", items:new Array(), url:"http://drivergear.vw.com", height:19};
this.nav[9] = {type:"hr_7", title:"m_hr"};
this.nav[10] = {type:"m", title:"m_ownerPerks", items:new Array(), url:"http://ownerperks.vw.com", height:19};
this.nav[11] = {type:"hr_7", title:"m_hr"};
this.nav[12] = {type:"m", title:"m_vwClub", items:new Array(), url:this.getPath("vwclub"), height:19};
this.nav[12].items[0] = {type:"sm", title:"vwc_driverMagazine", items:new Array(), url:this.getPath("vwclub/drivermagazine"), height:17, isActive:true};
this.nav[12].items[1] = {type:"sm", title:"vwc_customercare", items:new Array(), url:this.getPath("/customerservice/contactus/customercare/en/us/"), height:17, isActive:true};
this.nav[12].items[2] = {type:"sm", title:"vwc_clubFeedback", items:new Array(), url:this.getPath("vwclub/feedback"), height:17, isActive:true};
this.nav[12].items[3] = {type:"sm", title:"vwc_editLoginInfo", items:new Array(), url:this.getPath("vwclub/edit_login"), height:17, isActive:true};
this.nav[13] = {type:"hr_7", title:"m_hr"};
this.nav[14] = {type:"m", title:"m_ownersWelcome", items:new Array(), url:this.getPath("ownerswelcome"), height:19};
this.nav[15] = {type:"hr_7", title:"m_hr"};
},
getPath : function(inPage)
{
if(inPage == "overview")
return "/" + this.rootFolder + vwLeftNav.util.getLangCountry();
else if(inPage == "ownerswelcome")
return "/ownerwelcome"+vwLeftNav.util.getLangCountry();
else
return "/" + this.rootFolder + "/"+inPage+vwLeftNav.util.getLangCountry();
}
}