var bw = navigator.appName; 


var showDocAnnotations = true;
var highlightDocAnnotations = false;
var date = true;
var truncateHL = '0';
var truncateBR = '150';

var publication = true;
var isPreview = false;
var topicLinkActive = false;
var hrefParm = 'https://www6.lexisnexis.com/publisher';
var topics = '&topics=single';
var searchBoxLoc = 'none';
var showEmailPrefs = false;

var TopicColor   = "#CC0033";
var TopicFontFamily   = "verdana";
var TopicFontSize  = "16px";
var TopicFontWeight = "bold";
var TopicFontStyle = "inherit";
var TopicTextDecoration = "none";
var TopicOverColor = "#C0C0C0";

var TopicOverFontFamily = TopicFontFamily;
var TopicOverFontSize = TopicFontSize;
var TopicOverFontWeight = TopicFontWeight;
var TopicOverFontStyle = TopicFontStyle;
var TopicOverTextDec = TopicTextDecoration;
var TopicTextTransform = "capitalize";

var headlineColor   = "#000070";
var headlineFontFamily   = "verdana";
var headlineFontSize  = "18px";
var headlineFontWeight = "inherit";
var headlineFontStyle = "inherit";
var headlineTextDecoration = "underline";
var headlineOverColor = "#C0C0C0";
var headlineOverFontFamily = headlineFontFamily;
var headlineOverFontSize = headlineFontSize;
var headlineOverFontWeight = headlineFontWeight;
var headlineOverFontStyle = headlineFontStyle;
var headlineOverTextDec = headlineTextDecoration;
var headlineTextTransform = "capitalize";
  
var PubColor   = "#686868";
var PubFontFamily   = "verdana";
var PubFontSize  = "12px";
var PubFontWeight = "bold";
var PubFontStyle = "inherit";
var PubTextDecoration = "none";
var PubTextTransform = "capitalize";
  
var nibColor   = "#000000";
var nibFontFamily  = "verdana";
var nibFontSize  = "10px";
var nibFontWeight = "normal";
var nibFontStyle = "normal";
var nibTextDecoration = "none";


var docAnnotationColor   = "#333333";
var docAnnotationFontFamily   = "helvetica";
var docAnnotationBGColor = "E0E8EE";
var docAnnotationFontSize  = "10px";
var docAnnotationFontWeight = "inherit";
var docAnnotationFontStyle = "italic";
var docAnnotationTextDecoration = "none";
var docAnnotationTextTransform = "none";


var pageLinksColor   = "#CC0033";
var pageLinksFontFamily   = "verdana";
var pageLinksFontSize  = "10px";
var pageLinksFontWeight = "inherit";
var pageLinksFontStyle = "inherit";
var pageLinksTextDecoration = "none";
var pageLinksOverColor = "#700000";
var pageLinksOverFontFamily = pageLinksFontFamily;
var pageLinksOverFontSize = pageLinksFontSize;
var pageLinksOverFontWeight = pageLinksFontWeight;
var pageLinksOverFontStyle = pageLinksFontStyle;
var pageLinksOverTextDec = pageLinksTextDecoration;  

// netscape values
var TopicFontSizeNS  = "3";
var headlineFontSizeNS  = "2";
var pageLinksFontSizeNS  = '1';
var PubFontSizeNS  = "1";
var nibFontSizeNS  = "2";
var annotationFontSizeNS  = "2";

var topicB="<b>";
var topicBe="</b>";
var topicI="";
var topicIe="";
var headlineB = "";
var headlineBe="";
var headlineI="";
var headlineIe="";
var pubB ="";
var pubBe ="";
var pubI ="";
var pubIe="";
var pageLinksB = '';
var pageLinksBe='';
var pageLinksI='';
var pageLinksIe='';

var BackgroundStyles = new Array("style='background-color:#FFFFFF'", "style='background-color:#FFFFFF'");
                                 

var TopicStyles1 = " class='Primary_body'";

  
var TopicStyles2 = " style='font-family:" + TopicFontFamily + "; font-size:" + TopicFontSize
  + "; color:" + TopicColor + "; text-decoration:" + TopicTextDecoration + "; text-transform:" + TopicTextTransform
  + "; font-weight:" + TopicFontWeight + "; font-style:" + TopicFontStyle + "'";
  
  
var HeadlineStyles = " class=\"Topic_Top_Text\" ";  
  

  
var PageLinksStyles = " onMouseover=\"this.style.color='" + pageLinksOverColor 
  + "'; this.style.fontFamily='" + pageLinksOverFontFamily + "'; this.style.fontSize='" + pageLinksOverFontSize
  + "'; this.style.fontWeight='" + pageLinksOverFontWeight + "'; this.style.fontStyle='" + pageLinksOverFontStyle
  + "';  this.style.textDecoration='" + pageLinksOverTextDec + "'\" onMouseout=\"this.style.color='" + pageLinksColor
  + "'; this.style.textDecoration='" + pageLinksTextDecoration + "'; this.style.fontFamily='" + pageLinksFontFamily
  + "'; this.style.fontSize='" + pageLinksFontSize + "'; this.style.fontWeight='" + pageLinksFontWeight
  + "'; this.style.fontStyle='" + pageLinksFontStyle + "'\" style='font-family:" + pageLinksFontFamily
  + "; font-size:" + pageLinksFontSize + "; color:" + pageLinksColor + "; text-decoration:" + pageLinksTextDecoration
  + "; font-weight:" + pageLinksFontWeight + "; font-style:" + pageLinksFontStyle + "'";

var PageTextStyles = " style='font-family:" + pageLinksFontFamily
  + "; font-size:" + pageLinksFontSize + "; color:" + pageLinksColor + "; text-decoration:" + pageLinksTextDecoration
  + "; font-weight:" + pageLinksFontWeight + "; font-style:" + pageLinksFontStyle + "'";

function validateHref(lnk) {
  if (isPreview) {
    return "#";
  } 
  else {
    return lnk;
  }
}

function getTarget() {
  if (isPreview) {
    return "";
  } 
  else {
    return " target=\"new\"";
  }
}

function outputSearchForm() {
    document.writeln("<form  method=\"post\" onSubmit=\"return checkSearch();\" name=\"frmMain\" action=\"https://www6.lexisnexis.com/publisher/EndUser?Action=UserSearchDocuments&orgId=548&topicId=100000545\">");
    document.writeln("<span " + PageTextStyles + ">Search Document List: </span><input type=\"text\" name=\"terms\" id=\"terms\"> <input value=\"Go\" type=\"submit\">");
    document.writeln(" <a " + PageLinksStyles + " href=\"javascript:launchFQUserHelp('https://www6.lexisnexis.com/publisher','eusearchtips.asp',false,1500)\">Tips</a></form>");
}

