{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 /**\par
 * SWFObject v1.4.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/\par
 *\par
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:\par
 * http://www.opensource.org/licenses/mit-license.php\par
 *\par
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for\par
 *   legal reasons.\par
 */\par
if(typeof deconcept == "undefined") var deconcept = new Object();\par
if(typeof deconcept.util == "undefined") deconcept.util = new Object();\par
if(typeof deconcept.SWFObjectUtil == "undefined") deconcept.SWFObjectUtil = new Object();\par
deconcept.SWFObject = function(swf, id, w, h, ver, c, useExpressInstall, quality, xiRedirectUrl, redirectUrl, detectKey)\{\par
\tab if (!document.getElementById) \{ return; \}\par
\tab this.DETECT_KEY = detectKey ? detectKey : 'detectflash';\par
\tab this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);\par
\tab this.params = new Object();\par
\tab this.variables = new Object();\par
\tab this.attributes = new Array();\par
\tab if(swf) \{ this.setAttribute('swf', swf); \}\par
\tab if(id) \{ this.setAttribute('id', id); \}\par
\tab if(w) \{ this.setAttribute('width', w); \}\par
\tab if(h) \{ this.setAttribute('height', h); \}\par
\tab if(ver) \{ this.setAttribute('version', new deconcept.PlayerVersion(ver.toString().split("."))); \}\par
\tab this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();\par
\tab if(c) \{ this.addParam('bgcolor', c); \}\par
\tab var q = quality ? quality : 'high';\par
\tab this.addParam('quality', q);\par
\tab this.setAttribute('useExpressInstall', useExpressInstall);\par
\tab this.setAttribute('doExpressInstall', false);\par
\tab var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;\par
\tab this.setAttribute('xiRedirectUrl', xir);\par
\tab this.setAttribute('redirectUrl', '');\par
\tab if(redirectUrl) \{ this.setAttribute('redirectUrl', redirectUrl); \}\par
\}\par
deconcept.SWFObject.prototype = \{\par
\tab setAttribute: function(name, value)\{\par
\tab\tab this.attributes[name] = value;\par
\tab\},\par
\tab getAttribute: function(name)\{\par
\tab\tab return this.attributes[name];\par
\tab\},\par
\tab addParam: function(name, value)\{\par
\tab\tab this.params[name] = value;\par
\tab\},\par
\tab getParams: function()\{\par
\tab\tab return this.params;\par
\tab\},\par
\tab addVariable: function(name, value)\{\par
\tab\tab this.variables[name] = value;\par
\tab\},\par
\tab getVariable: function(name)\{\par
\tab\tab return this.variables[name];\par
\tab\},\par
\tab getVariables: function()\{\par
\tab\tab return this.variables;\par
\tab\},\par
\tab getVariablePairs: function()\{\par
\tab\tab var variablePairs = new Array();\par
\tab\tab var key;\par
\tab\tab var variables = this.getVariables();\par
\tab\tab for(key in variables)\{\par
\tab\tab\tab variablePairs.push(key +"="+ variables[key]);\par
\tab\tab\}\par
\tab\tab return variablePairs;\par
\tab\},\par
\tab getSWFHTML: function() \{\par
\tab\tab var swfNode = "";\par
\tab\tab if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) \{ // netscape plugin architecture\par
\tab\tab\tab if (this.getAttribute("doExpressInstall")) \{ this.addVariable("MMplayerType", "PlugIn"); \}\par
\tab\tab\tab swfNode = '<embed type="application/x-shockwave-flash" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'"';\par
\tab\tab\tab swfNode += ' id="'+ this.getAttribute('id') +'" name="'+ this.getAttribute('id') +'" ';\par
\tab\tab\tab var params = this.getParams();\par
\tab\tab\tab  for(var key in params)\{ swfNode += [key] +'="'+ params[key] +'" '; \}\par
\tab\tab\tab var pairs = this.getVariablePairs().join("&");\par
\tab\tab\tab  if (pairs.length > 0)\{ swfNode += 'flashvars="'+ pairs +'"'; \}\par
\tab\tab\tab swfNode += '/>';\par
\tab\tab\} else \{ // PC IE\par
\tab\tab\tab if (this.getAttribute("doExpressInstall")) \{ this.addVariable("MMplayerType", "ActiveX"); \}\par
\tab\tab\tab swfNode = '<object id="'+ this.getAttribute('id') +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'">';\par
\tab\tab\tab swfNode += '<param name="movie" value="'+ this.getAttribute('swf') +'" />';\par
\tab\tab\tab var params = this.getParams();\par
\tab\tab\tab for(var key in params) \{\par
\tab\tab\tab  swfNode += '<param name="'+ key +'" value="'+ params[key] +'" />';\par
\tab\tab\tab\}\par
\tab\tab\tab var pairs = this.getVariablePairs().join("&");\par
\tab\tab\tab if(pairs.length > 0) \{swfNode += '<param name="flashvars" value="'+ pairs +'" />';\}\par
\tab\tab\tab swfNode += "</object>";\par
\tab\tab\}\par
\tab\tab return swfNode;\par
\tab\},\par
\tab write: function(elementId)\{\par
\tab\tab if(this.getAttribute('useExpressInstall')) \{\par
\tab\tab\tab // check to see if we need to do an express install\par
\tab\tab\tab var expressInstallReqVer = new deconcept.PlayerVersion([6,0,65]);\par
\tab\tab\tab if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) \{\par
\tab\tab\tab\tab this.setAttribute('doExpressInstall', true);\par
\tab\tab\tab\tab this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl')));\par
\tab\tab\tab\tab document.title = document.title.slice(0, 47) + " - Flash Player Installation";\par
\tab\tab\tab\tab this.addVariable("MMdoctitle", document.title);\par
\tab\tab\tab\}\par
\tab\tab\}\par
\tab\tab if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version')))\{\par
\tab\tab\tab var n = (typeof elementId == 'string') ? document.getElementById(elementId) : elementId;\par
\tab\tab\tab n.innerHTML = this.getSWFHTML();\par
\tab\tab\tab return true;\par
\tab\tab\}else\{\par
\tab\tab\tab if(this.getAttribute('redirectUrl') != "") \{\par
\tab\tab\tab\tab document.location.replace(this.getAttribute('redirectUrl'));\par
\tab\tab\tab\}\par
\tab\tab\}\par
\tab\tab return false;\par
\tab\}\par
\}\par
\par
/* ---- detection functions ---- */\par
deconcept.SWFObjectUtil.getPlayerVersion = function()\{\par
\tab var PlayerVersion = new deconcept.PlayerVersion([0,0,0]);\par
\tab if(navigator.plugins && navigator.mimeTypes.length)\{\par
\tab\tab var x = navigator.plugins["Shockwave Flash"];\par
\tab\tab if(x && x.description) \{\par
\tab\tab\tab PlayerVersion = new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\\s)+/, "").replace(/(\\s+r|\\s+b[0-9]+)/, ".").split("."));\par
\tab\tab\}\par
\tab\}else\{\par
\tab\tab // do minor version lookup in IE, but avoid fp6 crashing issues\par
\tab\tab // see http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/\par
\tab\tab try\{\par
\tab\tab\tab var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");\par
\tab\tab\}catch(e)\{\par
\tab\tab\tab try \{\par
\tab\tab\tab\tab var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");\par
\tab\tab\tab\tab PlayerVersion = new deconcept.PlayerVersion([6,0,21]);\par
\tab\tab\tab\tab axo.AllowScriptAccess = "always"; // throws if player version < 6.0.47 (thanks to Michael Williams @ Adobe for this code)\par
\tab\tab\tab\} catch(e) \{\par
\tab\tab\tab\tab if (PlayerVersion.major == 6) \{\par
\tab\tab\tab\tab\tab return PlayerVersion;\par
\tab\tab\tab\tab\}\par
\tab\tab\tab\}\par
\tab\tab\tab try \{\par
\tab\tab\tab\tab axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");\par
\tab\tab\tab\} catch(e) \{\}\par
\tab\tab\}\par
\tab\tab if (axo != null) \{\par
\tab\tab\tab PlayerVersion = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));\par
\tab\tab\}\par
\tab\}\par
\tab return PlayerVersion;\par
\}\par
deconcept.PlayerVersion = function(arrVersion)\{\par
\tab this.major = arrVersion[0] != null ? parseInt(arrVersion[0]) : 0;\par
\tab this.minor = arrVersion[1] != null ? parseInt(arrVersion[1]) : 0;\par
\tab this.rev = arrVersion[2] != null ? parseInt(arrVersion[2]) : 0;\par
\}\par
deconcept.PlayerVersion.prototype.versionIsValid = function(fv)\{\par
\tab if(this.major < fv.major) return false;\par
\tab if(this.major > fv.major) return true;\par
\tab if(this.minor < fv.minor) return false;\par
\tab if(this.minor > fv.minor) return true;\par
\tab if(this.rev < fv.rev) return false;\par
\tab return true;\par
\}\par
/* ---- get value of query string param ---- */\par
deconcept.util = \{\par
\tab getRequestParameter: function(param) \{\par
\tab\tab var q = document.location.search || document.location.hash;\par
\tab\tab if(q) \{\par
\tab\tab\tab var pairs = q.substring(1).split("&");\par
\tab\tab\tab for (var i=0; i < pairs.length; i++) \{\par
\tab\tab\tab\tab if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) \{\par
\tab\tab\tab\tab\tab return pairs[i].substring((pairs[i].indexOf("=")+1));\par
\tab\tab\tab\tab\}\par
\tab\tab\tab\}\par
\tab\tab\}\par
\tab\tab return "";\par
\tab\}\par
\}\par
/* fix for video streaming bug */\par
deconcept.SWFObjectUtil.cleanupSWFs = function() \{\par
\tab if (window.opera || !document.all) return;\par
\tab var objects = document.getElementsByTagName("OBJECT");\par
\tab for (var i=0; i < objects.length; i++) \{\par
\tab\tab objects[i].style.display = 'none';\par
\tab\tab for (var x in objects[i]) \{\par
\tab\tab\tab if (typeof objects[i][x] == 'function') \{\par
\tab\tab\tab\tab objects[i][x] = function()\{\};\par
\tab\tab\tab\}\par
\tab\tab\}\par
\tab\}\par
\}\par
// fixes bug in fp9 see http://blog.deconcept.com/2006/07/28/swfobject-143-released/\par
deconcept.SWFObjectUtil.prepUnload = function() \{\par
\tab __flash_unloadHandler = function()\{\};\par
\tab __flash_savedUnloadHandler = function()\{\};\par
\tab if (typeof window.onunload == 'function') \{\par
\tab\tab var oldUnload = window.onunload;\par
\tab\tab window.onunload = function() \{\par
\tab\tab\tab deconcept.SWFObjectUtil.cleanupSWFs();\par
\tab\tab\tab oldUnload();\par
\tab\tab\}\par
\tab\} else \{\par
\tab\tab window.onunload = deconcept.SWFObjectUtil.cleanupSWFs;\par
\tab\}\par
\}\par
if (typeof window.onbeforeunload == 'function') \{\par
\tab var oldBeforeUnload = window.onbeforeunload;\par
\tab window.onbeforeunload = function() \{\par
\tab\tab deconcept.SWFObjectUtil.prepUnload();\par
\tab\tab oldBeforeUnload();\par
\tab\}\par
\} else \{\par
\tab window.onbeforeunload = deconcept.SWFObjectUtil.prepUnload;\par
\}\par
/* add Array.push if needed (ie5) */\par
if (Array.prototype.push == null) \{ Array.prototype.push = function(item) \{ this[this.length] = item; return this.length; \}\}\par
\par
/* add some aliases for ease of use/backwards compatibility */\par
var getQueryParamValue = deconcept.util.getRequestParameter;\par
var FlashObject = deconcept.SWFObject; // for legacy support\par
var SWFObject = deconcept.SWFObject;\par
}
 