﻿<!--
// Header Script //
//var d_title = document.title.substr(0,document.title.indexOf("(")); 
if (location.href.indexOf('print=true') == -1) {
//var sBreadcrumb = document.body.innerHTML.indexOf("[Breadcrumb]") + 12;
//var eBreadcrumb = document.body.innerHTML.indexOf("[/Breadcrumb]");
//var fBreadcrumb = document.body.innerHTML.substr(sBreadcrumb, eBreadcrumb - sBreadcrumb);
document.write("<tr>");
    document.write("<td id='Header' colspan='3' valign='top' style='background:url(/images/IT/bgHeaderBlue.jpg) repeat-x #ffffff;'>");
        document.write("<table border='0' cellspacing='0' cellpadding='0' width='100%' style='background:url(/images/IT/COBHeaderBar.gif) no-repeat top right;'>");
            document.write("<tr>");
                document.write("<td valign='top' colspan='2' align='right' style='background:url(/images/IT/TopLeftHeaderShort.gif) no-repeat top left; width: 100%; height:100px;'><a href='http://www.bellevuewa.gov/Default.htm' target='_top' style='position: absolute; left: 10px; top: 15px; z-index: 100; width: 400px; height: 100px;'><img src='/images/IT/clear.gif' align='left' width='130' height='100' alt='' /></a>");             
                        document.write("<table cellspacing='0' cellpadding='0' border='0' style='width:490px; height:130px; padding:84px 10px 0px 0px;'>");
                            document.write("<tr>");
                                document.write("<td><div class='HNItem'><a href='/live_in_bellevue.htm' style='text-decoration:none;'>Live <img src='/images/IT/icoArrow.gif' height='5' hspace='0' vspace='0'></a></div></td>");
                                document.write("<td><div class='HNItem'><a href='/work_in_bellevue.htm' style='text-decoration:none;'>Work <img src='/images/IT/icoArrow.gif' height='5' hspace='0' vspace='0'></a></div></td>");
                                document.write("<td><div class='HNItem'><a href='/play_in_bellevue.htm' style='text-decoration:none;'>Play <img src='/images/IT/icoArrow.gif' height='5' hspace='0' vspace='0'></a></div></td>");
                                document.write("<td><form name='searchForm' action='http://search.bellevuewa.gov/search?site=default_collection&client=default_frontend&output=xml_no_dtd&proxystylesheet=default_frontend' method='GET' style='margin: 0px; padding: 0px'>Search <input name='q' type='text' size='15' class='SearchField' style='vertical-align: middle;'> <input name='Go' type='submit' value='Go' class='SearchButton' style='vertical-align: middle; cursor: pointer;'></form></td>");
                            document.write("</tr>");
                        document.write("</table>");
                document.write("</td>");
            document.write("</tr>");
            document.write("<tr><td><span class='Menu'><a href='http://www.bellevuewa.gov/Default.htm'><b>Home</b></a>"); // + fBreadcrumb + "</span></td>");
            if (location.search != "") 
            {
                var urlParams = '&'
            } else {
                var urlParams = '?'
            }
            var isSecure = (location.href.substr(0, 5) == 'https');
            var newUrl = 'http://www.bellevuewa.gov/';    
            var urlStart = location.href.indexOf('/', location.href.indexOf('/') + 1);
            if (location.href.indexOf('/', urlStart + 1) > -1) {
              urlStart = location.href.indexOf('/', urlStart + 1);            
            } else {
              urlStart = 0;
            }
            if (isSecure) {
                newUrl = 'https://www.bellevuewa.gov/' + location.href.substr(urlStart + 1) + urlParams + 'print=true';
            } else {
                newUrl = newUrl + location.href.substr(urlStart + 1) + urlParams + 'print=true';
            }
            document.write('<td align="right"><a class="popup" href="javascript:void(0);" onclick=\'window.open("' + newUrl + '")\' style="padding: 0px 10px 0px 10px;"><img hspace="2" src="/images/icons/icoPrint.gif" alt="Printer-friendly version" style="vertical-align: text-top;" />Printer-friendly version</a></td></tr>');
        document.write("</table>");
    document.write("</td>");
document.write("</tr>");
} else {
document.write("<tr>");
    document.write("<td id='Header' colspan='3' valign='top'>");
        document.write("<img src='/images/IT/PrintHeader.jpg' alt='City of Bellevue, Washington' width='675' height='100' hspace='0' vspace='0' alt='' /><br /><br />");
        document.write("<style type='text/css'><!-- a:link, a:hover, a:active, a:visited {text-decoration: none; color: black; cursor: text;} .LHN,#LHN,.noPrint {display: none;} body, .Footer2 { margin: 0px; } .Content { width: auto; } --></style>");
    document.write("</td>");
document.write("</tr>");
} 
//-->