Skip to content

Instantly share code, notes, and snippets.

@dphaener
Created October 29, 2014 01:18
Show Gist options
  • Save dphaener/57179bbe58a6073b6d6f to your computer and use it in GitHub Desktop.
Save dphaener/57179bbe58a6073b6d6f to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head><script type="text/javascript">(window.NREUM||(NREUM={})).loader_config={xpid:"VQYOWFNSGwcJVVhSAQ=="};window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o?o:e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({QJf3ax:[function(t,e){function n(t){function e(e,n,a){t&&t(e,n,a),a||(a={});for(var c=s(e),u=c.length,f=i(a,o,r),d=0;u>d;d++)c[d].apply(f,n);return f}function a(t,e){u[t]=s(t).concat(e)}function s(t){return u[t]||[]}function c(){return n(e)}var u={};return{on:a,emit:e,create:c,listeners:s,_events:u}}function r(){return{}}var o="nr@context",i=t("gos");e.exports=n()},{gos:"7eSDFh"}],ee:[function(t,e){e.exports=t("QJf3ax")},{}],3:[function(t){function e(t,e,n,i,s){try{c?c-=1:r("err",[s||new UncaughtException(t,e,n)])}catch(u){try{r("ierr",[u,(new Date).getTime(),!0])}catch(f){}}return"function"==typeof a?a.apply(this,o(arguments)):!1}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function n(t){r("err",[t,(new Date).getTime()])}var r=t("handle"),o=t(4),i=t("ee"),a=window.onerror,s=!1,c=0;t("loader").features.err=!0,window.onerror=e,NREUM.noticeError=n;try{throw new Error}catch(u){"stack"in u&&(t(5),t(3),"addEventListener"in window&&t(1),window.XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.addEventListener&&t(2),s=!0)}i.on("fn-start",function(){s&&(c+=1)}),i.on("fn-err",function(t,e,r){s&&(this.thrown=!0,n(r))}),i.on("fn-end",function(){s&&!this.thrown&&c>0&&(c-=1)}),i.on("internal-error",function(t){r("ierr",[t,(new Date).getTime(),!0])})},{1:4,2:7,3:5,4:18,5:6,ee:"QJf3ax",handle:"D5DuLP",loader:"G9z0Bl"}],4:[function(t,e){function n(t){i.inPlace(t,["addEventListener","removeEventListener"],"-",r)}function r(t){return t[1]}var o=(t(1),t("ee").create()),i=t(2)(o),a=t("gos");if(e.exports=o,n(window),"getPrototypeOf"in Object){for(var s=document;s&&!s.hasOwnProperty("addEventListener");)s=Object.getPrototypeOf(s);s&&n(s);for(var c=XMLHttpRequest.prototype;c&&!c.hasOwnProperty("addEventListener");)c=Object.getPrototypeOf(c);c&&n(c)}else XMLHttpRequest.prototype.hasOwnProperty("addEventListener")&&n(XMLHttpRequest.prototype);o.on("addEventListener-start",function(t){if(t[1]){var e=t[1];"function"==typeof e?this.wrapped=t[1]=a(e,"nr@wrapped",function(){return i(e,"fn-",null,e.name||"anonymous")}):"function"==typeof e.handleEvent&&i.inPlace(e,["handleEvent"],"fn-")}}),o.on("removeEventListener-start",function(t){var e=this.wrapped;e&&(t[1]=e)})},{1:18,2:19,ee:"QJf3ax",gos:"7eSDFh"}],5:[function(t,e){var n=(t(2),t("ee").create()),r=t(1)(n);e.exports=n,r.inPlace(window,["requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","msRequestAnimationFrame"],"raf-"),n.on("raf-start",function(t){t[0]=r(t[0],"fn-")})},{1:19,2:18,ee:"QJf3ax"}],6:[function(t,e){function n(t,e,n){var r=t[0];"string"==typeof r&&(r=new Function(r)),t[0]=o(r,"fn-",null,n)}var r=(t(2),t("ee").create()),o=t(1)(r);e.exports=r,o.inPlace(window,["setTimeout","setInterval","setImmediate"],"setTimer-"),r.on("setTimer-start",n)},{1:19,2:18,ee:"QJf3ax"}],7:[function(t,e){function n(){c.inPlace(this,d,"fn-")}function r(t,e){c.inPlace(e,["onreadystatechange"],"fn-")}function o(t,e){return e}var i=t("ee").create(),a=t(1),s=t(2),c=s(i),u=s(a),f=window.XMLHttpRequest,d=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"];e.exports=i,window.XMLHttpRequest=function(t){var e=new f(t);try{i.emit("new-xhr",[],e),u.inPlace(e,["addEventListener","removeEventListener"],"-",function(t,e){return e}),e.addEventListener("readystatechange",n,!1)}catch(r){try{i.emit("internal-error",[r])}catch(o){}}return e},window.XMLHttpRequest.prototype=f.prototype,c.inPlace(XMLHttpRequest.prototype,["open","send"],"-xhr-",o),i.on("send-xhr-start",r),i.on("open-xhr-start",r)},{1:4,2:19,ee:"QJf3ax"}],8:[function(t){function e(t){if("string"==typeof t&&t.length)return t.length;if("object"!=typeof t)return void 0;if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if("undefined"!=typeof FormData&&t instanceof FormData)return void 0;try{return JSON.stringify(t).length}catch(e){return void 0}}function n(t){var n=this.params,r=this.metrics;if(!this.ended){this.ended=!0;for(var i=0;c>i;i++)t.removeEventListener(s[i],this.listener,!1);if(!n.aborted){if(r.duration=(new Date).getTime()-this.startTime,4===t.readyState){n.status=t.status;var a=t.responseType,u="arraybuffer"===a||"blob"===a||"json"===a?t.response:t.responseText,f=e(u);if(f&&(r.rxSize=f),this.sameOrigin){var d=t.getResponseHeader("X-NewRelic-App-Data");d&&(n.cat=d.split(", ").pop())}}else n.status=0;r.cbTime=this.cbTime,o("xhr",[n,r,this.startTime])}}}function r(t,e){var n=i(e),r=t.params;r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.sameOrigin=n.sameOrigin}if(window.XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.addEventListener&&!/CriOS/.test(navigator.userAgent)){t("loader").features.xhr=!0;var o=t("handle"),i=t(2),a=t("ee"),s=["load","error","abort","timeout"],c=s.length,u=t(1);t(4),t(3),a.on("new-xhr",function(){this.totalCbs=0,this.called=0,this.cbTime=0,this.end=n,this.ended=!1,this.xhrGuids={}}),a.on("open-xhr-start",function(t){this.params={method:t[0]},r(this,t[1]),this.metrics={}}),a.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),a.on("send-xhr-start",function(t,n){var r=this.metrics,o=t[0],i=this;if(r&&o){var u=e(o);u&&(r.txSize=u)}this.startTime=(new Date).getTime(),this.listener=function(t){try{"abort"===t.type&&(i.params.aborted=!0),("load"!==t.type||i.called===i.totalCbs&&(i.onloadCalled||"function"!=typeof n.onload))&&i.end(n)}catch(e){try{a.emit("internal-error",[e])}catch(r){}}};for(var f=0;c>f;f++)n.addEventListener(s[f],this.listener,!1)}),a.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),a.on("xhr-load-added",function(t,e){var n=""+u(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),a.on("xhr-load-removed",function(t,e){var n=""+u(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),a.on("addEventListener-end",function(t,e){e instanceof XMLHttpRequest&&"load"===t[0]&&a.emit("xhr-load-added",[t[1],t[2]],e)}),a.on("removeEventListener-end",function(t,e){e instanceof XMLHttpRequest&&"load"===t[0]&&a.emit("xhr-load-removed",[t[1],t[2]],e)}),a.on("fn-start",function(t,e,n){e instanceof XMLHttpRequest&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=(new Date).getTime()))}),a.on("fn-end",function(t,e){this.xhrCbStart&&a.emit("xhr-cb-time",[(new Date).getTime()-this.xhrCbStart,this.onload,e],e)})}},{1:"XL7HBI",2:9,3:7,4:4,ee:"QJf3ax",handle:"D5DuLP",loader:"G9z0Bl"}],9:[function(t,e){e.exports=function(t){var e=document.createElement("a"),n=window.location,r={};e.href=t,r.port=e.port;var o=e.href.split("://");return!r.port&&o[1]&&(r.port=o[1].split("/")[0].split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=e.hostname||n.hostname,r.pathname=e.pathname,"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname),r.sameOrigin=!e.hostname||e.hostname===document.domain&&e.port===n.port&&e.protocol===n.protocol,r}},{}],gos:[function(t,e){e.exports=t("7eSDFh")},{}],"7eSDFh":[function(t,e){function n(t,e,n){if(r.call(t,e))return t[e];var o=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:o,writable:!0,enumerable:!1}),o}catch(i){}return t[e]=o,o}var r=Object.prototype.hasOwnProperty;e.exports=n},{}],D5DuLP:[function(t,e){function n(t,e,n){return r.listeners(t).length?r.emit(t,e,n):(o[t]||(o[t]=[]),void o[t].push(e))}var r=t("ee").create(),o={};e.exports=n,n.ee=r,r.q=o},{ee:"QJf3ax"}],handle:[function(t,e){e.exports=t("D5DuLP")},{}],XL7HBI:[function(t,e){function n(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:i(t,o,function(){return r++})}var r=1,o="nr@id",i=t("gos");e.exports=n},{gos:"7eSDFh"}],id:[function(t,e){e.exports=t("XL7HBI")},{}],loader:[function(t,e){e.exports=t("G9z0Bl")},{}],G9z0Bl:[function(t,e){function n(){var t=p.info=NREUM.info;if(t&&t.agent&&t.licenseKey&&t.applicationID&&c&&c.body){p.proto="https"===d.split(":")[0]||t.sslForHttp?"https://":"http://",a("mark",["onload",i()]);var e=c.createElement("script");e.src=p.proto+t.agent,c.body.appendChild(e)}}function r(){"complete"===c.readyState&&o()}function o(){a("mark",["domContent",i()])}function i(){return(new Date).getTime()}var a=t("handle"),s=window,c=s.document,u="addEventListener",f="attachEvent",d=(""+location).split("?")[0],p=e.exports={offset:i(),origin:d,features:{}};c[u]?(c[u]("DOMContentLoaded",o,!1),s[u]("load",n,!1)):(c[f]("onreadystatechange",r),s[f]("onload",n)),a("mark",["firstbyte",i()])},{handle:"D5DuLP"}],18:[function(t,e){function n(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(0>o?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=n},{}],19:[function(t,e){function n(t){return!(t&&"function"==typeof t&&t.apply&&!t[i])}var r=t("ee"),o=t(1),i="nr@wrapper",a=Object.prototype.hasOwnProperty;e.exports=function(t){function e(t,e,r,a){function nrWrapper(){var n,i,s,u;try{i=this,n=o(arguments),s=r&&r(n,i)||{}}catch(d){f([d,"",[n,i,a],s])}c(e+"start",[n,i,a],s);try{return u=t.apply(i,n)}catch(p){throw c(e+"err",[n,i,p],s),p}finally{c(e+"end",[n,i,u],s)}}return n(t)?t:(e||(e=""),nrWrapper[i]=!0,u(t,nrWrapper),nrWrapper)}function s(t,r,o,i){o||(o="");var a,s,c,u="-"===o.charAt(0);for(c=0;c<r.length;c++)s=r[c],a=t[s],n(a)||(t[s]=e(a,u?s+o:o,i,s,t))}function c(e,n,r){try{t.emit(e,n,r)}catch(o){f([o,e,n,r])}}function u(t,e){if(Object.defineProperty&&Object.keys)try{var n=Object.keys(t);return n.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(r){f([r])}for(var o in t)a.call(t,o)&&(e[o]=t[o]);return e}function f(e){try{t.emit("internal-error",e)}catch(n){}}return t||(t=r),e.inPlace=s,e.flag=i,e}},{1:18,ee:"QJf3ax"}]},{},["G9z0Bl",3,8]);</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="origin">
<title>drchrono</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular-resource.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular-cookies.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/2.2.2/js/bootstrap.min.js"></script>
<link href="//netdna.bootstrapcdn.com/bootstrap/2.2.2/css/bootstrap.min.css" rel="stylesheet" media="screen"/>
<link href="//netdna.bootstrapcdn.com/bootstrap/2.2.2/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen"/>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet" media="screen"/>
<script src="//cdn.ravenjs.com/1.1.15/angular,jquery,native/raven.min.js"></script>
<script type="text/javascript">(function(){"use strict";Raven.setUser({id:73574,username:"dphaener",email:"[email protected]",});var url="http://[email protected]:9000/2";var options={logger:"javascript-error",includePaths:[/https:\/\/[a-z0-9]+\.cloudfront\.net/,/https:\/\/[a-z0-9]+\.(staging\.)?drchrono\.com/,],};Raven.config(url,options).install();})();</script>
<link rel="stylesheet" type="text/css" href="https://d1lxka6a37cuak.cloudfront.net/site_media/cb-dcf36d4f/web-assets/packed_internal_style.css?6b8ee909"/>
<link rel="stylesheet" type="text/css" href="https://d1lxka6a37cuak.cloudfront.net/site_media/css/themes/classic.css" media="screen" id="theme" />
<link rel="icon" href="https://d1lxka6a37cuak.cloudfront.net/site_media/images/favicon.png" type="image/png" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="https://d1lxka6a37cuak.cloudfront.net/site_media/images/touch.png" />
<script type="text/javascript" src="https://d1lxka6a37cuak.cloudfront.net/site_media/cb-dcf36d4f/web-assets/packed_vendors.js?a831e2ea"></script>
<script type="text/javascript" src="https://d1lxka6a37cuak.cloudfront.net/site_media/cb-dcf36d4f/web-assets/packed_fancybox.js?d63090a8"></script>
<script type="text/javascript" src="https://d1lxka6a37cuak.cloudfront.net/site_media/cb-dcf36d4f/web-assets/packed_drchrono.js?8b5533f1"></script>
<script type="text/javascript">
var siteMediaPath='https://d1lxka6a37cuak.cloudfront.net/site_media';var user_hash="a70ae7b9ac32d7cb1b268a1900e46857";var page_path="/api/appointments";function escapeHtml(unsafe){return unsafe.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;");}
$(document).ready(function(){ $(".django_message").each(function(){$.jGrowl($(this).html(),{life:10000});}); $(".drchrono_data_table").each(function(){$(this).find("tr:odd").addClass("odd");});});
</script>
<script type="text/javascript">$(function(){$.idleTimeout("#idletimeout","#idletimeout a",{keepAliveURL:"/keepalive/",serverResponseEquals:"OK",idleAfter:28800, pollingInterval:600, failedRequests:3, onTimeout:function(){$(this).slideUp();window.location="/accounts/logout";},onIdle:function(){$(this).slideDown();},onResume:function(){$(this).slideUp();}})});
</script>
</head>
<body class="signedin" ng-app="drchrono">
<style type="text/css">
a.tooltipLink {
display: inline-block !important;
}
.icon-lightbulb{
z-index:998 !important;
}
.icon-lightbulb:hover{
color:#D7D700;
-o-transition:.5s;
-ms-transition:.5s;
-moz-transition:.5s;
-webkit-transition:.5s;
transition:.5s;
}
</style>
<script type="text/javascript">
function updateDoctor(doctor) {
if ("" === "Darin Haener") {
return;
}
var currentUrl = window.location.toString();
var newUrl = "";
if (!currentUrl.match(/dphaener/i)) {
//If doctor name is not there in subdomain, add it in.
newUrl = currentUrl.replace("://", "://"+doctor+".");
} else {
newUrl = currentUrl.replace(/dphaener/i, doctor);
}
//alert("Changing doctor to " + selectList.val() + " Current location = " + currentUrl + " New url = " + newUrl);
location.href = newUrl;
}
$(document).ready(function(){
$.widget( "custom.catcomplete", $.ui.autocomplete, {
_renderMenu: function( ul, items ) {
var self = this,
currentCategory = "";
$.each( items, function( index, item ) {
if ( item.category != currentCategory ) {
ul.append( "<li class='ui-autocomplete-category text-info'>" + item.category + "</li>" );
currentCategory = item.category;
}
self._renderItem( ul, item );
});
},
_renderItem: function( ul, item ) {
var custom_class = "patient";
var icon = undefined;
if(item.group) { custom_class="group"; icon="icon-user"; } else if(item.menu) { custom_class="menu"; icon="icon-cog"; } else if(item.doctor) { custom_class="doctor"; icon="icon-user-md"; }
if(!item.group && !item.menu && !item.doctor && !item.patient_photo) { icon="icon-user"; }
if(!item.group && !item.menu && !item.doctor){
var photo = "<span class='icon-holder'><i class='icon-user'></i></span>";
if(item.patient_photo){
photo = "<img src='"+item.patient_photo+"' />";
}
return $( "<li>" )
.append(" <a><table><tr> \
<td class='photo'>" + photo + "</td> \
<td>" + escapeHtml(item.label) + "<br> \
<span class='dob'>" + escapeHtml(item.dob) + "</span> \
</td></tr></table></a> ")
.data( "item.autocomplete", item )
.appendTo( ul );
} else {
return $( "<li>" ).addClass(custom_class)
.append( "<a><i class='" + icon + "'></i> " + escapeHtml(item.label) + "</a>" )
.data( "item.autocomplete", item )
.appendTo( ul );
}
}
});
try{
$(".global-patient-search").catcomplete({
source: function( request, response ) {
$.getJSON( "/patients/comboboxdata/?group=1&menu=1", {
term: request.term,
'calendar':'1'
}, response );
},
minLength: 2,
delay: 400,
focus: function(event, ui) {
event.preventDefault(); //Don't preopulate field
},
select: function(event, data) {
if (data) {
event.preventDefault(); //Keep entry blank
var url = '/patients/';
if (data.item.menu) {
window.location = data.item.value;
} else if (data.item.group) {
window.location = url + "?patient_group_id=" + data.item.value;
} else {
if (supports_html5_storage()) {
localStorage.setItem('lastPatientSearch', data.item.patient_id);
}
window.location = url + data.item.patient_id;
}
}
}
});
} catch(err) {}
function supports_html5_storage() {
try {
if('localStorage' in window && window['localStorage'] !== null){
window.localStorage.setItem('drchrono', true);
return true;
} else {
return false;
}
} catch (e) {
return false;
}
}
function escapeHtml(unsafe) {
return unsafe
.replace(/&/g, "&amp;")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;")
.replace(/"/g, "&quot;")
.replace(/'/g, "&#039;");
}
$("#updateDoctor a").on("click", function(event){
event.preventDefault();
if($(this).parent().hasClass('logout-link')){
location.href = $(this).attr('href');
return;
}
updateDoctor($(this).data("doctor"));
});
$(document).on("click", "#navCollapseTrigger", function(event){
// $("#navCollapseTrigger").on("click", function(event){
event.preventDefault();
$("#navCollapseTarget").slideToggle();
});
$(".tooltipLink").tooltip({
placement: "bottom"
});
});
$(document).on('click', '.btn-read-new-feature', function(e){
var post_id = $(this).data('id');
$.post('/new_features/73574/read/', {'post': post_id}, function(data){
$(".well[data-id=" + post_id + "]").remove();
if(data.posts == 0){
$(".new-product-feature").closest('li').remove();
$("#new_product_features").modal('close');
} else {
$(".countBadgeIdea>small").html(data.posts);
}
})
});
$(document).on('click', '.all-new-features-read', function(e){
e.preventDefault();
$(".new-product-feature").closest('li').remove();
$.post('/new_features/73574/all/', {}, function(){});
})
</script>
<ol id="accessibility-nav" style="display: none;">
<li><a href="#navigation">Skip to navigation</a></li>
<li><a href="#content">Skip to content</a></li>
<li><a href="#sidebar">Skip to sidebar</a></li>
</ol><!-- / accessibility-nav -->
<div class="container-fluid">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="/"><img style="height: 28px" src="https://d1lxka6a37cuak.cloudfront.net/site_media/cb-dcf36d4f/images/logo-new.png"></a>
<div id="toprightnav">
<ul class="nav pull-right">
<li><a><strong>Darin Haener <small>(dphaener)</small></strong></a></li>
<li class="hidden-phone"><a href="/paid_accounts/" class="warning" style="font-weight: bold;">Upgrade my Plan</a></li>
<li class="vertical-divider hidden-phone"></li>
<li><a href="/accounts/logout/" class="tooltipLink" data-original-title="Logout"><i class="icon-power-off"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="toolbar" class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar btn-small" style="float:left;" id="navCollapseTrigger">
<i class="icon-caret-down"></i> Menu
</a>
<div class="nav-collapse collapse">
<style>
/* form field */
.feed {margin: 0 0 5px 0; padding: 7px 0 0 8px; font: 13px Arial; color: #333; border: solid 1px #999999; background: #fff; overflow: auto; }
/* resize one specific tooltip - looks nicer as one line */
#paid-accounts-menu-item ~ .tooltip > .tooltip-inner {
white-space: nowrap;
max-width: 250px;
}
.form-popover {
width: 250px;
}
.form-popover a {
color: #0069D6;
}
.highlight-link {
color: #dd3300 !important;
background: #ffddaa;
}
.highlight-link:hover {
color: #ffffff !important;
}
</style><ul class="nav" role="navigation"><li class="divider-vertical"></li><li class="dropdown"><a href="/">
Schedule
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/">SCHEDULE</a></li><li><a href="/">Calendar</a></li><li><a href="/appointment_profiles/">Appointment Profiles</a></li><li><a href="/appointments/templates/">Appointment Templates</a></li><li><a href="/billing_profiles/">Billing Profiles</a></li><li><a href="/preferences/reminder_profiles/">Reminder Profiles</a></li><li><a href="/preferences/follow_up_reminders/">Follow-up Reminders</a></li><li><a href="/recurring_events/">Recurring Events</a></li><li><a href="/bulk_appointments/">Bulk Appointments</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/clinical/advanced_form_builder/" id="billing-menu-item">
Clinical
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/clinical/advanced_form_builder/">TEMPLATES</a></li><li><a href="/clinical/advanced_form_builder/">Builder</a></li><li><a href="/clinical/template_library/">Library</a></li><li><a href="/clinical/deleted_custom_templates_list/">Archive</a></li><li><a href="/clinical/ipad_custom_templates_list/">Template Reorder</a></li><li><a href="/clinical/complete_note_format/">Complete Note Format</a></li><li><a href="/clinical/onpatient-templates/">OnPatient Templates</a></li><li><a href="/clinical/macros/">Macro Buttons</a></li><li class="divider"></li><li class="nav-header"><a href="/misc/patient_summary/">CLINICAL</a></li><li><a href="/clinical_notes/">Clinical Notes</a></li><li><a href="/misc/audit_log/">Audit Log</a></li><li><a href="/misc/clinical_decision_support_rules/">CDS Rules</a></li><li><a href="/inventory/">Inventory Management</a></li><li class="divider"></li><li class="nav-header"><a href="/misc/mu_2014/">REPORTING</a></li><li><a href="/misc/mu_2014/">Meaningful Use 2014</a></li><li><a href="/misc/cqm_2014/">Clinical Quality Measures</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/patients/">
Patients
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/patients/">PATIENT</a></li><li><a href="/patients/">Patient List</a></li><li><a href="/patients/send_email/">Send Email</a></li><li><a href="/messages/referrals/new/">Send Referral</a></li><li><a href="/onpatient_profile/">OnPatient</a></li><li><a href="/misc/patient_list/">Analytics</a></li><li><a href="/misc/patient_flag/">Patient Flag</a></li><li><a href="/misc/patient_group/">Patient Group</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/analytics/user_report">
Reports
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/analytics/user_report">PRACTICE</a></li><li><a href="/analytics/user_report">Account / User Report</a></li><li><a href="/analytics/productivity_report">Productivity Report</a></li><li><a href="/analytics/reminder_report">Reminder Report</a></li><li><a href="/analytics/prescription_report">Outgoing Prescriptions</a></li><li><a href="/analytics/appointment_report">Appointment Report</a></li><li><a href="/analytics/phone_log_report">Communication Log Report</a></li><li><a href="/analytics/medication_report">Medication Report</a></li><li><a href="/analytics/problem_report">Problem Report</a></li><li><a href="/analytics/allergy_report">Allergy Report</a></li><li><a href="/analytics/advanced_report">Advanced Report</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a target="_self" href="/billing/billing_summary">
Billing
</a><ul class="dropdown-menu"><table><tr><td><li class="nav-header"><a target="_self" href="/billing/billing_summary">BILLING</a></li><li><a target="_self" href="/billing/billing_summary">Billing Summary</a></li><li><a target="_self" href="/billing/live_claims_feed">Live Claims Feed</a></li><li><a target="_self" href="/billing/legacy_transactions">Legacy Transactions</a></li><li><a target="_self" href="/billing/patient_payments">Patient Payments</a></li><li><a target="_self" href="/billing/day_sheet">Day Sheet</a></li><li><a target="_self" href="/billing/transactions">Transactions</a></li><li><a target="_self" href="/billing/remittance_reports">Remittance Reports</a></li><li><a target="_self" href="/billing/unmatched_eras">Unmatched ERAs</a></li><li><a target="_self" href="/billing/accounts_receivable">Accounts Receivable</a></li><li><a target="_self" href="/billing/patient_statements">Patient Statements</a></li><li><a target="_self" href="/billing/product_procedure">Product/Procedure</a></li><li><a target="_self" href="/billing/balance_ledger">Patient Balance Ledger</a></li><li><a target="_self" href="/billing/fee_schedule">Fee Schedule</a></li><li><a target="_self" href="/billing/underpaid_items">Underpaid Items</a></li><li><a target="_self" href="/billing/sales_tax">Sales Tax</a></li></td><td><li class="nav-header"><a target="_self" href="/billing/medical_codes/">CODING</a></li><li><a target="_self" href="/billing/medical_codes/">Code Search</a></li><li><a target="_self" href="/billing/medical_codes/custom_procedures/new">New Custom Procedure</a></li><li><a target="_self" href="/billing/medical_codes/?code_type=custom_procedures">Custom Procedures</a></li><li class="nav-header"><a target="_self" href="/billing/accounts_receivable?report_type=insurance">ENROLLMENTS</a></li><li><a target="_self" href="/billing/payer_ids/">Bulk Edit Payer IDs</a></li><li><a target="_self" href="/billing/insurance_setup/">Insurance Setup</a></li><li><a href="/payer_search/">Payer Search</a></li><li class="nav-header"><a target="_self"
href="/billing/denial_analysis">ANALYSIS</a></li><li><a target="_self"
href="/billing/denial_analysis">Denial Analysis</a></li><li><a target="_self"
href="/billing/payment_analysis">Payment Analysis</a></li></td></tr></table></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/paid_accounts/"
>
Account
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/paid_accounts/">ACCOUNT</a></li><li><a href="/profile/" style="padding-right:2em;">Settings</a></li><li><a href="/paid_accounts/">Upgrade Account</a></li><li><a target="_blank" href="/customer-referral/" class="highlight-link">Refer Colleagues</a></li><li><a href="/setup/" style="padding-right:2em;">Account Setup</a></li><li class="divider"></li><li class="nav-header"><a href="/offices/">PRACTICE SETTINGS</a></li><li><a href="/offices/">Offices</a></li><li><a href="/office_staff/">Staff Members</a></li><li><a href="/permissions/">Staff Permissions</a></li><li><a href="/erx/">eRx Settings</a></li><li class="divider"></li><li class="nav-header"><a href="">OTHER SETTINGS</a></li><li><a href="/custom/">Custom Fields</a></li><li><a href="/api-management/">API</a></li><li><a href="/authorized_apps/">3rd Party Apps</a></li><li><a href="/glass/setup/">Setup Google Glass</a></li><li><a href="/billing/integration_setup/">Link 3rd Party EHR</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/help/">
Help
</a><ul class="dropdown-menu"><li class="nav-header"><a href="https://support.drchrono.com">HELP</a></li><li><a href="/demo/">Live Demo</a></li><li><a href="https://www.drchrono.com/blog/category/new-features/" target="_blank">New Features</a></li><li><a href="http://www.youtube.com/playlist?list=PL90609199C37165EB" target="_blank">Training Videos</a></li><li><a href="https://support.drchrono.com" target="_blank" rel="external">Support Center</a></li></ul></li><li class="divider-vertical"></li><!-- INTERNAL MENU --></ul><div id="invite-modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="invite-modal-label" aria-hidden="true"></div><script>
$(document).ready(function(){
var invite_modal_clone = $("#invite-modal").clone();
$("#invite-modal").detach();
$("body").append($(invite_modal_clone));
var new_messages = 0;
showMessageBadge(new_messages);
var new_tasks = 0;
showTaskBadge(new_tasks);
});
function showMessageBadge(new_messages){
if(new_messages>0){
$("#message_count_display").show();
$("#message_count_display").html(new_messages);
} else {
$("#message_count_display").hide();
}
}
function showTaskBadge(new_tasks){
if(new_tasks>0){
$("#task_count_display").show();
$("#task_count_display").html(new_tasks);
} else {
$("#task_count_display").hide();
}
}
var doctor_id = '62498';
function retrieveMessageCount(){
$.ajax({
url: '/messages/get_unread_message_count/' + doctor_id + '/',
type: 'GET',
dataType: 'json',
data: {},
success: function(data){
if(data.new_messages)
showMessageBadge(data.new_messages);
},
error: function(data){ }
});
}
$('#paid-accounts-menu-item').tooltip('show');
</script>
</div>
<ul class="nav pull-right" style="font-size: 150%;">
<li id="id_messages_toolbar_item">
<a href="/messages/" title="Messages" class="tooltipLink">
<i class="icon-envelope-alt"></i>
<span class="countBadgeSmall badge" id="message_count_display"></span>
</a>
</li>
<li id="id_tasks_toolbar_item">
<a href="/messages/?section_item=70" title="Tasks" class="tooltipLink">
<i class="icon-reorder"></i>
<span class="countBadgeSmall badge" id="task_count_display"></span>
</a>
</li>
</ul>
<form action="?" class="navbar-search pull-right">
<input type="text" class="search-query input-medium typeahead visible-desktop global-patient-search" placeholder="Search" id="id_global_patient_search">
<input type="text" class="search-query input-medium typeahead visible-tablet visible-phone global-patient-search" placeholder="Search">
</form>
</div> <!--end container-->
<div id="navCollapseTarget" class="container" style="display: none;">
<style>
/* form field */
.feed {margin: 0 0 5px 0; padding: 7px 0 0 8px; font: 13px Arial; color: #333; border: solid 1px #999999; background: #fff; overflow: auto; }
/* resize one specific tooltip - looks nicer as one line */
#paid-accounts-menu-item ~ .tooltip > .tooltip-inner {
white-space: nowrap;
max-width: 250px;
}
.form-popover {
width: 250px;
}
.form-popover a {
color: #0069D6;
}
.highlight-link {
color: #dd3300 !important;
background: #ffddaa;
}
.highlight-link:hover {
color: #ffffff !important;
}
</style><ul class="nav" role="navigation"><li class="divider-vertical"></li><li class="dropdown"><a href="/">
Schedule
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/">SCHEDULE</a></li><li><a href="/">Calendar</a></li><li><a href="/appointment_profiles/">Appointment Profiles</a></li><li><a href="/appointments/templates/">Appointment Templates</a></li><li><a href="/billing_profiles/">Billing Profiles</a></li><li><a href="/preferences/reminder_profiles/">Reminder Profiles</a></li><li><a href="/preferences/follow_up_reminders/">Follow-up Reminders</a></li><li><a href="/recurring_events/">Recurring Events</a></li><li><a href="/bulk_appointments/">Bulk Appointments</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/clinical/advanced_form_builder/" id="billing-menu-item">
Clinical
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/clinical/advanced_form_builder/">TEMPLATES</a></li><li><a href="/clinical/advanced_form_builder/">Builder</a></li><li><a href="/clinical/template_library/">Library</a></li><li><a href="/clinical/deleted_custom_templates_list/">Archive</a></li><li><a href="/clinical/ipad_custom_templates_list/">Template Reorder</a></li><li><a href="/clinical/complete_note_format/">Complete Note Format</a></li><li><a href="/clinical/onpatient-templates/">OnPatient Templates</a></li><li><a href="/clinical/macros/">Macro Buttons</a></li><li class="divider"></li><li class="nav-header"><a href="/misc/patient_summary/">CLINICAL</a></li><li><a href="/clinical_notes/">Clinical Notes</a></li><li><a href="/misc/audit_log/">Audit Log</a></li><li><a href="/misc/clinical_decision_support_rules/">CDS Rules</a></li><li><a href="/inventory/">Inventory Management</a></li><li class="divider"></li><li class="nav-header"><a href="/misc/mu_2014/">REPORTING</a></li><li><a href="/misc/mu_2014/">Meaningful Use 2014</a></li><li><a href="/misc/cqm_2014/">Clinical Quality Measures</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/patients/">
Patients
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/patients/">PATIENT</a></li><li><a href="/patients/">Patient List</a></li><li><a href="/patients/send_email/">Send Email</a></li><li><a href="/messages/referrals/new/">Send Referral</a></li><li><a href="/onpatient_profile/">OnPatient</a></li><li><a href="/misc/patient_list/">Analytics</a></li><li><a href="/misc/patient_flag/">Patient Flag</a></li><li><a href="/misc/patient_group/">Patient Group</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/analytics/user_report">
Reports
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/analytics/user_report">PRACTICE</a></li><li><a href="/analytics/user_report">Account / User Report</a></li><li><a href="/analytics/productivity_report">Productivity Report</a></li><li><a href="/analytics/reminder_report">Reminder Report</a></li><li><a href="/analytics/prescription_report">Outgoing Prescriptions</a></li><li><a href="/analytics/appointment_report">Appointment Report</a></li><li><a href="/analytics/phone_log_report">Communication Log Report</a></li><li><a href="/analytics/medication_report">Medication Report</a></li><li><a href="/analytics/problem_report">Problem Report</a></li><li><a href="/analytics/allergy_report">Allergy Report</a></li><li><a href="/analytics/advanced_report">Advanced Report</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a target="_self" href="/billing/billing_summary">
Billing
</a><ul class="dropdown-menu"><table><tr><td><li class="nav-header"><a target="_self" href="/billing/billing_summary">BILLING</a></li><li><a target="_self" href="/billing/billing_summary">Billing Summary</a></li><li><a target="_self" href="/billing/live_claims_feed">Live Claims Feed</a></li><li><a target="_self" href="/billing/legacy_transactions">Legacy Transactions</a></li><li><a target="_self" href="/billing/patient_payments">Patient Payments</a></li><li><a target="_self" href="/billing/day_sheet">Day Sheet</a></li><li><a target="_self" href="/billing/transactions">Transactions</a></li><li><a target="_self" href="/billing/remittance_reports">Remittance Reports</a></li><li><a target="_self" href="/billing/unmatched_eras">Unmatched ERAs</a></li><li><a target="_self" href="/billing/accounts_receivable">Accounts Receivable</a></li><li><a target="_self" href="/billing/patient_statements">Patient Statements</a></li><li><a target="_self" href="/billing/product_procedure">Product/Procedure</a></li><li><a target="_self" href="/billing/balance_ledger">Patient Balance Ledger</a></li><li><a target="_self" href="/billing/fee_schedule">Fee Schedule</a></li><li><a target="_self" href="/billing/underpaid_items">Underpaid Items</a></li><li><a target="_self" href="/billing/sales_tax">Sales Tax</a></li></td><td><li class="nav-header"><a target="_self" href="/billing/medical_codes/">CODING</a></li><li><a target="_self" href="/billing/medical_codes/">Code Search</a></li><li><a target="_self" href="/billing/medical_codes/custom_procedures/new">New Custom Procedure</a></li><li><a target="_self" href="/billing/medical_codes/?code_type=custom_procedures">Custom Procedures</a></li><li class="nav-header"><a target="_self" href="/billing/accounts_receivable?report_type=insurance">ENROLLMENTS</a></li><li><a target="_self" href="/billing/payer_ids/">Bulk Edit Payer IDs</a></li><li><a target="_self" href="/billing/insurance_setup/">Insurance Setup</a></li><li><a href="/payer_search/">Payer Search</a></li><li class="nav-header"><a target="_self"
href="/billing/denial_analysis">ANALYSIS</a></li><li><a target="_self"
href="/billing/denial_analysis">Denial Analysis</a></li><li><a target="_self"
href="/billing/payment_analysis">Payment Analysis</a></li></td></tr></table></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/paid_accounts/"
>
Account
</a><ul class="dropdown-menu"><li class="nav-header"><a href="/paid_accounts/">ACCOUNT</a></li><li><a href="/profile/" style="padding-right:2em;">Settings</a></li><li><a href="/paid_accounts/">Upgrade Account</a></li><li><a target="_blank" href="/customer-referral/" class="highlight-link">Refer Colleagues</a></li><li><a href="/setup/" style="padding-right:2em;">Account Setup</a></li><li class="divider"></li><li class="nav-header"><a href="/offices/">PRACTICE SETTINGS</a></li><li><a href="/offices/">Offices</a></li><li><a href="/office_staff/">Staff Members</a></li><li><a href="/permissions/">Staff Permissions</a></li><li><a href="/erx/">eRx Settings</a></li><li class="divider"></li><li class="nav-header"><a href="">OTHER SETTINGS</a></li><li><a href="/custom/">Custom Fields</a></li><li><a href="/api-management/">API</a></li><li><a href="/authorized_apps/">3rd Party Apps</a></li><li><a href="/glass/setup/">Setup Google Glass</a></li><li><a href="/billing/integration_setup/">Link 3rd Party EHR</a></li></ul></li><li class="divider-vertical"></li><li class="dropdown"><a href="/help/">
Help
</a><ul class="dropdown-menu"><li class="nav-header"><a href="https://support.drchrono.com">HELP</a></li><li><a href="/demo/">Live Demo</a></li><li><a href="https://www.drchrono.com/blog/category/new-features/" target="_blank">New Features</a></li><li><a href="http://www.youtube.com/playlist?list=PL90609199C37165EB" target="_blank">Training Videos</a></li><li><a href="https://support.drchrono.com" target="_blank" rel="external">Support Center</a></li></ul></li><li class="divider-vertical"></li><!-- INTERNAL MENU --></ul><div id="invite-modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="invite-modal-label" aria-hidden="true"></div><script>
$(document).ready(function(){
var invite_modal_clone = $("#invite-modal").clone();
$("#invite-modal").detach();
$("body").append($(invite_modal_clone));
var new_messages = 0;
showMessageBadge(new_messages);
var new_tasks = 0;
showTaskBadge(new_tasks);
});
function showMessageBadge(new_messages){
if(new_messages>0){
$("#message_count_display").show();
$("#message_count_display").html(new_messages);
} else {
$("#message_count_display").hide();
}
}
function showTaskBadge(new_tasks){
if(new_tasks>0){
$("#task_count_display").show();
$("#task_count_display").html(new_tasks);
} else {
$("#task_count_display").hide();
}
}
var doctor_id = '62498';
function retrieveMessageCount(){
$.ajax({
url: '/messages/get_unread_message_count/' + doctor_id + '/',
type: 'GET',
dataType: 'json',
data: {},
success: function(data){
if(data.new_messages)
showMessageBadge(data.new_messages);
},
error: function(data){ }
});
}
$('#paid-accounts-menu-item').tooltip('show');
</script>
</div>
</div> <!--END NAVBAR-INNER-->
</div> <!--END TOOLBAR-->
</div>
<div id="new_product_features" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" data-remote="/new_features/73574/">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>New Features for you!</h3>
</div>
<div class="modal-body">
<div style="text-align:center;"><i class="icon-spin icon-spinner"></i> Loading &hellip;</div>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary all-new-features-read" data-dismiss="modal" aria-hidden="true">Mark all read</button>
</div>
</div>
<div id="idletimeout">
You will be logged off in <span><!-- countdown placeholder --></span>&nbsp;seconds due to inactivity.
<a id="idletimeout-resume" href="#">Click here to continue using this web page</a>.
</div>
<div id="content" class="container-fluid">
<br>
<br>
<br>
<br>
<br>
<center>
<h1>Something is broken.</h1>
<a href="/"><img src="https://d1lxka6a37cuak.cloudfront.net/site_media/images/500-error.png" alt="" /></a>
<br>
<br>
<p>
Please email <a href="mailto:[email protected]">our team</a> so we can investigate.
</p>
<script type="text/javascript" src="//statuspage-production.s3.amazonaws.com/se.js"></script>
<script type="text/javascript">
window.fetchStatusPage({
pageId: 'ftd21120x69r',
renderTo: '#status-page'
});
</script>
<p><b>Overall system status</b> <span id="status-page">can be checked at <a href="http://status.drchrono.com/">status.drchrono.com</a></span></p>
<p style="opacity: .5">
ws10.int.drchrono.com
</p>
</center>
<div class="container">
<h1>
</h1>
</div>
<div class="legacy_content container">
</div>
</div>
<div class="navbar navbar-fixed-bottom" style="height:32px !important">
<div class="navbar-inner">
<ul class="nav">
<li><a href="javascript:UserVoice.showPopupWidget();" style="padding:5px 20px;"><i class="icon-exclamation-sign"></i> Feedback</a></li>
<li class="divider-vertical"></li>
<li><a href="javascript:Zenbox.show();" style="padding:5px 20px;"><i class="icon-question-sign"></i> Support</a></li>
<li class="divider-vertical"></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" style="padding:5px 20px;">Theme <b class="caret"></b></a>
<ul class="dropdown-menu" id="themeSwitch">
<li><a href="#">Classic</a></li>
<li><a href="#">Dark</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right">
<li>
<a href="https://www.drchrono.com/paid_accounts/" target="_blank" style="padding-top: 6px; opacity: .3">Practice Chat Disabled</a>
</li>
</ul>
</div>
</div>
<div id="zenboxModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="zenboxModal" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"><strong>×</strong></button>
<h3>How can we help you?</h3>
</div>
<div class="modal-body form">
<div class="alert hide">
</div>
<fieldset>
<label>Question</label>
<input type="text" name="question" id="id_question" placeholder="Briefly describe your question" class="input-xxlarge" style="margin-left:-4px;">
</fieldset>
<fieldset>
<label>Details</label>
<textarea name="details" id="id_details" placeholder="Fill in the details here. Please try to be as specific as possible" class="input-xxlarge" rows="5" style="margin-left:-4px;"></textarea>
</fieldset>
<fieldset>
<label>Name</label>
<input type="text" name="name" id="id_submitter_name" placeholder="" class="input-xlarge" value="Darin Haener">
</fieldset>
<fieldset>
<label>Email</label>
<input type="text" name="email" id="id_submitter_email" placeholder="" class="input-xlarge" value="[email protected]">
</fieldset>
</div>
<div class="modal-body success hide">
<h3 style="text-align:center;"><i class="icon-ok"></i> Message submitted. Thanks!</h3>
</div>
<div class="modal-footer">
<button class="btn pull-left" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary btn-submit-zendesk" aria-hidden="true" data-loading-text="<i class='icon-spin icon-spinner'></i> Sending&hellip;">Submit</button>
</div>
</div>
<script>
$(document).ready(function(){
setInterval('periodicUpdate()',600000); // update every 10 minutes
var $path = "https://d1lxka6a37cuak.cloudfront.net/site_media/css/themes/"
$("#themeSwitch a").click(function(e){
e.preventDefault();
// console.log("click");
var $theme = $(this).text().toLowerCase();
//set the new theme
$('#theme').attr("href", $path+$theme+".css");
//set it in the database
$.ajax({
url: '/change_design_theme/' + $theme + '/',
type: 'POST',
dataType: 'json',
});
});
var $theme_from_db = "classic";
});
function periodicUpdate() {
try{
$("#sync-notification").show();
$("#gridcontainer").reload();
} catch(err) {}
}
var uvOptions = {};
(function() {
var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/oiF52MKqEhiZQIVZEoNkw.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
})();
</script>
<script src="https://d1lxka6a37cuak.cloudfront.net/site_media/cb-dcf36d4f/js/drchrono/support/drc_zenbox.js" crossorigin="anonymous"></script>
<script>
var Zenbox = new drcZenbox();
$(document).on('hidden', '#zenboxModal', function(e){ Zenbox.close(); });
$(document).on('click', '.btn-submit-zendesk', function(e){ Zenbox.send(); });
</script>
<script type="text/javascript">
// Start Adroll Code
var adroll_adv_id = "IRMWYNILHBDXVCEASJ4AHJ";
var adroll_pix_id = "G5LBJ66IJNGHRPXIUXV6X3";
(function () {
var oldonload = window.onload;
window.onload = function(){
__adroll_loaded=true;
var scr = document.createElement("script");
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
scr.setAttribute('async', 'true');
scr.type = "text/javascript";
scr.src = host + "/j/roundtrip.js";
((document.getElementsByTagName('head') || [null])[0] ||
document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
if(oldonload){oldonload()}};
}());
</script>
<script type="text/javascript">
// google analytics
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6257968-1']);
_gaq.push(['_setDomainName', 'drchrono.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
// Start Google retarget code
var google_conversion_id = 1016754196;
var google_conversion_label = "4ANMCJS7mAMQlODp5AM";
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1016754196/?value=0&amp;label=4ANMCJS7mAMQlODp5AM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"beacon-6.newrelic.com","queueTime":0,"licenseKey":"cc010cc7dc","agent":"js-agent.newrelic.com/nr-476.min.js","transactionName":"NVFTMEQEVkBUAExdDAwbdxFYBkxaWg0XVRMLGkMLQxFdQQ8HUUcTA0BSDGkTUVZC","applicationID":"491906","errorBeacon":"bam.nr-data.net","applicationTime":1553}</script></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment