<!--

function showImage(imageName,title,w,h) {
	onewindow=window.open('','','resizable=no,scrollbars=0,marginheight=0,marginweight=0,toolbar=no,width=' + w + ',height=' + h + '');
	onewindow.document.open();	
	onewindow.document.write(
		'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">' +
			'<html>' +
			'<head>' +
			'<title>' + title + '</title>' +
			'<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">' +
			'<link rel="stylesheet" href="/common.css" type="text/css">' +
			'</head>' +
			'<body  bgcolor=#633422 topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0">' +
				'<a href="javascript:window.close();"><img src="' + imageName + '" width="' + w + '" height="' + h + '" alt="" border="0"><br></a>' +
			'</body>' +
			'</html>'
	);
	onewindow.document.close();
	onewindow.focus();

}



function insertHeader1(){

document.write('<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">' );
document.write('	<tr>' );
document.write('		<td width="50%" bgcolor="#613320" background="/images/shell/bg_left_top.jpg" align="right" style="background-position: right; background-repeat : repeat-y;">' );
document.write('			<img src="/images/shell/spacer.gif" width="1" height="150" alt=""><br>' );
document.write('		</td>' );
document.write('		<td width="4" bgcolor="#FFFFFF">' );
document.write('			<img src="/images/shell/spacer.gif" width="4" height="150" alt=""><br>' );
document.write('		</td>' );
document.write('		<td bgcolor="#97573B" background="/images/shell/bg_menu.jpg">' );
document.write('			<a href="oldtown.html"><img src="/images/shell/oldtown_logo.jpg" width="175" height="150" alt="" border="0"></a><br>' );
document.write('		</td>' );
document.write('		<td width="4" bgcolor="#FFFFFF">' );
document.write('			<img src="/images/shell/spacer.gif" width="4" height="150" alt=""><br>' );
document.write('		</td>' );
document.write('		<td width="573"  bgcolor="#754E3A">' );
document.write('			<table width="573" height="150" border="0" cellpadding="0" cellspacing="0">' );
document.write('				<tr>' );
document.write('					<td width="572" height="112" bgcolor="#301A10">' );
}



function insertHeader2(){

document.write('					</td>' );
document.write('					<td width="1" height="112" bgcolor="#8E7A71">' );
document.write('						<img src="/images/shell/spacer.gif" width="1" height="112" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td bgcolor="#FFFFFF">' );
document.write('						<img src="/images/shell/header_wline.jpg" width="572" height="4" alt=""><br>' );
document.write('					</td>' );
document.write('					<td width="1" height="4" bgcolor="#FFFFFF">' );
document.write('						<img src="/images/shell/spacer.gif" width="1" height="4" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td width="572" height="33" bgcolor="#77513C" background="/images/shell/header_bg_name.jpg">' );
}

function insertBody(){

document.write('					</td>' );
document.write('					<td width="1" height="33" bgcolor="#AB9488">' );
document.write('						<img src="/images/shell/spacer.gif" width="1" height="33" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td bgcolor="#AD9588">' );
document.write('						<img src="/images/shell/header_bwiiline.jpg" width="572" height="1" alt=""><br>' );
document.write('					</td>' );
document.write('					<td bgcolor="#AB9488">' );
document.write('						<img src="/images/shell/spacer.gif" width="1" height="" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('			</table>' );

document.write('		</td>' );
document.write('		<td width="50%" bgcolor="#613320" background="/images/shell/bg_right_top.jpg">' );
document.write('			<img src="/images/shell/spacer.gif" width="1" height="150" alt=""><br>' );
document.write('		</td>' );
document.write('	</tr>' );
document.write('	<tr>' );
document.write('		<td height="100%" bgcolor="#613320" background="/images/shell/bg_left_general.jpg" align="right" style="background-position: right top; background-repeat : repeat-y;">' );
document.write('			<img src="/images/shell/spacer.gif" width="1" height="1" alt=""><br>' );
document.write('		</td>' );
document.write('		<td width="4" bgcolor="#FFFFFF">' );
document.write('			<img src="/images/shell/spacer.gif" width="4" height="1" alt=""><br>' );
document.write('		</td>' );
document.write('		<td width="175" bgcolor="#97573B" background="/images/shell/bg_menu.jpg" valign="top">' );

document.write('			<table width="175" height="200" border="0" cellpadding="0" cellspacing="0" class="menu">' );
document.write('				<tr>' );
document.write('					<td width="175" height="30">' );
document.write('						<img src="/images/shell/menu/spacer.gif" width="175" height="30" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td>' );
document.write('						<a href="about.html">О проекте</a><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td width="175" height="8">' );
document.write('						<img src="/images/shell/menu/spacer.gif" width="175" height="8" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td>' );
document.write('						<a href="/programm.html">Программа</a><br>' );
document.write('						</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td width="175" height="8">' );
document.write('						<img src="/images/shell/menu/spacer.gif" width="175" height="8" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td>' );
document.write('						<a href="/partners2005.html">Партнеры</a><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td width="175" height="8">' );
document.write('						<img src="/images/shell/menu/spacer.gif" width="175" height="8" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td>' );
document.write('						<a href="/org.html">Организаторы </a> <br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td width="175" height="8">' );
document.write('						<img src="/images/shell/menu/spacer.gif" width="175" height="4" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td>' );
document.write('						<a href="/quest.html">Розыгрыш билетов</a><br>' ); 
document.write('					</td>' );
document.write('				</tr>' );

document.write('				<tr>' );
document.write('					<td width="175" height="8">' );
document.write('						<img src="/images/shell/menu/spacer.gif" width="175" height="8" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td>' );
document.write('						<a href="/photo2005.htm">Фотоотчет</a><br>' );  
document.write('					</td>' );
document.write('				</tr>' );

document.write('				<tr>' );
document.write('					<td width="175" height="8">' );
document.write('						<img src="/images/shell/menu/spacer.gif" width="175" height="8" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td>' );
document.write('						<a href="/archive.html">Архив 2004</a><br>' );  
document.write('					</td>' );
document.write('				</tr>' );
/*
document.write('				<tr>' );
document.write('					<td width="175" height="4">' );
document.write('						<img src="/images/shell/menu/spacer.gif" width="175" height="4" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' ); 
document.write('				<tr>' );
document.write('					<td class="submenu">' );
document.write('						<a href="/programm2004.html">Программа</a><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td class="submenu">' );
document.write('						<a href="/partners.html">Партнеры</a><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td class="submenu">' );
document.write('						<a href="/press.html">Пресс-отчет</a><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td class="submenu">' ); 
document.write('						<a href="/photo.html">Фото-отчет</a><br>' );
document.write('					</td>' );
document.write('				</tr>' );
*/
document.write('			</table>' ); 

document.write('		</td>' );
document.write('		<td width="4" bgcolor="#FFFFFF">' );
document.write('			<img src="/images/shell/spacer.gif" width="4" height="1" alt=""><br>' );
document.write('		</td>' );
document.write('		<td bgcolor="#482618" background="/images/shell/bg_text.jpg" height="100%" valign="top">' );
			
document.write('			<table border="0" cellpadding="0" cellspacing="0">' );
document.write('				<tr>' );
document.write('					<td colspan="3">' );
document.write('						<img src="/images/shell/spacer.gif" width="1" height="30" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('				<tr>' );
document.write('					<td valign="top">' );
document.write('						<img src="/images/shell/spacer.gif" width="45" height="1" alt=""><br>' );
document.write('					</td>' );
document.write('					<td>' );
}

//document.write('				<tr>' );
//document.write('					<td class="submenu">' );
//document.write('						<a href="/art.html">Артмания</a><br>' );
//document.write('					</td>' );
//document.write('				</tr>' );



function insertFooter(){

document.write('					</td>' );
document.write('					<td valign="top">' );
document.write('						<img src="/images/shell/spacer.gif" width="30" height="1" alt=""><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('			</table>' );

document.write('		</td>' );
document.write('		<td bgcolor="#613320" background="/images/shell/bg_right_general.jpg">' );
document.write('			<img src="/images/shell/spacer.gif" width="1" height="1" alt=""><br>' );
document.write('		</td>' );
document.write('	</tr>' );
document.write('	<tr>' );
document.write('		<td bgcolor="#613320" background="/images/shell/bg_left_bottom.jpg" align="right" style="background-position: right; background-repeat : repeat-y;">' );
document.write('			<img src="/images/shell/spacer.gif" width="1" height="117" alt=""><br>' );
document.write('		</td>' );
document.write('		<td width="4" bgcolor="#FFFFFF">' );
document.write('			<img src="/images/shell/spacer.gif" width="4" height="117" alt=""><br>' );
document.write('		</td>' );
document.write('		<td width="175" bgcolor="#97573B" background="/images/shell/bg_menu.jpg" align="right">' );
document.write('			<img src="/images/shell/art_logo_left.jpg" width="27" height="117" alt="" border="0"><br>' );
document.write('		</td>' );
document.write('		<td width="4" bgcolor="#FFFFFF">' );
document.write('			<img src="/images/shell/art_logo_center.jpg" width="4" height="117" alt="" border="0"><br>' );
document.write('		</td>' );
document.write('		<td width="573" bgcolor="#482618" background="/images/shell/bg_text.jpg">' );
document.write('			<table border="0" cellpadding="0" cellspacing="0" width="100%" background="/images/shell/bg_footer.jpg">' );
document.write('				<tr>' );
document.write('					<td>' );
document.write('						<img src="/images/shell/art_logo_right.jpg" width="204" height="117" alt="" border="0" usemap="#art_logo_right_Map"><br>' );
document.write('						<map name="art_logo_right_Map">' );
document.write('							<area shape="poly" alt="" coords="0,62, 12,39, 80,67, 63,102, 0,76" href="http://www.art-mania.ru/" target=_blank>' );
document.write('						</map>' );

document.write('					</td>' );
document.write('					<td align="right">' );
document.write('						<img src="/images/shell/corner.jpg" width="175" height="117" alt="" border="0"><br>' );
document.write('					</td>' );
document.write('				</tr>' );
document.write('			</table>' );
document.write('		</td>' );
document.write('		<td bgcolor="#613320" background="/images/shell/bg_right_bottom.jpg">' );
document.write('			<img src="/images/shell/spacer.gif" width="1" height="117" alt=""><br>' );
document.write('		</td>' );
document.write('	</tr>' );
document.write('</table>' );
}


function insertImgshellbegin(){

document.write('<table width="172" height="193" border="0" cellpadding="0" cellspacing="0" align="right">' );
document.write('	<tr>' );
document.write('		<td colspan="3">' );
document.write('			<img src="/images/shell/imgshell/spacer.gif" width="1" height="4" alt=""></td>' );
document.write('	</tr>' );
document.write('	<tr>' );
document.write('		<td rowspan="3">' );
document.write('			<img src="/images/shell/imgshell/imgshell_shadow.jpg" width="32" height="193" alt=""></td>' );
document.write('		<td width="140" height="4" colspan="2" bgcolor="#D8D8D8">' );
document.write('			<img src="/images/shell/imgshell/spacer.gif" width="140" height="4" alt=""></td>' );
document.write('	</tr>' );
document.write('	<tr>' );
document.write('		<td width="136" height="171" bgcolor="#D9B392">' );
}


function insertImgshellend(){

document.write('		<td width="4" height="171" bgcolor="#D8D8D8">' );
document.write('			<img src="/images/shell/imgshell/spacer.gif" width="4" height="171" alt=""></td>' );
document.write('	</tr>' );
document.write('	<tr>' );
document.write('		<td colspan="2">' );
document.write('			<img src="/images/shell/imgshell/imgshell_bottom.jpg" width="140" height="18" alt=""></td>' );
document.write('	</tr>' );
document.write('</table>' );
}


/*menu script*/

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
/*
function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		menu_about_over = newImage("/images/shell/menu/menu_about-over.gif");
		menu_programm_over = newImage("/images/shell/menu/menu_programm-over.gif");
		menu_quest_over = newImage("/images/shell/menu/menu_quest-over.gif");
		menu_oldtown_over = newImage("/images/shell/menu/menu_oldtown-over.gif");
		menu_art_over = newImage("/images/shell/menu/menu_art-over.gif");
		menu_partners_over = newImage("/images/shell/menu/menu_partners-over.gif");
		menu_press_over = newImage("/images/shell/menu/menu_press-over.gif");
		photo_over = newImage("/images/shell/menu/photo-over.gif");
		preloadFlag = true;
	}
}
*/

 
-->
