| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Old Sites/moke/components/com_proforms/js/ |
Upload File : |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// @license: Mad4Media Javascipt License - copyright Mad4Media - Fahrettin Kutyol - All rights reserved ++
// (re-) publishing or forking for any purpose of commercial or non-commercial use is not allowed. ++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
var _d=document;var _db;dojo.addOnLoad(function(){_db=_d.body;});var head=document.getElementsByTagName("head")[0];var _Browser={IE:!!(window.attachEvent&&navigator.userAgent.indexOf("Opera")===-1),Opera:navigator.userAgent.indexOf("Opera")>-1,WebKit:navigator.userAgent.indexOf("AppleWebKit/")>-1,Gecko:navigator.userAgent.indexOf("Gecko")>-1&&navigator.userAgent.indexOf("KHTML")===-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/),IEVersion:function getInternetExplorerVersion(){var rv=-1;if(navigator.appName=="Microsoft Internet Explorer"){var ua=navigator.userAgent;var re=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");if(re.exec(ua)!=null){rv=parseFloat(RegExp.$1);}}return rv;}};var _OS={Win:(navigator.appVersion.indexOf("Win")!=-1),Mac:(navigator.appVersion.indexOf("Mac")!=-1),Linux:(navigator.appVersion.indexOf("Linux")!=-1)};function _(e){return dojo.byId(e);};function _S(e){return _(e).style;};function _Style(n,s,v){return (v)?dojo.style(n,s,v):dojo.style(n,s);};function _D(e,s){_(e).style.display=s?"block":"none";};function _newElement(e){return _d.createElement(e);};function _newElement2Body(e,s,cN,id){n=_newElement(e);n.className=cN;_Style(n,s);n.id=id;_d.body.appendChild(n);return n;};function _removeNode(_1){_1.parentNode.removeChild(_1);};function _ToggleDisplay(e,hi){hi=(hi)?hi:"block";_S(e).display=(_S(e).display=="none")?hi:"none";};function _ToggleVisibility(e){hi=_S(e).visibility=(_S(e).visibility=="hidden")?"visible":"hidden";};function _ToggleFade(e){if(_S(e).opacity==0){dojo.fadeIn({node:_(e)}).play();}else{dojo.fadeOut({node:_(e)}).play();}};function funcExists(_2){var _3;try{eval("isset=typeof "+_2+" == 'function';");}catch(e){_3=false;}return _3;};function _WindowSize(){var w=0;var h=0;if(!window.innerWidth){if(!(document.documentElement.clientWidth==0)){w=document.documentElement.clientWidth;h=document.documentElement.clientHeight;}else{w=document.body.clientWidth;h=document.body.clientHeight;}}else{w=window.innerWidth;h=window.innerHeight;}return {width:w,height:h};};function _WindowCenter(){var _4=(arguments[0]!=null)?arguments[0]:{width:0,height:0};var _5=0;var _6=0;var _7=0;var _8=0;if(!window.pageYOffset){if(!(document.documentElement.scrollTop==0)){_8=document.documentElement.scrollTop;_7=document.documentElement.scrollLeft;}else{_8=document.body.scrollTop;_7=document.body.scrollLeft;}}else{_7=window.pageXOffset;_8=window.pageYOffset;}_5=((_WindowSize().width-_4.width)/2)+_7;_6=((_WindowSize().height-_4.height)/2)+_8;return {x:_5,y:_6};};var _AbsoluteBounds=function(_9){var _a=0,_b=0;do{_a+=_9.offsetTop||0;_b+=_9.offsetLeft||0;_9=_9.offsetParent;if(_9){if(_9.tagName.toUpperCase()=="BODY"){break;}var p=_9.style.position;if(p!=="static"){break;}}}while(_9);var _c=_Dimensions(_9);var _d=new Object();_d.l=_b;_d.t=_a;_d.w=_c.width;_d.h=_c.height;return _d;};function _Dimensions(_e){var _f=dojo.getComputedStyle(dojo.byId(_e));var _10=_f.display;_e=_(_e);if(_10!="none"&&_10!=null){return {width:_e.offsetWidth,height:_e.offsetHeight};}var stl=_S(_e);var _11=_f.visibility;var _12=_f.position;var _13=_f.display;_f.visibility="hidden";_f.position="absolute";_f.display="block";var _14=_e.clientWidth;var _15=_e.clientHeight;_f.display=_13;_f.position=_12;_f.visibility=_11;return {width:_14,height:_15};};function _ViewportOffset(_16,_17){var _18=_17?false:true;var _19=0,_1a=0;var _1b=_16;do{_19+=_1b.offsetTop||0;_1a+=_1b.offsetLeft||0;if(_1b.offsetParent==document.body&&_1b.style.position=="absolute"){break;}}while(_1b=_1b.offsetParent);_1b=_16;do{if(!_Browser.Opera||(_1b.tagName&&(_1b.tagName.toUpperCase()=="BODY"))){_19-=_1b.scrollTop||0;_1a-=_1b.scrollLeft||0;}}while(_1b=_1b.parentNode);var _1c=_cumulativeScrollOffset(_16);var dim=dojo.coords(_16);var _1d=new Object();_1d.l=_1a+(_18?_1c.left:0);_1d.t=_19+(_18?_1c.top:0);_1d.w=dim.w;_1d.h=dim.h;return _1d;};function _cumulativeScrollOffset(_1e){_1e=_(_1e);var _1f=0,_20=0;do{_1f+=_1e.scrollTop||0;_20+=_1e.scrollLeft||0;_1e=_1e.parentNode;}while(_1e);return {left:_20,top:_1f};};function _docScroll(){var t=0;var l=0;if(_Browser.IE){l=document.documentElement.scrollLeft;t=document.documentElement.scrollTop;}else{if(_Browser.Opera){l=document.body.scrollLeft;t=document.body.scrollTop;}else{l=window.pageXOffset;t=window.pageYOffset;}}return {left:l,top:t};};function _Percent(_21,_22,_23){return _23?Math.round((_21*_22/100)):(_21*_22/100);};Array.prototype.in_array=function(_24){for(var i=0;i<this.length;i++){if(this[i]===_24){return true;}}return false;};String.prototype.startsWith=function(_25){return this.indexOf(_25)===0;};String.prototype.endsWith=function(_26){var d=this.length-_26.length;return d>=0&&this.lastIndexOf(_26)===d;};var removeScript=new Array();function script2head(_27){for(t=0;t<removeScript.length;t++){_removeNode(removeScript[t]);}removeScript=new Array();var _28=_27.getElementsByTagName("script");var _29=head.getElementsByTagName("script");var _2a=new Array();var _2b=new Array();for(t=0;t<_29.length;t++){var _2c=_29[t].src;if(_2c){_2a.push(_2c);}else{_2b.push(_29[t]);}}var _2d=_2b.length;var _2e=_28.length;if(_2e!=0){for(i=0;i<_2e;i++){var src=_28[0].getAttribute("src");var _2f=_28[0].innerHTML;var _30=true;if(_2a.in_array(src)){_30=false;}else{for(t=0;t<_2d;t++){if(_2b[t].innerHTML==_2f){_30=false;break;}}}if(_30){var _31=document.createElement("script");_31.setAttribute("language","JavaScript");_31.setAttribute("type","text/javascript");if(src!=undefined){_31.setAttribute("src",src);}var _32=document.createTextNode(_2f);if(_Browser.IE){_31.text=_2f;}else{_31.appendChild(_32);}head.appendChild(_31);var _33=_28[0].getAttribute("noCache");if(_33=="true"||_33=="1"){removeScript.push(_31);}}_removeNode(_28[0]);}}};getKidsByTagName=function(_34,_35){if(_34==null){return null;}var _36=new Array();var c=_34.firstChild;if(c!=undefined){if(c.nodeName==_35){_36.push(c);}while(c=c.nextSibling){if(c.nodeName==_35){_36.push(c);}}}else{return null;}if(_36.length==0){return null;}return _36;};function nextTag(_37,tag){var _38=_37;while(_38=_38.nextSibling){if(_38.tagName==tag){return _38;}}return undefined;};function previousTag(_39,tag){var _3a=_39;while(_3a=_3a.previousSibling){if(_3a.tagName==tag){return _3a;}}return undefined;};String.prototype.stripTags=function(){return this.replace(/(<([^>]+)>)/ig,"");};function _LoadTo(_3b,_3c,_3d,_3e){mWait.play();var lcb=dojo.hitch(this,function(_3f,_40){_(_3c).innerHTML=_3f;mWait.stop();if(_3d){_3d(_3f);}return true;});var _41=dojo.hitch(this,function(_42,_43){mWait.stop();if(_3e){_3e();}return false;});return dojo.xhrGet({url:_3b,load:lcb,error:_41});};var _fx={animateDim:function(_44,_45,_46,_47,_48,_49,_4a,_4b,_4c){if(!_44){return false;}var _4d=new Object();if(_47!=undefined){_4d.width=new Object();if(_46!=undefined){_4d.width.start=_46;}_4d.width.end=_47;_4d.width.unit=_48||"px";}if(_4a!=undefined){_4d.height=new Object();if(_49!=undefined){_4d.height.start=_49;}_4d.height.end=_4a;_4d.height.unit=_4b||"px";}if(_4c==undefined){_4c=function(){return true;};}dojo.animateProperty({node:_44,duration:_45,properties:_4d,onEnd:_4c}).play();return true;},animToHeight:function(_4e,_4f,_50,_51){this.animateDim(_4e,_4f,undefined,undefined,undefined,undefined,_50,"px",_51);},animToWidth:function(_52,_53,_54,_55){this.animateDim(_52,_53,undefined,_54,"px",undefined,undefined,undefined,_55);},animatePosition:function(_56,_57,_58,_59,_5a,_5b,_5c,_5d,_5e){if(!_56){return false;}var _5f=new Object();if(_59!=undefined){_5f.left=new Object();if(_58!=undefined){_5f.left.start=_58;}_5f.left.end=_59;_5f.left.unit=_5a||"px";}if(_5c!=undefined){_5f.top=new Object();if(_5b!=undefined){_5f.top.start=_5b;}_5f.top.end=_5c;_5f.top.unit=_5d||"px";}if(_5e==undefined){_5e=function(){return true;};}dojo.animateProperty({node:_56,duration:_57,properties:_5f,onEnd:_5e}).play();return true;},animToTop:function(_60,_61,_62,_63){this.animatePosition(_60,_61,undefined,undefined,undefined,undefined,_62,"px",_63);},animToLeft:function(_64,_65,_66,_67){this.animatePosition(_64,_65,undefined,_66,"px",undefined,undefined,undefined,_67);},fadeOpacity:function(_68,_69,_6a,_6b,_6c){_69=_69||300;if(_6a==undefined){_6a=0;}if(_6b==undefined){_6b=1;}_6c=_6c||function(){return true;};dojo.animateProperty({node:_68,duration:_69,properties:{opacity:{start:_6a,end:_6b}},onEnd:_6c}).play();}};function makeParameters(_6d,_6e){var _6f=new Object;var ro=new Array();if(typeof _6e==="string"){ro.push(_6e);}else{ro=_6e;}var _70="";for(t=0;t<_6d.length;t++){if(!ro.in_array(_6d[t].nodeName)){_70+="params."+_6d[t].nodeName+" = '"+_6d[t].nodeValue+"';";}}if(_70!=""){eval(_70);}return _6f;};function extractNamespace(obj){var _71=obj.namespace||("mooj"+nameSpaceCounter++);delete obj.namespace;return _71;};function generalParameters(_72){return makeParameters(_72.attributes,["class","style","title","alt","align","valign","width","height","border","bgcolor"]);};function deleteParameters(_73,_74){var dob=new Array();if(typeof _74==="string"){dob.push(_74);}else{dob=_74;}for(t=0;t<_74.length;t++){eval("delete params."+dob[t]+";");}};function detectMouseButton(e){var _75;var _76;var _77;if(!e){var e=window.event;}if(e.which){_75=(e.which==1);_76=(e.which==2);_77=(e.which==3);}else{if(e.button){if(!_Browser.IE){_75=(e.button==0);_76=(e.button==1);_77=(e.button==2);}else{_75=(e.button==1);_76=(e.button==4);_77=(e.button==2);}}}var _78={left:_75,middle:_76,right:_77};return _78;};function detectMousePosition(e){if(!e){var e=window.event;}if(e.pageX||e.pageY){x=e.pageX;y=e.pageY;}else{if(e.clientX||e.clientY){x=e.clientX;y=e.clientY;}}return {x:x,y:y};};function _Absoulutize(_79,_7a,_7b){_7a=_7a||0;_7b=_7b||0;var _7c=_ViewportOffset(_79,true);document.body.appendChild(_79);var ns=_79.style;ns.position="absolute";ns.display="block";ns.left=(_7c.l+_7a)+"px";ns.top=(_7c.t+_7b)+"px";ns.width=_7c.w+"px";ns.height=_7c.h+"px";ns.zIndex="999999999";return _7c;};function _AppendBounds(b,_7d){var ns=_7d.style;ns.left=b.l+"px";ns.top=b.t+"px";ns.width=b.w+"px";ns.height=b.h+"px";return true;};function _Delayed(_7e,_7f){setTimeout(_7f,_7e);};function _Delayed500(_80){_Delayed(500,_80);};