﻿function loadDialog(url, dialogtitle) {
    var boxystring = "<div style='width:450px;'>" +
                     "<img src='../images/justcite-logo-small.png' alt='JustCite'/>" +
                     "<br />" +
                     "<div style='text-align:left'>" +
                     "<p style='margin-top:10px'>" +
                     "<strong>You need to be a subscriber to read about this document on JustCite</strong></p>" +
                     "<p>JustCite can show you how this document relates to cases, legislation and articles, how it has been cited and how it has applied other law. To see this information and more, please request a free trial and try it for yourself</p>" +
                     "</div>" +
                     "<a href='../demo-trial/trial-page.aspx'><img style='margin:10px auto; border:none;' src='../images/aqua-trial-button-jc-simple.png'/></a>" +
                     "<div style='text-align:left'>" +
                     "<p style='margin-top:15px'><strong>Already a JustCite subscriber?</strong></p>" +
                     "<p>If you have a JustCite subscription, <strong><a href='"
                     + url +
                     "'>click here to proceed &gt;&gt;</a></strong> </p>" +
                     "</div>" +
                      "<img style='margin:10px auto' src='../images/dialog-hdivider.png' alt='' />" +
                      "<div style='text-align:left'>" +
                      "<p style='font-size:90%; margin-top:5px;'>Looking for the full text of this document? <a href='http://www.justis.com'>Try searching on Justis &gt;&gt;</a></p>" +
                      "</div>" +
                      "</div>";
    new Boxy(boxystring, { modal: false, title: dialogtitle });
    return false;
}