• (function(){(function(e){function g(b){b='BridgeLog:'+b;typeof console!='undefined'&&console.log(b);ucapi&&ucapi.debug&&alert(b)}function n(b,a,c){a={errCode:a,ext:c};b.fail&&b.fail.call(this,a)}function o(b,a,c,d){var b=i===f.POLLING?j:p,e=b[a];e!==void 0?(c===q.OK?e.success&&e.success.call(this,d):n(e,c,d),delete b[a]):g('no callback:'+a)}function r(){var b=(new Date).valueOf();if(k!==0&&b-k>u)j={},k=0,g('polling stop');else{var a;a:{b=j;for(a in b)if(b.hasOwnProperty(a)){a=!1;break a}a=!0}if(!a){a=e[h][l](v,'','',f.POLLING);g('pollOnce:'+a);a:if(a!=='empty'){try{a=JSON.parse(a)}catch(c){break a}if(m.call(a)==='[object Array]')for(var d in a)a.hasOwnProperty(d)&&(b=a[d],b.callbackId===void 0||b.status===void 0||b.result===void 0||o(f.POLLING,b.callbackId,b.status,b.result))}setTimeout(r,w)}}}var h='UCShellJava',l='sdkInvoke',j={},p={},x=Math.floor(Math.random()*1E4),q={OK:0,ACCESS_DENY:1,INVALID_METHOD:2,INVALID_PARAM:3,UNKNOWN_ERROR:4},f={LOAD_URL:0,POLLING:1},i=f.LOAD_URL;if(self!=top||window.name=='uc_smartreader_iframe')i=f.POLLING;var v='__polling_result__',w=50,k=0,u=6E4;e.ucapi=e.ucapi||{};var m=Object.prototype.toString;if(!e[h]||m.call(e[h][l])!=='[object Function]')g('UCShellJava.sdkInvoke not exsit');else{e.ucapi.invoke=function(b,a){if(b){var c=b+x++,d={};if(a&&a.success)d.success=a.success,delete a.success;if(a&&a.fail)d.fail=a.fail,delete a.fail;(i===f.POLLING?j:p)[c]=d;d=a=a&&m.call(a)!=='[object String]'?JSON.stringify(a):'';g('invokeNative: '+b+':'+c+':'+d);if(i===f.POLLING)e[h][l](b,d,c,f.POLLING),k=(new Date).valueOf(),r();else e[h][l](b,d,c,f.LOAD_URL)}else n(a,q.INVALID_PARAM,'method is null')};e[h].sdkCallback=function(b,a,c){g('nativeCallback:'+b+':'+a+':'+c);if(c)try{c=JSON.parse(c)}catch(d){return}o(f.LOAD_URL,b,a,c)};var s=function(){this.listener={}};s.prototype={constructor:this,addEvent:function(b,a){typeof b==='string'&&typeof a==='function'&&(typeof this.listener[b]==='undefined'?this.listener[b]=[a]:typeof this.listener[b][a]!=='undefined'&&this.listener[b].push(a));return this},fireEvent:function(b,a){if(b&&this.listener[b]){var c=this.listener[b],d;for(d in c)c.hasOwnProperty(d)&&c[d].call(this,a)}return this},removeEvent:function(b){b&&this.listener[b]&&delete this.listener[b];return this}};var t=new s;e.ucapi.on=function(b,a){t.addEvent(b,a)};e[h].sdkEventFire=function(b,a){g('nativeEventFire:'+b+':'+a);if(a)try{a=JSON.parse(a)}catch(c){}t.fireEvent(b,a)}}})(window);})();" style="width:100px;"/>
  • Interior Decorators


We Are Interior Decorators…
We Will Make Your Visitors Say Wow!!

Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkedin
Share On Pinterest
Share On Reddit
Share On Stumbleupon
Contact us

Tags:


Show Buttons
Hide Buttons