Welcome Guest Search | Active Topics | Sign In | Register

Javascript error when using IFRAME Options
BP
Posted: Wednesday, December 2, 2009 8:27:09 PM
Rank: Member
Groups: Member

Joined: 8/27/2009
Posts: 10
Hi,

I am using your Treeview, and Popup control on a page that contains an IFRAME. Everything works as expected until I send a PDF file to the IFRAME (ie stream a document with the following code)

Code: C#
Response.ClearHeaders();
            Response.ClearContent();
            Response.AppendHeader("content-length", bytes.Length.ToString());
            Response.ContentType = "Application/pdf";
            Response.BinaryWrite(bytes);
            Response.End();


When the page is written to the IFRAME I am receiving a Javascript error: "No such interface supported" when your script attempts to execute the following code :

eofi_r(document,"onmousedown",_eofi_ak)

The page works without error if I open in a new window/tab.

Here is the complete javascript reported by the debugger.

Help!

Brian



Code: JavaScript
//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 7.0.27.2
//**********************************************************************************************************
 var _eo_objs=new Array();function _eofi_a(a,b,c,d){var e=window[a];if(e)_eofi_b(e);_eo_objs[c.aj]=new _eofi_f(b,c,d);window[a]=c;c.ak=d;window[c.getId()]=c;}function _eofi_b(a){a.unload();for(var b in _eo_objs){var c=_eo_objs[b];if(c&&(c.al==a))_eo_objs[b]=null;}window[a.getId()]=null;}function _eofi_c(a,b){for(var c in _eo_objs){var d=_eo_objs[c];if(!d)continue;var e=d.am;if(!e||(typeof(e)!=--str:d818568b-b17c-4bb2-a791-0910b36a3fa9--))continue;if(d&&d.al&&d.al.an(a)){var f=d.al;for(var g=0;g&lt;b.length;g++){if(b[g]==f){f=null;break;}}if(f){_eofldr_q(b,d.al);var h=d.al.ao();if(h)_eofi_c(h,b);}}}}var eo_b=false;function _eofi_d(a,b){var c;if(!a)return;var d=new Array();_eofi_c(a,d);eo_b=b;try{for(c=0;c&lt;d.length;c++)_eofi_b(d[c]);}catch(a){}eo_b=false;}function _eofi_e(){return eo_b;}function _eofi_f(a,b,c){this.ap=a;this.aj=b.aj;this.al=b;this.am=c;}function eo_GetObject(a){var b;var c;var d=null;for(b in _eo_objs){c=_eo_objs[b];if(c&&(c.aj==a)){d=c.al;if(d.aq())return d;}}d=null;for(b in _eo_objs){c=_eo_objs[b];if(c&&(c.ap==a)){if(!d)d=c.al;else _eofi_k(--str:dec0d10d-3390-4d55-89b7-090d467c07c5--+--str:3ab9342e-d5bf-4c90-84ce-5334164e9200--+--str:37e4a9c9-3664-4e6b-99c4-818c7b9260c4--+--str:3580cce9-605e-4101-bd1a-682a7f4abbf2--+--str:ef8ada36-bc5c-4ae2-95ef-8b6857e2db93--);}}if(d&&d.aq())return d;return null;}function _eofi_g(a,b){var c=new Array();var d=--str:feb5fd79-0d07-48e5-a6b3-a47c64127099--+b.toLowerCase()+--str:8891c85d-1d83-44d5-8fbe-e53f0332b2ed--;for(var e in _eo_objs){var f=_eo_objs[e];if(!f)continue;var g=f.am;if(!g||(typeof(g)!=--str:a005efb6-5ec7-4f20-aa59-27334eb6f455--))continue;g=--str:5ec05933-dce4-4c5e-b62c-015dcc01f479--+g+--str:8dff94e2-1dd5-41e1-92af-dd632052a3ed--;if(d.indexOf(g.toLowerCase())&lt;0)continue;if(a&&(f.ap!=a))continue;_eofldr_q(c,f.al);}return c;}function eo_GetObjects(a,b){return _eofi_g(a,b);}var eo_c=null;function eo_GetContainer(a,b){if(eo_c)a=eo_c.ao();if(!a)return;var c=_eofi_g(null,b);if(!c)return;while(a){var d;var e;for(var f=0;f&lt;c.length;f++){d=c[f];if(d.ar)continue;e=d.ao();if((e==a)&&(d.getType()==b))return d;}if(a.eo_d)a=a.eo_d;else a=a.parentNode;}return null;}function _eofi_h(a,b){for(var c in _eo_objs){var d=_eo_objs[c];if(!d)continue;var e=d.am;if(!e||(typeof(e)!=--str:14edb1fe-b391-4580-93e2-523fdc3f05aa--))continue;var f=d.al;var g=f.ao();if(g){while(g){if(g==a){f.as();if(b)f.unload();}g=g.parentNode;}}}}function _eofi_i(a,b){if(_eofldr_h()==--str:aba2a268-f7b4-4366-bc74-007238e1a1ee--)window.setTimeout(a,b,--str:380b206e-b911-4dfe-85e4-ac598a91a4e0--);else window.setTimeout(a,b);}var eo_e=false;var eo_f=0;function eo_SetDebug(a){_eo_debug=a;}function _eofi_j(){if(typeof(_eo_preview_mode)==--str:8435c694-05b1-4466-85e1-883d74ab137b--)return false;return _eo_preview_mode!=0;}function _eofi_k(a){if(_eo_debug){if(_eofi_j())window.alert(a);else window.alert(--str:1a173e58-777f-447b-ac12-e7b9bc2b31aa--+a+--str:10daae44-41d0-4dc9-a3a7-92b433e7d2f8--+--str:20f02562-ffc7-4816-b63c-d1a2e5fed1bb--+--str:149fabcf-2640-41d2-bc65-f2dbe3e693ad--);}}function _eofi_l(){var a=_eofldr_a();a.at=new Object();a.b=new Object();a.k=new _eofldr_b();var b=document.getElementById(--str:a4848b65-5fc0-4546-827b-2e96a500fc7c--);a.k.au=b;a.k.j();if(_eofldr_a().k.f==--str:545eb318-6cdc-44bf-833a-35cbd9066702--){var c=document.createElement(--str:968a3d5f-4f12-46c1-9c05-00fd8814ca3c--);_eofldr_a().k.av=c;b.appendChild(c);}_eofi_n();_eofi_p(document,--str:525290ae-4d3c-4d6f-9e2e-37f011b412ef--,_eofi_ak);if((_eofldr_h()==--str:193e1dd4-c79e-475b-a063-1820a977063a--)||(_eofldr_h()==--str:484e56a6-661c-4dc0-8479-80d1387b4293--)){_eofi_p(document,--str:cb8f62b5-10e7-4b14-b452-f2f20ccc0baa--,_eofi_al);_eofi_p(document,--str:9a1933c9-a65e-441b-bc1d-3024cec096c0--,_eofi_am);_eofi_p(document,--str:eabdc030-e283-4565-b8ea-3bcc9f43cf4a--,_eofi_aq);}else{_eofi_p(document,--str:404e3a48-35f5-46ad-a436-f175000cbe5a--,_eofi_al);if(_eofldr_h()==--str:b4c8b965-2c19-41cf-a7a1-94d936ff8f47--)_eofi_p(window,--str:0eab69cd-6fb4-404f-a7bf-0f11fe707aa3--,_eofi_aq);else _eofi_p(window,--str:6ead8560-ffca-415e-9ec8-8427f3e63c44--,_eofi_aq);}_eofi_p(window,--str:a5fdb614-f5c6-4b91-9574-13788176d4c0--,_eofi_an);_eofi_p(window,--str:84ce7aba-805e-4eac-9a3c-3a9696db1c71--,_eofi_ap);}function _eofi_m(){if(typeof(_eofu_bh)==--str:d8d788fa-c715-41ad-acce-55bfbfcdfae6--){_eofu_bh();_eofu_bw();_eofu_aw();}_eofldr_x();_eofi_dn.aw=null;var a=_eofldr_a();if(a.k){a.k.au=null;a.k.av=null;}if(a.at){a.at.ax=null;a.at=null;}a.b=null;a.k=null;_eofldr_a.a=null;_eofi_r(document,--str:bf1ce6c1-60bc-4db1-b0ea-458137af6f02--,_eofi_ak);if(_eofldr_h()==--str:7f8bfce4-fb57-42ec-a5f5-924dc6254004--){_eofi_r(document,--str:73e440d2-c92b-45a1-905c-e7e9dccc806f--,_eofi_al);_eofi_r(document,--str:d8d5cf1f-72b7-44e2-92b6-e28e0a0b45a6--,_eofi_am);_eofi_r(document,--str:2dd612d7-a41b-4ba5-8f44-b543a3df7d5a--,_eofi_aq);}else{_eofi_r(document,--str:5035f286-2ce2-4f65-b388-7e8713c58952--,_eofi_al);if(_eofldr_h()==--str:e622434f-6041-4155-ad2a-8c8ca75605e1--)_eofi_r(window,--str:25f4e7f5-79e7-4963-b356-bb13db58d39b--,_eofi_aq);else _eofi_r(window,--str:4c36122a-c6cf-4e78-b634-812519007f0d--,_eofi_aq);}_eofi_r(window,--str:c478fc13-458c-4882-9d0f-dfa0ebcf0e1a--,_eofi_an);_eofi_r(window,--str:020f3435-4b5e-465b-a90e-e1ce69219529--,_eofi_ap);}function _eofi_n(){if(!_eofi_n.ay)_eofi_n.ay=1;else _eofi_n.ay++;}function _eofi_o(){if(--_eofi_n.ay==0)_eofi_m();}function _eofi_p(a,b,c){if(a.attachEvent)a.attachEvent(b,c);else if(a.addEventListener)a.addEventListener(b.substr(2),c,false);else{var d=a.eo_g;if(!d){d=new Array();a.eo_g=d;_eofldr_t(a);}var e=d[b];if(!e){e=new Array();d[b]=e;var f=a[b];if(f)_eofldr_q(e,f);a[b]=function(e){_eofi_q(e,b,a.id);};}_eofldr_q(e,c);}}function _eofi_q(a,b,c){var d=_eofu_gy(c);if(!d)return;var e=d.eo_g;if(e)e=e[b];if(e){for(var f=0;f&lt;e.length;f++){var g=e[f];if(g)g(a);}}}function _eofi_r(a,b,c){if(a.attachEvent)a.detachEvent(b,c);else if(a.addEventListener)a.removeEventListener(b,c,false);else{var d=a.eo_g;if(d)d=d[b];if(d){for(var e=0;e&lt;d.length;e++){if(d[e]==c)d[e]=null;}}_eofldr_v(a);}}function _eofi_s(){try{if(_eofldr_a().k.f==--str:86a45951-4918-4cd9-b539-6145d756e655--){var a=_eofi_s.caller.caller.caller;}return--str:a950b6e4-2986-4468-8025-e25e78529bd8--;}catch(e){return--str:a7d7a26c-4585-49e7-942f-d1cd2f779455--;}}function _eofi_t(a){var b=--str:92e44f97-de68-4656-9796-fabb5890c932--;var c=_eofi_s();if(c){for(var d=0;d&lt;a.length;d++){var e=a.charCodeAt(d);if(e&gt;128)b+=String.fromCharCode(e-128);else b+=c.charAt(e-1);}} return b;}function _eofi_u(a){var b=--str:c73f4327-1790-4555-84bd-5f625b621b93--;var c=_eofi_s();if(c){var d=--str:5af005d2-c8cf-40c4-a8e5-5ad8ea12bb80--;var e=d.length;for(var f=0;f&lt;a.length;f++){var g=a.charCodeAt(f);var h=(d.charCodeAt((f+7)%e)+e)%128;g+=h;if(g&gt;=128)g-=127;if(g&gt;=128)g-=127;b+=String.fromCharCode(g);}} return b;}function _eofi_v(a){var b=a[a.length-1];a.length=a.length-1;return b;}function _eofi_w(a,b,c){for(var d=a.length;d&gt;c;d--)a[d]=a[d-1];a[c]=b;}function _eofi_x(a,b){var c=a[b];var d=a.length-1;for(var e=b;e&lt;d;e++)a[e]=a[e+1];a.length=d;return c;}function _eofi_y(a,b,c){if(b==c)return;var d=a[b];a[b]=a[c];a[c]=d;}function _eofi_z(){this.az=_eofi_aa;this.p=_eofi_ab;this.n=_eofi_ac;this.o=_eofi_ad;this.ba=_eofi_ae;this.bb=_eofi_af;this.a=new Array();this.bc=0;this.bd=0;}function _eofi_aa(){this.a=new Array();this.bd=0;}function _eofi_ab(a){return this.a[a];}function _eofi_ac(a,b){if(b==null){throw--str:01a50477-7175-4e2e-a1e9-ea99a01d4dc8--+a+--str:2c833565-1af6-40e3-9d29-318995697c38--+b+--str:02b2f909-77b6-480d-8383-2fdbfc124ac2--;}else{if(a==null){this.bd++;a=--str:f5333364-6538-4aa6-84f1-e18b20e129fe--+this.bd.toString();}this.a[a]=b;}return a;}function _eofi_ad(a){var b=this.a[a];if(b){this.a[a]=null;this.bc++;if(this.bc&gt;100)this.bb();}return b;}function _eofi_ae(a){for(var b in this.a){if(this.a[b]==a)this.o(b);}}function _eofi_af(){var a=new Array();for(var b in this.a){var c=this.a[b];if(c)a[b]=c;}this.bc=0;this.a=a;return a;}function _eofi_ag(a){var b=new Date();if(a==null)a=--str:78473740-cfcd-4c02-b031-dbca15b5c60b--;a=b.getHours()+--str:adcf62f1-729c-48f7-a86c-f51fe38ae38d--+b.getMinutes()+--str:7c2057a3-c1b9-49c5-95d6-6a4a6bed12b6--+b.getSeconds()+--str:a1c0a99f-0904-4442-b2aa-e0a2d98be4bb--+b.getMilliseconds()+--str:820ffd9e-9769-44fb-a828-8ec3bcca5409--+a;var c=_eofldr_a().k;if((c.f==--str:d8dbd779-fc6a-457c-945d-eee52e8fe557--)&&!c.g)Debug.write(a);else if(c.f==--str:2b4eddb1-feea-4e09-a399-1d48f11bb695--)opera.postError(a);else{if((c.f==--str:cfa7b7a0-d4f9-4195-8cef-137c7e9735fd--)||(c.f==--str:bb534b05-59d6-4ca3-a24f-e768229d06d8--))dump(a);var d=_eofldr_a().k.au;if(d){var e=_eofldr_a().k.av;if(e){a=a.replace(--str:56d7f1ae-ad5a-4900-b38e-2ce72ac75d11--,--str:ffe5d56e-3993-406f-8273-5bf246ad4322--);var f=_eofldr_n(_eofldr_m(e));f.innerHTML=a;}else{a=a.replace(--str:3a81170b-431c-48aa-b500-55d4dfd5d99c--,--str:b21bb4f0-ae4d-4471-b0d1-492d125dedc3--);d.innerHTML=d.innerHTML+a;}}if(window.console&&window.console.log)window.console.log(a);}}function _eofi_ah(a){_eofi_ag(a+--str:cbbbed6e-e2f0-4d40-ad65-e461f2828477--);}function _eofi_ai(a,b){_eofi_ah(a+--str:7b775206-343b-488a-9c48-36d534d0bc23--+b);for(var c in b){_eofi_ah(--str:f8ce5f8d-5b78-4784-b1f4-4874fd5ac92e--+c+--str:2d618481-a0c2-40d8-bf3f-297f640204e6--+b[c]);}}function _eofi_aj(a){if(eo_h){a=_eofi_by(a);if(a){var b=eo_h.ao();if(b&&!_eofi_az(a,b)){eo_h.be();eo_h=null;}}}}function _eofi_ak(a){if((_eofldr_h()==--str:6a239fd3-752e-4d3f-b234-407ccaef2920--)&&_eofi_dz())return;if(typeof(_eofnv_hl)==--str:2fd4b650-f8da-425f-bf34-84b1ccfe3bcb--)_eofnv_hl(a);if(typeof(_eofsv_u)==--str:04f0e0ee-c55f-47e4-b8fb-1174be4b12a8--)_eofsv_u(a);if(typeof(_eofu_bq)==--str:8a35dda6-1fe0-429d-a1b1-c7379fea9904--){if(_eofu_ar(a))return;for(var b in _eo_objs){var c=_eo_objs[b];if(c&&c.al&&c.al.bf)c.al.bf(a);}_eofi_aj(a);_eofu_bq();}}function _eofi_al(a){if(typeof(_eofdg_ce)==--str:4c2207c9-1d2c-4a2e-8125-2eeeff85dc69--){if(_eofdg_ce(a)==false)return false;}if(typeof(_eofme_dd)==--str:6f1ecd46-7eaa-42bb-8bab-4c274a66d90f--){if(_eofme_dd(a)==false)return false;}if(typeof(_eofnv_ho)==--str:c35935a2-c707-4c49-9ef7-c2c7c21b8f46--){if(_eofnv_hp(a)==false)return false;if(_eofnv_ho(a,null)==false)return false;if(_eofnv_ho(a,eo_h)==false)return false;}if(typeof(_eofdd_m)==--str:f609433f-a491-4e4d-9677-9ea4e28ede1d--){_eofdd_m(a);}if(eo_h&&eo_h.bg){if(eo_h.bg(a)==false){_eofi_dx(document,a);return false;}}if(_eofldr_h()!=--str:7880fc79-0bdd-4139-b00f-09f7acab5e89--)return _eofi_am(a);}function _eofi_am(a){if(typeof(_eofme_de)==--str:3c53037b-3fda-4095-a0df-dd055e04daa4--){if(_eofme_de(a)==false)return;}}var eo_i=null;var eo_j=null;function _eofi_an(){eo_e=true;if(!eo_i){eo_i=window[--str:fabda6c0-e9dc-464b-8467-9ed6f6cd445c--];window[--str:1dcb2dbd-59a4-4a6f-8781-c235f8d52a0d--]=_eofi_bu;eo_j=window[--str:56d5d3d8-32fd-453d-bdc0-54edc3b54ff4--];window[--str:c703b2ba-f5b7-4e3b-b6d3-9516d7935e95--]=_eofi_ar;if(_eofi_ey()&&!_eo_aspnet11&&(_eofldr_h()==--str:7c55a4f5-6518-4162-8195-adfe4bef2370--)){var a=document.getElementById(--str:0c1d6cf3-af8f-48f8-8ae5-485c6018be3e--);var b=document.getElementById(--str:1c3e6aa7-5c6f-45b1-9a96-ea063cb9b5c9--);if((a!=null)&&(b!=null)){if(!a.value&&b.value)a.value=b.value;else if(a.value)b.value=a.value;}}}else{eo_k.__EVENTTARGET.value=--str:c3f03cbb-eabf-4762-9eb0-4194cda2c922--;eo_k.__EVENTARGUMENT.value=--str:e366c364-3773-4aa1-8e94-bda3de9e02cb--;eo_l=null;eo_m=null;}_eofi_ao();if(typeof(_eofnv_hr)==--str:c4bc8591-b6c4-4099-9ba0-10658d1ad711--)_eofnv_hr();_eofi_eq();}function _eofi_ao(){var a=new Array();var b=--str:1b4c317b-aa84-4202-b339-88034cbe1475--+--str:a762f2f5-4b37-4608-8035-1529e288ee74--+--str:713fc055-63ac-4f59-aee5-f0d0b01ff74a--+--str:fcb2f640-26e2-4dc0-9d82-59f222c4aeee--;for(var c in _eo_objs){var d=_eo_objs[c];if(d==null)continue;var e=_eo_objs[c].al;if(e==null)continue;var f=document.getElementById(e.aj+b);if(f){var g=60000;if((_eofldr_h()==--str:4b4f0eda-f87d-4b1e-ad1d-903ed3211549--)||(_eofldr_h()==--str:8d8a0ef5-5766-4aa1-b449-1036ffacef33--))g=0x73281457+0xCD7EBA8;else g=39928+25607;f.style.zIndex=g;_eofldr_q(a,f);}if(e.bh)e.bh();}for(c=0;c&lt;a.length;c++){var h=a[c];if(c==0){if(h.parentNode!=document.body){h.parentNode.removeChild(h);document.body.appendChild(h);h.style.display=--str:cbc2a640-8f04-47a6-ab91-d0b7e10f930e--;}}else{h.style.display=--str:a1c8ddba-d85c-4d3a-a31a-2ebd831d60e7--;}}}var eo_n;function _eofi_ap(){eo_n=true;if(typeof(_eofnv_ht)==--str:d0de3f9c-cb49-4e17-b848-a17e45d065f6--)_eofnv_ht();if(typeof(_eofcd_hh)==--str:82f7ca54-721d-4361-a1af-509d6e0ab89a--)_eofcd_hh();if(typeof(_eofpb_ab)==--str:5194d5d2-2ac9-4046-bbe8-f189d1018bfc--)_eofpb_ab();if(typeof(_eofcp_dm)==--str:ec59dcf5-3e69-4205-aeb8-07f714e78643--)_eofcp_dm();if(typeof(_eofed_hr)==--str:6099ef09-f197-47d7-8f0a-f5e508f3b2e5--)_eofed_hr();for(var a in _eo_objs){objInfo=_eo_objs[a];if(objInfo&&objInfo.al)objInfo.al.unload();}_eofi_o();}function _eofi_aq(a){if(!a)a=window.event;if(!a)return;var b=0;if(a.wheelDelta){b=event.wheelDelta/120;if((_eofldr_h()==--str:4253c8dd-de52-4a2d-a338-836394bf1290--)&&(_eofldr_i()&lt;9))b=-b;}else if(a.detail)b=-a.detail/3;if(b){for(var c in _eo_objs){var d=_eo_objs[c];if(d&&d.al&&d.al.bi&&(d.al==eo_h)&&!d.al.ar){d.al.bi(a,b);break;}}}}function _eofi_ar(a){if(eo_o){var b=eo_o[a];if(b)a=b;}for(i in _eo_objs){objInfo=_eo_objs[i];if(objInfo&&(objInfo.aj==a)&&objInfo.al)return objInfo.al.bj();}if(eo_j)return eo_j(a);return--str:977dfa73-3730-4c4d-8187-6166f020029d--;}window._eo_js=1;_eofi_l();function _eofi_as(a,b){if(b){var c=_eofldr_h();if((c==--str:26d89aa0-6ecd-48ba-8581-f40cb9db9d07--)||(c==--str:ccdce1e7-07c9-4d42-bb79-a923eb555922--)||(c==--str:af7d3a34-097e-41e1-82a0-f63ee4092ced--)){if(a.tagName==--str:e82fc7b2-8221-44bb-9a9e-f1d69ab99291--)a.style.display=--str:e0c504a6-7a2e-45f1-8132-82440745dbe8--;else a.style.display=--str:0599f997-c18b-4fd0-82e6-cb4924848ea2--;}else if(c==--str:ae9ffa1b-71ae-4382-9a72-46b05d8f5cce--)a.style.display=--str:e322c285-ab5f-4969-aa98-99f649a89410--;else a.style.display=--str:0dc4b88e-af19-48fc-9a54-6d3f76ec126b--;}else{a.style.display=--str:7f3ad2bf-de1a-43d0-944e-ae29a092ea96--;}}function _eofi_at(a,b){if(b){var c=_eofldr_h();if((c==--str:df19924d-4727-4ae2-b306-5c6a2118310c--)||(c==--str:87eeee05-a1dd-4d30-82ea-a1f19803dd17--)||(c==--str:a30830eb-b534-4836-89eb-ae9a470d7d3d--)){if(a.tagName==--str:c65e7b2b-e637-4ad1-ba01-cb822b9aac8f--)a.style.display=--str:a11a8815-996f-41c1-b836-eb54be96bfa9--;else a.style.display=--str:11597c44-669c-430f-a6e4-a442aa4b4276--;}else if(c==--str:8d9ef85d-c450-477d-94b0-4e856a488ad9--)a.style.display=--str:0fb0607f-a0ab-4908-86ee-427ae4add956--;else a.style.display=--str:abacab52-87f3-4f77-afa0-dc40cdacf7ee--;}else{a.style.display=--str:be4a38f1-bd3a-4535-8423-f8382a2e3fe2--;}}function _eofi_au(){return _eofi_ep(--str:dfcc150c-6701-4501-9ba6-a14c7f4147b6--);}function _eofi_av(a,b,c,d,e,f){return _eofi_au()+--str:89fdf6c5-ec81-424e-9ddd-cacc7033ac9b--+--str:c3225419-79ff-4094-87c1-eeb35795ad1d--+escape(a)+--str:cfbbbcc6-0546-42e3-ac20-5218b3f7df92--+escape(b)+--str:6eb5842a-1499-4de6-a920-0f888d4bd832--+c+--str:310d36fa-587a-4248-bf11-7765c1d1ad6d--+d+--str:0d534e86-11f8-4668-98ed-a3713d11f559--+e+--str:297d825f-5dd5-41c6-9325-b8d4b59361b8--+(f?--str:915da3ad-75c9-4731-bff6-a828021abe96--:--str:00e7ab4f-289a-4e5c-8371-633bc9fd6ff1--);}function _eofi_aw(a,b,c){return _eofi_au()+--str:d0292719-57e9-4ce5-ba8f-e173365d978f--+--str:59f20383-86e0-45bb-b290-87ea336afe89--+escape(a)+--str:904d3b0f-d437-47ed-aa64-f5b154b9f1e8--+b+--str:8cda4daa-c135-4101-9992-9197132d10ed--+c;}function _eofi_ax(a){return _eofi_au()+--str:5698f988-c075-4991-8a65-1b0f487bf103--+--str:978d4572-ab3e-4f10-a63a-e30c7b34ee5e--+escape(a);}function _eofi_ay(a){if(a&&(a.tagName==--str:bd9e7ebf-0fd7-4baf-b1ec-d2a2106b67dd--)){var b=a.rows[0];var c=b.cells[0];if(!c)c=b.children[0];return c;}return a;}function _eofi_az(a,b){if(!b)return false;while(a&&(a!=b)){if(a.eo_d)a=a.eo_d;else a=a.parentNode;}return a==b;}var eo_p=-1;var eo_q=new Array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','0','1','2','3','4','5','6','7','8','9','+','/');function _eofi_ba(){this.a=--str:6e83893d-e16e-4921-94fa-6561c45dda49--;this.bk=--str:a12d738d-e16c-4a4f-8246-6fcda322366c--;this.bl=0;}function _eofi_bb(a){if(typeof(a)==--str:849adf1f-3f8f-4f59-ba23-6da23e815d24--){this.bk+=a;this.bl+=a.length;}else{this.bk+=String.fromCharCode(a);this.bl++;}if(this.bl&gt;20)this.bm();}function _eofi_bc(){if(this.bl){this.a+=this.bk;this.bk=--str:f82a65c8-18c5-43bd-8cb8-7eeb60a9ceb1--;this.bl=0;}}function _eofi_bd(){this.bm();this.bn=this.a;this.bo=0;var a='';var b=new Array(3);var c=0;var d=false;while(!d&&(b[0]=this.bp())!=eo_p){b[1]=this.bp();b[2]=this.bp();a+=(eo_q[b[0]&gt;&gt;2]);if(b[1]!=eo_p){a+=(eo_q[((b[0]&lt;&lt;4)&0x30)|(b[1]&gt;&gt;4)]);if(b[2]!=eo_p){a+=(eo_q[((b[1]&lt;&lt;2)&0x3c)|(b[2]&gt;&gt;6)]);a+=(eo_q[b[2]&0x3F]);}else{a+=(eo_q[((b[1]&lt;&lt;2)&0x3c)]);a+=('=');d=true;}}else{a+=(eo_q[((b[0]&lt;&lt;4)&0x30)]);a+=('=');a+=('=');d=true;}c+=4;if(c&gt;=76){a+=('\n');c=0;}}return a;}function _eofi_be(){if(!this.bn)return eo_p;if(this.bo&gt;=this.bn.length)return eo_p;var a=this.bn.charCodeAt(this.bo)&0xff;this.bo++;return a;}_eofi_ba.prototype.bq=_eofi_bb;_eofi_ba.prototype.bm=_eofi_bc;_eofi_ba.prototype.bp=_eofi_be;_eofi_ba.prototype.aaa=_eofi_bd;function _eofi_bf(a){if(a!=null)this.aab=a;else this.aab=--str:c8f31fa3-14fe-4702-95ad-f483406e44f3--;this.aac=--str:78e2e25b-5c46-49e9-96fe-06098c497ab5--;}function _eofi_bg(a,b){if(b.aab||b.aad){if(!this.aad){this.aad=new Array();this.aae=new Array();}if(this.aad[a]==null)_eofldr_q(this.aae,a);this.aad[a]=b;b.aac=a;}}function _eofi_bh(a){if(this.aad)return this.aad[a];return null;}function _eofi_bi(){return this.aae&&this.aae.length;}function _eofi_bj(a){var b=--str:da6badb1-ad69-4784-928f-645046174cec--;if(a&gt;=128){b+=String.fromCharCode(((a&0xff00)&gt;&gt;8)|0x80);b+=String.fromCharCode(a&0xff);}else if(a&gt;0){b+=String.fromCharCode(a);}else{b+=String.fromCharCode(0);}return b;}function _eofi_bk(){if(!this.aac&&!this.aab&&!this.aad)return--str:6073bfc4-8d23-41a4-9e55-a13e0273e872--;var a=--str:303af80b-f6a9-4719-a423-c98d8361a922--;if(this.aae&&this.aae.length){a=this.aaf(this.aae.length);for(var b=0;b&lt;this.aae.length;b++){var c=this.aad[this.aae[b]];if(c.aaa){var d=c.aaa();a+=this.aaf(d.length)+d;}}}var e=--str:2cf808a9-6658-4aff-ae5e-0720454552e7--;if(a)e=--str:ae402dfb-9df0-4366-8942-6d01270360a2--;var f=this.aac+e+_eofi_bn(this.aab);var g=f.length;f=this.aaf(g)+f;if(a)f=f+a;return f;}function _eofi_bl(a){var b=String.fromCharCode;var c,bt2,bt3,bt4,bt5,bt6;if(a&lt;128)return String.fromCharCode(a);else if(a&lt;=2047){c=(192+(a/64))&0xff;bt2=(128+(a%64))&0xff;return b(c)+b(bt2);}else if(a&lt;=65535){c=(224+(a/4096))&0xff;bt2=(128+((a/64)%64))&0xff;bt3=(128+(a%64))&0xff;return b(c)+b(bt2)+b(bt3);}else if(a&lt;=2097151){c=(240+(a/262144))&0xff;bt2=(128+((a/4096)%64))&0xff;bt3=(128+((a/64)%64))&0xff;bt4=(128+(a%64))&0xff;return b(c)+b(bt2)+b(bt3)+b(bt4);}else if(a&lt;=67108863){c=(248+(a/16777216))&0xff;bt2=(128+((a/262144)%64))&0xff;bt3=(128+((a/4096)%64))&0xff;bt4=(128+((a/64)%64))&0xff;bt5=(128+(a%64))&0xff;return b(c)+b(bt2)+b(bt3)+b(bt4)+b(bt5);}else if(a&lt;=2147483647){c=(252+(a/1073741824))&0xff;bt2=(128+((a/16777216)%64))&0xff;bt3=(128+((a/262144)%64))&0xff;bt4=(128+((a/4096)%64))&0xff;bt5=(128+((a/64)%64))&0xff;bt6=(128+(a%64))&0xff;return b(c)+b(bt2)+b(bt3)+b(bt4)+b(bt5)+b(bt6);}return--str:ad2d756d-d47e-4755-bf8e-398099704d07--;}function _eofi_bm(a){var b=new Array();for(var c=0;c&lt;a.length;c++){var d=a.charCodeAt(c);b[c]=_eofi_bl(d);}return b.join(--str:a81e591f-dd8a-4b39-80d2-1ac470ce707d--);}function _eofi_bn(a){if(!a)return a;if(typeof(a)!=--str:4d8db504-6a1c-4621-b9b5-8dfad19b1a44--){a=a.toString();}else{a=a.replace(/:/g,--str:ba9425bf-9746-4362-98d3-e3b2dbb22a76--);a=a.replace(/!/g,--str:48150fa3-75ef-467e-ac04-54c2445f752d--);a=_eofi_bm(a);}return a;}function _eofi_bo(){var a=this.aaa();var b=new _eofi_ba();b.bq(a);a=b.aaa();return a;}_eofi_bf.prototype.aag=_eofi_bg;_eofi_bf.prototype.aah=_eofi_bh;_eofi_bf.prototype.aai=_eofi_bi;_eofi_bf.prototype.aaf=_eofi_bj;_eofi_bf.prototype.aaa=_eofi_bk;_eofi_bf.prototype.aaj=_eofi_bo;function _eofi_bp(a){if(!eo_k||!_eofi_ey())return;if(eo_k.eo_r)return true;var b=null;var c=null;var d=false;if(eo_k.__EVENTTARGET&&eo_k.__EVENTARGUMENT){b=eo_k.__EVENTTARGET.value;c=eo_k.__EVENTARGUMENT.value;eo_k.__EVENTTARGET.value=eo_l;eo_k.__EVENTARGUMENT.value=eo_m;d=true;}var e=true;if(!a||(_eofi_ey()&&!_eo_aspnet11)){if(_eofi_bq()==false)e=false;}if(!e||_eofi_bt()==false)e=false;if(d){eo_k.__EVENTTARGET.value=b;eo_k.__EVENTARGUMENT.value=c;}if(e)_eofi_fa();return e;}function _eofi_bq(){if(eo_k&&eo_k.eo_s&&_eofi_ey()){if(_eo_aspnet11&&!window.event)return true;if(window[--str:d0ac33d2-4024-4409-aeaa-0fb73d413e7a--]==true)return true;if(eo_k.eo_s()==false)return false;}return true;}function _eofi_br(){var a=new _eofi_bf();for(var b in _eo_objs){var c=_eo_objs[b];if(c&&c.al){var d=c.al;if(d.aak&&d.aak()&&!d.ar&&d.aj){var e=d.aal();if(e)a.aag(d.aj,e);}}}var f=document.getElementsByName(--str:683f7c8e-d801-4dbd-bda5-b63c16b319dd--);if(f&&(f.length&gt;=1)){f[0].value=a.aaj();}}function _eofi_bs(a){var b=document.getElementsByName(a);if((b==null)||(b.length==0))b=null;if(b){for(var c=0;c&lt;b.length;c++)b[c].value=--str:8abb5c56-7a3c-4e49-99c0-a986527d5fee--;}}function _eofi_bt(){_eofi_bs(--str:b5a3b6f5-55af-4b71-8266-1b7687a9eb6f--);_eofi_bs(--str:d8a7aba1-cb9f-4907-b994-ce3a68b5572e--);_eofi_br();for(var a in _eo_objs){var b=_eo_objs[a];if(b&&b.al){var c=b.al;if(c.aam&&(c.aam()==false))return false;}}}var eo_k=null;var eo_l=null;var eo_m=null;var eo_t=false;var eo_u=null;function _eofi_bu(a,b){eo_t=true;if(eo_i){if(_eofi_ey()&&_eo_aspnet11&&a)a=a.split(--str:66b26655-bcc3-4394-aed8-6417c1a68574--).join(--str:524bbc09-bc44-483d-9b28-fd2c4178d5b9--);eo_l=a;eo_m=b;if(_eofi_bp(true)==false)return;if(eo_k)eo_k.eo_r=true;eo_i(a,b);if(eo_k){eo_k.eo_r=false;}eo_l=null;eo_m=null;}}function _eofi_bv(){var a=document.forms;if(typeof(window[--str:b984d2ce-4fae-420d-892b-a48fc95ab493--])==--str:a52572cf-35ab-4a17-920e-24d7c6a0280b--){if(a.length&gt;0)eo_k=a[0];}else{for(var b=0;b&lt;a.length;b++){var c=a[b];if((c.eo_s==null)&&((c.id==_eo_form)||(c.name==_eo_form))){eo_k=c;break;}}}if(eo_k&&!eo_k.eo_s){eo_k.eo_s=eo_k.onsubmit;eo_k.onsubmit=_eofi_bp;}}function _eofi_bw(){if(window.__smartNav){var a=window.__smartNav.form;if(a)a.attachEvent(--str:7efba3d9-2107-4d78-95da-543c07d39cdb--,_eofi_bx);}}function _eofi_bx(){for(i in _eo_objs){var a=_eo_objs[i];if(a){var b=a.al;if(b){b.unload();_eo_objs[i]=null;}}}}_eofi_bv();_eofi_bw();function eo_Demo_ShowRow(a,b){_eofi_as(a,b);}function _eofi_by(a){if(!a&&window.event)a=window.event;if(a.srcElement)return a.srcElement;if(a){if(a.tagName)return a;else{var b=a.target;while(b.nodeType!=1)b=b.parentNode;return b;}}}function _eofi_bz(a){if(!a)return a;a=a.split(':').join('_');a=a.split('$').join('_');return a;}function _eofi_ca(a){var b=_eofu_s(a);if(b.parentWindow)return b.parentWindow;else{if(_eofldr_h()!=--str:25e0411f-a05e-4fdc-9010-fa2e4ae588e9--)return b.defaultView;else{while(a){if(a.eo_v)return a.eo_v;var c=a.parent;if(c==a)break;a=c;}return window;}}}function _eofi_cb(){_eofi_k(--str:129a70f4-7ad8-4fd0-b354-dc5ca283a746--);}function _eofi_cc(){return null;}function _eofi_cd(){return true;}function _eofi_ce(){return false;}function _eofi_cf(a){}function _eofi_cg(a){if(a)this.aan(a);}function _eofi_ch(a){this.aao(a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10]);}function _eofi_ci(a,b,c,d,e,f,g,h,i,j){this.aj=a;this.ak=b;this.aap=c;this.aaq=j;this.aar=d;this.aas=f;this.aat=g;this.aau=h;this.aav=i;if(e)_eofi_k(e);}function _eofi_cj(a){if(this.aaw)return;this.aaw=true;this.aax=a;var b=_eofldr_a();if(!b.b[this.aj])this.aay=1;if(this.aay&&!this.aax)this.aaz=1;}function _eofi_ck(){return this.ak;}function _eofi_cl(a){var b=a.toLowerCase()+--str:428933c2-09db-45e3-b37d-276d2f3cf39a--;var c=this.ak.toLowerCase()+--str:d7223703-9034-4fea-94a0-45e3f38342f6--;return b.indexOf(c)&gt;=0;}function _eofi_cm(){return this.aj;}function _eofi_cn(){if(this.aar&&(typeof(_eofnv_a)==--str:6dfe7863-db97-49f3-9348-b91e63be79a6--))_eofnv_a(this.aar);}function _eofi_co(){if(this.aar&&!this.aar.aba)_eofi_ak();}function _eofi_cp(){return--str:3ac917a5-7dd9-4a25-a89b-ba9e9956d9a3--;}function _eofi_cq(){if(!this.ar){this.abb(--str:ca99d8e8-b8bc-4d3c-beee-93d689d9ba96--,this.aat,[this]);if(this.abc){this.abc();for(var a in this.abd){var b=this.abd[a];if(b)b.abe=true;}}this.ar=true;}}function _eofi_cr(){var a=this.ao();if(!a)return true;return a.ownerDocument!=null;}function _eofi_cs(a){var b=this.abf();if(b&&_eofi_az(b,a))return true;b=this.ao();if(b&&(b!=a)&&_eofi_az(b,a))return true;return false;}function _eofi_ct(a){return eo_GetContainer(this.ao(),a);}function _eofi_cu(a){_eofi_k(--str:e42b0f4e-49cf-4bfe-978e-9b87acc231f3--+this.aj+--str:0cca6f1f-b08d-4848-8d86-e5807e69fe39--+a);}function _eofi_cv(a,b,c,d){if(this.aau){var e=window[this.aau];if(typeof(e)==--str:39752135-7e0c-4a06-ba46-718e3bbf4cd8--){e(this,a,b,c);return;}}if(c)b=_eoffmt_b(b,c);if(d)window.alert(b);else this.abg(b+--str:6246ea88-3c08-47b6-b5eb-46795d0bdc42--);}function _eofi_cw(a,b,c,d){if(this.aav){var e=window[this.aav];if(typeof(e)==--str:728a05f1-d53f-47e5-88b3-80c0f1570ca7--)return e(this,a,b,c,d);}if(d)b=_eoffmt_b(b,d);if(c==--str:d48c550d-48fb-4f22-b163-cbb0f76f23f1--)return window.confirm(b);else if(c==--str:53b46358-9e3e-40f0-9b31-00e0608011c5--)window.alert(b);}var eo_h=null;function _eofi_cx(a,b){if(eo_h)eo_h.be();eo_h=a;try{a.abh(b);}catch(e){}}function _eofi_cy(a){_eofi_cx(this,a);}function _eofi_cz(){return eo_h;}function _eofi_da(){return eo_h==this;}function _eofi_db(){var a=this.ao();if(a)return a.offsetWidth;else return null;}function _eofi_dc(){if(!this.abi)this.abj();}function _eofi_dd(a){if(typeof(a)!=--str:e22e7023-71a5-4c5a-bd6d-f548e259f03f--)return;if(a&lt;0)a=0;var b=this.ao();if(b){b.style.width=_eofu_ae(a);this.abk();}}function _eofi_de(){var a=this.ao();if(a)return a.offsetHeight;else return null;}function _eofi_df(a){if(typeof(a)!=--str:cbbd7bc3-b845-4c54-bb8e-01ef632ff7c7--)return;if(a&lt;0)a=0;var b=this.ao();if(b){b.style.height=_eofu_ae(a);this.abk();}}function _eofi_dg(a,b){this.abi=true;this.abl(a);this.abm(b);this.abi=false;this.abk();}function _eofi_dh(){if(this.ar)return;if(this.isLoaded()){if(this.aas){var a=window[this.aas];if(typeof(a)==--str:78a22468-76b5-475d-a798-a87b7395f7a6--){a(this);}}}else{var b=this;setTimeout(function(){b.abn();},100);}}function _eofi_di(a){if(typeof(a)==--str:bac40b44-3eb9-44c4-8f10-76e249448972--)return window[a];else return a;}function _eofi_dj(a,b){if(typeof(b)==--str:dc09fd98-e1fa-4f3a-9a9c-833359d0db92--)return b;if(typeof(b)==--str:d1d98658-81e5-48cf-9d0a-dbacc47203eb--){if((b.indexOf(--str:1357b430-60d8-4104-8673-d6e1ca8078f3--)&gt;=0)||(b.indexOf(--str:8fb0f8d3-cdbc-461b-8f7c-4eb64b7bf7ae--)&gt;=0)||(b.indexOf(--str:91eac6f1-a233-4207-a4c7-07c52d9bc230--)&gt;=0)||(b.indexOf(--str:b7a445b3-ea50-4ce1-bfe5-f9c5ca80960c--)&gt;=0)){_eofi_k(a+--str:4e61bdc0-0049-4807-869e-8d4f041a2b88--+--str:d44a3814-9f55-40f6-a4ed-24c1ce04fb97--+a+--str:20aa43d4-32a1-4b29-9908-ceae5782f420--+a+--str:676ad6f6-f106-4103-acf6-36d95a5ecda5--);return null;}return window[b];}return null;}function _eofi_dk(a,b,c,d){var e=b;b=_eofi_dj(a,b);if(!b){if(typeof(e)==--str:268d141c-bae3-4f4e-a601-0abaed1ea673--)_eofi_k(--str:1c86ea78-8521-4f40-b5e5-0a908c62943e--+a+--str:3b51d309-960c-4329-8849-ff519d5246a4--+e+--str:290ff30b-1d92-4c51-b3f6-0f1f0641d950--);return;}if(!d)b.apply(window,c);else{if(!this.abd)this.abd=new Object();var f=this.abd;var g=f[a];if(g)g.abe=true;g=new Object();f[a]=g;g.abo=b;g.abp=c;setTimeout(function(){if(!g.abe)g.abo.apply(window,c);f[a]=null;},d);}}function _eofi_dl(a){if(!eo_e&&_eofi_ey()&&!_eo_aspnet11&&(_eofldr_h()==--str:eb813d10-28ad-446b-9302-f6739163cbe3--))return;if(a==null)a=--str:fc0d8245-2a9b-4be1-bbde-7638e32f5388--;var b=this.aaq;a=a.replace(/\\/g,--str:92c6c98e-8e43-43ce-8649-0801405fd3c6--);a=a.replace(/\--str:af257891-f3b4-4f97-a846-3ec5ca9c978f--\\\--str:bfa853b3-63ed-4582-9bce-5b309b6ba2ad--);a=a.replace(/\'/g,--str:69de13c1-27b7-4bf9-9c18-b629479f9b03--);a=a.replace(/\n/g,--str:130cdfa6-06b1-49ad-9679-1c77b9487d26--);a=a.replace(/\r/g,--str:408e4fec-0ff1-4e1a-9043-54efabedd9d5--);b=b.replace(--str:364e6038-1192-49c5-ba7a-059a9e6067b8--,a);eval(b);}function _eofi_dm(){return this.ao();}_eofi_cg.prototype.aan=_eofi_ch;_eofi_cg.prototype.aao=_eofi_ci;_eofi_cg.prototype.abq=_eofi_cj;_eofi_cg.prototype.abc=_eofi_cc;_eofi_cg.prototype.abr=_eofi_ck;_eofi_cg.prototype.abs=_eofi_cl;_eofi_cg.prototype.abt=_eofi_cm;_eofi_cg.prototype.ao=_eofi_cc;_eofi_cg.prototype.abf=_eofi_cc;_eofi_cg.prototype.as=_eofi_cc;_eofi_cg.prototype.abu=_eofi_cn;_eofi_cg.prototype.abv=_eofi_co;_eofi_cg.prototype.bj=_eofi_cp;_eofi_cg.prototype.aq=_eofi_cr;_eofi_cg.prototype.abw=_eofi_cr;_eofi_cg.prototype.an=_eofi_cs;_eofi_cg.prototype.abx=_eofi_cv;_eofi_cg.prototype.abg=_eofi_cu;_eofi_cg.prototype.aby=_eofi_cw;_eofi_cg.prototype.abz=_eofi_cv;_eofi_cg.prototype.aca=_eofi_cy;_eofi_cg.prototype.be=_eofi_cc;_eofi_cg.prototype.abh=_eofi_cc;_eofi_cg.prototype.abn=_eofi_dh;_eofi_cg.prototype.acb=_eofi_cd;_eofi_cg.prototype.abk=_eofi_dc;_eofi_cg.prototype.abm=_eofi_df;_eofi_cg.prototype.acc=_eofi_df;_eofi_cg.prototype.abl=_eofi_dd;_eofi_cg.prototype.acd=_eofi_dd;_eofi_cg.prototype.abj=_eofi_cc;_eofi_cg.prototype.abb=_eofi_dk;_eofi_cg.prototype.ace=_eofi_dl;_eofi_cg.prototype.acf=_eofi_dl;_eofi_cg.prototype.getId=_eofi_cm;_eofi_cg.prototype.getType=_eofi_ck;_eofi_cg.prototype.isLoaded=_eofi_cd;_eofi_cg.prototype.unload=_eofi_cq;_eofi_cg.prototype.getOffsetWidth=_eofi_db;_eofi_cg.prototype.getOffsetHeight=_eofi_de;_eofi_cg.prototype.setWidth=_eofi_dd;_eofi_cg.prototype.setHeight=_eofi_df;_eofi_cg.prototype.setSize=_eofi_dg;_eofi_cg.prototype.focus=_eofi_cy;_eofi_cg.prototype.hasFocus=_eofi_da;_eofi_cg.prototype.getRootElement=_eofi_dm;function _eofi_dn(){this.abe=false;this.acg=null;}function _eofi_do(){return this.abe;}function _eofi_dp(){this.abe=true;}function _eofi_dq(){return this.ach;}function _eofi_dr(a){_eofi_dn.acg=a;}function eo_GetEventInfo(){if(!_eofi_dn.acg)_eofi_dn.acg=new _eofi_dn();return _eofi_dn.acg;}function eo_CancelEvent(){var a=eo_GetEventInfo();if(a)a.cancel();}_eofi_dn.prototype.isCanceled=_eofi_do;_eofi_dn.prototype.cancel=_eofi_dp;_eofi_dn.prototype.getSender=_eofi_dq;function _eofi_ds(a,b,c,d){if(!a.acb())return;a.aci(b,c);if(a.acj)a.acj();a.abn();if(d&&eo_e){eo_f--;if(eo_f==0)_eofi_ao();}}function _eofi_dt(a){var b=new Array();for(var c=1;c&lt;a.length;c++)b[c-1]=a[c];this.ack=b;}function _eofi_du(){var a=null;var b=document.getElementsByTagName(--str:1e6f35e4-4156-4b59-9259-215fab5e46e5--)[0];if(b)a=b.href;else a=document.URL;var c=a.length;var d=a.lastIndexOf('?');if(d&gt;0)a=a.substr(0,d+1);d=a.lastIndexOf('#');if(d&gt;0)a=a.substr(0,d+1);d=a.lastIndexOf('/');if(d&gt;0)a=a.substr(0,d+1);else a=--str:4ab4d8bf-bc35-4554-b49f-dd8219322283--;return a;}function _eofi_dv(a,b){if(!a)return a;if((a.indexOf(--str:734afa51-b30e-4891-a61b-c1ad35e79cbd--)&gt;0)||(a.indexOf(--str:ba97e09f-50fe-469f-ac00-93ba28147726--)&gt;0))return a;if((a.charAt(0)=='/')||(a.charAt(0)=='\\'))return a;if((a.indexOf(--str:12362eae-b6f9-4552-aba9-c957a192292d--)&gt;=0)&&window._eo_imgdir&&(b!=false))return window._eo_imgdir+a;if(b==true)return a;else{var c=_eofi_du();if(c&&(c.indexOf(--str:cdcc928b-116a-485d-9a40-e39ff95facc5--)==0))return a;return c+a;}}function _eofi_dw(a,b){if(b)return b;if(!a)return window.event;if(a.document&&a.document.parentWindow){var c=a.document.parentWindow;if(c.event)return c.event;}return null;}function _eofi_dx(a,b){b=_eofi_dw(a,b);b.cancelBubble=true;if(b.preventDefault)b.preventDefault();}var eo_w;function _eofi_dy(){eo_w=new _eofi_el();}function _eofi_dz(){return eo_w&&(eo_w.p()&lt;10);}function eo_CancelBubble(a){_eofi_dx(null,a);}function eo_ObjLoaded(a){var b=document.getElementById(a);if(b)b.eo_x=true;}function _eofi_ea(a){return a.eo_x;}function _eofi_eb(a){return a&&(a.tagName==--str:fcfc4660-1729-47a0-8cf8-52bc5c1c030a--)&&(a.type==--str:894169dd-8cff-4cda-8470-6e56ae647420--);}function _eofi_ec(a){if(a.eo_y!=null)return;if(a.disabled==null)a.eo_y=-1;else if(a.disabled)a.eo_y=1;else a.eo_y=0;var b=a.childNodes;for(var c=0;c&lt;b.length;c++){var d=b[c];if(d.nodeType==1)_eofi_ec(d);}if(!_eofi_eb(a))a.disabled=true;}function _eofi_ed(a){if(a.eo_y==null)return;if(!_eofi_eb(a)){switch(a.eo_y){case-1:a.disabled=null;break;case 1:a.disabled=true;break;case 0:a.disabled=false;break;}a.eo_y=null;}var b=a.childNodes;for(var c=0;c&lt;b.length;c++){var d=b[c];if(d.nodeType==1)_eofi_ed(d);}}function _eofi_ee(a){var b=/\s*((\S+\s*)*)/;return a.replace(b,--str:be08d69b-3d21-4607-89fc-c6018d91dba0--);}function _eofi_ef(){return _eofi_ee(this);}function _eofi_eg(a){var b=/((\s*\S+)*)\s*/;return a.replace(b,"$1");}function _eofi_eh(){return _eofi_eg(this);}function _eofi_ei(a){return _eofi_eg(_eofi_ee(a));}function _eofi_ej(){return _eofi_ei(this);}String.prototype.trimLeft=_eofi_ef;String.prototype.trimRight=_eofi_eh;String.prototype.trim=_eofi_ej;function _eofi_ek(){var a=new Date();return(((a.getHours()*60)+a.getMinutes())*60+a.getSeconds())*1000+a.getMilliseconds();}function _eofi_el(){this.acl=_eofi_ek();}function _eofi_em(a,b){if(b<a)b+=24*60*60*1000;return b-a;}function _eofi_en(){var a=_eofi_ek();return _eofi_em(this.acl,a);}function _eofi_eo(){return this.acl;}_eofi_el.prototype.p=_eofi_en;_eofi_el.prototype.bj=_eofi_eo;function _eofi_ep(a){if(typeof(_eo_handlerUrl)=="string")return _eo_handlerUrl+"?id="+a;else return"eo_web.ashx?id="+a;}var eo_z=null;var eo_aa=new Array();function eo_ASPNETAjaxPageLoading(a,b){try{var c;var d=b.get_panelsUpdating();var e=b.get_panelsDeleting();if(d){for(c=0;c<d.length;c++)_eofi_d(d[c],true);}if(e){for(c=0;c<e.length;c++)_eofi_d(e[c],true);}}catch(e){}}function eo_ASPNETAjaxBeginRequest(){_eofi_bs("_eo_js_modules");_eofi_bs("_eo_obj_inst");}function eo_ASPNETAjaxEndRequest(){_eofi_an();}function _eofi_eq(){if(eo_u==null){eo_u=(typeof(Sys)=="object")&&(typeof(Sys.WebForms)=="object")&&(typeof(Sys.WebForms.PageRequestManager)=="function");if(eo_u){var a=Sys.WebForms.PageRequestManager.getInstance();if(a){var b=Function.createDelegate(window,window.eo_ASPNETAjaxBeginRequest);a.add_beginRequest(b);b=Function.createDelegate(window,window.eo_ASPNETAjaxEndRequest);a.add_endRequest(b);b=Function.createDelegate(window,window.eo_ASPNETAjaxPageLoading);a.add_pageLoading(b);}else eo_u=false;}}var c=document.getElementsByName("_eo_js_modules");if((c==null)||(c.length==0))c=null;eo_z=null;if(c)eo_z=c[0].value;if(!document.eo_ab){document.eo_ab=document.write;document.write=_eofi_ev;document.eo_ac=document.writeln;document.writeln=_eofi_ew;}_eofi_er();_eofi_et();}function _eofi_er(){if(eo_z){var a=eo_z.split("|");for(var b=0;b<a.length/2;b++){var c=a[b*2+1];var d=a[b*2];if(!window.eo_modules||(("|"+window.eo_modules).indexOf("|"+c+"|")<0)){if(_eofi_es(d))break;}}}}function _eofi_es(a,b){if(eo_aa[a]!=null){if(b)b();}else{eo_aa[a]=a;var c=document.createElement("SCRIPT");c.type="text/javascript";c.src=a;if(b){var d=function(){if(!c.eo_ad){c.eo_ad=true;b();}};c.onload=d;c.onreadystatechange=function(){if(c.readyState=="loaded"){d();}}}var e=document.getElementsByTagName("HEAD");if((e!=null)&&(e.length>0))e[0].appendChild(c);return true;}return false;}function _eofi_et(){var a=document.getElementsByName("_eo_obj_inst");if(a){eo_f=1;for(var b=0;b<a.length;b++){var c=a[b].value;c=c.replace(/\\1/g,"&lt;");c=c.replace(/\\2/g,"&gt;");c=c.replace(/\\!/g,"\"");c=c.replace(/\\~/g,"&");eo_f++;if(b==a.length-1)eo_f--;if(c){eval(c);}}}}function _eofi_eu(){if(typeof(_eo_guardDocWrite)!="undefined")_eofi_k("You can not use document.write or document.writeln inside a CallbackPanel update block. "+"Such call could completely clear out the current document that is being updated.");}function _eofi_ev(a){_eofi_eu();document.eo_ab(a);}function _eofi_ew(a){_eofi_eu();document.eo_ae(a);}function _eofi_ex(a){a.eo_af=true;}function _eofi_ey(){return typeof(_eo_aspnet11)!="undefined";}var eo_o;function eo_Imposter(a,b){if(!eo_o)eo_o=new Array();eo_o[b]=a;}function _eofi_ez(a){if((_eofldr_h()=="MZ")&&(_eofldr_i()>=1.9)){for(var b=0;b<frames.length;b++){if(frames[b].name==a)return frames[b];}}return frames[a];}function _eofi_fa(){for(var a=0;a<2;a++){var b=document.getElementsByTagName(a==0?"INPUT":"A");for(var c=0;c<b.length;c++){var d=b[c];if(d.eo_ag){if(a==0){if(d.type=="image")d.src=d.eo_ah;else d.style.color="lightGray";}else{_eofi_ec(d);d.href="javascript:void(0);";}d.onclick=function(e){_eofi_dx(d,e);return false;}}}}}function _eofi_fb(a){if(typeof(a)=="string")a=document.getElementById(a);if(typeof(a)=="string")a=document.getElementById(a);if((a.tagName=="INPUT")&&(a.type=="image")){a.eo_ai=a.src;a.eo_ah=_eofi_ax(a.src);_eofu_bu(a.eo_ah,a.id);}a.eo_ag=true;}function _eofi_fc(){}_eofi_fc.prototype.showRow=_eofi_as;_eofi_fc.prototype.disableElement=_eofi_ec;_eofi_fc.prototype.stopDisableElement=_eofi_ed;window.EO=new Object();window.EO.Web=new Object();window.EO.Web.DOMUtils=new _eofi_fc();window.EO.Web.DOMUtils.getDisabledUrl=_eofi_ax;window.EO.Web.getObject=eo_GetObject;window.EO.Web.getEventInfo=eo_GetEventInfo;window.EO.Web.cancelEvent=eo_CancelEvent;window.EO.Web.cancelBubble=eo_CancelBubble;eo_ModuleLoaded('i');
eo_support
Posted: Thursday, December 3, 2009 9:10:10 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Can you provide a full test page/project that can reproduce the error?

Thanks!
BP
Posted: Thursday, December 3, 2009 8:55:31 PM
Rank: Member
Groups: Member

Joined: 8/27/2009
Posts: 10
Ok, I have been able to track it down further.... The problem occurs when a Page that is running within an Iframe has a masterpage. When the Page replaces itself with another page that is not a html document (eg a PDF file) the fault will occur. The masterPage has a EO MsgBox on it.

Here is the code:

Master Page:

Code: HTML/ASPX
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Debug.Master.cs" Inherits="ecWebsite.Member.Debug.Debug" %>
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body style="background-color:White">
    <form id="aspform" runat="server">
    <div>
        <asp:ContentPlaceHolder ID="body" runat="server">
        
        </asp:ContentPlaceHolder>
    </div>

    <eo:MsgBox ID="popup" runat="server" AllowResize="True" BorderColor="#335C88" 
        BorderStyle="Solid" BorderWidth="1px" CloseButtonUrl="00070101" 
        ControlSkinID="None" HeaderHtml="Dialog Title" 
        Height="200px" Width="300px" 
        ShadowColor="LightGray" ShadowDepth="3" BackColor="InfoBackground">
        <HeaderStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 11px;  padding-bottom: 3px; padding-top: 3px; background-color:#507CD1;color:White;font-weight:bold;" />
        <FooterStyleActive CssText="padding-bottom: 8px;" />
        <ContentStyleActive CssText="padding-top: 4px;padding-left: 4px;padding-right: 4px;font-weight:bold;" />
    </eo:MsgBox>
    </form>
</body>
</html>



Page that contains the IFRAME


Code: HTML/ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestForm.aspx.cs" Inherits="ecWebsite.Debug.TestForm" %>

<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <script language="javascript" type="text/javascript">
        function actionItem(e, eventInfo) {
            var itemId = eventInfo.getItem();
            var url = itemId.getNavigateUrl();
            if (url) document.getElementById("iframe").src = url; ;
            return false;
        }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <table width="100%">
    <tr>
        <td width="600px">
                <iframe id="iframe" runat ="server"
                src="TestPage1.aspx"
                width="100%" height="500px" 
                frameborder="0" scrolling="auto">
        Sorry, your browser does not support IFRAMES. 
        </iframe>
        </td>
    <td valign="top">
     <eo:CallbackPanel ID="callbackMenu" runat="server" Height="300px" Width="277px">
    <eo:TreeView ID="tvMenu" runat="server" Height="250px" Width="200px"  
    ControlSkinID="None" ClientSideOnItemClick="actionItem">
    <LookNodes>
        <eo:TreeNode ItemID="_Default" CollapsedImageUrl="00030301" 
            DisabledStyle-CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;color:Gray;padding-bottom:1px;padding-left:1px;padding-right:1px;padding-top:1px;" 
            ExpandedImageUrl="00030302" ImageUrl="00030301" 
            NormalStyle-CssText="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; COLOR: black; BORDER-TOP-STYLE: none; PADDING-TOP: 1px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none" 
            
            SelectedStyle-CssText="background-color:#316ac5;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;color:White;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;">
        </eo:TreeNode>
    </LookNodes>
    <TopGroup Style-CssText="border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;color:black;cursor:hand;font-family:Tahoma;font-size:8pt;padding-bottom:2px;padding-left:2px;padding-right:2px;padding-top:2px;">
        <Nodes>
            <eo:TreeNode ImageUrl="00030303" NavigateUrl="TestPage1.aspx" 
                Text="Test Normal Page">
            </eo:TreeNode>
            <eo:TreeNode ImageUrl="00030303" NavigateUrl="TestPage2.aspx" Text="Load PDF via ASPX">
            </eo:TreeNode>
            <eo:TreeNode ImageUrl="00030303" NavigateUrl="sample.pdf" Text="Load PDF Directly">
            </eo:TreeNode>

        </Nodes>
    </TopGroup>
    </eo:TreeView>   
    </eo:CallbackPanel>   
        </td>
    </tr>
    </table>

    </div>
    </form>
</body>
</html>



A Page that will site in the Iframe (all it has it has is two buttons.. one will attempt to load a PDF file, the other will load a normal ASPX page):


Code: HTML/ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPage1.aspx.cs" Inherits="ecWebsite.Debug.TestPage" MasterPageFile="~/Debug/Debug.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
.dragme{position:relative;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
    <div>
    This is a normal ASPX page displayed in an iframe
 <br />
 
    <asp:Button ID="Button1" runat="server" Text="Cause Error" onclick="Button1_Click1" />
     <asp:Button ID="Button2" runat="server" Text="Replace Page (no error)" 
            onclick="Button2_Click"  />

</asp:Content>



Test Page 2 (which is a normal ASPX file)


Code: HTML/ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPage2.aspx.cs" Inherits="ecWebsite.Debug.TestPage2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    This is a normal ASP page  ----
    </div>
    </form>
</body>
</html>



Here is the code behind for TestPage 1... you can replace "sample.pdf" with any PDF file


Code: C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ecWebsite.Debug
{
    public partial class TestPage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click1(object sender, EventArgs e)
        {
            Response.Redirect("sample.pdf",true);
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            Response.Redirect("testpage2.aspx", true);
        }
    }
}



Best regards,
Brian


BP
Posted: Thursday, December 3, 2009 11:24:47 PM
Rank: Member
Groups: Member

Joined: 8/27/2009
Posts: 10
FYI

I also tried to move the MsgBox onto the page rather than on the Masterpage...

The same problem occurs... ie the Javascript error is thrown if a MsgBox was placed on the document, and the replacement document is not an html document....

Brian
BP
Posted: Thursday, December 3, 2009 11:46:24 PM
Rank: Member
Groups: Member

Joined: 8/27/2009
Posts: 10
The problem still occurs in your latest version.. 2009.0.41.2


eo_support
Posted: Monday, December 7, 2009 9:13:22 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This issue has been addressed in build 2009.0.42.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.