		var fds = new Array();
		function startFade(id)
		{
			var y;
			y = document.getElementById('a'+id);
			var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
			var itsAllIE = (rslt != null && Number(rslt[1]) >= 5.5);
			if(itsAllIE)
			{
				y.style.filter = 'alpha(opacity=\'100\')';
				return;
			}
			y.style.opacity = '1';
		}
		function stopFade(id)
		{
			var y;
			y = document.getElementById('a'+id);
			var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
			var itsAllIE = (rslt != null && Number(rslt[1]) >= 5.5);
			if(itsAllIE)
			{
				y.style.filter = 'alpha(opacity=\'0\')';
				return;
			}
			y.style.opacity = '0';
		}
		
		function writeFlash(id)
		{
		
			document.getElementById(id).innerHTML =	'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="394" height="320" id="theh" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="images/baner.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent"><embed src="images/baner.swf" quality="high" bgcolor="#000000" wmode="transparent" width="394" height="320" name="theh" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';
		}
		
		function ch(url,id,mx)
		{
			document.getElementById('pic').src='gallery/min_'+url;
			document.getElementById('pica').href='gallery/'+url;
			
			var i;
			for(i = 1;i <= mx;i++)
			{
				document.getElementById('pic'+i).style.backgroundColor='black';
				document.getElementById('pic'+i).style.fontWeight='normal';
				document.getElementById('pic'+i).style.color='#999999';
			}
			document.getElementById('pic'+id).style.backgroundColor='#338E21';
			document.getElementById('pic'+id).style.fontWeight='bold';
			document.getElementById('pic'+id).style.color='#ffffff';
			return;
		}
		
		var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
		var itsAllIE = (rslt != null && Number(rslt[1]) > 6);
		if(itsAllIE)
		{
			document.write('<style>#inner_header { height:5px; top:41px;}</style>');
		}
		