// images preload
	if(document.images){
		var im_1 = new Image();
		var im_2 = new Image();
		var im_3 = new Image();
		var im__1 = new Image();
		var im__2 = new Image();
		var im__3 = new Image();
		im_1.src = script_base+"anime/a1.gif";
		im_2.src = script_base+"anime/a2.gif";
		im_3.src = script_base+"anime/a3.gif";
		im__1.src = script_base+"anime/b1.gif";
		im__2.src = script_base+"anime/b2.gif";
		im__3.src = script_base+"anime/b3.gif";
	}
	function image_change(iname,sname){
		document.images[iname].src = eval(sname+".src");
	}
var imgWin ;
function openBigPictures(ImageName,width,height){
	width = (width)?width:700;
	height = (height)?height:600;
	if(document.images&&document.all){
		if(imgWin) imgWin.close();
		imgWin=window.open("","blankImage", 'status=no,scrollbars=yes,resizable=1,width='+width+',height='+height+'');
		imgWin.document.write("<html><head><title></title>");
		imgWin.document.write("<link rel=stylesheet type=text/css href=./normal.css></head>");
		imgWin.document.write("<body topmargin=5 marginheight=5 leftmargin=0 marginwidth=0 bgcolor=white text=black link=black alink=black vlink=black>");
		imgWin.document.write("<center>");
		imgWin.document.write("<table border=0 width=100% height=100% cellspacing=0 cellpadding=0>");
		imgWin.document.write("<tr><td align=center>");
		imgWin.document.write("<table border=0 cellspacing=1 cellpadding=1 bgcolor=#8AA6BE>");
		imgWin.document.write("<tr><td align=center bgcolor=white>");
		imgWin.document.write("<a href='javascript:self.close();' title='закрыть окно'><img src='"+ImageName+"' border=0></a>");
		imgWin.document.write("</td></tr>");
		imgWin.document.write("</table>");
		imgWin.document.write("<br>[ <a href='javascript:self.close();' title='закрыть окно'>закрыть окно</a> ]");
		imgWin.document.write("</td></tr>");
		imgWin.document.write("</table>");
		imgWin.document.write("</body></html>");
		imgWin.document.close();
		imgWin.focus();
	}
}
// dropdown menu
	var to_handler = null;
	var to_interval = 800;
	var active_menuname = null;
	function menu_over(name){
		if(to_handler != null){
			clearTimeout(to_handler);
			menu_out();
		}
		if(document.all[name]){
			document.all[name].className='submenu_over';
			active_menuname = name;
		}
	}
	function menu_out(){
		if(active_menuname != null && document.all[active_menuname]){
			document.all[active_menuname].className='submenu_out';
			active_menuname = null;
		}
		to_handler = null;
	}
function showFlash(w, h, path) {
//===========================================
var str='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+w+'" height="'+h+'" id="flash_map3" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="'+path+'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="'+path+'" quality="high" bgcolor="#ffffff" width="'+w+'" height="'+h+'" name="flash_map3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';
document.write (str);
} 
function showFlashtrans(w, h, path) {
//===========================================
var str='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+w+'" height="'+h+'" id="flash_logo" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="'+path+'" /><param name="wmode" value="transparent" /><param name="quality" value="high" /><param name="bgcolor" value="#666666" /><embed src="'+path+'" quality="high" wmode="transparent" bgcolor="#666666" width="'+w+'" height="'+h+'" name="'+path+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';
document.write (str);
} 

