(function(){var window=this;cllc={exists:true,page_is_ready:false,init:function(){try{console.log("console ready");}catch(e){var console={log:function(){}};}cllc.dom_ready(function(){});},dom_ready:(function(){var operations_in_flight=[];return function(fn,options){options=options||{};if(typeof(fn)=="string"){var function_string=fn;fn=function(){eval(function_string);};}operations_in_flight.push(true);jQuery(document).ready(function(){fn.call(window,options);operations_in_flight.pop();if(operations_in_flight.length==0&&!cllc.page_is_ready){jQuery(document).trigger("settled");cllc.page_is_ready=true;}});};})(),page_ready:function(fn,options){options=options||{};if(typeof(fn)=="string"){var function_string=fn;fn=function(){eval(function_string);};}if(!cllc.page_is_ready){jQuery(document).bind("settled",function(){fn.call(window,options);});}else{fn.call(window,options);}},standard_error_handler:function(error){if(typeof(error)=="string"||typeof(error)=="STRING"){var error_msg="error: "+error;}else{var error_msg="error ("+error.name;if(error.lineNumber){error_msg+=", line "+error.lineNumber+", "+error.fileName;}error_msg+="): "+error.message;}console.log(error_msg);},get_environment:function(treat_dev_as_test){var host=window.location.host.toLowerCase().split("."),environment=host[0];if(environment==cllc.constants.get("BRAND_ID")){environment="www";}else{if(treat_dev_as_test&&environment=="miachrcms"){environment="test";}}return environment;},get_protocol:function(){var cur_protocol=window.location.protocol;return cur_protocol;}};cllc=window.cllc;})();cllc.dom_ready(cllc.init);cllc.constants=(function(){var a={BRAND_ID:Vehicles.getBrand(),BRAND:Vehicles.getBrand().charAt(0).toUpperCase()+Vehicles.getBrand().slice(1),AUTOMATICALLY_SHOW_VEHICLE_MENU:false,FEATURE_MENU_PADDING:0};return{get:function(b){return a[b];}};})();var disclaimer_count=0;var disclaimer_complete=false;var global_disclaimer="<dt>&nbsp;</dt><dd class='global_disclosure'> PLEASE REVIEW THESE IMPORTANT PRICING DISCLOSURES. <br />The estimates provided are for informational purposes only and are not an offer to sell. Each estimate is based on the variables you have entered&#44; on the Manufacturer&#39;s Suggested Retail Price&#44; excluding tax for the vehicle you have selected and on the available finance programs. All product illustrations&#44; specifications and competitive comparisons are based upon current information at the time of publication approval. Although descriptions are believed correct&#44; complete accuracy cannot be guaranteed. Chrysler Group LLC reserves the right to make changes at any time&#44; without notice or obligation&#44; in prices&#44; offers&#44; specifications&#44; equipment&#44; colors and materials&#44; and to change or discontinue models. Some of the equipment shown or described throughout this website is available at extra cost and&#47;or may be subject to late availability. See your dealer for the latest information.</dd>";function addPricingDisc(){jQuery("#disclaimers dl").append(global_disclaimer);}(function(){try{if(!cllc.exists){throw"cllcObjUndefined";}cllc.disclaimers=(function(){var c="http://www.chrysler.com/hostb/disclaimer/get/";var e="/crossbrand/en/disclaimers/dynamic_disclaimer_data.js";jQuery().ajaxError(function(i,h,f,g){if(f&&f.url.indexOf("/hostb/disclaimer/get/")!=-1){(f.url.indexOf("dealer.com")!=-1)?e="http://www.chrysler.com"+e:e;jQuery.getScript(e);}});function b(){var f=cllc.disclaimers.num_baked_in_disclaimers;jQuery(".dyna_disc, .dyna_disc_false").each(function(){var h=jQuery(this);var g=h.text();var i=h.hasClass("dyna_disc_false");var j=i?cllc.disclaimers.numberless_disclaimers:cllc.disclaimers.numbered_disclaimers;if(j[g]==undefined){if(jQuery("dt.disclaimer_text_"+g).length){j[g]={key:g,id:jQuery("dt.disclaimer_text_"+g).text(),was_baked_in:true};}else{j[g]={key:g,id:i?null:f+=1};}}h.toggle(!i).attr("title",g).text("["+j[g]["id"]+"]");});disclaimer_count=f;}function d(){var h=[];var g=0;for(var f in cllc.disclaimers.numbered_disclaimers){h.push(cllc.disclaimers.numbered_disclaimers[f]["key"]);}for(var f in cllc.disclaimers.numberless_disclaimers){h.push(cllc.disclaimers.numberless_disclaimers[f]["key"]);g++;}(document.location.pathname.indexOf("dealer.com")!=-1)?e="http://www.chrysler.com"+e:e;if(g>0){jQuery.getScript(e);}else{if(cllc.disclaimers.num_baked_in_disclaimers!=disclaimer_count){jQuery.getScript(e);}else{if(jQuery(".global_disclosure").size()<=0){addPricingDisc();}disclaimer_complete=true;}}}return{init:function(){var f=new RegExp(/\w/);jQuery("#disclaimers dl dt").each(function(g){if(f.test(jQuery(this).text())){cllc.disclaimers.num_baked_in_disclaimers++;}});b();d();},numbered_disclaimers:{},numberless_disclaimers:{},num_baked_in_disclaimers:0,drawDisclaimers:function(k){var j=[];for(var i in cllc.disclaimers.numbered_disclaimers){var h=cllc.disclaimers.numbered_disclaimers[i]["id"];var f=cllc.disclaimers.numbered_disclaimers[i]["key"];var g=k[f];if(g===false){return alert("An unidentifiable disclaimer was requested ("+f+")");}cllc.disclaimers.numbered_disclaimers[i]["text"]=g;if(cllc.disclaimers.numbered_disclaimers[i]["was_baked_in"]){continue;}else{j.push("<dt class='disclaimer_text disclaimer_text_"+f+"'>"+h+"</dt>");j.push("<dd class='disclaimer_text disclaimer_text_"+(h==disclaimer_count?f+" last_disc":f)+"'>"+g+"</dd>");}}for(var i in cllc.disclaimers.numberless_disclaimers){var f=cllc.disclaimers.numberless_disclaimers[i]["key"];var g=k[f];if(g===false){return alert("An unidentifiable disclaimer was requested ("+f+")");}cllc.disclaimers.numberless_disclaimers[i]["text"]=g;if(cllc.disclaimers.numberless_disclaimers[i]["was_baked_in"]){continue;}else{j.push("<dt class='disclaimer_text disclaimer_text_"+f+"'>&nbsp;</dt>");j.push("<dd class='disclaimer_text disclaimer_text_"+f+"'>"+g+"</dd>");}}if(null!=jQuery("#disclaimers")){jQuery("#disclaimers dl").prepend(j.join(""));}addPricingDisc();disclaimer_complete=true;}};})();}catch(a){cllc.standard_error_handler(a);}})();cllc.dom_ready(function(){cllc.disclaimers.init();});function handleSSIEmbeddedDisclaimers(){embedded_disclaimers={};var b=1;activated_disclaimers={};var a=0;jQuery("dt.disclaimer_text").each(function(){if(Number(jQuery(this).text())!=0){b++;a=Number(jQuery(this).text());}});if(b<=a){b=a+1;}jQuery("sup.embedded_disclaimer").each(function(){disclaimer_id=jQuery(this).text();disclaimer_id=disclaimer_id.substring(1,disclaimer_id.length-1);if(typeof(embedded_disclaimers[disclaimer_id])=="undefined"){embedded_disclaimers[disclaimer_id]=b;activated_disclaimers[disclaimer_id]=false;b++;}jQuery(this).html("["+embedded_disclaimers[disclaimer_id]+"]").removeClass("hide");jQuery("dt.embedded_disclaimer_text").each(function(){if(jQuery(this).text()==disclaimer_id&&activated_disclaimers[disclaimer_id]==false){jQuery(this).html(embedded_disclaimers[disclaimer_id]);try{if(jQuery(this).hasClass("hide")){jQuery(this).removeClass("hide");}if(jQuery(this).next()){jQuery(this).next().removeClass("hide");}}catch(d){}activated_disclaimers[disclaimer_id]=true;}});});jQuery("sup.embedded_disclaimer_hidden").each(function(){disclaimer_id=jQuery(this).text();activated_disclaimers[disclaimer_id]=false;});jQuery("sup.embedded_disclaimer_hidden").each(function(){disclaimer_id=jQuery(this).text();jQuery("dt.embedded_disclaimer_text").each(function(){if(jQuery(this).text()==disclaimer_id&&activated_disclaimers[disclaimer_id]==false){jQuery(this).html("&nbsp;").removeClass("hide");jQuery(this).nextSibling.removeClass("hide");activated_disclaimers[disclaimer_id]=true;}});});try{reorderEmbeddedDisclaimers();}catch(c){}}function reorderEmbeddedDisclaimers(){var a;jQuery("dt.disclaimer_text").each(function(){if(Number(jQuery(this).text())!=0){a=jQuery(this);}});jQuery(a).next().after(jQuery(".embedded_disclaimer_text"));}function htmlDecode(a){var b=document.createElement("div");b.innerHTML=a;return b.childNodes[0].nodeValue;}(function(a){a.generateTooltips=function(b){var c={speed:200,delay:300};var b=a.extend(c,b);getTip=function(){return"<div class='tip'></div>";};a("body").prepend(getTip());a(".tooltip").live("mouseover",function(){var k=a(this);if(typeof(a(this).data("ttip"))=="undefined"){var j=a(this).attr("title");var i=a("<div>").html(j).html();a(this).attr("title","").data("ttip",i);}var d=a(this).data("ttip");var e=a(this).offset();var g=e.left;var h=e.top;var f=k.width();var l=k.height();a(".tip").html(d);setTip(h,g);a(this).data("tooltip-class")&&a(".tip").addClass(a(this).data("tooltip-class"));setTimer();}).live("mouseout",function(){stopTimer();a(".tip").hide();}).live("mousemove",function(g){var f=a(".tip").height();var d=g.pageX-30;var h=g.pageY-f-40;if((d+a(".tip").outerWidth())>=a(window).width()){d=g.pageX-a(".tip").outerWidth()-30;}if((h+a(".tip").outerHeight())>=a(window).height()){h=g.pageY-a(".tip").height()-40;}a(".tip").css({left:(d>0?d:0)+"px",top:(h>0?h:g.pageY+40)+"px"});});a(".tip").click(function(){stopTimer();a(this).hide();});setTimer=function(){showTipTimer=setInterval("showTip()",c.delay);};stopTimer=function(){clearInterval(showTipTimer);};setTip=function(g,f){var e=a(".tip").height();var d=(f-30);var h=(g-e-40);a(".tip").css({top:(h>0?h:0)+"px",left:(d>0?d:0)+"px"});};showTip=function(){stopTimer();a(".tip").animate({opacity:"toggle"},c.speed);};};})(jQuery);jQuery(function(){jQuery.generateTooltips();});(function(){try{if(!cllc.exists){throw"cllcObjUndefined";}function b(){if(disclaimer_complete==false){setTimeout("addHtmlDisclaimers()",500);return;}var e={};var c=[];var d=disclaimer_count;jQuery(".html_disc").each(function(){d++;var g=jQuery(this);var f=g.text();c.push("<dt class='disclaimer_text embedded_disc'>"+d+"</dt>");c.push("<dd class='disclaimer_text embedded_disc'>"+f+"</dd>");console.log("Num Disclaimers : "+d);g.text("["+d+"]");g.removeClass("hide");});if(disclaimer_count==0){jQuery("#disclaimers dl").prepend(c.join(""));}else{if(jQuery(".last_disc").length){jQuery(".last_disc").after(c.join(""));}else{jQuery("#disclaimers dl").prepend(c.join(""));}}}cllc.dom2xml={convert:(function(){var c=[];function e(h){switch(h.nodeType){case 1:d(h);break;case 3:g(h);break;case 8:f(h);break;default:throw"dom2xml: unknown attribute type";}}function d(n){c.push("<"+n.nodeName.toLowerCase());if(n.attributes.length){var j=n.attributes;for(var m=j.length,l=0;l<m;l++){if(j[l].specified&&j[l].nodeValue!=null&&j[l].nodeName.indexOf("jQuery")==-1&&j[l].nodeName.indexOf("$tmp")==-1&&j[l].nodeName.indexOf("sizcache")==-1&&j[l].nodeName.indexOf("sizset")==-1){var h=j[l].nodeValue.toString();if(h.indexOf("function")==-1){c.push(" "+j[l].nodeName+'="'+h.replace(/\"/g,"&#34;")+'"');}}}}var k=jQuery(n).contents();if(k.length){c.push(">");for(var m=k.length,l=0;l<m;l++){e(k[l]);}c.push("</"+n.nodeName.toLowerCase()+">");}else{c.push(" />");}}function g(h){h.nodeValue=h.nodeValue.replace(/\[null\]/g,"");c.push(h.nodeValue.replace(/\\n/g,"&#10;"));}function f(h){c.push("<!-- "+h.nodeValue+" -->");}return function(h,i){c=new Array();e(jQuery(h||"body").get(i||0));return c.join("");};})()};}catch(a){cllc.standard_error_handler(a);}})();var takeOver=false;function set_up_video(){if(hasFlashMin()&&userData.bandwidth!="low"){if(es_confirm_apps){this.vbutton=new Element("div").setProperty("id","video_button_es").injectInside($("content"));}else{this.vbutton=new Element("div").setProperty("id","video_button").injectInside($("content"));}this.vdestext=new Element("div").setProperty("id","video_button_text").injectInside(this.vbutton);this.vdestext.innerHTML=video_description_asset;this.vbutton.onclick=function(){showVideo();};}}var videoActive=false;var videoType;var div;var vidBoxID;var vidPlayerID;var closeDivID;var player;var cookieUserData=Cookie.get("userdata");function showVideo(param_videoType,extra_tracking_info,is_text_link){videoType=param_videoType;if(extra_tracking_info!=undefined){tracking_info_addon=extra_tracking_info;}else{tracking_info_addon="";}if(is_text_link){videoType="";vidBoxID="video_box";vidPlayerID="video_player";linkTrack("video","play_overview_video"+tracking_info_addon);player="/shared/flash/stand_alone_player.swf";closeDivID="video_close";}else{if(videoType!=undefined){vidBoxID="video_box"+videoType;vidPlayerID="video_player"+videoType;linkTrack("video","play_"+videoType+"_video");player=eval("video_player_src"+videoType);closeDivID="video_close"+videoType;}else{videoType="";vidBoxID="video_box";vidPlayerID="video_player";linkTrack("video","play_overview_video");player="/shared/flash/stand_alone_player.swf";closeDivID="video_close";}}var windowHeight=window.getSize().scrollSize.y;this.vshade=new Element("div").setProperty("id","video_shade").injectInside(document.body);this.vshade.innerHTML='<img src="/shared/images/spacer.gif" width="100%" height="100%" galleryimg="no" />';this.vbox=new Element("div").setProperty("id",vidBoxID).injectInside(document.body);this.vclose=new Element("div").setProperty("id",closeDivID).injectInside(this.vbox);this.vclose_a=new Element("a").injectInside(this.vclose);this.vclose_a.innerHTML="CLOSE";if(videoType=="takeover"){this.opinion=new Element("div").setProperty("id","opinion").injectInside(this.vbox);this.opinion_a=new Element("a").injectInside(this.opinion);this.opinion_a.innerHTML="Tell us what you think &raquo;";this.opinion.getFirst().onclick=function(){linkTrack("video","opinion_lab_button");O_LC("concierge.dodge.com");};}this.vholder=new Element("div").setProperty("id",vidPlayerID).injectInside(this.vbox);this.vshade.setStyles({height:windowHeight+"px"});this.vshade.setStyles({display:"block"});this.vbox.setStyles({display:"block"});this.vholder.setStyles({display:"block"});this.vclose.setStyles({display:"block"});this.vclose.setStyles({zIndex:25});if(navigator.appVersion.indexOf("Mac")!=-1){if(!takeOver){if($("main_content_flash")){$("main_content_flash").setStyles({visibility:"hidden"});}}}this.vshade.onclick=function(){linkTrack("video","close_"+eval("title_asset"+videoType)+"_video");closePlayer();};this.vclose.onclick=function(){linkTrack("video","close_"+eval("title_asset"+videoType)+"_video");closePlayer();};videoActive=true;showFlash(player,vidPlayerID,"",true);}function showHTML(d){var c=window.getSize().scrollSize.y;this.hshade=new Element("div").setProperty("id","video_shade").injectInside(document.body);this.hshade.innerHTML='<img src="/shared/images/spacer.gif" width="100%" height="100%" galleryimg="no" />';this.hbox=new Element("div").setProperty("id","html_overlay").injectInside(document.body);this.hbox.innerHTML=d;this.hshade.setStyles({height:c+"px"});this.hshade.setStyles({display:"block"});this.hbox.setStyles({display:"block"});this.hshade.onclick=function(){};}function setJSON(){window.document[vidPlayerID+"_flash"].SetVariable("title",eval("title_asset"+videoType));window.document[vidPlayerID+"_flash"].SetVariable("poster",eval("poster_asset"+videoType));window.document[vidPlayerID+"_flash"].SetVariable("flv",eval("video_asset"+videoType));window.document[vidPlayerID+"_flash"].SetVariable("disclaimer",eval("disclaimer_asset"+videoType));window.document[vidPlayerID+"_flash"].SetVariable("auto_play","autoplay");window.document[vidPlayerID+"_flash"].change();}function setEmbedLoaded(){embedLoaded=true;setJSON();}function setConciergeComplete(){window.setTimeout(closePlayer,100);}function closePlayer(){vshade.remove();vbox.remove();vholder.remove();vclose.remove();vclose_a.remove();videoActive=false;if(takeOver){showMainFlash();}else{if(typeof(roadblock)!="undefined"){roadblockShowFlash();}if(navigator.appVersion.indexOf("Mac")!=-1){if($("main_content_flash")){$("main_content_flash").setStyles({visibility:"visible"});}}}}function showMainFlash(){takeOver=false;showFlash("/shared/flash/vehicle_home.swf","main_content");}
