$(document).ready(function(e){"use strict";function t(){setTimeout(n,5e3)}function n(){window.$("#leaderboardPlacement").css({position:"inherit","z-index":"99",margin:"0 auto",width:"100%","margin-top":"0px","background-color":"transparent"})}function i(){window.$("#leaderboardPlacement").css({position:"fixed","z-index":"99",margin:"0 auto",width:"980px","margin-top":"-163px",height:"110px","background-color":"#ccc"})}function o(){setTimeout(a,5e3)}function a(){window.$(".whatIsHeader").css({position:"inherit","z-index":"9999999",margin:"0 auto",width:"100%","margin-top":"0px"})}function s(){window.$(".whatIsHeader").css({position:"fixed","z-index":"9999999",margin:"0 auto",width:"100%","margin-top":"0px"})}switch(function(e,t,n){e.pageUrl=t('link[rel="canonical"]').attr("href")||window.location.href,e.siteName=window.SITE_name,e.bodyId=document.body.id+"",e.articleTitle=t("#headline").find("h1").text()||document.title,e.userAgent=window.navigator.userAgent,e.language=t("html").attr("lang")||"en",e.gaAccountID=window.SITE_gaAccountID||"",e.lightboxOpacity="0.50",e.getShortUrl=function(i,o){var a={requestUrl:"http://api.bit.ly/v3/shorten",login:"uxtechtarget",key:"R_3711c9f9013670f25d70b047c8deb6f2"},s=function(e){return typeof o!="function"?e:(o.call(this,e),n)},r=t.ajax({url:a.requestUrl,contentType:"application/x-www-form-urlencoded",dataType:"jsonp",async:!1,data:{login:a.login,apiKey:a.key,longUrl:i}});r.done(function(t){t.status_txt==="OK"?s(t.data.url):(e.log("bit.ly API log: "+t.status_txt),s(i))}),r.fail(function(t,n){e.log("Couldn't connect to url shortening service: "+t+n),s(i)})},e.getRecaptcha=function(n,i,o,a){var s={script:"http://www.google.com/recaptcha/api/js/recaptcha_ajax.js",key:"6LeNJAQAAAAAALNfHl-1afGZI24Gn-xsuS48kTKE"},r=t.ajax({url:s.script,dataType:"script"});r.done(function(){typeof Recaptcha!="undefined"&&Recaptcha.create(s.key,n,{tabindex:i||0,theme:o||"red",callback:a||"",lang:e.language})})},e.mailTo=function(e){var t={to:e.to,subject:e.subject,body:e.body},n="mailto:"+t.to+"?subject="+encodeURIComponent(t.subject)+"&body="+encodeURIComponent(t.body);window.location.href=n},e.generateEditorEmailAddress=function(){var t="editor",n=e.siteName,i=".com",o=/\UK|IN|ES|AU$/g;return n=n.replace(o,function(e){switch(e){case"UK":i=".co.uk";break;case"IN":i=".in";break;case"AU":i=".com.au";break;case"ES":i=".es"}return""}),t+"@"+n.toLowerCase()+i},e.getUrlParams=function(){var e,t,i={};e=window.location.search.substring(1).split("&");for(var o=0;e.length>o;o++)e[o]!==""&&(t=e[o].split("="),i[t[0]]=t[1]!==n&&t[1].length>0?decodeURIComponent(t[1]).replace(/(\+)/g," "):!0);return i},e.isAssumedUs=function(){function e(){var e=t();return Math.floor(e+436)}function t(){var e=new Date,t=new Date(e.getFullYear(),0,1),n=new Date(e.getFullYear(),6,1),i=Math.max(t.getTimezoneOffset()/60,n.getTimezoneOffset()/60);return-i}function n(){var e=window.navigator.language||window.navigator.userLanguage;return e!==null&&e.match(/en-US/i)!==null}var i=e();return n()&&i>=426&&431>=i},e.getReferrerKeywords=function(){function e(e){var t=document.cookie,n=t.indexOf(e+"=");if(n!==-1){var i=n+e.length+1,o=t.indexOf(";",i);return o===-1&&(o=t.length),t.substring(i,o)}return""}var t=e("referrer");if(t!==""){t=decodeURIComponent(t);var n,i=decodeURIComponent(document.referrer),o=/referrer(.*);key/g,a=/keyword(.*);asrc/g,s=o.exec(t)[1]||"";return i===s?(n=decodeURIComponent(a.exec(t)[1]||""),n=n.replace(/\+/g," ")):null}return null},e.log=function(i,o){if(e.getUrlParams().molog===!0){var a=t("
",{id:"moLogClose"}).bind("click",function(){window.location.assign(window.location.pathname)}),s=t("#moLog");s.length||(s=t("
",{id:"moLog",html:""}).append(a).appendTo("body")),i===n&&(i="Everything is ok..."),o===n&&(o="default"),s.find("ul").append(''+i+" ")}else{if(!window.console||!console.dir)return;console.dir(i)}},e.stash={set:function(t,i){if(window.localStorage!==n&&window.JSON!==n){typeof i=="object"&&(i=JSON.stringify(i));try{localStorage.setItem(t,i)}catch(o){o==="QUOTA_EXCEEDED_ERR"&&e.log("storage quota exceeded")}}},get:function(e){if(window.localStorage!==n){var t=localStorage.getItem(e);try{t=JSON.parse(t)}catch(i){}finally{return t}}},flush:function(e){window.localStorage!==n&&localStorage.removeItem(e)}},e.changeTextSize=function(i){var o=t("#articleBody"),a=o.data("originalTextSize");a===n&&(a="16px");var s,r=parseFloat(a),l=a.slice(-2);switch(t(".activeSize").removeClass("activeSize"),i){case 0:t("#contentTools-textSizeSmall").addClass("activeSize"),s=r,e.saveUi({textSize:0});break;case 1:t("#contentTools-textSizeMedium").addClass("activeSize"),s=r*1.25,e.saveUi({textSize:1});break;case 2:t("#contentTools-textSizeLarge").addClass("activeSize"),s=r*1.5,e.saveUi({textSize:2})}o.css("font-size",s+l)},e.saveUi=function(n){var i={textSize:0};t.extend(i,n),e.stash.set("uiObj",i)},e.getString=function(t,i){var o={en:{a_few_seconds_ago:"A few seconds ago",a_minute_ago:"A minute ago",ask_a_question:"Ask a question",ask_the_expert:"Ask the Expert",be_the_first_to_tell_us_what_you_think:"Be the first to tell us what you think.",click_to_read_more:"Click to read more",close_all:"Close all",comment_report:"COMMENT REPORT",download:"Download",email_address:"Email Address",hours_ago:"### hours ago",just_now:"Just now",latest_twitter_posts:"Latest Twitter posts",minutes_ago:"### minutes ago",next:"Next",one_day_ago:"One day ago",one_hour_ago:"One hour ago",open_all:"Open all",open_all_topics:"Open all topics",please_add_a_comment:"Please add a comment.",please_enter_the_words_in_the_recaptcha:"Please enter the words in the recaptcha.",previous:"Previous",report:"Report",search:"SEARCH",search_thousands_of_tech_definitions:"Search thousands of tech definitions...",submit:"Submit",thank_you_for_your_question_confirm_html:'Thank you for your question. We will submit your question to our experts. If they are able to answer, it will be posted on our Expert Answers page .
You can also ask your peers at ITKnowledgeExchange .
',the_recaptcha_code_was_incorrect:"The recaptcha code you entered was incorrect. Please try again.",there_are_currently_no_responses:"There are currently no responses.",this_service_is_currently_unavailable:"This service is currently unavailable. Please try again later.",to_view_this_comment_visit:"To view this comment, visit",user_has_been_flagged_on:"has been flagged on",via:"via",view_comments:"View Comments",view_profile:"View Profile",your_post_has_been_rejected:"Your post has been rejected."},es:{a_few_seconds_ago:"Hace unos segundos",a_minute_ago:"Hace un minuto",ask_a_question:"Haz una pregunta",ask_the_expert:"Pregúntale al Experto",be_the_first_to_tell_us_what_you_think:"Sea el/la primero/a en dar su opinión.",click_to_read_more:"Haga clic para leer más",close_all:"Cerrar todos",comment_report:"INFORME DE COMENTARIO",download:"DESCARGAR AHORA",email_address:"Correo electrónico",hours_ago:"Hace ### horas",just_now:"Justo ahora",latest_twitter_posts:"Últimos posts en Twitter",minutes_ago:"hace ### minutos",next:"Siguiente",one_day_ago:"Hace un día",one_hour_ago:"Hace una hora",open_all:"Abrir todos",open_all_topics:"Abrir todos temas",please_add_a_comment:"Por favor, añada su comentario.",please_enter_the_words_in_the_recaptcha:"Por favor, escriba las palabras en el recaptcha.",previous:"Anterior",report:"Reporte",search:"BUSCAR",search_thousands_of_tech_definitions:"Busque miles de definiciones técnicas...",submit:"Enviar",thank_you_for_your_question_confirm_html:'Gracias por su pregunta. Remitimos su pregunta a nuestros expertos. Si tienen una respuesta, se publicará en la sección Respuestas de nuestros Expertos.
También puede preguntar a otros colegas en .
',the_recaptcha_code_was_incorrect:"El código recaptcha introducido es incorrecto. Inténtelo de nuevo.",there_are_currently_no_responses:"No hay respuestas en este momento.",this_service_is_currently_unavailable:"Este servicio está actualmente indisponible. Inténtelo más tarde.",to_view_this_comment_visit:"Para ver este comentario, visite",user_has_been_flagged_on:"ha sido marcado en",via:"a través de",view_comments:"Ver comentarios",view_profile:"Ver perfil",your_post_has_been_rejected:"Su post ha sido rechazado."},de:{a_few_seconds_ago:"Vor einigen Sekunden",a_minute_ago:"Vor einer Minute",ask_a_question:"Stellen Sie eine Frage",ask_the_expert:"Fragen Sie den Experten",be_the_first_to_tell_us_what_you_think:"Teilen Sie uns Ihre Meinung als Erster mit",click_to_read_more:"Klicken Sie hier um mehr zu lesen",close_all:"Alle schließen",comment_report:"REPORT KOMMENTIEREN",download:"Download",email_address:"E-Mail-Adresse",hours_ago:"### Vor Stunden",just_now:"Soeben",latest_twitter_posts:"Neuster Twitter Beitrag",minutes_ago:"### Vor Minuten",next:"Nächste",one_day_ago:"Vor einem Tag ",one_hour_ago:"Vor einer Stunde",open_all:"Alle öffnen",open_all_topics:"Alle Themen öffnen",please_add_a_comment:"Bitte fügen Sie ein Kommentar zu",please_enter_the_words_in_the_recaptcha:"Bitte geben Sie das Wort in der Recaptcha ein.",previous:"Vorherig",report:"Report",search:"SUCHEN",search_thousands_of_tech_definitions:"Durchsuchen Sie tausende von technischen Definitionen...",submit:"Abschicken",thank_you_for_your_question_confirm_html:'Vielen Dank für Ihre Frage. Wir werden Ihre Frage an unsere Experten schicken. Wenn diese Ihre Frage beantworten können, wird diese gepostet auf our Expert Answers page . Sie können auch Ihre Peers fragen auf',the_recaptcha_code_was_incorrect:"Den Recaptcha Code, den Sie eingegeben haben, ist ungültig.Bitte vesuchen Sie es noch mal. ",there_are_currently_no_responses:"Derzeit gibt es keine Antworten.",this_service_is_currently_unavailable:"Dieser Service ist zur Zeit nicht verfügbar. Bitte versuchen Sie es später noch mal. ",to_view_this_comment_visit:"Um die Kommentare zu sehen, besuchen Sie",user_has_been_flagged_on:"wurde markiert",via:"via",view_comments:"Kommentare ansehen",view_profile:"Profil ansehen",your_post_has_been_rejected:"Ihr Beitrag wurde abgelehnt."},fr:{a_few_seconds_ago:"Il y a quelques secondes",a_minute_ago:"Il y a une minute",ask_a_question:"Posez une question",ask_the_expert:"Demandez à l'expert",be_the_first_to_tell_us_what_you_think:"Commenter maintenant.",click_to_read_more:"Cliquez pour lire la suite",close_all:"Tout fermer",comment_report:"COMMENTER",download:"Télécharger",email_address:"Adresse e-mail",hours_ago:"Il y a ### heures",just_now:"A l'instant",latest_twitter_posts:"Derniers tweets",minutes_ago:"Il y a ### minutes",next:"Suivant",one_day_ago:"Il y a un jour",one_hour_ago:"Il y a une heure",open_all:"Tout ouvrir",open_all_topics:"Développer tous les sujets",please_add_a_comment:"Ajoutez votre commentaire",please_enter_the_words_in_the_recaptcha:"Veuillez indiquer les mots indiquez dans l'image.",previous:"Précédent",report:"Signaler",search:"RECHERCHER",search_thousands_of_tech_definitions:"Chercher parmi des milliers de définitions techniques...",submit:"Envoyer",thank_you_for_your_question_confirm_html:'
Merci pour votre question. Nous allons soumettre votre question à nos experts. S\'ils sont en mesure de formuler une réponse, celle-ci sera publiée sur la page Réponses des experts .
Vous pouvez également solliciter vos pairs sur ITKnowledgeExchange .
',the_recaptcha_code_was_incorrect:"Le code que vous avez indiqué est erroné. Veuillez essayer à nouveau.",there_are_currently_no_responses:"Soyez le premier à réagir.",this_service_is_currently_unavailable:"Ce service est temporairement indisponible. Veuillez réessayer ultérieurement.",to_view_this_comment_visit:"Pour voir ce commentaire, consultez ",user_has_been_flagged_on:"a été marqué sur",via:"via",view_comments:"Voir les commentaires",view_profile:"Voir le profil",your_post_has_been_rejected:"Votre message a été rejeté."},pt:{a_few_seconds_ago:"A few seconds ago",a_minute_ago:"A minute ago",ask_a_question:"Ask a question",ask_the_expert:"Ask the Expert",be_the_first_to_tell_us_what_you_think:"Be the first to tell us what you think.",click_to_read_more:"Click to read more",close_all:"Close all",comment_report:"COMMENT REPORT",download:"Download",email_address:"Email Address",hours_ago:"### hours ago",just_now:"Just now",latest_twitter_posts:"Latest Twitter posts",minutes_ago:"### minutes ago",next:"Next",one_day_ago:"One day ago",one_hour_ago:"One hour ago",open_all:"Open all",open_all_topics:"Open all topics",please_add_a_comment:"Please add a comment.",please_enter_the_words_in_the_recaptcha:"Please enter the words in the recaptcha.",previous:"Previous",report:"Report",search:"PESQUISA",search_thousands_of_tech_definitions:"Search thousands of tech definitions...",submit:"Submit",thank_you_for_your_question_confirm_html:'Thank you for your question. We will submit your question to our experts. If they are able to answer, it will be posted on our Expert Answers page .
You can also ask your peers at ITKnowledgeExchange .
',the_recaptcha_code_was_incorrect:"The recaptcha code you entered was incorrect. Please try again.",there_are_currently_no_responses:"There are currently no responses.",this_service_is_currently_unavailable:"This service is currently unavailable. Please try again later.",to_view_this_comment_visit:"To view this comment, visit",user_has_been_flagged_on:"has been flagged on",via:"via",view_comments:"View Comments",view_profile:"View Profile",your_post_has_been_rejected:"Your post has been rejected."},zh:{a_few_seconds_ago:"A few seconds ago",a_minute_ago:"A minute ago",ask_a_question:"Ask a question",ask_the_expert:"Ask the Expert",be_the_first_to_tell_us_what_you_think:"Be the first to tell us what you think.",click_to_read_more:"Click to read more",close_all:"Close all",comment_report:"COMMENT REPORT",download:"Download",email_address:"Email Address",hours_ago:"### hours ago",just_now:"Just now",latest_twitter_posts:"Latest Twitter posts",minutes_ago:"### minutes ago",next:"Next",one_day_ago:"One day ago",one_hour_ago:"One hour ago",open_all:"Open all",open_all_topics:"Open all topics",please_add_a_comment:"Please add a comment.",please_enter_the_words_in_the_recaptcha:"Please enter the words in the recaptcha.",previous:"Previous",report:"Report",search:"SEARCH",search_thousands_of_tech_definitions:"Search thousands of tech definitions...",submit:"Submit",thank_you_for_your_question_confirm_html:'Thank you for your question. We will submit your question to our experts. If they are able to answer, it will be posted on our Expert Answers page .
You can also ask your peers at ITKnowledgeExchange .
',the_recaptcha_code_was_incorrect:"The recaptcha code you entered was incorrect. Please try again.",there_are_currently_no_responses:"There are currently no responses.",this_service_is_currently_unavailable:"This service is currently unavailable. Please try again later.",to_view_this_comment_visit:"To view this comment, visit",user_has_been_flagged_on:"has been flagged on",via:"via",view_comments:"View Comments",view_profile:"View Profile",your_post_has_been_rejected:"Your post has been rejected."}};return typeof i!==n?o[e.language][t].replace("###",i):o[e.language][t]}}(window.mo=window.mo||{},jQuery),mo.bodyId){case"sdef":e("#relatedContent").addClass("open");break;case"topicLeaf":e(".leadStory").prependTo("#articleBody");break;case"topics":e(".parentTopicHighlights").prependTo(".parentTopicSection").show();break;case"news":var r=e(".listTypeArchive");r.length>1&&r.eq(0).hide().children("li").prependTo("#articleBody .listTypeArchive")}(function(){var t=e("#guideToc");if(t.length){var n,i,o="",a=e(".articleSection").find("h2");a.each(function(){n=e(this),i=n.closest(".articleSection"),o+=''+n.text()+" ",i.addClass("visibleSection")}),o.length&&t.show().children(".listTypeToc").empty().html(o)}})(),e("#headerTechtargetLogo").on("click",function(e){e.preventDefault();var t=window.networkPopupURL||"";t&&window.open(t)}),e("#disqus_thread").length&&e("#adPsl, .pageNav").appendTo("#article"),function(){var t=e(".mmContentSponsoredNews"),n=t.parent("li"),i=t.children("li").addClass("mmSponsoredNews").detach();i.splice(0,Math.floor(i.length/2)),i.insertAfter(n.prev("li").find("ul > li:last-child")),n.remove()}();var l=!0;window.$(window).scroll(function(){l?155>window.$(this).scrollTop()||(i(),t(),l=!1):window.$(this).scrollTop()>155||n()});var c=!0;if(window.$(window).scroll(function(){c?0>window.$(this).scrollTop()||(s(),o(),c=!1):window.$(this).scrollTop()>0||a()}),e(".megaMenu").megaMenu({showDropDownArrows:!1,navLinkPadding:0}),e(".tooltipText").toolTips(),e("#siteArchiveList").bureau(),e("#siteTopicList").bureau({showToggleAllButton:!0,showToggleAllButtonText:mo.getString("open_all_topics")}),e("#researchTechTerms").bureau(),e(".carousel").each(function(){var t=e(this).find(".listTypeCarousel li");t.length>1&&e(this).carousel({navigation:!1,pagination:!0,autoPlay:!0,autoPlaySpeed:1e4})}),mo.bodyId!=="HPCI2"&&e(".filmstrip").filmstrip(),e(".sliderStory").glider({controls:!0,storySummary:!0}),e(".sliderPhoto").glider({controls:!0,itemsToShow:7,showCurrent:!0}),e(".sliderVideo").glider({controls:!0,playIcon:!0}),e(".leadStoryTypeText").leadStory({type:"text",autoPlay:!0,autoPlaySpeed:1e4}),e(".leadStoryTypeInteractive").leadStory({type:"interactive",autoPlay:!0,autoPlaySpeed:1e4,stageSpeed:500,mouseEvent:"click",tracer:!0}),e(".figResizeable").graphicResizer({showToggle:!0,resizeSpeed:600,mouseEvent:"click"}),e("#showMoreRelatedContent").expandorama({hiddenContent:"#relatedContentHide",callback:function(){e("#relatedContentHide").find(".articleColumns > ul").uniformHeights()},iconHtml:" "}),e("#articleHeaderHiddenPanelButton").expandorama({hiddenContent:"#articleHeaderHiddenPanel"}),e("#articleTocHiddenPanelButton").expandorama({hiddenContent:"#articleTocHiddenPanel"}),e("#articleListHiddenPanelButton").expandorama({hiddenContent:"#articleListHiddenPanel"}),e("#articleRegHiddenPanelButton").expandorama({hiddenContent:"#articleRegHiddenPanel"}),e("#showMoreBlogroll").expandorama({hiddenContent:"#blogrollHidden",iconHtml:" "}),e("#relatedSitesNav").tabList({callback:function(){e("#relatedSitesHeadlines").find(".rshCols").uniformHeights()},tabContent:e("#relatedSitesHeadlines").children("li")}),e("#ezinePreviousIssuesNav").tabList({callback:function(){e("#ezinePreviousIssuesContent").find(".listTypeEzineIssues").uniformHeights()},tabContent:e("#ezinePreviousIssuesContent").children("li")}),e("#rssFilter").tabList({tabContent:e("#rssList").children("div")}),e("#contributorTabsNav").tabList({tabContent:e("#contributorTabsContent").children("li")}),e("#ebooksTabsNav").tabList({callback:function(){e("#ebooksTabsContent").find(".listTypeEzineIssues").uniformHeights()},tabContent:e("#ebooksTabsContent").children("li")}),e("#ebooksTabsNav > li").each(function(){var t=e(this).height()/2;e(this).find("a span").css({"margin-top":t-18})}),e("#findTechBrowseTopicNav").tabList({tabContent:e("#findTechBrowseTopicContent").children("li"),autoPlay:!1,autoPlaySpeed:1e4}),e("#overviewTechTabsNav").tabList({tabContent:e("#overviewTechTabsContent").children("li")}),e("#ttSitesFilter").tabList({tabContent:e("#ttSitesList").children("div")}),e("#portalTopicsFilter").tabList({tabContent:e("#portalTopicsList").children("div")}),mo.bodyId==="topicLeaf"&&e("#topicsFilter").tabList({tabContent:e("#topicsList").children("div")}),mo.bodyId==="topicListing"&&e("#topicsFilterTab-"+mo.getUrlParams().bucketCode).addClass("selected").append(" "),e(".downloadIssueFormEmailAddress, #getEmailUpdatesEmailAddress, .premiumContentPromoTextbox, .emailOptinFormEmailAddress, .mlOptinFormEmailAddress").textboxValueizer(mo.getString("email_address")),window.ttUser===1&&e(".emailOptin, #mlEmailAlerts, #sidebar #emailUpdates, .downloadEzine, .downloadEzineLogin").hide(),e(".mlOptin").hide(),e(".mlOptinOpen").on("click",function(){e(".mlOptin").slideToggle()}),e(".mlOptinClose").on("click",function(){e(".mlOptin").slideUp()}),e(".openInNewWindow").on("click",function(e){e.preventDefault(),window.open(this.href)}),e("a.consentWindow").click(function(e){window.open(this.href,"Consent","width=500,height=600,scrollbars=1"),e.preventDefault()}),e("#inlineRegistration").on("click","a.consentWindow",function(e){window.open(this.href,"Consent","width=500,height=600,scrollbars=1"),e.preventDefault()}),e(".podcastdownload").length&&e.getScript("http://cdn.ttgtmedia.com/rms/ux/javascript/mediaelement-and-player.min.js",function(){e("audio").mediaelementplayer({pluginPath:"http://cdn.ttgtmedia.com/rms/ux/flash/"})}),e("#articleHeader #headline h1 img").length){var d=e("#articleHeader #headline h1 img").attr("src");e("#articleHeader #headline h1").css({"background-image":"url("+d+")","background-repeat":"no-repeat","margin-bottom":"0","max-height":"65px","max-width":"600px","text-indent":"-9999px"}),e("#articleHeader #headline h1 img").remove()}if(e(".myclass .parentTopicHomepage img").length){var u=e(".myclass .parentTopicHomepage img").attr("src");e(".myclass .parentTopicHomepage").css({"background-image":"url("+u+")","background-repeat":"no-repeat","background-position":"10px 10px",height:"85px","margin-bottom":"0","max-height":"85px","max-width":"638px",padding:"0","text-indent":"-9999px",width:"638px"}),e(".myclass .parentTopicHomepage img").remove()}e(".getVideoThumbnail").getVideoThumbnail(),e(".figModal").find("> a").on("click",function(t){t.preventDefault();var n=e(this),i=n.next(".figCaption").text();i=e.trim(i),i.length>0&&(i=""+i+"
"),n.attr("title",i),n.colorbox({photo:!0,maxWidth:"90%",maxHeight:"90%",opacity:mo.lightboxOpacity})}),e("#abstractInfoExpand").click(function(){e(".abstractViewCol2 .abstractInfo .abstractInfoPanel").animate({height:e(".abstractViewCol2 .abstractInfo .abstractInfoPanel .abstractInfoPanelWrapper").height()},"slow"),e(".abstractViewCol2 .abstractInfo .abstractInfoPanel .abstractInfoFader").hide()}),e("#abstractInfoCollapse").click(function(){e(".abstractViewCol2 .abstractInfo .abstractInfoPanel").animate({height:"350px"},"slow"),e(".abstractViewCol2 .abstractInfo .abstractInfoPanel .abstractInfoFader").show()}),e("#abstractInfoToggle a").click(function(){e("#abstractInfoToggle a").toggle()}),e("#abstractInfoExpandLeft").click(function(){e(".abstractRelatedContent .abstractInfo .abstractInfoPanelLeft").animate({height:e(".abstractRelatedContent .abstractInfo .abstractInfoPanelLeft .abstractInfoPanelWrapper").height()},"slow"),e(".abstractRelatedContent .abstractInfo .abstractInfoPanelLeft .abstractInfoFader").hide()}),e("#abstractInfoCollapseLeft").click(function(){e(".abstractRelatedContent .abstractInfo .abstractInfoPanelLeft").animate({height:"350px"},"slow"),e(".abstractRelatedContent .abstractInfo .abstractInfoPanelLeft .abstractInfoFader").show()}),e("#abstractInfoToggleLeft a").click(function(){e("#abstractInfoToggleLeft a").toggle()}),e("#abstractInfoExpandRight").click(function(){e(".abstractRelatedContent .abstractInfo .abstractInfoPanelRight").animate({height:e(".abstractRelatedContent .abstractInfo .abstractInfoPanelRight .abstractInfoPanelWrapper").height()},"slow"),e(".abstractRelatedContent .abstractInfo .abstractInfoPanelRight .abstractInfoFader").hide()}),e("#abstractInfoCollapseRight").click(function(){e(".abstractRelatedContent .abstractInfo .abstractInfoPanelRight").animate({height:"350px"},"slow"),e(".abstractRelatedContent .abstractInfo .abstractInfoPanelRight .abstractInfoFader").show()}),e("#abstractInfoToggleRight a").click(function(){e("#abstractInfoToggleRight a").toggle()});var h=e(".abstractInfo");h.each(function(){var t=e(this),n=t.find(".abstractInfoPanelWrapper");350>n.height()&&(t.find(".abstractInfoFader").hide(),t.find(".abstractInfoTab").hide(),t.find(".abstractInfoPanel, .abstractInfoPanelLeft, .abstractInfoPanelRight").css("height","auto"))});var f=e("img[data-credit]");f.each(function(){var t=e(this),n=e(this).data("credit");e(f).parent(".leadStoryImage").length?e(t).parent().prepend('"):(e(t).wrap('
'),e(""+n+"
").insertAfter(t),e(t).parents(".figResizeable").find(".embiggen").length&&e(t).parent().find("p").hide()),e(t).data("credit-align")=="left"&&e(t).parent().find("p").css("float","left")});var p=function(){var e=mo.getReferrerKeywords();if(e===null){if(mo.siteName==="WhatIs"){var t=mo.getUrlParams();return t.q!==void 0?t.q:"Search our IT encyclopedia..."}return mo.getString("search")}return e};e("#headerNavigationSearchTextbox, #footerNavigationSearchTextbox").textboxValueizer(p()),e("#findTechSearchTextbox").textboxValueizer("Thousands of Tech definitions..."),e("#siteOverviewSearchTextbox").textboxValueizer("Search thousands of tech definitions..."),function(){var t=mo.stash.get("uiObj");if(t){if(mo.bodyId==="home")return;var n=e("#articleBody");n.data({originalTextSize:n.css("font-size")});var i=t.textSize;switch(i){case 0:break;case 1:mo.changeTextSize(1);break;case 2:mo.changeTextSize(2)}}else mo.saveUi()}(),window.JSON&&JSON.parse||e.ajax({url:"http://cdn.ttgtmedia.com/rms/ux/javascript/json2.min.js",dataType:"script"}),(mo.userAgent.indexOf("MSIE 7")>-1||mo.userAgent.indexOf("MSIE 8")>-1)&&(e(".listTypeCollapsible").each(function(){e(this).find("> li:even").addClass("oddRow")}),e(".imageCredit p").css("width","auto")),mo.userAgent.indexOf("MSIE 7.0")>-1&&(e("#breadcrumbs ul li").not(":first-child").prepend("> "),e(".listTypeTagCloud li").each(function(){e(this).is(":not(:last-child)")&&e(this).css("margin-left","0").append(", ")}))}),$(window).on("load",function(){"use strict";$(".articleColumns > ul").uniformHeights(),$(".articleSectionColumns > ul").uniformHeights(),$(".childTopicColumns > ul").uniformHeights(),$("#relatedSitesHeadlines .rshCols").uniformHeights(),$("#ezinePreviousIssuesContent .listTypeEzineIssues").uniformHeights(),$(".ebooksTabs").uniformHeights(),$(".ebooksTabs .listTypeEzineIssues").uniformHeights(),$(".listTypeFeaturedPremium").uniformHeights(),$(".researchLibraryFilmstrip .listTypeFilmstrip").uniformHeights(),$(".listTypeTocSplit").uniformHeights(),function(){var e=$("#premiumContentPromo");if(e.length){var t=mo.isAssumedUs()?window.promoContentInUs:window.promoContentOutsideUs,n=' '+''+t.copy+"
"+''+mo.getString("download")+"
",i=function(){window.loggedIn===1?e.addClass("loggedIn"):$("#premiumContentPromoContainer_FromURL").val(t.downloadUrl),1024>$(window).width()||e.show()};e.on("promoCopyAdded",i),e.on("mouseenter",function(){$(this).addClass("expanded")}),e.on("mouseleave",function(){e.find(".premiumContentPromoTextbox").is(":focus")||$(this).removeClass("expanded")}),e.find(".premiumContentPromoBody").prepend(n).trigger("promoCopyAdded")}}(),function(){var e=$(".viewRelatedContent");if(e.length){var t="/vgn-ext-templating/techtarget/search/related.json",n=".viewRelatedContentButton",i=".viewRelatedContentList",o="relatedContentList",a=function(e){var t=e.find(i).children("li");return t.length>0?!0:!1},s=function(){var e=$(this);if(!a(e)){var n={defId:e.data("defId")||!1,language:mo.language},i=$.ajax({url:t,type:"GET",contentType:"application/json; charset=utf-8",jsonpCallback:o,dataType:"jsonp",data:n});i.done(function(t){r(t,e)}),i.fail(function(e,t){mo.log("json request failed because: "+t)})}},r=function(e,t){var n=t.find(i);n.append(l(e))},l=function(e){var t,n,i,o,a,s="";return $.each(e.related,function(){t=this.url,n=this.title,i=this.summary,o=this.typeLabel,a=this.site,s+=''+n+" "+""+i+''+o+" | "+a+"
"}),s};e.hideAndSeek(n,i,"displayRelatedContent").on("displayRelatedContent",s)}}(),function(){var e=$("#comments");if(e.length){var t=e.find("#commentsList"),n=!1,i=0,o='",a="commentList",s={commentList:"/vgn-ext-templating/techtarget/comments/list.json",commentPost:"/vgn-ext-templating/techtarget/comments/add.json",pollPost:"/vgn-ext-templating/techtarget/comments/poll/submit.json"},r={reference_id:e.data("commentReferenceId")||!1,forumId:e.data("commentForumId")||!1,url:e.data("commentUrl")||!1},l={},c=e.find("#commentsModal"),d=c.find("#commentsModalForm"),u=d.find("#commentsModalFormMessage"),h=d.find("#commentsModalFormRecaptcha"),f=c.find("#commentsModalMessaging"),p=f.html(),m={noComment:mo.getString("please_add_a_comment"),noRecaptcha:mo.getString("please_enter_the_words_in_the_recaptcha"),recaptchaFail:mo.getString("the_recaptcha_code_was_incorrect"),serviceUnavailable:mo.getString("this_service_is_currently_unavailable"),postRejected:mo.getString("your_post_has_been_rejected")},g=!1,_=!1,w=$("#commentsPollResults"),v=$('
'),y=function(){var e=$("#commentsCol1, #commentsCol2"),t=0;e.each(function(){t=$(this).height()>t?$(this).height():t}),e.css("min-height",t)};if(!r.reference_id||!r.forumId||!r.url)return e.hide(),mo.log("error: data attributes missing from #comments? OR possible duplicate #comments ids on page?");(function(){var t=$.ajax({url:s.commentList,type:"GET",contentType:"application/json; charset=utf-8",jsonpCallback:a,dataType:"jsonp",data:r});t.done(function(e){l=e,b(l),D(l)}),t.fail(function(e,t){mo.log("Comments json request failed because: "+e+t),b()}),e.show()})();var b=function(e){e!==void 0?e.hasOwnProperty("comments")&&e.comments!==""?(n===!1&&(n=!0,t.empty()),t.prepend(x(e)).trigger("commentsLoaded",i),y()):t.prepend(o):t.prepend(o)},x=function(e){var n,o,a,s,r,l,c,d="",u=$.makeArray(e.comments);return $.each(u,function(){if(i++,n=this.user,o=T(this.message),a=this.source,s=this.sourceUrl,r=moment(this.postDate),l=r.format("D MMM YYYY"),c=r.format("h:mm A z"),n==="Post"){var e="";e=t.find(".commentUsername")[0],e=e.innerText||e.textContent,e=e.replace("Post ",""),e=Number(e)+1,isNaN(e)&&(e=""),n=n+" "+(e+"")}var u=a!==null?'":"";d+=''+o+u+"
"}),d},T=function(e){return e.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\n/g," ")},C=function(){var e=d.find("#recaptcha_response_field");if($.trim(u.val())==="")S("noComment");else{if($.trim(e.val())!=="")return!0;S("noRecaptcha")}},k=function(e){e.attr("disabled")?e.attr("disabled",!1):e.attr("disabled",!0)},S=function(e){e.reset?f.html(p):f.fadeOut("fast",function(){f.html(""+m[e]+"
").fadeIn("normal")
})},I=function(e){e.preventDefault();var t=$(this);if(k(t),C()){var n=$.ajax({url:s.commentPost,type:"POST",contentType:"application/x-www-form-urlencoded; charset=UTF-8",data:d.serialize()});n.done(function(e){e.success===!0?(b(e),k(t),$.colorbox.close()):(k(t),S(e.error))}),n.fail(function(e,t){mo.log("Comment post request failed because: "+t)})}else k(t)},M=function(e){e.preventDefault();var t=$(this).siblings(".commentUsername").text(),n={to:mo.generateEditorEmailAddress(),subject:mo.getString("comment_report")+": "+mo.articleTitle,body:t+" "+mo.getString("user_has_been_flagged_on")+" "+mo.articleTitle+".\n\n"+mo.getString("to_view_this_comment_visit")+": "+mo.pageUrl},i="mailto:"+n.to+"?subject="+encodeURIComponent(n.subject)+"&body="+encodeURIComponent(n.body);window.location.href=i},D=function(e){if(e.hasOwnProperty("poll")&&e.poll!==""){if($("#inlineRegistration").length)return;var t=mo.getUrlParams();if(t.pre==="off"||t.intt==="off")return;g=!0,P(l);for(var n=0,i=e.poll.options.length-1;i>=0;i--)n+=e.poll.options[i].count;n>0&&(_=!0,j(l))}},P=function(e){v.append(E(e)).appendTo("body").on("click","#userEngagementClose",A).peekaboo(),$("#userEngagementForm").on("click","label",function(){$("#userEngagementFormSubmit").animate({opacity:.25},100,function(){k($(this))}).animate({opacity:1},100),$("#userEngagementForm").off("click","label")}).on("submit",{showPollResults:!0},function(e){L(e,function(){R(e)}),A()})},E=function(e){var t=e.poll.question,n=e.poll.id,o=$.makeArray(e.poll.options),a="",s="";return $.each(o,function(){s+=' '+this.label+" "}),a+=' "+'"},L=function(e,t){e.preventDefault();var n=$.ajax({url:s.pollPost,type:"POST",data:$("#userEngagementForm").serialize()});n.done(function(n){n.success===!0?(O(n),w.children().clone().appendTo("#commentsModalPollResults"),c.addClass("showPollResults"),t&&typeof t=="function"&&t(e)):mo.log(n.error)}),n.fail(function(e,t){mo.log("Poll post request failed because: "+t)})},A=function(){v.dismiss()},j=function(e){var t=l.poll.question,n=z(e),i=""+t+" "+n;w.html(i).show()},O=function(e){var t=z(e);w.find("img").replaceWith(t)},z=function(e){var t=$.makeArray(e.poll.options),n=[],i=[],o=0;$.each(t,function(){n.push(this.label),i.push(this.count),o+=this.count});var a=function(e,t,n){return Math.round(e/t*100*Math.pow(10,n))/Math.pow(10,n)},s=$.map(n,function(e,t){return e+" ("+a(i[t],o,2)+"%)"}),r={cht:"p",chf:"bg,s,f1f1f100",chs:"196",chd:"t:"+i.join(","),chdl:s.join("|"),chdls:"000000,11",chof:"png",chds:"a",chdlp:"bv"};return' '},R=function(e){e.preventDefault(),h.spin("small"),e.data.showPollResults?c.addClass("showPollResults"):c.removeClass("showPollResults"),$.colorbox({onOpen:function(){mo.getRecaptcha(h[0],2,"white",function(){h.spin(!1)}),u.val("").focus(),c.show()},onCleanup:function(){typeof Recaptcha!="undefined"&&Recaptcha.destroy(),S({reset:!0}),c.hide()},inline:!0,href:"#commentsModal",transition:"none",scrolling:!1,opacity:mo.lightboxOpacity})};e.on("click",".commentsModalOpen",{showPollResults:!1},R).on("click",".commentReport",M),d.on("click","#commentsModalFormSubmit",I)}}(),function(){var e=$("#contributorAskQuestionForm");if(e.length){var t=mo.generateEditorEmailAddress(),n=mo.getString("ask_a_question")+": "+mo.articleTitle,i="/vgn-ext-templating/techtarget/email/post.json",o={emailType:"SIMPLE_TEXT",fromAddress:{emailId:null},toAddresses:[{emailId:t}],emailSubject:n,emailTextBody:""},a=e.find("#contributorAskQuestionFormMessage"),s=mo.getString("thank_you_for_your_question_confirm_html"),r=function(e){e.preventDefault(),o.emailTextBody=a.val();var t=$.ajax({url:i,type:"POST",contentType:"application/json; charset=utf-8",data:JSON.stringify(o)});t.done(function(e){e.success===!0?$("#contributorTabAsk").empty().html(s):mo.log(e.emailStatusMsg)}),t.fail(function(e,t){mo.log("Poll post request failed because: "+t)})};e.on("click","#contributorAskQuestionFormSubmit",r)}}(),function(){var e=$("#contributorTabFollow").find(".socialMediaFollow-twitter");if(e.length){var t=$("
",{id:"contributorTweets",html:""+mo.getString("latest_twitter_posts")+": "}),n=e.attr("href").replace(/https?:\/\/(www\.)?twitter\.com\/(#!\/)?@?/g,"").replace(/\/[a-z]*/gi,"");t.tweety({twitterHandle:n,numberOfTweets:10}),$(".listTypeContributorFollow").after(t)}}(),function(){$("#askExpertQuestionButton").on("click",function(e){e.preventDefault();var t={to:mo.generateEditorEmailAddress(),subject:mo.getString("ask_the_expert"),body:""};mo.mailTo(t)})}(),function(){var e=$("#contentTools");if(e.length){$("#contentTools-commentCount, .contentTools-comments").find("span").text(function(){var e=$(this);$("#commentsList").on("commentsLoaded",function(t,n){n>0&&e.text(n)})}),$("#contentTools-print").find("a").on("click",function(e){e.preventDefault(),window.open(this.href)});var t=$(".textSizer");t.on("click",function(e){e.preventDefault();var t=$(this).parent("li"),n=t.attr("id");if(!t.hasClass("activeSize"))switch(n){case"contentTools-textSizeSmall":mo.changeTextSize(0);break;case"contentTools-textSizeMedium":mo.changeTextSize(1);break;case"contentTools-textSizeLarge":mo.changeTextSize(2)}}).show(),$("#contentTools-email").on("click",function(e){e.preventDefault();var t="http://api.addthis.com/oexchange/0.8/forward/email/offer?",n={en:"TechTargetSearchSites",es:"TechTargetSearchSitesSpanish"},i={pubid:"uxtechtarget",url:window.location.href,title:document.title,email_template:n[mo.language],ct:1};return window.open(t+$.param(i),"EmailAFriend","width=540,height=770"),!1}),$("body").prepend("");var n=$("#socialMedia-addThis");if(n.length){var i=document.getElementById("socialMedia-addThis").childNodes[0],o="https://s7.addthis.com/js/300/addthis_widget.js",a={},s={pubid:"uxtechtarget",async:!0,domready:!0,data_track_clickback:!0,data_ga_tracker:"UA-18475716-1"};$.ajax({url:o,cache:!0,dataType:"script"}).done(function(){typeof addthis!="undefined"&&(addthis.button(i,s,a),addthis.init(),n.show())})}var r=$("#socialMedia-plusoneButton");if(r.length){var l=document.getElementById("socialMedia-plusoneButton").childNodes[0],c="https://apis.google.com/js/plusone.js",d={size:"medium",annotation:"bubble",expandTo:"top"};$.ajax({url:c,cache:!0,dataType:"script"}).done(function(){typeof gapi!="undefined"&&gapi.plusone.render(l,d)})}var u=$("#socialMedia-tweetButton");if(u.length){var h=document.title;h.length>90&&(h=h.substring(0,90)+"..."),$("a",u).attr({"data-related":u.attr("data-related"),"data-text":h,"data-url":mo.pageUrl,"data-via":u.attr("data-account")})}window.twttr=function(e,t,n){var i,o=e.getElementsByTagName(t)[0],a=window.twttr||{};if(!e.getElementById(n))return i=e.createElement(t),i.id=n,i.src="https://platform.twitter.com/widgets.js",o.parentNode.insertBefore(i,o),a._e=[],a.ready=function(e){a._e.push(e)},a}(document,"script","twitter-wjs");var f=function(e){e&&_gaq.push(["_trackSocial","twitter","tweet",window.location.href])};twttr.ready(function(e){e.events.bind("tweet",f)});var p=$("#socialMedia-facebookLike");if(p.length){var m=$("
",{"class":"fb-like","data-href":encodeURI(window.location.href),"data-send":"false","data-layout":"button_count","data-width":"90","data-show-faces":"false"});p.append(m)}var g=window.location.href.split("/"),_=g[0]+"//"+g[2]+"/vgn-ext-templating/html/fbChannel.html";$("body").prepend('
");var w=$("#socialMedia-linkedInButton");if(w.length){var v=$("",{type:"IN/Share","data-url":window.location.href,"data-counter":"right"}),y="https://platform.linkedin.com/in.js";$.ajax({url:y,dataType:"script"}),w.append(v)}$("#socialMedia-linkedin a, #socialMedia-facebook a, #socialMedia-twitter a, #socialMedia-google a").on("click",function(e){e.preventDefault();var t=$(this).parent().attr("id");mo.getShortUrl(mo.pageUrl,function(e){var n=encodeURIComponent(e),i=encodeURIComponent(mo.articleTitle),o="https://www.linkedin.com/shareArticle?mini=true&url="+n+"&title="+i,a="https://www.facebook.com/share.php?u="+n+"&t="+i,s="https://plus.google.com/share?url="+n;switch(t){case"socialMedia-linkedin":_gaq.push(["_trackSocial","linkedin","share"]),window.open(o);break;case"socialMedia-facebook":_gaq.push(["_trackSocial","facebook","share"]),window.open(a);break;case"socialMedia-twitter":_gaq.push(["_trackSocial","twitter","tweet"]);var r=$("#socialMedia-twitter").attr("data-account"),l=$("#socialMedia-twitter").attr("data-related"),c="https://twitter.com/intent/tweet?text="+i+"&url="+n+"&via="+r+"&related="+l;window.open(c);break;case"socialMedia-google":_gaq.push(["_trackSocial","google","share"]),window.open(s)}})}),e.show()}}(),function(){var e=$(".socialMediaButtons");e.length&&(e.html(''),typeof addthis=="undefined"&&$.ajax({url:"https://s7.addthis.com/js/300/addthis_widget.js",cache:!0,dataType:"script"}).done(function(){typeof addthis!="undefined"&&addthis.init()}))}(),function(){var e=$(".socialMediaButtons2");e.length&&(e.html(''),typeof addthis=="undefined"&&$.ajax({url:"https://s7.addthis.com/js/300/addthis_widget.js",cache:!0,dataType:"script"}).done(function(){typeof addthis!="undefined"&&addthis.init()}))}()}),function(e){"use strict";e.fn.getVideoThumbnail=function(){var t={apiName:"Brightcove Media API",apiUrl:"http://api.brightcove.com/services/library",apiKey:"G8thULsWpbbOlMthhkzc6qf31MLILp5SuJSSpsFUcP0."},n={command:"find_videos_by_ids",token:t.apiKey,video_ids:"",video_fields:"thumbnailURL"},i=[],o=this.filter(function(){var t=e(this),n=t.data("videoId");if(t.is("img")&&n!==void 0&&n!==""){if((n+"").substr(0,4)!=="http")return i.push(n),t;t.attr("src",n).css("display","block")}});if(i.length>0){var a=function(n){o.map(function(i){n.items[i]!==null?e(this).attr("src",decodeURIComponent(n.items[i].thumbnailURL)).css("display","block"):mo.log(t.apiName+" is returning "+n.items[i]+" for this image ID -> "+e(this).data("videoId"),"error")})};n.video_ids=i+"";var s=e.ajax({url:t.apiUrl,contentType:"application/json; charset=utf-8",dataType:"jsonp",data:n});s.done(function(e){e&&!e.error?a(e):e.error&&mo.log("Error connecting to "+t.apiName+". Error: "+e.error)}),s.fail(function(e,n){mo.log("Error connecting to "+t.apiName+". Status: "+n)})}}}(jQuery),function(e){"use strict";function t(t,o){this.element=t,this.options=e.extend({},i,o),this._defaults=i,this._name=n,this.init()}var n="graphicResizer",i={showToggle:!0,resizeSpeed:500,mouseEvent:"click",callback:function(){}};t.prototype.init=function(){var t,n=this.options,i=e(this.element),o=i.find(".toggleSize"),a=e(' ');n.showToggle&&o.prepend(a),o.on(n.mouseEvent,function(o){o.preventDefault(),t=e(this),t.data("state")==="expanded"?(i.removeClass("figureExpanded").animate({width:t.data("origWidth")+"px"},{duration:n.resizeSpeed,easing:"easeInCubic"},function(){n.callback.call(this)}),a.toggleClass("embiggen smallify"),t.data("state","closed"),e(t).parent().find("p").hide()):(i.addClass("figureExpanded").animate({width:"100%"},{duration:n.resizeSpeed,easing:"easeOutCubic"},function(){n.callback.call(this)}),a.toggleClass("embiggen smallify"),t.data("state","expanded"),t.data("origWidth",t.width()),e(t).parent().find("p").show())})},e.fn[n]=function(i){return this.each(function(){e.data(this,"plugin_"+n)||e.data(this,"plugin_"+n,new t(this,i))})}}(jQuery,window),function(e){"use strict";e.fn.bureau=function(t){var n={showToggleAllButton:!1,showToggleAllButtonText:mo.getString("open_all")},i=e.extend(n,t),o=e(this).find(".listTypeCollapsible"),a=o.find("> li"),s=e(" ",{"class":"drawerKnob"}),r=a.length,l=0,c={open:function(t){var n=e(t);n.each(function(){e(this).find(".listTypeCollapsibleContent").slideDown({duration:250,easing:"easeInCubic",complete:function(){n.addClass("open")}})})},close:function(t){var n=e(t);n.each(function(){e(this).find(".listTypeCollapsibleContent").slideUp({duration:250,easing:"easeInCubic",complete:function(){n.removeClass("open")}})})}},d=e(''+i.showToggleAllButtonText+" "),u=function(t){t.preventDefault();var n=e(this);n.hasClass("allClosed")?(n.removeClass("allClosed").text(mo.getString("close_all")),c.open(n.siblings(".listTypeCollapsible").find("> li").not(".stuck"))):(n.addClass("allClosed").text(i.showToggleAllButtonText),c.close(n.siblings(".listTypeCollapsible").find("> li").not(".stuck")))};a.each(function(){var t=e(this),n=t.find(".listTypeCollapsibleContent").children().size();n?t.append(s.clone()):(l++,t.addClass("stuck"))}),a.on("click",function(t){var n=e(this);n.hasClass("stuck")||(n.hasClass("open")?t.target.className==="drawerKnob"&&(t.preventDefault(),c.close(this)):(t.preventDefault(),c.open(this)))}),i.showToggleAllButton&&r!==l&&(d.insertBefore(o),d.on("click",u))}}(jQuery),function(e){"use strict";e.fn.formHinter=function(){return this.each(function(){var t,n,i,o,a=e(this).children("li").children('input[type="text"]',"textarea");a.each(function(){t=e(this),n=t.prev("label").text(),t.attr("value",n).attr("title",n),t.focus(function(){i=e.trim(e(this).attr("value")),i===e(this).attr("title")&&e(this).attr("value","")}),t.blur(function(){o=e.trim(e(this).attr("value")),o===""&&e(this).attr("value",e(this).attr("title"))})})})}}(jQuery),function(e){"use strict";e.fn.hideAndSeek=function(t,n,i){return this.each(function(){var o=e(this),a=o.find(t),s=o.find(n);a.on("click",function(e){var t=o.hasClass("open");e.preventDefault(),i&&o.trigger(i),t?(o.removeClass("open"),s.hide()):(o.addClass("open"),s.show())})})}}(jQuery),function(e){"use strict";e.fn.megaMenu=function(t){var n={showDropDowns:!0,showDropDownArrows:!0,dropDownDelay:300,navLinkPadding:10},i=e.extend(n,t),o={container:this,navItems:e(".mmNavItem",this),navLinks:e(".mmNavLink",this),navLinkSpace:0,navLinkWidth:0,navLinkWidthTotal:0,navOffset:e("#headerNavigationCompress").offset(),navWidth:e("#headerNavigationCompress").outerWidth(!0),dropDown:e(".mmContentCols",this),dropDownWidth:0,dropDownColWidth:0},a=e(window).width()-20;o.navLinks.each(function(){e(this).parent("li").hasClass("mmNoDropdown")?o.navLinkSpace=Math.round(i.navLinkPadding*.33):e(this).parent("li").hasClass("mmNavItemVendor")?e(this).next(".mmContent").addClass("mmDropDownCentered"):(o.navLinkSpace=i.navLinkPadding,i.showDropDownArrows&&e(this).parent("li").append(' '));var t=e(this).outerWidth(!0);if(t==20){window.console&&window.console.log("Defensive coding megamenu widths");for(var n=e(this).html(),a=n.split(/ ]*>\s?/i),s=0,r=0,l=a.length;l>r;r++)s=Math.max(s,a[r].length);t=Math.ceil(s*6.25+20)}o.navLinkWidth=t+o.navLinkSpace,o.navLinkWidthTotal=o.navLinkWidthTotal+o.navLinkWidth,e(this).parent("li").width(o.navLinkWidth)}),o.navLinks.focus(function(){e(this).parent("li").addClass("mmNavItemFocus")}).blur(function(){e(this).parent("li").removeClass("mmNavItemFocus")}),i.showDropDowns&&(o.navItems.hoverIntent({over:function(){e("#headerNavigation .mmShow , #footerNavigation .mmShow").removeClass("mmShow"),e(this).addClass("mmShow"),e(".makeCols").uniformHeights()},timeout:i.dropDownDelay,out:function(){e(this).removeClass("mmShow")}}),o.dropDown.each(function(){o.dropDownWidth=0,e(this).children("li").each(function(){o.dropDownColWidth=parseInt(e(this).width(),10),isNaN(o.dropDownColWidth)||(o.dropDownWidth+=o.dropDownColWidth+24)});var t=e(this).parent("div");if(t.css("width",o.dropDownWidth>0?o.dropDownWidth+"px":"auto"),t.hasClass("mmDropDownCentered")){var n=(o.navWidth-o.dropDownWidth)/2,i=o.navOffset.left+n;t.offset({left:i})}var s=t.offset().left+o.dropDownWidth;if(s>a){var r=s-a;t.css("left",-r)}var l=e(this).children(".mmColSubcol");if(l.length){var c,d=l.children("ul").children("li");if(d.length===2)l.css("width","375px"),c=e(this).width()-185,e(this).parent("div").width(c+"px");else{if(d.length!==1)return;l.css("width","180px"),c=e(this).width()-375,e(this).parent("div").width(c+"px")}}}))}}(jQuery),function(e){"use strict";e.fn.expandorama=function(t){var n={toggleClass:"clickToClose",showSpeed:400,hideSpeed:400,mouseEvent:"click",hiddenContent:"",iconHtml:"",callback:function(){}},i=e.extend(n,t);return this.each(function(){var n,o=i,a=e(this).find("a"),s=a.attr("data-closeText"),r=e(o.hiddenContent),l=e.trim(r.text()),c=function(){n=a.data("openText"),a.hasClass(o.toggleClass)?(a.removeClass(o.toggleClass).html(n),r.slideUp({duration:o.hideSpeed,easing:"easeOutQuart"})):(n||a.data("openText",a.html()),o.iconHtml&&(s=o.iconHtml+s),a.addClass(o.toggleClass).html(s),r.slideDown({duration:o.showSpeed,easing:"easeOutSine"}))};if(l!==""){if(r.hasClass("open")||r.parent().hasClass("open"))return;if(a.hasClass("hide"))return;a.css("display","inline-block"),a.css("width",a.width()+1),s||(s="Close"),a.on(o.mouseEvent,function(e){e.preventDefault(),c(),t.callback.call(this)})}})}}(jQuery),function(e){"use strict";e.fn.textboxValueizer=function(t){return this.each(function(){var n=e(this);t&&t.length&&(n.attr("value",t),n.focus(function(){var i=e.trim(n.attr("value"));i===t&&n.attr("value","")}),n.blur(function(){var i=e.trim(n.attr("value"));i===""&&n.attr("value",t)}))})}}(jQuery),function(e,t,n){"use strict";e.fn.toolTips=function(){var i,o,a,s,r=e('
').hide().prependTo("body"),l={delay:500,title:"",hasTitle:!0,element:null,position:{top:0,left:0}};this.on({click:function(e){e.preventDefault()},mouseenter:function(c){if(s=e(this).offset(),l.position.top=s.top-3,l.position.left=r.outerWidth()>c.pageX?s.left+16:s.left-(r.outerWidth()+5),l.element=this,i=e(this).attr("data-tooltipId"),e(this).attr("title")!=="")l.hasTitle=!0,l.title=this.title,l.title===""&&(l.title=mo.getString("click_to_read_more")),this.title="";else{if(i===void 0)return l.hasTitle=!1,void 0;l.hasTitle=!1,l.title=e("#"+i).html()}o=t.setTimeout(function(){r.css({top:l.position.top,left:l.position.left}).html(l.title).fadeIn("fast",function(){t.clearTimeout(a),a=t.setTimeout(function(){e(n).trigger("ontooltiphover",[l.element])},1e3)})},l.delay)},mouseleave:function(){r.fadeOut("fast"),t.clearTimeout(o),t.clearTimeout(a),l.hasTitle===!0&&(this.title=l.title)}},this)}}(jQuery,window,document),function(e){"use strict";e.fn.uniformHeights=function(){return e(this).each(function(){var t,n=e(this),i=0;n.children().each(function(){t=e(this).height(),i=t>i?t:i}),n.children().css("min-height",i)})}}(jQuery),function(e){"use strict";e.fn.tabList=function(t){var n={tabContent:"",icon:!0,callback:function(){},mouseEvent:"click",autoPlay:!1,autoPlaySpeed:5e3},i=e.extend(n,t);return this.each(function(){var t,n,o=e(this).children("li"),a=o.length,s=o.children("a"),r=i.tabContent,l=0,c=function(e){d(e),u(e.hash+""),i.callback.call(this)},d=function(t){o.filter(".selected").removeClass("selected"),e(t).parent("li").addClass("selected")},u=function(e){e==="#all"?r.show():r.hide().filter(e).fadeIn("fast")},h=function(){n=setTimeout(function(){f()},i.autoPlaySpeed)},f=function(){a-1>l?l++:l=0,c(s.get(l)),h()};i.autoPlay&&a>1&&h(),s.on(i.mouseEvent,function(e){e.preventDefault(),c(this),i.autoPlay&&(clearTimeout(n),h(),l=s.index(this))}),i.icon&&s.append(" "),o.hasClass("selected")?(t=o.filter(".selected").children("a"),l=s.index(t),u(t.attr("href"))):o.first().addClass("selected")})}}(jQuery),function(e){"use strict";e.fn.leadStory=function(t){var n={type:"static",mouseEvent:"mouseenter",tracer:!1,stageSpeed:300,autoPlay:!0,autoPlaySpeed:3e3},i=e.extend(n,t);return this.each(function(){function t(){s=setTimeout(function(){n()},l.autoPlaySpeed)}function n(){var n;p-1>g?(g++,n=e(".active",c).next("li")):(g=0,n=e("li:first-child",c)),o(n),t()}function o(t){d.children().stop().animate({opacity:"0"},l.stageSpeed,function(){d.empty(),e(".leadStoryInfo",t).clone().appendTo(d),d.children().animate({opacity:"1"},l.stageSpeed)}),h.filter(".active").removeClass("active"),e(t).addClass("active"),l.tracer&&_.getToActive()}function a(e,n){p!==1&&(l.mouseEvent==="click"&&n.preventDefault(),r&&(clearTimeout(s),t()),g=h.index(e),o(e))}var s,r,l=i,c=e(this),d=e(".leadStoryStage",c).empty(),u=e(".listTypeLeadStory",c),h=e("li",u),f=h.eq(0),p=h.length,m=c.attr("data-autoplay"),g=0;if(f.addClass("active"),p===0)return c.css("display","none"),void 0;if(m&&(m>0?(l.autoPlay=!0,l.autoPlaySpeed=m):(l.autoPlay=!1,l.autoPlaySpeed=0)),l.type!=="static"&&(l.type==="text"&&(d.height(c.height()),f.children(".leadStoryInfo").clone().appendTo(d),l.autoPlay&&p>1&&(r=!0,t()),h.on(l.mouseEvent,function(e){a(this,e)})),l.type==="interactive"&&(f.children(".leadStoryInfo").clone().appendTo(d),l.autoPlay&&p>1&&(r=!0,t()),h.on(l.mouseEvent,function(e){a(this,e)})),l.tracer))var _=function(){var t,n,i=e(' '),o=f.outerWidth();c.append(i),h.on("mouseenter",function(){a(e(this))}),u.on("mouseleave",function(){a(h.filter(".active"))});var a=function(e){t=e.position(),n=t.left+(o/2-4)+"",i.stop().animate({left:n},{duration:200,easing:"easeInCubic"})},s=function(){a(h.filter(".active"))};return{getToActive:s}}()})}}(jQuery),function(e,t){"use strict";e.fn.peekaboo=function(){var n,i,o,a=this,s=a.width()+10,r=a.height(),l=e("#sidebar"),c=e("#relatedContent"),d=e("#discussions_v2"),u=e(t);if(l.length&&c.length)n=l.height()+l.offset().top+r,i=c.offset().top,o=Math.max(n,i);else{if(!d.length)return mo.log("No discussions, no sidebar, no relatedContent == no flyOut."),void 0;var h=e(".articleCol2.eGuideCol2").length?e(".articleCol2.eGuideCol2"):l,f=e("#relatedContentTechnical").length?e("#relatedContentTechnical"):h;n=h.height()+h.offset().top,i=f.offset().top,o=Math.max(n,i)}a.css({right:-s}).show(),a.peekIn=function(e){a.stop().animate({right:0},{duration:500,easing:"easeOutCubic",complete:e})},a.peekOut=function(e){a.stop().animate({right:-s},{duration:150,easing:"easeInCubic",complete:e})},a.dismiss=function(){a.peekOut(function(){a.remove()}),clearInterval(a.timer)},a.timer=setInterval(function(){var e=o-u.height();u.scrollTop()>e?a.peekIn():a.peekOut()},500)}}(jQuery,window),function(e){"use strict";e.fn.tweety=function(t){var n={twitterHandle:"SteveMartinToGo",numberOfTweets:3},i=e.extend(n,t),o=e(this),a={url:"https://api.twitter.com/1/statuses/user_timeline.json?",trimUser:!0,excludeReplies:!0,includeEntities:!1},s=function(t){var n='",o.append(n)},r=function(e){var t=e;return t=t.replace(/(\b(https?|ftp|file):\/\/[\-A-Z0-9+&@#\/%?=~_|!:,.;]*[\-A-Z0-9+&@#\/%=~_|])/gi,'$1 ').replace(/([^\w])\@([\w\-]+)/gm,'$1@$2 ').replace(/([^\w])\#([\w\-]+)/gm,'$1#$2 ')},l=function(e){var t=Date.parse(e),n=new Date,i=n.getTime(),o=parseInt((i-t)/1e3,10),a=e.split(" ");return 0>o?!1:o>5?o>20?o>60?3600>o?mo.getString("minutes_ago",parseInt(o/60,10)):o>5400?84600>o?mo.getString("hours_ago",Math.round(o/3600,10)):129600>o?mo.getString("one_day_ago"):a[1]+" "+a[2]+", "+a[5]:mo.getString("one_hour_ago"):mo.getString("a_minute_ago"):mo.getString("a_few_seconds_ago"):mo.getString("just_now")},c=function(t,n){e.ajax({url:a.url+"screen_name="+t+"&count="+n+"&trim_user="+a.trimUser+"&exclude_replies="+a.excludeReplies+"&include_entities="+a.includeEntities,dataType:"jsonp",timeout:5e3,success:function(e){s(e)},error:function(e,t,n){mo.log("textStatus: "+t+", errorThrown: "+n)}})};c(i.twitterHandle,i.numberOfTweets)}}(jQuery),function(e){"use strict";e.fn.carousel=function(t){var n={navigation:!1,pagination:!1,animateHeight:!0,autoPlay:!0,autoPlaySpeed:3e3},i=e.extend(n,t);return this.each(function(){function t(){o=setTimeout(function(){n()},a.autoPlaySpeed)}function n(){h.removeClass("current"),h.eq(d).addClass("current"),l.hide(),l.eq(d).fadeIn(),c>d+1?d+=1:d=0,t()}var o,a=i,s=e(this),r=s.children(".carouselWindow").children(".listTypeCarousel"),l=r.find("> li"),c=l.length,d=0;if(a.pagination){var u,h="";l.each(function(e){h+=''+e+" "}),h=e(h),h.eq(0).addClass("current"),h.on("click",function(t){t.preventDefault(),u=h.index(this),h.removeClass("current"),l.hide(),l.eq(u).fadeIn(),d=u,e(this).addClass("current")}),h.insertAfter(r).wrapAll(''),a.autoPlay&&n()}})}}(jQuery),function(e){"use strict";e.fn.filmstrip=function(t){var n={autoPlay:!1,speed:800,itemClick:function(){}},i=e.extend(n,t);return this.each(function(){function n(){_===1?(y.removeClass("disabled"),v.addClass("disabled")):_===g?(v.removeClass("disabled"),y.addClass("disabled")):(v.removeClass("disabled"),y.removeClass("disabled"))}function o(e){f||(e==="right"&&(f=!0,_++,l.stop().animate({left:"-="+m},{duration:a.speed,easing:"easeOutExpo",complete:function(){f=!1,n()}})),e==="left"&&(f=!0,_--,l.stop().animate({left:"+="+m},{duration:a.speed,easing:"easeOutExpo",complete:function(){f=!1,n()}})))}var a=i,s=e(this),r=s.width(),l=s.children(".filmstripWindow").children(".listTypeFilmstrip"),c=l.find("> li"),d=c.outerWidth(),u=c.size(),h=d*u,f=!1,p=Math.round(r/d),m=p*d,g=Math.ceil(u/p),_=1,w=u>p?!0:!1;if(l.width(h),c.on("click",function(){t.itemClick.call(this)}),w){var v=e("",{"class":"filmstripPrevious disabled",href:"#",title:mo.getString("previous"),text:mo.getString("previous")}),y=e(" ",{"class":"filmstripNext",href:"#",title:mo.getString("next"),text:mo.getString("next")}),b=e("
",{"class":"filmstripNavigation"}).append(v,y).appendTo(s);b.delegate("a","click",function(t){t.preventDefault(),e(this).hasClass("disabled")||(e(this).hasClass("filmstripPrevious")?o("left"):e(this).hasClass("filmstripNext")&&o("right"))})}})}}(jQuery),function(e,t){"use strict";e.fn.glider=function(n){function i(){f.left>r.position().left&&r.css({left:r.position().left+h})}function o(){r.position().left>f.right&&r.css({left:r.position().left-h})}var a={itemsToShow:4,controls:!1,storySummary:!1,showCurrent:!1,playIcon:!1},s=e.extend(a,n),r=this.children("ul"),l=r.children("li"),c=l.outerWidth(!0),d=l.length,u=c*d,h=15,f={left:0,right:-(c*d-r.outerWidth())};if(r.width(u),l.length>s.itemsToShow||(s.controls=!1),s.playIcon&&l.find(".sliderThumbnailImage").append(" "),s.controls){var p,m=e('
'),g=e(' '),_=e(' '),w=30;this.after(m.append(g,_)),g.on({click:function(e){e.preventDefault()},mousedown:function(){p=t.setInterval(i,w)},mouseup:function(){t.clearInterval(p)}}),_.on({click:function(e){e.preventDefault()},mousedown:function(){p=t.setInterval(o,w)},mouseup:function(){t.clearInterval(p)}})}if(s.storySummary){var v,y=l.children("a").children(".sliderThumbnailText").css("top"),b="0",x=400;l.on("mouseover mouseout",function(t){v=e(this).children("a").children(".sliderThumbnailText"),t.type==="mouseover"&&v.stop().animate({top:b},{duration:x,easing:"easeOutQuint"}),t.type==="mouseout"&&v.stop().animate({top:y},{duration:x,easing:"easeInQuint"})})}}}(jQuery,window),/*!
* Compatibility View Warning v1.0 (http://okize.github.com/)
* Copyright (c) 2012 | Licensed under the MIT license - http://www.opensource.org/licenses/mit-license.php
*/
function(e,t){"use strict";var n={inlineCss:!0,closeButton:!0,defaultMsg:'We noticed that you are using Internet Explorer in Compatibility View ? For the best experience, Compatibility View should be turned off. '},i={init:function(){this.isIeCompatibilityMode()&&this.showWarningMessage()},isIeCompatibilityMode:function(){var t=e.navigator.userAgent;return~t.indexOf("MSIE 7.0")?~t.indexOf("Trident/6.0")||~t.indexOf("Trident/5.0")||~t.indexOf("Trident/4.0")?!0:undefined:!1},showWarningMessage:function(){var i=t.getElementsByTagName("body")[0],o=i.firstElementChild||i.children[0],a=t.createElement("div"),s=a.style,r=t.createElement("button"),l=r.style;a.id="compatibilityViewWarning",a.innerHTML=n.defaultMsg,n.closeButton&&(r.id="compatibilityViewWarningClose",r.innerText="X",r.title="Click to dismiss this warning message",r.dismissMsg=function(t){t=t||e.event,t.returnValue=!1,this.removeEventListener?this.removeEventListener("click",r.dismissMsg,!1):this.detachEvent&&this.detachEvent("onclick",r.dismissMsg),i.removeChild(a)},r.addEventListener?r.addEventListener("click",r.dismissMsg,!1):r.attachEvent?r.attachEvent("onclick",r.dismissMsg):r.onclick=r.dismissMsg,a.appendChild(r)),n.inlineCss&&(s.backgroundColor="#ffc",s.border="2px solid #333",s.color="#333",s.margin="0",s.padding="6px 0",s.position="relative",s.textAlign="center",s.width="100%"),n.closeButton&&n.inlineCss&&(l.backgroundColor="#333",l.border="none",l.color="#fff",l.cursor="pointer",l.display="inline",l.fontSize="10px",l.fontWeight="bold",l.height="16px",l.left="5px",l.margin="0",l.padding="0",l.position="absolute",l.textAlign="center",l.top="5px",l.width="16px"),o.parentNode.insertBefore(a,o)}};t.body?i.init():e.addEventListener?e.addEventListener("load",function t(){e.removeEventListener("load",t,!1),i.init()},!1):e.attachEvent("onload",function t(){e.detachEvent("onload",t),i.init()},!1)}(window,window.document),/*!
* Moment.js - Version 1.7.2 - (c) 2012 Tim Wood - http://momentjs.com/
* Moment.js is freely distributable under the terms of the MIT license.
*/
function(e){function t(e,t,n,i){var o=n.lang();return o[e].call?o[e](n,i):o[e][t]}function n(e,t){return function(n){return r(e.call(this,n),t)}}function i(e){return function(t){var n=e.call(this,t);return n+this.lang().ordinal(n)}}function o(e,t,n){this._d=e,this._isUTC=!!t,this._a=e._a||null,this._lang=n||!1}function a(e){var t=this._data={},n=e.years||e.y||0,i=e.months||e.M||0,o=e.weeks||e.w||0,a=e.days||e.d||0,r=e.hours||e.h||0,l=e.minutes||e.m||0,c=e.seconds||e.s||0,d=e.milliseconds||e.ms||0;this._milliseconds=d+c*1e3+l*6e4+r*36e5,this._days=a+o*7,this._months=i+n*12,t.milliseconds=d%1e3,c+=s(d/1e3),t.seconds=c%60,l+=s(c/60),t.minutes=l%60,r+=s(l/60),t.hours=r%24,a+=s(r/24),a+=o*7,t.days=a%30,i+=s(a/30),t.months=i%12,n+=s(i/12),t.years=n,this._lang=!1}function s(e){return 0>e?Math.ceil(e):Math.floor(e)}function r(e,t){var n=e+"";while(t>n.length)n="0"+n;return n}function l(e,t,n){var i,o=t._milliseconds,a=t._days,s=t._months;o&&e._d.setTime(+e+o*n),a&&e.date(e.date()+a*n),s&&(i=e.date(),e.date(1).month(e.month()+s*n).date(Math.min(i,e.daysInMonth())))}function c(e){return Object.prototype.toString.call(e)==="[object Array]"}function d(e,t){var n,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(n=0;i>n;n++)~~e[n]!==~~t[n]&&a++;return a+o}function u(e,t,n,i){var o,a,s=[];for(o=0;7>o;o++)s[o]=e[o]=e[o]==null?o===2?1:0:e[o];return e[7]=s[7]=t,e[8]!=null&&(s[8]=e[8]),e[3]+=n||0,e[4]+=i||0,a=new Date(0),t?(a.setUTCFullYear(e[0],e[1],e[2]),a.setUTCHours(e[3],e[4],e[5],e[6])):(a.setFullYear(e[0],e[1],e[2]),a.setHours(e[3],e[4],e[5],e[6])),a._a=s,a}function h(e,t){var n,i,o=[];for(!t&&A&&(t=require("./lang/"+e)),n=0;j.length>n;n++)t[j[n]]=t[j[n]]||E.en[j[n]];for(n=0;12>n;n++)i=I([2e3,n]),o[n]=RegExp("^"+(t.months[n]||t.months(i,""))+"|^"+(t.monthsShort[n]||t.monthsShort(i,"")).replace(".",""),"i");return t.monthsParse=t.monthsParse||o,E[e]=t,t}function f(e){var t=typeof e=="string"&&e||e&&e._lang||null;return t?E[t]||h(t):I}function p(e){return e.match(/\[.*\]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function m(e){var t,n,i=e.match(z);for(t=0,n=i.length;n>t;t++)i[t]=tt[i[t]]?tt[i[t]]:p(i[t]);return function(o){var a="";for(t=0;n>t;t++)a+=typeof i[t].call=="function"?i[t].call(o,e):i[t];return a}}function g(e,t){function n(t){return e.lang().longDateFormat[t]||t}var i=5;while(i--&&R.test(t))t=t.replace(R,n);return G[t]||(G[t]=m(t)),G[t](e)}function _(e){switch(e){case"DDDD":return F;case"YYYY":return U;case"S":case"SS":case"SSS":case"DDD":return N;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":case"a":case"A":return W;case"Z":case"ZZ":return B;case"T":return q;case"MM":case"DD":case"YY":case"HH":case"hh":case"mm":case"ss":case"M":case"D":case"d":case"H":case"h":case"m":case"s":return H;default:return RegExp(e.replace("\\",""))}}function w(e,t,n,i){var o,a;switch(e){case"M":case"MM":n[1]=t==null?0:~~t-1;break;case"MMM":case"MMMM":for(o=0;12>o;o++)if(f().monthsParse[o].test(t)){n[1]=o,a=!0;break}a||(n[8]=!1);break;case"D":case"DD":case"DDD":case"DDDD":t!=null&&(n[2]=~~t);break;case"YY":n[0]=~~t+(~~t>70?1900:2e3);break;case"YYYY":n[0]=~~Math.abs(t);break;case"a":case"A":i.isPm=(t+"").toLowerCase()==="pm";break;case"H":case"HH":case"h":case"hh":n[3]=~~t;break;case"m":case"mm":n[4]=~~t;break;case"s":case"ss":n[5]=~~t;break;case"S":case"SS":case"SSS":n[6]=~~(("0."+t)*1e3);break;case"Z":case"ZZ":i.isUTC=!0,o=(t+"").match(K),o&&o[1]&&(i.tzh=~~o[1]),o&&o[2]&&(i.tzm=~~o[2]),o&&o[0]==="+"&&(i.tzh=-i.tzh,i.tzm=-i.tzm)}t==null&&(n[8]=!1)}function v(e,t){var n,i,o=[0,0,1,0,0,0,0],a={tzh:0,tzm:0},s=t.match(z);for(n=0;s.length>n;n++)i=(_(s[n]).exec(e)||[])[0],i&&(e=e.slice(e.indexOf(i)+i.length)),tt[s[n]]&&w(s[n],i,o,a);return a.isPm&&12>o[3]&&(o[3]+=12),a.isPm===!1&&o[3]===12&&(o[3]=0),u(o,a.isUTC,a.tzh,a.tzm)}function y(e,t){var n,i,a,s,r,l=e.match($)||[],c=99;for(a=0;t.length>a;a++)s=v(e,t[a]),i=g(new o(s),t[a]).match($)||[],r=d(l,i),c>r&&(c=r,n=s);return n}function b(e){var t,n="YYYY-MM-DDT";if(Y.exec(e)){for(t=0;4>t;t++)if(V[t][1].exec(e)){n+=V[t][0];break}return B.exec(e)?v(e,n+" Z"):v(e,n)}return new Date(e)}function x(e,t,n,i,o){var a=o.relativeTime[e];return typeof a=="function"?a(t||1,!!n,e,i):a.replace(/%d/i,t||1)}function T(e,t,n){var i=P(Math.abs(e)/1e3),o=P(i/60),a=P(o/60),s=P(a/24),r=P(s/365),l=45>i&&["s",i]||o===1&&["m"]||45>o&&["mm",o]||a===1&&["h"]||22>a&&["hh",a]||s===1&&["d"]||25>=s&&["dd",s]||45>=s&&["M"]||345>s&&["MM",P(s/30)]||r===1&&["y"]||["yy",r];return l[2]=t,l[3]=e>0,l[4]=n,x.apply({},l)}function C(e,t){I.fn[e]=function(e){var n=this._isUTC?"UTC":"";return e!=null?(this._d["set"+n+t](e),this):this._d["get"+n+t]()}}function k(e){I.duration.fn[e]=function(){return this._data[e]}}function S(e,t){I.duration.fn["as"+e]=function(){return+this/t}}var I,M,D="1.7.2",P=Math.round,E={},L="en",A=typeof module!="undefined"&&module.exports,j="months|monthsShort|weekdays|weekdaysShort|weekdaysMin|longDateFormat|calendar|relativeTime|ordinal|meridiem".split("|"),O=/^\/?Date\((\-?\d+)/i,z=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|SS?S?|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?)/g,$=/([0-9a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)/gi,H=/\d\d?/,N=/\d{1,3}/,F=/\d{3}/,U=/\d{1,4}/,W=/[0-9a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+/i,B=/Z|[\+\-]\d\d:?\d\d/i,q=/T/i,Y=/^\s*\d{4}-\d\d-\d\d(T(\d\d(:\d\d(:\d\d(\.\d\d?\d?)?)?)?)?([\+\-]\d\d:?\d\d)?)?/,Q="YYYY-MM-DDTHH:mm:ssZ",V=[["HH:mm:ss.S",/T\d\d:\d\d:\d\d\.\d{1,3}/],["HH:mm:ss",/T\d\d:\d\d:\d\d/],["HH:mm",/T\d\d:\d\d/],["HH",/T\d\d/]],K=/([\+\-]|\d\d)/gi,Z="Month|Date|Hours|Minutes|Seconds|Milliseconds".split("|"),J={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},G={},X="DDD w M D d".split(" "),et="M D H h m s w".split(" "),tt={M:function(){return this.month()+1},MMM:function(e){return t("monthsShort",this.month(),this,e)},MMMM:function(e){return t("months",this.month(),this,e)},D:function(){return this.date()},DDD:function(){var e=new Date(this.year(),this.month(),this.date()),t=new Date(this.year(),0,1);return~~((e-t)/864e5+1.5)},d:function(){return this.day()},dd:function(e){return t("weekdaysMin",this.day(),this,e)},ddd:function(e){return t("weekdaysShort",this.day(),this,e)},dddd:function(e){return t("weekdays",this.day(),this,e)},w:function(){var e=new Date(this.year(),this.month(),this.date()-this.day()+5),t=new Date(e.getFullYear(),0,4);return~~((e-t)/864e5/7+1.5)},YY:function(){return r(this.year()%100,2)},YYYY:function(){return r(this.year(),4)},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return~~(this.milliseconds()/100)},SS:function(){return r(~~(this.milliseconds()/10),2)},SSS:function(){return r(this.milliseconds(),3)},Z:function(){var e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+r(~~(e/60),2)+":"+r(~~e%60,2)},ZZ:function(){var e=-this.zone(),t="+";return 0>e&&(e=-e,t="-"),t+r(~~(10*e/6),4)}};while(X.length)M=X.pop(),tt[M+"o"]=i(tt[M]);while(et.length)M=et.pop(),tt[M+M]=n(tt[M],2);for(tt.DDDD=n(tt.DDD,3),I=function(t,n){if(t===null||t==="")return null;var i,a;return I.isMoment(t)?new o(new Date(+t._d),t._isUTC,t._lang):(n?i=c(n)?y(t,n):v(t,n):(a=O.exec(t),i=t===e?new Date:a?new Date(+a[1]):t instanceof Date?t:c(t)?u(t):typeof t=="string"?b(t):new Date(t)),new o(i))},I.utc=function(e,t){return c(e)?new o(u(e,!0),!0):(typeof e!="string"||B.exec(e)||(e+=" +0000",t&&(t+=" Z")),I(e,t).utc())},I.unix=function(e){return I(e*1e3)},I.duration=function(e,t){var n,i=I.isDuration(e),o=typeof e=="number",s=i?e._data:o?{}:e;return o&&(t?s[t]=e:s.milliseconds=e),n=new a(s),i&&(n._lang=e._lang),n},I.humanizeDuration=function(e,t,n){return I.duration(e,t===!0?null:t).humanize(t===!0?!0:n)},I.version=D,I.defaultFormat=Q,I.lang=function(e,t){var n;if(!e)return L;if((t||!E[e])&&h(e,t),E[e]){for(n=0;j.length>n;n++)I[j[n]]=E[e][j[n]];I.monthsParse=E[e].monthsParse,L=e}},I.langData=f,I.isMoment=function(e){return e instanceof o},I.isDuration=function(e){return e instanceof a},I.lang("en",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},meridiem:function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var t=e%10;return~~(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th"}}),I.fn=o.prototype={clone:function(){return I(this)},valueOf:function(){return+this._d},unix:function(){return Math.floor(+this._d/1e3)},toString:function(){return this._d+""},toDate:function(){return this._d},toArray:function(){var e=this;return[e.year(),e.month(),e.date(),e.hours(),e.minutes(),e.seconds(),e.milliseconds(),!!this._isUTC]},isValid:function(){return this._a?this._a[8]!=null?!!this._a[8]:!d(this._a,(this._a[7]?I.utc(this._a):I(this._a)).toArray()):!isNaN(this._d.getTime())},utc:function(){return this._isUTC=!0,this},local:function(){return this._isUTC=!1,this},format:function(e){return g(this,e?e:I.defaultFormat)},add:function(e,t){var n=t?I.duration(+t,e):I.duration(e);return l(this,n,1),this},subtract:function(e,t){var n=t?I.duration(+t,e):I.duration(e);return l(this,n,-1),this},diff:function(e,t,n){var i,o=this._isUTC?I(e).utc():I(e).local(),a=(this.zone()-o.zone())*6e4,s=this._d-o._d-a,r=this.year()-o.year(),l=this.month()-o.month(),c=this.date()-o.date();return i=t==="months"?r*12+l+c/30:t==="years"?r+(l+c/30)/12:t==="seconds"?s/1e3:t==="minutes"?s/6e4:t==="hours"?s/36e5:t==="days"?s/864e5:t==="weeks"?s/6048e5:s,n?i:P(i)},from:function(e,t){return I.duration(this.diff(e)).lang(this._lang).humanize(!t)},fromNow:function(e){return this.from(I(),e)},calendar:function(){var e=this.diff(I().sod(),"days",!0),t=this.lang().calendar,n=t.sameElse,i=-6>e?n:-1>e?t.lastWeek:0>e?t.lastDay:1>e?t.sameDay:2>e?t.nextDay:7>e?t.nextWeek:n;return this.format(typeof i=="function"?i.apply(this):i)},isLeapYear:function(){var e=this.year();return e%4===0&&e%100!==0||e%400===0},isDST:function(){return I([this.year()]).zone()>this.zone()||I([this.year(),5]).zone()>this.zone()},day:function(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e==null?t:this.add({d:e-t})},startOf:function(e){switch(e.replace(/s$/,"")){case"year":this.month(0);case"month":this.date(1);case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return this},endOf:function(e){return this.startOf(e).add(e.replace(/s?$/,"s"),1).subtract("ms",1)},sod:function(){return this.clone().startOf("day")},eod:function(){return this.clone().endOf("day")},zone:function(){return this._isUTC?0:this._d.getTimezoneOffset()},daysInMonth:function(){return I.utc([this.year(),this.month()+1,0]).date()},lang:function(t){return t===e?f(this):(this._lang=t,this)}},M=0;Z.length>M;M++)C(Z[M].toLowerCase(),Z[M]);C("year","FullYear"),I.duration.fn=a.prototype={weeks:function(){return s(this.days()/7)},valueOf:function(){return this._milliseconds+this._days*864e5+this._months*2592e6},humanize:function(e){var t=+this,n=this.lang().relativeTime,i=T(t,!e,this.lang()),o=t>0?n.future:n.past;return e&&(i=typeof o=="function"?o(i):o.replace(/%s/i,i)),i},lang:I.fn.lang};for(M in J)J.hasOwnProperty(M)&&(S(M,J[M]),k(M.toLowerCase()));S("Weeks",6048e5),A&&(module.exports=I),typeof ender=="undefined"&&(this.moment=I),typeof define=="function"&&define.amd&&define("moment",[],function(){return I})}.call(this),/*!
* Spin.js - Copyright (c) 2011 Felix Gnass [fgnass at neteye dot de]
* Licensed under the MIT license; fgnass.github.com/spin.js#v1.2.3
*/
function(e,t,n){function i(e,n){var i,o=t.createElement(e||"div");for(i in n)o[i]=n[i];return o}function o(e){for(var t=1,n=arguments.length;n>t;t++)e.appendChild(arguments[t]);return e}function a(e,t,n,i){var o=["opacity",t,~~(e*100),n,i].join("-"),a=.01+n/i*100,s=Math.max(1-(1-e)/t*(100-a),e),r=d.substring(0,d.indexOf("Animation")).toLowerCase(),l=r&&"-"+r+"-"||"";return h[o]||(f.insertRule("@"+l+"keyframes "+o+"{"+"0%{opacity:"+s+"}"+a+"%{opacity:"+e+"}"+(a+.01)+"%{opacity:1}"+(a+t)%100+"%{opacity:"+e+"}"+"100%{opacity:"+s+"}"+"}",0),h[o]=1),o}function s(e,t){var i,o,a=e.style;if(a[t]!==n)return t;for(t=t.charAt(0).toUpperCase()+t.slice(1),o=0;u.length>o;o++)if(i=u[o]+t,a[i]!==n)return i}function r(e,t){for(var n in t)e.style[s(e,n)||n]=t[n];return e}function l(e){for(var t=1;arguments.length>t;t++){var i=arguments[t];for(var o in i)e[o]===n&&(e[o]=i[o])}return e}function c(e){var t={x:e.offsetLeft,y:e.offsetTop};while(e=e.offsetParent)t.x+=e.offsetLeft,t.y+=e.offsetTop;return t}var d,u=["webkit","Moz","ms","O"],h={},f=function(){var e=i("style");return o(t.getElementsByTagName("head")[0],e),e.sheet||e.styleSheet}(),p=function e(t){return this.spin?(this.opts=l(t||{},e.defaults,m),n):new e(t)},m=p.defaults={className:"spinner",lines:12,length:7,width:5,radius:10,color:"#000",speed:1,trail:100,opacity:.25,fps:20},g=p.prototype={spin:function(e){this.stop();var t,n,o=this,a=o.el=r(i(),{position:"relative"});if(e&&(e.insertBefore(a,e.firstChild||null),n=c(e),t=c(a),r(a,{left:(e.offsetWidth>>1)-t.x+n.x+"px",top:(e.offsetHeight>>1)-t.y+n.y+"px"})),a.setAttribute("class",o.opts.className),a.setAttribute("aria-role","progressbar"),o.lines(a,o.opts),!d){var s=o.opts,l=0,u=s.fps,h=u/s.speed,f=(1-s.opacity)/(h*s.trail/100),p=h/s.lines;(function e(){l++;for(var t=s.lines;t;t--){var n=Math.max(1-(l+t*p)%h*f,s.opacity);o.opacity(a,s.lines-t,n,s)}o.timeout=o.el&&setTimeout(e,~~(1e3/u))})()}return o},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=n),this}};g.lines=function(e,t){function n(e,n){return r(i(),{position:"absolute",width:t.length+t.width+"px",height:t.width+"px",background:e,boxShadow:n,transformOrigin:"left",transform:"rotate("+~~(360/t.lines*l)+"deg) translate("+t.radius+"px"+",0)",borderRadius:(t.width>>1)+"px"})}for(var s,l=0;t.lines>l;l++)s=r(i(),{position:"absolute",top:1+~(t.width/2)+"px",transform:t.hwaccel?"translate3d(0,0,0)":"",opacity:t.opacity,animation:d&&a(t.opacity,t.trail,l,t.lines)+" "+1/t.speed+"s linear infinite"}),t.shadow&&o(s,r(n("#000","0 0 4px #000"),{top:"2px"})),o(e,o(s,n(t.color,"0 0 1px rgba(0,0,0,.1)")));return e},g.opacity=function(e,t,n){e.childNodes.length>t&&(e.childNodes[t].style.opacity=n)},function(){var e,t=r(i("group"),{behavior:"url(#default#VML)"});if(!s(t,"transform")&&t.adj){for(e=4;e--;)f.addRule(["group","roundrect","fill","stroke"][e],"behavior:url(#default#VML)");g.lines=function(e,t){function n(){return r(i("group",{coordsize:c+" "+c,coordorigin:-l+" "+-l}),{width:c,height:c})}function a(e,a,s){o(d,o(r(n(),{rotation:360/t.lines*e+"deg",left:~~a}),o(r(i("roundrect",{arcsize:1}),{width:l,height:t.width,left:t.radius,top:-t.width>>1,filter:s}),i("fill",{color:t.color,opacity:t.opacity}),i("stroke",{opacity:0}))))}var s,l=t.length+t.width,c=2*l,d=n(),u=~(t.length+t.radius+t.width)+"px";if(t.shadow)for(s=1;t.lines>=s;s++)a(s,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(s=1;t.lines>=s;s++)a(s);return o(r(e,{margin:u+" 0 0 "+u,zoom:1}),d)},g.opacity=function(e,t,n,i){var o=e.firstChild;i=i.shadow&&i.lines||0,o&&o.childNodes.length>t+i&&(o=o.childNodes[t+i],o=o&&o.firstChild,o=o&&o.firstChild,o&&(o.opacity=n))}}else d=s(t,"animation")}(),e.Spinner=p}(window,document),function(e){e.fn.spin=function(t,n){var i={tiny:{lines:8,length:2,width:2,radius:3},small:{lines:8,length:4,width:3,radius:5},large:{lines:10,length:8,width:4,radius:8}};if(Spinner)return this.each(function(){var o=e(this),a=o.data();a.spinner&&(a.spinner.stop(),delete a.spinner),t!==!1&&(typeof t=="string"&&(t=t in i?i[t]:{},n&&(t.color=n)),a.spinner=new Spinner(e.extend({color:o.css("color")},t)).spin(this))});throw"Spinner class not available."}}(jQuery),/*!
* ColorBox v1.3.19 - jQuery lightbox plugin; (c) 2011 Jack Moore - jacklmoore.com
* License: http://www.opensource.org/licenses/mit-license.php
*/
function(e,t,n){function i(n,i,o){var a=t.createElement(n);return i&&(a.id=K+i),o&&(a.style.cssText=o),e(a)}function o(e){var t=b.length,n=(H+e)%t;return 0>n?t+n:n}function a(e,t){return Math.round((/%/.test(e)?(t==="x"?x.width():x.height())/100:1)*parseInt(e,10))}function s(e){return A.photo||/\.(gif|png|jpe?g|bmp|ico)((#|\?).*)?$/i.test(e)}function r(){var t;A=e.extend({},e.data($,V));for(t in A)e.isFunction(A[t])&&t.slice(0,2)!=="on"&&(A[t]=A[t].call($));A.rel=A.rel||$.rel||"nofollow",A.href=A.href||e($).attr("href"),A.title=A.title||$.title,typeof A.href=="string"&&(A.href=e.trim(A.href))}function l(t,n){e.event.trigger(t),n&&n.call($)}function c(){var e,t,n,i=K+"Slideshow_",o="click."+K;A.slideshow&&b[1]?(t=function(){M.text(A.slideshowStop).unbind(o).bind(X,function(){(A.loop||b[H+1])&&(e=setTimeout(q.next,A.slideshowSpeed))}).bind(G,function(){clearTimeout(e)}).one(o+" "+et,n),p.removeClass(i+"off").addClass(i+"on"),e=setTimeout(q.next,A.slideshowSpeed)},n=function(){clearTimeout(e),M.text(A.slideshowStart).unbind([X,G,et,o].join(" ")).one(o,function(){q.next(),t()}),p.removeClass(i+"on").addClass(i+"off")},A.slideshowAuto?t():n()):p.removeClass(i+"off "+i+"on")}function d(t){W||($=t,r(),b=e($),H=0,A.rel!=="nofollow"&&(b=e("."+Z).filter(function(){var t=e.data(this,V).rel||this.rel;return t===A.rel}),H=b.index($),H===-1&&(b=b.add($),H=b.length-1)),F||(F=U=!0,p.show(),A.returnFocus&&e($).blur().one(tt,function(){e(this).focus()}),f.css({opacity:+A.opacity,cursor:A.overlayClose?"pointer":"auto"}).show(),A.w=a(A.initialWidth,"x"),A.h=a(A.initialHeight,"y"),q.position(),ot&&x.bind("resize."+at+" scroll."+at,function(){f.css({width:x.width(),height:x.height(),top:x.scrollTop(),left:x.scrollLeft()})}).trigger("resize."+at),l(J,A.onOpen),L.add(S).hide(),E.html(A.close).show()),q.load(!0))}function u(){!p&&t.body&&(Y=!1,x=e(n),p=i(st).attr({id:V,"class":it?K+(ot?"IE6":"IE"):""}).hide(),f=i(st,"Overlay",ot?"position:absolute":"").hide(),m=i(st,"Wrapper"),g=i(st,"Content").append(T=i(st,"LoadedContent","width:0; height:0; overflow:hidden"),k=i(st,"LoadingOverlay").add(i(st,"LoadingGraphic")),S=i(st,"Title"),I=i(st,"Current"),D=i(st,"Next"),P=i(st,"Previous"),M=i(st,"Slideshow").bind(J,c),E=i(st,"Close")),m.append(i(st).append(i(st,"TopLeft"),_=i(st,"TopCenter"),i(st,"TopRight")),i(st,!1,"clear:left").append(w=i(st,"MiddleLeft"),g,v=i(st,"MiddleRight")),i(st,!1,"clear:left").append(i(st,"BottomLeft"),y=i(st,"BottomCenter"),i(st,"BottomRight"))).find("div div").css({"float":"left"}),C=i(st,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),L=D.add(P).add(I).add(M),e(t.body).append(f,p.append(m,C)))}function h(){return p?(Y||(Y=!0,j=_.height()+y.height()+g.outerHeight(!0)-g.height(),O=w.width()+v.width()+g.outerWidth(!0)-g.width(),z=T.outerHeight(!0),R=T.outerWidth(!0),p.css({"padding-bottom":j,"padding-right":O}),D.click(function(){q.next()}),P.click(function(){q.prev()}),E.click(function(){q.close()}),f.click(function(){A.overlayClose&&q.close()}),e(t).bind("keydown."+K,function(e){var t=e.keyCode;F&&A.escKey&&t===27&&(e.preventDefault(),q.close()),F&&A.arrowKey&&b[1]&&(t===37?(e.preventDefault(),P.click()):t===39&&(e.preventDefault(),D.click()))}),e("."+Z,t).live("click",function(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||(e.preventDefault(),d(this))})),!0):!1}var f,p,m,g,_,w,v,y,b,x,T,C,k,S,I,M,D,P,E,L,A,j,O,z,R,$,H,N,F,U,W,B,q,Y,Q={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:!1,returnFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0},V="colorbox",K="cbox",Z=K+"Element",J=K+"_open",G=K+"_load",X=K+"_complete",et=K+"_cleanup",tt=K+"_closed",nt=K+"_purge",it=!e.support.opacity&&!e.support.style,ot=it&&!n.XMLHttpRequest,at=K+"_IE6",st="div";e.colorbox||(e(u),q=e.fn[V]=e[V]=function(t,n){var i=this;if(t=t||{},u(),h()){if(!i[0]){if(i.selector)return i;i=e(" "),t.open=!0}n&&(t.onComplete=n),i.each(function(){e.data(this,V,e.extend({},e.data(this,V)||Q,t))}).addClass(Z),(e.isFunction(t.open)&&t.open.call(i)||t.open)&&d(i[0])}return i},q.position=function(e,t){function n(e){_[0].style.width=y[0].style.width=g[0].style.width=e.style.width,g[0].style.height=w[0].style.height=v[0].style.height=e.style.height}var i=0,o=0,s=p.offset(),r=x.scrollTop(),l=x.scrollLeft();x.unbind("resize."+K),p.css({top:-9e4,left:-9e4}),A.fixed&&!ot?(s.top-=r,s.left-=l,p.css({position:"fixed"})):(i=r,o=l,p.css({position:"absolute"})),o+=A.right!==!1?Math.max(x.width()-A.w-R-O-a(A.right,"x"),0):A.left!==!1?a(A.left,"x"):Math.round(Math.max(x.width()-A.w-R-O,0)/2),i+=A.bottom!==!1?Math.max(x.height()-A.h-z-j-a(A.bottom,"y"),0):A.top!==!1?a(A.top,"y"):Math.round(Math.max(x.height()-A.h-z-j,0)/2),p.css({top:s.top,left:s.left}),e=p.width()===A.w+R&&p.height()===A.h+z?0:e||0,m[0].style.width=m[0].style.height="9999px",p.dequeue().animate({width:A.w+R,height:A.h+z,top:i,left:o},{duration:e,complete:function(){n(this),U=!1,m[0].style.width=A.w+R+O+"px",m[0].style.height=A.h+z+j+"px",A.reposition&&setTimeout(function(){x.bind("resize."+K,q.position)},1),t&&t()},step:function(){n(this)}})},q.resize=function(e){F&&(e=e||{},e.width&&(A.w=a(e.width,"x")-R-O),e.innerWidth&&(A.w=a(e.innerWidth,"x")),T.css({width:A.w}),e.height&&(A.h=a(e.height,"y")-z-j),e.innerHeight&&(A.h=a(e.innerHeight,"y")),e.innerHeight||e.height||(T.css({height:"auto"}),A.h=T.height()),T.css({height:A.h}),q.position(A.transition==="none"?0:A.speed))},q.prep=function(t){function n(){return A.w=A.w||T.width(),A.w=A.mw&&A.w>A.mw?A.mw:A.w,A.w}function a(){return A.h=A.h||T.height(),A.h=A.mh&&A.h>A.mh?A.mh:A.h,A.h}if(F){var r,c=A.transition==="none"?0:A.speed;T.remove(),T=i(st,"LoadedContent").append(t),T.hide().appendTo(C.show()).css({width:n(),overflow:A.scrolling?"auto":"hidden"}).css({height:a()}).prependTo(g),C.hide(),e(N).css({"float":"none"}),ot&&e("select").not(p.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(et,function(){this.style.visibility="inherit"}),r=function(){function t(){it&&p[0].style.removeAttribute("filter")}var n,a,r,d,u,h,f=b.length,m="frameBorder",g="allowTransparency";if(F){if(d=function(){clearTimeout(B),k.hide(),l(X,A.onComplete)},it&&N&&T.fadeIn(100),S.html(A.title).add(T).show(),f>1){if(typeof A.current=="string"&&I.html(A.current.replace("{current}",H+1).replace("{total}",f)).show(),D[A.loop||f-1>H?"show":"hide"]().html(A.next),P[A.loop||H?"show":"hide"]().html(A.previous),A.slideshow&&M.show(),A.preloading){n=[o(-1),o(1)];while(a=b[n.pop()])u=e.data(a,V).href||a.href,e.isFunction(u)&&(u=u.call(a)),s(u)&&(h=new Image,h.src=u)}}else L.hide();A.iframe?(r=i("iframe")[0],m in r&&(r[m]=0),g in r&&(r[g]="true"),r.name=K+ +new Date,A.fastIframe?d():e(r).one("load",d),r.src=A.href,A.scrolling||(r.scrolling="no"),e(r).addClass(K+"Iframe").appendTo(T).one(nt,function(){r.src="//about:blank"})):d(),A.transition==="fade"?p.fadeTo(c,1,t):t()}},A.transition==="fade"?p.fadeTo(c,0,function(){q.position(0,r)}):q.position(c,r)}},q.load=function(t){var n,o,c=q.prep;U=!0,N=!1,$=b[H],t||r(),l(nt),l(G,A.onLoad),A.h=A.height?a(A.height,"y")-z-j:A.innerHeight&&a(A.innerHeight,"y"),A.w=A.width?a(A.width,"x")-R-O:A.innerWidth&&a(A.innerWidth,"x"),A.mw=A.w,A.mh=A.h,A.maxWidth&&(A.mw=a(A.maxWidth,"x")-R-O,A.mw=A.w&&A.mw>A.w?A.w:A.mw),A.maxHeight&&(A.mh=a(A.maxHeight,"y")-z-j,A.mh=A.h&&A.mh>A.h?A.h:A.mh),n=A.href,B=setTimeout(function(){k.show()},100),A.inline?(i(st).hide().insertBefore(e(n)[0]).one(nt,function(){e(this).replaceWith(T.children())}),c(e(n))):A.iframe?c(" "):A.html?c(A.html):s(n)?(e(N=new Image).addClass(K+"Photo").error(function(){A.title=!1,c(i(st,"Error").text("This image could not be loaded"))}).load(function(){var e;N.onload=null,A.scalePhotos&&(o=function(){N.height-=N.height*e,N.width-=N.width*e},A.mw&&N.width>A.mw&&(e=(N.width-A.mw)/N.width,o()),A.mh&&N.height>A.mh&&(e=(N.height-A.mh)/N.height,o())),A.h&&(N.style.marginTop=Math.max(A.h-N.height,0)/2+"px"),b[1]&&(A.loop||b[H+1])&&(N.style.cursor="pointer",N.onclick=function(){q.next()}),it&&(N.style.msInterpolationMode="bicubic"),setTimeout(function(){c(N)},1)}),setTimeout(function(){N.src=n},1)):n&&C.load(n,A.data,function(t,n,o){c(n==="error"?i(st,"Error").text("Request unsuccessful: "+o.statusText):e(this).contents())})},q.next=function(){!U&&b[1]&&(A.loop||b[H+1])&&(H=o(1),q.load())},q.prev=function(){!U&&b[1]&&(A.loop||H)&&(H=o(-1),q.load())},q.close=function(){F&&!W&&(W=!0,F=!1,l(et,A.onCleanup),x.unbind("."+K+" ."+at),f.fadeTo(200,0),p.stop().fadeTo(300,0,function(){p.add(f).css({opacity:1,cursor:"auto"}).hide(),l(nt),T.remove(),setTimeout(function(){W=!1,l(tt,A.onClosed)},1)}))},q.remove=function(){e([]).add(p).add(f).remove(),p=null,e("."+Z).removeData(V).removeClass(Z).die()},q.element=function(){return e($)},q.settings=Q)}(jQuery,document,this),/*!
* hoverIntent r6 2011.02.26; Copyright (c) Brian Cherne brian(at)cherne(dot)net
* Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html
*/
function(e){e.fn.hoverIntent=function(t,n){var i={sensitivity:7,interval:100,timeout:0};i=e.extend(i,n?{over:t,out:n}:t);var o,a,s,r,l=function(e){o=e.pageX,a=e.pageY},c=function(t,n){return n.hoverIntent_t=clearTimeout(n.hoverIntent_t),i.sensitivity>Math.abs(s-o)+Math.abs(r-a)?(e(n).unbind("mousemove",l),n.hoverIntent_s=1,i.over.apply(n,[t])):(s=o,r=a,n.hoverIntent_t=setTimeout(function(){c(t,n)},i.interval),void 0)},d=function(e,t){return t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,i.out.apply(t,[e])},u=function(t){var n=jQuery.extend({},t),o=this;o.hoverIntent_t&&(o.hoverIntent_t=clearTimeout(o.hoverIntent_t)),t.type=="mouseenter"?(s=n.pageX,r=n.pageY,e(o).bind("mousemove",l),o.hoverIntent_s!=1&&(o.hoverIntent_t=setTimeout(function(){c(n,o)},i.interval))):(e(o).unbind("mousemove",l),o.hoverIntent_s==1&&(o.hoverIntent_t=setTimeout(function(){d(n,o)},i.timeout)))};return this.bind("mouseenter",u).bind("mouseleave",u)}}(jQuery),/*!
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/; Copyright (c) 2008 George McGinley Smith; Easing equations Copyright (c) 2001 Robert Penner
* Open source under the BSD License:
*/
jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,i,o){return jQuery.easing[jQuery.easing.def](e,t,n,i,o)},easeInQuad:function(e,t,n,i,o){return i*(t/=o)*t+n},easeOutQuad:function(e,t,n,i,o){return-i*(t/=o)*(t-2)+n},easeInOutQuad:function(e,t,n,i,o){return 1>(t/=o/2)?i/2*t*t+n:-i/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,i,o){return i*(t/=o)*t*t+n},easeOutCubic:function(e,t,n,i,o){return i*((t=t/o-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,i,o){return 1>(t/=o/2)?i/2*t*t*t+n:i/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,i,o){return i*(t/=o)*t*t*t+n},easeOutQuart:function(e,t,n,i,o){return-i*((t=t/o-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,i,o){return 1>(t/=o/2)?i/2*t*t*t*t+n:-i/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,i,o){return i*(t/=o)*t*t*t*t+n},easeOutQuint:function(e,t,n,i,o){return i*((t=t/o-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,i,o){return 1>(t/=o/2)?i/2*t*t*t*t*t+n:i/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,i,o){return-i*Math.cos(t/o*(Math.PI/2))+i+n},easeOutSine:function(e,t,n,i,o){return i*Math.sin(t/o*(Math.PI/2))+n},easeInOutSine:function(e,t,n,i,o){return-i/2*(Math.cos(Math.PI*t/o)-1)+n},easeInExpo:function(e,t,n,i,o){return t==0?n:i*Math.pow(2,10*(t/o-1))+n},easeOutExpo:function(e,t,n,i,o){return t==o?n+i:i*(-Math.pow(2,-10*t/o)+1)+n},easeInOutExpo:function(e,t,n,i,o){return t==0?n:t==o?n+i:1>(t/=o/2)?i/2*Math.pow(2,10*(t-1))+n:i/2*(-Math.pow(2,-10*--t)+2)+n},easeInCirc:function(e,t,n,i,o){return-i*(Math.sqrt(1-(t/=o)*t)-1)+n},easeOutCirc:function(e,t,n,i,o){return i*Math.sqrt(1-(t=t/o-1)*t)+n},easeInOutCirc:function(e,t,n,i,o){return 1>(t/=o/2)?-i/2*(Math.sqrt(1-t*t)-1)+n:i/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,i,o){var a=1.70158,s=0,r=i;if(t==0)return n;if((t/=o)==1)return n+i;if(s||(s=o*.3),Math.abs(i)>r){r=i;var a=s/4}else var a=s/(2*Math.PI)*Math.asin(i/r);return-(r*Math.pow(2,10*(t-=1))*Math.sin((t*o-a)*2*Math.PI/s))+n},easeOutElastic:function(e,t,n,i,o){var a=1.70158,s=0,r=i;if(t==0)return n;if((t/=o)==1)return n+i;if(s||(s=o*.3),Math.abs(i)>r){r=i;var a=s/4}else var a=s/(2*Math.PI)*Math.asin(i/r);return r*Math.pow(2,-10*t)*Math.sin((t*o-a)*2*Math.PI/s)+i+n},easeInOutElastic:function(e,t,n,i,o){var a=1.70158,s=0,r=i;if(t==0)return n;if((t/=o/2)==2)return n+i;if(s||(s=o*.3*1.5),Math.abs(i)>r){r=i;var a=s/4}else var a=s/(2*Math.PI)*Math.asin(i/r);return 1>t?-.5*r*Math.pow(2,10*(t-=1))*Math.sin((t*o-a)*2*Math.PI/s)+n:r*Math.pow(2,-10*(t-=1))*Math.sin((t*o-a)*2*Math.PI/s)*.5+i+n},easeInBack:function(e,t,n,i,o,a){return a==void 0&&(a=1.70158),i*(t/=o)*t*((a+1)*t-a)+n},easeOutBack:function(e,t,n,i,o,a){return a==void 0&&(a=1.70158),i*((t=t/o-1)*t*((a+1)*t+a)+1)+n},easeInOutBack:function(e,t,n,i,o,a){return a==void 0&&(a=1.70158),1>(t/=o/2)?i/2*t*t*(((a*=1.525)+1)*t-a)+n:i/2*((t-=2)*t*(((a*=1.525)+1)*t+a)+2)+n},easeInBounce:function(e,t,n,i,o){return i-jQuery.easing.easeOutBounce(e,o-t,0,i,o)+n},easeOutBounce:function(e,t,n,i,o){return 1/2.75>(t/=o)?i*7.5625*t*t+n:2/2.75>t?i*(7.5625*(t-=1.5/2.75)*t+.75)+n:2.5/2.75>t?i*(7.5625*(t-=2.25/2.75)*t+.9375)+n:i*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,i,o){return o/2>t?jQuery.easing.easeInBounce(e,t*2,0,i,o)*.5+n:jQuery.easing.easeOutBounce(e,t*2-o,0,i,o)*.5+i*.5+n}})
//@ sourceMappingURL=moScripts.js.map