//by ursolov
//
                                        var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
                                        
                                        if (hasReqestedVersion) {
											
//											AC_FL_RunContent(
//														"src", "/img/banners/swf/example",
//														"width", "358",
//														"height", "102",
//														"align", "middle",
//														"id", "detectionExample",
//														"quality", "high",
//														"bgcolor", "#FFFFFF",
//														"name", "detectionExample",
//														"allowScriptAccess","sameDomain",
//														"type", "application/x-shockwave-flash",
//														'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
//														"pluginspage", "http://www.adobe.com/go/getflashplayer",
//														"wmode", "opaque"
//											);
											
											var flashplayer=1;
                                            var alternateContent = '<div style="padding-top:0px;width:358px;height:102px"><p style="padding-top:34px;">Flash Player '+ requiredMajorVersion +' или выше установлен ранее <BR>и не требует обновлений.<BR>'
                                            + '<b>Показываем Flash баннеры!</b></p></div>';
                                        } else {  
											var flashplayer=0;
                                            var alternateContent = '<div style="padding-top:0px;width:358px;height:102px"><p style="padding-top:34px;">Flash Player '+ requiredMajorVersion +' не установлен ранее <BR>или версия плеера ниже '+ requiredMajorVersion +'.<BR>'
                                            + '<b>Показываем графические баннеры!</b></p></div>';
                                        }
											//document.write(flashplayer);
                                        // -->
										function getCookie(name) {
												var prefix = name + "="
												var cookieStartIndex = document.cookie.indexOf(prefix)
												if (cookieStartIndex == -1)
														return null
												var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
												if (cookieEndIndex == -1)
														cookieEndIndex = document.cookie.length
												return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
										}
										
										function setCookie(name, value, expires, path, domain, secure) {
											var curCookie = name + "=" + escape(value) +
												((expires) ? "; expires=" + expires.toGMTString() : "") +
												((path) ? "; path=" + path : "") +
												((domain) ? "; domain=" + domain : "") +
												((secure) ? "; secure" : "")
											var caution = false;
											if (!caution || (name + "=" + escape(value)).length <= 4000)
											{
												document.cookie = curCookie
											} else if (confirm("Cookie превышает 4KB и будет вырезан !"))
											{
												document.cookie = curCookie
											}
										}
										
										if (self.screen) {     // для Netscape и IE версий 4 и выше
												flashplayer = flashplayer
										}
										else if (self.java) {   // для Netscape3
											   var jkit = java.awt.Toolkit.getDefaultToolkit();
											   var scrsize = jkit.getScreenSize();       
											   flashplayer = flashplayer; 
										}
										
										setCookie("FlashPlayer", flashplayer);
										//document.write("Cookie: FlashPlayer = '"+getCookie("FlashPlayer")+"'<BR>")
										//document.write(alternateContent);