(function(b){b.fn.extend({randomiseBrandStory:function(){var e=b.extend({storyType:"car"},e);if(e.storyType){var f=e.storyType.toLowerCase(),d=["dinner-for-3-million/","fancy-a-cuppa/","meet-asimo/","sun-lover/"],l=["Dinner for 3 billion","Fancy a cuppa?","Meet Asimo","Sun Lover"];return this.each(function(){if(b(this).length){var c=Math.floor(Math.random()*d.length),h=['<img src="'];h.push("/_assets/images/brand-stories/");h.push(d[c]);if(f=="car")h.push(b.browser.msie&&b.browser.version==6?'car-ie6.png"': 'car.png"');else{h.push(f);h.push(".jpg")}e.customClass&&h.push(['" class="',e.customClass,'"'].join(""));h.push([' alt="',l[c],'">'].join(""));b(this).append(h.join(""))}return false})}}})})(jQuery);(function(b){b.extend({preloadImages:function(){for(var e=typeof arguments[0]=="object"?arguments[0]:arguments,f=e.length-1;f>0;f--)b("<img>").attr("src",e[f])}})})(jQuery); (function(b){var e=[[]],f=-1,d=null,l={async:true,race:10,interval:15};b.extend({maparray:function(c,h){f++;if(e.length<=f)e[f]=[];e[f].push({fn:function(m){c[m]=h(m,c[m])},i:0,a:c});f--},reduce:function(c,h,m){f++;if(f<=e.length){d=h;e[f].push({fn:function(i){d=m(i,c[i],d)},i:0,a:c})}f--},execute:function(c,h){c=b.extend({},l,c);b.isFunction(h)||(h=function(){});var m=function(){f<e.length-1&&e[f+1].length&&f++;var g=e[f][0];g.fn(g.i);g.i++;if(g.i==g.a.length){e[f].shift();e[f].length||f--}};if(c.async)var i= setTimeout(function(){for(var g=0;g<c.race;g++){if(!e[0].length){h(d);clearInterval(i);return}m()}i=setTimeout(arguments.callee,c.interval)},c.interval);else{for(;e[0].length;)m();h(d)}}})})(jQuery);var tb_pathToImage="/_assets/images/hondatv-loading.gif";$(document).ready(function(){tb_init("a.thickbox, area.thickbox, input.thickbox");imgLoader=new Image;imgLoader.src=tb_pathToImage}); function tb_init(b){$(b).click(function(){tb_show(this.title||this.name||null,this.href||this.alt,this.rel||false);this.blur();return false})} function tb_show(b,e,f){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}else if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}tb_detectMacXFF()? $("#TB_overlay").addClass("TB_overlayMacFFBGHack"):$("#TB_overlay").addClass("TB_overlayBG");if(b===null)b="";$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");$("#TB_load").show();var d=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/,l=(e.indexOf("?")!==-1?e.substr(0,e.indexOf("?")):e).toLowerCase().match(d);if(l==".jpg"||l==".jpeg"||l==".png"||l==".gif"||l==".bmp"){TB_imageCount=TB_NextHTML=TB_NextURL=TB_NextCaption=TB_PrevHTML=TB_PrevURL=TB_PrevCaption="";TB_FoundURL=false;if(f){TB_TempArray= $("a[@rel="+f+"]").get();for(TB_Counter=0;TB_Counter<TB_TempArray.length&&TB_NextHTML==="";TB_Counter++){TB_TempArray[TB_Counter].href.toLowerCase().match(d);if(TB_TempArray[TB_Counter].href!=e)if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>"}else{TB_FoundURL= true;TB_imageCount="Image "+(TB_Counter+1)+" of "+TB_TempArray.length}}}imgPreloader=new Image;imgPreloader.onload=function(){imgPreloader.onload=null;var i=tb_getPageSize(),g=i[0]-150;i=i[1]-150;var a=imgPreloader.width,j=imgPreloader.height;if(a>g){j*=g/a;a=g;if(j>i){a*=i/j;j=i}}else if(j>i){a*=i/j;j=i;if(a>g){j*=g/a;a=g}}TB_WIDTH=a+30;TB_HEIGHT=j+60;$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+e+"' width='"+a+"' height='"+j+"' alt='"+b+"'/></a><div id='TB_caption'>"+ b+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");$("#TB_closeWindowButton").click(tb_remove);if(TB_PrevHTML!==""){var k=function(){$(document).unbind("click",k)&&$(document).unbind("click",k);$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,f);return false};$("#TB_prev").click(k)}if(TB_NextHTML!==""){var o= function(){$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,f);return false};$("#TB_next").click(o)}document.onkeydown=function(q){keycode=q==null?event.keyCode:q.which;if(keycode==27)tb_remove();else if(keycode==190){if(TB_NextHTML!=""){document.onkeydown="";o()}}else if(keycode==188)if(TB_PrevHTML!=""){document.onkeydown="";k()}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block"})}; imgPreloader.src=e}else{var c=e.replace(/^[^\?]+\??/,""),h=tb_parseQuery(c);TB_WIDTH=h.width*1+30||630;TB_HEIGHT=h.height*1+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(e.indexOf("TB_iframe")!=-1){urlNoQuery=e.split("TB_");$("#TB_iframeContent").remove();if(h.modal!="true")$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+b+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+ urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1E3)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>");else{$("#TB_overlay").unbind();$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1E3)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else if($("#TB_window").css("display")!= "block")if(h.modal!="true")$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+b+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>");else{$("#TB_overlay").unbind();$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}else{$("#TB_ajaxContent")[0].style.width= ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(b)}$("#TB_closeWindowButton").click(tb_remove);if(e.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+h.inlineId).children());$("#TB_window").unload(function(){$("#"+h.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else if(e.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove(); $("#TB_window").css({display:"block"})}}else $("#TB_ajaxContent").load(e+="&random="+(new Date).getTime(),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"})})}if(!h.modal)document.onkeyup=function(i){keycode=i==null?event.keyCode:i.which;keycode==27&&tb_remove()}}catch(m){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})} function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false} function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt(TB_WIDTH/2,10)+"px",width:TB_WIDTH+"px"});jQuery.browser.msie&&jQuery.browser.version<7||$("#TB_window").css({marginTop:"-"+parseInt(TB_HEIGHT/2,10)+"px"})}function tb_parseQuery(b){var e={};if(!b)return e;b=b.split(/[;&]/);for(var f=0;f<b.length;f++){var d=b[f].split("=");if(!(!d||d.length!=2)){var l=unescape(d[0]);d=unescape(d[1]);d=d.replace(/\+/g," ");e[l]=d}}return e} function tb_getPageSize(){var b=document.documentElement;return arrayPageSize=[window.innerWidth||self.innerWidth||b&&b.clientWidth||document.body.clientWidth,window.innerHeight||self.innerHeight||b&&b.clientHeight||document.body.clientHeight]}function tb_detectMacXFF(){var b=navigator.userAgent.toLowerCase();if(b.indexOf("mac")!=-1&&b.indexOf("firefox")!=-1)return true} (function(b){var e={header:"http://api.bit.ly/v3/",shortUrl:"",longUrl:"",hash:"",domain:"bit.ly",apiKey:"",login:""},f=function(d,l,c){b.getJSON(d,function(h){h.status_code==200?l(h.data):c(h)})};b.extend({shorten:function(d,l,c){d=b.extend({},e,d);d=[d.header,"shorten?longUrl=",encodeURIComponent(d.longUrl),"&login=",d.login.toLowerCase(),"&apiKey=",d.apiKey,"&domain=",d.domain,"&format=json"].join("");f(d,l,c)},expand:function(d,l,c){d=b.extend({},e,d);d=[d.header,"expand?shortUrl=",d.shortUrl, "&hash=",d.hash,"&login=",d.login.toLowerCase(),"&apiKey=",d.apiKey,"&format=json"].join("");f(d,l,c)},validate:function(d,l,c){d=b.extend({},e,d);d=[d.header,"validate?x_login=",d.x_login,"&x_apiKey=",d.x_apiKey,"&login=",d.login.toLowerCase(),"&apiKey=",d.apiKey,"&format=json"].join("");f(d,l,c)},clicks:function(d,l,c){d=b.extend({},e,d);d=[d.header,"clicks?shortUrl=",d.shortUrl,"&hash=",d.hash,"&login=",d.login.toLowerCase(),"&apiKey=",d.apiKey,"&format=json"].join("");f(d,l,c)}})})(jQuery); (function(b){function e(c,h,m){b(c).click(function(i){i.preventDefault();i.stopPropagation();f(h.fade);i=b.data(this,"active.gypsy");if(!i){i="";if(m.html!=null)i=typeof m.html=="function"?m.html(m):m.html;if(m.text!=null&&m.text.length)i=["<span>",m.text,"</span>"].join("");var g=b.browser.msie&&b.browser.version<=8,a=[];a.push('<div class="gypsy fixPng">');g&&a.push('<div id="box-ne" class="fixPng">');a.push('<div class="gypsy-title">');a.push(m.title!=null&&m.title.length?m.title:b(this).attr("title")); a.push('<a class="gypsy-close" href="#"></a>');a.push("</div>");g&&a.push('</div><div id="box-se" class="fixPng">');a.push('<div class="gypsy-content fixPng">');a.push(i);g&&a.push("</div>");a.push('</div><div class="gypsy-arrow"></div></div>');i=b(a.join(""));i.css({position:"absolute",zIndex:1E5});g&&i.css({visibility:"visible",display:"block"});b.data(this,"active.gypsy",i);i.appendTo(document.body)}i.css({visibility:"hidden",display:"block"});g=b.extend({},b(this).offset(),{width:this.offsetWidth, height:this.offsetHeight});a={top:g.top-i[0].offsetHeight-6};if(b(this).offset().left>b(document).scrollLeft()+b(window).width()/2){a.left=g.left-i[0].offsetWidth+40+g.width/2;cls="gypsy-arrow-left"}else{a.left=g.left-40+g.width/2;cls="gypsy-arrow-right"}i.css(a);b("div.gypsy-arrow",i).addClass(cls);h.fade?i.css({opacity:0,display:"block",visibility:"visible"}).animate({opacity:0.8}):i.css({visibility:"visible"})})}function f(c){var h=b("div.gypsy");c?h.stop().fadeOut():h.hide()}var d={data:[],duplicates:false, async:true,race:10,interval:20,fade:false,fallback:"",html:false},l={};b.fn.extend({glossary:function(c){c=b.extend({},d,c);if(!(b.maparray==null||b.execute==null)){b(document).click(function(h){h=b(h.target);!h.hasClass("gypsy-title")&&!h.hasClass("gypsy-content")&&f(c.fade)});b(".gypsy-close").live("click",function(h){h.preventDefault()});l={};b(this).each(function(){var h=this;b.maparray(c.data,function(m,i){var g=["\\b",i.key,"\\b"].join("");i.found=b.fn.highlight(h,RegExp(g,"i"),i,c);return i})}); b.execute(c);return this}},highlight:function(c,h,m,i){if(c.nodeType===3){if(h=c.data.match(h)){if(!i.duplicates){if(l[m.key])return;l[m.key]=true}var g=['<a href="',m.url,'" class="glossary-link" title="',m.title,'"><dfn class="glossary"/></a>'].join("");g=b(g).get(0);c=c.splitText(h.index);c.splitText(h[0].length);g.appendChild(c.cloneNode(true));c.parentNode.replaceChild(g,c);e(g,i,m);return 1}}else if(c.nodeType===1&&c.childNodes&&!/(script|style)/i.test(c.tagName)&&!(c.tagName==="DFN"&&c.className=== "glossary")&&c.className!=="glossary-ignore")for(g=0;g<c.childNodes.length;g++)g+=b.fn.highlight(c.childNodes[g],h,m,i);return 0},gypsy:function(c){c=b.extend({},d,c);return this.each(function(){e(this,c,c)})}})})(jQuery); (function(b){b.fn.extend({hondaToolbox:function(e){var f={indicator:false};dp.toolbox.create();return this.each(function(){e&&b.extend(f,e);if(this.tagName=="FORM")b(this).unbind("submit").submit(function(){dp.toolbox.start(b(this),"form");this.blur();return false});else{b(this).unbind("click").click(function(){dp.toolbox.start(b(this),"link");this.blur();return false});if(f.indicator){var d=b(this).width()-3;b(this).parent("li").css({position:"relative"}).append('<img src="/_assets/presentation/toolbox/invis.gif" class="toolboxIndicator" style="background:#fff url(/_assets/presentation/toolbox/loading.gif) no-repeat 0 0;position:absolute;top:-9px;left:3px;height:35px;width:'+ d+'px;display:none;" />')}}})}})})(jQuery); (function(b,e,f){function d(a,j){var k=(a[0]||0)-(j[0]||0);return k>0||!k&&a.length>0&&d(a.slice(1),j.slice(1))}function l(a){if(typeof a!=c)return a;var j=[],k="",o;for(o in a){k=typeof a[o]==c?l(a[o]):[o,h?encodeURI(a[o]):a[o]].join("=");j.push(k)}return j.join("&")}var c="object",h=true;try{var m=f.description||(new f("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}catch(i){m="Unavailable"}var g=m.match(/\d+/g)||[0];b[e]={available:g[0]>0,activeX:f&&!f.name,version:{original:m,array:g, string:g.join("."),major:parseInt(g[0],10)||0,minor:parseInt(g[1],10)||0,release:parseInt(g[2],10)||0},hasVersion:function(a){a=/string|number/.test(typeof a)?a.toString().split("."):/object/.test(typeof a)?[a.major,a.minor]:a||[0,0];return d(g,a)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(a){if(!a.swf||this.expressInstallIsActive||!this.available&&!a.hasVersionFail)return false;if(!this.hasVersion(a.hasVersion||1)){this.expressInstallIsActive= true;if(typeof a.hasVersionFail=="function")if(!a.hasVersionFail.apply(a))return false;a={swf:a.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:a.swf,type:"application/x-shockwave-flash",id:a.id||"flash_"+Math.floor(Math.random()*999999999),width:a.width||320,height:a.height||180,style:a.style||""};h=typeof a.useEncode!=="undefined"? a.useEncode:this.encodeParams;a.movie=a.swf;a.wmode=a.wmode||"opaque";delete a.fallback;delete a.hasVersion;delete a.hasVersionFail;delete a.height;delete a.id;delete a.swf;delete a.useEncode;delete a.width;var j=document.createElement("div"),k=attrs,o=[],q;for(q in k)k[q]&&o.push([q,'="',k[q],'"'].join(""));k=o.join(" ");var p;a=a;o=[];for(p in a)o.push(['<param name="',p,'" value="',l(a[p]),'" />'].join(""));p=o.join("");p=["<object ",k,">",p,"</object>"];j.innerHTML=p.join.call(p,"");return j.firstChild}}; b.fn[e]=function(a){var j=this.find(c).andSelf().filter(c);/string|object/.test(typeof a)&&this.each(function(){var k=b(this),o;a=typeof a==c?a:{swf:a};a.fallback=this;if(o=b[e].create(a)){k.children().remove();k.html(o)}});typeof a=="function"&&j.each(function(){var k=this;k.jsInteractionTimeoutMs=k.jsInteractionTimeoutMs||0;if(k.jsInteractionTimeoutMs<660)k.clientWidth||k.clientHeight?a.call(k):setTimeout(function(){b(k)[e](a)},k.jsInteractionTimeoutMs+66)});return j}})(jQuery,"flash",navigator.plugins["Shockwave Flash"]|| window.ActiveXObject); (function(b,e,f){function d(j){j=j||e[h][m];return j.replace(/^[^#]*#?(.*)$/,"$1")}var l,c=b.event.special,h="location",m="href",i=document.documentMode,g=b.browser.msie&&(i===f||i<8),a="onhashchange"in e&&!g;b.hashchangeDelay=100;c.hashchange=b.extend(c.hashchange,{setup:function(){if(a)return false;b(l.start)},teardown:function(){if(a)return false;b(l.stop)}});l=function(){function j(){p=r=function(n){return n};if(g){q=b('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow;r= function(){return d(q.document[h][m])};p=function(n,t){if(n!==t){var s=q.document;s.open().close();s[h].hash="#"+n}};p(d())}}var k={},o,q,p,r;k.start=function(){if(!o){var n=d();p||j();(function t(){var s=d(),u=r(n);if(s!==n){p(n=s,u);b(e).trigger("hashchange")}else if(u!==n)e[h][m]=e[h][m].replace(/#.*/,"")+"#"+u;o=setTimeout(t,b.hashchangeDelay)})()}};k.stop=function(){if(!q){o&&clearTimeout(o);o=0}};return k}()})(jQuery,this);if(!this.JSON)this.JSON={}; (function(){function b(g){return g<10?"0"+g:g}function e(g){l.lastIndex=0;return l.test(g)?'"'+g.replace(l,function(a){var j=m[a];return typeof j==="string"?j:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+g+'"'}function f(g,a){var j,k,o,q,p=c,r,n=a[g];if(n&&typeof n==="object"&&typeof n.toJSON==="function")n=n.toJSON(g);if(typeof i==="function")n=i.call(a,g,n);switch(typeof n){case "string":return e(n);case "number":return isFinite(n)?String(n):"null";case "boolean":case "null":return String(n); case "object":if(!n)return"null";c+=h;r=[];if(Object.prototype.toString.apply(n)==="[object Array]"){q=n.length;for(j=0;j<q;j+=1)r[j]=f(j,n)||"null";o=r.length===0?"[]":c?"[\n"+c+r.join(",\n"+c)+"\n"+p+"]":"["+r.join(",")+"]";c=p;return o}if(i&&typeof i==="object"){q=i.length;for(j=0;j<q;j+=1){k=i[j];if(typeof k==="string")if(o=f(k,n))r.push(e(k)+(c?": ":":")+o)}}else for(k in n)if(Object.hasOwnProperty.call(n,k))if(o=f(k,n))r.push(e(k)+(c?": ":":")+o);o=r.length===0?"{}":c?"{\n"+c+r.join(",\n"+c)+ "\n"+p+"}":"{"+r.join(",")+"}";c=p;return o}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+b(this.getUTCMonth()+1)+"-"+b(this.getUTCDate())+"T"+b(this.getUTCHours())+":"+b(this.getUTCMinutes())+":"+b(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var d=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, l=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,c,h,m={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},i;if(typeof JSON.stringify!=="function")JSON.stringify=function(g,a,j){var k;h=c="";if(typeof j==="number")for(k=0;k<j;k+=1)h+=" ";else if(typeof j==="string")h=j;if((i=a)&&typeof a!=="function"&&(typeof a!=="object"||typeof a.length!=="number"))throw Error("JSON.stringify");return f("", {"":g})};if(typeof JSON.parse!=="function")JSON.parse=function(g,a){function j(o,q){var p,r,n=o[q];if(n&&typeof n==="object")for(p in n)if(Object.hasOwnProperty.call(n,p)){r=j(n,p);if(r!==undefined)n[p]=r;else delete n[p]}return a.call(o,q,n)}var k;g=String(g);d.lastIndex=0;if(d.test(g))g=g.replace(d,function(o){return"\\u"+("0000"+o.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(g.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){k=eval("("+g+")");return typeof a==="function"?j({"":k},""):k}throw new SyntaxError("JSON.parse");}})(); jQuery.cookie=function(b,e,f){if(arguments.length>1&&(e===null||typeof e!=="object")){f=jQuery.extend({},f);if(e===null)f.expires=-1;if(typeof f.expires==="number"){var d=f.expires,l=f.expires=new Date;l.setDate(l.getDate()+d)}return document.cookie=[encodeURIComponent(b),"=",f.raw?String(e):encodeURIComponent(String(e)),f.expires?"; expires="+f.expires.toUTCString():"",f.path?"; path="+f.path:"",f.domain?"; domain="+f.domain:"",f.secure?"; secure":""].join("")}f=e||{};l=f.raw?function(c){return c}: decodeURIComponent;return(d=RegExp("(?:^|; )"+encodeURIComponent(b)+"=([^;]*)").exec(document.cookie))?l(d[1]):null};
