Share Pastebin
Guest
Public paste!

Awene Code

By: a guest | Oct 25th, 2009 | Syntax: JavaScript | Size: 169.36 KB | Hits: 147 | Expires: Never
Copy text to clipboard
  1. http://awene.com/awene.aspx
  2. http://awene.com/Scripts/AC_RunActiveContent.js
  3.  
  4. //v1.7
  5.  
  6. // Flash Player Version Detection
  7.  
  8. // Detect Client Browser type
  9.  
  10. // Copyright 2005-2007 Adobe Systems Incorporated.  All rights reserved.
  11.  
  12. var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
  13.  
  14. var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
  15.  
  16. var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
  17.  
  18.  
  19.  
  20. function ControlVersion()
  21.  
  22. {
  23.  
  24.         var version;
  25.  
  26.         var axo;
  27.  
  28.         var e;
  29.  
  30.  
  31.  
  32.         // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
  33.  
  34.  
  35.  
  36.         try {
  37.  
  38.                 // version will be set for 7.X or greater players
  39.  
  40.                 axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
  41.  
  42.                 version = axo.GetVariable("$version");
  43.  
  44.         } catch (e) {
  45.  
  46.         }
  47.  
  48.  
  49.  
  50.         if (!version)
  51.  
  52.         {
  53.  
  54.                 try {
  55.  
  56.                         // version will be set for 6.X players only
  57.  
  58.                         axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
  59.  
  60.                        
  61.  
  62.                         // installed player is some revision of 6.0
  63.  
  64.                         // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
  65.  
  66.                         // so we have to be careful.
  67.  
  68.                        
  69.  
  70.                         // default to the first public version
  71.  
  72.                         version = "WIN 6,0,21,0";
  73.  
  74.  
  75.  
  76.                         // throws if AllowScripAccess does not exist (introduced in 6.0r47)            
  77.  
  78.                         axo.AllowScriptAccess = "always";
  79.  
  80.  
  81.  
  82.                         // safe to call for 6.0r47 or greater
  83.  
  84.                         version = axo.GetVariable("$version");
  85.  
  86.  
  87.  
  88.                 } catch (e) {
  89.  
  90.                 }
  91.  
  92.         }
  93.  
  94.  
  95.  
  96.         if (!version)
  97.  
  98.         {
  99.  
  100.                 try {
  101.  
  102.                         // version will be set for 4.X or 5.X player
  103.  
  104.                         axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
  105.  
  106.                         version = axo.GetVariable("$version");
  107.  
  108.                 } catch (e) {
  109.  
  110.                 }
  111.  
  112.         }
  113.  
  114.  
  115.  
  116.         if (!version)
  117.  
  118.         {
  119.  
  120.                 try {
  121.  
  122.                         // version will be set for 3.X player
  123.  
  124.                         axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
  125.  
  126.                         version = "WIN 3,0,18,0";
  127.  
  128.                 } catch (e) {
  129.  
  130.                 }
  131.  
  132.         }
  133.  
  134.  
  135.  
  136.         if (!version)
  137.  
  138.         {
  139.  
  140.                 try {
  141.  
  142.                         // version will be set for 2.X player
  143.  
  144.                         axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
  145.  
  146.                         version = "WIN 2,0,0,11";
  147.  
  148.                 } catch (e) {
  149.  
  150.                         version = -1;
  151.  
  152.                 }
  153.  
  154.         }
  155.  
  156.        
  157.  
  158.         return version;
  159.  
  160. }
  161.  
  162.  
  163.  
  164. // JavaScript helper required to detect Flash Player PlugIn version information
  165.  
  166. function GetSwfVer(){
  167.  
  168.         // NS/Opera version >= 3 check for Flash plugin in plugin array
  169.  
  170.         var flashVer = -1;
  171.  
  172.        
  173.  
  174.         if (navigator.plugins != null && navigator.plugins.length > 0) {
  175.  
  176.                 if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
  177.  
  178.                         var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
  179.  
  180.                         var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
  181.  
  182.                         var descArray = flashDescription.split(" ");
  183.  
  184.                         var tempArrayMajor = descArray[2].split(".");                  
  185.  
  186.                         var versionMajor = tempArrayMajor[0];
  187.  
  188.                         var versionMinor = tempArrayMajor[1];
  189.  
  190.                         var versionRevision = descArray[3];
  191.  
  192.                         if (versionRevision == "") {
  193.  
  194.                                 versionRevision = descArray[4];
  195.  
  196.                         }
  197.  
  198.                         if (versionRevision[0] == "d") {
  199.  
  200.                                 versionRevision = versionRevision.substring(1);
  201.  
  202.                         } else if (versionRevision[0] == "r") {
  203.  
  204.                                 versionRevision = versionRevision.substring(1);
  205.  
  206.                                 if (versionRevision.indexOf("d") > 0) {
  207.  
  208.                                         versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
  209.  
  210.                                 }
  211.  
  212.                         }
  213.  
  214.                         var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
  215.  
  216.                 }
  217.  
  218.         }
  219.  
  220.         // MSN/WebTV 2.6 supports Flash 4
  221.  
  222.         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
  223.  
  224.         // WebTV 2.5 supports Flash 3
  225.  
  226.         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
  227.  
  228.         // older WebTV supports Flash 2
  229.  
  230.         else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
  231.  
  232.         else if ( isIE && isWin && !isOpera ) {
  233.  
  234.                 flashVer = ControlVersion();
  235.  
  236.         }      
  237.  
  238.         return flashVer;
  239.  
  240. }
  241.  
  242.  
  243.  
  244. // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
  245.  
  246. function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
  247.  
  248. {
  249.  
  250.         versionStr = GetSwfVer();
  251.  
  252.         if (versionStr == -1 ) {
  253.  
  254.                 return false;
  255.  
  256.         } else if (versionStr != 0) {
  257.  
  258.                 if(isIE && isWin && !isOpera) {
  259.  
  260.                         // Given "WIN 2,0,0,11"
  261.  
  262.                         tempArray         = versionStr.split(" ");      // ["WIN", "2,0,0,11"]
  263.  
  264.                         tempString        = tempArray[1];                       // "2,0,0,11"
  265.  
  266.                         versionArray      = tempString.split(",");      // ['2', '0', '0', '11']
  267.  
  268.                 } else {
  269.  
  270.                         versionArray      = versionStr.split(".");
  271.  
  272.                 }
  273.  
  274.                 var versionMajor      = versionArray[0];
  275.  
  276.                 var versionMinor      = versionArray[1];
  277.  
  278.                 var versionRevision   = versionArray[2];
  279.  
  280.  
  281.  
  282.                 // is the major.revision >= requested major.revision AND the minor version >= requested minor
  283.  
  284.                 if (versionMajor > parseFloat(reqMajorVer)) {
  285.  
  286.                         return true;
  287.  
  288.                 } else if (versionMajor == parseFloat(reqMajorVer)) {
  289.  
  290.                         if (versionMinor > parseFloat(reqMinorVer))
  291.  
  292.                                 return true;
  293.  
  294.                         else if (versionMinor == parseFloat(reqMinorVer)) {
  295.  
  296.                                 if (versionRevision >= parseFloat(reqRevision))
  297.  
  298.                                         return true;
  299.  
  300.                         }
  301.  
  302.                 }
  303.  
  304.                 return false;
  305.  
  306.         }
  307.  
  308. }
  309.  
  310.  
  311.  
  312. function AC_AddExtension(src, ext)
  313.  
  314. {
  315.  
  316.   if (src.indexOf('?') != -1)
  317.  
  318.     return src.replace(/\?/, ext+'?');
  319.  
  320.   else
  321.  
  322.     return src + ext;
  323.  
  324. }
  325.  
  326.  
  327.  
  328. function AC_Generateobj(objAttrs, params, embedAttrs)
  329.  
  330. {
  331.  
  332.   var str = '';
  333.  
  334.   if (isIE && isWin && !isOpera)
  335.  
  336.   {
  337.  
  338.     str += '<object ';
  339.  
  340.     for (var i in objAttrs)
  341.  
  342.     {
  343.  
  344.       str += i + '="' + objAttrs[i] + '" ';
  345.  
  346.     }
  347.  
  348.     str += '>';
  349.  
  350.     for (var i in params)
  351.  
  352.     {
  353.  
  354.       str += '<param name="' + i + '" value="' + params[i] + '" /> ';
  355.  
  356.     }
  357.  
  358.     str += '</object>';
  359.  
  360.   }
  361.  
  362.   else
  363.  
  364.   {
  365.  
  366.     str += '<embed ';
  367.  
  368.     for (var i in embedAttrs)
  369.  
  370.     {
  371.  
  372.       str += i + '="' + embedAttrs[i] + '" ';
  373.  
  374.     }
  375.  
  376.     str += '> </embed>';
  377.  
  378.   }
  379.  
  380.  
  381.  
  382.   document.write(str);
  383.  
  384. }
  385.  
  386.  
  387.  
  388. function AC_FL_RunContent(){
  389.  
  390.   var ret =
  391.  
  392.     AC_GetArgs
  393.  
  394.     (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
  395.  
  396.      , "application/x-shockwave-flash"
  397.  
  398.     );
  399.  
  400.   AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
  401.  
  402. }
  403.  
  404.  
  405.  
  406. function AC_SW_RunContent(){
  407.  
  408.   var ret =
  409.  
  410.     AC_GetArgs
  411.  
  412.     (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
  413.  
  414.      , null
  415.  
  416.     );
  417.  
  418.   AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
  419.  
  420. }
  421.  
  422.  
  423.  
  424. function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  425.  
  426.   var ret = new Object();
  427.  
  428.   ret.embedAttrs = new Object();
  429.  
  430.   ret.params = new Object();
  431.  
  432.   ret.objAttrs = new Object();
  433.  
  434.   for (var i=0; i < args.length; i=i+2){
  435.  
  436.     var currArg = args[i].toLowerCase();    
  437.  
  438.  
  439.  
  440.     switch (currArg){  
  441.  
  442.       case "classid":
  443.  
  444.         break;
  445.  
  446.       case "pluginspage":
  447.  
  448.         ret.embedAttrs[args[i]] = args[i+1];
  449.  
  450.         break;
  451.  
  452.       case "src":
  453.  
  454.       case "movie":    
  455.  
  456.         args[i+1] = AC_AddExtension(args[i+1], ext);
  457.  
  458.         ret.embedAttrs["src"] = args[i+1];
  459.  
  460.         ret.params[srcParamName] = args[i+1];
  461.  
  462.         break;
  463.  
  464.       case "onafterupdate":
  465.  
  466.       case "onbeforeupdate":
  467.  
  468.       case "onblur":
  469.  
  470.       case "oncellchange":
  471.  
  472.       case "onclick":
  473.  
  474.       case "ondblClick":
  475.  
  476.       case "ondrag":
  477.  
  478.       case "ondragend":
  479.  
  480.       case "ondragenter":
  481.  
  482.       case "ondragleave":
  483.  
  484.       case "ondragover":
  485.  
  486.       case "ondrop":
  487.  
  488.       case "onfinish":
  489.  
  490.       case "onfocus":
  491.  
  492.       case "onhelp":
  493.  
  494.       case "onmousedown":
  495.  
  496.       case "onmouseup":
  497.  
  498.       case "onmouseover":
  499.  
  500.       case "onmousemove":
  501.  
  502.       case "onmouseout":
  503.  
  504.       case "onkeypress":
  505.  
  506.       case "onkeydown":
  507.  
  508.       case "onkeyup":
  509.  
  510.       case "onload":
  511.  
  512.       case "onlosecapture":
  513.  
  514.       case "onpropertychange":
  515.  
  516.       case "onreadystatechange":
  517.  
  518.       case "onrowsdelete":
  519.  
  520.       case "onrowenter":
  521.  
  522.       case "onrowexit":
  523.  
  524.       case "onrowsinserted":
  525.  
  526.       case "onstart":
  527.  
  528.       case "onscroll":
  529.  
  530.       case "onbeforeeditfocus":
  531.  
  532.       case "onactivate":
  533.  
  534.       case "onbeforedeactivate":
  535.  
  536.       case "ondeactivate":
  537.  
  538.       case "type":
  539.  
  540.       case "codebase":
  541.  
  542.       case "id":
  543.  
  544.         ret.objAttrs[args[i]] = args[i+1];
  545.  
  546.         break;
  547.  
  548.       case "width":
  549.  
  550.       case "height":
  551.  
  552.       case "align":
  553.  
  554.       case "vspace":
  555.  
  556.       case "hspace":
  557.  
  558.       case "class":
  559.  
  560.       case "title":
  561.  
  562.       case "accesskey":
  563.  
  564.       case "name":
  565.  
  566.       case "tabindex":
  567.  
  568.         ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
  569.  
  570.         break;
  571.  
  572.       default:
  573.  
  574.         ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
  575.  
  576.     }
  577.  
  578.   }
  579.  
  580.   ret.objAttrs["classid"] = classid;
  581.  
  582.   if (mimeType) ret.embedAttrs["type"] = mimeType;
  583.  
  584.   return ret;
  585.  
  586. }
  587.  
  588.  
  589. http://awene.com/stmenu.js
  590.  
  591. /*================================================================
  592.         ORC_JS, JavaScript Class Framework
  593.         version:3.10.80226
  594.         Copyright 2007 by SourceTec Software Co.,LTD
  595.         For more information, see:www.sothink.com
  596. ================================================================*/
  597. if(typeof _STNS=="undefined"){if(!Array.prototype.push){Array.prototype.push=function(){for(var i=0;i<arguments.length;i++){this[this.length]=arguments[i];}return this.length;};}if(!Array.prototype.pop){Array.prototype.pop=function(){if(this.length){var o=this[this.length-1];this.length--;return o;}};}if(!Array.prototype.shift){Array.prototype.shift=function(){if(this.length){var o=this[0];for(var i=0;i<this.length-1;i++){this[i]=this[i+1];}this.length--;return o;}};}if(!Function.prototype.call){Function.prototype.call=function(_5){var _5=_5||window;_5.__tmp=this;var _6=_5.__tmp(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6],arguments[7],arguments[8],arguments[9],arguments[10]);_5.__tmp=null;return _6;};}_STNS={sVer:"3.0",bDebug:false,fvThrow:function(e){},bBufImg:true,oImgs:{},fvBufImgs:function(){if(!_STNS.bBufImg){return;}if(!_STNS.bLoaded){var s="";for(var i in _STNS.oImgs){if(_STNS.oImgs[i]!=2){s+=_STNS.fsGetTag("div","style=\"display:none\"",_STNS.fsGetImgTag(i,-1,-1));}_STNS.oImgs[i]=2;}document.write(s);}},bIsIE:false,bIsMIE:false,bIsFX:false,bIsOP:false,bIsSF:false,bIsKQ:false,oNav:null,bRTL:false,sDocMd:null,sURL:window.location.href+"",sDIR:null,bLocal:false,fsGetDocMd:function(w){var w=w||window;switch(w.document.compatMode){case "QuirksMode":case "BackCompat":return "quirks";case "CSS1Compat":return "css1";default:return document.compatMode;}},_foGetNav:function(){var _n=navigator,_u=_n.userAgent,_a=_n.appName,_p=_n.platform,n,v,p;if(/(Opera)[ \/]([\d\.]+)/.test(_u)||/(Netscape)\d*\/([\d\.]+)/.test(_u)||/(MSIE) ([\d\.]+)/.test(_u)||/(Safari)\/([\d\.]+)/.test(_u)||/(Konqueror)\/([\d\.]+)/.test(_u)||/(Gecko)\/(\d+)/.test(_u)){n=RegExp.$1.toLowerCase();v=RegExp.$2;}else{if(_a=="Netscape"&&_n.appVersion.charAt(0)=="4"){n="netscape4";v=parseFloat(_n.appVersion);}else{n="unknow";v=0;}}if(n=="netscape"){switch(_a){case "Microsoft Internet Explorer":n="msie";v=/(MSIE) ([\d\.]+)/.exec(_u)[2];break;case "Netscape":n="gecko";v=/(Gecko)\/(\d+)/.exec(_u)[2];}}if(/^(Win)/.test(_p)||/^(Mac)/.test(_p)||/^(SunOS)/.test(_p)||/^(Linux)/.test(_p)||/^(Unix)/.test(_p)){p=RegExp.$1.toLowerCase();}else{p=_p;}return {name:n,version:v,platform:p};},fiGetCT:function(w){var w=w||window;if(_STNS.bIsIE){return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).scrollTop;}else{return w.pageYOffset;}},fiGetCL:function(w){var w=w||window;if(_STNS.bIsIE){return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).scrollLeft;}else{return w.pageXOffset;}},fiGetCW:function(w){var w=w||window;if(_STNS.bIsIE){return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).clientWidth;}else{if(w.scrollbars&&w.scrollbars.visible||w.innerHeight<document.documentElement.offsetHeight){return w.innerWidth-20;}}return w.innerWidth;},fiGetCH:function(w){var w=w||window;if(_STNS.bIsIE){return (_STNS.fsGetDocMd(w)=="css1"?w.document.documentElement:w.document.body).clientHeight;}else{if(w.scrollbars&&w.scrollbars.visible||w.innerWidth<document.documentElement.offsetWidth){return w.innerHeight-20;}}return w.innerHeight;},foGetMediaInfor:function(s){_STNS.fvThrow(new Error("_STNS.runTime error:call foGetMediaInfor that has not been implemented"));},oLibs:{},sLibPth:"",fvInitLib:function(){var scs,sc,s,t,ls,pth;if(_STNS.bIsFX&&!_STNS.faGetElesByTagName("body").length){var hds=_STNS.faGetElesByTagName("head");sc=hds[0].lastChild;}else{scs=_STNS.faGetElesByTagName("script");sc=scs[scs.length-1];}if(sc){s=sc.src;}if(s){_STNS.sLibPth=s.substr(0,s.lastIndexOf("/")+1);t=_STNS.fcoGetAttribute(sc,"sothinkdebug");if(t=="true"){pth=_STNS.fsGetAbsPth(_STNS.sLibPth+"debug/stdebug.js");if(!_STNS.oLibs[pth]){_STNS.oLibs[pth]={state:1,defer:0};}}t=_STNS.fcoGetAttribute(sc,"sothinklib");if(t){ls=t.split(";");for(var i=0;i<ls.length;i++){if(!ls[i]){continue;}if(!_STNS.fbIsFile(ls[i])){ls[i]+=".js";}pth=_STNS.fsGetAbsPth(_STNS.sLibPth+ls[i]);if(_STNS.oLibs[pth]){continue;}_STNS.oLibs[pth]={state:1,defer:0};}}}else{_STNS.fvThrow(new Error("_STNS.runTime error:can't get lib path"));}},fvInc:function(s,f){if(!_STNS.oLibs[s]){_STNS.oLibs[s]={state:1,defer:f};}},fvLoadLib:function(){var s="";with(_STNS){for(var i in oLibs){if(oLibs[i].state!=2){if(bLoaded){fbInsJs(i);}else{s+=fsGetJsTag(i,oLibs[i].defer);}oLibs[i].state=2;}}}if(s){document.write(s);}},bLoaded:false,_aLoads:[],fbAddLoad:function(f){if(!_STNS.bLoaded&&typeof f=="function"){return _STNS._aLoads.push(f);}else{if(_STNS.bLoaded){_STNS.fvThrow(new Error("_STNS.runTime error:Page has been loaded!"));}else{_STNS.fvThrow(new Error("_STNS.runTime error:Not a function is pushed into onload event!"));}}return false;},_fvOnload:function(){with(_STNS){if(bLoaded){return;}bLoaded=true;for(var j=0;j<_aLoads.length;j++){_aLoads[j]();}}},_fvInitOnload:function(){if(_STNS.bIsIE&&window.attachEvent){window.attachEvent("onload",_STNS._fvOnload);}else{if(_STNS.oNav.name!="konqueror"&&window.addEventListener){window.addEventListener("load",_STNS._fvOnload,false);}else{if(!window.onload||window.onload.toString()!=_STNS._fvOnload.toString()){if(typeof window.onload=="function"){_STNS.fbAddLoad(window.onload);}onload=_STNS._fvOnload;}}}},_aCks:[],bCkPg:false,nCkTid:0,nCkTime:100,fvAddCk:function(f){if(typeof f=="function"){with(_STNS){if(bCkPg){clearTimeout(nCkTid);bCkPg=false;}_aCks.push(f);if(bLoaded){_fvCkPg();}}}else{_STNS.fvThrow(new Error("_STNS.runTime error:Not a function is pushed into check page event!"));}return false;},_fvCkPg:function(){with(_STNS){if(_aCks.length){bCkPg=true;for(var i=0;i<_aCks.length;i++){_aCks[i]();}nCkTid=setTimeout("_STNS._fvCkPg()",nCkTime);}else{bCkPg=false;}}},bShield:false,oDefCSS:{tb:"border-style:none;background-color:transparent;background-image:none;",tr:"border-style:none;background-color:transparent;background-image:none;",td:"border-style:none;background-color:transparent;background-image:none;",dv:"border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;",a:"display:block;border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;",hd:"display:none;",sp:"border-style:none;background-color:transparent;background-image:none;margin:0px;padding:0px;"},foCss2Obj:function(s){var o={},a,re=/([\w\-_]+):([^;]+)(;|$)/,ra;a=s.split(";");for(var i=0;i<a.length;i++){ra=re.exec(a[i]);if(ra){o[ra[1]]=ra[2];}}return o;},foCss2Style:function(s){var cs=_STNS.foCss2Obj(s),re=/-([a-z])/,o={},i,k,t;for(i in cs){t=re.exec(i);if(t){k=i.replace("-"+t[1],t[1].toUpperCase());}else{k=i;}o[k]=cs[i];}return o;},fsObj2Css:function(a){var s="";for(var i in a){if(a[i]!=null){s+=i+":"+a[i]+";";}}return s;},fvCSSShield:function(){with(_STNS){if(bLoaded){bShield=false;}else{if(faGetElesByTagName("body")&&faGetElesByTagName("body").length){bShield=false;}else{var i,s="\n<style type='text/css'>\n";for(i in oDefCSS){if(i=="a"){s+=".sta:link,.sta:hover,.sta:active,.sta:visited";}else{s+=".st"+i;}s+="{"+oDefCSS[i]+"}\n";}s+="</style>";bShield=true;document.write(s);}}}},fsReadCoki:function(n){var i,cs=document.cookie.split("; ");for(i=0;i<cs.length;i++){if(!cs[i].indexOf(n+"=")){return cs[i].substr(n.length);}}},fvSaveCoki:function(n,v,t){var s=n+"="+v+"; ",d=new Date;if(!t||!v){s+="expires=Fri, 31 Dec 1999 23:59:59 GMT; ";}else{s+="expires="+((new Date(d-0+t)).toGMTString())+"; ";}s+="path=/; ";document.cookie=s;},ffGetFun:function(f){if(typeof f=="function"){return f;}else{if(typeof f=="string"&&window[f]){return window[f];}}},fbIsAbsPth:function(s){var t=s.toLowerCase();return /^(#|\?|\/|[a-z]:|http:|https:|file:|ftp:|javascript:|vbscript:|mailto:|about:|gopher:|news:|res:|telnet:|view-source|wais:|rtsp:|mms:|outlook:)/.test(t);},fsGetAbsPth:function(s){if(!s){return s;}var re,t;if(!s.indexOf("//")){return s;}if(s.charAt(0)=="/"){re=/^(file:\/{2,}[^\/]+\/|http:\/\/[^\/]+\/|https:\/\/[^\/]+\/)/;if(re.exec(_STNS.sDIR)){s=RegExp.$1+s.substr(1);}else{return s;}}else{if(s=="#"){if(_STNS.sURL.charAt(_STNS.sURL.length-1)!="#"){return _STNS.sURL+"#";}else{return _STNS.sURL;}}else{if(!_STNS.fbIsAbsPth(s)){s=_STNS.sDIR+s;}else{return s;}}}while(s.indexOf("/./")>0){s=s.replace("/./","/");}while((t=s.indexOf("/../"))>0){var p1,p2;p1=s.substr(0,t);p2=s.substr(t).replace("/../","");p1=p1.substr(0,p1.lastIndexOf("/")+1);s=p1+p2;}return s;},fsGetImgTag:function(s,w,h,b,id,nw,nh){if(!s||!w||!h){return "";}if(nw&&nh){if(w==-1&&h==-1){w=nw,h=nh;}else{if(w==-1&&h!=-1){w=Math.floor(nw*h/nh);}else{if(w!=-1&&h==-1){h=Math.floor(nh*w/nw);}}}}return "<img class='stimg' src=\""+s+"\""+(w==-1?"":" width="+w)+(h==-1?"":" height="+h)+" border="+(b?b:0)+(id?" id='"+id+"'":"")+">";},fsGetJsTag:function(s,f){return "<script type='text/javascript' language='javascript1.2' src=\""+s+"\""+(f?" DEFER":"")+"></"+"script>";},fsGetTag:function(t,a,s){return "<"+t+" "+a+">"+(s?s:"")+"</"+t+">";},fbIsFile:function(s){return /\w+\.\w+$/.test(s);},fbIsImg:function(s){return /\.(gif|png|jpg|jpeg|bmp)$/.test(s.toLowerCase());},fsGetDIR:function(s){var t=s.toLowerCase();if(!t.indexOf("file:/")||!t.indexOf("http://")||!t.indexOf("https://")){return s.substr(0,s.lastIndexOf("/")+1);}else{return "";}},fsGetHTMLEnti:function(s,f){if(!s){return "";}var re;re=/&/g;s=s.replace(re,"&amp;");if(!f){re=/ /g;s=s.replace(re,"&nbsp;");}re=/</g;s=s.replace(re,"&lt;");re=/>/g;s=s.replace(re,"&gt;");re=/\"/g;s=s.replace(re,"&quot;");return s;},faJoinA:function(a,b){var c=[],l=Math.max(a.length,b.length);for(var i=0;i<l;i++){if(a[i]==null){c[i]=b[i];}else{c[i]=a[i];}}return c;},S64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ#@",fiTransX2D:function(n,m){m=String(m).replace(/ /gi,"");if(m==""){return 0;}var a=_STNS.S64.substr(0,n);if(eval("m.replace(/["+a+"]/gi,'')")!=""){_STNS.fvThrow(new Error("_STNS.runTime error:Transform bad number from "+m+" to 10!"));return 0;}var t=0,c=1;for(var x=m.length-1;x>-1;x--){t+=c*(a.indexOf(m.charAt(x)));c*=n;}return t;},fsTranD2X:function(n,m){m=String(m).replace(/ /gi,"");if(m==""){return 0;}if(parseInt(m)!=m){_STNS.fvThrow(new Error("_STNS.runTime error:Transform bad number from 10 to "+m+"!"));return "";}var t="",a=_STNS.S64.substr(0,n);while(m!=0){var b=m%n;t=a.charAt(b)+t;m=(m-b)/n;}if(!t){t="0";}return t;},faCP2PP:function(cp,w){var t,l;with(_STNS){t=fiGetCT(w);l=fiGetCL(w);return [cp[0]+l,cp[1]+t];}},faPP2CP:function(pp,w){var t,l;with(_STNS){t=fiGetCT(w);l=fiGetCL(w);return [pp[0]-l,pp[1]-t];}},fsGetLen:function(t,l,p,b,s,w){var _r=_STNS,u;if(w==null){w=true;}if(s==null){s=true;}if(p==null){p=0;}if(b==null){b=0;}if(typeof l=="string"){u=/%|px|pt|em|ex|pc|in|cm|mm$/.exec(l);}if(u){switch(u[0]){case "%":return l;default:u=u[0];}}else{l=parseInt(l);u="px";}switch(t){case "dv":if(_r.sDocMd=="css1"||(!_r.bIsIE&&!_r.bIsOP||(_r.bIsOP&&parseInt(_r.oNav.version)>=8))){return l-2*p-2*b+u;}break;case "tb":if(_r.bIsMIE&&!w&&s){return l-2*b-2*p+u;}break;case "td":if(_r.bIsSF){if(_r.sDocMd!="css1"||w){if(s){return l-2*b+u;}else{return l-2*p+u;}}else{return l-2*p-2*b+u;}}else{if(!_r.bIsMIE&&(_r.sDocMd=="css1"||w)){return l-2*b-2*p+u;}}break;}return l+u;},fdmGetEleById:function(id,w){var w=w||window;with(_STNS){if(bIsIE){var es=w.document.all(id);if(es&&es.length){return es[0];}else{return es;}}else{return w.document.getElementById(id);}}},faGetElesByTagName:function(n,w){var w=w||window;with(_STNS){if(bIsIE){return w.document.all.tags(n);}else{return w.document.getElementsByTagName(n);}}},faGetElesByCls:function(n,w){var w=w||window;var i,a=[],el,els=_STNS.bIsIE?w.document.all:w.document.getElementsByTagName("*");for(i=0;el=els[i];i++){if(el.className==n){a.push(el);}}return a;},fdmGetFmByName:function(n,w){var w=w||window;if(w.frames[t]){return w.frames[t];}else{if(w.parent){return w.parent.frames[t];}}},fbIsPar:function(p,c){if(_STNS.bIsIE){return p.contains(c);}else{if(!p||!c){return false;}if(p==c){return true;}do{if(c.parentNode){c=c.parentNode;}else{break;}if(p==c){return true;}}while(c);}return false;},fbInsHTML:function(e,p,h){if(_STNS.bIsIE){return e.insertAdjacentHTML(p,h);}else{var d=e.ownerDocument,t=d.createElement("span");t.innerHTML=h;switch(p){case "beforeBegin":return e.parentNode.insertBefore(t,e);case "afterBegin":return e.insertBefore(t,e.firstChild);case "beforeEnd":return e.appendChild(t);case "afterEnd":if(e.nextSibling){return e.parentNode.insertBefore(t,e.nextSibling);}else{return e.parentNode.appendChild(t);}}}return false;},fbInsEle:function(e,p,ne){if(_STNS.bIsIE){return e.insertAdjacentElement(p,ne);}else{switch(p){case "beforeBegin":return e.parentNode.insertBefore(ne,e);case "afterBegin":return e.insertBefore(ne,e.firstChild);case "beforeEnd":return e.appendChild(ne);case "afterEnd":if(o.nextSibling){return e.parentNode.insertBefore(ne,e.nextSibling);}else{return e.parentNode.appendChild(ne);}}}},fbDelEle:function(e){var p=e.parentNode;return p.removeChild(e);},fbInsJs:function(s,l){var l=l||"JavaScript";var hd=_STNS.faGetElesByTagName("HEAD");if(hd&&hd[0]){l=l.toLowerCase();var t=document.createElement("script");t.language=l;if(!l.indexOf("javascript")||!l.indexOf("jscript")){t.type="text/javascript";}t.src=s;_STNS.fbInsEle(hd,"beforeEnd",t);}},fdmCreateXMLHttp:function(){var _99;if(window.XMLHttpRequest){_99=new XMLHttpRequest();}else{var _9a=["MSXML2.XMLHTTP.5.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];for(var n=0;n<_9a.length;n++){try{_99=new ActiveXObject(_9a[n]);break;}catch(e){_99=null;}}}if(!_99){_99=null;_STNS.fvThrow(new Error("Create XMLHttpRequest fail!"));return;}if(_99.readyState==null){_99.readyState=0;_99.addEventListener("load",function(){_99.readyState=4;if(typeof _99.onreadystatechange=="function"){_99.onreadystatechange();}},false);}return _99;},fdmCreateXMLDoc:function(){var _9c;if(_STNS.bIsIE){var _9d=["Msxml2.DOMDocument.4.0","Msxml2.DOMDocument.3.0","Msxml2.DOMDocument","Microsoft.XMLDOM"];for(var n=0;n<_9d.length;n++){try{_9c=new ActiveXObject(_9d[n]);break;}catch(e){}}}else{_9c=document.implementation.createDocument("","",null);}if(!_9c){_STNS.fvThrow(new Error("Create XMLDOMDocument fail!"));return;}return _9c;},faGetElePos:function(e){if(!e){return;}var x=y=bl=bt=0;if(_STNS.bIsSF&&_STNS.oNav.version>=523.12){var o=e.offsetParent.offsetParent.offsetParent.offsetParent;if(o&&o.tagName=="TABLE"){bl=parseInt(_STNS.fsGetEleStyle(o,"borderLeftWidth"));bt=parseInt(_STNS.fsGetEleStyle(o,"borderTopWidth"));if(!isNaN(bl)){x+=bl;}if(!isNaN(bt)){y+=bt;}}}while(e){x+=e.offsetLeft;y+=e.offsetTop;if((_STNS.oNav.name=="konqueror"||_STNS.oNav.name=="safari")&&e.style.position.toLowerCase()=="absolute"){break;}switch(e.tagName){case "TD":if(_STNS.bIsIE||_STNS.bIsOP&&_STNS.oNav.version<9){bl=parseInt(_STNS.fsGetEleStyle(e,"borderLeftWidth"));bt=parseInt(_STNS.fsGetEleStyle(e,"borderTopWidth"));if(!isNaN(bl)){x+=bl;}if(!isNaN(bt)){y+=bt;}}break;}if(e.parentNode&&e.parentNode.tagName=="DIV"){var s=_STNS.fsGetEleStyle(e.parentNode,"overflow").toLowerCase();var w=_STNS.fsGetEleStyle(e.parentNode,"width").toLowerCase();if(s=="hidden"||s=="scroll"||s=="auto"){x-=e.parentNode.scrollLeft;y-=e.parentNode.scrollTop;}if(w&&w!="auto"){if((_STNS.bIsFX&&_STNS.oNav.version>20060414&&s!="visible")||(_STNS.bIsIE&&_STNS.oNav.version>=5)){bl=parseInt(_STNS.fsGetEleStyle(e.parentNode,"borderLeftWidth"));bt=parseInt(_STNS.fsGetEleStyle(e.parentNode,"borderTopWidth"));if(!isNaN(bl)){x+=bl;}if(!isNaN(bt)){y+=bt;}}}}if(e.parentNode&&e.offsetParent&&e.parentNode!=e.offsetParent){if(e.offsetParent.tagName=="DIV"){var s=_STNS.fsGetEleStyle(e.offsetParent,"overflow").toLowerCase();var w=_STNS.fsGetEleStyle(e.offsetParent,"width").toLowerCase();if(s=="hidden"||s=="scroll"||s=="auto"){x-=e.offsetParent.scrollLeft;y-=e.offsetParent.scrollTop;}if(w&&w!="auto"){if((_STNS.bIsFX&&_STNS.oNav.version>20060414&&s!="visible")||(_STNS.bIsIE&&_STNS.oNav.version>=5)){bl=parseInt(_STNS.fsGetEleStyle(e.offsetParent,"borderLeftWidth"));bt=parseInt(_STNS.fsGetEleStyle(e.offsetParent,"borderTopWidth"));if(!isNaN(bl)){x+=bl;}if(!isNaN(bt)){y+=bt;}}}}}e=e.offsetParent;}return [x,y];},fiGetEleWid:function(e){return e.offsetWidth;},fiGetEleHei:function(e){return e.offsetHeight;},fsGetEleStyle:function(e,p){if(!e||!p){return;}if(_STNS.bIsIE){return e.currentStyle[p];}else{if(_STNS.bIsFX||_STNS.bIsSF||_STNS.bIsOP){var w=e.ownerDocument.defaultView;p=p.replace(/([A-Z])/g,"-$1");return w.getComputedStyle(e,"").getPropertyValue(p.toLowerCase());}else{return e.style[p];}}},fcoGetAttribute:function(e,a){if(!e||!a){return;}if(_STNS.bIsIE){return e[a];}else{return e.getAttribute(a);}},fbFalse:function(){return false;},fbTrue:function(){return true;}};_STNS.Class=(function(){var _ab=function(){var c=function(as){if(_STNS.bIsIE){this._cls=this.constructor;}else{this._cls=arguments.callee;}_ae.call(this,as);};_af(c,arguments);c.register=_b0;c.toString=_b1;c.subclsOf=_b2;c.superclassOf=_b3;return c;};_ab.toString=function(){return "[object Class]";};_ab.getC=function(pth){var _b5=[];if(!_b6(pth,_b5)||!_b7[_b5[0]][_b5[1]]){_STNS.fvThrow(new Error("Class get error: Class \""+pth+"\" is not found"));return;}return _b7[_b5[0]][_b5[1]];};_ab.getClsLst=function(o,pre){var o=o||_b7,pre=pre||"/",sp,s="";for(var i in o){if(typeof o[i]=="object"){sp=pre+i+"/";s+=_STNS.Class.getClsLst(o[i],sp);}else{s+=pre+i+"\n";}}return s;};var _b0=function(pth){var _be=[];if(!_b6(pth,_be)){_STNS.fvThrow(new Error("Class register error: Invalid class path:"+pth));return;}var pkg=_be[0];var cn=_be[1];if(pkg){if(!_b7[pkg]){_b7[pkg]={};}var _c1=_b7[pkg][cn];if(_c1){_STNS.fvThrow(new Error("Class register error: Class \""+pth+"\" already exists"));return;}_b7[pkg][cn]=this;}else{var _c1=_b7[cn];if(_c1){_STNS.fvThrow(new Error("Class register error: Class \""+pth+"\" already exists"));return;}_b7[cn]=this;}this._pkg=pkg;this._cn=cn;};var _b7={};var _c2=function(_c3,_c4){if(typeof _c3=="string"){_c3=_STNS.Class.getC(_c3);}if(typeof _c4=="string"){_c4=_STNS.Class.getC(_c4);}if(typeof _c3!="function"||typeof _c4!="function"){return false;}if(!_c3._supers){return false;}for(var i=0;i<_c3._supers.length;i++){if(_c3._supers[i]==_c4){return true;}else{if(_c2(_c3._supers[i],_c4)){return true;}}}return false;};var _b2=function(cls){return _c2(this,cls);};var _b3=function(cls){return _c2(cls,this);};var _b6=function(pth,_c9){if(typeof pth!="string"||!pth){return false;}var n=pth.lastIndexOf("/");if(n>-1){_c9[0]=pth.substr(0,n);_c9[1]=pth.substr(n+1);}else{_c9[0]="";_c9[1]=pth;}return true;};var _af=function(c,as){c._supers=[];for(var i=0;i<as.length;i++){var s=as[i];if(typeof s=="string"){s=_STNS.Class.getC(s);}if(typeof s!="function"){_STNS.fvThrow(new Error("Class create error: Invalid superclass: "+"args["+i+"]"));return;}c._supers.push(s);}};var _ae=function(as){var c=this._cls;for(var i=0;i<c._supers.length;i++){if(_STNS.bIsIE){this.constructor=c._supers[i];}c._supers[i].call(this,as);}if(_STNS.bIsIE){this.constructor=c;}this._cls=c;this.toString=_d2;this.getClass=_d3;this.instanceOf=_d4;this.toConvert=_d5;if(c.construct){c.construct.call(this,as);}};var _d5=function(cls,as){var c=this._cls;if(_c2(c,cls)){var t=new cls;for(var i in this){if(typeof t[i]=="undefined"){delete this[i];}if(cls[i]){this[i]=cls[i];}}}else{if(_c2(cls,c)){var f=0;for(var i=0;i<cls._supers.length;i++){if(_STNS.bIsIE){this.constructor=cls._supers[i];}if(cls._supers[i]!=c){cls._supers[i].call(this,as);}else{f=1;}}if(!f){_STNS.fvThrow(new Error("_STNS.runTime error:Can't convert this instance;The class of instance must be the target class's direct superClass!"));return;}if(_STNS.bIsIE){this.constructor=cls;}this._cls=cls;if(cls.construct){cls.construct.call(this,as);}}else{_STNS.fvThrow(new Error("_STNS.runTime error:Can't convert this instance;The class of instance must be the target class's subClass or direct superClass!"));}}};var _d4=function(c){if(typeof c=="string"){c=_STNS.Class.getC(c);}if(typeof c!=="function"){return false;}return this._cls==c;};var _d3=function(){return this._cls;};var _d2=function(){if(this._cls._cn){return "[object Object "+this._cls._pkg+"/"+this._cls._cn+"]";}else{return "[object Object Anonymous class]";}};var _b1=function(){if(this._cn){return "[object Class "+this._pkg+"/"+this._cn+"]";}return "[object Anonymous Class]";};return _ab;})();with(_STNS){sDocMd=fsGetDocMd();oNav=_foGetNav();bIsIE=oNav.name=="msie";bIsMIE=bIsIE&&oNav.platform=="Mac";bIsOP=oNav.name=="opera";bIsFX=oNav.name=="gecko";bIsSF=oNav.name=="safari";bIsKQ=oNav.name=="konqueror";sDIR=fsGetDIR(sURL);bLocal=!sURL.indexOf("file:");_fvInitOnload();fbAddLoad(_fvCkPg);}}_STNS.fvInitLib();_STNS.fvInc(_STNS.fsGetAbsPth(_STNS.sLibPth+"stcode.js"));_STNS.fvLoadLib();if(!_STNS.bShield){_STNS.fvCSSShield();}if(typeof _STNS!="undefined"&&!_STNS.EFFECT){_STNS.EFFECT={foGetEff:function(s,id,w,d,o){if(!s){return 0;}var t=s.toLowerCase(),c;if((!t.indexOf("progid:")||!t.indexOf("revealtrans"))&&_STNS.EFFECT["CEffIE"]){return new _STNS.EFFECT["CEffIE"]([s,id,w,d,o]);}else{if(!s.indexOf("stEffect")){s=s.substring(10,s.length-2);return stEffect(s,id,w,d,o);}else{return 0;}}}};with(_STNS.EFFECT){_STNS.EFFECT.CEffect=_STNS.Class();CEffect.register("EFFECT/CEffect");CEffect.construct=function(as){this._iStat=-1;this.sName=as[0];this.sDmId=as[1];this.dmWin=as[2]||window;with(_STNS.EFFECT.CEffect){this.fiGetStat=fiGetStat;this.fbSet=_STNS.fbFalse;this.fbDel=_STNS.fbFalse;this.fbApply=_STNS.fbFalse;this.fbPlay=_STNS.fbFalse;this.fbStop=_STNS.fbFalse;this.fbSetStyle=_STNS.fbFalse;}};CEffect.fiGetStat=function(){return this._iStat;};}function stEffect(n,id,w,dur,o){var cn="CEff"+n.charAt(0).toUpperCase()+n.substr(1);if(_STNS.EFFECT[cn]){return new _STNS.EFFECT[cn]([n,id,w,dur,o]);}}}
  598.  
  599. http://awene.com/stcode.js
  600.  
  601. /*================================================================
  602.         ORC_JS, JavaScript Class Framework
  603.         version:3.10.80226
  604.         Copyright 2007 by SourceTec Software Co.,LTD
  605.         For more information, see:www.sothink.com
  606. ================================================================*/
  607. if(typeof _STNS!="undefined"&&!_STNS.UI){_STNS.UI={DOMEVENTS:["mouseover","mouseout","mousemove","mousedown","mouseup","click","keypress","keydown","keyup","dblclick"],foGetUIById:function(id){var o;while(id){if(o=_STNS.UI.oUIs[id]){return o;}id=id.substr(0,id.lastIndexOf("_"));}},fsGetUid:function(){this.iIdNo++;if(window.name){return "stUI"+window.name+this.iIdNo;}else{return "stUI"+this.iIdNo;}},iIdNo:0,oUIs:{},fbDmEnt:function(e,o){var _5=o.id,ob,r=-1;if(!_5){return true;}if(ob=_STNS.UI.foGetUIById(_5)){if(ob.fbGetEnt){r=ob.fbGetEnt(e,o);}}return r;},fsGetEnt:function(o,t,n,_b){var s;if(n==null){var n="";}if(!_b){var _b="";}if(o._oEs[t+n]&&o._oEs[t+n].length){for(var i=0;i<_STNS.UI.DOMEVENTS.length;i++){if(_STNS.UI.DOMEVENTS[i]==t){return "on"+t+"='return "+_b+"_STNS.UI.fbDmEnt(event,this)'";}}}return "";}};with(_STNS.UI){_STNS.UI.CUIObj=_STNS.Class();CUIObj.register("UI/CUIObj");CUIObj.construct=function(){this._oMs={};this._oEs={};this.oParent=null;this.sUid=_STNS.UI.fsGetUid();this.fbGetEnt=_STNS.fbTrue();with(_STNS.UI.CUIObj){this.fvDestroy=fvDestroy;this.fvGetMsg=fvGetMsg;this.fbSetMsg=fbSetMsg;this.fbAttachEnt=fbAttachEnt;this.fbDetachEnt=fbDetachEnt;this.fbDetachAll=fbDetachAll;this.fbFireEnt=fbFireEnt;this.fbCheckEnt=fbCheckEnt;}_STNS.UI.oUIs[this.sUid]=this;this.sSelf="_STNS.UI.oUIs['"+this.sUid+"']";};CUIObj.fvDestroy=function(){delete _STNS.UI.oUIs[this.sUid];};CUIObj.fvGetMsg=function(m,d){var f,r=true;if(f=this._oMs[m]){if(typeof f=="string"){f=_STNS.ffGetFun(f);}if(f){r=f.call(this,d);}}if(r==true&&this.oParent){this.oParent.fvGetMsg(m,d);}};CUIObj.fbSetMsg=function(m,f){if(typeof f!="function"&&typeof f!="string"){_STNS.fvThrow(new Error("Attach invalid function to "+t+" message."));return false;}this._oMs[m]=f;return true;};CUIObj.fbCheckEnt=function(t){if(this._oEs[t]){return true;}};CUIObj.fbAttachEnt=function(t,f){if(typeof f!="function"&&typeof f!="string"){_STNS.fvThrow(new Error("Attach invalid function to "+t+" event."));return false;}if(this._oEs[t]){for(var i=0;i<this._oEs[t].length;i++){if(this._oEs[t][i]==f){return -1;}}this._oEs[t].push(f);}else{this._oEs[t]=[f];}return true;};CUIObj.fbDetachEnt=function(t,f){var i;if(this._oEs[t]&&this._oEs[t].length){for(i=0;i<this._oEs[t].length;i++){if(this._oEs[t][i]==f){delete this._oEs[t][i];}}}};CUIObj.fbDetachAll=function(){for(var i in this._oEs){if(this._oEs[i].length){this._oEs[i].length=0;}delete this._oEs[i];}};CUIObj.fbFireEnt=function(t,as){var i,r=true,f,tmp;if(!this._oEs[t]||!this._oEs[t].length){return -1;}for(i=0;i<this._oEs[t].length;i++){if(!this._oEs[t][i]){continue;}f=this._oEs[t][i];if(typeof f=="string"){f=_STNS.ffGetFun(f);}if(f){tmp=f.call(this,as);if(!tmp){r=tmp;}}}return r;};}}if(typeof _STNS.UI.CUIMenu=="undefined"){with(_STNS.UI){_STNS.UI.CUIMenu=_STNS.Class(_STNS.UI.CUIObj);CUIMenu.register("UI/CUIObj>CUIMenu");CUIMenu.construct=function(){this.sJsPth="";this.sVer=0;this.iTyp=0;this.aPopups=[];this.sId=0;this.iNid=-1;this.iX=0;this.iY=0;this.iWid=0;this.iHei=0;this.iHal=0;this.sImgPth=0;this.sLnkPre=0;this.sBlank=0;this.iClk=0;this.bClked=0;this.iStat=0;this.iDelaySV=250;this.iDelaySH=0;this.iDelayHd=1000;this.iDelayTk=0;this.bHdPopup=true;this.aHdTags=[];this.bRTL=false;this.aCursors=[];this.sSiteRoot="";this.bRunEff=true;this.iTracks=0;this.iTrackLevel=-1;this.oTracks={};this.aScBars=[];this.aMaxSizes=[-1,-1];this.iScType=0;this.bCfm=false;this.bCfShow=false;this.sTarFm="";this.sSrcFm="";this.iCfX=0;this.iCfY=0;this.iCfD=0;this.oFocus=0;with(_STNS.UI.CUIMenu){this.fvDestroy=fvDestroy;this.fsGetImg=fsGetImg;this.fsGetLnk=fsGetLnk;this.fsGetHTML=fsGetHTML;this.fsGetImgTag=fsGetImgTag;this.fsGetEnt=fsGetEnt;this.fsGetStyle=fsGetStyle;this.fdmGetTarFm=fdmGetTarFm;this.fsGetSrcFm=fsGetSrcFm;this.fbShow=fbShow;this.foInsPopup=foInsPopup;this.fbDelPopup=fbDelPopup;this.fvMvto=fvMvto;this.fnGsp=fnGsp;this.fvSsc=fvSsc;this.fbTrack=fbTrack;this.fbCkLnk=fbCkLnk;this.fbClick=fbClick;this.fbKeydown=fbKeydown;}};CUIMenu.MOUSEOVER=1;with(CUIMenu){CUIMenu.MAXSTATE=MOUSEOVER;}CUIMenu.ALIGNS=["left","center","right"];CUIMenu.VALGINS=["top","middle","bottom"];CUIMenu.REPEATS=["no-repeat","repeat-x","repeat-y","repeat"];CUIMenu.BORDERS=["none","solid","double","dotted","dashed","groove","ridge","outset","inset"];CUIMenu.fsGetHTML=function(){var s="";if(this.aPopups.length){return this.aPopups[0].fsGetHTML();}return "";};CUIMenu.fsGetImg=function(s){if(!s){return "";}if(!_STNS.fbIsAbsPth(s)){s=this.sImgPth+s;}if((s.charAt(0)=="/")&&_STNS.bLocal&&this.sSiteRoot){s=this.sSiteRoot+s;}if(s&&_STNS.bBufImg){var p=_STNS.fsGetAbsPth(s);if(!_STNS.oImgs[p]){_STNS.oImgs[p]=1;}}return s;};CUIMenu.fsGetLnk=function(l){if(!_STNS.fbIsAbsPth(l)){l=this.sLnkPre+l;}if((l.charAt(0)=="/")&&_STNS.bLocal&&this.sSiteRoot){l=this.sSiteRoot+l;}if(!l.toLowerCase().indexOf("javascript:")){l+=";void(0)";}l=_STNS.fsGetAbsPth(l);return l;};CUIMenu.fvDestroy=function(){for(var i=0;i<this.aPopups.length;i++){this.aPopups[i].fvDestroy();}_STNS.UI.CUIObj.fvDestroy.call(this);};CUIMenu.fnGsp=function(d){if(d<5){return d;}return Math.round(d/2);};CUIMenu.fvMvto=function(xy,p){var w=p.iStat&_STNS.UI.CUIPopup.CROSSFRAME?this.fdmGetTarFm():window,l=_STNS.fdmGetEleById(p.sUid+"_dv",w);if(l){l.style.left=xy[0]+"px";l.style.top=xy[1]+"px";}};CUIMenu.fvSsc=function(){if(typeof (this.fvMvto)=="undefined"||!_STNS.bLoaded){return;}var m=this;var e,p=m.aPopups[0],xy=[eval(m.iX),eval(m.iY)],xs,ys;e=_STNS.fdmGetEleById(p.sUid);var pos=_STNS.faGetElePos(e);var dx=xy[0]-pos[0],dy=xy[1]-pos[1];if(dx||dy){xs=this.fnGsp(Math.abs(dx));ys=this.fnGsp(Math.abs(dy));var x=dx>0?pos[0]+xs:pos[0]-xs,y=dy>0?pos[1]+ys:pos[1]-ys;this.fvMvto([x,y],p);}};CUIMenu.fbShow=function(){_STNS.fvLoadLib();if(_STNS.bLoaded){var o=document.body,w="beforeEnd";_STNS.fbInsHTML(o,w,this.fsGetHTML());this.aPopups[0].fbInit();this.aPopups[0].fbShow();}else{if(STM_BIMG){_STNS.fvBufImgs();}if(this.iTracks&&(!this.iTyp||this.iTyp==1)){_STNS.fvAddCk(new Function(this.sSelf+".fbTrack()"));}if(!this.iTyp){var s="<script type='text/javascript' language='javascript1.2'>"+this.aPopups[0].sSelf+".fbInit();"+this.aPopups[0].sSelf+".fbShow();</script>";document.write(this.fsGetHTML()+s);}else{if(this.iTyp==1){var t=this,p=this.aPopups[0];if(isNaN(this.iX)||isNaN(this.iY)){_STNS.fvAddCk(new Function(this.sSelf+".fvSsc()"));}else{var pos=p.faGetXY();t.iX=pos[0];t.iY=pos[1];}p.fbShow();}else{if(this.iTyp==3){var t=this,p=this.aPopups[0];document.oncontextmenu=function(e){var s,pos;if(!e){e=window.event;pos=_STNS.faCP2PP([e.clientX,e.clientY]);}else{pos=[e.pageX,e.pageY];}t.iX=pos[0];t.iY=pos[1];p.fbHide();p.fbShow();p.fbHide(t.iDelayHd);return false;};}}}}};CUIMenu.fsGetImgTag=function(s,w,h,b,id,f,nw,nh){if(!s){s=this.sBlank;}if(f){s=_STNS.fsGetAbsPth(s);}return _STNS.fsGetImgTag(s,w,h,b,id,nw,nh);};CUIMenu.fsGetEnt=function(o,t,n,f){var sfm="";if(f){var sfm=this.fsGetSrcFm();if(sfm){sfm+=".";}else{sfm="";}}return _STNS.UI.fsGetEnt(o,t,n,sfm);};CUIMenu.fsGetStyle=function(t,f,c){var s="",_r=_STNS;if(!f&&_r.bShield){if(_r.oDefCSS[t]){s="class='st"+t+"'";}if(c){s+=" style=\""+c+"\"";}}else{if(!c&&_r.oDefCSS[t]){s="style=\""+_r.oDefCSS[t]+"\"";}else{if(_r.oDefCSS[t]){s="style=\"";var a=_r.foCss2Obj(c),b=_r.foCss2Obj(_r.oDefCSS[t]);for(var i in b){if(typeof a[i]=="undefined"){a[i]=b[i];}}s+=_r.fsObj2Css(a);s+="\"";}}}return s;};CUIMenu.fsGetSrcFm=function(){var s="",a=this.sSrcFm?("parent."+this.sTarFm).split("."):this.sTarFm.split("."),n=[],f=0;for(var j=0;j<a.length;j++){s+=a[j];if(a[j]!="parent"){if(a[j]=="window"){continue;}if(!f){if(n.length){n[n.length-1]="parent";}f=1;}n.push("parent");}else{n.push(eval(s).name);}s+=".";}s="";for(var j=n.length-2;j>=0;j--){s+=n[j]+".";}if(this.sSrcFm){s+=this.sSrcFm;}else{s+="parent";}return s;};CUIMenu.fdmGetTarFm=function(){var j,s=this.sSrcFm?"parent."+this.sTarFm:this.sTarFm,w;try{w=eval(s);return w;}catch(e){return;}};CUIMenu.fbTrack=function(){var _r=_STNS,_c=_r.UI.CUIMenu,is={},ps=[],_ic=_r.UI.CUIItem,d=0,it,ts=[];if(this.iDelayTk>0){this.iDelayTk-=_r.nCkTime;return false;}if(this.iStat&_c.MOUSEOVER){return false;}if(this.oFocus){return false;}var c=this.iTracks&33554432;for(var i=0;i<this.aPopups.length;i++){for(var j=0;j<this.aPopups[i].aItems.length;j++){it=this.aPopups[i].aItems[j];if(it._sTLnk&&it._sTLnk!="#_nolink"&&this.fbCkLnk(it._sTLnk,it.sTar,c,window)){is[it.sUid]=it;ps[i]=1;}}}if(this.iTracks&16777216){for(var i in is){is[i].sLnk="#_nolink";is[i].fbSetCursor(this.aCursors[0]);}}if(this.iTracks&67108864){for(var i in is){it=is[i];while(it){ts.push(it);it=it.oParPopup.oParItem;}}for(var i=0;i<ts.length;i++){if(!is[ts[i].sUid]){is[ts[i].sUid]=ts[i];}}}for(var i in this.oTracks){if(!is[i]){if((this.iTracks&16777216)&&this.oTracks[i]._sTLnk&&this.oTracks[i]._sTLnk!="#_nolink"){this.oTracks[i].sLnk=this.oTracks[i]._sTLnk;this.oTracks[i].fbSetCursor(this.aCursors[1]);}this.oTracks[i].fbUpDate(this.oTracks[i].iStat&(_ic.MAXSTATE-this.TRACK_STYLE-_ic.TRACK));delete this.oTracks[i];}}for(var i in is){if(is[i].iStat&_ic.TRACK){continue;}is[i].fbUpDate(is[i].iStat|_ic.TRACK_STYLE|_ic.TRACK);this.oTracks[i]=is[i];}if(this.iTracks&134217728){for(var i=this.aPopups.length-1;i>0;i--){if(ps[i]&&this.aPopups[i].oParPopup){ps[this.aPopups[i].oParPopup.iNid]=1;}else{if(typeof ps[i]=="undefined"){ps[i]=0;}}}for(var i=1;i<ps.length;i++){if(ps[i]&&(!(this.iTracks&268435456)||(this.iTracks&268435456)&&this.aPopups[i].iDepth<this.iTrackLevel)){if(!(this.aPopups[i].iStat&_STNS.UI.CUIPopup.SHOW)){this.aPopups[i].fbShow(d);d+=(this.aPopups[i].sShEff?this.aPopups[i].iEffDur:0)+300;}}else{if(this.aPopups[i].iStat&_STNS.UI.CUIPopup.SHOW){this.aPopups[i].fbHide();}}}this.iDelayTk=d+1000;}};CUIMenu.fbCkLnk=function(h,t,c,w){if(!t){w=w;}else{if(t=="_self"){w=w;}else{if(t=="_parent"){w=w.parent;}else{if(t=="_top"){w=w.top;}else{if(w.frames[t]){w=w.frames[t];}else{if(w.parent.frames[t]){w=w.parent.frames[t];}else{return false;}}}}}}var u=w.location.href;if(!c){u=u.toLowerCase();h=h.toLowerCase();}return u&&h&&(u==h||u==h+"/"||u==h+"#"||STM_ILINK&&u==h.substr(0,Math.max(0,h.indexOf("?")))||STM_ILOC&&h==u.substr(0,Math.max(0,u.indexOf("?"))));};CUIMenu.foInsPopup=function(it,p){};CUIMenu.fbDelPopup=function(p){};CUIMenu.fbClick=function(_6f){for(var k=0;k<_STNS._aStMenus.length;k++){var m=_STNS._aStMenus[k];if(!(m.iStat&_STNS.UI.CUIMenu.MOUSEOVER)){var o=m.oFocus;if(o){o.fbFireEnt("mouseout");if(_STNS.UI.CUICanvas){return;}var p=o.oParPopup,pp=o,d=p.iDepth;if(d>=1){for(var i=d;i>0;i--){pp=pp.oParPopup;pp.fbHide();}}var ri=o.fbRotItem(),si=ri.oSubPopup;if(si){si.fbHide();}ri.fbFireEnt("mouseout");m.oFocus=0;}}}};CUIMenu.fbKeydown=function(_79){var e=_79?_79:window.event;if(e.altKey&&e.keyCode==113){if(typeof (_STNS.index)=="undefined"){_STNS.index=0;}else{if(_STNS.index<_STNS._aStMenus.length-1){_STNS.index++;}else{_STNS.index=0;}}var x=_STNS.index,_r=_STNS,m=_r._aStMenus[x],p=m.aPopups[0],o=m.oFocus;m.bRunEff=false;m.fbClick();if(o){o.fbFireEnt("mouseout");}if(m.iClk&1){m.bClked=true;}for(var j=0;j<p.aItems.length;j++){if(typeof p.aItems[j].sTxt!="undefined"){var i=p.aItems[j];break;}}if(i){if(i.oSubPopup){i.oSubPopup.fbHide();}if(!_STNS.UI.CUICanvas){i.fbFireEnt("mouseover");}i.fbSetfs();}if(_STNS.UI.CUICanvas&&m.oFocus){m.oFocus.fbSetfs();m.oFocus.fbFireEnt("mousedown",8);}}};_STNS.UI.CUIPopup=_STNS.Class(_STNS.UI.CUIObj);CUIPopup.register("UI/CUIObj>CUIPopup");CUIPopup.construct=function(){this._tTid=0;this.iTyp=0;this.iNid=-1;this.aItems=[];this.sId=0;this.iDirect=1;this.iWid=-1;this.iHei=-1;this.iOffX=0;this.iOffY=0;this.iSpace=0;this.iPad=0;this.sBgClr="";this.sBgImg="";this.iBgRep=0;this.iBdStyle=0;this.iBdWid=0;this.sBdClr="";this.iZid=1000;this.iStat=0;this.oParItem=0;this.oParMenu=0;this.oParPopup=0;this.iHal=0;this.iDepth=0;this.iOpac=100;this.iShadow=0;this.iSdSize=0;this.sSdClr="";this.iEffDur=0;this.bShInit=false;this.bHdInit=false;this.sShEff=0;this.iShEff=-1;this.sHdEff=0;this.iHdEff=-1;this.aRounds=[];this.aRWids=[];this.aRHeis=[];this.aRdb=[];this.aRBgClrs=[];this.aRBgImgs=[];this.aRBgReps=[];this.aCorners=[];this.aCorWHs=[];this.aScBars=[];this.iMaxSize=-1;this.iScr=0;this.bflg=true;this.bMul=false;this.iMl=2;this.sMBgClrs="#000000";this.sMOpc=0;this.iMSpc=1;this.sMBgImgs="";this.sMBgReps="no-repeat";with(_STNS.UI.CUIPopup){this.fsGetHTML=fsGetHTML;this.fbGetEnt=fbGetEnt;this.fbSetOver=fbSetOver;this.fbSetOut=fbSetOut;this.fbCreate=fbCreate;this.fbInit=fbInit;this.fbShow=fbShow;this.fbShowX=fbShowX;this.fbHide=fbHide;this.fbHideX=fbHideX;this.fbOnShow=fbOnShow;this.fbOnHide=fbOnHide;this.faGetXY=faGetXY;this.foInsItem=foInsItem;this.fbDelItem=fbDelItem;this.fvDestroy=fvDestroy;this.faGetSwh=faGetSwh;this.fvScr=fvScr;this.fvClearScr=fvClearScr;this.fbCheckClkSet=fbCheckClkSet;this.fvHdWels=fvHdWels;this.fvShWels=fvShWels;this.fvWtag=fvWtag;this.fbWover=fbWover;}};CUIPopup.CROSSFRAME=1;CUIPopup.SHOW=2;CUIPopup.MOUSEOVER=4;with(CUIPopup){CUIPopup.MAXSTATE=CROSSFRAME|SHOW|MOUSEOVER;}CUIPopup.VERTICAL=1;CUIPopup.STATIC=2;CUIPopup.DIRECTION_LEFT=1;CUIPopup.DIRECTION_RIGHT=2;CUIPopup.DIRECTION_UPLEFT=3;CUIPopup.DIRECTION_DOWNLEFT=4;CUIPopup.DIRECTION_UPRIGHT=5;CUIPopup.DIRECTION_DOWNRIGHT=6;CUIPopup.fsGetHTML=function(){var _r=_STNS,_c=_r.UI.CUIPopup,m=this.oParMenu,_mc=_r.UI.CUIMenu,s="",scs,its,cf=this.iStat&_c.CROSSFRAME,fs="",v=this.iTyp&_c.VERTICAL,sc=this.aScBars.length?this.aScBars:m.aScBars,_8d=m.iWid&&!this.iNid&&!v;with(this){var _8e=_8f=isAllSW=0,_90,_91=_r.bIsSF&&this.bMul;for(var i=0;i<aItems.length;i++){if(aItems[i].iWid&&aItems[i].iWid!=-1){_8e++;}}_8f=aItems.length-_8e;if(_8f){_90=Math.ceil(100/_8f)+"%";}isAllSW=_8e==aItems.length;if(this.bMul){_91?this.tr=[]:"";var _93=bMul?v?1:0:0,_94=bMul?!v?1:0:0,_ml=iMl,_96=iMSpc,_97=aItems.length,_98=Math.ceil(aItems.length/_ml),_99=Math.floor(aItems.length/_ml),_9a=_98==_99?0:aItems.length%_ml,_9b=aItems.length<_ml?aItems.length:_ml;}if(_94){var _8f=0,_90,a=[];for(var i=0;i<_9b;i++){var per=false;for(var j=i;j<=(i+1+_9b*(_98-1));j+=_9b){if(aItems[j]){if(aItems[j].iWid!="100%"){per=true;break;}}}if(!per){_8f++;a.push(i);}}if(_8f){_90=Math.ceil(100/_8f)+"%";}}its="<table cellpadding=0 cellspacing="+iSpace+(!this.iNid&&m.iHal?" align='"+_mc.ALIGNS[m.iHal]:"")+"' id='"+sUid+"_body' "+m.fsGetStyle("tb",cf,_8d?bMul?_8f?"width:100%;":"":isAllSW?"":"width:100%;":"")+">";if(_94){var _tc=0;for(var c=0;c<_98;c++){its+="<tr "+m.fsGetStyle("tr",cf)+">";for(var j=_tc;j<_tc+_9b;j++){if(_97>0){if(!c){var ad=false;for(var t=0;t<a.length;t++){j==a[t]?ad=true:"";}}its+="<td "+(_91?"id='"+sUid+"_td"+aItems[j].iNid+"' ":"")+(typeof (aItems[j].sTxt)=="undefined"?"align=center ":"align=left")+m.fsGetStyle("td",cf,((aItems[j].iWid&&aItems[j].iWid!=-1&&aItems[j].iWid!="100%"&&!aItems[j].iTyp&&typeof (aItems[j].sTxt)!="undefined")?"width:1px;":!c?ad&&_8d?"width:"+_90+";":"":""))+" valign='middle'>"+aItems[j].fsGetHTML()+"</td>";if(_91){if(!this.tr[c]){this.tr[c]=[];}this.tr[c].push(aItems[j].iNid);}_97--;}}_tc=_tc+_9b;its+="</tr>";_97>0&&_96>0?its+="<tr "+m.fsGetStyle("tr",cf)+"><td colspan="+_9b+" style=\""+(sMBgClrs?"background-color:"+sMBgClrs+";":"")+"background-image:url("+(cf?_r.fsGetAbsPth(sMBgImgs):sMBgImgs)+");background-repeat:"+sMBgReps+";background-position:center;height:"+_96+"px"+"\"></td></tr>":"";}}else{if(_93){var _a3=_r.bIsFX&&_r.oNav.version<=20021130;_tprs=_98==_99?0:aItems.length%_ml;for(var c=0;c<_9b;c++){its+="<tr "+m.fsGetStyle("tr",cf)+">";var _a4=0;for(var j=0;j<(_9a==0?_98:_tprs>0?_98:_99);j++){if(_97>0){_a4=j==0?c:_a4+_9b;its+="<td "+(_91?"id='"+sUid+"_td"+aItems[_a4].iNid+"' ":"")+m.fsGetStyle("td",cf,(aItems[_a4].iWid&&aItems[_a4].iWid!=-1&&aItems[_a4].iWid!="100%"?"width:1px;":""))+" valign='middle'>"+aItems[_a4].fsGetHTML()+"</td>";if(_91){if(!this.tr[c]){this.tr[c]=[];}this.tr[c].push(aItems[_a4].iNid);}_97--;}c==0&&j<_98-1&&_96>0?(its+="<td rowspan="+_9b+" style=\""+(sMBgClrs?"background-color:"+sMBgClrs+";":"")+"background-image:url("+(cf?_r.fsGetAbsPth(sMBgImgs):sMBgImgs)+");background-repeat:"+sMBgReps+";background-position:center;\"><div style='width:"+_96+"px;'></div></td>"):"";}_tprs>0?_tprs--:"";its+="</tr>";}}else{for(var j=0;j<aItems.length;j++){if(_8d){its+=(v?"<tr "+m.fsGetStyle("tr",cf)+">":"")+"<td "+m.fsGetStyle("td",cf,(aItems[j].iWid&&aItems[j].iWid!=-1?"":"width:"+_90+";"))+">"+aItems[j].fsGetHTML()+"</td>"+(v?"</tr>":"");}else{its+=(v?"<tr "+m.fsGetStyle("tr",cf)+">":"")+"<td "+m.fsGetStyle("td",cf)+">"+aItems[j].fsGetHTML()+"</td>"+(v?"</tr>":"");}}}}its+="</table>";scs=sc[0]&&sc[1]?("<table cellpadding=0 cellspacing=0 "+"id='"+sUid+"_scfm' "+m.fsGetStyle("tb",cf)+">"+(v?"<tr "+m.fsGetStyle("tr",cf)+">":"")+"<td id='"+sUid+"_sc0' "+m.fsGetStyle("td",cf)+">"+sc[0].fsGetHTML()+"</td>"+(v?"</tr>":"")+"<td "+m.fsGetStyle("td",cf,"valign:middle;")+">"+"<div id='"+sUid+"_scc' "+m.fsGetStyle("dv",cf)+">"+its+"</div>"+"</td>"+(v?"<tr "+m.fsGetStyle("tr",cf)+">":"")+"<td id='"+sUid+"_sc1' "+m.fsGetStyle("td",cf)+">"+sc[1].fsGetHTML()+"</td>"+(v?"</tr>":"")+"</table>"):its;if(_STNS.bIsIE&&(iOpac<100&&iOpac>-1||_STNS.oNav.version>=5.5&&iShadow&&iSdSize)){fs="filter:"+(iOpac<100&&iOpac>-1?"Alpha(opacity="+iOpac+") ":"")+(_STNS.oNav.version>=5.5&&iShadow&&iSdSize?(iShadow==1?"progid:DXImageTransform.Microsoft.dropshadow(color="+sSdClr+",offx="+iSdSize+",offy="+iSdSize+",positive=1)":"progid:DXImageTransform.Microsoft.Shadow(color="+sSdClr+",direction=135,strength="+iSdSize+")"):"")+";";}else{if(_STNS.oNav.name=="gecko"&&_STNS.oNav.version>=20060414){fs=iOpac<100&&iOpac>-1?"-moz-opacity:"+iOpac/100+";":"";}}s+=(iTyp&_c.STATIC?"":"<div "+"id='"+sUid+"_dv' "+m.fsGetStyle("dv",cf,"visibility:hidden;"+("position:absolute;"+"left:0px;"+"top:-9999px;"+"z-index:"+iZid+";"))+">")+"<table cellpadding=0 cellspacing=0"+" id='"+sUid+"' "+m.fsGetStyle("tb",cf,fs+(((iTyp&_c.STATIC)&&!(_r.bIsOP&&_r.oNav.version<9))?"visibility:hidden;":"")+(iBdStyle>0&&iBdWid>0?"border-width:"+iBdWid+"px;border-style:"+_mc.BORDERS[iBdStyle]+";border-color:"+sBdClr+";":"")+(!m.iTyp&&iWid&&iWid!=-1?"width:"+_r.fsGetLen("tb",iWid,0,iBdStyle>0&&iBdWid>0?iBdWid:0,1)+";":"")+(!m.iTyp&&iHei&&iHei!=-1?"height:"+_r.fsGetLen("tb",iHei,0,iBdStyle>0&&iBdWid>0?iBdWid:0,1,0)+";":""))+" "+(!m.iTyp&&!this.iNid&&m.iHal?"align="+_mc.ALIGNS[m.iHal]:"")+" "+m.fsGetEnt(this,"mouseover","",cf)+" "+m.fsGetEnt(this,"mouseout","",cf)+">"+(aRHeis[0]&&aRHeis[0]!=-1||(aRHeis[0]==-1&&(aCorners[0]||aCorners[1]||aRounds[0]))?"<tr "+m.fsGetStyle("tr",cf)+">"+(aRWids[3]&&aRWids[3]!=-1||(aRWids[3]==-1&&(aCorners[0]||aCorners[3]||aRounds[3]))?"<td "+m.fsGetStyle("td",cf,"font-size:1px;"+(aRWids[3]&&aRWids[3]!=-1?"width:"+_r.fsGetLen("td",aRWids[3])+";":"width:1px;")+(aRHeis[0]&&aRHeis[0]!=-1?"height:"+_r.fsGetLen("td",aRHeis[0],0,0,1,0)+";":""))+">"+m.fsGetImgTag(aCorners[0],aRWids[3],aRHeis[0],0,null,cf,aCorWHs[0],aCorWHs[1])+"</td>":"")+"<td id='"+sUid+"d0' "+m.fsGetStyle("td",cf,"font-size:1px;"+(aRBgClrs[0]?"background-color:"+aRBgClrs[0]+";":"")+(aRBgImgs[0]?"background-image:url("+(cf?_r.fsGetAbsPth(aRBgImgs[0]):aRBgImgs[0])+");background-repeat:"+_mc.REPEATS[aRBgReps[0]]:""))+">"+m.fsGetImgTag(aRounds[0],aRWids[0],aRHeis[0],0,null,cf)+"</td>"+(aRWids[1]&&aRWids[1]!=-1||(aRWids[1]==-1&&(aCorners[1]||aCorners[2]||aRounds[1]))?"<td "+m.fsGetStyle("td",cf,"font-size:1px;"+(aRWids[1]&&aRWids[1]!=-1?"width:"+_r.fsGetLen("td",aRWids[1])+";":"width:1px;")+(aRHeis[0]&&aRHeis[0]!=-1?"height:"+_r.fsGetLen("td",aRHeis[0],0,0,1,0)+";":""))+">"+m.fsGetImgTag(aCorners[1],aRWids[1],aRHeis[0],0,null,cf,aCorWHs[2],aCorWHs[3])+"</td>":"")+"</tr>":"")+"<tr "+m.fsGetStyle("tr",cf)+">"+(aRWids[3]&&aRWids[3]!=-1||(aRWids[3]==-1&&(aCorners[0]||aCorners[3]||aRounds[3]))?"<td id='"+sUid+"d3' "+m.fsGetStyle("td",cf,"width:1px;font-size:1px;"+(aRBgClrs[3]?"background-color:"+aRBgClrs[3]+";":"")+(aRBgImgs[3]?"background-image:url("+(cf?_r.fsGetAbsPth(aRBgImgs[3]):aRBgImgs[3])+");background-repeat:"+_mc.REPEATS[aRBgReps[3]]:""))+">"+m.fsGetImgTag(aRounds[3],aRWids[3],aRHeis[3],0,null,cf)+"</td>":"")+"<td "+m.fsGetStyle("td",cf,(_8d&&_STNS.bIsOP&&_STNS.oNav.version<=7.54?"width:100%;":"")+(sBgClr?"background-color:"+sBgClr+";":"")+(sBgImg?"background-image:url("+(cf?_r.fsGetAbsPth(sBgImg):sBgImg)+");background-repeat:"+_mc.REPEATS[iBgRep]+";":""))+">"+scs+"</td>"+(aRWids[1]&&aRWids[1]!=-1||(aRWids[1]==-1&&(aCorners[1]||aCorners[2]||aRounds[1]))?"<td id='"+sUid+"d1' "+m.fsGetStyle("td",cf,"width:1px;font-size:1px;"+(aRBgClrs[1]?"background-color:"+aRBgClrs[1]+";":"")+(aRBgImgs[1]?"background-image:url("+(cf?_r.fsGetAbsPth(aRBgImgs[1]):aRBgImgs[1])+");background-repeat:"+_mc.REPEATS[aRBgReps[1]]:""))+">"+m.fsGetImgTag(aRounds[1],aRWids[1],aRHeis[1],0,null,cf)+"</td>":"")+"</tr>"+(aRHeis[2]&&aRHeis[2]!=-1||(aRHeis[2]==-1&&(aCorners[3]||aCorners[2]||aRounds[2]))?"<tr "+m.fsGetStyle("tr",cf)+">"+(aRWids[3]&&aRWids[3]!=-1||(aRWids[3]==-1&&(aCorners[0]||aCorners[3]||aRounds[3]))?"<td "+m.fsGetStyle("td",cf,"font-size:1px;"+(aRWids[3]&&aRWids[3]!=-1?"width:"+_r.fsGetLen("td",aRWids[3])+";":"width:1px;")+(aRHeis[2]&&aRHeis[2]!=-1?"height:"+_r.fsGetLen("td",aRHeis[2],0,0,1,0)+";":""))+">"+m.fsGetImgTag(aCorners[3],aRWids[3],aRHeis[2],0,null,cf,aCorWHs[6],aCorWHs[7])+"</td>":"")+"<td id='"+sUid+"d2' "+m.fsGetStyle("td",cf,"font-size:1px;"+(aRBgClrs[2]?"background-color:"+aRBgClrs[2]+";":"")+(aRBgImgs[2]?"background-image:url("+(cf?_r.fsGetAbsPth(aRBgImgs[2]):aRBgImgs[2])+");background-repeat:"+_mc.REPEATS[aRBgReps[2]]:""))+">"+m.fsGetImgTag(aRounds[2],aRWids[2],aRHeis[2],0,null,cf)+"</td>"+(aRWids[1]&&aRWids[1]!=-1||(aRWids[1]==-1&&(aCorners[1]||aCorners[2]||aRounds[1]))?"<td "+m.fsGetStyle("td",cf,"font-size:1px;"+(aRWids[1]&&aRWids[1]!=-1?"width:"+_r.fsGetLen("td",aRWids[1])+";":"width:1px;")+(aRHeis[2]&&aRHeis[2]!=-1?"height:"+_r.fsGetLen("td",aRHeis[2],0,0,1,0)+";":""))+">"+m.fsGetImgTag(aCorners[2],aRWids[1],aRHeis[2],0,null,cf,aCorWHs[4],aCorWHs[5])+"</td>":"")+"</tr>":"")+"</table>"+(iTyp&_c.STATIC?m.iHal==2&&(_r.bIsIE||_r.bIsOP)?"<br clear='both'/>":"":"</div>");}return s;};CUIPopup.fbGetEnt=function(e,o){var et=e.type||e,oid=o.id,_r=_STNS,_c=_r.UI.CUIPopup;with(this){switch(et){case "mouseover":if(!o._ov&&((_r.bIsIE&&e.srcElement&&_r.fbIsPar(o,e.srcElement))||(!_r.bIsIE&&e.target&&_r.fbIsPar(o,e.target)))){o._ov=1;this.iStat|=_c.MOUSEOVER;return fbFireEnt("mouseover");}break;case "mouseout":if(o._ov&&((_r.bIsIE&&(!e.toElement||!_r.fbIsPar(o,e.toElement)))||!_r.bIsIE&&(!e.relatedTarget||!_r.fbIsPar(o,e.relatedTarget)))){o._ov=0;this.iStat&=_c.MAXSTATE-_c.MOUSEOVER;return fbFireEnt("mouseout");}break;case "keydown":return fbFireEnt("keydown",e.keyCode);default:return fbFireEnt(et);}}return true;};CUIPopup.fvDestroy=function(){for(var i=0;i<this.aItems.length;i++){this.aItems[i].fvDestroy();}_STNS.UI.CUIObj.fvDestroy.call(this);};CUIPopup.fbCreate=function(w){if(!w){w=window;}var s,d=w.document,_c=_STNS.UI.CUIPopup;try{if(w!=window){this.iStat|=_c.CROSSFRAME;for(var i=0;i<this.aItems.length;i++){this.aItems[i].iStat|=this.aItems[i].getClass().CROSSFRAME;}for(var j=0;j<this.aScBars.length;j++){this.aScBars[j].iStat|=_STNS.UI.CUIItem.CROSSFRAME;}}_STNS.fbInsHTML(d.body,"afterBegin",this.fsGetHTML());return true;}catch(e){if(w!=window){this.iStat&=_c.MAXSTATE-_c.CROSSFRAME;for(var i=0;i<this.aItems.length;i++){this.aItems[i].iStat&=_STNS.UI.CUIItem.MAXSTATE-_STNS.UI.CUIItem.CROSSFRAME;}}return false;}};CUIPopup.fbShow=function(d){var _r=_STNS,_c=_r.UI.CUIPopup,s=this.iStat&_c.SHOW,m=this.oParMenu;clearTimeout(this._tTid);if(s){return true;}else{if(!d){return this.fbOnShow();}else{if(d){this._tTid=setTimeout(this.sSelf+".fbShow()",d);}}}return true;};CUIPopup.fbOnShow=function(){var _r=_STNS,_c=_r.UI.CUIPopup,m=this.oParMenu,w=this.iNid&&m.bCfm?m.fdmGetTarFm():window,f=false,e;if(!(e=_r.fdmGetEleById(this.sUid,w))){if(!w&&m.bCfm&&!m.bCfShow){return false;}f=this.fbCreate(w);if(f){this.bShInit=false;this.bHdInit=false;this.fbInit();e=_r.fdmGetEleById(this.sUid,w);}}if(!e&&!f&&m.bCfm&&m.bCfShow){w=window;if(!(e=_r.fdmGetEleById(this.sUid))){f=this.fbCreate();if(f){this.bShInit=false;this.bHdInit=false;this.fbInit();e=_r.fdmGetEleById(this.sUid);}}}if(this.aScBars!=""){this.faGetSwh();}if(m.aHdTags.length){this.fvHdWels();}if(e){if(this.bHdInit&&this.sHdEff&&typeof this.sHdEff=="object"&&_STNS.EFFECT){this.sHdEff.fbStop();}if(!(this.iTyp&_c.STATIC)){var pos=this.faGetXY(1);e=_STNS.bIsIE?e.parentElement:e.parentNode;if(m.bRunEff&&this.sShEff&&typeof this.sShEff=="string"&&_STNS.EFFECT){var flt=_STNS.EFFECT.foGetEff(this.sShEff,this.sUid+"_dv",w,this.iEffDur,this.iShEff);if(flt){this.sShEff=flt;if(this.sShEff.fbSet()){this.sShEff.fbApply();this.sShEff.fbSetStyle("left:"+pos[0]+"px;top:"+pos[1]+"px;visibility:visible;");this.sShEff.fbPlay();this.iStat|=_c.SHOW;this.bShInit=true;return f;}else{this.sShEff.fbDel();this.sShEff="";}}}else{if(m.bRunEff&&typeof this.sShEff=="object"){var tf=true;if(this.sShEff.dmWin!=w||!this.bShInit){tf=this.sShEff.fbSet();if(tf){this.bShInit=true;}}if(tf){this.sShEff.fbApply();this.sShEff.fbSetStyle("left:"+pos[0]+"px;top:"+pos[1]+"px;visibility:visible;");this.sShEff.fbPlay();this.iStat|=_c.SHOW;return f;}}}e.style.left=pos[0]+"px";e.style.top=pos[1]+"px";e.style.visibility="visible";}else{if(m.bRunEff&&this.sShEff&&typeof this.sShEff=="string"&&_STNS.EFFECT){var flt=_STNS.EFFECT.foGetEff(this.sShEff,this.sUid,w,this.iEffDur,this.iShEff);if(flt){this.sShEff=flt;if(this.sShEff.fbSet()){this.sShEff.fbApply();this.sShEff.fbSetStyle("visibility:visible;");this.sShEff.fbPlay();this.iStat|=_c.SHOW;this.bShInit=true;return f;}else{this.sShEff.fbDel();this.sShEff="";}}}else{if(m.bRunEff&&typeof this.sShEff=="object"){var tf=true;if(this.sShEff.dmWin!=w||!this.bShInit){tf=this.sShEff.fbSet();if(tf){this.bShInit=true;}}if(tf){this.sShEff.fbApply();this.sShEff.fbSetStyle("visibility:visible;");this.sShEff.fbPlay();this.iStat|=_c.SHOW;return f;}}}}e.style.visibility=!(_r.bIsOP&&_r.oNav.version<9)?"visible":"";}m.bRunEff=true;this.iStat|=_c.SHOW;return f;};CUIPopup.fbShowX=function(d){var _r=_STNS,_c=_r.UI.CUIPopup,s=this.iStat&_c.SHOW,m=this.oParMenu;if(s){clearTimeout(this._tTid);return true;}else{if(!d){var ps=[],p=this;while(p){ps.push(p);p=p.oParItem?p.oParItem.oParPopup:0;}for(var i=ps.length-1;i>=0;i--){ps[i].fbShow();}}else{if(d){this._tTid=setTimeout(this.sSelf+".fbShowX()",d);}}}return true;};CUIPopup.fbHide=function(d){var _r=_STNS,_c=_r.UI.CUIPopup,_ic=_r.UI.CUIItem,s=this.iStat&_c.SHOW,m=this.oParMenu;clearTimeout(this._tTid);if(!s){d=0;}if(!d){return this.fbOnHide();}else{if(d){this._tTid=setTimeout(this.sSelf+".fbHide()",d);}}return true;};CUIPopup.fbHideX=function(d,b,e,f){var _r=_STNS,_c=_r.UI.CUIPopup,_ic=_r.UI.CUIItem,s=this.iStat&_c.SHOW,m=this.oParMenu,tp,pp=this,pi;if(typeof f=="undefined"){f=0;}if(e==null){e=-1;}if(!d){while(pp&&pp.iDepth<=b&&pp.iDepth>e){clearTimeout(pp._tTid);tp=pp;if(pi=pp.oParItem){pi.fbUpDate(pi.iStat&(_ic.MAXSTATE-_ic.MOUSEOVER_STYLE));}pp=pp.oParPopup;}if(m.bHdPopup||f){if(tp){tp.fbHide();}else{for(var i=0;i<this.aItems.length;i++){if(this.aItems[i].oSubPopup){this.aItems[i].oSubPopup.fbHide();}}}}m.iStat&=_r.UI.CUIMenu.MAXSTATE-_r.UI.CUIMenu.MOUSEOVER;m.bClked=false;}if(d){this._tTid=setTimeout(this.sSelf+".fbHideX(0,"+b+","+e+","+f+")",d);}return true;};CUIPopup.fbOnHide=function(){var _r=_STNS,_c=_r.UI.CUIPopup,_ic=_r.UI.CUIItem,cf=this.iStat&_c.CROSSFRAME,w=cf?this.oParMenu.fdmGetTarFm():window,e,i,m=this.oParMenu;for(i=0;i<this.aItems.length;i++){if(this.aItems[i].oSubPopup){this.aItems[i].oSubPopup.fbHide();this.aItems[i].fbUpDate(this.aItems[i].iStat&(_ic.MAXSTATE-_ic.MOUSEOVER_STYLE));}}if(!(this.iStat&_c.SHOW)){return true;}if(m.aHdTags.length){this.fvShWels();}if(e=_r.fdmGetEleById(this.sUid,w)){if(this.bShInit&&this.sShEff&&typeof this.sShEff=="object"&&_STNS.EFFECT){this.sShEff.fbStop();}if(this.iTyp&_c.STATIC){if(m.bRunEff&&this.sHdEff&&typeof this.sHdEff=="string"&&_STNS.EFFECT){var flt=_STNS.EFFECT.foGetEff(this.sHdEff,this.sUid,w,this.iEffDur,this.iHdEff);if(flt){this.sHdEff=flt;if(this.sHdEff.fbSet()){this.sHdEff.fbApply();this.sHdEff.fbSetStyle("visibility:hidden;");this.sHdEff.fbPlay();this.iStat&=_c.MAXSTATE-_c.SHOW;this.bHdInit=true;return true;}else{this.sHdEff.fbDel();this.sHdEff="";}}}else{if(m.bRunEff&&typeof this.sHdEff=="object"){var tf=true;if(this.sHdEff.dmWin!=w||!this.bHdInit){tf=this.sHdEff.fbSet();if(tf){this.bHdInit=true;}}if(tf){this.sHdEff.fbApply();this.sHdEff.fbSetStyle("visibility:hidden;");this.sHdEff.fbPlay();this.iStat&=_c.MAXSTATE-_c.SHOW;return true;}}}e.style.visibility="hidden";}else{var pos=this.faGetXY(1);if(m.bRunEff&&this.sHdEff&&typeof this.sHdEff=="string"&&_STNS.EFFECT){var flt=_STNS.EFFECT.foGetEff(this.sHdEff,this.sUid+"_dv",w,this.iEffDur,this.iHdEff);if(flt){this.sHdEff=flt;if(this.sHdEff.fbSet()){this.sHdEff.fbApply();this.sHdEff.fbSetStyle("left:"+pos[0]+"px;top:"+pos[1]+"px;visibility:hidden;");this.sHdEff.fbPlay();this.iStat&=_c.MAXSTATE-_c.SHOW;this.bHdInit=true;return true;}else{this.sHdEff.fbDel();this.sHdEff="";}}}else{if(m.bRunEff&&typeof this.sHdEff=="object"){var tf=true;if(this.sHdEff.dmWin!=w||!this.bHdInit){tf=this.sHdEff.fbSet();if(tf){this.bHdInit=true;}}if(tf){this.sHdEff.fbApply();this.sHdEff.fbSetStyle("left:"+pos[0]+"px;top:"+pos[1]+"px;visibility:hidden;");this.sHdEff.fbPlay();this.iStat&=_c.MAXSTATE-_c.SHOW;return true;}}}if(_STNS.bIsIE){e.parentElement.style.visibility="hidden";}else{e.parentNode.style.visibility="hidden";}}}this.iStat&=_c.MAXSTATE-_c.SHOW;return true;};CUIPopup.fbCheckClkSet=function(){if(!(p.oParMenu.iStat&_STNS.UI.CUIMenu.MOUSEOVER)){p.oParMenu.bClked=false;}return true;};CUIPopup.fbSetOver=function(){var _r=_STNS,_c=_r.UI.CUIPopup,_ic=_r.UI.CUIItem,p=this,m=this.oParMenu;this.oParMenu.iStat|=_r.UI.CUIMenu.MOUSEOVER;if((m.iClk&1)&&!(m.iClk&2)&&!m.bClked){return true;}while(p){clearTimeout(p._tTid);if(p.oParItem){p.oParItem.fbUpDate(p.oParItem.iStat|_ic.MOUSEOVER_STYLE);}p=p.oParPopup;}return true;};CUIPopup.fbSetOut=function(){var m=this.oParMenu,_r=_STNS;if(m.iTyp==3){this.fbHideX(m.iDelayHd,this.iDepth);}else{if(m.iTyp==2&&STM_AHCM){this.fbHideX(m.iDelayHd,this.iDepth);}else{this.fbHideX(m.iDelayHd,this.iDepth,0);}}return true;};CUIPopup.fbInit=function(){var _r=_STNS,_c=_r.UI.CUIPopup,e,t,m=this.oParMenu,w=this.iStat&_c.CROSSFRAME?m.fdmGetTarFm():window;if(this.bMul&&_r.bIsSF){if(this.tr){for(var i=0;i<this.tr.length;i++){var _f4=0,e;for(var j=0;j<this.tr[i].length;j++){e=_r.fdmGetEleById(this.sUid+"_td"+this.tr[i][j],w);_f4=Math.max(_f4,e.offsetHeight);}this.tr[i].Maxtd=_f4;}}}for(var i=0;i<this.aItems.length;i++){this.aItems[i].fbInit();}for(var j=0;j<this.aScBars.length;j++){this.aScBars[j].fbInit();}e=_r.fdmGetEleById(this.sUid,w);if(e){if(this.iHei=="100%"){e.style.height=e.offsetParent.offsetHeight;}}var _f6=[_STNS.fiGetEleWid(_STNS.fdmGetEleById(this.sUid,w))+this.iSdSize,_STNS.fiGetEleHei(_STNS.fdmGetEleById(this.sUid,w))+this.iSdSize],_f7=[_STNS.fiGetEleWid(_STNS.fdmGetEleById(this.sUid+"_body",w)),_STNS.fiGetEleHei(_STNS.fdmGetEleById(this.sUid+"_body",w))];this.MaxScrWH=_f6;this.MaxDvWH=_f7;var sc=this.aScBars;for(var i=0;i<2;i++){if(sc[i]){sc[i].img0=sc[i].aImgs[0];sc[i].img1=sc[i].aImgs[1];}}};CUIPopup.faGetXY=function(f){var _r=_STNS,_c=_r.UI.CUIPopup,pi=this.oParItem,m=this.oParMenu,e,cf=this.iStat&_c.CROSSFRAME,w=cf?m.fdmGetTarFm():window,ip,iw=ih=0,pw,ph,x,y,cl=_r.fiGetCL(w),ct=_r.fiGetCT(w),cw=_r.fiGetCW(w),ch=_r.fiGetCH(w);if(this.iTyp&_c.STATIC){return [0,0];}if(!this.iNid){x=eval(m.iX);y=eval(m.iY);if(!x){x=0;}if(!y){y=0;}return [x,y];}if(pi&&(e=_r.fdmGetEleById(pi.sUid,pi.iStat&_r.UI.CUIItem.CROSSFRAME?w:window))){ip=_r.faGetElePos(e);iw=_r.fiGetEleWid(e);ih=_r.fiGetEleHei(e);}else{ip=[0,0];}e=_r.fdmGetEleById(this.sUid+"_dv",w);if(e){pw=_r.fiGetEleWid(e);ph=_r.fiGetEleHei(e);}else{return [0,0];}switch(this.iDirect){case _c.DIRECTION_LEFT:x=ip[0]-pw;y=ip[1];break;case _c.DIRECTION_RIGHT:x=ip[0]+iw;y=ip[1];break;case _c.DIRECTION_UPLEFT:x=ip[0];y=ip[1]-ph;break;case _c.DIRECTION_DOWNLEFT:x=ip[0];y=ip[1]+ih;break;case _c.DIRECTION_UPRIGHT:x=ip[0]+iw-pw;y=ip[1]-ph;break;case _c.DIRECTION_DOWNRIGHT:x=ip[0]+iw-pw;y=ip[1]+ih;break;}if(cf&&this.oParPopup&&!this.oParPopup.iNid){switch(m.iCfD){case 0:x+=cl;y=ct;break;case 1:x+=cl;y=ct+ch-ph;break;case 2:x=cl;y+=ct;break;case 3:x=cl+cw-pw;y+=ct;break;}x+=m.iCfX;y+=m.iCfY;if(m.sSrcFm){var wcl=_STNS.fiGetCL(),wct=_STNS.fiGetCT();if(!m.iCfD||m.iCfD==1){x-=wcl;}if(m.iCfD==2||m.iCfD==3){y-=wct;}}}x+=this.iOffX;y+=this.iOffY;if(f&&this.iNid){if(STM_RTL&&_STNS.bIsIE&&_STNS.oNav.version>5){cl=cw+cl-w.document.body.scrollWidth;}if(x+pw>cl+cw){x=cw+cl-pw;}if(y+ph>ct+ch){y=ct+ch-ph;}if(x<cl-this.iSdSize){x=cl-this.iSdSize;}if(y<ct-this.iSdSize){y=ct-this.iSdSize;}}return [x,y];};CUIPopup.foInsItem=function(){};CUIPopup.fbDelItem=function(){};CUIPopup.faGetSwh=function(){var _r=_STNS,_c=_r.UI.CUIPopup,v=this.iTyp&_c.VERTICAL,m=this.oParMenu,p=this,sc=this.aScBars.length?this.aScBars:m.aScBars,pd=this.iDirect,cf=this.iStat&_c.CROSSFRAME,w=cf?m.fdmGetTarFm():window,f=false,e,_pi,pi=this.oParItem,ip,iw=ih=0;this._sc=_r.fdmGetEleById(this.sUid+"_scc",w);this._body=_r.fdmGetEleById(this.sUid+"_body",w);this._pop=_r.fdmGetEleById(this.sUid,w);this._sc.scrollTop=0;this._sc.scrollLeft=0;var sw=sc[0]&&sc[1]?[sc[0].iImgWid+2*sc[0].iImgBd+2*sc[0].iBdWid,sc[1].iImgWid+2*sc[1].iImgBd+2*sc[1].iBdWid]:[0,0],sh=sc[0]&&sc[1]?[sc[0].iImgHei+2*sc[0].iImgBd+2*sc[0].iBdWid,sc[1].iImgHei+2*sc[1].iImgBd+2*sc[1].iBdWid]:[0,0];var d0=_r.fdmGetEleById(this.sUid+"d0",w),d1=_r.fdmGetEleById(this.sUid+"d1",w),d2=_r.fdmGetEleById(this.sUid+"d2",w),d3=_r.fdmGetEleById(this.sUid+"d3",w);dec0=d0?[_r.fiGetEleWid(d0),_r.fiGetEleHei(d0)]:[0,0];dec1=d1?[_r.fiGetEleWid(d1),_r.fiGetEleHei(d1)]:[0,0];dec2=d2?[_r.fiGetEleWid(d2),_r.fiGetEleHei(d2)]:[0,0];dec3=d3?[_r.fiGetEleWid(d3),_r.fiGetEleHei(d3)]:[0,0];var dh=dec0[1]+dec2[1]+2*(p.iBdWid+p.iSdSize),dw=dec1[0]+dec3[0]+2*(p.iBdWid+p.iSdSize);if(pi&&(_pi=_r.fdmGetEleById(pi.sUid,pi.iStat&_r.UI.CUIItem.CROSSFRAME?w:window))){ip=_r.faGetElePos(_pi);iw=_r.fiGetEleWid(_pi);ih=_r.fiGetEleHei(_pi);}else{ip=[0,0];}var _124=_r.fiGetEleWid(this._body),_125=_r.fiGetEleHei(p._body);if(!v){var _126=this.MaxDvWH[0]+dw,_127=p.MaxScrWH[1]-dh;CWid=_r.fiGetCW(w),CHei=_r.fiGetCH(w),CScrL=_r.fiGetCL(w);if(cf){if(this.oParPopup&&!this.oParPopup.iNid){if(_128){if(pd==1){CWid=p.iOffX-CScrL;}if(pd==2){CWid=CWid-p.iOffX;}}}else{if(pd==1){CWid=ip[0]-CScrL+p.iOffX;}if(pd==2){CWid=CWid+CScrL-ip[0]-iw-p.iOffX;}}}else{if(pd==1){CWid=ip[0]-CScrL+p.iOffX;}if(pd==2){CWid=CWid+CScrL-ip[0]-iw-p.iOffX;}}var _128=this.aScBars[0].iScD;_r.fdmGetEleById(p.sUid+"_sc0",w).style.display="";_r.fdmGetEleById(p.sUid+"_sc1",w).style.display="";if(_128&&_126>_128){this._sc.style.width=(_128-(p.MaxScrWH[0]-_124))>=0?(_128-(p.MaxScrWH[0]-_124))+"px":"1px";this._sc.style.height=_127+"px";this._sc.style.overflow="hidden";if(_r.bIsOP&&_r.oNav.version>=9){var _129=_r.fdmGetEleById(this.sUid+"_dv",w);if(_129){_129.style.width=_129.childNodes[0].offsetWidth+"px";}}}else{if(!_128&&_126>CWid){this._sc.style.width=(CWid-(p.MaxScrWH[0]-_124))>=0?(CWid-(p.MaxScrWH[0]-_124))+"px":"1px";this._sc.style.height=_127+"px";this._sc.style.overflow="hidden";if(_r.bIsOP&&_r.oNav.version>=9){var _129=_r.fdmGetEleById(this.sUid+"_dv",w);if(_129){_129.style.width=_129.childNodes[0].offsetWidth+"px";}}}else{this._sc.style.height=p.MaxDvWH[1]+"px";this._sc.style.width=_124+"px";_r.fdmGetEleById(p.sUid+"_sc0",w).style.display="none";_r.fdmGetEleById(p.sUid+"_sc1",w).style.display="none";}}}else{var _127=p.MaxDvWH[1]+dh,_126=this.MaxScrWH[0]-dw;CWid=_r.fiGetCW(w),CHei=_r.fiGetCH(w),CScrT=_r.fiGetCT(w);if(cf){if(this.oParPopup&&!this.oParPopup.iNid){if(_12a){if(pd==3){CHei=p.iOffY-CScrT;}if(pd==4){CHei=CHei-p.iOffY;}}}else{if(pd==3){CHei=ip[1]-CScrT+p.iOffY;}if(pd==4){CHei=CHei-ip[1]-ih-p.iOffY+CScrT;}}}else{if(pd==3){CHei=ip[1]-CScrT+p.iOffY;}if(pd==4){CHei=CHei-ip[1]-ih-p.iOffY+CScrT;}}var _12a=this.aScBars[0].iScD;_r.fdmGetEleById(p.sUid+"_sc0",w).parentNode.style.display="";_r.fdmGetEleById(p.sUid+"_sc1",w).parentNode.style.display="";if(_12a&&_127>_12a){this._sc.style.height=(_12a-(p.MaxScrWH[1]-_125))>=0?(_12a-(p.MaxScrWH[1]-_125))+"px":"1px";this._sc.style.width=_126+"px";this._sc.style.overflow="hidden";}else{if(!_12a&&_127>CHei){this._sc.style.height=(CHei-(p.MaxScrWH[1]-_125))>=0?(CHei-(p.MaxScrWH[1]-_125))+"px":"1px";this._sc.style.width=_126+"px";this._sc.style.overflow="hidden";}else{this._sc.style.height=_125+"px";_r.bIsIE?this._sc.style.width=p.MaxDvWH[0]+"px":"";_r.fdmGetEleById(p.sUid+"_sc0",w).parentNode.style.display="none";_r.fdmGetEleById(p.sUid+"_sc1",w).parentNode.style.display="none";}}}_r.fiGetEleWid(_r.fdmGetEleById(this.sUid+"_dv",w));for(var i=0;i<2;i++){var oSc=_r.fdmGetEleById(p.sUid+"_sc"+i,w);if(oSc){oSc.onmouseover=Function(this.sSelf+".fvScr("+this.sSelf+",100,"+i+")");oSc.onmousedown=Function(this.sSelf+".fvScr("+this.sSelf+",10,"+i+")");oSc.onmouseup=Function(this.sSelf+".fvScr("+this.sSelf+",100,"+i+")");oSc.onmouseout=Function(this.sSelf+".fvClearScr("+this.sSelf+")");}}var te0,te1;te0=sc[0]?_r.fdmGetEleById(sc[0].sUid+"_img",w):0;te1=sc[1]?_r.fdmGetEleById(sc[1].sUid+"_img",w):0;te0?te0.src=cf?_r.fsGetAbsPth(sc[0].img0):sc[0].img0:"";te1?te1.src=cf?_r.fsGetAbsPth(sc[1].img1):sc[1].img1:"";};CUIPopup.fvScr=function(p,sp,d){if(this.tScr){clearTimeout(this.tScr);}var _r=_STNS,_c=_r.UI.CUIPopup,v=p.iTyp&_c.VERTICAL,cf=p.iStat&_c.CROSSFRAME,m=p.oParMenu,sc=p.aScBars.length?p.aScBars:m.aScBars,te0,te1,w=p.iStat&_c.CROSSFRAME?m.fdmGetTarFm():window,scc=_r.fdmGetEleById(p.sUid+"_scc",w),cw=p.MaxDvWH[0]-_r.fiGetEleWid(scc,w),ch=p.MaxDvWH[1]-_r.fiGetEleHei(scc,w);te0=sc[0]?_r.fdmGetEleById(sc[0].sUid+"_img",w):0;te1=sc[1]?_r.fdmGetEleById(sc[1].sUid+"_img",w):0;if(cf){sc[0].img0=_r.fsGetAbsPth(sc[0].img0);sc[0].img1=_r.fsGetAbsPth(sc[0].img1);sc[1].img0=_r.fsGetAbsPth(sc[1].img0);sc[1].img1=_r.fsGetAbsPth(sc[1].img1);}if(v){if(d){scc.scrollTop+=4;if(scc.scrollTop>=ch){te1.src=sc[1].img0;}else{te0.src=sc[0].img1;te1.src=sc[1].img1;}}else{scc.scrollTop-=4;if(scc.scrollTop<=0){te0.src=sc[0].img0;}else{te0.src=sc[0].img1;te1.src=sc[1].img1;}}}else{if(d){scc.scrollLeft+=4;if(scc.scrollLeft>=cw){te1.src=sc[1].img0;}else{te0.src=sc[0].img1;te1.src=sc[1].img1;}}else{scc.scrollLeft-=4;if(scc.scrollLeft<=0){te0.src=sc[0].img0;}else{te0.src=sc[0].img1;te1.src=sc[1].img1;}}}this.tScr=setTimeout(this.sSelf+".fvScr("+this.sSelf+","+sp+","+d+")",sp);};CUIPopup.fvClearScr=function(p){if(this.tScr){clearTimeout(this.tScr);}};CUIPopup.fvHdWels=function(p){var _r=_STNS,m=this.oParMenu;for(var i=0;i<m.aHdTags.length;i++){this.fvWtag(m.aHdTags[i],-1,this);}};CUIPopup.fvShWels=function(p){var _r=_STNS,m=_r._aStMenus[_r._aStMenus.length-1];for(var i=0;i<m.aHdTags.length;i++){this.fvWtag(m.aHdTags[i],1,this);}};CUIPopup.fvWtag=function(tg,c,p){var _r=_STNS,m=this.oParMenu,_c=_r.UI.CUIPopup,cf=this.iStat&_c.CROSSFRAME,w=cf?m.fdmGetTarFm():window,d=w.document;var es=!_r.bIsIE?d.getElementsByTagName(tg):d.all.tags(tg);p=_r.fdmGetEleById(p.sUid,w);for(var j=0;j<es.length;++j){var f=0,e=es.item(j),a;if((tg=="object"||tg=="embed")&&!(_r.bIsOP||_r.bIsMIE)){if(a=e.getAttribute("wmode")){if(a.toLowerCase()=="transparent"||a.toLowerCase()=="opaque"){continue;}}}for(var t=e.offsetParent;t;t=t.offsetParent){if(t.id&&t.id.indexOf("stUI")>=0){f=1;}}if(f){continue;}else{if(p&&this.fbWover(e,p)){if(_r.bIsOP&&tg=="applet"){var v;if(v=parseInt(e.getAttribute("visLevel"))){e.setAttribute("visLevel",v+c);v+=c;}else{e.setAttribute("visLevel",c);v=c;}if(v==-1){if(e.getAttribute("visSave")){e.setAttribute("visSave",e.style.visibility);}e.style.visibility="hidden";if(typeof (p.mywehd)!="undefined"&&p.mywehd(e)){return;}}else{if(!v){var bv=e.getAttribute("visSave");e.style.visibility=bv?bv:"";if(typeof (p.mywesh)!="undefined"&&p.mywesh(e)){return;}}}}else{if(e.visLevel){e.visLevel+=c;}else{e.visLevel=c;}if(e.visLevel==-1){if(typeof e.visSave=="undefined"){e.visSave=e.style.visibility;}e.style.visibility="hidden";if(typeof (p.mywehd)!="undefined"&&p.mywehd(e)){return;}}else{if(!e.visLevel){e.style.visibility=e.visSave;if(typeof (p.mywesh)!="undefined"&&p.mywesh(e)){return;}}}}}}}};CUIPopup.fbWover=function(e,p){if(!p){return false;}var l=0,t=0,w=e.offsetWidth,h=e.offsetHeight,pos=this.faGetXY(p),pw=_STNS.fiGetEleWid(p),ph=_STNS.fiGetEleHei(p);w?(e._wd=w):(w=e._wd);h?(e._ht=h):(h=e._ht);while(e){l+=e.offsetLeft,t+=e.offsetTop,e=e.offsetParent;}return l<pw+pos[0]&&l+w>pos[0]&&t<ph+pos[1]&&t+h>pos[1];};_STNS.UI.CUISeparator=_STNS.Class(_STNS.UI.CUIObj);CUISeparator=_STNS.Class(_STNS.UI.CUIObj);CUISeparator.register("UI/CUIObj>CUISeparator");CUISeparator.construct=function(){this.iNid=-1;this.iTyp=-1;this.iWid=-1;this.iHei=-1;this.sImg=0;this.iImgWid=-1;this.iImgHei=-1;this.sBgClr=0;this.sBgImg=0;this.iBgRep=0;this.oParMenu=0;this.oParPopup=0;this.sId=0;this.iStat=0;with(_STNS.UI.CUISeparator){this.fsGetHTML=fsGetHTML;this.fbInit=fbInit;}};CUISeparator.CROSSFRAME=1;with(CUISeparator){CUISeparator.MAXSTATE=CROSSFRAME;}CUISeparator.fsGetHTML=function(){var s,m=this.oParMenu,_r=_STNS,_mc=_r.UI.CUIMenu,_c=_r.UI.CUISeparator,cf=this.iStat&_c.CROSSFRAME;with(this){s="<table cellpadding=0 cellspacing=0 "+"id='"+sUid+"' "+m.fsGetEnt(this,"click","",cf)+" "+m.fsGetEnt(this,"mousedown","",cf)+" "+m.fsGetStyle("tb",cf,"font-size:1pt;line-height:1pt;"+(iWid&&iWid!=-1?"width:"+_r.fsGetLen("tb",iWid)+";":"")+(iHei&&iHei!=-1?"height:"+_r.fsGetLen("tb",iHei,0,0,1,0)+";":"")+(sBgClr?"background-color:"+sBgClr+";":"")+(sBgImg?"background-image:url("+(cf?_r.fsGetAbsPth(sBgImg):sBgImg)+");background-repeat:"+_mc.REPEATS[iBgRep]+";":""))+"><td align='center' valign='middle'>"+(iImgWid&&iImgHei?m.fsGetImgTag(sImg,iImgWid,iImgHei,0,"",cf):"&nbsp;")+"</td></table>";}return s;};CUISeparator.fbInit=function(){var _r=_STNS,w=this.oParPopup.iStat&_r.UI.CUIPopup.CROSSFRAME?this.oParMenu.fdmGetTarFm():window,p=this.oParPopup,e=_r.fdmGetEleById(this.sUid,w);if(e&&this.iHei=="100%"){if(_r.bIsSF){if(!p.bMul){e.style.height=e.offsetParent.offsetParent.offsetHeight-2*p.iSpace+"px";}else{var _16b=0;for(var i=0;i<p.tr.length;i++){for(var j=0;j<p.tr[i].length;j++){if(p.tr[i][j]==this.iNid){_16b=p.tr[i].Maxtd;break;}}if(_16b){break;}}e.style.height=_16b+"px";}}else{if(_STNS.bIsIE&&!_STNS.bLoaded&&!this.oParPopup.iNid){_STNS.fbAddLoad(new Function("var i;if(i=_STNS.fdmGetEleById('"+this.sUid+"'))i.style.height=i.offsetParent.offsetHeight+'px';"));}e.style.height=e.offsetParent.offsetHeight+"px";}}return true;};_STNS.UI.CUIItem=_STNS.Class(_STNS.UI.CUIObj);CUIItem.register("UI/CUIObj>CUIItem");CUIItem.construct=function(){this.iTyp=0;this.sId=0;this.iNid=-1;this.iWid=-1;this.iHei=-1;this.sTxt="";this.sFTxt="";this.aImgs=[];this.iImgWid=-1;this.iImgHei=-1;this.iImgBd=0;this.sLnk=this._sTLnk="#_nolink";this.sTar="";this.sStatus="";this.sTip="";this.aIcos=[];this.iIcoWid=-1;this.iIcoHei=-1;this.iIcoBd=0;this.aArrs=[];this.iArrWid=-1;this.iArrHei=-1;this.iArrBd=0;this.iHal=0;this.iVal=1;this.aBgClrs=[];this.aBgImgs=[];this.aBgReps=[];this.iBdStyle=0;this.iBdWid=0;this.aBdClrs=[];this.aFnts=[];this.aDecos=[];this.aFntClrs=[];this.oParMenu=0;this.oParPopup=0;this.oSubPopup=0;this.iStat=0;this.iLeftWid=0;this.iRightWid=0;this.iScD=0;this.iPad=0;this.bScr=false;with(_STNS.UI.CUIItem){this.fsGetHTML=fsGetHTML;this.fbGetEnt=fbGetEnt;this.fbSetStatus=fbSetStatus;this.fbReStatus=fbReStatus;this.fbSetOver=fbSetOver;this.fbSetOut=fbSetOut;this.fbInit=fbInit;this.fbShowSub=fbShowSub;this.fbHideSub=fbHideSub;this.fbSetFnt=fbSetFnt;this.fbSetBg=fbSetBg;this.fbSetCursor=fbSetCursor;this.fbUpDate=fbUpDate;this.fbOpenLnk=fbOpenLnk;this.fbCkClk=fbCkClk;this.fbEnter=fbEnter;this.fbEsc=fbEsc;this.fbUp=fbUp;this.fbDown=fbDown;this.fbLeft=fbLeft;this.fbRight=fbRight;this.faItems=faItems;this.fbNxtItem=fbNxtItem;this.fbRotItem=fbRotItem;this.fbPopFirItem=fbPopFirItem;this.fbSetFocus=fbSetFocus;this.fbSetfs=fbSetfs;this.fbBlur=fbBlur;}};CUIItem.SHIFTKEY=1;CUIItem.CTRLKEY=2;CUIItem.ALTKEY=4;CUIItem.MOUSEOVER=1;CUIItem.MOUSEOVER_STYLE=1227133512;CUIItem.TRACK=2;CUIItem.TRACK_STYLE=2454267024;CUIItem.CROSSFRAME=4;CUIItem.CUR_ICON=56;CUIItem.ICON_BIT=3;CUIItem.CUR_ARROW=448;CUIItem.ARROW_BIT=6;CUIItem.CUR_FONT=1584;CUIItem.FONT_BIT=9;CUIItem.CUR_COLOR=28672;CUIItem.COLOR_BIT=12;CUIItem.CUR_DECORATION=229376;CUIItem.DECORATION_BIT=15;CUIItem.CUR_BGCOLOR=1835008;CUIItem.BGCOLOR_BIT=18;CUIItem.CUR_BGIMAGE=14680064;CUIItem.BGIMAGE_BIT=21;CUIItem.CUR_BGREPEAT=117440521;CUIItem.BGREPEAT_BIT=24;CUIItem.CUR_BORDERCOLOR=939527096;CUIItem.BORDERCOLOR_BIT=27;CUIItem.CUR_IMAGE=7516192768;CUIItem.IMAGE_BIT=30;with(CUIItem){CUIItem.MAXSTATE=MOUSEOVER|TRACK|CROSSFRAME|CUR_ICON|CUR_ARROW|CUR_FONT|CUR_COLOR|CUR_DECORATION|CUR_BGCOLOR|CUR_BGIMAGE|CUR_BGREPEAT|CUR_BORDERCOLOR|CUR_IMAGE;}CUIItem.fsGetHTML=function(){var s="",icos,arrs,_r=_STNS,m=this.oParMenu,p=this.oParPopup,_mc=_STNS.UI.CUIMenu,_c=_STNS.UI.CUIItem,cf=this.iStat&_c.CROSSFRAME,bKQ=_r.bIsKQ;with(this){icos=!bScr&&iIcoWid&&iIcoHei?"<td id='"+sUid+"_ico'"+m.fsGetStyle("td",cf,"width:"+(iLeftWid?iLeftWid:iIcoWid)+"px")+" "+(m.bRTL?" align='right'":" align='left'")+">"+m.fsGetImgTag(aIcos[(iStat&_c.CUR_ICON)>>>_c.ICON_BIT],iIcoWid,iIcoHei,iIcoBd,sUid+"_icoImg",cf)+"</td>":"";arrs=!bScr&&iArrWid&&iArrHei?"<td id='"+sUid+"_arr' "+m.fsGetStyle("td",cf,"width:"+(iRightWid?iRightWid:iArrWid)+"px")+" "+(m.bRTL?" align='left'":" align='right'")+">"+m.fsGetImgTag(aArrs[(iStat&_c.CUR_ARROW)>>>_c.ARROW_BIT],iArrWid,iArrHei,iArrBd,sUid+"_arrImg",cf)+"</td>":"";s+=(!bKQ?"<a tabIndex=100 "+(STM_KEY==1&&_r.bIsIE?"hidefocus=true":"")+" "+m.fsGetEnt(this,"click","",cf)+" "+m.fsGetEnt(this,"keydown","",cf)+" "+m.fsGetEnt(this,"mouseover","link",cf)+" "+m.fsGetEnt(this,"mouseout","link",cf)+" "+m.fsGetEnt(this,"mousemove","link",cf)+" "+(_sTLnk?"href=\""+(_sTLnk=="#_nolink"?"#":_sTLnk.replace(/\"/g,"&quot;"))+"\" ":"")+"target='"+sTar+"' "+"id='"+sUid+"_lnk' "+m.fsGetStyle("a",cf,(STM_KEY==1?_r.bIsFX?"-moz-outline-style:none;":"outline:none;":"")+"text-decoration:none;"+(sLnk=="#_nolink"?(_r.bIsFX&&m.aCursors[0]=="hand"?"":"cursor:"+m.aCursors[0]):(_r.bIsFX&&m.aCursors[1]=="hand"?"":"cursor:"+m.aCursors[1])))+">":"")+"<table cellspacing=0 "+m.fsGetEnt(this,"mouseover","",cf)+" "+m.fsGetEnt(this,"mouseout","",cf)+" "+m.fsGetEnt(this,"dblclick","",cf)+" "+m.fsGetEnt(this,"mousedown","",cf)+" "+m.fsGetEnt(this,"mousemove","",cf)+" "+"cellpadding="+iPad+" "+(sTip?"title=\""+sTip+"\" ":"")+"id=\""+sUid+"\" "+m.fsGetStyle("tb",cf,(iWid&&iWid!=-1?"width:"+_r.fsGetLen("tb",iWid,0,iBdStyle>0&&iBdWid>0?iBdWid:0,1)+";":"")+(iHei&&iHei!=-1?"height:"+_r.fsGetLen("tb",iHei,0,iBdStyle>0&&iBdWid>0?iBdWid:0,1,0)+";":"")+(iBdStyle>0&&iBdWid>0?"border-width:"+iBdWid+"px;border-style:"+_mc.BORDERS[iBdStyle]+";border-color:"+aBdClrs[(iStat&_c.CUR_BORDERCOLOR)>>>_c.BORDERCOLOR_BIT]+";":"")+(aBgClrs[(iStat&_c.CUR_BGCOLOR)>>>_c.BGCOLOR_BIT]?"background-color:"+aBgClrs[(iStat&_c.CUR_BGCOLOR)>>>_c.BGCOLOR_BIT]+";":"")+(aBgImgs[(iStat&_c.CUR_BGIMAGE)>>>_c.BGIMAGE_BIT]?"background-image:url("+(cf?_r.fsGetAbsPth(aBgImgs[(iStat&_c.CUR_BGIMAGE)>>>_c.BGIMAGE_BIT]):aBgImgs[(iStat&_c.CUR_BGIMAGE)>>>_c.BGIMAGE_BIT])+");":"")+(_mc.REPEATS[aBgReps[(iStat&_c.CUR_BGREPEAT)>>>_c.BGREPEAT_BIT]]?"background-repeat:"+_mc.REPEATS[aBgReps[(iStat&_c.CUR_BGREPEAT)>>>_c.BGREPEAT_BIT]]+";":"")+(_STNS.bIsOP&&_STNS.oNav.version>=9?"text-decoration:"+(aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]?(aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&1?"underline ":"")+(aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&2?"line-through ":"")+(aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&4?"overline ":""):"none")+";":""))+">"+(m.bRTL?arrs:icos)+"<td id='"+sUid+"_cnt' nowrap "+m.fsGetStyle("td",cf)+" align='"+_mc.ALIGNS[iHal]+"'"+" valign='"+_mc.VALGINS[iVal]+"'"+">"+(bKQ?"<a tabIndex=100 "+m.fsGetEnt(this,"click","",cf)+" "+m.fsGetEnt(this,"keydown","",cf)+" "+m.fsGetEnt(this,"mouseover","link",cf)+" "+m.fsGetEnt(this,"mouseout","link",cf)+" "+m.fsGetEnt(this,"mousemove","link",cf)+" "+(_sTLnk?"href=\""+(_sTLnk=="#_nolink"?"#":_sTLnk.replace(/\"/g,"&quot;"))+"\" ":"")+"target='"+sTar+"' "+"id='"+sUid+"_lnk' "+m.fsGetStyle("a",cf,"text-decoration:none;"+(sLnk=="#_nolink"?(_r.bIsFX&&m.aCursors[0]=="hand"?"":"cursor:"+m.aCursors[0]):(_r.bIsFX&&m.aCursors[1]=="hand"?"":"cursor:"+m.aCursors[1])))+">":"")+" "+"<span id='"+sUid+"_txt' "+m.fsGetStyle("sp",cf,(aFntClrs[(iStat&_c.CUR_COLOR)>>>_c.COLOR_BIT]?"color:"+aFntClrs[(iStat&_c.CUR_COLOR)>>>_c.COLOR_BIT]+";":"")+(aFnts[(iStat&_c.CUR_FONT)>>>_c.FONT_BIT]?"font:"+aFnts[(iStat&_c.CUR_FONT)>>>_c.FONT_BIT]+";":"")+"text-decoration:"+(aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]?(aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&1?"underline ":"")+(aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&2?"line-through ":"")+(aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&4?"overline ":""):"none")+";")+">"+(iTyp==2?m.fsGetImgTag(aImgs[(iStat&_c.CUR_IMAGE)>>>_c.IMAGE_BIT],iImgWid,iImgHei,iImgBd,sUid+"_img",cf):sTxt)+"</span>"+(bKQ?"</a>":"")+"</td>"+(m.bRTL?icos:arrs)+"</table>"+(!bKQ?"</a>":"");}return s;};CUIItem.fbGetEnt=function(e,o){var et=e.type||e,oid=o.id,_r=_STNS,_c=_r.UI.CUIItem,as,r;with(this){switch(et){case "mouseover":if(!o._ov&&((_r.bIsIE&&e.srcElement&&_r.fbIsPar(o,e.srcElement))||(!_r.bIsIE&&e.target&&_r.fbIsPar(o,e.target)))){o._ov=1;if(oid==this.sUid+"_lnk"){return fbFireEnt("mouseoverlink");}this.iStat|=_c.MOUSEOVER;return fbFireEnt("mouseover");}break;case "mouseout":if(o._ov&&((_r.bIsIE&&(!e.toElement||!_r.fbIsPar(o,e.toElement)))||!_r.bIsIE&&(!e.relatedTarget||!_r.fbIsPar(o,e.relatedTarget)))){o._ov=0;if(oid==this.sUid+"_lnk"){return fbFireEnt("mouseoutlink");}this.iStat&=_c.MAXSTATE-_c.MOUSEOVER;return fbFireEnt("mouseout");}break;case "click":as=0;if(e.shiftKey){as|=1;}if(e.ctrlKey){as|=2;}if(e.altKey){as|=4;}as|=8;if(_r.bIsIE&&e.srcElement&&e.srcElement.id&&!e.srcElement.id.indexOf(this.sUid+"_arr")||!_r.bIsIE&&e.target&&e.target.id&&!e.target.id.indexOf(this.sUid+"_arr")){return fbFireEnt("clickarrow",as);}return fbFireEnt("click",as);case "keydown":switch(e.keyCode){case 9:return false;case 13:return fbFireEnt("pressEnter");case 27:return fbFireEnt("pressEsc");case 37:return fbFireEnt("pressLeft");case 38:return fbFireEnt("pressUp");case 39:return fbFireEnt("pressRight");case 40:return fbFireEnt("pressDown");}break;case "mousedown":as=0;if(e.shiftKey){as|=1;}if(e.ctrlKey){as|=2;}if(e.altKey){as|=4;}as|=e.button*8;return fbFireEnt("mousedown",as);default:return fbFireEnt(et,as);}}return true;};CUIItem.fbSetStatus=function(){if(this.sStatus){top.status=this.sStatus;}else{if(this.sLnk&&this.sLnk!="#_nolink"){top.status=_STNS.fsGetAbsPth(this.sLnk);}}return true;};CUIItem.fbReStatus=function(){top.status="";return true;};CUIItem.fbSetOver=function(){var _r=_STNS,_c=_r.UI.CUIItem,m=this.oParMenu;if((m.iClk&1)&&!(m.iClk&2)&&!m.bClked){return true;}this.fbUpDate(this.iStat|_c.MOUSEOVER_STYLE);return true;};CUIItem.fbSetOut=function(){var _r=_STNS,_c=_r.UI.CUIItem,m=this.oParMenu,w=this.iStat&_c.CROSSFRAME?this.oParMenu.fdmGetTarFm():window;if(!_STNS.UI.CUICanvas&&m.oFocus&&m.oFocus==this){var o=_r.fdmGetEleById(this.sUid+"_lnk",w);if(o){o.blur();}m.oFocus=0;}this.fbUpDate(this.iStat&(_c.MAXSTATE-_c.MOUSEOVER_STYLE));return true;};CUIItem.fbSetFnt=function(f){var _r=_STNS,e,w=this.iStat&_c.CROSSFRAME?this.oParMenu.fdmGetTarFm():window;e=_r.fdmGetEleById(this.sUid+"_txt",w);if(e){e.style.font=f;}};CUIItem.fbSetBg=function(c,i,r){var _r=_STNS,e,w=this.iStat&_c.CROSSFRAME?this.oParMenu.fdmGetTarFm():window;e=_r.fdmGetEleById(this.sUid,w);if(e){e.style.background=c+" "+"url("+i+") "+r;}};CUIItem.fbSetCursor=function(c){var _r=_STNS,e,w=this.iStat&_r.UI.CUIItem.CROSSFRAME?this.oParMenu.fdmGetTarFm():window;e=_r.fdmGetEleById(this.sUid+"_lnk",w);if(e){if(_STNS.bIsFX&&c=="hand"){e.style.cursor="";}else{e.style.cursor=c;}}};CUIItem.fbOpenLnk=function(a){var _r=_STNS,sk=a&_r.UI.CUIItem.SHIFTKEY,_c=_r.UI.CUIItem,e,p=this.oParPopup,m=this.oParMenu,cf=this.iStat&_c.CROSSFRAME,w=cf?m.fdmGetTarFm():window,e;var sp=this.oSubPopup,scf=sp?(sp.iStat&_r.UI.CUIPopup.SHOW)&&(sp.iStat&_r.UI.CUIPopup.CROSSFRAME):0;if(this.sLnk&&this.sLnk!="#_nolink"){e=_STNS.fdmGetEleById(this.sUid+"_lnk",w);if(cf||scf){m.bRunEff=false;this.fbSetOut();if(m.iTyp==3){p.fbHideX(0,p.iDepth,-1,1);}else{if(m.iTyp==2&&STM_AHCM){p.fbHideX(0,p.iDepth,-1,1);}else{p.fbHideX(0,p.iDepth,0,1);}}m.bRunEff=true;}if(_r.bIsIE&&e){e.click();}return true;}else{return false;}};CUIItem.fbInit=function(){var _r=_STNS,_c=_r.UI.CUIItem,e,p=this.oParPopup,m=this.oParMenu,w=this.iStat&_c.CROSSFRAME?m.fdmGetTarFm():window;if(e=_r.fdmGetEleById(this.sUid,w)){if(e&&this.iHei=="100%"){if(_r.bIsSF){if(!p.bMul){e.style.height=e.offsetParent.offsetParent.offsetHeight-2*p.iSpace+"px";}else{var _1a7=0;for(var i=0;i<p.tr.length;i++){for(var j=0;j<p.tr[i].length;j++){if(p.tr[i][j]==this.iNid){_1a7=p.tr[i].Maxtd;break;}}if(_1a7){break;}}e.style.height=_1a7+"px";}}else{if(_STNS.bIsIE&&!_STNS.bLoaded&&!this.oParPopup.iNid){_STNS.fbAddLoad(new Function("var i;if(i=_STNS.fdmGetEleById('"+this.sUid+"'))i.style.height=i.offsetParent.offsetHeight+'px';"));}else{if(e.offsetParent){e.style.height=e.offsetParent.offsetHeight+"px";}else{_STNS.fbAddLoad(new Function("var i;if(i=_STNS.fdmGetEleById('"+this.sUid+"'))i.style.height=i.offsetParent.offsetHeight+'px';"));}}}}if(m.iWid&&!this.oParPopup.iNid&&(!this.iWid||this.iWid==-1)){e.style.width="100%";}}return true;};CUIItem.fbShowSub=function(){var _r=_STNS,_cp=_r.UI.CUIPopup,_ic=_r.UI.CUIItem,p=this.oParPopup,m=this.oParMenu;if((m.iClk&1)&&!m.bClked){return true;}for(var i=0;i<p.aItems.length;i++){if(p.aItems[i].oSubPopup&&i!=this.iNid){p.aItems[i].oSubPopup.fbHide();p.aItems[i].fbUpDate(p.aItems[i].iStat&(_ic.MAXSTATE-_ic.MOUSEOVER_STYLE));}}if(this.oSubPopup){if(arguments[0]&&(arguments[0]&8)){this.oSubPopup.fbShow();}else{this.oSubPopup.fbShow(p.iTyp&_cp.VERTICAL?m.iDelaySV:m.iDelaySH);}}return true;};CUIItem.fbHideSub=function(){var _r=_STNS,_cp=_r.UI.CUIPopup,p=this.oParPopup,m=this.oParMenu;if(this.oSubPopup&&m.bHdPopup){this.oSubPopup.fbHide(m.iDelayHd);}return true;};CUIItem.fbUpDate=function(s){var d=this.iStat^s,_r=_STNS,_mc=_r.UI.CUIMenu,_c=_r.UI.CUIItem,te,cf=this.iStat&_c.CROSSFRAME,e,w=cf?this.oParMenu.fdmGetTarFm():window;e=_STNS.fdmGetEleById(this.sUid,w);with(this){if(e){if((d&_c.CUR_BORDERCOLOR)&&aBdClrs[(iStat&_c.CUR_BORDERCOLOR)>>>_c.BORDERCOLOR_BIT]!=aBdClrs[(s&_c.CUR_BORDERCOLOR)>>>_c.BORDERCOLOR_BIT]){e.style.borderColor=aBdClrs[(s&_c.CUR_BORDERCOLOR)>>>_c.BORDERCOLOR_BIT];}if((d&_c.CUR_BGCOLOR)&&aBgClrs[(iStat&_c.CUR_BGCOLOR)>>>_c.BGCOLOR_BIT]!=aBgClrs[(s&_c.CUR_BGCOLOR)>>>_c.BGCOLOR_BIT]){e.style.backgroundColor=aBgClrs[(s&_c.CUR_BGCOLOR)>>>_c.BGCOLOR_BIT];}if((d&_c.CUR_BGREPEAT)&&aBgReps[(iStat&_c.CUR_BGREPEAT)>>>_c.BGREPEAT_BIT]!=aBgReps[(s&_c.CUR_BGREPEAT)>>>_c.BGREPEAT_BIT]){e.style.backgroundRepeat=_mc.REPEATS[aBgReps[(s&_c.CUR_BGREPEAT)>>>_c.BGREPEAT_BIT]];}if((d&_c.CUR_BGIMAGE)&&aBgImgs[(iStat&_c.CUR_BGIMAGE)>>>_c.BGIMAGE_BIT]!=aBgImgs[(s&_c.CUR_BGIMAGE)>>>_c.BGIMAGE_BIT]){e.style.backgroundImage="url("+(aBgImgs[(s&_c.CUR_BGIMAGE)>>>_c.BGIMAGE_BIT]?(cf?_r.fsGetAbsPth(aBgImgs[(s&_c.CUR_BGIMAGE)>>>_c.BGIMAGE_BIT]):aBgImgs[(s&_c.CUR_BGIMAGE)>>>_c.BGIMAGE_BIT]):(cf?_r.fsGetAbsPth(oParMenu.sBlank):oParMenu.sBlank))+")";}if(te=_r.fdmGetEleById(sUid+"_txt",w)){if((d&_c.CUR_FONT)&&aFnts[(iStat&_c.CUR_FONT)>>>_c.FONT_BIT]!=aFnts[(s&_c.CUR_FONT)>>>_c.FONT_BIT]){te.style.font=aFnts[(s&_c.CUR_FONT)>>>_c.FONT_BIT];}if((d&_c.CUR_COLOR)&&aFntClrs[(iStat&_c.CUR_COLOR)>>>_c.COLOR_BIT]!=aFntClrs[(s&_c.CUR_COLOR)>>>_c.COLOR_BIT]){te.style.color=aFntClrs[(s&_c.CUR_COLOR)>>>_c.COLOR_BIT];}if((d&_c.CUR_DECORATION)&&aDecos[(iStat&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]!=aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]){te.style.textDecoration=aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]?(aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&1?"underline ":"")+(aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&2?"line-through ":"")+(aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&4?"overline ":""):"none";if(_STNS.bIsOP&&_STNS.oNav.version>=9){e.style.textDecoration=aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]?(aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&1?"underline ":"")+(aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&2?"line-through ":"")+(aDecos[(s&_c.CUR_DECORATION)>>>_c.DECORATION_BIT]&4?"overline ":""):"none";}}}if((d&_c.CUR_ICON)&&aIcos[(iStat&_c.CUR_ICON)>>>_c.ICON_BIT]!=aIcos[(s&_c.CUR_ICON)>>>_c.ICON_BIT]){if(te=_r.fdmGetEleById(sUid+"_icoImg",w)){te.src=aIcos[(s&_c.CUR_ICON)>>>_c.ICON_BIT]?(cf?_r.fsGetAbsPth(aIcos[(s&_c.CUR_ICON)>>>_c.ICON_BIT]):aIcos[(s&_c.CUR_ICON)>>>_c.ICON_BIT]):(cf?_r.fsGetAbsPth(oParMenu.sBlank):oParMenu.sBlank);}}if((d&_c.CUR_ARROW)&&aArrs[(iStat&_c.CUR_ARROW)>>>_c.ARROW_BIT]!=aArrs[(s&_c.CUR_ARROW)>>>_c.ARROW_BIT]){if(te=_r.fdmGetEleById(sUid+"_arrImg",w)){te.src=aArrs[(s&_c.CUR_ARROW)>>>_c.ARROW_BIT]?(cf?_r.fsGetAbsPth(aArrs[(s&_c.CUR_ARROW)>>>_c.ARROW_BIT]):aArrs[(s&_c.CUR_ARROW)>>>_c.ARROW_BIT]):(cf?_r.fsGetAbsPth(oParMenu.sBlank):oParMenu.sBlank);}}if(!bScr&&(d&_c.CUR_IMAGE)&&aImgs[(iStat&_c.CUR_IMAGE)>>>_c.IMAGE_BIT]!=aImgs[(s&_c.CUR_IMAGE)>>>_c.IMAGE_BIT]){if(te=_r.fdmGetEleById(sUid+"_img",w)){te.src=aImgs[(s&_c.CUR_IMAGE)>>>_c.IMAGE_BIT]?(cf?_r.fsGetAbsPth(aImgs[(s&_c.CUR_IMAGE)>>>_c.IMAGE_BIT]):aImgs[(s&_c.CUR_IMAGE)>>>_c.IMAGE_BIT]):(cf?_r.fsGetAbsPth(oParMenu.sBlank):oParMenu.sBlank);}}}iStat=s;}};CUIItem.fbCkClk=function(){var m=this.oParMenu;if(!m.bClked){m.bClked=true;if(m.iClk&1){this.fbShowSub();}if(!(m.iClk&2)){this.fbSetOver();}}return true;};CUIItem.fbEnter=function(){var o=this,s=o.oSubPopup,m=o.oParMenu;if(o._sTLnk=="#_nolink"){if(s){m.bRunEff=false;if(s.iStat&_STNS.UI.CUIPopup.SHOW){s.fbHide();}else{if(!(m.iClk&4)){s.fbShow();}}}return false;}if(_STNS.bIsSF){var p=o.oParPopup,pp=o,d=p.iDepth;if(d>=1){for(var i=d;i>0;i--){pp=pp.oParPopup;pp.fbHide();pp.oParItem.fbSetOut();}}else{if(d==0){o.fbSetOut();}}m.iStat&=_STNS.UI.CUIMenu.MAXSTATE-_STNS.UI.CUIMenu.MOUSEOVER;m.oFocus=0;}};CUIItem.fbEsc=function(){var _r=_STNS,o=this,m=o.oParMenu,s=o.oSubPopup,p=o.oParPopup,pi=p.oParItem,dp=p.iDepth;if(s&&(s.iStat&_r.UI.CUIPopup.SHOW)){s.fbHide();return false;}if(dp){o.fbFireEnt("mouseout");p.fbHide();pi.fbSetfs();}else{o.fbFireEnt("mouseout");_r.fdmGetEleById(o.sUid+"_lnk").blur();}return false;};CUIItem.fbUp=function(){var _r=_STNS,o=this,m=o.oParMenu,p=o.oParPopup,pi=p.oParItem,dp=p.iDepth,v=p.iTyp&_STNS.UI.CUIPopup.VERTICAL,f=m.iClk&4;if((m.iClk&1)&&!m.bClked){return false;}m.bRunEff=false;var a=o.faItems();if(a[2]==1&&dp>=1){o.fbFireEnt("mouseout");pi.fbFireEnt("mouseover");pi.fbFireEnt("mousedown",8);pi.fbSetfs();if(p.iStat&_r.UI.CUIPopup.SHOW){p.fbHide();}}else{if(v){var nI=o.fbNxtItem(0);if(nI!=o){o.fbFireEnt("mouseout");if(f){if(o.oSubPopup){o.oSubPopup.fbHide();}}nI.fbFireEnt("mouseover");nI.fbSetfs();}}else{if(o.oSubPopup&&(o.oSubPopup.iStat&_r.UI.CUIPopup.SHOW)){o.oSubPopup.fbHide();}else{if(dp){o.fbFireEnt("pressEsc");}}}}return false;};CUIItem.fbDown=function(){var _r=_STNS,o=this,m=o.oParMenu,p=o.oParPopup,dp=p.iDepth,v=p.iTyp&_STNS.UI.CUIPopup.VERTICAL,f=m.iClk&4;if((m.iClk&1)&&!m.bClked){return false;}m.bRunEff=false;if(v){var a=o.faItems();if(a[2]==1){return false;}var nI=o.fbNxtItem(1),fI=nI.fbPopFirItem();o.fbFireEnt("mouseout");if(f){if(o.oSubPopup){o.oSubPopup.fbHide();}}nI.fbFireEnt("mouseover");nI.fbSetfs();}else{if(o.oSubPopup){var fI=o.fbPopFirItem();o.oSubPopup.fbShow();if(fI){if(_r.bIsSF&&_r.oNav.version<523.12){o.fbBlur();}fI.fbFireEnt("mouseover");fI.fbSetfs();}}}return false;};CUIItem.fbLeft=function(){var _r=_STNS,o=this,m=o.oParMenu,p=o.oParPopup,pi=p.oParItem,dp=p.iDepth,v=p.iTyp&_STNS.UI.CUIPopup.VERTICAL,f=m.iClk&4;if((m.iClk&1)&&!m.bClked){return false;}m.bRunEff=false;var a=o.faItems();if(a[2]==1&&dp>1){o.fbFireEnt("mouseout");pi.fbFireEnt("mouseover");pi.fbFireEnt("mousedown",8);pi.fbSetfs();if(p.iStat&_r.UI.CUIPopup.SHOW){p.fbHide();}}else{if(!v){var nI=o.fbNxtItem(0);if(nI!=o){o.fbFireEnt("mouseout");if(f){if(o.oSubPopup){o.oSubPopup.fbHide();}}nI.fbFireEnt("mouseover");nI.fbSetfs();}}else{if(o.oSubPopup&&(o.oSubPopup.iStat&_r.UI.CUIPopup.SHOW)){o.oSubPopup.fbHide();}else{if(dp){o.fbFireEnt("pressEsc");}}}}return false;};CUIItem.fbRight=function(){var _r=_STNS,o=this,m=o.oParMenu,p=o.oParPopup,dp=p.iDepth,v=p.iTyp&_STNS.UI.CUIPopup.VERTICAL,f=m.iClk&4;if((m.iClk&1)&&!m.bClked){return false;}m.bRunEff=false;if(!v){var a=o.faItems();if(a[2]==1){return false;}var nI=o.fbNxtItem(1),fI=nI.fbPopFirItem();o.fbFireEnt("mouseout");if(f){if(o.oSubPopup){o.oSubPopup.fbHide();}}nI.fbFireEnt("mouseover");nI.fbSetfs();}else{if(o.oSubPopup){var fI=o.fbPopFirItem();o.oSubPopup.fbShow();if(fI){if(_r.bIsSF&&_r.oNav.version<523.12){o.fbBlur();}fI.fbFireEnt("mouseover");fI.fbSetfs();}}else{var pi=p.oParItem;if(dp>1&&!pi.oParPopup.iTyp){if(pi.faItems()[2]>1){var npi=pi.fbNxtItem(1);o.fbFireEnt("mouseout");if(f){pi.fbFireEnt("mouseout");if(pi.oSubPopup){pi.oSubPopup.fbHide();}}npi.fbFireEnt("mouseover");npi.fbSetfs();}return false;}else{if(m.aPopups[0].iTyp&_STNS.UI.CUIPopup.VERTICAL){return false;}}var rI=o.fbRotItem();if(rI.faItems()[2]>1){var nI=rI.fbNxtItem(1),fI=nI.fbPopFirItem();o.fbFireEnt("mouseout");if(f){rI.fbFireEnt("mouseout");if(rI.oSubPopup){rI.oSubPopup.fbHide();}}nI.fbFireEnt("mouseover");nI.fbSetfs();}}}return false;};CUIItem.faItems=function(){var f=l=x=y=0,p=this.oParPopup;for(var i=0;i<p.aItems.length;i++){if(typeof p.aItems[i].sTxt!="undefined"){x++;}}for(var j=0;j<p.aItems.length;j++){if(typeof p.aItems[j].sTxt!="undefined"){y++;if(y==1){f=p.aItems[j];}if(y==x){l=p.aItems[j];}}}return [f,l,x];};CUIItem.fbNxtItem=function(n){var nI,o=this,p=o.oParPopup,a=o.faItems();if(a[2]<2){return o;}var f=a[0],l=a[1];if(n){if(o==l){nI=f;}else{for(var j=o.iNid+1;j<p.aItems.length;j++){nI=p.aItems[j];if(typeof nI.sTxt!="undefined"){break;}}}}else{if(o==f){nI=l;}else{for(var j=o.iNid-1;j>=0;j--){nI=p.aItems[j];if(typeof nI.sTxt!="undefined"){break;}}}}return nI;};CUIItem.fbRotItem=function(){var o=this,p=o.oParPopup,ppi=p;for(var k=0;k<p.iDepth-1;k++){ppi=ppi.oParPopup;}var P0i=ppi.oParItem;if(p.iDepth==0){P0i=o;}return P0i;};CUIItem.fbPopFirItem=function(){var o=this,p=o.oSubPopup;if(p){var a;for(var i=0;i<p.aItems.length;i++){if(typeof p.aItems[i].sTxt!="undefined"){return p.aItems[i];}}}return false;};CUIItem.fbSetFocus=function(){var o=this,m=o.oParMenu,e=m.oFocus,_r=_STNS,p=o.oParPopup,a=o.faItems(),w=o.iStat&_r.UI.CUIItem.CROSSFRAME?o.oParMenu.fdmGetTarFm():window;if(o==e){return;}if(o.oSubPopup){o.oSubPopup.fbHide();}if(e&&e!=p.oParItem){e.fbFireEnt("mouseout");}o.fbFireEnt("mouseover");o.fbSetfs();return true;};CUIItem.fbSetfs=function(){var o=this,m=o.oParMenu,_r=_STNS,w=o.iStat&_r.UI.CUIItem.CROSSFRAME?m.fdmGetTarFm():window;var e=_r.fdmGetEleById((_r.bIsIE&&_r.oNav.version<5.5)?o.sUid:o.sUid+"_lnk",w);if(e){m.oFocus=o;e.focus();}};CUIItem.fbBlur=function(){var w=this.iStat&_STNS.UI.CUIItem.CROSSFRAME?this.oParMenu.fdmGetTarFm():window,e=_STNS.fdmGetEleById(this.sUid+"_lnk",w);if(e){e.blur();}};}if(!_STNS._aStMenus){_STNS._aStMenus=[];}STM_FILTER=1;STM_SCROLL=1;STM_RTL=0;STM_AHCM=0;STM_SMSC=1;STM_BIMG=1;STM_ILOC=0;STM_ILINK=0;STM_KEY=(_STNS.bIsIE||_STNS.bIsFX||_STNS.bIsSF)?1:0;function stm_bm(a){var jsp,ss,jsr;if(document.getElementsByTagName){ss=document.getElementsByTagName("script");}else{if(document.all.tags){ss=document.all.tags("script");}}for(var j=0;j<ss.length;j++){jsr=ss[j].src;if(jsr&&jsr.indexOf("stmenu.js")!=-1){jsp=jsr.substring(0,jsr.indexOf("stmenu.js"));break;}}if(jsp==null){jsp=_STNS.sLibPth;}var _r=_STNS,n=_r._aStMenus.length,m;m=_r._aStMenus[n]=new _r.UI.CUIMenu;with(m){sJsPth=jsp;iNid=n;sId=a[0];sVer=a[1];sSiteRoot=a[1]>=800?a[23]:"";sImgPth=a[2]?a[2].charAt(a[2].length-1)!="/"?a[2]+"/":a[2]:"";sBlank=fsGetImg(a[3]);iTyp=a[4];iX=a[5];iY=a[6];iHal=a[7];iClk=a[8];iDelaySV=a[9];iDelaySH=a[10];iDelayHd=a[11];if(a[12]&&(_r.bIsIE&&_r.oNav.platform!=="Mac"||_r.oNav.name=="konqueror")){aHdTags.push("select");}if(a[13]){aHdTags.push("object","embed","applet");}if(a[14]&&(_r.bIsIE&&_r.oNav.version<5.5||_r.bIsOP||_r.oNav.name=="konqueror")){aHdTags.push("iframe");}sLnkPre=a[15]?a[15].charAt(a[15].length-1)!="/"?a[15]+"/":a[15]:"";iWid=a[16];iTracks=a[17];bRTL=a[18];bHdPopup=a[19];iTrackLevel=a[20];aCursors[0]=_STNS.fbIsFile(a[21])?"url("+_STNS.fsGetAbsPth(m.fsGetImg(a[21]))+"),default":a[21];aCursors[1]=_STNS.fbIsFile(a[22])?"url("+_STNS.fsGetAbsPth(m.fsGetImg(a[22]))+"),auto":a[22];}m.__open=true;return m;}function stm_bp(id,a,pid){var _r=_STNS,m=_r._aStMenus[_r._aStMenus.length-1];if(!m||!m.__open){return;}if(pid){for(var i=0;i<m.aPopups.length;i++){if(m.aPopups[i].sId==pid){a=_r.faJoinA(a,m.aPopups[i].__args);break;}}}var pp=0;for(var i=m.aPopups.length-1;i>=0;i--){if(m.aPopups[i].__open){pp=m.aPopups[i];break;}}if(pp&&!pp.aItems.length){return;}var pi=pp?pp.aItems[pp.aItems.length-1]:0,n=m.aPopups.length,p=new _r.UI.CUIPopup;with(p){sId=id;iNid=n;iTyp=a[0];iDirect=a[1];iOffX=a[2];iOffY=a[3];iSpace=a[4];iPad=a[5];iOpac=a[8];if(STM_FILTER){sShEff=a[9];if(sShEff=="stEffect(\"slip\")"){iShEff="_stDirection:"+a[1];}else{if(sShEff=="stEffect(\"rect\")"){iShEff=a[20]&&a[21]?"border-style:"+_r.UI.CUIMenu.BORDERS[a[20]]+";border-width:"+a[21]+";border-color:"+a[22]:"border-style:solid;border-width:1px;border-color:#999999";}else{iShEff=a[10];}}sHdEff=a[11];if(sHdEff=="stEffect(\"slip\")"){iHdEff="_stDirection:"+a[1];}else{if(sHdEff=="stEffect(\"rect\")"){iHdEff=a[20]&&a[21]?"border-style:"+_r.UI.CUIMenu.BORDERS[a[20]]+";border-width:"+a[21]+";border-color:"+a[22]:"border-style:solid;border-width:1px;border-color:#999999";}else{iHdEff=a[12];}}iEffDur=(110-a[13])*10;}iShadow=a[14];iSdSize=_r.bIsIE&&_r.oNav.version>=5.5?a[15]:0;sSdClr=a[16];sBgClr=a[17];sBgImg=m.fsGetImg(a[18]);iBgRep=a[19];iBdStyle=a[20];iBdWid=a[21];sBdClr=a[22];aRounds[0]=a[23]?m.fsGetImg(a[23]):0;aRHeis[0]=a[24]?a[24]:0;aRWids[0]=a[25]?a[25]:0;aRdb[0]=a[26]?a[26]:0;aRBgClrs[0]=a[27]?a[27]:0;aRBgImgs[0]=a[28]?m.fsGetImg(a[28]):0;aRBgReps[0]=a[29]?a[29]:0;aRounds[1]=a[30]?m.fsGetImg(a[30]):0;aRHeis[1]=a[31]?a[31]:0;aRWids[1]=a[32]?a[32]:0;aRdb[1]=a[33]?a[33]:0;aRBgClrs[1]=a[34]?a[34]:0;aRBgImgs[1]=a[35]?m.fsGetImg(a[35]):0;aRBgReps[1]=a[36]?a[36]:0;aRounds[2]=a[37]?m.fsGetImg(a[37]):0;aRHeis[2]=a[38]?a[38]:0;aRWids[2]=a[39]?a[39]:0;aRdb[2]=a[40]?a[40]:0;aRBgClrs[2]=a[41]?a[41]:0;aRBgImgs[2]=a[42]?m.fsGetImg(a[42]):0;aRBgReps[2]=a[43]?a[43]:0;aRounds[3]=a[44]?m.fsGetImg(a[44]):0;aRHeis[3]=a[45]?a[45]:0;aRWids[3]=a[46]?a[46]:0;aRdb[3]=a[47]?a[47]:0;aRBgClrs[3]=a[48]?a[48]:0;aRBgImgs[3]=a[49]?m.fsGetImg(a[49]):0;aRBgReps[3]=a[50]?a[50]:0;aCorners[0]=a[51]?m.fsGetImg(a[51]):0;aCorners[1]=a[52]?m.fsGetImg(a[52]):0;aCorners[2]=a[53]?m.fsGetImg(a[53]):0;aCorners[3]=a[54]?m.fsGetImg(a[54]):0;aCorWHs=[a[55],a[56],a[57],a[58],a[59],a[60],a[61],a[62]];oParMenu=m;oParItem=pi;oParPopup=pp;iZid=pp?pp.iZid+pi.iNid+3:1000;iDepth=pp?pp.iDepth+1:0;if(!iNid){iWid=m.iWid;}if(pi){pi.oSubPopup=p;}fbAttachEnt("mouseover",fbSetOver);fbAttachEnt("mouseout",fbSetOut);if(!n&&!m.iTyp){iTyp|=_r.UI.CUIPopup.STATIC;}if(p.sShEff||p.sHdEff){_STNS.fvInc(_STNS.fsGetAbsPth(m.sJsPth+"steffie.js"));_STNS.fvInc(_STNS.fsGetAbsPth(m.sJsPth+"steffrect.js"));_STNS.fvInc(_STNS.fsGetAbsPth(m.sJsPth+"steffslip.js"));}}p.__args=a;p.__open=true;m.aPopups.push(p);return p;}function stm_bpx(id,pid,a){return stm_bp(id,a,pid);}function stm_ai(id,a,wid,hei,pid){var _r=_STNS,m=_r._aStMenus[_r._aStMenus.length-1];if(!m||!m.__open){return;}var pp;for(var i=m.aPopups.length-1;i>=0;i--){if(m.aPopups[i].__open){pp=m.aPopups[i];break;}}if(!pp){return;}if(pid){for(var i=0;i<m.aPopups.length;i++){for(var j=0;j<m.aPopups[i].aItems.length;j++){if(m.aPopups[i].aItems[j].sId==pid){a=_r.faJoinA(a,m.aPopups[i].aItems[j].__args);break;}}}}var it,n=pp.aItems.length;if(a[0]==6){it=new _r.UI.CUISeparator;with(it){sId=id;iNid=n;sBgClr=a[2];sImg=m.fsGetImg(a[3]);iImgWid=a[4];iImgHei=a[5];if(pp.iTyp&_r.UI.CUIPopup.VERTICAL){iTyp=1;iWid="100%";iHei=Math.max(a[1],a[5]);}else{iTyp=0;iWid=Math.max(a[1],a[4]);iHei="100%";}oParMenu=m;oParPopup=pp;}}else{it=new _r.UI.CUIItem;with(it){sId=id;iNid=n;iTyp=a[0];sFTxt=a[1].replace(/\r\n/g,"\\r\\n");sTxt=!a[0]?_r.fsGetHTMLEnti(a[1]).replace(/\r\n/g,"<br>"):a[1];aImgs[0]=m.fsGetImg(a[2]);aImgs[1]=m.fsGetImg(a[3]);iImgWid=a[4];iImgHei=a[5];iImgBd=a[6];sLnk=_sTLnk=a[7]?m.fsGetLnk(a[7]):"#_nolink";sTar=a[8];sStatus=a[9];sTip=_r.fsGetHTMLEnti(a[10],1);aIcos[0]=m.fsGetImg(a[11]);aIcos[1]=m.fsGetImg(a[12]);iIcoWid=a[13];iIcoHei=a[14];iIcoBd=a[15];aArrs[0]=m.fsGetImg(a[16]);aArrs[1]=m.fsGetImg(a[17]);iArrWid=a[18];iArrHei=a[19];iArrBd=a[20];iHal=a[21];iVal=a[22];aBgClrs[0]=a[24]?"":a[23];aBgClrs[1]=a[26]?"":a[25];aBgImgs[0]=m.fsGetImg(a[27]);aBgImgs[1]=m.fsGetImg(a[28]);aBgReps[0]=a[29];aBgReps[1]=a[30];iBdStyle=a[31];iBdWid=a[32];aBdClrs[0]=a[33];aBdClrs[1]=a[34];aFntClrs[0]=a[35];aFntClrs[1]=a[36];aFnts[0]=a[37];aFnts[1]=a[38];aDecos[0]=a[39];aDecos[1]=a[40];oParPopup=pp;oParMenu=m;iPad=pp.iPad;iWid=wid?wid:(pp.iTyp&_r.UI.CUIPopup.VERTICAL?"100%":-1);iHei=hei?hei:(pp.iTyp&_r.UI.CUIPopup.VERTICAL?-1:"100%");fbAttachEnt("mouseover",fbSetOver);fbAttachEnt("mouseoverlink",fbSetStatus);fbAttachEnt("mouseout",fbSetOut);fbAttachEnt("mouseoutlink",fbReStatus);fbAttachEnt("pressEnter",fbEnter);fbAttachEnt("pressEsc",fbEsc);fbAttachEnt("pressUp",fbUp);fbAttachEnt("pressDown",fbDown);fbAttachEnt("pressLeft",fbLeft);fbAttachEnt("pressRight",fbRight);if(m.iClk&1){fbAttachEnt("click",fbCkClk);fbAttachEnt("mouseover",fbShowSub);fbAttachEnt("clickarrow",fbCkClk);}else{if(m.iClk&4){fbAttachEnt("click",fbShowSub);fbAttachEnt("clickarrow",fbShowSub);}else{fbAttachEnt("mouseover",fbShowSub);fbAttachEnt("clickarrow",fbShowSub);}}fbAttachEnt("clickarrow",_STNS.fbFalse);fbAttachEnt("click",fbOpenLnk);if(STM_KEY){fbAttachEnt("keydown",_STNS.fbTrue);fbAttachEnt("mousemove",fbSetFocus);fbAttachEnt("mousemove",_STNS.fbTrue);}if(m.iTracks&1){if(m.iTracks&2){aFntClrs[2]=aFntClrs[1];}else{aFntClrs[2]=aFntClrs[0];}aFntClrs[3]=aFntClrs[1];if(m.iTracks&4){aFnts[2]=aFnts[1];aDecos[2]=aDecos[1];}else{aFnts[2]=aFnts[0];aDecos[2]=aDecos[0];}aFnts[3]=aFnts[1];aDecos[3]=aDecos[1];if(m.iTracks&8){aBgClrs[2]=aBgClrs[1];}else{aBgClrs[2]=aBgClrs[0];}aBgClrs[3]=aBgClrs[1];if(m.iTracks&16){aBgImgs[2]=aBgImgs[1];aBgReps[2]=aBgReps[1];}else{aBgImgs[2]=aBgImgs[0];aBgReps[2]=aBgReps[0];}aBgImgs[3]=aBgImgs[1];aBgReps[3]=aBgReps[1];if(m.iTracks&32){aBdClrs[2]=aBdClrs[1];}else{aBdClrs[2]=aBdClrs[0];}aBdClrs[3]=aBdClrs[1];if(m.iTracks&64){aIcos[2]=aIcos[1];}else{aIcos[2]=aIcos[0];}aIcos[3]=aIcos[1];if(m.iTracks&128){aImgs[2]=aImgs[1];}else{aImgs[2]=aImgs[0];}aImgs[3]=aImgs[1];if(m.iTracks&256){aArrs[2]=aArrs[1];}else{aArrs[2]=aArrs[0];}aArrs[3]=aArrs[1];}}}it.__args=a;pp.aItems.push(it);return it;}function stm_aix(id,pid,a,wid,hei){return stm_ai(id,a,wid,hei,pid);}function stm_ep(){var m=_STNS._aStMenus[_STNS._aStMenus.length-1];if(!m||!m.__open){return;}var p;for(var i=m.aPopups.length-1;i>=0;i--){if(m.aPopups[i].__open){p=m.aPopups[i];break;}}if(!p){return;}if(p.aItems.length){if(!p.bMul){if(p.iTyp&_STNS.UI.CUIPopup.VERTICAL){var lw=0,rw=0;for(var i=0;i<p.aItems.length;i++){if(p.aItems[i].iIcoWid>lw&&p.aItems[i].iIcoHei){lw=p.aItems[i].iIcoWid;}if(p.aItems[i].iArrWid>rw&&p.aItems[i].iArrHei){rw=p.aItems[i].iArrWid;}}if(!p.bMul&&lw){for(var i=0;i<p.aItems.length;i++){if(!p.aItems[i].iIcoWid||!p.aItems[i].iIcoHei){p.aItems[i].iIcoWid=lw;p.aItems[i].iIcoHei=1;p.aItems[i].aIcos=[];}p.aItems[i].iLeftWid=lw;}}if(!p.bMul&&rw){for(var i=0;i<p.aItems.length;i++){if(!p.aItems[i].iArrWid||!p.aItems[i].iArrHei){p.aItems[i].iArrWid=rw;p.aItems[i].iArrHei=1;p.aItems[i].aArrs=[];}p.aItems[i].iRightWid=rw;}}}}else{var _r=_STNS,_c=_r.UI.CUIPopup,m=p.oParMenu,_mc=_r.UI.CUIMenu,v=p.iTyp&_c.VERTICAL;if(p.bMul){var _mlc=p.bMul?v?1:0:0,_mlr=p.bMul?!v?1:0:0,_ml=p.iMl,_24c=p.iMSpc,_24d=p.aItems.length,_24e=Math.ceil(p.aItems.length/_ml),_24f=Math.floor(p.aItems.length/_ml),_250=_24e==_24f?0:p.aItems.length%_ml,_stp=p.aItems.length<_ml?p.aItems.length:_ml;}var _252=[];if(_mlr){var _tc=0,_252=[];for(var c=0;c<_24e;c++){n=0;for(var j=_tc;j<_tc+_stp;j++){if(_24d>0){if(!_252[n]){_252[n]=[];}_252[n][c]=j;n++;}_24d--;}_tc=_tc+_stp;}}else{if(_mlc){_tprs=_24e==_24f?0:p.aItems.length%_ml;for(var c=0;c<_stp;c++){var _mli=0,n=0;for(var j=0;j<(_250==0?_24e:_tprs>0?_24e:_24f);j++){if(_24d>0){_mli=j==0?c:_mli+_stp;if(!_252[n]){_252[n]=[];}_252[n][c]=_mli;_24d--;n++;}}_tprs>0?_tprs--:"";}}}for(var j=0;j<_252.length;j++){var lw=0,rw=0;for(var i=0;i<_252[j].length;i++){if(p.aItems[_252[j][i]].iIcoWid>lw&&p.aItems[_252[j][i]].iIcoHei){lw=p.aItems[_252[j][i]].iIcoWid;}if(p.aItems[_252[j][i]].iArrWid>rw&&p.aItems[_252[j][i]].iArrHei){rw=p.aItems[_252[j][i]].iArrWid;}}if(lw){for(var i=0;i<_252[j].length;i++){if(!p.aItems[_252[j][i]].iIcoWid||!p.aItems[_252[j][i]].iIcoHei){p.aItems[_252[j][i]].iIcoWid=lw;p.aItems[_252[j][i]].iIcoHei=1;p.aItems[_252[j][i]].aIcos=[];}p.aItems[_252[j][i]].iLeftWid=lw;}}if(rw){for(var i=0;i<_252[j].length;i++){if(!p.aItems[_252[j][i]].iArrWid||!p.aItems[_252[j][i]].iArrHei){p.aItems[_252[j][i]].iArrWid=rw;p.aItems[_252[j][i]].iArrHei=1;p.aItems[_252[j][i]].aArrs=[];}p.aItems[_252[j][i]].iRightWid=rw;}}}}delete p.__open;}else{var pi=p.oParItem;if(pi){pi.oSubPopup=null;pi.aArrs.length=0;pi.iArrWid=0;pi.iArrHei=0;}m.aPopups.pop();p.fvDestroy();}}function stm_em(){var m=_STNS._aStMenus[_STNS._aStMenus.length-1];if(!m||!m.__open){return;}if(m.aPopups.length){delete m.__open;for(var i=0;i<m.aPopups.length;i++){delete m.aPopups[i].__args;for(var j=0;j<m.aPopups[i].aItems.length;j++){delete m.aPopups[i].aItems[j].__args;}}_STNS.fvLoadLib();m.fbShow();}else{_STNS._aStMenus.pop();m.fvDestroy();}if(STM_KEY){var _r=_STNS;if(_r.bIsIE){document.attachEvent("onclick",m.fbClick);}else{document.addEventListener("click",m.fbClick,true);}if(!_STNS.addKD&&m.iTyp!=3){if(_r.bIsIE){document.attachEvent("onkeydown",m.fbKeydown);}else{document.addEventListener("keydown",m.fbKeydown,true);}}_STNS.addKD=true;}}function stm_cf(a,m){var m=_STNS._aStMenus[_STNS._aStMenus.length-1];if(!m||!m.__open){return;}m.bCfm=true;m.iCfD=a[0];m.iCfX=a[1];m.iCfY=a[2];m.sTarFm=a[3];m.sSrcFm=a[4];m.bCfShow=a[5];}function stm_sc(n,a){if(STM_SCROLL){var _r=_STNS,m=_r._aStMenus[_r._aStMenus.length-1];if(!m||!m.__open){return;}n?m.iScType|=2:m.iScType|=1;var bSC=((_r.bIsIE&&_r.oNav.version<5)||_r.bIsMIE||(_r.bIsFX&&_r.oNav.version<20040804)||(_r.bIsOP&&_r.oNav.version<9)||_r.bIsSF||(_r.oNav.name=="konqueror"&&_r.oNav.version>=3));for(var i=1;i<m.aPopups.length;i++){var it=[],pp=m.aPopups[i],v=pp.iTyp&_STNS.UI.CUIPopup.VERTICAL;if(pp.bMul||n^v||bSC){continue;}for(var j=0;j<2;j++){it[j]=new _r.UI.CUIItem;with(it[j]){bScr=true;sId=j;iNid=pp.aScBars.length;iTyp=2;sTxt="";iHal=1;iVal=1;aBgClrs[0]=a[0];aBgClrs[1]=a[1];aBgImgs[0]=m.fsGetImg(a[2]);aBgImgs[1]=m.fsGetImg(a[3]);aBgReps[0]=a[4];aBgReps[1]=a[5];iBdStyle=a[6];iBdWid=a[7];aBdClrs[0]=a[8];aBdClrs[1]=a[9];aImgs[0]=j==0?m.fsGetImg(a[10]):m.fsGetImg(a[15]);aImgs[1]=j==0?m.fsGetImg(a[11]):m.fsGetImg(a[16]);iImgWid=j==0?a[12]:a[17];iImgHei=j==0?a[13]:a[18];iImgBd=j==0?a[14]:a[19];iScD=a[20]?a[21]:0;oParPopup=pp;oParMenu=m;iWid="100%";iHei="100%";fbAttachEnt("mouseover",fbSetOver);fbAttachEnt("mouseout",fbSetOut);fbAttachEnt("click",_STNS.fbFalse);}it[j].__args=a;pp.aScBars[j]=it[j];}}}}function stm_mc(l,a){var _r=_STNS,_26c,m=_r._aStMenus[_r._aStMenus.length-1];if(!m||!m.__open){return;}var pp=0;for(var i=m.aPopups.length-1;i>=0;i--){if(m.aPopups[i].__open){pp=m.aPopups[i];break;}}switch(a[5]){case 1:_26c="repeat-x";break;case 2:_26c="repeat-y";break;case 3:_26c="repeat";break;default:_26c="no-repeat";}pp.bMul=true,pp.iMl=a[0],pp.sMBgClrs=a[2]?"":a[1],pp.sMOpc=a[2],pp.iMSpc=a[3],pp.sMBgImgs=a[4]?m.fsGetImg(a[4]):"",pp.sMBgReps=_26c?_26c:"no-repeat";for(var i=0;i<pp.aItems.length;i++){pp.aItems[i].iWid==-1?pp.aItems[i].iWid="100%":"";pp.aItems[i].iHei==-1?pp.aItems[i].iHei="100%":"";}}function stgcl(w){return _STNS.fiGetCL(w);}function stgct(w){return _STNS.fiGetCT(w);}function stgcw(w){return _STNS.fiGetCW(w);}function stgch(w){return _STNS.fiGetCH(w);}function stgMe(n){for(var j=0;j<_STNS._aStMenus.length;j++){if(_STNS._aStMenus[j].sId==n){return _STNS._aStMenus[j];}}return false;}function hideMenu(n){var m;if(m=stgMe(n)){var p=m.aPopups[0];p.fbHide();}}function showFloatMenuAt(n,x,y){var m;if(m=stgMe(n)){m.iX=x;m.iY=y;var p=m.aPopups[0];var s,pos=p.faGetXY(1);m.iX=pos[0];m.iY=pos[1];p.fbHide();p.fbShow();}}}
  608.  
  609. Inline Script from http://awene.com/awene.aspx
  610.  
  611.         function toggleExclusives(iType) {
  612.                 var imgSrc = document.getElementById("exclusives_img_" + iType).src;
  613.                 imgSrc = imgSrc.substring(imgSrc.lastIndexOf('/')+1, imgSrc.length);
  614.  
  615.                 if (imgSrc == "minus.gif") {
  616.                         document.getElementById("exclusives_img_" + iType).src = "wene/plus.gif";
  617.                         document.getElementById("exclusives_div_" + iType).style.display = "none";
  618.                 } else {
  619.                         document.getElementById("exclusives_img_" + iType).src = "wene/minus.gif";
  620.                         document.getElementById("exclusives_div_" + iType).style.display = "block";
  621.                 }
  622.         }
  623.  
  624. Inline Script from http://awene.com/awene.aspx
  625.  
  626. <!--
  627. stm_bm(["menu678a",840,"","blank.gif",0,"","",2,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
  628. stm_bp("p0",[0,4,0,0,0,3,5,7,100,"",-2,"",-2,50,0,0,"#999999","#E6EFF9","",3,0,0,"#000000"]);
  629. stm_ai("p0i0",[2,"","sport.png","sport.png",52,20,0,"AweneSport.aspx","_Blank","","","","",5,18,0,"","",0,0,0,0,1,"",1,"",1,"menu_bg.jpg","menu_bg_on.jpg",3,3,0,0,"#E6EFF9","#000000","#000000","#000000","8pt Verdana","8pt Verdana",0,0]);
  630. stm_ai("p0i1",[6,1,"#000000","separtor.jpg",2,30,0]);
  631. stm_aix("p0i2","p0i0",[2,"","awernakan.png","Awernakan.png",52,20,0,"Awenekan.aspx","_blank","","","","",5,18,0,"","",0,0,0,2]);
  632. stm_aix("p0i3","p0i1",[]);
  633. stm_aix("p0i2","p0i0",[2,"","awne_rojnam_logo.png","awne_rojnam_logo.png",52,20,0,"Rojname.aspx","_self","","","","",5,18,0,"","",0,0,0,2]);
  634. stm_aix("p0i5","p0i1",[]);
  635. stm_aix("p0i2","p0i0",[2,"","archive.png","archive.png",52,15,0,"Ershif.aspx","_self","","","","",5,18,0,"","",0,0,0,2]);
  636. stm_aix("p0i7","p0i1",[]);
  637. stm_aix("p0i8","p0i0",[2,"","beshekan.png","beshekan.png",52,15,0,"","_self","","","","",5,18,0,"","",7,7,0,1,1,"",1,"",1,"menu_bg.jpg","menu_bg_on.jpg",3,3,0,0,"",""]);
  638. stm_bp("p1",[1,4,-56,0,0,6,5,7,97,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.60)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.60)",-2,50,0,0,"#999999","","",3,0,0,""]);
  639. stm_aix("p1i0","p0i0",[0,"      &#1607;&#1607;&#8204;&#1608;&#1575;&#1717;","","",-1,-1,0,"","_self","","","","",5,18,0,"","",7,7,0,2,1,"#EAE8E8",0,"#EAE8E8",1,"bg_menu1.png","bg_hover.png",3,3,0,0,"","","#000000","#FFFFFF","bold 13px unikurd web","bold 13px unikurd web"]);
  640. stm_bpx("p2","p1",[1,1,0,1,0,6,5,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.60)",-2,"",-2,50,0,0,"#999999","#E6EFF9"]);
  641. stm_aix("p2i0","p1i0",[0,"&#1705;&#1608;&#1585;&#1583;&#1587;&#1578;&#1575;&#1606;&#1740;","","",-1,-1,0,"Nwetirin.aspx?Babet=Hewal&amp;Cor=1&amp;Nawnishan=&#1607;&#1607;&#8204;&#1608;&#1575;&#1717;&#1740; &#1705;&#1608;&#1585;&#1583;&#1587;&#1578;&#1575;&#1606;&#1740;","_self","","","","",5,18,0,"","",0,0,0,0,1,"#EAE8E8",0,"",1,"bg_menu1.png","bg_hover.png",3,3,0,0,"#E6EFF9","#000000"]);
  642. stm_aix("p2i1","p2i0",[0,"&#1593;&#1742;&#1585;&#1575;&#1602;&#1740;","","",-1,-1,0,"Nwetirin.aspx?Babet=Hewal&amp;Cor=2&amp;Nawnishan=&#1607;&#1607;&#8204;&#1608;&#1575;&#1717;&#1740; &#1593;&#1742;&#1585;&#1575;&#1602;&#1740;"]);
  643. stm_aix("p2i2","p2i0",[0,"&#1580;&#1740;&#1607;&#1575;&#1606;&#1740;","","",-1,-1,0,"Nwetirin.aspx?Babet=Hewal&amp;Cor=3&amp;Nawnishan=&#1607;&#1607;&#8204;&#1608;&#1575;&#1717;&#1740; &#1580;&#1740;&#1607;&#1575;&#1606;&#1740;"]);
  644. stm_ep();
  645. stm_aix("p1i1","p2i0",[0," &#1585;&#1575;&#1662;&#1734;&#1585;&#1578;","","",-1,-1,0,"Nwetirin.aspx?Babet=Babet&amp;Cor=2&amp;Nawnishan=&#1585;&#1575;&#1662;&#1734;&#1585;&#1578;","_self","","","","",5,18,0,"","",0,0,0,2]);
  646. stm_aix("p1i2","p1i1",[0,"       &#1576;&#1740;&#1585;&#1608;&#1685;&#1575;","","",-1,-1,0,"Nwetirin.aspx?Babet=Babet&amp;Cor=1&amp;Nawnishan=&#1576;&#1740;&#1585;&#1608;&#1585;&#1575;"]);
  647. stm_aix("p1i3","p1i1",[0,"&#1670;&#1575;&#1608;&#1662;&#1742;&#1705;&#1607;&#8204;&#1608;&#1578;&#1606;","","",-1,-1,0,"Nwetirin.aspx?Babet=Babet&amp;Cor=3&amp;Nawnishan=&#1670;&#1575;&#1608;&#1662;&#1742;&#1705;&#1607;&#8204;&#1608;&#1578;&#1606;"]);
  648. stm_aix("p1i4","p1i1",[0,"&#1705;&#1734;&#1605;&#1607;&#8204;&#1717;&#1575;&#1740;&#1607;&#8204;&#1578;&#1740;","","",-1,-1,0,"Nwetirin.aspx?Babet=Hemereng&amp;Cor=1&amp;Nawnishan=&#1705;&#1734;&#1605;&#1607;&#8204;&#1717;&#1575;&#1740;&#1607;&#8204;&#1578;&#1740;"]);
  649. stm_aix("p1i5","p1i1",[0,"&#1662;&#1607;&#8204;&#1585;&#1608;&#1607;&#8204;&#1585;&#1583;&#1607;&#8204;","","",-1,-1,0,"Nwetirin.aspx?Babet=Hemereng&amp;Cor=2&amp;Nawnishan=&#1662;&#1607;&#8204;&#1585;&#1608;&#1607;&#8204;&#1585;&#1583;&#1607;&#8204;"]);
  650. stm_aix("p1i6","p1i1",[0,"&#1705;&#1607;&#8204;&#1585;&#1705;&#1608;&#1705;","","",-1,-1,0,"Nwetirin.aspx?Babet=Hemereng&amp;Cor=3&amp;Nawnishan=&#1705;&#1607;&#8204;&#1585;&#1705;&#1608;&#1705;"]);
  651. stm_aix("p1i7","p1i1",[0,"&#1593;&#1742;&#1585;&#1575;&#1602; &#1608; &#1580;&#1740;&#1607;&#1575;&#1606;","","",-1,-1,0,"Nwetirin.aspx?Babet=Hemereng&amp;Cor=4&amp;Nawnishan=&#1593;&#1742;&#1585;&#1575;&#1602; &#1608; &#1580;&#1740;&#1607;&#1575;&#1606;"]);
  652. stm_ep();
  653. stm_aix("p0i9","p0i1",[]);
  654. stm_aix("p0i10","p0i0",[2,"","home.png","home.png",52,15,0,"awene.aspx","_self","","","","",5,18,0,"","",0,0,0,1]);
  655. stm_ep();
  656. stm_em();
  657. //-->
  658.  
  659. http://awene.com/steffie.js
  660.  
  661. /*================================================================
  662.         ORC_JS, JavaScript Class Framework
  663.         version:3.10.80226
  664.         Copyright 2007 by SourceTec Software Co.,LTD
  665.         For more information, see:www.sothink.com
  666. ================================================================*/
  667. if(typeof _STNS!="undefined"&&_STNS.EFFECT&&_STNS.bIsIE&&!_STNS.EFFECT.CEffIE){with(_STNS.EFFECT){_STNS.EFFECT.CEffIE=_STNS.Class(_STNS.EFFECT.CEffect);CEffIE.register("EFFECT/CEffect>CEffIE");CEffIE.construct=function(as){this.iFid=as[4]?as[4]:-1;this.sfName="";this.iDur=as[3]||-1;this.sBak="";this._iOid=-1;this._iStat=-1;this._iGid=-1;with(_STNS.EFFECT.CEffIE){this.fiGetStat=fiGetStat;this.fbSet=fbSet;this.fbDel=fbDel;this.fbApply=fbApply;this.fbPlay=fbPlay;this.fbStop=fbStop;this.fbSetStyle=fbSetStyle;}};CEffIE._aGlobal=[];CEffIE.fiGetStat=function(){var _r=_STNS,e;if(this._iStat==-1){return -1;}if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){return e.status;}else{return this._iStat;}};CEffIE.fbSet=function(){var _r=_STNS,e,s,fs=[],i=0,_9,n;if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){if(this.sName&&_STNS.oNav.version>=5.5){s=this.sfName=this.sName;}else{if(e.style.position=="absolute"&&_STNS.oNav.version<5.5&&this.iFid>=0&&this.iFid<24&&this.iDur!=-1){s=this.sfName="revealTrans(Transition="+this.iFid+",Duration="+this.iDur/1000+")";}else{return false;}}_9=e.style.filter;if(_9){var re=/[\w:\.]+\([^;\)]+\)/g;fs=_9.match(re);}if(this._iGid==-1){n=_r.EFFECT.CEffIE._aGlobal.length;_r.EFFECT.CEffIE._aGlobal.push(this);this._iGid=n;}for(i=0;i<fs.length;i++){if(fs[i]==this.sfName){this._iOid=i;return true;}}this._iOid=i;e.style.filter=(_9?_9+" ":"")+s;}this.iStat=0;return true;};CEffIE.fbDel=function(){var _r=_STNS,e,s,fs=[],bak,i,f=1,t;this.fbStop();if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){t=_STNS.EFFECT.CEffIE._aGlobal;t[this._iGid]=null;for(i=0;i<t.length;i++){if(t[i]&&t[i].sDmId==this.sDmId&&t[i].dmWin==this.dmWin&&t[i]._iOid==this._iOid){f=0;}}if(!f){return true;}bak=e.style.filter;if(bak){var re=/[\w:\.]+\([^;\)]+\)/g;fs=bak.match(re);}for(i=0;i<fs.length;i++){if(fs[i]==this.sfName){fs[i]="";}}e.style.filter=fs.length?fs.join(" "):"";for(i=0;i<t.length;i++){if(t[i]&&t[i].sDmId==this.sDmId&&t[i].dmWin==this.dmWin&&t[i]._iOid>this._iOid){t[i]._iOid--;}}}this._iStat=-1;return true;};CEffIE.fbApply=function(){var _r=_STNS,e;if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){e.filters[this._iOid].apply();}this._iStat=1;return true;};CEffIE.fbPlay=function(){var _r=_STNS,e;if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){e.filters[this._iOid].play();}this._iStat=2;return true;};CEffIE.fbStop=function(){var _r=_STNS,e;if(this.iStat>-1){if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){if(e.filters[this._iOid].status){e.filters[this._iOid].stop();}}this._iStat=0;}return true;};CEffIE.fbSetStyle=function(s){var _r=_STNS,e;if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){var ss=_r.foCss2Style(s),i;for(i in ss){try{e.style[i]=ss[i];}catch(e){}}}return true;};}}
  668.  
  669. http://awene.com/steffrect.js
  670.  
  671. /*================================================================
  672.         ORC_JS, JavaScript Class Framework
  673.         version:3.10.80226
  674.         Copyright 2007 by SourceTec Software Co.,LTD
  675.         For more information, see:www.sothink.com
  676. ================================================================*/
  677. if(typeof _STNS!="undefined"&&_STNS.EFFECT&&!_STNS.EFFECT.CEffRect){with(_STNS.EFFECT){_STNS.EFFECT.CEffRect=_STNS.Class(_STNS.EFFECT.CEffect);CEffRect.register("EFFECT/CEffect>CEffRect");CEffRect.construct=function(as){this._tTid=0;this._bShow=0;this._iFms=12;this._iDt=50;this._iDx=0;this._iDy=0;this._iDsx=0;this._iDsy=0;this._iX=0;this._iY=0;this._iSX=-1;this._iSY=-1;this._iGid=-1;this._iCurWid=0;this._iCurHei=0;this.iDur=as[3];this._sBdStyle="solid";this._iBdWid=1;this._sBdClr="#999999";with(_STNS.EFFECT.CEffRect){this.fbSet=fbSet;this.fbDel=fbDel;this.fbApply=fbApply;this.fbPlay=fbPlay;this.fbStop=fbStop;this.fbSetStyle=fbSetStyle;this.fbShow=fbShow;this.fbHide=fbHide;}if(as[4]){this.fbSetStyle(as[4]);}};CEffRect.fbSet=function(){var _r=_STNS,e=_r.fdmGetEleById(this.sDmId,this.dmWin),n;if(!e){return false;}if(this._iGid==-1){n=_r.EFFECT.CEffRect._aGlobal.length;_r.EFFECT.CEffRect._aGlobal.push(this);this._iGid=n;}s="<div style="+"'position:absolute;left:0px;top:0px;z-index:1000;font-size:1pt;line-height:1pt;display:none;background:transparent;'"+" id='stEffR_"+this._iGid+"'>"+"</div>";_STNS.fbInsHTML(this.dmWin.document.body,"afterBegin",s);this._iStat=0;return true;};CEffRect.fbDel=function(){this.fbStop();this._iStat=-1;_STNS.EFFECT.CEffRect._aGlobal[this._iGid]=null;return true;};CEffRect.fbApply=function(){var _r=_STNS,e=_r.fdmGetEleById(this.sDmId,this.dmWin);if(!e){return false;}this._iCurWid=_r.fiGetEleWid(e);this._iCurHei=_r.fiGetEleHei(e);this._iDt=Math.floor(this.iDur/this._iFms);this._iDx=Math.round(this._iCurWid/this._iFms);this._iDy=Math.round(this._iCurHei/this._iFms);e=_r.fdmGetEleById("stEffR_"+this._iGid,this.dmWin);e.style.borderStyle=this._sBdStyle;e.style.borderWidth=this._iBdWid+"px";e.style.borderColor=this._sBdClr;if(!_r.EFFECT.CEffRect._aGlobal[this._iGid]){_r.EFFECT.CEffRect._aGlobal[this._iGid]=this;}this._iStat=1;return true;};CEffRect.fbPlay=function(){if(this._iStat!=1){return false;}if(this._bShow){this.fbShow();}else{this.fbHide();}this._iStat=2;return true;};CEffRect.fbStop=function(){if(this._iStat>0){clearTimeout(this._tTid);var e=_STNS.fdmGetEleById("stEffR_"+this._iGid,this.dmWin);e.style.display="none";e=_STNS.fdmGetEleById(this.sDmId,this.dmWin);e.style.left=this._iX+"px";e.style.top=this._iY+"px";if(this._bShow){e.style.visibility="visible";}else{e.style.visibility="hidden";}this._iStat=0;}return true;};CEffRect.fbSetStyle=function(s){var _r=_STNS,ss;ss=_r.foCss2Style(s);if(ss["visibility"]=="hidden"){this._bShow=0;}else{if(ss["visibility"]=="visible"){this._bShow=1;}}if(ss["left"]){this._iX=parseInt(ss["left"]);}if(ss["top"]){this._iY=parseInt(ss["top"]);}if(ss["borderStyle"]){this._sBdStyle=ss["borderStyle"];}if(ss["borderWidth"]){this._iBdWid=parseInt(ss["borderWidth"]);}if(ss["borderColor"]){this._sBdClr=ss["borderColor"];}if(ss["_stStartX"]){this._iSX=parseInt(ss["_stStartX"]);}else{this._iSX=this._iX+this._iCurWid/2;}if(ss["_stStartY"]){this._iSY=parseInt(ss["_stStartY"]);}else{this._iSY=this._iY+this._iCurHei/2;}this._iDsx=Math.floor((this._iSX-this._iX)/this._iFms);this._iDsy=Math.floor((this._iSY-this._iY)/this._iFms);};CEffRect._aGlobal=[];CEffRect.fbShow=function(t){var _r=_STNS,e=_r.fdmGetEleById("stEffR_"+this._iGid,this.dmWin);if(!t){t=0;}if(t>=this._iFms){e.style.display="none";e=_r.fdmGetEleById(this.sDmId,this.dmWin);e.style.left=this._iX+"px";e.style.top=this._iY+"px";e.style.visibility="visible";this._iStat=0;return true;}else{e.style.width=t*this._iDx+"px";e.style.height=t*this._iDy+"px";e.style.left=this._iSX-t*this._iDsx+"px";e.style.top=this._iSY-t*this._iDsy+"px";this._tTid=setTimeout("_STNS.EFFECT.CEffRect._aGlobal["+this._iGid+"].fbShow("+(++t)+")",this._iDt);}e.style.display="block";};CEffRect.fbHide=function(t){var _r=_STNS,e=_r.fdmGetEleById("stEffR_"+this._iGid,this.dmWin);if(!t){_r.fdmGetEleById(this.sDmId,this.dmWin).style.visibility="hidden";t=0;}if(t>=this._iFms){e.style.display="none";this._iStat=0;return true;}else{e.style.width=Math.max(1,this._iCurWid-t*this._iDx)+"px";e.style.height=Math.max(1,this._iCurHei-t*this._iDy)+"px";e.style.left=this._iX+t*this._iDsx+"px";e.style.top=this._iY+t*this._iDsy+"px";this._tTid=setTimeout("_STNS.EFFECT.CEffRect._aGlobal["+this._iGid+"].fbHide("+(++t)+")",this._iDt);}e.style.display="block";};}}
  678.  
  679. http://awene.com/steffslip.js
  680.  
  681. /*================================================================
  682.         ORC_JS, JavaScript Class Framework
  683.         version:3.10.80226
  684.         Copyright 2007 by SourceTec Software Co.,LTD
  685.         For more information, see:www.sothink.com
  686. ================================================================*/
  687. if(typeof _STNS!="undefined"&&_STNS.EFFECT&&!_STNS.EFFECT.CEffSlip){with(_STNS.EFFECT){_STNS.EFFECT.CEffSlip=_STNS.Class(_STNS.EFFECT.CEffect);CEffSlip.register("EFFECT/CEffect>CEffSlip");CEffSlip.construct=function(as){this._tTid=0;this._iX=0;this._iY=0;this._iCurWid=0;this._iCurHei=0;this._bShow=0;this._iGid=-1;this._iFms=12;this._iDt=50;this._iDx=0;this._iDy=0;this.iDir=4;this.iDur=as[3];with(_STNS.EFFECT.CEffSlip){this.fbApply=fbApply;this.fbPlay=fbPlay;this.fbStop=fbStop;this.fbSet=fbSet;this.fbSetStyle=fbSetStyle;this.fbShow=fbShow;this.fbHide=fbHide;this.faParse=faParse;}if(as[4]){this.fbSetStyle(as[4]);}};CEffSlip.fbSet=function(){var _r=_STNS,e,n;if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){if(e.style.position!="absolute"){return false;}if(this._iGid==-1){n=_r.EFFECT.CEffSlip._aGlobal.length;_r.EFFECT.CEffSlip._aGlobal.push(this);this._iGid=n;}this._iStat=0;return true;}return false;};CEffSlip.fbDel=function(){this.fbStop();if(this._iGid!=-1){_STNS.EFFECT.CEffSlip._aGlobal[this._iGid]=null;}this._iStat=-1;return true;};CEffSlip.fbApply=function(){var _r=_STNS;if(!_r.EFFECT.CEffSlip._aGlobal[this._iGid]){_r.EFFECT.CEffSlip._aGlobal[this._iGid]=this;}if(e=_r.fdmGetEleById(this.sDmId,this.dmWin)){this._iCurWid=_r.fiGetEleWid(e);this._iCurHei=_r.fiGetEleHei(e);this._iDt=Math.ceil(this.iDur/this._iFms);this._iDx=Math.floor(this._iCurWid/this._iFms);this._iDy=Math.floor(this._iCurHei/this._iFms);}this._iStat=1;return true;};CEffSlip.fbPlay=function(){var e=_STNS.fdmGetEleById(this.sDmId,this.dmWin);if(!this._bShow){if(!e.style.clip||e.style.clip.indexOf("auto")!=-1){e.style.clip="rect(0px "+this._iCurWid+"px "+this._iCurHei+"px 0px)";}this.fbHide();}else{if(!e.style.clip||e.style.clip.indexOf("auto")!=-1){e.style.clip="rect("+this._iCurHei+"px 0px 0px "+this._iCurWid+"px)";}this.fbShow();}this._iStat=2;return true;};CEffSlip._aGlobal=[];CEffSlip.fbStop=function(){if(this._iStat>0){clearTimeout(this._tTid);var e=_STNS.fdmGetEleById(this.sDmId,this.dmWin);e.style.left=this._iX+"px";e.style.top=this._iY+"px";e.style.clip="rect(auto auto auto auto)";if(this._bShow){e.style.visibility="visible";}else{e.style.visibility="hidden";}this._iStat=0;}return true;};CEffSlip.fbSetStyle=function(s){var _r=_STNS,ss;ss=_r.foCss2Style(s);if(ss["visibility"]=="hidden"){this._bShow=0;}else{if(ss["visibility"]=="visible"){this._bShow=1;}}if(ss["left"]){this._iX=parseInt(ss["left"]);}if(ss["top"]){this._iY=parseInt(ss["top"]);}if(ss["_stDirection"]){this.iDir=parseInt(ss["_stDirection"]);}};CEffSlip.fbShow=function(t){var e=_STNS.fdmGetEleById(this.sDmId,this.dmWin);if(!t){var cc=this.faParse(e.style.clip);switch(this.iDir){case 1:t=Math.floor(cc[1]/this._iDx);e.style.top=this._iY+"px";break;case 2:t=Math.floor((this._iCurWid-cc[3])/this._iDx);e.style.top=this._iY+"px";break;case 3:t=Math.floor(cc[2]/this._iDy);e.style.left=this._iX+"px";break;case 4:t=Math.floor((this._iCurHei-cc[0])/this._iDy);e.style.left=this._iX+"px";break;}this._tTid=setTimeout("_STNS.EFFECT.CEffSlip._aGlobal["+this._iGid+"].fbShow("+(++t)+")",this._iDt);return true;}if(t>=this._iFms){e.style.left=this._iX+"px";e.style.top=this._iY+"px";e.style.clip="rect(auto auto auto auto)";_STNS.EFFECT.CEffSlip._aGlobal[this._iGid]=null;this._iStat=0;return true;}else{switch(this.iDir){case 1:e.style.left=(this._iX+this._iCurWid-t*this._iDx)+"px";e.style.clip="rect(0px "+t*this._iDx+"px "+this._iCurHei+"px 0px)";break;case 2:e.style.left=(this._iX-this._iCurWid+t*this._iDx)+"px";e.style.clip="rect(0px "+this._iCurWid+"px "+this._iCurHei+"px "+(this._iCurWid-t*this._iDx)+"px)";break;case 3:e.style.top=(this._iY+this._iCurHei-t*this._iDy)+"px";e.style.clip="rect(0px "+this._iCurWid+"px "+t*this._iDy+"px 0px)";break;case 4:e.style.top=(this._iY-this._iCurHei+t*this._iDy)+"px";e.style.clip="rect("+(this._iCurHei-t*this._iDy)+"px "+this._iCurWid+"px "+this._iCurHei+"px 0px)";break;}e.style.visibility="visible";}this._tTid=setTimeout("_STNS.EFFECT.CEffSlip._aGlobal["+this._iGid+"].fbShow("+(++t)+")",this._iDt);return true;};CEffSlip.fbHide=function(t){var e=_STNS.fdmGetEleById(this.sDmId,this.dmWin);if(!t){var cc=this.faParse(e.style.clip);switch(this.iDir){case 1:t=Math.floor((this._iCurWid-cc[1])/this._iDx);e.style.top=this._iY+"px";break;case 2:t=Math.floor(cc[3]/this._iDx);e.style.top=this._iY+"px";break;case 3:t=Math.floor((this._iCurHei-cc[2])/this._iDy);e.style.left=this._iX+"px";break;case 4:t=Math.floor(cc[0]/this._iDy);e.style.left=this._iX+"px";break;}this._tTid=setTimeout("_STNS.EFFECT.CEffSlip._aGlobal["+this._iGid+"].fbHide("+(++t)+")",this._iDt);e.style.visibility="visible";return true;}if(t>=this._iFms){e.style.left=this._iX+"px";e.style.top=this._iY+"px";e.style.clip="rect(auto auto auto auto)";e.style.visibility="hidden";_STNS.EFFECT.CEffSlip._aGlobal[this._iGid]=null;this._iStat=0;return true;}else{switch(this.iDir){case 1:e.style.left=(this._iX+t*this._iDx)+"px";e.style.clip="rect(0px "+(this._iCurWid-t*this._iDx)+"px "+this._iCurHei+"px 0px)";break;case 2:e.style.left=(this._iX-t*this._iDx)+"px";e.style.clip="rect(0px "+this._iCurWid+"px "+this._iCurHei+"px "+t*this._iDx+"px)";break;case 3:e.style.top=(this._iY+t*this._iDy)+"px";e.style.clip="rect(0px "+this._iCurWid+"px "+(this._iCurHei-t*this._iDy)+"px 0px)";break;case 4:e.style.top=(this._iY-t*this._iDy)+"px";e.style.clip="rect("+t*this._iDy+"px "+this._iCurWid+"px "+this._iCurHei+"px 0px)";break;}this._tTid=setTimeout("_STNS.EFFECT.CEffSlip._aGlobal["+this._iGid+"].fbHide("+(++t)+")",this._iDt);}return true;};CEffSlip.faParse=function(s){var t=s.split(" ");t[0]=parseInt(t[0].substr(5));for(var j=1;j<t.length;j++){t[j]=parseInt(t[j]);}return t;};}}
  688.  
  689. Inline Script from http://awene.com/awene.aspx
  690.  
  691. _STNS.UI.oUIs['stUI2'].fbInit();_STNS.UI.oUIs['stUI2'].fbShow();
  692.  
  693. Inline Script from http://awene.com/awene.aspx
  694.  
  695. //<![CDATA[
  696. var theForm = document.forms['ctl00'];
  697. if (!theForm) {
  698.     theForm = document.ctl00;
  699. }
  700. function __doPostBack(eventTarget, eventArgument) {
  701.     if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
  702.         theForm.__EVENTTARGET.value = eventTarget;
  703.         theForm.__EVENTARGUMENT.value = eventArgument;
  704.         theForm.submit();
  705.     }
  706. }
  707. //]]>
  708.  
  709. http://awene.com/WebResource.axd?d=IMaxe4E954Wv3NAVLVdkYg2&t=633771530919058260
  710.  
  711. function WebForm_PostBackOptions(eventTarget, eventArgument, validation, validationGroup, actionUrl, trackFocus, clientSubmit) {
  712.  
  713.     this.eventTarget = eventTarget;
  714.  
  715.     this.eventArgument = eventArgument;
  716.  
  717.     this.validation = validation;
  718.  
  719.     this.validationGroup = validationGroup;
  720.  
  721.     this.actionUrl = actionUrl;
  722.  
  723.     this.trackFocus = trackFocus;
  724.  
  725.     this.clientSubmit = clientSubmit;
  726.  
  727. }
  728.  
  729. function WebForm_DoPostBackWithOptions(options) {
  730.  
  731.     var validationResult = true;
  732.  
  733.     if (options.validation) {
  734.  
  735.         if (typeof(Page_ClientValidate) == 'function') {
  736.  
  737.             validationResult = Page_ClientValidate(options.validationGroup);
  738.  
  739.         }
  740.  
  741.     }
  742.  
  743.     if (validationResult) {
  744.  
  745.         if ((typeof(options.actionUrl) != "undefined") && (options.actionUrl != null) && (options.actionUrl.length > 0)) {
  746.  
  747.             theForm.action = options.actionUrl;
  748.  
  749.         }
  750.  
  751.         if (options.trackFocus) {
  752.  
  753.             var lastFocus = theForm.elements["__LASTFOCUS"];
  754.  
  755.             if ((typeof(lastFocus) != "undefined") && (lastFocus != null)) {
  756.  
  757.                 if (typeof(document.activeElement) == "undefined") {
  758.  
  759.                     lastFocus.value = options.eventTarget;
  760.  
  761.                 }
  762.  
  763.                 else {
  764.  
  765.                     var active = document.activeElement;
  766.  
  767.                     if ((typeof(active) != "undefined") && (active != null)) {
  768.  
  769.                         if ((typeof(active.id) != "undefined") && (active.id != null) && (active.id.length > 0)) {
  770.  
  771.                             lastFocus.value = active.id;
  772.  
  773.                         }
  774.  
  775.                         else if (typeof(active.name) != "undefined") {
  776.  
  777.                             lastFocus.value = active.name;
  778.  
  779.                         }
  780.  
  781.                     }
  782.  
  783.                 }
  784.  
  785.             }
  786.  
  787.         }
  788.  
  789.     }
  790.  
  791.     if (options.clientSubmit) {
  792.  
  793.         __doPostBack(options.eventTarget, options.eventArgument);
  794.  
  795.     }
  796.  
  797. }
  798.  
  799. var __pendingCallbacks = new Array();
  800.  
  801. var __synchronousCallBackIndex = -1;
  802.  
  803. function WebForm_DoCallback(eventTarget, eventArgument, eventCallback, context, errorCallback, useAsync) {
  804.  
  805.     var postData = __theFormPostData +
  806.  
  807.                 "__CALLBACKID=" + WebForm_EncodeCallback(eventTarget) +
  808.  
  809.                 "&__CALLBACKPARAM=" + WebForm_EncodeCallback(eventArgument);
  810.  
  811.     if (theForm["__EVENTVALIDATION"]) {
  812.  
  813.         postData += "&__EVENTVALIDATION=" + WebForm_EncodeCallback(theForm["__EVENTVALIDATION"].value);
  814.  
  815.     }
  816.  
  817.     var xmlRequest,e;
  818.  
  819.     try {
  820.  
  821.         xmlRequest = new XMLHttpRequest();
  822.  
  823.     }
  824.  
  825.     catch(e) {
  826.  
  827.         try {
  828.  
  829.             xmlRequest = new ActiveXObject("Microsoft.XMLHTTP");
  830.  
  831.         }
  832.  
  833.         catch(e) {
  834.  
  835.         }
  836.  
  837.     }
  838.  
  839.     var setRequestHeaderMethodExists = true;
  840.  
  841.     try {
  842.  
  843.         setRequestHeaderMethodExists = (xmlRequest && xmlRequest.setRequestHeader);
  844.  
  845.     }
  846.  
  847.     catch(e) {}
  848.  
  849.     var callback = new Object();
  850.  
  851.     callback.eventCallback = eventCallback;
  852.  
  853.     callback.context = context;
  854.  
  855.     callback.errorCallback = errorCallback;
  856.  
  857.     callback.async = useAsync;
  858.  
  859.     var callbackIndex = WebForm_FillFirstAvailableSlot(__pendingCallbacks, callback);
  860.  
  861.     if (!useAsync) {
  862.  
  863.         if (__synchronousCallBackIndex != -1) {
  864.  
  865.             __pendingCallbacks[__synchronousCallBackIndex] = null;
  866.  
  867.         }
  868.  
  869.         __synchronousCallBackIndex = callbackIndex;
  870.  
  871.     }
  872.  
  873.     if (setRequestHeaderMethodExists) {
  874.  
  875.         xmlRequest.onreadystatechange = WebForm_CallbackComplete;
  876.  
  877.         callback.xmlRequest = xmlRequest;
  878.  
  879.         xmlRequest.open("POST", theForm.action, true);
  880.  
  881.         xmlRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");
  882.  
  883.         xmlRequest.send(postData);
  884.  
  885.         return;
  886.  
  887.     }
  888.  
  889.     callback.xmlRequest = new Object();
  890.  
  891.     var callbackFrameID = "__CALLBACKFRAME" + callbackIndex;
  892.  
  893.     var xmlRequestFrame = document.frames[callbackFrameID];
  894.  
  895.     if (!xmlRequestFrame) {
  896.  
  897.         xmlRequestFrame = document.createElement("IFRAME");
  898.  
  899.         xmlRequestFrame.width = "1";
  900.  
  901.         xmlRequestFrame.height = "1";
  902.  
  903.         xmlRequestFrame.frameBorder = "0";
  904.  
  905.         xmlRequestFrame.id = callbackFrameID;
  906.  
  907.         xmlRequestFrame.name = callbackFrameID;
  908.  
  909.         xmlRequestFrame.style.position = "absolute";
  910.  
  911.         xmlRequestFrame.style.top = "-100px"
  912.  
  913.         xmlRequestFrame.style.left = "-100px";
  914.  
  915.         try {
  916.  
  917.             if (callBackFrameUrl) {
  918.  
  919.                 xmlRequestFrame.src = callBackFrameUrl;
  920.  
  921.             }
  922.  
  923.         }
  924.  
  925.         catch(e) {}
  926.  
  927.         document.body.appendChild(xmlRequestFrame);
  928.  
  929.     }
  930.  
  931.     var interval = window.setInterval(function() {
  932.  
  933.         xmlRequestFrame = document.frames[callbackFrameID];
  934.  
  935.         if (xmlRequestFrame && xmlRequestFrame.document) {
  936.  
  937.             window.clearInterval(interval);
  938.  
  939.             xmlRequestFrame.document.write("");
  940.  
  941.             xmlRequestFrame.document.close();
  942.  
  943.             xmlRequestFrame.document.write('<html><body><form method="post"><input type="hidden" name="__CALLBACKLOADSCRIPT" value="t"></form></body></html>');
  944.  
  945.             xmlRequestFrame.document.close();
  946.  
  947.             xmlRequestFrame.document.forms[0].action = theForm.action;
  948.  
  949.             var count = __theFormPostCollection.length;
  950.  
  951.             var element;
  952.  
  953.             for (var i = 0; i < count; i++) {
  954.  
  955.                 element = __theFormPostCollection[i];
  956.  
  957.                 if (element) {
  958.  
  959.                     var fieldElement = xmlRequestFrame.document.createElement("INPUT");
  960.  
  961.                     fieldElement.type = "hidden";
  962.  
  963.                     fieldElement.name = element.name;
  964.  
  965.                     fieldElement.value = element.value;
  966.  
  967.                     xmlRequestFrame.document.forms[0].appendChild(fieldElement);
  968.  
  969.                 }
  970.  
  971.             }
  972.  
  973.             var callbackIdFieldElement = xmlRequestFrame.document.createElement("INPUT");
  974.  
  975.             callbackIdFieldElement.type = "hidden";
  976.  
  977.             callbackIdFieldElement.name = "__CALLBACKID";
  978.  
  979.             callbackIdFieldElement.value = eventTarget;
  980.  
  981.             xmlRequestFrame.document.forms[0].appendChild(callbackIdFieldElement);
  982.  
  983.             var callbackParamFieldElement = xmlRequestFrame.document.createElement("INPUT");
  984.  
  985.             callbackParamFieldElement.type = "hidden";
  986.  
  987.             callbackParamFieldElement.name = "__CALLBACKPARAM";
  988.  
  989.             callbackParamFieldElement.value = eventArgument;
  990.  
  991.             xmlRequestFrame.document.forms[0].appendChild(callbackParamFieldElement);
  992.  
  993.             if (theForm["__EVENTVALIDATION"]) {
  994.  
  995.                 var callbackValidationFieldElement = xmlRequestFrame.document.createElement("INPUT");
  996.  
  997.                 callbackValidationFieldElement.type = "hidden";
  998.  
  999.                 callbackValidationFieldElement.name = "__EVENTVALIDATION";
  1000.  
  1001.                 callbackValidationFieldElement.value = theForm["__EVENTVALIDATION"].value;
  1002.  
  1003.                 xmlRequestFrame.document.forms[0].appendChild(callbackValidationFieldElement);
  1004.  
  1005.             }
  1006.  
  1007.             var callbackIndexFieldElement = xmlRequestFrame.document.createElement("INPUT");
  1008.  
  1009.             callbackIndexFieldElement.type = "hidden";
  1010.  
  1011.             callbackIndexFieldElement.name = "__CALLBACKINDEX";
  1012.  
  1013.             callbackIndexFieldElement.value = callbackIndex;
  1014.  
  1015.             xmlRequestFrame.document.forms[0].appendChild(callbackIndexFieldElement);
  1016.  
  1017.             xmlRequestFrame.document.forms[0].submit();
  1018.  
  1019.         }
  1020.  
  1021.     }, 10);
  1022.  
  1023. }
  1024.  
  1025. function WebForm_CallbackComplete() {
  1026.  
  1027.     for (var i = 0; i < __pendingCallbacks.length; i++) {
  1028.  
  1029.         callbackObject = __pendingCallbacks[i];
  1030.  
  1031.         if (callbackObject && callbackObject.xmlRequest && (callbackObject.xmlRequest.readyState == 4)) {
  1032.  
  1033.             WebForm_ExecuteCallback(callbackObject);
  1034.  
  1035.             if (!__pendingCallbacks[i].async) {
  1036.  
  1037.                 __synchronousCallBackIndex = -1;
  1038.  
  1039.             }
  1040.  
  1041.             __pendingCallbacks[i] = null;
  1042.  
  1043.             var callbackFrameID = "__CALLBACKFRAME" + i;
  1044.  
  1045.             var xmlRequestFrame = document.getElementById(callbackFrameID);
  1046.  
  1047.             if (xmlRequestFrame) {
  1048.  
  1049.                 xmlRequestFrame.parentNode.removeChild(xmlRequestFrame);
  1050.  
  1051.             }
  1052.  
  1053.         }
  1054.  
  1055.     }
  1056.  
  1057. }
  1058.  
  1059. function WebForm_ExecuteCallback(callbackObject) {
  1060.  
  1061.     var response = callbackObject.xmlRequest.responseText;
  1062.  
  1063.     if (response.charAt(0) == "s") {
  1064.  
  1065.         if ((typeof(callbackObject.eventCallback) != "undefined") && (callbackObject.eventCallback != null)) {
  1066.  
  1067.             callbackObject.eventCallback(response.substring(1), callbackObject.context);
  1068.  
  1069.         }
  1070.  
  1071.     }
  1072.  
  1073.     else if (response.charAt(0) == "e") {
  1074.  
  1075.         if ((typeof(callbackObject.errorCallback) != "undefined") && (callbackObject.errorCallback != null)) {
  1076.  
  1077.             callbackObject.errorCallback(response.substring(1), callbackObject.context);
  1078.  
  1079.         }
  1080.  
  1081.     }
  1082.  
  1083.     else {
  1084.  
  1085.         var separatorIndex = response.indexOf("|");
  1086.  
  1087.         if (separatorIndex != -1) {
  1088.  
  1089.             var validationFieldLength = parseInt(response.substring(0, separatorIndex));
  1090.  
  1091.             if (!isNaN(validationFieldLength)) {
  1092.  
  1093.                 var validationField = response.substring(separatorIndex + 1, separatorIndex + validationFieldLength + 1);
  1094.  
  1095.                 if (validationField != "") {
  1096.  
  1097.                     var validationFieldElement = theForm["__EVENTVALIDATION"];
  1098.  
  1099.                     if (!validationFieldElement) {
  1100.  
  1101.                         validationFieldElement = document.createElement("INPUT");
  1102.  
  1103.                         validationFieldElement.type = "hidden";
  1104.  
  1105.                         validationFieldElement.name = "__EVENTVALIDATION";
  1106.  
  1107.                         theForm.appendChild(validationFieldElement);
  1108.  
  1109.                     }
  1110.  
  1111.                     validationFieldElement.value = validationField;
  1112.  
  1113.                 }
  1114.  
  1115.                 if ((typeof(callbackObject.eventCallback) != "undefined") && (callbackObject.eventCallback != null)) {
  1116.  
  1117.                     callbackObject.eventCallback(response.substring(separatorIndex + validationFieldLength + 1), callbackObject.context);
  1118.  
  1119.                 }
  1120.  
  1121.             }
  1122.  
  1123.         }
  1124.  
  1125.     }
  1126.  
  1127. }
  1128.  
  1129. function WebForm_FillFirstAvailableSlot(array, element) {
  1130.  
  1131.     var i;
  1132.  
  1133.     for (i = 0; i < array.length; i++) {
  1134.  
  1135.         if (!array[i]) break;
  1136.  
  1137.     }
  1138.  
  1139.     array[i] = element;
  1140.  
  1141.     return i;
  1142.  
  1143. }
  1144.  
  1145. var __nonMSDOMBrowser = (window.navigator.appName.toLowerCase().indexOf('explorer') == -1);
  1146.  
  1147. var __theFormPostData = "";
  1148.  
  1149. var __theFormPostCollection = new Array();
  1150.  
  1151. function WebForm_InitCallback() {
  1152.  
  1153.     var count = theForm.elements.length;
  1154.  
  1155.     var element;
  1156.  
  1157.     for (var i = 0; i < count; i++) {
  1158.  
  1159.         element = theForm.elements[i];
  1160.  
  1161.         var tagName = element.tagName.toLowerCase();
  1162.  
  1163.         if (tagName == "input") {
  1164.  
  1165.             var type = element.type;
  1166.  
  1167.             if ((type == "text" || type == "hidden" || type == "password" ||
  1168.  
  1169.                 ((type == "checkbox" || type == "radio") && element.checked)) &&
  1170.  
  1171.                 (element.id != "__EVENTVALIDATION")) {
  1172.  
  1173.                 WebForm_InitCallbackAddField(element.name, element.value);
  1174.  
  1175.             }
  1176.  
  1177.         }
  1178.  
  1179.         else if (tagName == "select") {
  1180.  
  1181.             var selectCount = element.options.length;
  1182.  
  1183.             for (var j = 0; j < selectCount; j++) {
  1184.  
  1185.                 var selectChild = element.options[j];
  1186.  
  1187.                 if (selectChild.selected == true) {
  1188.  
  1189.                     WebForm_InitCallbackAddField(element.name, element.value);
  1190.  
  1191.                 }
  1192.  
  1193.             }
  1194.  
  1195.         }
  1196.  
  1197.         else if (tagName == "textarea") {
  1198.  
  1199.             WebForm_InitCallbackAddField(element.name, element.value);
  1200.  
  1201.         }
  1202.  
  1203.     }
  1204.  
  1205. }
  1206.  
  1207. function WebForm_InitCallbackAddField(name, value) {
  1208.  
  1209.     var nameValue = new Object();
  1210.  
  1211.     nameValue.name = name;
  1212.  
  1213.     nameValue.value = value;
  1214.  
  1215.     __theFormPostCollection[__theFormPostCollection.length] = nameValue;
  1216.  
  1217.     __theFormPostData += WebForm_EncodeCallback(name) + "=" + WebForm_EncodeCallback(value) + "&";
  1218.  
  1219. }
  1220.  
  1221. function WebForm_EncodeCallback(parameter) {
  1222.  
  1223.     if (encodeURIComponent) {
  1224.  
  1225.         return encodeURIComponent(parameter);
  1226.  
  1227.     }
  1228.  
  1229.     else {
  1230.  
  1231.         return escape(parameter);
  1232.  
  1233.     }
  1234.  
  1235. }
  1236.  
  1237. var __disabledControlArray = new Array();
  1238.  
  1239. function WebForm_ReEnableControls() {
  1240.  
  1241.     if (typeof(__enabledControlArray) == 'undefined') {
  1242.  
  1243.         return false;
  1244.  
  1245.     }
  1246.  
  1247.     var disabledIndex = 0;
  1248.  
  1249.     for (var i = 0; i < __enabledControlArray.length; i++) {
  1250.  
  1251.         var c;
  1252.  
  1253.         if (__nonMSDOMBrowser) {
  1254.  
  1255.             c = document.getElementById(__enabledControlArray[i]);
  1256.  
  1257.         }
  1258.  
  1259.         else {
  1260.  
  1261.             c = document.all[__enabledControlArray[i]];
  1262.  
  1263.         }
  1264.  
  1265.         if ((typeof(c) != "undefined") && (c != null) && (c.disabled == true)) {
  1266.  
  1267.             c.disabled = false;
  1268.  
  1269.             __disabledControlArray[disabledIndex++] = c;
  1270.  
  1271.         }
  1272.  
  1273.     }
  1274.  
  1275.     setTimeout("WebForm_ReDisableControls()", 0);
  1276.  
  1277.     return true;
  1278.  
  1279. }
  1280.  
  1281. function WebForm_ReDisableControls() {
  1282.  
  1283.     for (var i = 0; i < __disabledControlArray.length; i++) {
  1284.  
  1285.         __disabledControlArray[i].disabled = true;
  1286.  
  1287.     }
  1288.  
  1289. }
  1290.  
  1291. function WebForm_FireDefaultButton(event, target) {
  1292.  
  1293.     if (event.keyCode == 13) {
  1294.  
  1295.         var src = event.srcElement || event.target;
  1296.  
  1297.         if (!src || (src.tagName.toLowerCase() != "textarea")) {
  1298.  
  1299.             var defaultButton;
  1300.  
  1301.             if (__nonMSDOMBrowser) {
  1302.  
  1303.                defaultButton = document.getElementById(target);
  1304.  
  1305.             }
  1306.  
  1307.             else {
  1308.  
  1309.                 defaultButton = document.all[target];
  1310.  
  1311.             }
  1312.  
  1313.             if (defaultButton && typeof(defaultButton.click) != "undefined") {
  1314.  
  1315.                 defaultButton.click();
  1316.  
  1317.                 event.cancelBubble = true;
  1318.  
  1319.                 if (event.stopPropagation) event.stopPropagation();
  1320.  
  1321.                 return false;
  1322.  
  1323.             }
  1324.  
  1325.         }
  1326.  
  1327.     }
  1328.  
  1329.     return true;
  1330.  
  1331. }
  1332.  
  1333. function WebForm_GetScrollX() {
  1334.  
  1335.     if (__nonMSDOMBrowser) {
  1336.  
  1337.         return window.pageXOffset;
  1338.  
  1339.     }
  1340.  
  1341.     else {
  1342.  
  1343.         if (document.documentElement && document.documentElement.scrollLeft) {
  1344.  
  1345.             return document.documentElement.scrollLeft;
  1346.  
  1347.         }
  1348.  
  1349.         else if (document.body) {
  1350.  
  1351.             return document.body.scrollLeft;
  1352.  
  1353.         }
  1354.  
  1355.     }
  1356.  
  1357.     return 0;
  1358.  
  1359. }
  1360.  
  1361. function WebForm_GetScrollY() {
  1362.  
  1363.     if (__nonMSDOMBrowser) {
  1364.  
  1365.         return window.pageYOffset;
  1366.  
  1367.     }
  1368.  
  1369.     else {
  1370.  
  1371.         if (document.documentElement && document.documentElement.scrollTop) {
  1372.  
  1373.             return document.documentElement.scrollTop;
  1374.  
  1375.         }
  1376.  
  1377.         else if (document.body) {
  1378.  
  1379.             return document.body.scrollTop;
  1380.  
  1381.         }
  1382.  
  1383.     }
  1384.  
  1385.     return 0;
  1386.  
  1387. }
  1388.  
  1389. function WebForm_SaveScrollPositionSubmit() {
  1390.  
  1391.     if (__nonMSDOMBrowser) {
  1392.  
  1393.         theForm.elements['__SCROLLPOSITIONY'].value = window.pageYOffset;
  1394.  
  1395.         theForm.elements['__SCROLLPOSITIONX'].value = window.pageXOffset;
  1396.  
  1397.     }
  1398.  
  1399.     else {
  1400.  
  1401.         theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();
  1402.  
  1403.         theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();
  1404.  
  1405.     }
  1406.  
  1407.     if ((typeof(this.oldSubmit) != "undefined") && (this.oldSubmit != null)) {
  1408.  
  1409.         return this.oldSubmit();
  1410.  
  1411.     }
  1412.  
  1413.     return true;
  1414.  
  1415. }
  1416.  
  1417. function WebForm_SaveScrollPositionOnSubmit() {
  1418.  
  1419.     theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();
  1420.  
  1421.     theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();
  1422.  
  1423.     if ((typeof(this.oldOnSubmit) != "undefined") && (this.oldOnSubmit != null)) {
  1424.  
  1425.         return this.oldOnSubmit();
  1426.  
  1427.     }
  1428.  
  1429.     return true;
  1430.  
  1431. }
  1432.  
  1433. function WebForm_RestoreScrollPosition() {
  1434.  
  1435.     if (__nonMSDOMBrowser) {
  1436.  
  1437.         window.scrollTo(theForm.elements['__SCROLLPOSITIONX'].value, theForm.elements['__SCROLLPOSITIONY'].value);
  1438.  
  1439.     }
  1440.  
  1441.     else {
  1442.  
  1443.         window.scrollTo(theForm.__SCROLLPOSITIONX.value, theForm.__SCROLLPOSITIONY.value);
  1444.  
  1445.     }
  1446.  
  1447.     if ((typeof(theForm.oldOnLoad) != "undefined") && (theForm.oldOnLoad != null)) {
  1448.  
  1449.         return theForm.oldOnLoad();
  1450.  
  1451.     }
  1452.  
  1453.     return true;
  1454.  
  1455. }
  1456.  
  1457. function WebForm_TextBoxKeyHandler(event) {
  1458.  
  1459.     if (event.keyCode == 13) {
  1460.  
  1461.         var target;
  1462.  
  1463.         if (__nonMSDOMBrowser) {
  1464.  
  1465.             target = event.target;
  1466.  
  1467.         }
  1468.  
  1469.         else {
  1470.  
  1471.             target = event.srcElement;
  1472.  
  1473.         }
  1474.  
  1475.         if ((typeof(target) != "undefined") && (target != null)) {
  1476.  
  1477.             if (typeof(target.onchange) != "undefined") {
  1478.  
  1479.                 target.onchange();
  1480.  
  1481.                 event.cancelBubble = true;
  1482.  
  1483.                 if (event.stopPropagation) event.stopPropagation();
  1484.  
  1485.                 return false;
  1486.  
  1487.             }
  1488.  
  1489.         }
  1490.  
  1491.     }
  1492.  
  1493.     return true;
  1494.  
  1495. }
  1496.  
  1497. function WebForm_TrimString(value) {
  1498.  
  1499.     return value.replace(/^\s+|\s+$/g, '')
  1500.  
  1501. }
  1502.  
  1503. function WebForm_AppendToClassName(element, className) {
  1504.  
  1505.     var currentClassName = ' ' + WebForm_TrimString(element.className) + ' ';
  1506.  
  1507.     className = WebForm_TrimString(className);
  1508.  
  1509.     var index = currentClassName.indexOf(' ' + className + ' ');
  1510.  
  1511.     if (index === -1) {
  1512.  
  1513.         element.className = (element.className === '') ? className : element.className + ' ' + className;
  1514.  
  1515.     }
  1516.  
  1517. }
  1518.  
  1519. function WebForm_RemoveClassName(element, className) {
  1520.  
  1521.     var currentClassName = ' ' + WebForm_TrimString(element.className) + ' ';
  1522.  
  1523.     className = WebForm_TrimString(className);
  1524.  
  1525.     var index = currentClassName.indexOf(' ' + className + ' ');
  1526.  
  1527.     if (index >= 0) {
  1528.  
  1529.         element.className = WebForm_TrimString(currentClassName.substring(0, index) + ' ' +
  1530.  
  1531.             currentClassName.substring(index + className.length + 1, currentClassName.length));
  1532.  
  1533.     }
  1534.  
  1535. }
  1536.  
  1537. function WebForm_GetElementById(elementId) {
  1538.  
  1539.     if (document.getElementById) {
  1540.  
  1541.         return document.getElementById(elementId);
  1542.  
  1543.     }
  1544.  
  1545.     else if (document.all) {
  1546.  
  1547.         return document.all[elementId];
  1548.  
  1549.     }
  1550.  
  1551.     else return null;
  1552.  
  1553. }
  1554.  
  1555. function WebForm_GetElementByTagName(element, tagName) {
  1556.  
  1557.     var elements = WebForm_GetElementsByTagName(element, tagName);
  1558.  
  1559.     if (elements && elements.length > 0) {
  1560.  
  1561.         return elements[0];
  1562.  
  1563.     }
  1564.  
  1565.     else return null;
  1566.  
  1567. }
  1568.  
  1569. function WebForm_GetElementsByTagName(element, tagName) {
  1570.  
  1571.     if (element && tagName) {
  1572.  
  1573.         if (element.getElementsByTagName) {
  1574.  
  1575.             return element.getElementsByTagName(tagName);
  1576.  
  1577.         }
  1578.  
  1579.         if (element.all && element.all.tags) {
  1580.  
  1581.             return element.all.tags(tagName);
  1582.  
  1583.         }
  1584.  
  1585.     }
  1586.  
  1587.     return null;
  1588.  
  1589. }
  1590.  
  1591. function WebForm_GetElementDir(element) {
  1592.  
  1593.     if (element) {
  1594.  
  1595.         if (element.dir) {
  1596.  
  1597.             return element.dir;
  1598.  
  1599.         }
  1600.  
  1601.         return WebForm_GetElementDir(element.parentNode);
  1602.  
  1603.     }
  1604.  
  1605.     return "ltr";
  1606.  
  1607. }
  1608.  
  1609. function WebForm_GetElementPosition(element) {
  1610.  
  1611.     var result = new Object();
  1612.  
  1613.     result.x = 0;
  1614.  
  1615.     result.y = 0;
  1616.  
  1617.     result.width = 0;
  1618.  
  1619.     result.height = 0;
  1620.  
  1621.     if (element.offsetParent) {
  1622.  
  1623.         result.x = element.offsetLeft;
  1624.  
  1625.         result.y = element.offsetTop;
  1626.  
  1627.         var parent = element.offsetParent;
  1628.  
  1629.         while (parent) {
  1630.  
  1631.             result.x += parent.offsetLeft;
  1632.  
  1633.             result.y += parent.offsetTop;
  1634.  
  1635.             var parentTagName = parent.tagName.toLowerCase();
  1636.  
  1637.             if (parentTagName != "table" &&
  1638.  
  1639.                 parentTagName != "body" &&
  1640.  
  1641.                 parentTagName != "html" &&
  1642.  
  1643.                 parentTagName != "div" &&
  1644.  
  1645.                 parent.clientTop &&
  1646.  
  1647.                 parent.clientLeft) {
  1648.  
  1649.                 result.x += parent.clientLeft;
  1650.  
  1651.                 result.y += parent.clientTop;
  1652.  
  1653.             }
  1654.  
  1655.             parent = parent.offsetParent;
  1656.  
  1657.         }
  1658.  
  1659.     }
  1660.  
  1661.     else if (element.left && element.top) {
  1662.  
  1663.         result.x = element.left;
  1664.  
  1665.         result.y = element.top;
  1666.  
  1667.     }
  1668.  
  1669.     else {
  1670.  
  1671.         if (element.x) {
  1672.  
  1673.             result.x = element.x;
  1674.  
  1675.         }
  1676.  
  1677.         if (element.y) {
  1678.  
  1679.             result.y = element.y;
  1680.  
  1681.         }
  1682.  
  1683.     }
  1684.  
  1685.     if (element.offsetWidth && element.offsetHeight) {
  1686.  
  1687.         result.width = element.offsetWidth;
  1688.  
  1689.         result.height = element.offsetHeight;
  1690.  
  1691.     }
  1692.  
  1693.     else if (element.style && element.style.pixelWidth && element.style.pixelHeight) {
  1694.  
  1695.         result.width = element.style.pixelWidth;
  1696.  
  1697.         result.height = element.style.pixelHeight;
  1698.  
  1699.     }
  1700.  
  1701.     return result;
  1702.  
  1703. }
  1704.  
  1705. function WebForm_GetParentByTagName(element, tagName) {
  1706.  
  1707.     var parent = element.parentNode;
  1708.  
  1709.     var upperTagName = tagName.toUpperCase();
  1710.  
  1711.     while (parent && (parent.tagName.toUpperCase() != upperTagName)) {
  1712.  
  1713.         parent = parent.parentNode ? parent.parentNode : parent.parentElement;
  1714.  
  1715.     }
  1716.  
  1717.     return parent;
  1718.  
  1719. }
  1720.  
  1721. function WebForm_SetElementHeight(element, height) {
  1722.  
  1723.     if (element && element.style) {
  1724.  
  1725.         element.style.height = height + "px";
  1726.  
  1727.     }
  1728.  
  1729. }
  1730.  
  1731. function WebForm_SetElementWidth(element, width) {
  1732.  
  1733.     if (element && element.style) {
  1734.  
  1735.         element.style.width = width + "px";
  1736.  
  1737.     }
  1738.  
  1739. }
  1740.  
  1741. function WebForm_SetElementX(element, x) {
  1742.  
  1743.     if (element && element.style) {
  1744.  
  1745.         element.style.left = x + "px";
  1746.  
  1747.     }
  1748.  
  1749. }
  1750.  
  1751. function WebForm_SetElementY(element, y) {
  1752.  
  1753.     if (element && element.style) {
  1754.  
  1755.         element.style.top = y + "px";
  1756.  
  1757.     }
  1758.  
  1759. }
  1760.  
  1761.  
  1762. http://awene.com/WebResource.axd?d=m8iV27JIyMxz-cm3l0jgYWloGXhl7ajz1vp28JI9vig1&t=633771530919058260
  1763.  
  1764. var Page_ValidationVer = "125";
  1765.  
  1766. var Page_IsValid = true;
  1767.  
  1768. var Page_BlockSubmit = false;
  1769.  
  1770. var Page_InvalidControlToBeFocused = null;
  1771.  
  1772. function ValidatorUpdateDisplay(val) {
  1773.  
  1774.     if (typeof(val.display) == "string") {
  1775.  
  1776.         if (val.display == "None") {
  1777.  
  1778.             return;
  1779.  
  1780.         }
  1781.  
  1782.         if (val.display == "Dynamic") {
  1783.  
  1784.             val.style.display = val.isvalid ? "none" : "inline";
  1785.  
  1786.             return;
  1787.  
  1788.         }
  1789.  
  1790.     }
  1791.  
  1792.     if ((navigator.userAgent.indexOf("Mac") > -1) &&
  1793.  
  1794.         (navigator.userAgent.indexOf("MSIE") > -1)) {
  1795.  
  1796.         val.style.display = "inline";
  1797.  
  1798.     }
  1799.  
  1800.     val.style.visibility = val.isvalid ? "hidden" : "visible";
  1801.  
  1802. }
  1803.  
  1804. function ValidatorUpdateIsValid() {
  1805.  
  1806.     Page_IsValid = AllValidatorsValid(Page_Validators);
  1807.  
  1808. }
  1809.  
  1810. function AllValidatorsValid(validators) {
  1811.  
  1812.     if ((typeof(validators) != "undefined") && (validators != null)) {
  1813.  
  1814.         var i;
  1815.  
  1816.         for (i = 0; i < validators.length; i++) {
  1817.  
  1818.             if (!validators[i].isvalid) {
  1819.  
  1820.                 return false;
  1821.  
  1822.             }
  1823.  
  1824.         }
  1825.  
  1826.     }
  1827.  
  1828.     return true;
  1829.  
  1830. }
  1831.  
  1832. function ValidatorHookupControlID(controlID, val) {
  1833.  
  1834.     if (typeof(controlID) != "string") {
  1835.  
  1836.         return;
  1837.  
  1838.     }
  1839.  
  1840.     var ctrl = document.getElementById(controlID);
  1841.  
  1842.     if ((typeof(ctrl) != "undefined") && (ctrl != null)) {
  1843.  
  1844.         ValidatorHookupControl(ctrl, val);
  1845.  
  1846.     }
  1847.  
  1848.     else {
  1849.  
  1850.         val.isvalid = true;
  1851.  
  1852.         val.enabled = false;
  1853.  
  1854.     }
  1855.  
  1856. }
  1857.  
  1858. function ValidatorHookupControl(control, val) {
  1859.  
  1860.     if (typeof(control.tagName) != "string") {
  1861.  
  1862.         return;  
  1863.  
  1864.     }
  1865.  
  1866.     if (control.tagName != "INPUT" && control.tagName != "TEXTAREA" && control.tagName != "SELECT") {
  1867.  
  1868.         var i;
  1869.  
  1870.         for (i = 0; i < control.childNodes.length; i++) {
  1871.  
  1872.             ValidatorHookupControl(control.childNodes[i], val);
  1873.  
  1874.         }
  1875.  
  1876.         return;
  1877.  
  1878.     }
  1879.  
  1880.     else {
  1881.  
  1882.         if (typeof(control.Validators) == "undefined") {
  1883.  
  1884.             control.Validators = new Array;
  1885.  
  1886.             var eventType;
  1887.  
  1888.             if (control.type == "radio") {
  1889.  
  1890.                 eventType = "onclick";
  1891.  
  1892.             } else {
  1893.  
  1894.                 eventType = "onchange";
  1895.  
  1896.                 if (typeof(val.focusOnError) == "string" && val.focusOnError == "t") {
  1897.  
  1898.                     ValidatorHookupEvent(control, "onblur", "ValidatedControlOnBlur(event); ");
  1899.  
  1900.                 }
  1901.  
  1902.             }
  1903.  
  1904.             ValidatorHookupEvent(control, eventType, "ValidatorOnChange(event); ");
  1905.  
  1906.             if (control.type == "text" ||
  1907.  
  1908.                 control.type == "password" ||
  1909.  
  1910.                 control.type == "file") {
  1911.  
  1912.                 ValidatorHookupEvent(control, "onkeypress",
  1913.  
  1914.                     "if (!ValidatedTextBoxOnKeyPress(event)) { event.cancelBubble = true; if (event.stopPropagation) event.stopPropagation(); return false; } ");
  1915.  
  1916.             }
  1917.  
  1918.         }
  1919.  
  1920.         control.Validators[control.Validators.length] = val;
  1921.  
  1922.     }
  1923.  
  1924. }
  1925.  
  1926. function ValidatorHookupEvent(control, eventType, functionPrefix) {
  1927.  
  1928.     var ev;
  1929.  
  1930.     eval("ev = control." + eventType + ";");
  1931.  
  1932.     if (typeof(ev) == "function") {
  1933.  
  1934.         ev = ev.toString();
  1935.  
  1936.         ev = ev.substring(ev.indexOf("{") + 1, ev.lastIndexOf("}"));
  1937.  
  1938.     }
  1939.  
  1940.     else {
  1941.  
  1942.         ev = "";
  1943.  
  1944.     }
  1945.  
  1946.     var func;
  1947.  
  1948.     if (navigator.appName.toLowerCase().indexOf('explorer') > -1) {
  1949.  
  1950.         func = new Function(functionPrefix + " " + ev);
  1951.  
  1952.     }
  1953.  
  1954.     else {
  1955.  
  1956.         func = new Function("event", functionPrefix + " " + ev);
  1957.  
  1958.     }
  1959.  
  1960.     eval("control." + eventType + " = func;");
  1961.  
  1962. }
  1963.  
  1964. function ValidatorGetValue(id) {
  1965.  
  1966.     var control;
  1967.  
  1968.     control = document.getElementById(id);
  1969.  
  1970.     if (typeof(control.value) == "string") {
  1971.  
  1972.         return control.value;
  1973.  
  1974.     }
  1975.  
  1976.     return ValidatorGetValueRecursive(control);
  1977.  
  1978. }
  1979.  
  1980. function ValidatorGetValueRecursive(control)
  1981.  
  1982. {
  1983.  
  1984.     if (typeof(control.value) == "string" && (control.type != "radio" || control.checked == true)) {
  1985.  
  1986.         return control.value;
  1987.  
  1988.     }
  1989.  
  1990.     var i, val;
  1991.  
  1992.     for (i = 0; i<control.childNodes.length; i++) {
  1993.  
  1994.         val = ValidatorGetValueRecursive(control.childNodes[i]);
  1995.  
  1996.         if (val != "") return val;
  1997.  
  1998.     }
  1999.  
  2000.     return "";
  2001.  
  2002. }
  2003.  
  2004. function Page_ClientValidate(validationGroup) {
  2005.  
  2006.     Page_InvalidControlToBeFocused = null;
  2007.  
  2008.     if (typeof(Page_Validators) == "undefined") {
  2009.  
  2010.         return true;
  2011.  
  2012.     }
  2013.  
  2014.     var i;
  2015.  
  2016.     for (i = 0; i < Page_Validators.length; i++) {
  2017.  
  2018.         ValidatorValidate(Page_Validators[i], validationGroup, null);
  2019.  
  2020.     }
  2021.  
  2022.     ValidatorUpdateIsValid();
  2023.  
  2024.     ValidationSummaryOnSubmit(validationGroup);
  2025.  
  2026.     Page_BlockSubmit = !Page_IsValid;
  2027.  
  2028.     return Page_IsValid;
  2029.  
  2030. }
  2031.  
  2032. function ValidatorCommonOnSubmit() {
  2033.  
  2034.     Page_InvalidControlToBeFocused = null;
  2035.  
  2036.     var result = !Page_BlockSubmit;
  2037.  
  2038.     if ((typeof(window.event) != "undefined") && (window.event != null)) {
  2039.  
  2040.         window.event.returnValue = result;
  2041.  
  2042.     }
  2043.  
  2044.     Page_BlockSubmit = false;
  2045.  
  2046.     return result;
  2047.  
  2048. }
  2049.  
  2050. function ValidatorEnable(val, enable) {
  2051.  
  2052.     val.enabled = (enable != false);
  2053.  
  2054.     ValidatorValidate(val);
  2055.  
  2056.     ValidatorUpdateIsValid();
  2057.  
  2058. }
  2059.  
  2060. function ValidatorOnChange(event) {
  2061.  
  2062.     if (!event) {
  2063.  
  2064.         event = window.event;
  2065.  
  2066.     }
  2067.  
  2068.     Page_InvalidControlToBeFocused = null;
  2069.  
  2070.     var targetedControl;
  2071.  
  2072.     if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
  2073.  
  2074.         targetedControl = event.srcElement;
  2075.  
  2076.     }
  2077.  
  2078.     else {
  2079.  
  2080.         targetedControl = event.target;
  2081.  
  2082.     }
  2083.  
  2084.     var vals;
  2085.  
  2086.     if (typeof(targetedControl.Validators) != "undefined") {
  2087.  
  2088.         vals = targetedControl.Validators;
  2089.  
  2090.     }
  2091.  
  2092.     else {
  2093.  
  2094.         if (targetedControl.tagName.toLowerCase() == "label") {
  2095.  
  2096.             targetedControl = document.getElementById(targetedControl.htmlFor);
  2097.  
  2098.             vals = targetedControl.Validators;
  2099.  
  2100.         }
  2101.  
  2102.     }
  2103.  
  2104.     var i;
  2105.  
  2106.     for (i = 0; i < vals.length; i++) {
  2107.  
  2108.         ValidatorValidate(vals[i], null, event);
  2109.  
  2110.     }
  2111.  
  2112.     ValidatorUpdateIsValid();
  2113.  
  2114. }
  2115.  
  2116. function ValidatedTextBoxOnKeyPress(event) {
  2117.  
  2118.     if (event.keyCode == 13) {
  2119.  
  2120.         ValidatorOnChange(event);
  2121.  
  2122.         var vals;
  2123.  
  2124.         if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
  2125.  
  2126.             vals = event.srcElement.Validators;
  2127.  
  2128.         }
  2129.  
  2130.         else {
  2131.  
  2132.             vals = event.target.Validators;
  2133.  
  2134.         }
  2135.  
  2136.         return AllValidatorsValid(vals);
  2137.  
  2138.     }
  2139.  
  2140.     return true;
  2141.  
  2142. }
  2143.  
  2144. function ValidatedControlOnBlur(event) {
  2145.  
  2146.     var control;
  2147.  
  2148.     if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
  2149.  
  2150.         control = event.srcElement;
  2151.  
  2152.     }
  2153.  
  2154.     else {
  2155.  
  2156.         control = event.target;
  2157.  
  2158.     }
  2159.  
  2160.     if ((typeof(control) != "undefined") && (control != null) && (Page_InvalidControlToBeFocused == control)) {
  2161.  
  2162.         control.focus();
  2163.  
  2164.         Page_InvalidControlToBeFocused = null;
  2165.  
  2166.     }
  2167.  
  2168. }
  2169.  
  2170. function ValidatorValidate(val, validationGroup, event) {
  2171.  
  2172.     val.isvalid = true;
  2173.  
  2174.     if ((typeof(val.enabled) == "undefined" || val.enabled != false) && IsValidationGroupMatch(val, validationGroup)) {
  2175.  
  2176.         if (typeof(val.evaluationfunction) == "function") {
  2177.  
  2178.             val.isvalid = val.evaluationfunction(val);
  2179.  
  2180.             if (!val.isvalid && Page_InvalidControlToBeFocused == null &&
  2181.  
  2182.                 typeof(val.focusOnError) == "string" && val.focusOnError == "t") {
  2183.  
  2184.                 ValidatorSetFocus(val, event);
  2185.  
  2186.             }
  2187.  
  2188.         }
  2189.  
  2190.     }
  2191.  
  2192.     ValidatorUpdateDisplay(val);
  2193.  
  2194. }
  2195.  
  2196. function ValidatorSetFocus(val, event) {
  2197.  
  2198.     var ctrl;
  2199.  
  2200.     if (typeof(val.controlhookup) == "string") {
  2201.  
  2202.         var eventCtrl;
  2203.  
  2204.         if ((typeof(event) != "undefined") && (event != null)) {
  2205.  
  2206.             if ((typeof(event.srcElement) != "undefined") && (event.srcElement != null)) {
  2207.  
  2208.                 eventCtrl = event.srcElement;
  2209.  
  2210.             }
  2211.  
  2212.             else {
  2213.  
  2214.                 eventCtrl = event.target;
  2215.  
  2216.             }
  2217.  
  2218.         }
  2219.  
  2220.         if ((typeof(eventCtrl) != "undefined") && (eventCtrl != null) &&
  2221.  
  2222.             (typeof(eventCtrl.id) == "string") &&
  2223.  
  2224.             (eventCtrl.id == val.controlhookup)) {
  2225.  
  2226.             ctrl = eventCtrl;
  2227.  
  2228.         }
  2229.  
  2230.     }
  2231.  
  2232.     if ((typeof(ctrl) == "undefined") || (ctrl == null)) {
  2233.  
  2234.         ctrl = document.getElementById(val.controltovalidate);
  2235.  
  2236.     }
  2237.  
  2238.     if ((typeof(ctrl) != "undefined") && (ctrl != null) &&
  2239.  
  2240.         (ctrl.tagName.toLowerCase() != "table" || (typeof(event) == "undefined") || (event == null)) &&
  2241.  
  2242.         ((ctrl.tagName.toLowerCase() != "input") || (ctrl.type.toLowerCase() != "hidden")) &&
  2243.  
  2244.         (typeof(ctrl.disabled) == "undefined" || ctrl.disabled == null || ctrl.disabled == false) &&
  2245.  
  2246.         (typeof(ctrl.visible) == "undefined" || ctrl.visible == null || ctrl.visible != false) &&
  2247.  
  2248.         (IsInVisibleContainer(ctrl))) {
  2249.  
  2250.         if ((ctrl.tagName.toLowerCase() == "table" && (typeof(__nonMSDOMBrowser) == "undefined" || __nonMSDOMBrowser)) ||
  2251.  
  2252.             (ctrl.tagName.toLowerCase() == "span")) {
  2253.  
  2254.             var inputElements = ctrl.getElementsByTagName("input");
  2255.  
  2256.             var lastInputElement  = inputElements[inputElements.length -1];
  2257.  
  2258.             if (lastInputElement != null) {
  2259.  
  2260.                 ctrl = lastInputElement;
  2261.  
  2262.             }
  2263.  
  2264.         }
  2265.  
  2266.         if (typeof(ctrl.focus) != "undefined" && ctrl.focus != null) {
  2267.  
  2268.             ctrl.focus();
  2269.  
  2270.             Page_InvalidControlToBeFocused = ctrl;
  2271.  
  2272.         }
  2273.  
  2274.     }
  2275.  
  2276. }
  2277.  
  2278. function IsInVisibleContainer(ctrl) {
  2279.  
  2280.     if (typeof(ctrl.style) != "undefined" &&
  2281.  
  2282.         ( ( typeof(ctrl.style.display) != "undefined" &&
  2283.  
  2284.             ctrl.style.display == "none") ||
  2285.  
  2286.           ( typeof(ctrl.style.visibility) != "undefined" &&
  2287.  
  2288.             ctrl.style.visibility == "hidden") ) ) {
  2289.  
  2290.         return false;
  2291.  
  2292.     }
  2293.  
  2294.     else if (typeof(ctrl.parentNode) != "undefined" &&
  2295.  
  2296.              ctrl.parentNode != null &&
  2297.  
  2298.              ctrl.parentNode != ctrl) {
  2299.  
  2300.         return IsInVisibleContainer(ctrl.parentNode);
  2301.  
  2302.     }
  2303.  
  2304.     return true;
  2305.  
  2306. }
  2307.  
  2308. function IsValidationGroupMatch(control, validationGroup) {
  2309.  
  2310.     if ((typeof(validationGroup) == "undefined") || (validationGroup == null)) {
  2311.  
  2312.         return true;
  2313.  
  2314.     }
  2315.  
  2316.     var controlGroup = "";
  2317.  
  2318.     if (typeof(control.validationGroup) == "string") {
  2319.  
  2320.         controlGroup = control.validationGroup;
  2321.  
  2322.     }
  2323.  
  2324.     return (controlGroup == validationGroup);
  2325.  
  2326. }
  2327.  
  2328. function ValidatorOnLoad() {
  2329.  
  2330.     if (typeof(Page_Validators) == "undefined")
  2331.  
  2332.         return;
  2333.  
  2334.     var i, val;
  2335.  
  2336.     for (i = 0; i < Page_Validators.length; i++) {
  2337.  
  2338.         val = Page_Validators[i];
  2339.  
  2340.         if (typeof(val.evaluationfunction) == "string") {
  2341.  
  2342.             eval("val.evaluationfunction = " + val.evaluationfunction + ";");
  2343.  
  2344.         }
  2345.  
  2346.         if (typeof(val.isvalid) == "string") {
  2347.  
  2348.             if (val.isvalid == "False") {
  2349.  
  2350.                 val.isvalid = false;
  2351.  
  2352.                 Page_IsValid = false;
  2353.  
  2354.             }
  2355.  
  2356.             else {
  2357.  
  2358.                 val.isvalid = true;
  2359.  
  2360.             }
  2361.  
  2362.         } else {
  2363.  
  2364.             val.isvalid = true;
  2365.  
  2366.         }
  2367.  
  2368.         if (typeof(val.enabled) == "string") {
  2369.  
  2370.             val.enabled = (val.enabled != "False");
  2371.  
  2372.         }
  2373.  
  2374.         if (typeof(val.controltovalidate) == "string") {
  2375.  
  2376.             ValidatorHookupControlID(val.controltovalidate, val);
  2377.  
  2378.         }
  2379.  
  2380.         if (typeof(val.controlhookup) == "string") {
  2381.  
  2382.             ValidatorHookupControlID(val.controlhookup, val);
  2383.  
  2384.         }
  2385.  
  2386.     }
  2387.  
  2388.     Page_ValidationActive = true;
  2389.  
  2390. }
  2391.  
  2392. function ValidatorConvert(op, dataType, val) {
  2393.  
  2394.     function GetFullYear(year) {
  2395.  
  2396.         var twoDigitCutoffYear = val.cutoffyear % 100;
  2397.  
  2398.         var cutoffYearCentury = val.cutoffyear - twoDigitCutoffYear;
  2399.  
  2400.         return ((year > twoDigitCutoffYear) ? (cutoffYearCentury - 100 + year) : (cutoffYearCentury + year));
  2401.  
  2402.     }
  2403.  
  2404.     var num, cleanInput, m, exp;
  2405.  
  2406.     if (dataType == "Integer") {
  2407.  
  2408.         exp = /^\s*[-\+]?\d+\s*$/;
  2409.  
  2410.         if (op.match(exp) == null)
  2411.  
  2412.             return null;
  2413.  
  2414.         num = parseInt(op, 10);
  2415.  
  2416.         return (isNaN(num) ? null : num);
  2417.  
  2418.     }
  2419.  
  2420.     else if(dataType == "Double") {
  2421.  
  2422.         exp = new RegExp("^\\s*([-\\+])?(\\d*)\\" + val.decimalchar + "?(\\d*)\\s*$");
  2423.  
  2424.         m = op.match(exp);
  2425.  
  2426.         if (m == null)
  2427.  
  2428.             return null;
  2429.  
  2430.         if (m[2].length == 0 && m[3].length == 0)
  2431.  
  2432.             return null;
  2433.  
  2434.         cleanInput = (m[1] != null ? m[1] : "") + (m[2].length>0 ? m[2] : "0") + (m[3].length>0 ? "." + m[3] : "");
  2435.  
  2436.         num = parseFloat(cleanInput);
  2437.  
  2438.         return (isNaN(num) ? null : num);
  2439.  
  2440.     }
  2441.  
  2442.     else if (dataType == "Currency") {
  2443.  
  2444.         var hasDigits = (val.digits > 0);
  2445.  
  2446.         var beginGroupSize, subsequentGroupSize;
  2447.  
  2448.         var groupSizeNum = parseInt(val.groupsize, 10);
  2449.  
  2450.         if (!isNaN(groupSizeNum) && groupSizeNum > 0) {
  2451.  
  2452.             beginGroupSize = "{1," + groupSizeNum + "}";
  2453.  
  2454.             subsequentGroupSize = "{" + groupSizeNum + "}";
  2455.  
  2456.         }
  2457.  
  2458.         else {
  2459.  
  2460.             beginGroupSize = subsequentGroupSize = "+";
  2461.  
  2462.         }
  2463.  
  2464.         exp = new RegExp("^\\s*([-\\+])?((\\d" + beginGroupSize + "(\\" + val.groupchar + "\\d" + subsequentGroupSize + ")+)|\\d*)"
  2465.  
  2466.                         + (hasDigits ? "\\" + val.decimalchar + "?(\\d{0," + val.digits + "})" : "")
  2467.  
  2468.                         + "\\s*$");
  2469.  
  2470.         m = op.match(exp);
  2471.  
  2472.         if (m == null)
  2473.  
  2474.             return null;
  2475.  
  2476.         if (m[2].length == 0 && hasDigits && m[5].length == 0)
  2477.  
  2478.             return null;
  2479.  
  2480.         cleanInput = (m[1] != null ? m[1] : "") + m[2].replace(new RegExp("(\\" + val.groupchar + ")", "g"), "") + ((hasDigits && m[5].length > 0) ? "." + m[5] : "");
  2481.  
  2482.         num = parseFloat(cleanInput);
  2483.  
  2484.         return (isNaN(num) ? null : num);
  2485.  
  2486.     }
  2487.  
  2488.     else if (dataType == "Date") {
  2489.  
  2490.         var yearFirstExp = new RegExp("^\\s*((\\d{4})|(\\d{2}))([-/]|\\. ?)(\\d{1,2})\\4(\\d{1,2})\\.?\\s*$");
  2491.  
  2492.         m = op.match(yearFirstExp);
  2493.  
  2494.         var day, month, year;
  2495.  
  2496.         if (m != null && (m[2].length == 4 || val.dateorder == "ymd")) {
  2497.  
  2498.             day = m[6];
  2499.  
  2500.             month = m[5];
  2501.  
  2502.             year = (m[2].length == 4) ? m[2] : GetFullYear(parseInt(m[3], 10))
  2503.  
  2504.         }
  2505.  
  2506.         else {
  2507.  
  2508.             if (val.dateorder == "ymd"){
  2509.  
  2510.                 return null;
  2511.  
  2512.             }
  2513.  
  2514.             var yearLastExp = new RegExp("^\\s*(\\d{1,2})([-/]|\\. ?)(\\d{1,2})(?:\\s|\\2)((\\d{4})|(\\d{2}))(?:\\s\u0433\\.)?\\s*$");
  2515.  
  2516.             m = op.match(yearLastExp);
  2517.  
  2518.             if (m == null) {
  2519.  
  2520.                 return null;
  2521.  
  2522.             }
  2523.  
  2524.             if (val.dateorder == "mdy") {
  2525.  
  2526.                 day = m[3];
  2527.  
  2528.                 month = m[1];
  2529.  
  2530.             }
  2531.  
  2532.             else {
  2533.  
  2534.                 day = m[1];
  2535.  
  2536.                 month = m[3];
  2537.  
  2538.             }
  2539.  
  2540.             year = (m[5].length == 4) ? m[5] : GetFullYear(parseInt(m[6], 10))
  2541.  
  2542.         }
  2543.  
  2544.         month -= 1;
  2545.  
  2546.         var date = new Date(year, month, day);
  2547.  
  2548.         if (year < 100) {
  2549.  
  2550.             date.setFullYear(year);
  2551.  
  2552.         }
  2553.  
  2554.         return (typeof(date) == "object" && year == date.getFullYear() && month == date.getMonth() && day == date.getDate()) ? date.valueOf() : null;
  2555.  
  2556.     }
  2557.  
  2558.     else {
  2559.  
  2560.         return op.toString();
  2561.  
  2562.     }
  2563.  
  2564. }
  2565.  
  2566. function ValidatorCompare(operand1, operand2, operator, val) {
  2567.  
  2568.     var dataType = val.type;
  2569.  
  2570.     var op1, op2;
  2571.  
  2572.     if ((op1 = ValidatorConvert(operand1, dataType, val)) == null)
  2573.  
  2574.         return false;
  2575.  
  2576.     if (operator == "DataTypeCheck")
  2577.  
  2578.         return true;
  2579.  
  2580.     if ((op2 = ValidatorConvert(operand2, dataType, val)) == null)
  2581.  
  2582.         return true;
  2583.  
  2584.     switch (operator) {
  2585.  
  2586.         case "NotEqual":
  2587.  
  2588.             return (op1 != op2);
  2589.  
  2590.         case "GreaterThan":
  2591.  
  2592.             return (op1 > op2);
  2593.  
  2594.         case "GreaterThanEqual":
  2595.  
  2596.             return (op1 >= op2);
  2597.  
  2598.         case "LessThan":
  2599.  
  2600.             return (op1 < op2);
  2601.  
  2602.         case "LessThanEqual":
  2603.  
  2604.             return (op1 <= op2);
  2605.  
  2606.         default:
  2607.  
  2608.             return (op1 == op2);
  2609.  
  2610.     }
  2611.  
  2612. }
  2613.  
  2614. function CompareValidatorEvaluateIsValid(val) {
  2615.  
  2616.     var value = ValidatorGetValue(val.controltovalidate);
  2617.  
  2618.     if (ValidatorTrim(value).length == 0)
  2619.  
  2620.         return true;
  2621.  
  2622.     var compareTo = "";
  2623.  
  2624.     if ((typeof(val.controltocompare) != "string") ||
  2625.  
  2626.         (typeof(document.getElementById(val.controltocompare)) == "undefined") ||
  2627.  
  2628.         (null == document.getElementById(val.controltocompare))) {
  2629.  
  2630.         if (typeof(val.valuetocompare) == "string") {
  2631.  
  2632.             compareTo = val.valuetocompare;
  2633.  
  2634.         }
  2635.  
  2636.     }
  2637.  
  2638.     else {
  2639.  
  2640.         compareTo = ValidatorGetValue(val.controltocompare);
  2641.  
  2642.     }
  2643.  
  2644.     var operator = "Equal";
  2645.  
  2646.     if (typeof(val.operator) == "string") {
  2647.  
  2648.         operator = val.operator;
  2649.  
  2650.     }
  2651.  
  2652.     return ValidatorCompare(value, compareTo, operator, val);
  2653.  
  2654. }
  2655.  
  2656. function CustomValidatorEvaluateIsValid(val) {
  2657.  
  2658.     var value = "";
  2659.  
  2660.     if (typeof(val.controltovalidate) == "string") {
  2661.  
  2662.         value = ValidatorGetValue(val.controltovalidate);
  2663.  
  2664.         if ((ValidatorTrim(value).length == 0) &&
  2665.  
  2666.             ((typeof(val.validateemptytext) != "string") || (val.validateemptytext != "true"))) {
  2667.  
  2668.             return true;
  2669.  
  2670.         }
  2671.  
  2672.     }
  2673.  
  2674.     var args = { Value:value, IsValid:true };
  2675.  
  2676.     if (typeof(val.clientvalidationfunction) == "string") {
  2677.  
  2678.         eval(val.clientvalidationfunction + "(val, args) ;");
  2679.  
  2680.     }
  2681.  
  2682.     return args.IsValid;
  2683.  
  2684. }
  2685.  
  2686. function RegularExpressionValidatorEvaluateIsValid(val) {
  2687.  
  2688.     var value = ValidatorGetValue(val.controltovalidate);
  2689.  
  2690.     if (ValidatorTrim(value).length == 0)
  2691.  
  2692.         return true;
  2693.  
  2694.     var rx = new RegExp(val.validationexpression);
  2695.  
  2696.     var matches = rx.exec(value);
  2697.  
  2698.     return (matches != null && value == matches[0]);
  2699.  
  2700. }
  2701.  
  2702. function ValidatorTrim(s) {
  2703.  
  2704.     var m = s.match(/^\s*(\S+(\s+\S+)*)\s*$/);
  2705.  
  2706.     return (m == null) ? "" : m[1];
  2707.  
  2708. }
  2709.  
  2710. function RequiredFieldValidatorEvaluateIsValid(val) {
  2711.  
  2712.     return (ValidatorTrim(ValidatorGetValue(val.controltovalidate)) != ValidatorTrim(val.initialvalue))
  2713.  
  2714. }
  2715.  
  2716. function RangeValidatorEvaluateIsValid(val) {
  2717.  
  2718.     var value = ValidatorGetValue(val.controltovalidate);
  2719.  
  2720.     if (ValidatorTrim(value).length == 0)
  2721.  
  2722.         return true;
  2723.  
  2724.     return (ValidatorCompare(value, val.minimumvalue, "GreaterThanEqual", val) &&
  2725.  
  2726.             ValidatorCompare(value, val.maximumvalue, "LessThanEqual", val));
  2727.  
  2728. }
  2729.  
  2730. function ValidationSummaryOnSubmit(validationGroup) {
  2731.  
  2732.     if (typeof(Page_ValidationSummaries) == "undefined")
  2733.  
  2734.         return;
  2735.  
  2736.     var summary, sums, s;
  2737.  
  2738.     for (sums = 0; sums < Page_ValidationSummaries.length; sums++) {
  2739.  
  2740.         summary = Page_ValidationSummaries[sums];
  2741.  
  2742.         summary.style.display = "none";
  2743.  
  2744.         if (!Page_IsValid && IsValidationGroupMatch(summary, validationGroup)) {
  2745.  
  2746.             var i;
  2747.  
  2748.             if (summary.showsummary != "False") {
  2749.  
  2750.                 summary.style.display = "";
  2751.  
  2752.                 if (typeof(summary.displaymode) != "string") {
  2753.  
  2754.                     summary.displaymode = "BulletList";
  2755.  
  2756.                 }
  2757.  
  2758.                 switch (summary.displaymode) {
  2759.  
  2760.                     case "List":
  2761.  
  2762.                         headerSep = "<br>";
  2763.  
  2764.                         first = "";
  2765.  
  2766.                         pre = "";
  2767.  
  2768.                         post = "<br>";
  2769.  
  2770.                         end = "";
  2771.  
  2772.                         break;
  2773.  
  2774.                     case "BulletList":
  2775.  
  2776.                     default:
  2777.  
  2778.                         headerSep = "";
  2779.  
  2780.                         first = "<ul>";
  2781.  
  2782.                         pre = "<li>";
  2783.  
  2784.                         post = "</li>";
  2785.  
  2786.                         end = "</ul>";
  2787.  
  2788.                         break;
  2789.  
  2790.                     case "SingleParagraph":
  2791.  
  2792.                         headerSep = " ";
  2793.  
  2794.                         first = "";
  2795.  
  2796.                         pre = "";
  2797.  
  2798.                         post = " ";
  2799.  
  2800.                         end = "<br>";
  2801.  
  2802.                         break;
  2803.  
  2804.                 }
  2805.  
  2806.                 s = "";
  2807.  
  2808.                 if (typeof(summary.headertext) == "string") {
  2809.  
  2810.                     s += summary.headertext + headerSep;
  2811.  
  2812.                 }
  2813.  
  2814.                 s += first;
  2815.  
  2816.                 for (i=0; i<Page_Validators.length; i++) {
  2817.  
  2818.                     if (!Page_Validators[i].isvalid && typeof(Page_Validators[i].errormessage) == "string") {
  2819.  
  2820.                         s += pre + Page_Validators[i].errormessage + post;
  2821.  
  2822.                     }
  2823.  
  2824.                 }
  2825.  
  2826.                 s += end;
  2827.  
  2828.                 summary.innerHTML = s;
  2829.  
  2830.                 window.scrollTo(0,0);
  2831.  
  2832.             }
  2833.  
  2834.             if (summary.showmessagebox == "True") {
  2835.  
  2836.                 s = "";
  2837.  
  2838.                 if (typeof(summary.headertext) == "string") {
  2839.  
  2840.                     s += summary.headertext + "\r\n";
  2841.  
  2842.                 }
  2843.  
  2844.                 var lastValIndex = Page_Validators.length - 1;
  2845.  
  2846.                 for (i=0; i<=lastValIndex; i++) {
  2847.  
  2848.                     if (!Page_Validators[i].isvalid && typeof(Page_Validators[i].errormessage) == "string") {
  2849.  
  2850.                         switch (summary.displaymode) {
  2851.  
  2852.                             case "List":
  2853.  
  2854.                                 s += Page_Validators[i].errormessage;
  2855.  
  2856.                                 if (i < lastValIndex) {
  2857.  
  2858.                                     s += "\r\n";
  2859.  
  2860.                                 }
  2861.  
  2862.                                 break;
  2863.  
  2864.                             case "BulletList":
  2865.  
  2866.                             default:
  2867.  
  2868.                                 s += "- " + Page_Validators[i].errormessage;
  2869.  
  2870.                                 if (i < lastValIndex) {
  2871.  
  2872.                                     s += "\r\n";
  2873.  
  2874.                                 }
  2875.  
  2876.                                 break;
  2877.  
  2878.                             case "SingleParagraph":
  2879.  
  2880.                                 s += Page_Validators[i].errormessage + " ";
  2881.  
  2882.                                 break;
  2883.  
  2884.                         }
  2885.  
  2886.                     }
  2887.  
  2888.                 }
  2889.  
  2890.                 alert(s);
  2891.  
  2892.             }
  2893.  
  2894.         }
  2895.  
  2896.     }
  2897.  
  2898. }
  2899.  
  2900.  
  2901. Inline Script from http://awene.com/awene.aspx
  2902.  
  2903. //<![CDATA[
  2904. function WebForm_OnSubmit() {
  2905. if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
  2906. return true;
  2907. }
  2908. //]]>
  2909.  
  2910. Inline Script from http://awene.com/awene.aspx
  2911.  
  2912. //<![CDATA[
  2913. var Page_Validators =  new Array(document.getElementById("RequiredFieldValidator1"));
  2914. //]]>
  2915.  
  2916. Inline Script from http://awene.com/awene.aspx
  2917.  
  2918. //<![CDATA[
  2919. var RequiredFieldValidator1 = document.all ? document.all["RequiredFieldValidator1"] : document.getElementById("RequiredFieldValidator1");
  2920. RequiredFieldValidator1.controltovalidate = "RefList";
  2921. RequiredFieldValidator1.errormessage = "&#1578;&#1705;&#1575;&#1740;&#1607;&#8204; &#1740;&#1607;&#8204;&#1705;&#1742;&#1603; &#1604;&#1607;&#8204; &#1608;&#1607;&#8204;&#1717;&#1575;&#1605;&#1607;&#8204;&#1705;&#1575;&#1606; &#1607;&#1607;&#8204;&#1717;&#1576;&#1688;&#1742;&#1585;&#1607;&#8204;!";
  2922. RequiredFieldValidator1.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
  2923. RequiredFieldValidator1.initialvalue = "";
  2924. //]]>
  2925.  
  2926. Inline Script from http://awene.com/awene.aspx
  2927.  
  2928. //<![CDATA[
  2929.  
  2930. var Page_ValidationActive = false;
  2931. if (typeof(ValidatorOnLoad) == "function") {
  2932.     ValidatorOnLoad();
  2933. }
  2934.  
  2935. function ValidatorOnSubmit() {
  2936.     if (Page_ValidationActive) {
  2937.         return ValidatorCommonOnSubmit();
  2938.     }
  2939.     else {
  2940.         return true;
  2941.     }
  2942. }
  2943.         //]]>
  2944.  
  2945. http://awene.com/Hewal_Frame.aspx