﻿
    <html>
      <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Newport, RI</title>
        <link rel="stylesheet" type="text/css" href="Styles.ashx?clientsite=newport-ri">
        <script>
          function SimpleSearch()
          {
            window.parent.frames.rightFrame.location.href="blank.htm";
            window.parent.frames.searchFrame.document.write(" ");
            window.parent.document.getElementById("ContentFrameSet").rows="0,*"
            
            window.parent.frames.topFrame.document.forms['submitter'].Mode.value='search';
            window.parent.frames.topFrame.document.forms['submitter'].FullTextQuery.value=document.getElementById("Searchtextbox").value;
            
            window.parent.frames.topFrame.document.forms['submitter'].IndexesToSearch.value="TopLevelMarker";
            window.parent.frames.topFrame.document.forms['submitter'].SearchType.value="allwords";
            window.parent.frames.topFrame.document.forms['submitter'].Position.value=1;
            window.parent.frames.topFrame.document.forms['submitter'].BooleanConditions.value="";
            window.parent.frames.topFrame.document.forms['submitter'].BooleanConditionsText.value="";
            window.parent.frames.topFrame.document.forms['submitter'].Exclude.value="";
            window.parent.frames.topFrame.document.forms['submitter'].Stemming.value="";
            window.parent.frames.topFrame.document.forms['submitter'].Phonic.value="";
            window.parent.frames.topFrame.document.forms['submitter'].Sort.value="";
            window.parent.frames.topFrame.document.forms['submitter'].WordNetSynonyms.value="";
            window.parent.frames.topFrame.document.forms['submitter'].Fuzzy.value=0;
            window.parent.frames.topFrame.document.forms['submitter'].IncludeSynopsis.value="No";

            window.parent.frames.topFrame.document.forms['submitter'].submit();
         }
         function PdfContent()
         {
           var extension=(window.parent.frames.rightFrame.location.href.substring(window.parent.frames.rightFrame.location.href.lastIndexOf('.'),window.parent.frames.rightFrame.location.href.length)).toLowerCase();
           var htmTest=(extension=='.htm' || extension=='.html');
           var contentTest=(window.parent.frames.rightFrame.location.href.toLowerCase().lastIndexOf('/content/')>0);
           if(htmTest && contentTest)
           {
              var url="default.ashx?ClientSite=newport-ri&mode=pdf&url="+window.parent.frames.rightFrame.location.pathname;
              window.open(url);
           }
           else
           {
             alert('The current item being viewed is not available for download as a pdf.');
           }
         }
        </script>
      </head>
      <body>
		<div id="nav">
			<div id="nav_left" class="column2"><a href="javascript:PdfContent();">Download as Pdf</a>   <a href="javascript:window.parent.frames.topFrame.PrintContent();">Print</a>   <a href="javascript:window.parent.frames.topFrame.ShowAdvancedSearch();">Advanced Search</a>   <a href="javascript:window.parent.frames.topFrame.NavToHelp()">Help</a></div>
			<div id="nav_right" class="column2">
				<table border="0" cellpadding="0" cellspacing="0" class="quick_search_nav" height="100%">
				    <tr>
						<td valign="middle">
							<input class="searchtextbox" type="text" id="Searchtextbox" onkeypress="javascript:if(event.keyCode==13)SimpleSearch();" style="" value="  Enter keyword or phrase" onclick="this.value=''">
						</td>
					  	<td valign="middle" style="padding-left:5px;"><a href="javascript:SimpleSearch();">Quick Search</a></td>
					</tr>
				</table>
			</div>
		</div>
      </body>
    </html>
    