function show_menu(menuind)

{

 var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
var ind;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}


/*if ( menuind>=0 ) { */ ind = '?button='+menuind; 
/*} else {ind="";}*/

if ( MM_FlashCanPlay ) {
document.write('	<object style="margin:0;" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\
						   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"\
						   width="800" height="140">                                                                       \
					<param name="movie" value="flash/menu_en.swf'+ind+'">                                                        \
					<param name="quality" value="high">                                                                          \
					<param name="menu" value="false">                                                                             \
					<!--[if !IE]> <-->                                                                                             \
					<object data="flash/menu_en.swf'+ind+'"                                                                          \
							width="800" height="140" type="application/x-shockwave-flash">                                   \
					 <param name="quality" value="high">                                                                              \
					 <param name="menu" value="false">                                                                                 \
					 <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer">                                       \
					 FAIL (the browser should render some flash content, not this).                                                      \
					</object>                                                                                                             \
					<!--> <![endif]-->                                                                                                     \
				   </object>                                                                                                                    ');	
	
} else{
document.write('	<table style="width:800px;height:140px" cellspacing="0" cellpadding="0">\
			  <tr>                                                             \
				<td style="width:240px;height:px">                          \
					<a href="index.html"><img alt="" src="images/logo.png" style="margin-left:20px; margin-top:30px" align="left"></a>\
				</td>                                                                                                                      \
				<td style="width:106px;height:px">                                                                                          \
					<a href="about.php" ><img alt="" src="images/l1.png" style="margin-left:px; margin-top:5px" align="left"></a>    \
				</td>                                                                                                                         \
				<td style="width:106px;height:px">                                                                                             \
					<a href="services.html" ><img alt="" src="images/l2.png" style="margin-left:px; margin-top:5px" align="left"></a>       \
				</td>                                                                                                                            \
				<td style="width:106px;height:px">                                                                                                \
					<a href="solutions.html" ><img alt="" src="images/l3.png" style="margin-left:px; margin-top:5px" align="left"></a>          \
				</td>                                                                                                                               \
				<td style="width:106px;height:px">                                                                                                   \
					<a href="products.php" ><img alt="" src="images/l4.png" style="margin-left:px; margin-top:5px" align="left"></a>             \
				</td>                                                                                                                                  \
				<td style="width:106px;height:px">                                                                                                      \
					<a href="contacts.html" ><img alt="" src="images/l5.png" style="margin-left:px; margin-top:5px" align="left"></a>                \
				</td>\
				<td style="width:30px;height:px">                                                                                                      \
					<a href="http:\/\/www.nprog.ru\/ru\/" ><img alt="" title="English version" src="images/btn_ru.png" style="margin-top:80px" align="left"></a>                \
				</td>\
			  </tr>        \
			</table>                                                                                                                                            ');
}

}
