var timestamp = "2010-02-16 16:12:50";

// This variable should be set ABOVE of this included script in INLINE javascript code.
var exclude = (exclude == undefined) ? false : exclude;
exclude = (!document.getElementById || !document.getElementsByTagName || !document.insertBefore) ? true : exclude;

var protocol = (location.protocol == 'https:') ? "https" : "http";
var this_page = getURI();

var recipe = "";
var expiration = "";

var old_timestamp = getCookie('timestamp');
if (old_timestamp) {
  timestamp = old_timestamp;
}

if (!exclude) {		// we only run the code if we can use this functionality
  var script = document.createElement("script");
  script.setAttribute("type","text/javascript");
  script.setAttribute("src","/sitetuners/apply_recipe.js");
  var head = document.getElementsByTagName("head")[0];
  if (head) {
    head.appendChild(script);
  }
  
  // Retrieve the recipe from the cookies
  recipe = getCookie("recipe");
  expiration = getCookie("expiration") - 0;
  var now = new Date();
  
  // Check for a new recipe just if the expiration has gone invalid
  if (isNaN(expiration) || (expiration < now.getTime())) {
    // The served script will remove the exclude marker
    var script = document.createElement("script");
    script.setAttribute("type","text/javascript");
    script.setAttribute("src","/cookie.php?timestamp="+timestamp);
    var head = document.getElementsByTagName("head")[0];
    if (head) {
      head.appendChild(script);
    }
  }
}

// if sitetuners_exclude has not been set to false in the above code hide any client
// html so we can begin to make the page changes in sitetuners_handler()
if (!exclude) {
  document.write('<style type=\"text/css\">');
  document.write('#sitetuners_hidden96 { display:none }');
  
  if (navigator.appName.indexOf("Opera") != -1) {
    document.write("font, b, h2, h3 {font-family:Arial}");
  }
  
  document.write('</style>');
}

// Auxiliary functions
function setInnerHTML (element,html) {
  if ((element == undefined) || (element == null)) {
    return;
  }
  
  if (typeof(element) == "string") {
    element = document.getElementById(element);
  }
  
  if ((element == undefined) || (element == null) || (element.innerHTML == undefined) || (element.innerHTML == null)) {
    return;
  }
  
  if ((html == undefined) || (html == null) || (html.toString == undefined) || (html.toString == null)) {
    html = "";
  }
  
  element.innerHTML = html.toString();
}

function getInnerHTML (element) {
  if ((element == undefined) || (element == null)) {
    return "";
  }
  
  if (typeof(element) == "string") {
    element = document.getElementById(element);
  }
  
  if ((element == undefined) || (element == null) || (element.innerHTML == undefined) || (element.innerHTML == null) || (typeof(element.innerHTML) != "string")) {
    return "";
  }
  
  return element.innerHTML;
}

function remove (element) {
  if ((element == undefined) || (element == null)) {
    return;
  }
  
  if (typeof(element) == "string") {
    element = document.getElementById(element);
  }
  
  if ((element == undefined) || (element == null) || (element.parentNode == undefined) || (element.parentNode == null) || (element.parentNode.removeChild == undefined) || (element.parentNode.removeChild == null)) {
    return;
  }
  
  element.parentNode.removeChild(element);
}

function sortNumber(a, b) {
  return a - b;
}

function get_link(the_link, the_text, display_it, make_lower, the_level) {
  if (make_lower) {
    the_text = the_text.toLowerCase();
  }
  else {
    // if too long shorten to 35
    var the_length = 26;
    if (the_text.length > 19 && the_level > 2) {
      the_text = the_text.substring(0,15) + '...';
    }
  }
  
  if (display_it) {
    return('<a href="' + the_link + '">' + the_text + '</a>');
  }
  else {
    // FOR NOW RETURN UNMASKED URL - CODE NEEDS TO BE WRITTEN - SEE SITETUNERS
    return('<a href="' + the_link + '">' + the_text + '</a>');
  }
}

function buildCrumbs(page_name, sitemap) {
  // Create the menuing structure
  var page_index = 0;
  if (page_name) {
    for (page_index = 0; page_index < sitemap.length; page_index++) {
      if (sitemap[page_index][0] == page_name) {
        break;
      }
    }
  }
  if (page_index == sitemap.length) {
    page_index = 0;
  }

  var page_level = sitemap[page_index][2];
  var breadcrumbs = '';
  if (sitemap[page_index][4] == 1) {
    breadcrumbs = get_link(sitemap[page_index-1][0], sitemap[page_index-1][1], sitemap[page_index-1][3], 1, page_level);
  }
  else {
    breadcrumbs = get_link(sitemap[page_index][0], sitemap[page_index][1], sitemap[page_index][3], 1, page_level);
  }
  
  for (j = page_index-1; j >= 0; j--) {
    if (sitemap[j][2] < page_level) {
      page_level = sitemap[j][2];
      breadcrumbs = get_link(sitemap[j][0], sitemap[j][1], sitemap[j][3], 1, page_level) + ' > ' + breadcrumbs;
    }
  }
  return (breadcrumbs);
}

function buildMenu(page_name, sitemap) {
  // Create the menuing structure
  var page_index = 0;
  if (page_name) {
    for (page_index = 0; page_index < sitemap.length; page_index++) {
      if (sitemap[page_index][0] == page_name) {
        break;
      }
    }
  }
  if (page_index == sitemap.length) {
    page_index = 0;
  }
  
  var page_id = page_index;
  var open_nav = new Array;
  open_nav[0] = page_id;
  var page_level = sitemap[page_index][2];
  var i = 1;
  for (var j = page_index-1; j >= 0; j--) {
    if (sitemap[j][2] < page_level) {
      page_level = sitemap[j][2];
      open_nav[i] = j;
      i++;
    }
  }
  
  // Create array with all submenus open that should be open
  var final_nav = new Array();
  var k = 0;
  for (i = 0; i < open_nav.length; i++) {
    j = open_nav[i];
    if ((j < (sitemap.length-1)) && (sitemap[j][2] < sitemap[j+1][2])) {
      // add all children
      j++;
      page_level = sitemap[j][2];
      while (j <= (sitemap.length-1) && (sitemap[j][2] >= page_level)) {
        if (sitemap[j][2] == page_level && (page_level != 3 || page_index == j)) {
          final_nav[k] = j;
          k++;
        }
        j++;
      }
    }				
  }
  final_nav[k] = 0;
  final_nav = final_nav.sort(sortNumber);
  
  // workaround
  var j=0;
  var final_nav = new Array();
  for (i=0; i<sitemap.length; i++) {
    if (sitemap[i][2] < 3 || i==page_index) {
      final_nav[j] = i;
      j++;
    }
  }
  final_nav = final_nav.sort(sortNumber);
  
  // build menu structure
  var menu_structure = '';
  page_level = 0;
  if (sitemap.length > 0) {
    for (j = 0; j < final_nav.length; j++) {
      i = final_nav[j];
      if (i == 164) {
        menu_structure += '<br />&nbsp;<strong>Personal</strong><br />';
      }
      if (i == 1 || i == 355 || i == 356 || i == 357) {
        menu_structure += '<br />';
      }
      if (page_level != sitemap[i][2]) {
        page_level = sitemap[i][2];
      }
      menu_structure += '&nbsp;';
      
      if (page_level > 1 && i != 1 && i != 355 && i != 356 && i != 357) {
        for (k = 1; k < page_level; k++) {
          menu_structure += '&nbsp;&nbsp;';
        }
      }
      if (i == page_id) {
        menu_structure += '<b>';
      }
      if (sitemap[i][4] == 0) {
        menu_structure += get_link(sitemap[i][0], sitemap[i][1], sitemap[i][3], 0, page_level);
        if (i == page_id)
        menu_structure += '&nbsp;<font color="red">&#187;</font>';
        menu_structure += '<br />';
      }
      else if (sitemap[i][4] != 2) {
        menu_structure += get_link(sitemap[i-1][0], sitemap[i-1][1], sitemap[i-1][3], 0, page_level);
        if (i == page_id){
        menu_structure += '&nbsp;<font color="red">&#187;</font>';}
        menu_structure += '<br />';
      }
      if (i == page_id) {
        menu_structure += '</b>';
      }
      if (i == 1) {
        menu_structure += '<br />&nbsp;<strong>Business</strong><br />';
      }
    }
  }
  return (menu_structure);
}

function setCookie(cookieName, cookieValue, cookieMonths) {
  // the following code sets the expiration date for the sitetuners cookies
  // the default is one year if the third argument is not passed

  if (arguments.length == 2) {
    var cookieMonths = 2;
  }
  
  // 30d*24hr*60min*60sec*1000;
  cookieMonths *= 2592000000;
  
  var expiration = new Date();
  expiration.setTime(expiration.getTime() + cookieMonths);

  // set the domain this script is running on
  var domain = document.domain;
  if (!domain.match(/^\d+\.\d+\.\d+\.\d+$/)) {
    if (domain.match(/(\..+\..+$)/)) {
      domain = RegExp.$1;
    }
    else {
      domain = '';
    }
  }

  if (domain == '') {
    document.cookie = cookieName + '=' + cookieValue + '; path=/; expires=' + expiration.toGMTString();
  } else {
    document.cookie = cookieName + '=' + cookieValue + '; path=/; expires=' + expiration.toGMTString() + '; domain=' + domain;
  }

  var cookies = document.cookie;
  if (cookies.indexOf(cookieName) != -1) {	// cookie was set
    return true;
  }
  else {
    return false;
  }
}	// end setCookie

function getURI () {
  // Change protocol to HTTP, keep just up to /us, and strip meta data
  return document.URL.replace(/^https/i,"http").replace(/\/us.*$/i,"").replace(/(\?|#).*$/,"");
}

function getCookie(cookieName) {
  // check to see if we have a cookie set
  var cookie = '';
  var cookies = document.cookie;
  cookies = cookies.split(/;\s*/);
  for (var n=0;n<cookies.length;n++) {	// get the cookie
    cookies[n] = cookies[n].split("=");
    if (cookies[n][0] == cookieName) {
      if (cookies[n].length > 1) {
        cookie = unescape(cookies[n][1]);
      }
      break;
    }
  }
  return cookie;
}

// The sitetuners_handler function changes any customer specific display issues.
function sitetuners_handler(tuneup_id) {
  if ((navigator.appName.indexOf("Opera") != -1) && (this_page.indexOf("cart.php") != -1)) {
    var tmpBody = document.getElementsByTagName("body")[0];
    var tmpVar = getInnerHTML(tmpBody);
    tmpVar = tmpVar.replace(/<font.*?>/i,"");
    tmpVar = tmpVar.replace(/<p.*?><font/i,"<font");
    setInnerHTML(tmpBody,tmpVar);
  }
  switch (tuneup_id) {
  case 96:
    if (exclude) {
      return;
    }
    
    // if the recipe is still blank then the on-demand javascript did not finish.
    // set the recipe to the default value and save it as a cookie so this user
    // continues to get the original website displayed to them. also delete a 
    // transaction cookie if for some reason one exists in this browser.
    if (recipe == '') {
    }
    
    // Parse sitetuners_recipe into variables
    recipe = recipe.split("");
    sitetuners_var01 = recipe[0];
    
    // 0 - page name
    // 1 - text to show up in menus and breadcrumbs
    // 2 - menu level
    // 3 - indicator on whether or not to display html href or javascript href
    // 4 - indicator if menu item is displayed on breadcrumbs only (for form submitted pages) 1=yes, 0=no
    var sitemap = new Array(); {
    sitemap[0] = ['http://www.ilrg.com/index.html', 'Home', 0, 1, 0];
    sitemap[1] = ['http://www.ilrg.com/forms/index.html', 'Forms', 1, 1, 0];
    sitemap[2] = ['http://www.ilrg.com/forms/st_buyingandselling.html', 'Buying &amp; Selling', 2, 0, 0];
    sitemap[3] = ['http://www.ilrg.com/forms/business-sale.html', 'Agreement to Sell Business', 3, 0, 0];
    sitemap[4] = ['http://www.ilrg.com/forms/sellartwork.html', 'Agreement to Sell Works of Art', 3, 0, 0];
    sitemap[5] = ['http://www.ilrg.com/forms/sellprop.html', 'Agreement to Sell Personal Property', 3, 0, 0];
    sitemap[6] = ['http://www.ilrg.com/forms/billsale.html', 'Bill of Sale of Personal Property (Warranty)', 3, 0, 0];
    sitemap[7] = ['http://www.ilrg.com/forms/billofsale-warranty', 'Bill of Sale of Personal Property (Warranty)', 3, 0, 1];
    sitemap[8] = ['http://www.ilrg.com/forms/billsale-asis.html', 'Bill of Sale of Personal Property (No Warranty)', 3, 0, 0];
    sitemap[9] = ['http://www.ilrg.com/forms/billofsale-asis', 'Bill of Sale of Personal Property (No Warranty)', 3, 0, 1];
    sitemap[10] = ['http://www.ilrg.com/forms/billofsaleboat.html', 'Bill of Sale of Boat/Vessel (Warranty)', 3, 0, 0];
    sitemap[11] = ['http://www.ilrg.com/forms/billofsaleboat-warranty', 'Bill of Sale of Boat/Vessel (Warranty)', 3, 0, 1];
    sitemap[12] = ['http://www.ilrg.com/forms/billofsaleboat-asis.html', 'Bill of Sale of Boat/Vessel (No Warranty)', 3, 0, 0];
    sitemap[13] = ['http://www.ilrg.com/forms/billofsaleboat-asis', 'Bill of Sale of Boat/Vessel (No Warranty)', 3, 0, 1];
    sitemap[14] = ['http://www.ilrg.com/forms/billofsaleauto.html', 'Bill of Sale of Motor Vehicle (Warranty)', 3, 0, 0];
    sitemap[15] = ['http://www.ilrg.com/forms/billofsaleauto-warranty', 'Bill of Sale of Motor Vehicle (Warranty)', 3, 0, 1];
    sitemap[16] = ['http://www.ilrg.com/forms/billofsaleauto-asis.html', 'Bill of Sale of Motor Vehicle (No Warranty)', 3, 0, 0];
    sitemap[17] = ['http://www.ilrg.com/forms/billofsaleauto-asis', 'Bill of Sale of Motor Vehicle (No Warranty)', 3, 0, 1];
    sitemap[18] = ['http://www.ilrg.com/forms/busbillofsale.html', 'Bill of Sale of Business', 3, 0, 0];
    sitemap[19] = ['http://www.ilrg.com/forms/exclusiv.html', 'Exclusive Right to Sell', 3, 0, 0];
    sitemap[20] = ['http://www.ilrg.com/forms/installmentsale.html', 'Installment Sale &amp; Security Agreement', 3, 0, 0];
    sitemap[21] = ['http://www.ilrg.com/forms/listing.html', 'Open Listing Realty Agreement', 3, 0, 0];
    sitemap[22] = ['http://www.ilrg.com/forms/quitclam.html', 'Quitclaim Bill of Sale', 3, 0, 0];
    sitemap[23] = ['http://www.ilrg.com/forms/quitdeed.html', 'Quitclaim Deed', 3, 0, 0];
    sitemap[24] = ['http://www.ilrg.com/forms/saleofgoods.html', 'Sale of Goods Agreement', 3, 0, 0];
    sitemap[25] = ['http://www.ilrg.com/forms/wrntybil.html', 'Warranty Bill of Sale', 3, 0, 0];
    sitemap[26] = ['http://www.ilrg.com/forms/wrntdeed.html', 'Warranty Deed', 3, 0, 0];
    sitemap[27] = ['http://www.ilrg.com/forms/warrantydeed-vendorslien.html', 'Warranty Deed with Vendor\'s Lien', 3, 0, 0];
    sitemap[28] = ['http://www.ilrg.com/forms/delivdem.html', 'Demand of Delivery', 3, 0, 0];
    sitemap[29] = ['http://www.ilrg.com/forms/cod_term.html', 'Notice of C.O.D. Terms', 3, 0, 0];
    sitemap[30] = ['http://www.ilrg.com/forms/defect.html', 'Product Defect Notice', 3, 0, 0];			
    sitemap[31] = ['http://www.ilrg.com/forms/st_borrowingandlending.html', 'Borrowing &amp; Lending', 2, 0, 0];
    sitemap[32] = ['http://www.ilrg.com/forms/balloon.html', 'Balloon Note', 3, 0, 0];
    sitemap[33] = ['http://www.ilrg.com/forms/consloan.html', 'Consumer Loan Agreement', 3, 0, 0];
    sitemap[34] = ['http://www.ilrg.com/forms/demand.html', 'Demand Note', 3, 0, 0];
    sitemap[35] = ['http://www.ilrg.com/forms/demndpro.html', 'Demand Promissory Note', 3, 0, 0];
    sitemap[36] = ['http://www.ilrg.com/forms/guaranty.html', 'Guaranty', 3, 0, 0];
    sitemap[37] = ['http://www.ilrg.com/forms/notdeflt.html', 'Notice of Default in Payment', 3, 0, 0];
    sitemap[38] = ['http://www.ilrg.com/forms/plgstock.html', 'Pledge of Shares of Stock', 3, 0, 0];
    sitemap[39] = ['http://www.ilrg.com/forms/promisry.html', 'Promissory Installment Note', 3, 0, 0];
    sitemap[40] = ['http://www.ilrg.com/forms/promnote', 'Promissory Installment Note', 3, 0, 1];
    sitemap[41] = ['http://www.ilrg.com/forms/promnote-balloon.html', 'Promissory Installment Note (w/Balloon Payment)', 3, 0, 0];			
    sitemap[42] = ['http://www.ilrg.com/forms/promnote-balloon', 'Promissory Installment Note (w/Balloon Payment)', 3, 0, 1];
    sitemap[43] = ['http://www.ilrg.com/forms/receipt.html', 'Receipt', 3, 0, 0];
    sitemap[44] = ['http://www.ilrg.com/forms/securityagree.html', 'Security Agreement', 3, 0, 0];
    sitemap[45] = ['http://www.ilrg.com/forms/st_businessventures.html', 'Business Ventures', 2, 0, 0];
    sitemap[46] = ['http://www.ilrg.com/forms/agreemnt.html', 'General Agreement', 3, 0, 0];
    sitemap[47] = ['http://www.ilrg.com/forms/salesrep.html', 'Sales Representative Agreement', 3, 0, 0];
    sitemap[48] = ['http://www.ilrg.com/forms/adagency.html', 'Advertising Agency Agreement', 3, 0, 0];
    sitemap[49] = ['http://www.ilrg.com/forms/vfictname.html', 'Conduct of Business Under Fictitious Name', 3, 0, 0];
    sitemap[50] = ['http://www.ilrg.com/forms/jointventure.html', 'Joint Venture Agreement', 3, 0, 0];
    sitemap[51] = ['http://www.ilrg.com/forms/llc-articlesorg.html', 'Articles of Organization', 3, 0, 0];
    sitemap[52] = ['http://www.ilrg.com/forms/llc-articlesorg', 'Articles of Organization', 3, 0, 1];
    sitemap[53] = ['http://www.ilrg.com/forms/llc-opag-man.html', 'Operating Agreement (Manager-Managed)', 3, 0, 0];
    sitemap[54] = ['http://www.ilrg.com/forms/llc-opag-man', 'Operating Agreement (Manager-Managed)', 3, 0, 1];
    sitemap[55] = ['http://www.ilrg.com/forms/llc-opag-mem.html', 'Operating Agreement (Member-Managed)', 3, 0, 0];
    sitemap[56] = ['http://www.ilrg.com/forms/llc-opag-mem', 'Operating Agreement (Member-Managed)', 3, 0, 1];
    sitemap[57] = ['http://www.ilrg.com/forms/partnership-agreement.html', 'Partnership Agreement', 3, 0, 0];
    sitemap[58] = ['http://www.ilrg.com/forms/property-mgmt.html', 'Property Management Agreement', 3, 0, 0];			
    sitemap[59] = ['http://www.ilrg.com/forms/st_creditandcollection.html', 'Credit &amp; Collection', 2, 0, 0];
    sitemap[60] = ['http://www.ilrg.com/forms/credauth.html', 'Authorization to Release Credit Information', 3, 0, 0];
    sitemap[61] = ['http://www.ilrg.com/forms/credinfo.html', 'Credit Information Request', 3, 0, 0];
    sitemap[62] = ['http://www.ilrg.com/forms/paydemnd.html', 'Demand for Payment', 3, 0, 0];
    sitemap[63] = ['http://www.ilrg.com/forms/dispacct.html', 'Disputed Account Settlement', 3, 0, 0];
    sitemap[64] = ['http://www.ilrg.com/forms/linecreditprom.html', 'Line of Credit Promissory Note', 3, 0, 0];
    sitemap[65] = ['http://www.ilrg.com/forms/authreqt.html', 'Requesting Authorization to Release Credit', 3, 0, 0];
    sitemap[66] = ['http://www.ilrg.com/forms/corcredt.html', 'Notice to Correct Credit', 3, 0, 0];
    sitemap[67] = ['http://www.ilrg.com/forms/stopcred.html', 'Notice to Stop Credit Charge', 3, 0, 0];
    sitemap[68] = ['http://www.ilrg.com/forms/refreqst.html', 'Request for Reference', 3, 0, 0];
    sitemap[69] = ['http://www.ilrg.com/forms/st_employment.html', 'Employment', 2, 0, 0];
    sitemap[70] = ['http://www.ilrg.com/forms/applicant-release.html', 'Applicant Information Release', 3, 0, 0];
    sitemap[71] = ['http://www.ilrg.com/forms/employmentapp.html', 'Application for Employment', 3, 0, 0];
    sitemap[72] = ['http://www.ilrg.com/forms/assignpre-emp.html', 'Assignment of Pre-Employment Works', 3, 0, 0];

    sitemap[73] = ['http://www.ilrg.com/forms/commission.html', 'Commission Agreement for Independent Contractor', 3, 0, 0];
    sitemap[74] = ['http://www.ilrg.com/forms/commission', 'Commission Agreement for Independent Contractor', 3, 0, 1];
    sitemap[75] = ['http://www.ilrg.com/forms/commission-indem.html', 'Commission Agreement with Indemnity Clause', 3, 0, 0];
    sitemap[76] = ['http://www.ilrg.com/forms/commission-indem', 'Commission Agreement with Indemnity Clause', 3, 0, 1];

    sitemap[77] = ['http://www.ilrg.com/forms/contrctr.html', 'Contractor Agreement', 3, 0, 0];
    sitemap[78] = ['http://www.ilrg.com/forms/nocompet.html', 'Employee Non-Compete Agreement', 3, 0, 0];
    sitemap[79] = ['http://www.ilrg.com/forms/non-disc.html', 'Employee Non-Disclosure Agreement', 3, 0, 0];
    
    sitemap[80] = ['http://www.ilrg.com/forms/employ-confid-st.html', 'Employee Confidentiality, Non-Compete', 3, 0, 0];
    sitemap[81] = ['http://www.ilrg.com/forms/employ-confid', 'Employee Confidentiality, Non-Compete', 3, 0, 1];
    
    sitemap[82] = ['http://www.ilrg.com/forms/employmt.html', 'Employment Agreement', 3, 0, 0];
    sitemap[83] = ['http://www.ilrg.com/forms/employ-release.html', 'Employment Separation Agreement', 3, 0, 0];
    sitemap[84] = ['http://www.ilrg.com/forms/indep-contractor.html', 'Independent Contractor Agreement', 3, 0, 0];

    sitemap[85] = ['http://www.ilrg.com/forms/independent-contractor-addendum.html', 'Independent Contractor Non-Compete Agreement Addendum', 3, 0, 0];

    sitemap[86] = ['http://www.ilrg.com/forms/telecommuting.html', 'Telecommuting Agreement', 3, 0, 0];
    sitemap[87] = ['http://www.ilrg.com/forms/discipln.html', 'Disciplinary Notice', 3, 0, 0];
    sitemap[88] = ['http://www.ilrg.com/forms/drugtest.html', 'Consent for Drug/Alcohol Testing', 3, 0, 0];
    sitemap[89] = ['http://www.ilrg.com/forms/dismisal.html', 'Notice of Dismissal', 3, 0, 0];
    sitemap[90] = ['http://www.ilrg.com/forms/terminat.html', 'Notice of Termination Due to Work Rules Violation', 3, 0, 0];
    sitemap[91] = ['http://www.ilrg.com/forms/payrlded.html', 'Payroll Deduction Authorization', 3, 0, 0];
    sitemap[92] = ['http://www.ilrg.com/forms/deposit.html', 'Direct Deposit Authorization', 3, 0, 0];
    sitemap[93] = ['http://www.ilrg.com/forms/polygraf.html', 'Polygraph Consent', 3, 0, 0];
    sitemap[94] = ['http://www.ilrg.com/forms/employ-warning.html', 'Warning for Unsatisfactory Performance', 3, 0, 0];
    sitemap[95] = ['http://www.ilrg.com/forms/acuerdo-de-contratista-independiente.html', 'Independent Contractor Agreement (Spanish Translation)', 3, 0, 0];

    sitemap[96] = ['http://www.ilrg.com/forms/st_leasesandrealestate.html', 'Leases &amp; Real Estate', 2, 0, 0];
    sitemap[97] = ['http://www.ilrg.com/forms/lease.html', 'Agreement to Lease (Residential Lease)', 3, 0, 0];
    sitemap[98] = ['http://www.ilrg.com/forms/lease-res', 'Agreement to Lease (Residential Lease)', 3, 0, 1];
    sitemap[99] = ['http://www.ilrg.com/forms/commleas.html', 'Agreement to Lease (Commercial Lease)', 3, 0, 0];
    sitemap[100] = ['http://www.ilrg.com/forms/lease-comm', 'Agreement to Lease (Commercial Lease)', 3, 0, 1];
    sitemap[101] = ['http://www.ilrg.com/forms/equiplease.html', 'Agreement to Lease (Equipment Lease) (w/Warranty)', 3, 0, 0];
    sitemap[102] = ['http://www.ilrg.com/forms/lease-equip-warranty', 'Agreement to Lease (Equipment Lease) (w/Warranty)', 3, 0, 1];
    sitemap[103] = ['http://www.ilrg.com/forms/lease-equip-asis.html', 'Agreement to Lease (Equipment Lease) (Limited Warranty)', 3, 0, 0];
    sitemap[104] = ['http://www.ilrg.com/forms/lease-equip-asis', 'Agreement to Lease (Equipment Lease) (Limited Warranty)', 3, 0, 1];

    sitemap[105] = ['http://www.ilrg.com/forms/lease-res-ext.html', 'Agreement to Extend Lease (Residential Lease)', 3, 0, 0];
    sitemap[106] = ['http://www.ilrg.com/forms/lease-com-ext.html', 'Agreement to Extend Lease (Commercial Lease)', 3, 0, 0];

    sitemap[107] = ['http://www.ilrg.com/forms/sublease.html', 'Agreement to Sublease/Sublet', 3, 0, 0];
    sitemap[108] = ['http://www.ilrg.com/forms/sublease', 'Agreement to Sublease/Sublet', 3, 0, 1];

    sitemap[109] = ['http://www.ilrg.com/forms/realestate-lead-rental.html', 'Lead-Based Paint Disclosure Statement (Rental)', 3, 0, 0];
    sitemap[110] = ['http://www.ilrg.com/forms/lease-personal.html', 'Lease of Personal Property', 3, 0, 0];
    sitemap[111] = ['http://www.ilrg.com/forms/lease-to-purchase.html', 'Lease to Purchase Option Agreement', 3, 0, 0];				
    sitemap[112] = ['http://www.ilrg.com/forms/listing.html', 'Open Listing Realty Agreement', 3, 0, 0];							
    sitemap[113] = ['http://www.ilrg.com/forms/exoption.html', 'Tenant\'s Notice to Exercise Purchase Option', 3, 0, 0];
    sitemap[114] = ['http://www.ilrg.com/forms/vacate.html', 'Landlord\'s Notice to Vacate', 3, 0, 0];
    sitemap[115] = ['http://www.ilrg.com/forms/rental-checklist.html', 'Rental Property Inspection Checklist', 3, 0, 0];
    sitemap[116] = ['http://www.ilrg.com/forms/reslease-guaranty.html', 'Residential Lease Guaranty & Guarantor Application', 3, 0, 0];
    sitemap[117] = ['http://www.ilrg.com/forms/rentlapp.html', 'Residential Rental Application', 3, 0, 0];
    sitemap[118] = ['http://www.ilrg.com/forms/rentlapp-alt.html', 'Residential Rental Application', 3, 0, 0];
    sitemap[119] = ['http://www.ilrg.com/forms/threeday.html', 'Notice to Vacate for Non-Payment of Rent', 3, 0, 0];
    sitemap[120] = ['http://www.ilrg.com/forms/deedoftrust.html', 'Deed of Trust', 3, 0, 0];
    sitemap[121] = ['http://www.ilrg.com/forms/grantdeed.html', 'Grant Deed', 3, 0, 0];
    sitemap[122] = ['http://www.ilrg.com/forms/realestate-lead-sales.html', 'Lead-Based Paint Disclosure Statement (Sales)', 3, 0, 0];
    sitemap[123] = ['http://www.ilrg.com/forms/mortdeed.html', 'Mortgage Deed', 3, 0, 0];
    sitemap[124] = ['http://www.ilrg.com/forms/quitclam.html', 'Quitclaim Bill of Sale', 3, 0, 0];
    sitemap[125] = ['http://www.ilrg.com/forms/quitdeed.html', 'Quitclaim Deed', 3, 0, 0];
    sitemap[126] = ['http://www.ilrg.com/forms/realestate-purchase-co.html', 'Real Estate Purchase Contract (Condominium)', 3, 0, 0];
    sitemap[127] = ['http://www.ilrg.com/forms/realestate-purchase-fr.html', 'Real Estate Purchase Contract (Farm and Ranch)', 3, 0, 0];
    sitemap[128] = ['http://www.ilrg.com/forms/realestate-purchase.html', 'Real Estate Purchase Contract (Residential)', 3, 0, 0];
    sitemap[129] = ['http://www.ilrg.com/forms/realestate-purchase-up.html', 'Real Estate Purchase Contract (Unimproved Property)', 3, 0, 0];
    sitemap[130] = ['http://www.ilrg.com/forms/realestate-addendum-backup.html', 'Real Estate Purchase Contract Addendum: Back-Up Contract', 3, 0, 0];
    sitemap[131] = ['http://www.ilrg.com/forms/realestate-sellerdisc.html', 'Seller\'s Disclosure of Property Condition', 3, 0, 0];
    sitemap[132] = ['http://www.ilrg.com/forms/lease-temp-purchaser.html', 'Temporary Residential Lease (Occupied by Purchaser)', 3, 0, 0];
    sitemap[133] = ['http://www.ilrg.com/forms/lease-temp-seller.html', 'Temporary Residential Lease (Occupied by Seller)', 3, 0, 0];
    sitemap[134] = ['http://www.ilrg.com/forms/wrntybil.html', 'Warranty Bill of Sale', 3, 0, 0];
    sitemap[135] = ['http://www.ilrg.com/forms/wrntdeed.html', 'Warranty Deed', 3, 0, 0];
    sitemap[136] = ['http://www.ilrg.com/forms/warrantydeed-debt.html', 'Warranty Deed Subject to Debt', 3, 0, 0];
    sitemap[137] = ['http://www.ilrg.com/forms/warrantydeed-vendorslien.html', 'Warranty Deed with Vendor\'s Lien', 3, 0, 0];
    sitemap[138] = ['http://www.ilrg.com/forms/reslease.html', 'Agreement to Lease - Residential Lease Short Form', 3, 0, 0];
    sitemap[139] = ['http://www.ilrg.com/forms/st_protectionoflegalrights.html', 'Protection of Rights', 2, 0, 0];
    sitemap[140] = ['http://www.ilrg.com/forms/affidavt.html', 'Affidavit (General)', 3, 0, 0];
    sitemap[141] = ['http://www.ilrg.com/forms/affidavit-gen', 'Affidavit (General)', 3, 0, 1];
    sitemap[142] = ['http://www.ilrg.com/forms/badcheck.html', 'Bad Check Notice Form', 3, 0, 0];
    sitemap[143] = ['http://www.ilrg.com/forms/clamlien.html', 'Claim of Lien Form', 3, 0, 0];
    sitemap[144] = ['http://www.ilrg.com/forms/confidagree.html', 'Confidentiality Agreement', 3, 0, 0];
    sitemap[145] = ['http://www.ilrg.com/forms/nototsue.html', 'Covenant Not to Sue', 3, 0, 0];
    sitemap[146] = ['http://www.ilrg.com/forms/finalnot.html', 'Final Notice Before Legal Action', 3, 0, 0];
    sitemap[147] = ['http://www.ilrg.com/forms/release.html', 'General Release', 3, 0, 0];
    sitemap[148] = ['http://www.ilrg.com/forms/indemnit.html', 'Indemnity Agreement', 3, 0, 0];
    sitemap[149] = ['http://www.ilrg.com/forms/recission-mutual.html', 'Mutual Recission of Contract', 3, 0, 0];
    sitemap[150] = ['http://www.ilrg.com/forms/mutualrelease.html', 'Mutual Release', 3, 0, 0];
    sitemap[151] = ['http://www.ilrg.com/forms/indvrele.html', 'Release -- Individual ', 3, 0, 0];
    sitemap[152] = ['http://www.ilrg.com/forms/mortrele.html', 'Release -- Mortgage', 3, 0, 0];
    sitemap[153] = ['http://www.ilrg.com/forms/foia_req.html', 'Request Under Freedom of Information Act', 3, 0, 0];
    sitemap[154] = ['http://www.ilrg.com/forms/acuerdo-de-confidencialidad.html', 'Confidentiality Agreement (Spanish Translation) - Acuerdo de Confidencialidad', 3, 0, 0];

    sitemap[155] = ['http://www.ilrg.com/forms/st_transfersandassignments.html', 'Transfers &amp; Assigns', 2, 0, 0];
    sitemap[156] = ['http://www.ilrg.com/forms/assnasts.html', 'Assignment of Assets', 3, 0, 0];
    sitemap[157] = ['http://www.ilrg.com/forms/assgncon.html', 'Assignment of Contract', 3, 0, 0];
    sitemap[158] = ['http://www.ilrg.com/forms/insassgn.html', 'Assignment of Insurance Policy', 3, 0, 0];
    sitemap[159] = ['http://www.ilrg.com/forms/mrtassgn.html', 'Assignment of Mortgage', 3, 0, 0];
    sitemap[160] = ['http://www.ilrg.com/forms/assign-oilgas.html', 'Assignment of Oil and Gas Lease', 3, 0, 0];
    sitemap[161] = ['http://www.ilrg.com/forms/consassn.html', 'Consent of Assignment', 3, 0, 0];
    sitemap[162] = ['http://www.ilrg.com/forms/genassgn.html', 'General Assignment', 3, 0, 0];
    sitemap[163] = ['http://www.ilrg.com/forms/notassgn.html', 'Notice of Assignment', 3, 0, 0];
    sitemap[164] = ['http://www.ilrg.com/forms/st_estateplanning.html', 'Estate Planning', 2, 0, 0];
    sitemap[165] = ['http://www.ilrg.com/forms/lastwill-married-ac.html', 'Last Will (Married with Adult Children)', 3, 0, 0];
    sitemap[166] = ['http://www.ilrg.com/forms/lastwill-married-ac', 'Last Will (Married with Adult Children)', 3, 0, 1];
    sitemap[167] = ['http://www.ilrg.com/forms/lastwill.html', 'Last Will (Married with Minor Children)', 3, 0, 0];
    sitemap[168] = ['http://www.ilrg.com/forms/lastwill-married', 'Last Will (Married with Minor Children)', 3, 0, 1];
    sitemap[169] = ['http://www.ilrg.com/forms/lastwill-married-nc.html', 'Last Will (Married with No Children)', 3, 0, 0];
    sitemap[170] = ['http://www.ilrg.com/forms/lastwill-married-nc', 'Last Will (Married with No Children)', 3, 0, 1];
    sitemap[171] = ['http://www.ilrg.com/forms/lastwill-single-ac.html', 'Last Will (Single with Adult Children)', 3, 0, 0];
    sitemap[172] = ['http://www.ilrg.com/forms/lastwill-single-ac', 'Last Will (Single with Adult Children)', 3, 0, 1];
    sitemap[173] = ['http://www.ilrg.com/forms/lastwill-single-mc.html', 'Last Will (Single with Minor Children)', 3, 0, 0];
    sitemap[174] = ['http://www.ilrg.com/forms/lastwill-single-mc', 'Last Will (Single with Minor Children)', 3, 0, 1];
    sitemap[175] = ['http://www.ilrg.com/forms/lastwill-single-mc-tr.html', 'Last Will (Single with Minor Children - Includes Trust)', 3, 0, 0];
    sitemap[176] = ['http://www.ilrg.com/forms/lastwill-single-mc-tr', 'Last Will (Single with Minor Children - Includes Trust)', 3, 0, 1];
    sitemap[177] = ['http://www.ilrg.com/forms/lastwill-single2.html', 'Last Will (Single with No Children)', 3, 0, 0];
    sitemap[178] = ['http://www.ilrg.com/forms/lastwill-single', 'Last Will (Single with No Children)', 3, 0, 1];
    sitemap[179] = ['http://www.ilrg.com/forms/irrev-trust.html', 'Irrevocable Trust Agreement', 3, 0, 0];
    sitemap[180] = ['http://www.ilrg.com/forms/trustrev.html', 'Revocable Living Trust', 3, 0, 0];
    sitemap[181] = ['http://www.ilrg.com/forms/trustrev-premium.html', 'Revocable Living Trust (Premium Version)', 3, 0, 0];
    sitemap[182] = ['http://www.ilrg.com/forms/trustrev-ab-premium.html', 'AB Revocable Living Trust (Premium Version)', 3, 0, 0];
    sitemap[183] = ['http://www.ilrg.com/forms/trustrev-marital-premium.html', 'Shared/Marital Revocable Living Trust (Premium Version)', 3, 0, 0];
    sitemap[184] = ['http://www.ilrg.com/forms/st_maritalandfamily.html', 'Marital &amp; Family', 2, 0, 0];
    sitemap[185] = ['http://www.ilrg.com/forms/auth-foreigntravel.html', 'Authorization for Foreign Travel with Minor', 3, 0, 0];
    sitemap[186] = ['http://www.ilrg.com/forms/auth-minormed.html', 'Authorization for Minor\'s Medical Treatment', 3, 0, 0];
    sitemap[187] = ['http://www.ilrg.com/forms/auth-tempguardian.html', 'Authorization for Temporary Guardianship of Minor', 3, 0, 0];
    sitemap[188] = ['http://www.ilrg.com/forms/childcustody.html', 'Child Custody and Visitation Agreement', 3, 0, 0];
    sitemap[189] = ['http://www.ilrg.com/forms/parent-consent-surgery.html', 'Consent of Parent for Surgery for Minor', 3, 0, 0];
    sitemap[190] = ['http://www.ilrg.com/forms/divorce-mc.html', 'Divorce (No-Fault, Minor Children)', 3, 0, 0];
    sitemap[191] = ['http://www.ilrg.com/forms/divorce-mc', 'Divorce (No-Fault, Minor Children)', 3, 0, 1];
    sitemap[192] = ['http://www.ilrg.com/forms/divorce-nc.html', 'Divorce (No-Fault, No Children)', 3, 0, 0];
    sitemap[193] = ['http://www.ilrg.com/forms/divorce-nc', 'Divorce (No-Fault, No Children)', 3, 0, 1];
    sitemap[194] = ['http://www.ilrg.com/forms/divorce-mc-setag.html', 'Divorce - Marital Settlement Agreement (Minor Children)', 3, 0, 0];
    sitemap[195] = ['http://www.ilrg.com/forms/divorce-mc-setag', 'Divorce - Marital Settlement Agreement (Minor Children)', 3, 0, 1];
    sitemap[196] = ['http://www.ilrg.com/forms/divorce-nc-setag.html', 'Divorce - Marital Settlement Agreement (No Children)', 3, 0, 0];
    sitemap[197] = ['http://www.ilrg.com/forms/divorce-nc-setag', 'Divorce - Marital Settlement Agreement (No Children)', 3, 0, 1];
    
    sitemap[198] = ['http://www.ilrg.com/forms/divorce-nf-mc-al-judgment.html', 'Divorce - Decree Alabama (Minor Children)', 3, 0, 0];
    sitemap[199] = ['http://www.ilrg.com/forms/divorce-nf-mc-az-decree.html', 'Divorce - Decree Arizona (Minor Children)', 3, 0, 0];
    sitemap[200] = ['http://www.ilrg.com/forms/divorce-nf-mc-ar-decree.html', 'Divorce - Decree Arkansas (Minor Children)', 3, 0, 0];
    sitemap[201] = ['http://www.ilrg.com/forms/divorce-nf-mc-id-decree.html', 'Divorce - Decree Idaho (Minor Children)', 3, 0, 0];
    sitemap[202] = ['http://www.ilrg.com/forms/divorce-nf-mc-il-judgment.html', 'Divorce - Decree Illinois (Minor Children)', 3, 0, 0];
    sitemap[203] = ['http://www.ilrg.com/forms/divorce-nf-mc-ia-decree.html', 'Divorce - Decree Iowa (Minor Children)', 3, 0, 0];
    sitemap[204] = ['http://www.ilrg.com/forms/divorce-nf-mc-mi-jdgmt.html', 'Divorce - Decree Michigan (Minor Children)', 3, 0, 0];
    sitemap[205] = ['http://www.ilrg.com/forms/divorce-nf-mc-ms-jdgmt.html', 'Divorce - Decree Mississippi (Minor Children)', 3, 0, 0];
    sitemap[206] = ['http://www.ilrg.com/forms/divorce-nf-mc-mo-decree.html', 'Divorce - Decree Missouri (Minor Children)', 3, 0, 0];
    sitemap[207] = ['http://www.ilrg.com/forms/divorce-nf-mc-nv-decree.html', 'Divorce - Decree Nevada (Minor Children)', 3, 0, 0];
    sitemap[208] = ['http://www.ilrg.com/forms/divorce-nf-mc-nm-decree.html', 'Divorce - Decree New Mexico (Minor Children)', 3, 0, 0];
    sitemap[209] = ['http://www.ilrg.com/forms/divorce-nf-mc-ny-judgment.html', 'Divorce - Decree New York (Minor Children)', 3, 0, 0];
    sitemap[210] = ['http://www.ilrg.com/forms/divorce-nf-mc-nc-decree.html', 'Divorce - Decree North Carolina (Minor Children)', 3, 0, 0];
    sitemap[211] = ['http://www.ilrg.com/forms/divorce-nf-mc-oh-decree.html', 'Divorce - Decree Ohio (Minor Children)', 3, 0, 0];
    sitemap[212] = ['http://www.ilrg.com/forms/divorce-nf-mc-ok-decree.html', 'Divorce - Decree Oklahoma (Minor Children)', 3, 0, 0];
    sitemap[213] = ['http://www.ilrg.com/forms/divorce-nf-mc-tx-decree.html', 'Divorce - Decree Texas (Minor Children)', 3, 0, 0];
    sitemap[214] = ['http://www.ilrg.com/forms/divorce-nf-mc-ut-decree.html', 'Divorce - Decree Utah (Minor Children)', 3, 0, 0];
    sitemap[215] = ['http://www.ilrg.com/forms/divorce-nf-mc-va-decree.html', 'Divorce - Decree Virginia (Minor Children)', 3, 0, 0];
    sitemap[216] = ['http://www.ilrg.com/forms/divorce-nf-mc-wi-judgment.html', 'Divorce - Decree Wisconsin (Minor Children)', 3, 0, 0];

    sitemap[217] = ['http://www.ilrg.com/forms/divorce-nf-nc-al-judgment.html', 'Divorce - Decree Alabama (No Children)', 3, 0, 0];
    sitemap[218] = ['http://www.ilrg.com/forms/divorce-nf-nc-az-decree.html', 'Divorce - Decree Arizona (No Children)', 3, 0, 0];
    sitemap[219] = ['http://www.ilrg.com/forms/divorce-nf-nc-ar-decree.html', 'Divorce - Decree Arkansas (No Children)', 3, 0, 0];
    sitemap[220] = ['http://www.ilrg.com/forms/divorce-nf-nc-id-decree.html', 'Divorce - Decree Idaho (No Children)', 3, 0, 0];
    sitemap[221] = ['http://www.ilrg.com/forms/divorce-nf-nc-il-judgment.html', 'Divorce - Decree Illinois (No Children)', 3, 0, 0];
    sitemap[222] = ['http://www.ilrg.com/forms/divorce-nf-nc-ia-decree.html', 'Divorce - Decree Iowa (No Children)', 3, 0, 0];
    sitemap[223] = ['http://www.ilrg.com/forms/divorce-nf-nc-ky-decree.html', 'Divorce - Decree Kentucky (No Children)', 3, 0, 0];
    sitemap[224] = ['http://www.ilrg.com/forms/divorce-nf-nc-mi-jdgmt.html', 'Divorce - Decree Michigan (No Children)', 3, 0, 0];
    sitemap[225] = ['http://www.ilrg.com/forms/divorce-nf-nc-ms-jdgmt.html', 'Divorce - Decree Mississippi (No Children)', 3, 0, 0];
    sitemap[226] = ['http://www.ilrg.com/forms/divorce-nf-nc-mo-decree.html', 'Divorce - Decree Missouri (No Children)', 3, 0, 0];
    sitemap[227] = ['http://www.ilrg.com/forms/divorce-nf-nc-ne-decree.html', 'Divorce - Decree Nebraska (No Children)', 3, 0, 0];
    sitemap[228] = ['http://www.ilrg.com/forms/divorce-nf-nc-nv-decree.html', 'Divorce - Decree Nevada (No Children)', 3, 0, 0];
    sitemap[229] = ['http://www.ilrg.com/forms/divorce-nf-nc-nj-decree.html', 'Divorce - Decree New Jersey (No Children)', 3, 0, 0];
    sitemap[230] = ['http://www.ilrg.com/forms/divorce-nf-nc-nm-decree.html', 'Divorce - Decree New Mexico (No Children)', 3, 0, 0];
    sitemap[231] = ['http://www.ilrg.com/forms/divorce-nf-nc-ny-judgment.html', 'Divorce - Decree New York (No Children)', 3, 0, 0];
    sitemap[232] = ['http://www.ilrg.com/forms/divorce-nf-nc-nc-decree.html', 'Divorce - Decree North Carolina (No Children)', 3, 0, 0];
    sitemap[233] = ['http://www.ilrg.com/forms/divorce-nf-nc-oh-decree.html', 'Divorce - Decree Ohio (No Children)', 3, 0, 0];
    sitemap[234] = ['http://www.ilrg.com/forms/divorce-nf-nc-ok-decree.html', 'Divorce - Decree Oklahoma (No Children)', 3, 0, 0];
    sitemap[235] = ['http://www.ilrg.com/forms/divorce-nf-nc-tx-decree.html', 'Divorce - Decree Texas (No Children)', 3, 0, 0];
    sitemap[236] = ['http://www.ilrg.com/forms/divorce-nf-nc-ut-decree.html', 'Divorce - Decree Utah (No Children)', 3, 0, 0];
    sitemap[237] = ['http://www.ilrg.com/forms/divorce-nf-nc-wi-judgment.html', 'Divorce - Decree Wisconsin (No Children)', 3, 0, 0];
    sitemap[238] = ['http://www.ilrg.com/forms/divorce-nf-nc-wy-decree.html', 'Divorce - Decree Wyoming (No Children)', 3, 0, 0];
    
    sitemap[239] = ['http://www.ilrg.com/forms/cohab-agreement.html', 'Living Together Agreement - Nonmarital Cohabitation', 3, 0, 0];
    sitemap[240] = ['http://www.ilrg.com/forms/cohab-gay.html', 'Living Together Agreement - Gay & Lesbian Couples', 3, 0, 0];
    sitemap[241] = ['http://www.ilrg.com/forms/marital-counseling.html', 'Marital Counseling', 3, 0, 0];
    sitemap[242] = ['http://www.ilrg.com/forms/premarit.html', 'Pre-Marital Agreement', 3, 0, 0];
    sitemap[243] = ['http://www.ilrg.com/forms/premarit-substantial-husb.html', 'Pre-Marital Agreement (Husband with Substantial Assets)', 3, 0, 0];
    sitemap[244] = ['http://www.ilrg.com/forms/premarit-substantial-wife.html', 'Pre-Marital Agreement (Wife with Substantial Assets)', 3, 0, 0];
    sitemap[245] = ['http://www.ilrg.com/forms/premarit-substantial-both.html', 'Pre-Marital Agreement (Husband &amp; Wife with Substantial Assets)', 3, 0, 0];
    sitemap[246] = ['http://www.ilrg.com/forms/premarit2.html', 'Pre-Marital Agreement (Alternate)', 3, 0, 0];
    sitemap[247] = ['http://www.ilrg.com/forms/resign.html', 'Resignation', 3, 0, 0];
    sitemap[248] = ['http://www.ilrg.com/forms/fieltrip.html', 'Trip Permission', 3, 0, 0];
    sitemap[249] = ['http://www.ilrg.com/forms/st_namechange.html', 'Name Change', 2, 0, 0];
    sitemap[250] = ['http://www.ilrg.com/forms/namechange-adult.html', 'Petition for Change of Name of Adult', 3, 0, 0];
    sitemap[251] = ['http://www.ilrg.com/forms/namechange-adult', 'Petition for Change of Name of Adult', 3, 0, 1];
    sitemap[252] = ['http://www.ilrg.com/forms/namechange-minor.html', 'Petition for Change of Name of Minor', 3, 0, 0];
    sitemap[253] = ['http://www.ilrg.com/forms/namechange-minor', 'Petition for Change of Name of Minor', 3, 0, 1];
    sitemap[254] = ['http://www.ilrg.com/forms/st_powerofattorney.html', 'Power of Attorney', 2, 0, 0];
    sitemap[255] = ['http://www.ilrg.com/forms/powatrny.html', 'Power of Attorney (General)', 3, 0, 0];
    sitemap[256] = ['http://www.ilrg.com/forms/powatrny-husb-wife.html', 'Power of Attorney (Husband and Wife)', 3, 0, 0];
    sitemap[257] = ['http://www.ilrg.com/forms/powrevoc.html', 'Power of Attorney Revocation', 3, 0, 0];
    sitemap[258] = ['http://www.ilrg.com/forms/powatty-military-gen.html', 'Military General Power of Attorney', 3, 0, 0];
    sitemap[259] = ['http://www.ilrg.com/forms/powatty-military-spec.html', 'Military Special Power of Attorney', 3, 0, 0];
    sitemap[260] = ['http://www.ilrg.com/forms/powerofattorney-gd.html', 'General Durable for Property &amp; Finances (Immediate)', 3, 0, 0];
    sitemap[261] = ['http://www.ilrg.com/forms/powerofattorney-gd', 'General Durable for Property &amp; Finances (Immediate)', 3, 0, 1];
    sitemap[262] = ['http://www.ilrg.com/forms/powerofattorney-gd-disab.html', 'General Durable for Property &amp; Finances (Disability)', 3, 0, 0];
    sitemap[263] = ['http://www.ilrg.com/forms/powerofattorney-gd-disab', 'General Durable for Property &amp; Finances (Disability)', 3, 0, 1];
    sitemap[264] = ['http://www.ilrg.com/forms/states/al-powerofattorney.html', 'Alabama Durable Power of Attorney', 3, 0, 0];
    sitemap[265] = ['http://www.ilrg.com/forms/states/ar-powerofattorney.html', 'Arkansas Statutory General Power of Attorney', 3, 0, 0];
    sitemap[266] = ['http://www.ilrg.com/forms/states/ca-powerofattorney.html', 'California Uniform Statutory Form Power of Attorney (Immediate)', 3, 0, 0];
    sitemap[267] = ['http://www.ilrg.com/forms/states/co-powerofattorney.html', 'Colorado Statutory General Power of Attorney', 3, 0, 0];
    sitemap[268] = ['http://www.ilrg.com/forms/states/ct-powerofattorney.html', 'Connecticut Statutory Short Form Power of Attorney', 3, 0, 0];
    sitemap[269] = ['http://www.ilrg.com/forms/states/dc-powerofattorney.html', 'District of Columbia Statutory General Power of Attorney', 3, 0, 0];
    sitemap[270] = ['http://www.ilrg.com/forms/states/ga-powerofattorney.html', 'Georgia Statutory Power of Attorney', 3, 0, 0];
    sitemap[271] = ['http://www.ilrg.com/forms/states/il-powerofattorneyshort.html', 'Illinois Statutory Short Form Power of Attorney for Property', 3, 0, 0];
    sitemap[272] = ['http://www.ilrg.com/forms/states/mn-powerofattorney.html', 'Minnesota Statutory Short Form Power of Attorney', 3, 0, 0];
    sitemap[273] = ['http://www.ilrg.com/forms/states/mt-powerofattorney.html', 'Montana Statutory Power of Attorney Form', 3, 0, 0];
    sitemap[274] = ['http://www.ilrg.com/forms/states/ne-powerofattorneyshort.html', 'Nebraska Statutory Short Form Power of Attorney', 3, 0, 0];
    sitemap[275] = ['http://www.ilrg.com/forms/states/nm-powerofattorney.html', 'New Mexico Statutory General Power of Attorney for Property, Finances, and Health Care (Immediate)', 3, 0, 0];
    sitemap[276] = ['http://www.ilrg.com/forms/states/ny-powerofattorney-gd-immed.html', 'New York Durable General Power of Attorney Statutory Short Form (Immediate)', 3, 0, 0];
    sitemap[277] = ['http://www.ilrg.com/forms/states/ny-powerofattorney-gd-spring.html', 'New York Durable General Power of Attorney Statutory Short Form (Upon Disability or Future Event)', 3, 0, 0];
    sitemap[278] = ['http://www.ilrg.com/forms/states/ny-powerofattorney-nondur.html', 'New York Nondurable Power of Attorney Statutory Short Form', 3, 0, 0];
    sitemap[279] = ['http://www.ilrg.com/forms/states/nc-powerofattorneyshort.html', 'North Carolina Statutory Short Form of General Power of Attorney', 3, 0, 0];
    sitemap[280] = ['http://www.ilrg.com/forms/states/ok-powerofattorney.html', 'Oklahoma Statutory Form for Power of Attorney', 3, 0, 0];
    sitemap[281] = ['http://www.ilrg.com/forms/states/rh-powerofattorneyshort.html', 'Rhode Island Short Form Power of Attorney', 3, 0, 0];
    sitemap[282] = ['http://www.ilrg.com/forms/states/tx-powerofattorney.html', 'Texas Statutory Durable Power of Attorney', 3, 0, 0];
    sitemap[283] = ['http://www.ilrg.com/forms/states/vt-powerofattorney.html', 'Vermont Power of Attorney for Property', 3, 0, 0];
    sitemap[284] = ['http://www.ilrg.com/forms/states/wi-powerofattorneyfinprop.html', 'Wisconsin Basic Power of Attorney for Finances and Property', 3, 0, 0];
    sitemap[285] = ['http://www.ilrg.com/forms/states/wi-powerofattorney.html', 'Wisconsin Statutory Power of Attorney Form', 3, 0, 0];
    sitemap[286] = ['http://www.ilrg.com/forms/poder-de-abogado.html', 'Power of Attorney (General) (Spanish Translation) - Poder General de Abogado', 3, 0, 0];

    sitemap[287] = ['http://www.ilrg.com/forms/st_healthcare.html', 'Health Care', 2, 0, 0];
    sitemap[288] = ['http://www.ilrg.com/forms/livingwill.html', 'Living Will Declaration', 3, 0, 0];
    sitemap[289] = ['http://www.ilrg.com/forms/livingwill2.html', 'Living Will Declaration (Alternate Form)', 3, 0, 0];
    sitemap[290] = ['http://www.ilrg.com/forms/states/al-livingwill.html', 'Alabama Living Will', 3, 0, 0];
    sitemap[291] = ['http://www.ilrg.com/forms/states/ak-livingwill.html', 'Alaska Statutory Living Will', 3, 0, 0];
    sitemap[292] = ['http://www.ilrg.com/forms/states/az-livingwill.html', 'Arizona Living Will', 3, 0, 0];
    sitemap[293] = ['http://www.ilrg.com/forms/states/ar-livingwill.html', 'Arkansas Living Will', 3, 0, 0];
    sitemap[294] = ['http://www.ilrg.com/forms/states/ca-livingwill.html', 'California Statutory Living Will', 3, 0, 0];
    sitemap[295] = ['http://www.ilrg.com/forms/states/ca-medicaldirective.html', 'California Advance Health Care Directive', 3, 0, 0];
    sitemap[296] = ['http://www.ilrg.com/forms/states/co-medicaltreatmentdec.html', 'Colorado Declaration as to Medical or Surgical', 3, 0, 0];
    sitemap[297] = ['http://www.ilrg.com/forms/states/ct-lifesupport.html', 'Connecticut Form on Withdrawal of Life Support Systems', 3, 0, 0];
    sitemap[298] = ['http://www.ilrg.com/forms/states/de-healthcare.html', 'Delaware Advance Health-Care Directive', 3, 0, 0];
    sitemap[299] = ['http://www.ilrg.com/forms/states/fl-livingwill.html', 'Florida Living Will', 3, 0, 0];
    sitemap[300] = ['http://www.ilrg.com/forms/states/ga-livingwill.html', 'Georgia Living Will', 3, 0, 0];
    sitemap[301] = ['http://www.ilrg.com/forms/states/hi-livingwill.html', 'Hawaii Living Will', 3, 0, 0];
    sitemap[302] = ['http://www.ilrg.com/forms/states/id-livingwill.html', 'Idaho Living Will', 3, 0, 0];
    sitemap[303] = ['http://www.ilrg.com/forms/states/in-livingwill.html', 'Indiana Living Will', 3, 0, 0];
    sitemap[304] = ['http://www.ilrg.com/forms/states/in-prolongproced.html', 'Indiana Life Prolonging Procedures Declaration', 3, 0, 0];
    sitemap[305] = ['http://www.ilrg.com/forms/states/ky-livingwill.html', 'Kentucky Living Will', 3, 0, 0];
    sitemap[306] = ['http://www.ilrg.com/forms/states/md-advancedirective.html', 'Maryland Advance Health Care Directive', 3, 0, 0];
    sitemap[307] = ['http://www.ilrg.com/forms/states/md-livingwill.html', 'Maryland Living Will', 3, 0, 0];
    sitemap[308] = ['http://www.ilrg.com/forms/states/mo-livingwill.html', 'Missouri Living Will', 3, 0, 0];
    sitemap[309] = ['http://www.ilrg.com/forms/states/nv-healthdirective.html', 'Nevada Declaration Regarding Life-Sustaining Treatment', 3, 0, 0];
    sitemap[310] = ['http://www.ilrg.com/forms/states/nh-livingwill.html', 'New Hampshire Living Will', 3, 0, 0];
    sitemap[311] = ['http://www.ilrg.com/forms/states/nm-healthdirect.html', 'New Mexico Optional Advance Health-Care Directive', 3, 0, 0];
    sitemap[312] = ['http://www.ilrg.com/forms/states/ny-livingwill.html', 'New York Living Will', 3, 0, 0];
    sitemap[313] = ['http://www.ilrg.com/forms/states/nc-livingwill.html', 'North Carolina Living Will', 3, 0, 0];
    sitemap[314] = ['http://www.ilrg.com/forms/states/ok-medicaldirective.html', 'Oklahoma Advance Directive for Health Care', 3, 0, 0];
    sitemap[315] = ['http://www.ilrg.com/forms/states/or-livingwill.html', 'Oregon Living Will', 3, 0, 0];
    sitemap[316] = ['http://www.ilrg.com/forms/states/or-healthdirect.html', 'Oregon Advance Directive', 3, 0, 0];
    sitemap[317] = ['http://www.ilrg.com/forms/states/pa-medicaldirective.html', 'Pennsylvania Medical Directive', 3, 0, 0];
    sitemap[318] = ['http://www.ilrg.com/forms/states/sc-livingwill.html', 'South Carolina Living Will', 3, 0, 0];
    sitemap[319] = ['http://www.ilrg.com/forms/states/sd-livingwill.html', 'South Dakota Statutory Living Will', 3, 0, 0];
    sitemap[320] = ['http://www.ilrg.com/forms/states/tn-livingwill.html', 'Tennessee Statutory Living Will Form', 3, 0, 0];
    sitemap[321] = ['http://www.ilrg.com/forms/states/tx-meddirect.html', 'Texas Statutory Advance Medical Directive', 3, 0, 0];
    sitemap[322] = ['http://www.ilrg.com/forms/states/tx-meddirectminor.html', 'Texas Statutory Directive to Physicians on Behalf of a Minor', 3, 0, 0];
    sitemap[323] = ['http://www.ilrg.com/forms/states/ut-healthdirect.html', 'Utah Living Will', 3, 0, 0];
    sitemap[324] = ['http://www.ilrg.com/forms/states/vt-terminalcare.html', 'Vermont Terminal Care Document', 3, 0, 0];
    sitemap[325] = ['http://www.ilrg.com/forms/states/va-medicaldirective.html', 'Virginia Advance Medical Directive', 3, 0, 0];
    sitemap[326] = ['http://www.ilrg.com/forms/states/wa-livingwill-poa.html', 'Washington Living Will with Health Care Power of Attorney', 3, 0, 0];
    sitemap[327] = ['http://www.ilrg.com/forms/states/wa-healthdirect.html', 'Washington Statutory Health Care Directive', 3, 0, 0];
    sitemap[328] = ['http://www.ilrg.com/forms/states/wv-livingwill.html', 'West Virginia Living Will', 3, 0, 0];
    sitemap[329] = ['http://www.ilrg.com/forms/states/wy-livingwill.html', 'Wyoming Living Will', 3, 0, 0];
    sitemap[330] = ['http://www.ilrg.com/forms/states/al-powerofattorneyhealth.html', 'Alabama Durable Health Care Power of Attorney', 3, 0, 0];
    sitemap[331] = ['http://www.ilrg.com/forms/states/az-powerofattorneyhealth.html', 'Arizona Health Care Power of Attorney', 3, 0, 0];
    sitemap[332] = ['http://www.ilrg.com/forms/states/ca-powerofattorneyhealth.html', 'California Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[333] = ['http://www.ilrg.com/forms/states/ca-powerofattorneynotice.html', 'California Durable Power of Attorney Required Notice Form', 3, 0, 0];
    sitemap[334] = ['http://www.ilrg.com/forms/states/co-powerofattorneyhealth.html', 'Colorado Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[335] = ['http://www.ilrg.com/forms/states/ct-healthagent.html', 'Connecticut Appointment of Health Care Agent', 3, 0, 0];
    sitemap[336] = ['http://www.ilrg.com/forms/states/fl-surrogate.html', 'Florida Designation of Health Care Surrogate', 3, 0, 0];
    sitemap[337] = ['http://www.ilrg.com/forms/states/il-powerofattorneyhealth.html', 'Illinois Statutory Short Form Power of Attorney for Health Care', 3, 0, 0];
    sitemap[338] = ['http://www.ilrg.com/forms/states/ia-powerofattorneyhealth.html', 'Iowa Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[339] = ['http://www.ilrg.com/forms/states/ks-powerofattorneyhealth.html', 'Kansas Durable Power of Attorney for Health Care Decisions', 3, 0, 0];
    sitemap[340] = ['http://www.ilrg.com/forms/states/mi-dpoa-healthcare.html', 'Michigan Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[341] = ['http://www.ilrg.com/forms/states/ne-powerofattorneyhealth.html', 'Nebraska Power of Attorney for Health Care', 3, 0, 0];
    sitemap[342] = ['http://www.ilrg.com/forms/states/nv-powerofattorneyhealth.html', 'Nevada Statutory Durable Power of Attorney for Health Care Decisions', 3, 0, 0];
    sitemap[343] = ['http://www.ilrg.com/forms/states/nm-powerofattorney.html', 'New Mexico Statutory General Power of Attorney for Property, Finances, and Health Care', 3, 0, 0];
    sitemap[344] = ['http://www.ilrg.com/forms/states/nh-powerofattorneyhealth.html', 'New Hampshire Statutory Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[345] = ['http://www.ilrg.com/forms/states/ny-healthproxy.html', 'New York Health Care Proxy', 3, 0, 0];
    sitemap[346] = ['http://www.ilrg.com/forms/states/nj-health-care-proxy.html', 'New Jersey Health Care Proxy', 3, 0, 0];
    sitemap[347] = ['http://www.ilrg.com/forms/states/nc-powerofattorneyhealth.html', 'North Carolina Statutory Form Health Care Power of Attorney', 3, 0, 0];
    sitemap[348] = ['http://www.ilrg.com/forms/states/nd-powerofattorneyhealth.html', 'North Dakota Statutory Form Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[349] = ['http://www.ilrg.com/forms/states/oh-powerofattorneyhealth-dur.html', 'Ohio Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[350] = ['http://www.ilrg.com/forms/states/rh-powerofattorneyhealth.html', 'Rhode Island Statutory Form Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[351] = ['http://www.ilrg.com/forms/states/sc-powerofattorneyhealth.html', 'South Carolina Statutory Health Care Power of Attorney', 3, 0, 0];
    sitemap[352] = ['http://www.ilrg.com/forms/states/tx-powerofattorneymed.html', 'Texas Statutory Medical Power of Attorney', 3, 0, 0];
    sitemap[353] = ['http://www.ilrg.com/forms/states/vt-attorneypowerofattorneyhealth.html', 'Vermont Statutory Durable Power of Attorney for Health Care', 3, 0, 0];
    sitemap[354] = ['http://www.ilrg.com/forms/states/wi-powerofattorneyhealth.html', 'Wisconsin Power of Attorney for Health Care', 3, 0, 0];
    sitemap[355] = ['http://www.ilrg.com/forms/hipaa-authorization-waiver.html', 'HIPAA Authorization & Waiver', 3, 0, 0];
    sitemap[356] = ['http://www.ilrg.com/forms/testimonials.html', 'Testimonials', 2, 0, 0];
    sitemap[357] = ['http://www.ilrg.com/cart.php', 'Shopping Cart', 2, 0, 0];
    sitemap[358] = ['https://www.ilrg.com/checkout.php', 'Checkout', 3, 0, 2];
    sitemap[359] = ['http://www.ilrg.com/checkout.php', 'Checkout', 3, 0, 2];
    sitemap[360] = ['http://www.ilrg.com/cgi-bin/ilrgsearch2.cgi', 'Search Results', 2, 0, 2];
    sitemap[361] = ['https://www.ilrg.com/download.php', 'Download Now', 2, 0, 2];
    sitemap[362] = ['http://www.ilrg.com/cgi-bin/faq/faq.cgi?submit', 'Download Now', 2, 0, 2];
    sitemap[363] = ['https://secure.authorize.net/gateway/transact.dll', 'Purchase Thank You', 1, 0, 2];
    sitemap[364] = ['http://www.ilrg.com/forms/formsoffer/', 'Terms and Conditions for Forms Compliance Offer', 1, 0, 2];
    sitemap[365] = ['http://www.ilrg.com/forms/divorcenctest/us/', 'Divorce (No-Fault, No Children)', 2, 0, 2];
    }
    //sitemap[366] = ['http://www.ilrg.com/searchforms/', 'Search Results', 2, 0, 2];

    var menu_structure = buildMenu(this_page, sitemap);
    menu_structure = '<span style="font-size: .75em; color: blue; font-family: Arial, Helvetica, sans-serif;">' + menu_structure + '</span>';
    var breadcrumbs = buildCrumbs(this_page, sitemap);
    if ((this_page == (protocol+'://www.ilrg.com/searchforms/')) || (this_page == (protocol+'://www.ilrg.com/searchforms/index.php')))
    {
      breadcrumbs += ' &gt; <a href="http://www.ilrg.com/forms/">forms</a> &gt; <a href="http://www.ilrg.com/searchforms/">search</a>';
    }
    breadcrumbs = '<span style="font-size: .75em; color: blue; font-family: Arial, Helvetica, sans-serif; padding-left: 10px; padding-right: 10px;"><img src="' + protocol + '://www.ilrg.com/sitetuners/breadcrumb.gif">&nbsp;&nbsp;<strong>you are here:</strong> ' + breadcrumbs + '</span><br />';
    
    setInnerHTML("_stFoot","An operating division of");
    
    // Branding - 01
    var stVar01 = document.getElementById('_stVar01');
    var stVar03 = document.getElementById('_stVar03');
    var searchPage = document.getElementById('_stSearch2');
    if (stVar01) {
      if (stVar03 || searchPage) {
        setInnerHTML(stVar01,'<a href="http://www.ilrg.com/"><img border="0" src="' + protocol + '://www.ilrg.com/sitetuners/publiclegal.gif"></a>');
      }
      else {
        setInnerHTML(stVar01,'<a href="http://www.ilrg.com/"><img border="0" src="' + protocol + '://www.ilrg.com/sitetuners/publiclegalforms.gif"></a>');
      }
    }

    var font75 = '';
    // PageStructure - 02
    var searchPage = document.getElementById('_stSearch2');
    if (!searchPage) {
      remove('_stMenu');
      remove('_stMenu2');
      var stVar03 = document.getElementById('_stVar03');
      if (!stVar03) {
        // get the body tag
        var bodyTag = document.getElementsByTagName('body').item(0);
        var bodyHTML = bodyTag.innerHTML;
        bodyTag.style.backgroundImage = 'none';
        bodyTag.style.marginTop = '0px';
        bodyTag.style.paddingTop = '0px';
        bodyTag.style.marginLeft = '0px';
        bodyTag.style.paddingLeft = '0px';
        bodyTag.style.marginBottom = '0px';
        bodyTag.style.paddingBottom = '0px';
        bodyTag.style.marginRight = '0px';
        bodyTag.style.paddingRight = '0px';
        bodyTag.style.fontSize = '16px';
        bodyTag.style.textAlign = 'left';
        
        var mainTable = document.createElement('table');
        mainTable.style.fontSize = '16px';
        mainTable.style.marginTop = '0px';
        mainTable.style.paddingTop = '0px';
        mainTable.style.marginLeft = '0px';
        mainTable.style.paddingLeft = '0px';
        mainTable.style.marginBottom = '0px';
        mainTable.style.paddingBottom = '0px';
        mainTable.style.marginRight = '0px';
        mainTable.style.paddingRight = '0px';
        mainTable.cellPadding='0';
        mainTable.cellSpacing='0';
        
        var tableBody = document.createElement('tbody');
        var tableRowHeader = document.createElement('tr');
        tableRowHeader.style.paddingBottom = '0px';
        tableRowHeader.style.borderBottom = '0px';
        var tableRowHeader2 = document.createElement('tr');
        tableRowHeader2.style.marginBottom = '7px';
        var tableColHeader = document.createElement('td');
        tableColHeader.setAttribute("id","newHeader");
        tableColHeader.colSpan = '3';
        tableColHeader.style.paddingBottom = '7px'; 
        tableColHeader.style.paddingLeft = '7px'; 
        tableColHeader.style.paddingRight = '7px'; 
        tableColHeader.style.paddingTop = '7px'; 
        var tableColHeader2 = document.createElement('td');
        tableColHeader2.width = '100%';
        tableColHeader2.colSpan = '3';
        tableColHeader2.vAlign = 'middle';
        tableColHeader2.style.background='url(\'' + protocol + '://www.ilrg.com/sitetuners/blue-navbg.gif\') repeat-x';
        tableColHeader2.innerHTML = '<span style="float:left; vertical-align: middle; color: #FFFFFF; font-weight: bold; font-size: .75em; font-family: Arial, Helvetica, sans-serif;">&nbsp;&nbsp;A product of the Internet Legal Research Group (ILRG)</span>';
        var tollfree = 'Toll-free: 1-800-987-9087';
        var tableRow = document.createElement('tr');
        var tableCol1 = document.createElement('td');
        var tableCol2 = document.createElement('td');
        var tableCol3 = document.createElement('td');
        tableCol1.vAlign = 'top';
        tableCol1.noWrap = 'nowrap';
        tableCol1.bgColor = '#EAEAEA';
        tableCol1.style.background='url(\'' + protocol + '://www.ilrg.com/sitetuners/leftnav-bgfade.jpg\') repeat-y';
        tableCol1.width='142px';
        tableCol1.style.paddingLeft = '2px';
        tableCol1.style.paddingTop = '10px';
        tableCol1.style.paddingBottom = '10px';
        if (menu_structure) {
          tableCol1.innerHTML = menu_structure;
        }
        tableCol2.vAlign = 'top';
        tableCol2.style.borderRight = 'thin #CCCCCC solid';
        tableCol2.style.paddingLeft = '10px';
        tableCol2.style.paddingRight = '10px';
        tableCol2.style.paddingLeft = '0px';
        tableCol2.style.paddingRight = '0px';
        tableCol2.style.paddingTop = '10px';
        tableCol2.style.paddingBottom = '10px';
        tableCol2.width = '100%';
        tableCol3.style.paddingTop = '10px';
        tableCol3.style.paddingBottom = '10px';
        tableCol3.style.paddingLeft = '0px';
        tableCol3.style.paddingRight = '0px';
        var stVar05 = document.getElementById('_stVar05');
        var stVar05Form = document.getElementById('_stVar05Form');
        var additionalTestimonials = '<br /><br />"Thank you for a fantastic resource! We are a small business, and the cost to have an attorney draw up this agreement is hard on a small business. This form serves our purpose well. Thank you."<br /><br />"Awesome site... exactly what I was looking for... thanks for making it available!"';
        if (stVar05 && stVar05Form) {
          additionalTestimonials = '';
        }
        var col3HTML = '<p align="center"><a target="_blank" href="https://www.scanalert.com/RatingVerify?ref=www.ilrg.com"><img width="94" height="54" border="0" src="//images.scanalert.com/meter/www.ilrg.com/13.gif" alt="HACKER SAFE certified sites prevent over 99.9% of hacker crime." oncontextmenu="alert(\'Copying Prohibited by Law - HACKER SAFE is a Trademark of ScanAlert\'); return false;"></a></p>' +
        '<p align="center"><a href="http://www.truste.org/ivalidate.php?url=www.ilrg.com&sealid=101" target="_blank"><img border="0" src="' + protocol + '://www.ilrg.com/sitetuners/truste_seal_web.gif"></a></p>' +
        '<p><a href="https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=WWW.ILRG.COM&lang=en" target="_blank"><img border="0" src="' + protocol + '://www.ilrg.com/sitetuners/_stVerisign.gif"></a></p>' +
        '<center><table style="font-family: Arial;" cellSpacing=3 cellPadding=0 width=129 border=0>' +
        '<tbody><tr><td>';
        if (this_page.indexOf('checkout.php') == -1 && this_page.indexOf('cart.php') == -1 && protocol != 'https') {
          col3HTML = col3HTML + '<iframe src="http://www.ilrg.com/forms/tribalVert.html" width="120" height="600" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no allowTransparency=true ></iframe>';
        }
        col3HTML = col3HTML + '<span style="font-size: 9pt;"><P align=center><B style="color: #F17D00;"><I>Customer<br />Testimonials</I></B><span style="font-size: .75em;">' +
        '<br /><br />"Your site contains the best forms available. As an attorney that practices ' +
        'for many clients, your site is great."<br /><br />"I have regular need for legal ' +
        'documents and will be in touch further for more purchases. Your customer service has ' +
        'been excellent."' + additionalTestimonials + '</span></p>' +
        '<center><a href="/forms/testimonials.html" style="font-size: .75em;">More Testimonials</a></center></span></p></span></td></tr></tbody></table></center><br />';

        tableCol3.innerHTML = col3HTML;
        tableCol3.vAlign = 'top';
        tableCol3.align = 'center';
        
        // remove the HTML from the body
        bodyTag.innerHTML = '';
        
        // add the column to the Header row
        tableRowHeader.appendChild(tableColHeader);					
        // add the heading to the table body
        tableBody.appendChild(tableRowHeader);
        
        // add the second column to the Header row
        tableRowHeader2.appendChild(tableColHeader2);
        // add the heading to the table body
        tableBody.appendChild(tableRowHeader2);
        
        // add the colums to the row
        tableRow.appendChild(tableCol1);
        tableRow.appendChild(tableCol2);
        tableRow.appendChild(tableCol3);					
        
        // add the row to the table body
        tableBody.appendChild(tableRow);
        
        // add the table body to the table
        mainTable.appendChild(tableBody);
        
        // add the table to the document body
        bodyTag.appendChild(mainTable);
        
        var tribalLoc = bodyHTML.indexOf('_stTribal');
        if (tribalLoc != -1) {
          var ttLoc = bodyHTML.toLowerCase().indexOf('</tt>');
          var centerLoc = bodyHTML.toLowerCase().indexOf('</center>', ttLoc);
          
          bodyHTML = bodyHTML.substring(0, centerLoc+8) + 
          '<center><span style="width: 95%; text-align: justify;">' +
          bodyHTML.substring(centerLoc+9) + '</span></center>';
        }
        tableCol2.innerHTML = breadcrumbs + bodyHTML;
        
        // move the logo before the table
        var stVar01 = document.getElementById('_stVar01');
        if (stVar01) {
          tableSearch = document.getElementById("search");
          var search_value = '';
          var state_value = '';
          if ((tableSearch != null) && tableSearch.innerHTML) {
            if (document.getElementById('_search') != null) {
              search_value = document.getElementById('_search').value.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;');
            }
            
            if (document.getElementById('_state') != null) {
              state_value = document.getElementById('_state').value.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;');
            }
            
            searchParent = tableSearch.parentNode;
            searchParent.removeChild(tableSearch);
            tableSearch = tableSearch.innerHTML;
          }
          {
            tableSearch = '<table style="margin-left:auto;margin-right:auto"><tr><td><input type="text" size="17" name="search" id="_search" value="'+search_value+'" /></td><td><select name="state" id="_state"><option selected="selected">Select State</option><option value="Alabama">Alabama</option>\
<option value="Alaska">Alaska</option>\
<option value="Arizona">Arizona</option>\
<option value="Arkansas">Arkansas</option>\
<option value="California">California</option>\
<option value="Colorado">Colorado</option>\
<option value="Connecticut">Connecticut</option>\
<option value="Delaware">Delaware</option>\
<option value="District of Columbia">District of Columbia</option>\
<option value="Florida">Florida</option>\
<option value="Georgia">Georgia</option>\
<option value="Hawaii">Hawaii</option>\
<option value="Idaho">Idaho</option>\
<option value="Illinois">Illinois</option>\
<option value="Indiana">Indiana</option>\
<option value="Iowa">Iowa</option>\
<option value="Kansas">Kansas</option>\
<option value="Kentucky">Kentucky</option>\
<option value="Louisiana">Louisiana</option>\
<option value="Maine">Maine</option>\
<option value="Maryland">Maryland</option>\
<option value="Massachusetts">Massachusetts</option>\
<option value="Michigan">Michigan</option>\
<option value="Minnesota">Minnesota</option>\
<option value="Mississippi">Mississippi</option>\
<option value="Missouri">Missouri</option>\
<option value="Montana">Montana</option>\
<option value="Nebraska">Nebraska</option>\
<option value="Nevada">Nevada</option>\
<option value="New Hampshire">New Hampshire</option>\
<option value="New Jersey">New Jersey</option>\
<option value="New Mexico">New Mexico</option>\
<option value="New York">New York</option>\
<option value="North Carolina">North Carolina</option>\
<option value="North Dakota">North Dakota</option>\
<option value="Ohio">Ohio</option>\
<option value="Oklahoma">Oklahoma</option>\
<option value="Oregon">Oregon</option>\
<option value="Pennsylvania">Pennsylvania</option>\
<option value="Rhode Island">Rhode Island</option>\
<option value="South Carolina">South Carolina</option>\
<option value="South Dakota">South Dakota</option>\
<option value="Tennessee">Tennessee</option>\
<option value="Texas">Texas</option>\
<option value="Utah">Utah</option>\
<option value="Vermont">Vermont</option>\
<option value="Virginia">Virginia</option>\
<option value="Washington">Washington</option>\
<option value="West Virginia">West Virginia</option>\
<option value="Wisconsin">Wisconsin</option>\
<option value="Wyoming">Wyoming</option>\
<option value="All States">All States</option></select>\
</td>\
<td><input type="image" name="doSearch" value="Search" src="/images/search_button.png" /></td></tr></table>';
            tableSearch = tableSearch.replace('<option value="'+state_value+'">','<option value="'+state_value+'" selected="selected">');
          }
          tableColHeader.innerHTML = '<span style="float: left;width:30%">' + stVar01.innerHTML + '</span><span style="float:left;width:40%;text-align:center;color:#fff;margin:0;padding:0;margin-top:0.5em"><form action="/searchforms/" method="get" style="margin:0;padding:0">' + tableSearch + '</form></span><span style="float:right; color: #003466; font-family: Arial, Helvetica, sans-serif; font-size: 1.25em; font-weight: bold; margin-top: 10px;">' + tollfree + '</span>';
          bodyTag.insertBefore(stVar01, mainTable);
          remove(stVar01);
        }
        else {
          tableColHeader.innerHTML = '<span style="float: left"><img border="0" src="' + protocol + '://www.ilrg.com/sitetuners/publiclegalforms.gif"></span><span style="float:right; color: #003466; font-family: Arial, Helvetica, sans-serif; font-size: 1.25em; font-weight: bold; margin-top: 10px;">' + tollfree + '</span>';
        }

        font75 = ' font-size: .75em;';

        // remove privacy logo if it exists on the page					
        remove("_stPrivacy");
        remove("_stSpecial");
        remove("_stAttorney");
        remove("_stPoll");
      }
      
      /*if (document.URL.matche(/\/us\/?/) != -1) {
        remove("_stPrivacy");
        remove("_stSpecial");
        remove("_stAttorney");
        remove("_stPoll");
        
        var stAutoNumber = document.getElementById("AutoNumber1");
        remove(stAutoNumber.getElementsByTagName("tr")[0]);
        var content = stAutoNumber.getElementsByTagName("tr")[0].getElementsByTagName("td")[0].innerHTML;
        stAutoNumber.getElementsByTagName("tr")[0].innerHTML = '<td>' + content + '</td>';
        
        remove(stAutoNumber);
        stVar05.innerHTML = '';
        stVar05.appendChild(stAutoNumber);
      }*/
    }

    // HomePage - 03
    var stVar03 = document.getElementById('_stVar03');
    if (stVar03) {
        stVar03.innerHTML = stVar03.innerHTML.replace(/the <strong>Internet Legal Research Group/i, '<strong>PublicLegal, a product of the Internet Legal Research Group (ILRG)');
      
      stVar03.innerHTML = stVar03.innerHTML.replace(/<form/i, '<div style="font-size: 1em; font-weight: bold; color: #000000; font-family:Arial, Helvetica, sans-serif;" align="center"><table cellpadding="10px"><tbody><tr><td align="center"><a href="forms/index.html"><img border="0" src="sitetuners/publiclegalforms.gif"></a></td><td valign="bottom"><a href="forms/index.html" style="font-size: 1.25em; color: blue; font-weight: bold;">Over 2000 FREE legal forms & documents</a><br /><br /></td></tr></tbody></table></div><form');
    }

    // FormsPage - 04
    remove('_stVar04d');
    remove('_stVar04f');
    remove('_stVar04g');
    
    var stLastWill = document.getElementById('_stLastWill');
    var stVar04 = document.getElementById('_stVar04');
    if (stVar04 || stLastWill) {
      var bodyTag = document.getElementsByTagName('body').item(0);
      var bodyHTML = bodyTag.innerHTML;
      bodyHTML = bodyHTML.replace('billofsaleboat-warranty/us', 'billofsaleboat.html');
      bodyHTML = bodyHTML.replace('billofsaleboat-asis/us', 'billofsaleboat-asis.html');
      bodyHTML = bodyHTML.replace('billofsaleauto-warranty/us', 'billofsaleauto.html');
      bodyHTML = bodyHTML.replace('billofsaleauto-asis/us', 'billofsaleauto-asis.html');
      bodyHTML = bodyHTML.replace('promnote-balloon/us/', 'promnote-balloon.html');
      bodyHTML = bodyHTML.replace('llc-articlesorg/us', 'llc-articlesorg.html');
      bodyHTML = bodyHTML.replace('llc-opag-man/us', 'llc-opag-man.html');
      bodyHTML = bodyHTML.replace('llc-opag-mem/us', 'llc-opag-mem.html');
      bodyHTML = bodyHTML.replace('lease-equip-asis/us', 'lease-equip-asis.html');
      bodyHTML = bodyHTML.replace('commission/us', 'commission.html');
      bodyHTML = bodyHTML.replace('commission-indem/us', 'commission-indem.html');
      bodyHTML = bodyHTML.replace('employ-confid/us', 'employ-confid-st.html');
      bodyHTML = bodyHTML.replace('sublease/us/', 'sublease.html');
      bodyHTML = bodyHTML.replace('divorce-mc-setag/us/', 'divorce-mc-setag.html');
      bodyHTML = bodyHTML.replace('divorce-nc-setag/us/', 'divorce-nc-setag.html');
      bodyHTML = bodyHTML.replace('divorce-mc/us/', 'divorce-mc.html');
      bodyHTML = bodyHTML.replace('divorce-nc-test/us/', 'inc-divorce-nc-body.inc');
      bodyHTML = bodyHTML.replace('namechange-adult/us', 'namechange-adult.html');
      bodyHTML = bodyHTML.replace('namechange-minor/us', 'namechange-minor.html');
      bodyHTML = bodyHTML.replace('lastwill-single/us/', 'lastwill-single2.html');
      bodyHTML = bodyHTML.replace('lastwill-married-ac/us/', 'lastwill-married-ac.html');
      bodyHTML = bodyHTML.replace('lastwill-married-nc/us/', 'lastwill-married-nc.html');
      bodyHTML = bodyHTML.replace('lastwill-single-mc/us/', 'lastwill-single-mc.html');
      bodyHTML = bodyHTML.replace('lastwill-single-ac/us/', 'lastwill-single-ac.html');
      bodyHTML = bodyHTML.replace('lastwill-single-mc-tr/us/', 'lastwill-single-mc-tr.html');
      
      bodyTag.innerHTML = bodyHTML;
    }

    // ProductPage - 05
    // change color of $50 offer
    var stStateValid = document.getElementById("_stStateValid");
    if (stStateValid) {
      stStateValid.style.backgroundColor = '#ffffff';
    }
    var stVar05 = document.getElementById('_stVar05');
    var stVar05Form = document.getElementById('_stVar05Form');
    if (stVar05 && stVar05Form) {
      var stQuestions = document.getElementById('_stQuestions');
      var questionHTML = '';
      if (stQuestions) {
        questionHTML = '<br />' + stQuestions.innerHTML;
        questionHTML = questionHTML.replace('390', '100');
        questionHTML = questionHTML.replace('400px', '100px');
      }
      var st50Dollars = document.getElementById('_st50Dollars');
      if (st50Dollars) {
        questionHTML = questionHTML + '<br />' + st50Dollars.innerHTML;
      }

      var stForm = stVar05Form.innerHTML;
      var blueInstant = '<table border="0" align="center" cellpadding="0" cellspacing="0"style="font-size: 16px;">' + //  bgcolor="#DFDFFF" 
      '<tr>' +			
      '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-left-corner.gif" width="15" height="15"></td>' +
      '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="370" height="15"></td>' +
      '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-right-corner.gif" width="15" height="15"></td>' +	
      '</tr>' +
      '<tr>' +
      '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-left.gif"> </td>' +
      '<td align="center">' +
      '<div style="margin-bottom: 10px; margin-top: 0px; font-size: 24px; font-weight: bold;">Instant Download - <span style="color: green">Only $' +
      sitetuners_price +
      '</span></div>' +
      '<table style="margin-bottom: 0px; margin-top: 0px; text-align:justify"><tbody><tr><td><ul style="font-weight: bold; font-size: 16px;width:100% margin-bottom: 0px;">' +
      '<li style="margin-bottom: 10px">Professional MS Word <span class="hide-var01">&amp; PDF</span> formatting&nbsp;<img src="' + protocol + '://www.ilrg.com/sitetuners/Word-32.gif">&nbsp;<img class="hide-var01" src="' + protocol + '://www.ilrg.com/sitetuners/pdf-28.gif"></li>' +
      '<li style="margin-bottom: 10px">Fully editable &amp; reusable</li>' +
      '<li style="margin-bottom: 10px">Lifetime updates</li>' +
      '<li style="margin-bottom: 0px">Accuracy guarantee</li>' +
      '</ul></td></tr></tbody></table>' +
      '<div align="center" style="font-size: 24px; font-weight: bold; font-color: blue; margin-bottom: 5px; margin-top: 0px;"><a href="' + sitetuners_link + '">Add to Cart</a></div>' +
      '<a href="' + sitetuners_link + '"><img src="' + protocol + '://www.ilrg.com/graphics/creditcards.jpg" border="0"></a>' +
      '</td>' +
      '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-right.gif"> </td>' +
      '</tr>' +
      '<tr> ' +
      '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-left-corner.gif" width="15" height="15"></td>' +
      '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="370" height="15"></td>' +
      '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-right-corner.gif" width="15" height="15"></td>' +
      '</tr>' +
      '</table>';
      var getitfree = '<table border="0" align="center" cellpadding="0" cellspacing="0"style="font-size: 16px;width:100%">' + //  bgcolor="#DFDFFF" 
      '<tr>' +			
      '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-left-corner.gif" width="15" height="15"></td>' +
      '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="40" height="15"></td>' +
      '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-right-corner.gif" width="15" height="15"></td>' +	
      '</tr>' +
      '<tr>' +
      '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-left.gif"> </td>' +
      '<td align="center">' +
      '<h4>Get It Free</h4><p style="font-size: .75em; text-align: justify;">"cut &amp; paste" the text below, reconstruct in your text editing program, and re-format to your needs.' +					'</td>' +
      '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-right.gif"> </td>' +
      '</tr>' +
      '<tr> ' +
      '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-left-corner.gif" width="15" height="15"></td>' +
      '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="40" height="15"></td>' +
      '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-right-corner.gif" width="15" height="15"></td>' +
      '</tr>' +
      '</table>'; 
      
      // get the name of the form - it should be between the <b> tags
      var formName = 'Form name needs to be wrapped with span!';
      var stFormName = document.getElementById('_stFormName');
      if (stFormName) {
        formName = stFormName.innerHTML;
      }
      // NewProduct2
      // remove any html within _stAttorney span
      remove("_stAttorney");
      stVar05.innerHTML = '<span style="font-family:Arial, Helvetica, sans-serif">' +
      '<div align="center" style="font-size: 24px; font-weight: bold; text-align: center; margin: 10px 0px 10px 0px;">' + formName + '</div>' +
      '<table style="font-size: 16px;width:100%"><tbody>' +
      '<tr><td align="center">' +
      blueInstant +
      '</td></tr>' +
      '<tr><td align="left" style="padding: 35px 0px 15px 0px;' + font75 + '">' +
      stForm +
      '</td></tr>' +
      '<tr><td align="center">' +
      blueInstant +
      '</td></tr>' +
      '</tbody></table></span><br /><br />' +
      questionHTML;
    }

    // ShoppingCart - 06
    var stVar06Top = document.getElementById('_stVar06Top');
    var stVar06 = document.getElementById('_stVar06');
    var stVar06a = document.getElementById('_stVar06a');
    var stVar06b = document.getElementById('_stVar06b');
    var stVar06c = document.getElementById('_stVar06c');
    
    if (stVar06 && stVar06a && stVar06b && stVar06c && stVar06Top) {
      var stVar06VS = document.getElementById('_stVar06Verisign');
      var stVar06Title = document.getElementById('_stVar06Title');
      var stVar06Related = document.getElementById('_stVar06Related');
      var stVar06Table = document.getElementById('_stVar06Table');
      var stVar06Sub = document.getElementById('_stVar06Subtotal');
      var stFax = document.getElementById('_stFax');
      var stVar06Checkout = document.getElementById('_stVar06Checkout');
      var stVar06Cust = document.getElementById('_stVar06Cust');
      var PayPal_form = document.getElementById("paypal");
      var Verisign = '';
      if (stVar06VS) {
        Verisign = stVar06VS.innerHTML;
      }
      
      stVar06Top.innerHTML = '';
      remove(stVar06a);
      remove(stVar06b);
      stVar06c.style.display = 'none';
      //var stVar06Title = document.getElementById('_stVar06Title');
      setInnerHTML(stVar06Title,'<h2 align="center">Shopping Cart</h2>' +
        '<ul>' +
        '<li style="font-weight: bold; font-family: arial, helvetica, sans-serif, geneva; font-size: .75em;">Immediate download access &amp; email with attachments</li>' +
        '<li style="font-weight: bold; font-family: arial, helvetica, sans-serif, geneva; font-size: .75em;">Fully editable &amp; reusable forms</li>' +
        '<li style="font-weight: bold; font-family: arial, helvetica, sans-serif, geneva; font-size: .75em;">Lifetime updates &amp; accuracy guarantee</li>' +
        '<li style="font-weight: bold; font-family: arial, helvetica, sans-serif, geneva; font-size: .75em;">Professional MS Word <span class="hide-var01"> &amp; PDF</span> formatting</li>' +
        '</ul>' +
        '<center style="padding: 0px 0px 15px 0px;"><table style="padding: 0px 0px 10px 0px;"><tbody><tr style="padding: 0px 0px 0px 0px;">' +
        '<td colspan="3" align="center"><img border="0" src="/graphics/visamcamexdiscpp.jpg"></td>' +
        '</tr></tbody></table></center>');
      //var stVar06Related = document.getElementById('_stVar06Related');
      //var stVar06Table = document.getElementById('_stVar06Table');
      if (stVar06Table) {
        stVar06Table.style.textAlign = "justify";
        // make the subtotal larger
        //var stVar06Sub = document.getElementById('_stVar06Subtotal');
        if (stVar06Sub) {
          stVar06Sub.innerHTML = '<span style="font-size: 1em; font-weight: bold;">' + stVar06Sub.innerHTML + '</span>';
        }

        // cart, add the blue table
        var cartTable = stVar06Table.innerHTML;
        // justify the contents of the cart
        cartTable = cartTable.replace(/^<table /i,"<table style=\"text-align:left!important\" ");
        
        // clean up the html
        var trStart = cartTable.toLowerCase().indexOf('<tr');
        var trEnd = cartTable.toLowerCase().indexOf('</tr>');
        cartTable = cartTable.replace(cartTable.substring(trStart, trEnd+5), '');
        //							cartTable = cartTable.replace('<table', '<table bgcolor="#DFDFFF"');
        cartTable = cartTable.replace('Current Subtotal', '<span style="font-size: 1em">Subtotal</span>');
        cartTable = cartTable.replace(/ bgcolor="#d0d0d0"/gi, '');
        cartTable = cartTable.replace(/ bgcolor="#f0f0f0"/gi, '');
        cartTable = cartTable.replace(/ bgcolor="#ffffff"/gi, '');
        cartTable = cartTable.replace(/ bgcolor=#d0d0d0/gi, '');
        cartTable = cartTable.replace(/ bgcolor=#f0f0f0/gi, '');
        cartTable = cartTable.replace(/ bgcolor=#ffffff/gi, '');
        //							cartTable = cartTable.replace(/<td>/gi, '<td style="font-size: .8em;">');							
      }
      if (!stVar06Related && stVar06Table) {
        //PayPal_form = document.getElementById("paypal");
        if (PayPal_form != null) {
          PayPal_form.parentNode.removeChild(PayPal_form);
          PayPal_form = PayPal_form.innerHTML;
          if (PayPal_form) {
            PayPal_form = '<br><div style="text-align:right">' + PayPal_form + '</div>';
          }
          else {
            PayPal_form = '';
          }
        }
        else {
          PayPal_form = '';
        }
        
        stVar06Table.innerHTML = '' +
        '<table border="0" align="center" cellpadding="0" cellspacing="0">' + //  bgcolor="#DFDFFF"
        '<tr>' +			
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-left-corner.gif" width="15" height="15"></td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="540" height="15"></td>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-right-corner.gif" width="15" height="15"></td>' +	
        '</tr>' +
        '<tr>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-left.gif"> </td>' +
        '<td align="center">' +
        '<h3>Current Cart Contents</h3>' +
        cartTable +
        '<div align="right" style="margin-top: 25px">' +
        '<table style="width:100%"><tr><td style="width:50%;text-align:left">' +
        '<a href="http://www.ilrg.com/forms/"><img style="border:none" src="/graphics/btn_cont_shopping.gif" alt="Continue Shopping"></a>' +
        '</td><td style="text-align:right">' +
        '<form action="https://www.ilrg.com/checkout.php" method="POST" style="margin:0">' +
        '<input type="image" src="' + protocol + '://www.ilrg.com/sitetuners/_stProceed.jpg">' +
        '</form>' +
        '</td></tr></table>' +
        '</div>' + PayPal_form +
        '</td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-right.gif"> </td>' +
        '</tr>' +
        '<tr> ' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-left-corner.gif" width="15" height="15"></td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="540" height="15"></td>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-right-corner.gif" width="15" height="15"></td>' +
        '</tr>' +
        '</table>';
      }
      if (stVar06Related && stVar06Table) {
        // Related documents, add the blue table
        var relatedTable = stVar06Related.innerHTML;
        relatedTable = relatedTable.replace(/^<table /i,"<table style=\"text-align:left!important\" ");

        //var stFax = document.getElementById('_stFax');
        var Fax = '';
        Fax = getInnerHTML(stFax);
        remove(stFax);
        
        PayPal_form = document.getElementById("paypal");
        if (PayPal_form != null) {
          PayPal_form.parentNode.removeChild(PayPal_form);
          PayPal_form = PayPal_form.innerHTML;
          if (PayPal_form) {
            PayPal_form = '<br><div style="text-align:right">' + PayPal_form + '</div>';
          }
          else {
            PayPal_form = '';
          }
        }
        else {
          PayPal_form = '';
        }
        //							stVar06Table.innerHTML = '<table border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#DFDFFF">' +
        stVar06Table.innerHTML = '' +
        '<table border="0" align="center" cellpadding="0" cellspacing="0">' + //  bgcolor="#FFFFFF"
        '<tr>' +			
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-left-corner.gif" width="15" height="15"></td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="540" height="15"></td>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-right-corner.gif" width="15" height="15"></td>' +	
        '</tr>' +
        '<tr>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-left.gif"> </td>' +
        '<td align="center">' +
        '<h3>Current Cart Contents</h3>' +
        cartTable +
        '<div align="right" style="margin-top: 25px">' +
        '<table style="width:100%"><tr><td style="width:50%;text-align:left">' +
        '<a href="http://www.ilrg.com/forms/"><img style="border:none" src="/graphics/btn_cont_shopping.gif" alt="Continue Shopping"></a>' +
        '</td><td style="text-align:right">' +
        '<form action="https://www.ilrg.com/checkout.php" method="POST">' +
        '<input type="image" src="' + protocol + '://www.ilrg.com/sitetuners/_stProceed.jpg">' +
        '</form>' +
        '</td></tr></table>' +
        '</div> ' + Fax +
        '<h3>Related Documents</h3>' +
        relatedTable +								
        '<div align="right" style="margin-top: 25px">' +
        '<table style="width:100%"><tr><td style="width:50%;text-align:left">' +
        '<a href="http://www.ilrg.com/forms/"><img style="border:none" src="/graphics/btn_cont_shopping.gif" alt="Continue Shopping"></a>' +
        '</td><td style="text-align:right">' +
        '<form action="https://www.ilrg.com/checkout.php" method="POST" style="margin:0">' +
        '<input type="image" src="' + protocol + '://www.ilrg.com/sitetuners/_stProceed.jpg">' +
        '</form>' +
        '</td></tr></table>' +
        '</div>' + PayPal_form +
        '</td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-right.gif"> </td>' +
        '</tr>' +
        '<tr> ' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-left-corner.gif" width="15" height="15"></td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="540" height="15"></td>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-right-corner.gif" width="15" height="15"></td>' +
        '</tr>' +
        '</table>';
        remove(stVar06Related);
      }
      //var stVar06Checkout = document.getElementById('_stVar06Checkout');
      if (stVar06Checkout) {
        //							stVar06Checkout.innerHTML = '<span style="color: blue; font-weight: bold">Safe &amp; Smart Shopping</span>';
        remove(stVar06Checkout);
      }
      //var stVar06Cust = document.getElementById('_stVar06Cust');
      if (stVar06Cust) {
        stVar06Cust.style.display = 'none';
      }
    }

    // Checkout - 07
    var stVar07CartTitle = document.getElementById('_stVar07CartTitle');
    if (stVar07CartTitle) {
      try {
        if ((paypal_page == null) || !paypal_page) {
          stVar07CartTitle.innerHTML = '<h2 align="center" style="padding: 0px 0px 0px 0px; font-family: arial, helvetica, sans-serif, geneva;">Secure Checkout</h2>' +
          '<ul>' +
          '<li style="font-weight: bold; font-family: arial, helvetica, sans-serif, geneva; font-size: .75em;">Immediate download access &amp; email with attachments</li>' +
          '<li style="font-weight: bold; font-family: arial, helvetica, sans-serif, geneva; font-size: .75em;">Fully editable &amp; reusable forms</li>' +
          '<li style="font-weight: bold; font-family: arial, helvetica, sans-serif, geneva; font-size: .75em;">Lifetime updates &amp; accuracy guarantee</li>' +
          '<li style="font-weight: bold; font-family: arial, helvetica, sans-serif, geneva; font-size: .75em;">Professional MS Word <span class="hide-var01"> &amp; PDF </span>formatting</li>' +
          '</ul>' +
          '<center style="padding: 0px 0px 15px 0px;"><table style="padding: 0px 0px 10px 0px;"><tbody><tr style="padding: 0px 0px 0px 0px;">' +
          '<td colspan="3" align="center"><img border="0" src="/graphics/visamcamexdiscpp.jpg"></td>' +
          '</tr></tbody></table></center>';
        }
        else {
          stVar07CartTitle.innerHTML = '<h2 align="center" style="padding: 0px 0px 0px 0px; font-family: arial, helvetica, sans-serif, geneva;">PayPal Checkout</h2>';
        }
      }
      catch (e) {}
      
      var inputTags = document.getElementsByTagName('input');
      if (inputTags) {
        // traverse the tags and make appropriate changes
        for (var i=0; i < inputTags.length; i++) {
          switch (inputTags[i].name) {
          case 'x_card_code':
            var newElement = document.createElement('input');
            newElement.setAttribute('type', 'hidden');
            newElement.setAttribute('name', 'x_card_code');
            newElement.setAttribute('value', '');
            inputTags[i].parentNode.replaceChild(newElement, inputTags[i]);
            break;
          case 'x_company':
            var newElement = document.createElement('input');
            newElement.setAttribute('type', 'hidden');
            newElement.setAttribute('name', 'x_company');
            newElement.setAttribute('value', '');
            inputTags[i].parentNode.replaceChild(newElement, inputTags[i]);
            break;
          case 'nocvm':
            var newElement = document.createElement('input');
            newElement.setAttribute('type', 'hidden');
            newElement.setAttribute('name', 'nocvv');
            newElement.setAttribute('value', '1');
            inputTags[i].parentNode.replaceChild(newElement, inputTags[i]);
            break;
          default:
            break;
          }
        }
      }

      var stVar07Form = document.getElementById('_stVar07Form');
      if (stVar07Form) {
        var formHTML = stVar07Form.innerHTML;
        formHTML = formHTML.replace(/<form /i, '<form onSubmit="return ValidateCheckoutForm();" ');
        formHTML = formHTML.replace(/Company:/i, '&nbsp;');
        formHTML = formHTML.replace(/\<b\>\*\<\/b\>/gi, '');
        formHTML = formHTML.replace(/\(fields marked /gi, '');
        formHTML = formHTML.replace(/are required\)/gi, '');
        formHTML = formHTML.replace(/ bgcolor="#d0d0d0"/gi, '');
        formHTML = formHTML.replace(/ bgcolor=#d0d0d0/gi, '');
        formHTML = formHTML.replace(/Card Verification #:/i, '');
        formHTML = formHTML.replace(/Card Verification #:/i, '&nbsp;');
        formHTML = formHTML.replace(/What's This\?/i, '');
        formHTML = formHTML.replace(/Not on my card /i, '');
        formHTML = formHTML.replace(/Please wait up to 45 seconds after submitting your order./i, '');
        
        stVar07Form.innerHTML = '<span style="font-family: arial, helvetica, sans-serif, geneva;"><table border="0" align="center" cellpadding="0" cellspacing="0">' + //  bgcolor="#DFDFFF"
        '<tr>' +			
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-left-corner.gif" width="15" height="15"></td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="540" height="15"></td>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-right-corner.gif" width="15" height="15"></td>' +	
        '</tr>' +
        '<tr>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-left.gif"> </td>' +
        '<td align="center">' +
        formHTML +
        '</td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-right.gif"> </td>' +
        '</tr>' +
        '<tr> ' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-left-corner.gif" width="15" height="15"></td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="540" height="15"></td>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-right-corner.gif" width="15" height="15"></td>' +
        '</tr>' +
        '</table></span>';
      }
      if (stVar06c) {
        stVar06c.style.display = 'none';
      }
      var stHS = document.getElementById('_stHS');
      if (stHS) {
        stHS.style.display = 'none';
      }
      var stVar06Table = document.getElementById('_stVar06Table');
      if (stVar06Table) {
        // make the subtotal larger
        var stVar06Sub = document.getElementById('_stVar06Subtotal');
        if (stVar06Sub) {
          stVar06Sub.innerHTML = '<span style="font-size: 1em; font-weight: bold;">' + stVar06Sub.innerHTML + '</span>';
        }

        // cart, add the blue table
        var cartTable = stVar06Table.innerHTML;

        // clean up the html
        var trStart = cartTable.toLowerCase().indexOf('<tr');
        var trEnd = cartTable.toLowerCase().indexOf('</tr>');
        cartTable = cartTable.replace(cartTable.substring(trStart, trEnd+5), '');
//							cartTable = cartTable.replace('<table', '<table bgcolor="#DFDFFF"');
        cartTable = cartTable.replace('Current Subtotal', '<span style="font-size: 1.25em">Subtotal</span>');
        cartTable = cartTable.replace(/ bgcolor="#d0d0d0"/gi, '');
        cartTable = cartTable.replace(/ bgcolor="#f0f0f0"/gi, '');
        cartTable = cartTable.replace(/ bgcolor="#ffffff"/gi, '');
        cartTable = cartTable.replace(/ bgcolor=#d0d0d0/gi, '');
        cartTable = cartTable.replace(/ bgcolor=#f0f0f0/gi, '');
        cartTable = cartTable.replace(/ bgcolor=#ffffff/gi, '');
        
        stVar06Table.innerHTML = '<span style="font-family: arial, helvetica, sans-serif, geneva;"><table border="0" align="center" cellpadding="0" cellspacing="0">' + //  bgcolor="#DFDFFF"
        '<tr>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-left-corner.gif" width="15" height="15"></td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="540" height="15"></td>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-top-right-corner.gif" width="15" height="15"></td>' +	
        '</tr>' +
        '<tr>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-left.gif"> </td>' +
        '<td align="center">' +
        '<h3>Order Summary</h3>' +
        cartTable +
        '</td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-right.gif"> </td>' +
        '</tr>' +
        '<tr> ' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-left-corner.gif" width="15" height="15"></td>' +
        '<td background="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom.gif"><img src="' + protocol + '://www.ilrg.com/sitetuners/spacer.gif" width="540" height="15"></td>' +
        '<td width="15" height="15"><img src="' + protocol + '://www.ilrg.com/sitetuners/bluebox-bottom-right-corner.gif" width="15" height="15"></td>' +
        '</tr>' +
        '</table></span>';

        setInnerHTML('_stVar07Submit','<a href="javascript: if (ValidateCheckoutForm()) { document.checkout.submit() }"><img src="' + protocol + '://www.ilrg.com/sitetuners/_stPlaceOrder.jpg" border="0"></a><br /><br />');
      }
    }

    // in all cases remove feedback
    var stRateJS = document.getElementById('_stRateJS');
    if (stRateJS) {
      stRateJS.innerHTML = '';
    }

    // in all cases of search replace the unformatted state pages
    var searchPage = document.getElementById('_stSearch');
    if (searchPage) {
      var bodyTag = document.getElementsByTagName('body').item(0);
      var bodyHTML = bodyTag.innerHTML;
      bodyHTML = bodyHTML.replace('billofsaleboat-warranty/us', 'billofsaleboat.html');
      bodyHTML = bodyHTML.replace('billofsaleboat-asis/us', 'billofsaleboat-asis.html');
      bodyHTML = bodyHTML.replace('billofsaleauto-warranty/us', 'billofsaleauto.html');
      bodyHTML = bodyHTML.replace('billofsaleauto-asis/us', 'billofsaleauto-asis.html');
      bodyHTML = bodyHTML.replace('promnote-balloon/us/', 'promnote-balloon.html');
      bodyHTML = bodyHTML.replace('llc-articlesorg/us', 'llc-articlesorg.html');
      bodyHTML = bodyHTML.replace('llc-opag-man/us', 'llc-opag-man.html');
      bodyHTML = bodyHTML.replace('llc-opag-mem/us', 'llc-opag-mem.html');
      bodyHTML = bodyHTML.replace('lease-equip-asis/us', 'lease-equip-asis.html');
      bodyHTML = bodyHTML.replace('commission/us', 'commission.html');
      bodyHTML = bodyHTML.replace('commission-indem/us', 'commission-indem.html');
      bodyHTML = bodyHTML.replace('employ-confid/us', 'employ-confid-st.html');
      bodyHTML = bodyHTML.replace('sublease/us/', 'sublease.html');
      bodyHTML = bodyHTML.replace('divorce-mc-setag/us/', 'divorce-mc-setag.html');
      bodyHTML = bodyHTML.replace('divorce-nc-setag/us/', 'divorce-nc-setag.html');
      bodyHTML = bodyHTML.replace('divorce-mc/us/', 'divorce-mc.html');
      bodyHTML = bodyHTML.replace('divorce-nc/us/', 'divorce-nc.html');
      bodyHTML = bodyHTML.replace('namechange-adult/us', 'namechange-adult.html');
      bodyHTML = bodyHTML.replace('namechange-minor/us', 'namechange-minor.html');
      bodyHTML = bodyHTML.replace('lastwill-single/us/', 'lastwill-single2.html');
      bodyHTML = bodyHTML.replace('lastwill-married-ac/us/', 'lastwill-married-ac.html');
      bodyHTML = bodyHTML.replace('lastwill-married-nc/us/', 'lastwill-married-nc.html');
      bodyHTML = bodyHTML.replace('lastwill-single-mc/us/', 'lastwill-single-mc.html');
      bodyHTML = bodyHTML.replace('lastwill-single-ac/us/', 'lastwill-single-ac.html');
      bodyHTML = bodyHTML.replace('lastwill-single-mc-tr/us/', 'lastwill-single-mc-tr.html');
      
      bodyTag.innerHTML = bodyHTML;
      
      var stResults = document.getElementById('_stResults');
      if (stResults) {
        var spanElem = document.createElement("span");

        var theResults = 'Search Results';
        spanElem.innerHTML = '<h1 align="center" style="font-family: Arial, Helvetica, sans-serif;">' + theResults + '</h1>';
        stResults.parentNode.replaceChild(spanElem, stResults);
      }
    }
    
    var searchPage = document.getElementById('_stSearch');
    var searchPage2 = document.getElementById('_stSearch2');
    
    try {
      if (document.URL.match("/us")) {
        do {
          var table_=document.getElementById('AutoNumber1');
          if (!table_){break;}
          var tr_=table_.getElementsByTagName('tr');
          remove(tr_[0]);
          var tr_=table_.getElementsByTagName('tr');
          if (!tr_){break;}
          var table_=tr_[0].getElementsByTagName('table');
          if (!table_){break;}
          var tableHTML=table_[0].parentNode.parentNode.innerHTML;
          remove(table_[0]);
          var td_=tr_[0].getElementsByTagName('td');
          if (!td_){break;}
          remove(td_[2]);
          remove(td_[1]);
          //td_[0].innerHTML=tableHTML;
          setInnerHTML('_stVar05',tableHTML);
        } while(0);
      }
    } catch(e){}
    
    if (typeof(apply_recipe) == "function") {
      try {
        // Feed the recipe to the new handling function
        apply_recipe(recipe);
      }
      catch (e) {
      }
    }
    
    // display the page
    var sitetuners_hidden = document.getElementById("sitetuners_hidden96");
    if (sitetuners_hidden) {
      sitetuners_hidden.style.display = 'block';
    }
    break;
  default:
    break;
  }
  
  if ((document.URL.indexOf("localhost") != -1) && (typeof($) == "function")) {
    var links = $("a");
    
    for (var c=0;c<links.length;c++) {
      var link = $(links.get(c));
      
      if (link.attr("href")) {
        link.attr("href",link.attr("href").replace(/www.ilrg.com/i,"localhost"));
      }
    }
  }
} // end sitetuners_handler

// Some functions we won't remove because of sitetuners fault
// Hook to one of both to save the cart contents
function getSitetunersTrans () {
  setCookie('cart_contents',getCookie('ilrg_cart'));
  return '';
}

function sitetuners_getRecipeCookie (some_id) {
  return '';
}