﻿/* <![CDATA[ */
function MM_swapImgRestore() {
    //v3.0
    var i, x, a = document.MM_sr; for (i = 0; a && i < a.length && (x = a[i]) && x.oSrc; i++) x.src = x.oSrc;
}

function MM_preloadImages() {
    //v3.0
    var d = document; if (d.images) {
        if (!d.MM_p) d.MM_p = new Array();
        var i, j = d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i < a.length; i++)
            if (a[i].indexOf("#") != 0) { d.MM_p[j] = new Image; d.MM_p[j++].src = a[i]; }
    }
}

function MM_findObj(n, d) {
    //v4.01
    var p, i, x; if (!d) d = document; if ((p = n.indexOf("?")) > 0 && parent.frames.length) {
        d = parent.frames[n.substring(p + 1)].document; n = n.substring(0, p);
    }
    if (!(x = d[n]) && d.all) x = d.all[n]; for (i = 0; !x && i < d.forms.length; i++) x = d.forms[i][n];
    for (i = 0; !x && d.layers && i < d.layers.length; i++) x = MM_findObj(n, d.layers[i].document);
    if (!x && d.getElementById) x = d.getElementById(n); return x;
}

function MM_swapImage() {
    //v3.0
    var i, j = 0, x, a = MM_swapImage.arguments; document.MM_sr = new Array; for (i = 0; i < (a.length - 2); i += 3)
        if ((x = MM_findObj(a[i])) != null) { document.MM_sr[j++] = x; if (!x.oSrc) x.oSrc = x.src; x.src = a[i + 2]; }
}

function openNoteContact() {
    aPopUp = window.open('', 'Note', 'toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,copyhistory=no,width=400,height=390')
    ndoc = aPopUp.document
    astr = '<HTML><HEAD><TITLE>Virginia Law Foundation</TITLE><link href="style.css" rel="stylesheet" type="text/css"></HEAD><BODY TOPMARGIN="0" LEFTMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" background="images/bg_popup.gif" text="#000000"><CENTER><TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="400"><TR><TD WIDTH="400"><P><img src="images/bn_popup.gif" width="400" height="73" alt="Contact Us" border="0"><br /><img src="images/spacer_popup1.gif" width="400" height="10" border="0"><br /><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top" width="50"><img src="images/spacer.gif" width="50" height="1" border="0"></td><td valign="top"><p class="highlight">You may contact us by mail, phone, fax, or email at:</p><p class="highlight2"><img src="images/newlocation.gif" width="95" height="45" border="0" align="right">Virginia Law Foundation<br />600 East Main Street, Suite 2040<br />Richmond, Virginia 23219</p><p class="highlight2">Phone: 804.648.0112</p><p class="highlight2">Fax: 804.643.6340</p><p class="highlight2">E-Mail: <a href="mailto:vlf.info@virginialawfoundation.org">vlf.info@virginialawfoundation.org</a></p></td></tr></table><img src="images/spacer_popup1.gif" width="400" height="20" border="0"><br /><img src="images/spacer_popup2.gif" width="47" height="26" border="0"><A HREF="Javascript:window.close()"><img src="images/btpopup_close.gif" width="110" height="26" alt="Close" border="0"></a><img src="images/spacer_popup3.gif" width="243" height="26" border="0"><br /><img src="images/spacer_popup4.gif" width="400" height="31" border="0"></p></TD></TR></TABLE></CENTER></BODY></HTML>'
    ndoc.write(astr)
    ndoc.close()
    self.aNoteWin = aPopUp
}

function bodyLoadImages() {
MM_preloadImages('images/bt1_home_c.gif','images/bt1_abou_c.gif','images/bt1_gran_c.gif','images/bt1_fell_c.gif','images/bt1_boar_c.gif','images/bt1_news_c.gif','images/bt1_supp_c.gif','images/bt1_vacle_c.gif','images/bthr_featproj_c.gif','images/bth_btm_hist_c.gif','images/bth_btm_lett_c.gif','images/bth_btm_cont_c.gif','images/bth_btm_dire_c.gif')
}
/* ]]> */