var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
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 on error resume next \n MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n </SCR' + 'IPT\> \n');}
function pick(p,n,f,w,h){
if (MM_FlashCanPlay) {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"  width="'+w+'" height="'+h+'"> <param name="movie" value="/work/images/'+n+'.swf" /><param name=wmode value=transparent><param name="quality" value="high" /> <embed wmode="transparent" src="/work/images/'+n+'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed> </object>');} 
else{
if (n=="logo") {document.write('<a href="index.php"><img src="'+p+'/'+n+'.'+f+'" width="'+w+'" height="'+h+'" border="0" /></a>')}
if (n=="menu_small2") {document.write('<div style="background:transparent url(images/menu_small.gif) no-repeat; width:350px; height=23px;"><a class="n" href="contacts.php"><img src="/work/images/ms_cont.gif" width="51" height="23" border="0" /></a><a class="n" href="javascript:favorite(window.external.addFavorite(\'http://www.podsolncem.ru\', \'������ ������ � ����� ������� ������ ��� �������\'))"><img src="/work/images/ms_love.gif" width="40" height="23" border="0" /></a><a class="n" href="gallery.php"><img src="/work/images/ms_3d.gif" width="43" height="23" border="0" /></a></div>')}
else{document.write('<img src="'+p+'/'+n+'.'+f+'" width="'+w+'" height="'+h+'" border="0" />')}}}
