// =0; i--) { h2 = h2s[i]; if (h2.parentNode.nodeName=='DIV') { div = h2.parentNode; if (div.id=='html2swf') { var txt; txt = SI_normalizeWhiteSpace(h2.innerHTML); var c = d.createElement('div'); c.className = 'h2' h2.parentNode.replaceChild(c,h2); var w=124,h=23; var fa = 'http://www.prolexter.com/' + get_url(h2.getAttribute('href')); var selected_item = h2.getAttribute('menuselected'); var swf = 'http://www.prolexter.com/main-menu.swf'; var swfHTML = '
'; swfHTML += ' You need to install flash player 8 to see this site. Please upgrate your Flash player here. '; swfHTML += '
'; c.innerHTML = swfHTML; var so = new SWFObject(swfDir+swf, "sl", w, h, "7", "#e2a407"); so.addVariable("txt",txt.toString()); so.addVariable("url_address",escape(fa)); so.addVariable("menu_selected",selected_item); so.write("flashcontent"); //alert(so.getSWFHTML()); /* swfHTML = ''; swfHTML += ' '; swfHTML += ' '; swfHTML += ' ' swfHTML += ' '; swfHTML += '<'+'/object>'; */ } } } d.body.style.height = "1px"; d.body.style.height = "auto"; } function SI_init() { SI_replaceHeadlines(); } window.onload = SI_init; var required = 7; var hasRequired = false; function SI_hasRequiredFlash() { var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0; if (plugin) { var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description; var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1)); hasRequired = flashVersion >= required; } return hasRequired; } // ]]>