
	function insertHeader() {
document.write(		
'<table width="100%" border=0 cellpadding=0 cellspacing=0>'+
'	<tr>'+
'		<td bgcolor="ffffff">'+
'			<table width="100%" border=0 cellpadding=0 cellspacing=0>'+
'				<tr>'+
'					<td align="right" background="/images/shell/header/bg_header.gif">'+
'						<table width=775 border=0 cellpadding=0 cellspacing=0>'+
'							<tr>'+
'								<td>'+
'									<img src="/images/shell/header/header_grad.gif" width=145 height=56 alt=""><br>'+
'								</td>'+
'								<td>'+
'									<img name="about" src="/images/shell/header/header_line.gif" width=105 height=12 alt="" border="0"><br>'+
'									<a onmouseover="javascript:mouseEnter(' + "'" + 'about' + "'" + ')" onmouseout="javascript:mouseExit(' +"'" + 'about' + "'" + ')" href="/about.html"><img src="/images/shell/header/header_about.gif" width=105 height=44 alt="" border="0"></a><br>'+
'								</td>'+
'								<td>'+
'									<img name="offices" src="/images/shell/header/header_line.gif" width=105 height=12 alt="" border="0"><br>'+
'									<a onmouseover="javascript:mouseEnter(' + "'" + 'offices' + "'" + ')" onmouseout="javascript:mouseExit(' +"'" + 'offices' + "'" + ')" href="/offices.php"><img src="/images/shell/header/header_offices.gif" width=105 height=44 alt="" border="0"></a><br>'+
'								</td>'+
'								<td>'+
'									<img name="partners" src="/images/shell/header/header_line.gif" width=105 height=12 alt="" border="0"><br>'+
'									<a onmouseover="javascript:mouseEnter(' + "'" + 'partners' + "'" + ')" onmouseout="javascript:mouseExit(' +"'" + 'partners' + "'" + ')" href="/partners.php"><img src="/images/shell/header/header_partners.gif" width=105 height=44 alt="" border="0"></a><br>'+
'								</td>'+
'								<td>'+
'									<img name="clients" src="/images/shell/header/header_line.gif" width=105 height=12 alt="" border="0"><br>'+
'									<a onmouseover="javascript:mouseEnter(' + "'" + 'clients' + "'" + ')" onmouseout="javascript:mouseExit(' +"'" + 'clients' + "'" + ')" href="/clients.php"><img src="/images/shell/header/header_clients.gif" width=105 height=44 alt="" border="0"></a><br>'+
'								</td>'+
'								<td>'+
'									<img name="contacts" src="/images/shell/header/header_line.gif" width=105 height=12 alt="" border="0"><br>'+
'									<a onmouseover="javascript:mouseEnter(' + "'" + 'contacts' + "'" + ')" onmouseout="javascript:mouseExit(' +"'" + 'contacts' + "'" + ')" href="/contacts.html"><img src="/images/shell/header/header_contacts.gif" width=105 height=44 alt="" border="0"></a><br>'+
'								</td>'+
'								<td>'+
'									<img name="feedback" src="/images/shell/header/header_line.gif" width=105 height=12 alt="" border="0"><br>'+
'									<a onmouseover="javascript:mouseEnter(' + "'" + 'feedback' + "'" + ')" onmouseout="javascript:mouseExit(' +"'" + 'feedback' + "'" + ')" href="/response.php"><img src="/images/shell/header/header_feedback.gif" width=105 height=44 alt="" border="0"></a><br>'+
'								</td>'+
'							</tr>'+
'						</table>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor="#3773AF">'+
'						<img src="/images/shell/header/spacer.gif" width="1" height="3" alt="" border="0"><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'				<td bgcolor="#637DA8">'+
'						<img src="/images/shell/header/header_blueline.gif" width="358" height="7" alt="" border="0"><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor="#ffffff">'+
'						<img src="/images/shell/header/spacer.gif" width="1" height="1" alt="" border="0"><br>'+
'					</td>'+
'				</tr>'+
'			</table>');
	}
	

	function insertFooter() {
document.write(
'			<table width="100%" border=0 cellpadding=0 cellspacing=0>'+
'				<tr>'+
'					<td bgcolor=#DBD9D9>'+
'						<img src="/images/shell/footer/spacer.gif" width=778 height=1 alt=""><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#F2F1F1>'+
'						<table width="100%" border=0 cellpadding=0 cellspacing=0>'+
'							<tr>'+
'								<td width="25%">'+
'									<table width="100%" border=0 cellpadding=0 cellspacing=0 style="cursor : hand;" OnClick="javascript:goToHome();">'+
'										<tr>'+
'											<td background="/images/shell/footer/bg_tohome.gif">'+
'												<img src="/images/shell/footer/footer_tohome_arrow.gif" width=66 height=68 alt=""><br>'+
'											</td>'+
'											<td align="center" background="/images/shell/footer/bg_tohome.gif">'+
'												<img src="/images/shell/footer/footer_tohome_man.gif" width=66 height=68 alt=""><br>'+
'											</td>'+
'											<td align="right" background="/images/shell/footer/bg_tohome.gif">'+
'												<img src="/images/shell/footer/footer_tohome.gif" width=64 height=68 alt=""><br>'+
'											</td>'+
'										</tr>'+
'									</table>'+
'								</td>'+
'								<td bgcolor=#DBD9D9>'+
'									<img src="/images/shell/footer/spacer.gif" width=1 height=68 alt=""><br>'+
'								</td>'+
'								<td width="25%" background="/images/shell/footer/bg_feedback.gif" style="cursor : hand; background-position : right" OnClick="javascript:goToFeedBack()" align="right">'+
'									<img src="/images/shell/footer/footer_feedback.gif" width="101" height="68" alt="" border="0"><br>'+
'								</td>'+
'								<td bgcolor=#DBD9D9>'+
'									<img src="/images/shell/footer/spacer.gif" width=1 height=68 alt=""><br>'+
'								</td>'+
'								<td width="25%" background="/images/shell/footer/bg_map.gif" style="cursor : hand;" OnClick="javascript:goToMap(); " align="right">'+
'									<img src="/images/shell/footer/footer_map.gif" width="157" height="68" alt="" border="0"><br>'+
'								</td>'+
'								<td bgcolor=#DBD9D9>'+
'									<img src="/images/shell/footer/spacer.gif" width=1 height=68 alt=""><br>'+
'								</td>'+
'								<td width="25%" style="cursor : hand;" OnClick="javascript:goToSearch(); ">'+
'									<table width="100%" border=0 cellpadding=0 cellspacing=0>'+
'										<tr>'+
'											<td align="right" width="50%">'+
'												<img src="/images/shell/footer/footer_search_zoom.gif" width="72" height="68" alt="" border="0"><br>'+
'											</td>'+
'											<td width="50%" background="/images/shell/footer/bg_search.gif" align="right">'+
'												<img src="/images/shell/footer/footer_search.gif" width="43" height="68" alt="" border="0"><br>'+
'											</td>'+
'										</tr>'+
'									</table>'+
'								</td>'+
'							</tr>'+
'						</table>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#DBD9D9>'+
'						<img src="/images/shell/footer/spacer.gif" width=1 height=1 alt=""><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#FFFFFF align="right">'+
'						<img src="/images/shell/footer/footer_shadow.gif" width="226" height="9" alt="" border="0"><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#EFEFEF>'+
'						<img src="/images/shell/footer/spacer.gif" width=1 height=1 alt=""><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#FFFFFF>'+
'						<img src="/images/shell/footer/spacer.gif" width=1 height=6 alt=""><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#EFEFEF>'+
'						<img src="/images/shell/footer/spacer.gif" width=1 height=1 alt=""><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#FFFFFF>'+
'						<img src="/images/shell/footer/spacer.gif" width=1 height=3 alt=""><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#EFEFEF>'+
'						<img src="/images/shell/footer/spacer.gif" width=1 height=1 alt=""><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#FFFFFF>'+
'						<img src="/images/shell/footer/spacer.gif" width=1 height=7 alt=""><br>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#FFFFFF>'+
'						<table width="100%" border=0 cellpadding=0 cellspacing=0>'+
'							<tr>'+
'								<td bgcolor=#FFFFFF align="center">'+
'									<table width="220" border=0 cellpadding=0 cellspacing=0>'+
'										<tr>'+
'											<td width=5 valign="bottom" background="/images/shell/footer/footer_hblueline.gif">'+
'												<img src="/images/shell/footer/footer_hblueline.gif" width=5 height=43 alt=""><br>'+
'											</td>'+
'											<td width=10>'+
'												<img src="/images/shell/footer/spacer.gif" width=10 height=1 alt=""><br>'+
'											</td>'+
'											<td valign="bottom" class="footer" width="205">'+
'												&copy; 2003 ??? "????? ?????"<br>'+
'												Phone: <b>+7 (495) 777-37-37</b><br>'+
'												<img src="/images/shell/footer/spacer.gif" width=205 height=6 alt=""><br>'+
'											</td>'+
'										</tr>'+
'									</table>'+
'								</td>'+
'								<td bgcolor=#FFFFFF align="center">'+
'									<table width="220" border=0 cellpadding=0 cellspacing=0>'+
'										<tr>'+
'											<td width=5 valign="bottom" background="/images/shell/footer/footer_hblueline.gif">'+
'												<img src="/images/shell/footer/footer_hblueline.gif" width=5 height=43 alt=""><br>'+
'											</td>'+
'											<td width=10>'+
'												<img src="/images/shell/footer/spacer.gif" width=10 height=1 alt=""><br>'+
'											</td>'+
'											<td valign="bottom" class="footer" width="205">'+
'												??????????:<br>'+
'												<a href="/copyrights.html">?? ????????? ??????</a><br>'+
'												<img src="/images/shell/footer/spacer.gif" width=205 height=6 alt=""><br>'+
'											</td>'+
'										</tr>'+
'									</table>'+
'								</td>'+
'								<td bgcolor=#FFFFFF align="center">'+
'									<table width="220" border=0 cellpadding=0 cellspacing=0>'+
'										<tr>'+
'											<td width=5 valign="bottom" background="/images/shell/footer/footer_hblueline.gif">'+
'												<img src="/images/shell/footer/footer_hblueline.gif" width=5 height=43 alt=""><br>'+
'											</td>'+
'											<td width=10>'+
'												<img src="/images/shell/footer/spacer.gif" width=10 height=1 alt=""><br>'+
'											</td>'+
'											<td>'+
'												<a href="http://www.bigwindow.ru" target="_blank"><img src="/images/shell/footer/bw.gif" width="46" height="28" alt="" border="0"></a><br>'+
'											</td>'+
'											<td valign="bottom" class="footer" width="205">'+
'												???? ?????? ? ??????<br>'+
'												<a href="http://www.bigwindow.ru" target="_blank">"??????? ????"</a><br>'+
'												<img src="/images/shell/footer/spacer.gif" width=159 height=6 alt=""><br>'+
'											</td>'+
'										</tr>'+
'									</table>'+
'								</td>'+
'							</tr>'+
'							<tr>'+
'								<td bgcolor=#CDCDCD align="center">'+
'									<table width="220" border=0 cellpadding=0 cellspacing=0>'+
'										<tr>'+
'											<td width=5 valign="bottom">'+
'												<img src="/images/shell/footer/footer_hline.gif" width=5 height=21 alt=""><br>'+
'											</td>'+
'											<td>'+
'												<img src="/images/shell/footer/spacer.gif" width=215 height=13 alt=""><br>'+
'											</td>'+
'										</tr>'+
'									</table>'+
'								</td>'+
'								<td bgcolor=#CDCDCD align="center">'+
'									<table width="220" border=0 cellpadding=0 cellspacing=0>'+
'										<tr>'+
'											<td width=5 valign="bottom">'+
'												<img src="/images/shell/footer/footer_hline.gif" width=5 height=21 alt=""><br>'+
'											</td>'+
'											<td>'+
'												<img src="/images/shell/footer/spacer.gif" width=215 height=13 alt=""><br>'+
'											</td>'+
'										</tr>'+
'									</table>'+
'								</td>'+
'								<td bgcolor=#CDCDCD align="center">'+
'									<table width="220" border=0 cellpadding=0 cellspacing=0>'+
'										<tr>'+
'											<td width=5 valign="bottom">'+
'												<img src="/images/shell/footer/footer_hline.gif" width=5 height=21 alt=""><br>'+
'											</td>'+
'											<td>'+
'												<img src="/images/shell/footer/spacer.gif" width=215 height=13 alt=""><br>'+
'											</td>'+
'										</tr>'+
'									</table>'+
'								</td>'+
'							</tr>'+
'							<tr>'+
'								<td bgcolor=#DBD9D9 colspan="5">'+
'									<img src="/images/shell/footer/spacer.gif" width=1 height=1 alt=""><br>'+
'								</td>'+
'							</tr>'+
'						</table>'+
'					</td>'+
'				</tr>'+
'				<tr>'+
'					<td bgcolor=#CDCDCD>'+
'						<img src="/images/shell/footer/spacer.gif" width=1 height=11 alt=""><br>'+
'					</td>'+
'				</tr>'+
'			</table>'+
'		</td>'+
'	</tr>'+
'</table>');

}

function goToHome() {
window.location.href='/index.php';
}

function goToFeedBack() {
window.location.href='/feedback.php';
}

function goToMap() {
window.location.href='/sitemap.html';
}

function goToSearch() {
window.location.href='/search.html';
}


function mouseEnter(name) {
	document.images[name].src="/images/shell/header/header_line_sel.gif";
}
	
function mouseExit(name) {
	setTimeout("unselImage('"+name+"')",0);
}

function unselImage(name) {
	document.images[name].src="/images/shell/header/header_line_unsel.gif";	
}

	
