<!-- Begin

/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

function format_date( date ){
    var dayNames = new Array("Sunday", "Monday", "Tuesday",
                             "Wednesday","Thursday","Friday",
                             "Saturday");
    var monNames = new Array("Jan.","Feb.","Mar.","Apr.","May","Jun.","Jul.","Aug.","Sep.","Oct.","Nov.","Dec.");

    var month        = date.getMonth();
    var day_of_month = date.getDate();
    var year         = date.getYear();
    var day_of_week  = date.getDay();

    // if the year is less than 2000, we'll assume it's year - 1900
    if( year < 2000 ){
        year += 1900;
    }

    return dayNames[day_of_week] + ", " + monNames[month]
           + " " + day_of_month + ", " + year;
}

function format_time( date ){
    var hour    = date.getHours();
    var minutes = date.getMinutes();
    var am_or_pm = "AM";

    if( hour == 0 ){
        hour = 12;
    }
    else if( hour > 12 ){
        hour = hour - 12;
        am_or_pm = "PM";
    }

    if( minutes < 10 ){
        minutes = "0" + minutes;
    }

    return hour + ":" + minutes + " " + am_or_pm;
} 
    

function bookmarksite(title, url){
    if (document.all)
        window.external.AddFavorite(url, title);
    else if (window.sidebar)
        window.sidebar.addPanel(title, url, "")
}

var allcookies = document.cookie;
var pos = allcookies.indexOf("jurist_edition=");

if(pos != -1){
    var start=pos + 15; //start of cookie value
    var end = allcookies.indexOf(";", start); //end of cookie value
    if( end == -1) end = allcookies.length;
    var value = allcookies.substring(start,end); //get cookie value
}

var us_link = '<a href="/index.php?edition=US" title="US legal news and resources"><font color="white"><span style="font-weight: bold;vertical-align: top">US version</span></font></a>';
var world_link = '<a href="/index.php?edition=world" title="World legal news and resources"><font color="white"><span style="font-weight: bold;vertical-align: top">International version</span></font></a>';
var full_link = '<a href="/index.php?edition=full" title="US and world legal news and resources"><font color="white"><span style="font-weight: bold;vertical-align: top">Combined version</span></font></a>';

if( value == 'world' ){
    world_link = '<font color="white"><span style="font-weight: normal;vertical-align: top" title="World legal news and resources">International version</span></font>';
} else if( value == 'full' ){
    full_link = '<font color="white"><span style="font-weight: normal;vertical-align: top" title="US and world legal news and resources">Combined version</span></font>';
} else {
    us_link = '<font color="white"><span style="font-weight: normal;vertical-align: top" title="US legal news and resources">US version</span></font>';
}
document.write(' <table width="100%" border="0" cellspacing="0" cellpadding="0"><form method="get" action="/jurist_search.php">  ');
document.write('<tr><td bgcolor="404040"><table cellpadding="0" cellspacing="0" border=0><tr><td width=108><img src="/images/s.gif" width="8" height="1" align="top" /><font size="2" face="Verdana" style="font-size: 8pt"><font color="WHITE"><img src="/images/tinyusflag5a.jpg" vspace="0" hspace="0" width="25" height="13"> ' + us_link + ' </font></td><td width=180><font size="2" face="Verdana" style="font-size: 8pt"><img src="/images/s.gif" width="12" height="1" /><img src="/images/tinyunflag5.jpg" vspace="0" hspace="0" width="25" height="13"/> ' + world_link + ' </font></td><td width=160><font size="2" face="Verdana" style="font-size: 8pt"><img src="/images/s.gif" width="12" height="1" /><img src="/images/tinyusunflagcombined3.jpg" vspace="0" hspace="0" width="25" height="13"/> ' + full_link + ' </font></td></tr></table></td><td width=300 bgcolor="404040" valign="right" halign="middle"><table cellspacing="2" cellpadding="0" align="right"><tr><td><font face="Verdana" style="font-size: 8pt"><a href="/email.php" title="Subscribe to JURIST e-mail digests"><span style="font-weight: normal;vertical-align: top"><font color="white"><b>Subscribe</b></font></span></a> <font color="white"><img src="/images/s.gif" width="4" height="1"></font> <a href="/paperchase/feeds.php" title="JURIST feeds for RSS readers and websites"><span style="font-weight: normal;vertical-align: top"><font color="white"><b>Feeds</b></font></span></a> <font color="white"><img src="/images/s.gif" width="4" height="1"></font> <a href="javascript:bookmarksite(\'JURIST - Legal News & Research\', \'http://jurist.law.pitt.edu\')" title="Bookmark JURIST"><span style="font-weight: normal;vertical-align: top"><font color="white"><b>Bookmark</b></font></span></a> <font color="white"><img src="/images/s.gif" width="4" height="1"></font> <a href="http://jurist.law.pitt.edu/contact.php" title="Contact JURIST"><span style="font-weight: normal;vertical-align: top"><font color="white"><b>Contact</b></font></span></a>&nbsp&nbsp;</font></td></tr></table></td></tr>');
document.write('</table> ');



document.write(' <table width="100%" border="0" cellspacing="0" cellpadding="0"><form method="get" action="/jurist_search.php">  ');
document.write('<tr>  ');
document.write('<td><center><a href="/"><img src="/images/winston1.jpg" width="222" height="70" alt="JURIST - Legal News & Research" border="0"></a></center></td>  '); 
document.write('<td width="80%" bgcolor="A50000"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><a href="http://www.law.pitt.edu"><img src="/images/pitt1.gif" width="141" height="60" border="0" alt="University of Pittsburgh School of Law" align="left" /></a><table cellpadding=0 cellspacing=0 align=left><tr><td><img src="/images/s.gif" height="4" width="1" /><br><img src="/images/s.gif" height="1" width="220"><a href="http://jurist.law.pitt.edu/paperchase/2008/04/jurist-nominated-for-webby-award-as.php" TITLE="Learn more..."><IMG SRC="http://jurist.law.pitt.edu/images/webbynominee2008.jpg" VALIGN=TOP BORDER=0 HSPACE=0 VSPACE=0 HEIGHT=59 WIDTH=59></a></td></tr></table><table cellpadding="0" cellspacing="0" border="0" align="right"><tr><td><img src="/images/s.gif" height="9" width="1" /><br>  ');
document.write('<table><tr><td><font size="2"><input type="text" name="q" value="" /><img src="/images/s.gif" height="1" width="1" align="left" /></font></td><td><input type="submit" value="SEARCH" STYLE="font-family:Arial; font-size:11; font-style:bold; background:#EEE none; color:#000; width:5em"></td></tr></table></td><td align="left"><img src="/images/s.gif" height="1" width="1" align="right" color="white" /></td></tr></table></td></tr></form>  ');

document.write('<tr><td align="top" bgcolor="A50000"><img src="/images/s.gif" width="0" height="0" align="top" /><table cellpadding="2" cellspacing="0" border="0" align="left" valign="top"><tr><td bgcolor="A50000" valign="top"><font size="2" face="Verdana" style="font-size: 7pt" color="white"><img src="/images/s.gif" width="12" height="1" /><b><a href="/staff/index.php" title="Click for bio and contact information"><font color="white">Bernard Hibbitts</font></a>, Publisher & Editor-in-Chief</b><img src="/images/s.gif" width="43" height="1" /><!---<a TARGET="_blank" href="http://www.post-gazette.com/pg/06119/686043-96.stm" TITLE=""><font color="white">&#39;Go JURIST!&#39; - Pittsburgh Post-Gazette</FONT></a>--></font></td></tr></table>  ');
document.write('<table cellpadding="2" cellspacing="0" border="0" align="right" valign="top"><tr><td><font size="2" face="Verdana" style="font-size: 7pt"><!---<a href="http://whos.amung.us/show/fpkldl03"><img src="http://whos.amung.us/swidget/fpkldl03.gif" alt="Readers online now" width="80" height="15" border="0" HSPACE=0 VSPACE=0/></font></a>-->&nbsp;&nbsp;</font></td><td bgcolor="white" valign="top"><font size="2" face="Verdana" style="font-size: 7pt" color="A50000"><img src="/images/s.gif" width="2" height="1" />  ');
now = new Date();

formatted_time = format_time( now );
document.write(' ');
document.write( formatted_time );
document.write(' ');

formatted_date = format_date( now );
document.write( formatted_date );

document.write('</font><img src="/images/s.gif" width="4" height="1" /></td></tr></table></td></tr></table>  ');
document.write('</td>  ');
document.write('</tr></table>  ');

document.write('<table width=100% border="0" cellspacing="0" cellpadding="0"> ');
document.write('<tr><td bgcolor="A50000" colspan="2"><img src="/images/blckline.gif" height="1" width="222" /></td></tr> '); 
// -->

