From: Subject: pani_nefer2 Date: Wed, 10 Feb 2010 21:14:57 +0100 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01CAAA96.18EEA5F0" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CAAA96.18EEA5F0 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Location: http://dryada.com/X/neferinpu/ pani_nefer2 ------=_NextPart_000_0000_01CAAA96.18EEA5F0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://dryada.com/X/neferinpu/AC_RunActiveContent.js //v1.7 // Flash Player Version Detection // Detect Client Browser type // Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved. var isIE =3D (navigator.appVersion.indexOf("MSIE") !=3D -1) ? true : = false; var isWin =3D (navigator.appVersion.toLowerCase().indexOf("win") !=3D = -1) ? true : false; var isOpera =3D (navigator.userAgent.indexOf("Opera") !=3D -1) ? true : = false; function ControlVersion() { var version; var axo; var e; // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't = in the registry try { // version will be set for 7.X or greater players axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); version =3D axo.GetVariable("$version"); } catch (e) { } if (!version) { try { // version will be set for 6.X players only axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); =09 // installed player is some revision of 6.0 // GetVariable("$version") crashes for versions 6.0.22 through = 6.0.29, // so we have to be careful.=20 =09 // default to the first public version version =3D "WIN 6,0,21,0"; // throws if AllowScripAccess does not exist (introduced in 6.0r47) =09 axo.AllowScriptAccess =3D "always"; // safe to call for 6.0r47 or greater version =3D axo.GetVariable("$version"); } catch (e) { } } if (!version) { try { // version will be set for 4.X or 5.X player axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); version =3D axo.GetVariable("$version"); } catch (e) { } } if (!version) { try { // version will be set for 3.X player axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); version =3D "WIN 3,0,18,0"; } catch (e) { } } if (!version) { try { // version will be set for 2.X player axo =3D new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); version =3D "WIN 2,0,0,11"; } catch (e) { version =3D -1; } } =09 return version; } // JavaScript helper required to detect Flash Player PlugIn version = information function GetSwfVer(){ // NS/Opera version >=3D 3 check for Flash plugin in plugin array var flashVer =3D -1; =09 if (navigator.plugins !=3D null && navigator.plugins.length > 0) { if (navigator.plugins["Shockwave Flash 2.0"] || = navigator.plugins["Shockwave Flash"]) { var swVer2 =3D navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : = ""; var flashDescription =3D navigator.plugins["Shockwave Flash" + = swVer2].description; var descArray =3D flashDescription.split(" "); var tempArrayMajor =3D descArray[2].split("."); =09 var versionMajor =3D tempArrayMajor[0]; var versionMinor =3D tempArrayMajor[1]; var versionRevision =3D descArray[3]; if (versionRevision =3D=3D "") { versionRevision =3D descArray[4]; } if (versionRevision[0] =3D=3D "d") { versionRevision =3D versionRevision.substring(1); } else if (versionRevision[0] =3D=3D "r") { versionRevision =3D versionRevision.substring(1); if (versionRevision.indexOf("d") > 0) { versionRevision =3D versionRevision.substring(0, = versionRevision.indexOf("d")); } } var flashVer =3D versionMajor + "." + versionMinor + "." + = versionRevision; } } // MSN/WebTV 2.6 supports Flash 4 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") !=3D = -1) flashVer =3D 4; // WebTV 2.5 supports Flash 3 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") !=3D = -1) flashVer =3D 3; // older WebTV supports Flash 2 else if (navigator.userAgent.toLowerCase().indexOf("webtv") !=3D -1) = flashVer =3D 2; else if ( isIE && isWin && !isOpera ) { flashVer =3D ControlVersion(); }=09 return flashVer; } // When called with reqMajorVer, reqMinorVer, reqRevision returns true = if that version or greater is available function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) { versionStr =3D GetSwfVer(); if (versionStr =3D=3D -1 ) { return false; } else if (versionStr !=3D 0) { if(isIE && isWin && !isOpera) { // Given "WIN 2,0,0,11" tempArray =3D versionStr.split(" "); // ["WIN", "2,0,0,11"] tempString =3D tempArray[1]; // "2,0,0,11" versionArray =3D tempString.split(","); // ['2', '0', '0', '11'] } else { versionArray =3D versionStr.split("."); } var versionMajor =3D versionArray[0]; var versionMinor =3D versionArray[1]; var versionRevision =3D versionArray[2]; // is the major.revision >=3D requested major.revision AND the = minor version >=3D requested minor if (versionMajor > parseFloat(reqMajorVer)) { return true; } else if (versionMajor =3D=3D parseFloat(reqMajorVer)) { if (versionMinor > parseFloat(reqMinorVer)) return true; else if (versionMinor =3D=3D parseFloat(reqMinorVer)) { if (versionRevision >=3D parseFloat(reqRevision)) return true; } } return false; } } function AC_AddExtension(src, ext) { if (src.indexOf('?') !=3D -1) return src.replace(/\?/, ext+'?');=20 else return src + ext; } function AC_Generateobj(objAttrs, params, embedAttrs)=20 {=20 var str =3D ''; if (isIE && isWin && !isOpera) { str +=3D ''; for (var i in params) { str +=3D ' = '; } str +=3D ''; } else { str +=3D ' '; } document.write(str); } function AC_FL_RunContent(){ var ret =3D=20 AC_GetArgs ( arguments, ".swf", "movie", = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" , "application/x-shockwave-flash" ); AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs); } function AC_SW_RunContent(){ var ret =3D=20 AC_GetArgs ( arguments, ".dcr", "src", = "clsid:166B1BCA-3F9C-11CF-8075-444553540000" , null ); AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs); } function AC_GetArgs(args, ext, srcParamName, classid, mimeType){ var ret =3D new Object(); ret.embedAttrs =3D new Object(); ret.params =3D new Object(); ret.objAttrs =3D new Object(); for (var i=3D0; i < args.length; i=3Di+2){ var currArg =3D args[i].toLowerCase(); =20 switch (currArg){=09 case "classid": break; case "pluginspage": ret.embedAttrs[args[i]] =3D args[i+1]; break; case "src": case "movie":=09 args[i+1] =3D AC_AddExtension(args[i+1], ext); ret.embedAttrs["src"] =3D args[i+1]; ret.params[srcParamName] =3D args[i+1]; break; case "onafterupdate": case "onbeforeupdate": case "onblur": case "oncellchange": case "onclick": case "ondblclick": case "ondrag": case "ondragend": case "ondragenter": case "ondragleave": case "ondragover": case "ondrop": case "onfinish": case "onfocus": case "onhelp": case "onmousedown": case "onmouseup": case "onmouseover": case "onmousemove": case "onmouseout": case "onkeypress": case "onkeydown": case "onkeyup": case "onload": case "onlosecapture": case "onpropertychange": case "onreadystatechange": case "onrowsdelete": case "onrowenter": case "onrowexit": case "onrowsinserted": case "onstart": case "onscroll": case "onbeforeeditfocus": case "onactivate": case "onbeforedeactivate": case "ondeactivate": case "type": case "codebase": case "id": ret.objAttrs[args[i]] =3D args[i+1]; break; case "width": case "height": case "align": case "vspace":=20 case "hspace": case "class": case "title": case "accesskey": case "name": case "tabindex": ret.embedAttrs[args[i]] =3D ret.objAttrs[args[i]] =3D args[i+1]; break; default: ret.embedAttrs[args[i]] =3D ret.params[args[i]] =3D args[i+1]; } } ret.objAttrs["classid"] =3D classid; if (mimeType) ret.embedAttrs["type"] =3D mimeType; return ret; } ------=_NextPart_000_0000_01CAAA96.18EEA5F0--