var pq='';function qc(mG){var qd=document.getElementById('reg_email');var my=document.getElementById('login_email');if(qd)qd.value=mG;if(my)my.value=mG;return false;};function qa(iL){var gN=document.getElementById('login_type');var fQ=document.getElementById('signin_register');if(!gN|| !fQ)
return false;switch(iL){case 1:document.signin_register.login_type[0].checked=true;document.signin_register.login_type[1].checked=false;fQ.action="/dynamic/register.php";DoShow('new-password1');DoShow('new-password2');DoHide('old-password');break;case 2:default:
document.signin_register.login_type[0].checked=false;document.signin_register.login_type[1].checked=true;fQ.action="/dynamic/login.php";DoHide('new-password1');DoHide('new-password2');DoShow('old-password');break;}return true;};function pH(){var ah=document.getElementById('credit_card_form');if(ah)
ah.submit();return false;};function pu(ps){var ah=document.getElementById('texas_tax_amount');if(ps=='TX'&&pE>0){DoShow('texas_tax_notice');if(ah)ah.innerHTML=pE;}else DoHide('texas_tax_notice');return false;};function pr(pn){if(pn=='MC'||pn=='Visa'||pn=='Disc'){DoShow('cardcode_general');DoHide(
'cardcode_amex');}else if(pn=='AmEx'){DoHide('cardcode_general');DoShow('cardcode_amex');}else{DoHide('cardcode_general');DoHide('cardcode_amex');}return false;};function pi(oV){switch(oV.substring(0,2)){case '34':case '37':if(oV.length==15)return 'AmEx';break;case '60':if(oV.substring(0,4)==
'6011'&&oV.length==16)return 'Disc';break;case '65':if(oV.length==16)return 'Disc';break;case '51':case '52':case '53':case '54':case '55':if(oV.length==16)return 'MC';break;case '40':case '41':case '42':case '43':case '44':case '45':case '46':case '47':case '48':case '49':if(oV.length==13||
oV.length==16)return 'Visa';break;default:return false;}return false;};function pj(pn){var ah=document.getElementById('cardtype');var pf=false;var pb=false;var pe=false;var pd=false;var po=false;switch(pn){case 'MC':pf=true;break;case 'AmEx':pb=true;break;case 'Visa':pd=true;break;case 'Disc':pe=
true;break;default:pp=true;break;}if(ah){if(au(ah))at(ah);kP(ah,' ','0',po);kP(ah,'Visa','Visa',pd);kP(ah,'MasterCard','MC',pf);kP(ah,'Discover','Disc',pe);kP(ah,'American Express','AmEx',pb);}pr(pn);return false;};function oP(pa){if(!pa)return;if(pa.length<=0)return;if(pa=='saved'){if(pD=='TX')pu(
pD);else pu('');}else if(pa=='new'){var ah=document.getElementById('billing_state');if(ah&&ah.value=='TX')pu(ah.value);else pu('');}else{pu('');}var oW=document.getElementById('savedcard_box');var oR=document.getElementById('newcard_box');var oT=document.getElementById('paypal_box');var rh=
document.getElementById('amazon_box');var oU=document.getElementById('saved_payment_method');var oQ=document.getElementById('new_payment_method');var oS=document.getElementById('paypal_payment_method');var rg=document.getElementById('amazon_payment_method');switch(pa){case 'saved':if(oW)
oW.className='payment_selected';if(oR)oR.className='payment_not_selected';if(oT)oT.className='payment_not_selected';if(rh)rh.className='payment_not_selected';if(oU)oU.checked=true;if(oQ)oQ.checked=false;if(oS)oS.checked=false;if(rg)rg.checked=false;break;case 'new':if(oW)oW.className=
'payment_not_selected';if(oR)oR.className='payment_selected';if(oT)oT.className='payment_not_selected';if(rh)rh.className='payment_not_selected';if(oU)oU.checked=false;if(oQ)oQ.checked=true;if(oS)oS.checked=false;if(rg)rg.checked=false;break;case 'paypal':if(oW)oW.className='payment_not_selected';
if(oR)oR.className='payment_not_selected';if(oT)oT.className='payment_selected';if(rh)rh.className='payment_not_selected';if(oU)oU.checked=false;if(oQ)oQ.checked=false;if(oS)oS.checked=true;if(rg)rg.checked=false;break;case 'amazon':if(oW)oW.className='payment_not_selected';if(oR)oR.className=
'payment_not_selected';if(oT)oT.className='payment_not_selected';if(rh)rh.className='payment_selected';if(oU)oU.checked=false;if(oQ)oQ.checked=false;if(oS)oS.checked=false;if(rg)rg.checked=true;break;default:if(oW)oW.className='payment_not_selected';if(oR)oR.className='payment_not_selected';if(oT)
oT.className='payment_not_selected';if(rh)rh.className='payment_not_selected';if(oU)oU.checked=false;if(oQ)oQ.checked=false;if(oS)oS.checked=false;if(rg)rg.checked=false;break;}return;};function cL(){if(UserLogin!=1){DoAPopup('mediapro_login_popup',500,500);ab(1,'main_create','main_login',
'hide_header','div');return false;}else return true;};function oZ(pg){var jJ="http://"+(window.location.toString().split("//")[1].split("/")[0])+"/billing/go_pro_check.php?pid=";var gI=document.getElementById("mediapro_link_upgrade1");if(gI&&pg)gI.href=jJ+pg;var gI=document.getElementById(
"mediapro_link_upgrade2");if(gI&&pg)gI.href=jJ+pg;};function bi(iL){for(eh=1;document.getElementById('mediapro_option_'+eh+'_layer');eh++){if(eh==iL)document.getElementById('mediapro_option_'+eh+'_layer').className="bandwidth_option_highlight";else document.getElementById('mediapro_option_'+eh+
'_layer').className="bandwidth_option";}cQ(iL);};function cQ(iL){DoHide("checkbox_yearly_checked");DoShow("checkbox_yearly_unchecked");var ga=document.getElementById("mediapro_select_dailymonthly_price");var ph=document.getElementById("savings_amount");if(ga){switch(iL){case 1:oY='a $14 savings';at(
ga);kP(ga,'No Thanks - $6.97 billed Monthly','4',true);kP(ga,'Yes - $69.70 for a Year (a $14 dollar savings!)','7',false);oZ(4);break;case 2:oY='a $30 savings';at(ga);kP(ga,'No Thanks - $14.97 billed Monthly','5',true);kP(ga,'Yes - $149.70 for a Year (savings of $30 dollars!)','8',false);oZ(5);
break;case 3:oY='a $100 savings';at(ga);kP(ga,'No Thanks - $49.97 billed Monthly','6',true);kP(ga,'Yes - $499.70 for a Year (savings of $100 dollars!)','9',false);oZ(6);break;default:break;}if(ph){ph.innerHTML=oY;}}};function ct(){var be=document.getElementById('expected_file_size');var da=
document.getElementById('expected_downloads');var hO=document.getElementById('suggested_plan_text');if(be&&da&&hO){if(be.value==0||da.value==0)return false;DoShow('suggested_plan');var af=be.value*da.value;if(af<90*1024*1024*1024){hO.innerHTML="100 GB / $6.97 per month";}else if(af<210*1024*1024*
1024){hO.innerHTML="250 GB / $14.97 per month";}else if(af<900*1024*1024*1024){hO.innerHTML="1000 GB / $49.97 per month";}else{hO.innerHTML="1000 GB / $49.97 per month + Additional Bandwidth";}}return false;};function pA(telNo){if(telNo.value=="")return;var phone=new String(telNo.value);phone=
phone.substring(0,14);if(phone.match(".[0-9]{3}.[0-9]{3}-[0-9]{4}")==null){if(phone.match(".[0-9]{2}.[0-9]{3}-[0-9]{4}|"+".[0-9].[0-9]{3}-[0-9]{4}|"+".[0-9]{3}.[0-9]{2}-[0-9]{4}|"+".[0-9]{3}.[0-9]-[0-9]{4}")==null){var phoneNumeric=phoneChar="",i;for(i=0;i<phone.length;i++){phoneChar=phone.substr(i,
1);if(!isNaN(phoneChar)&&(phoneChar!=" "))phoneNumeric=phoneNumeric+phoneChar;}phone="";for(i=0;i<phoneNumeric.length;i++){if(i==0)phone=phone+"";if(i==3)phone=phone+"-";if(i==6)phone=phone+"-";phone=phone+phoneNumeric.substr(i,1)}}}else{phone="("+phone.substring(1,4)+") "+phone.substring(5,8)+"-"+
phone.substring(9,13);}if(phone!=telNo.value)telNo.value=phone;};function pG(telNo){if(telNo.value=="")return;if(telNo.value.match(".[0-9]{3}.[0-9]{3}-[0-9]{4}")==null){if(telNo.value.match("[0-9]{10}")!=null)pA(telNo)}};function pL(e){var pB;if(e&&e.which){e=e;pB=e.which;}else{e=event;pB=e.keyCode;
}if(pB==13){document.forms[getNetuiTagName("findListingForm")].submit();return false;}else{return true;}}var hi=new Array(new Array('A1',"Anonymous Proxy"),new Array('A2',"Satellite Provider"),new Array('GB',"United Kingdom"),new Array('AD',"Andorra"),new Array('AF',"Afghanistan"),new Array('AG',"Antigua and Barbuda"),new Array('AI',"Anguilla"),new Array('AL',"Albania"),new Array('AM',"Armenia"),new Array('AN',"Netherlands Antilles"),new Array('AO',"Angola"),new Array('AP',"Asia/Pacific Region"),new Array('AQ',"Antarctica"),new Array('AR',"Argentina"),new Array('AS',"American Samoa"),new Array('AT',"Austria"),new Array('AU',"Australia"),new Array('AW',"Aruba"),new Array('AX',"Aland Islands"),new Array('AZ',"Azerbaijan"),new Array('BA',"Bosnia and Herzegovina"),new Array('BB',"Barbados"),new Array('BD',"Bangladesh"),new Array('BE',"Belgium"),new Array('BF',"Burkina Faso"),new Array('BG',"Bulgaria"),new Array('BH',"Bahrain"),new Array('BI',"Burundi"),new Array('BJ',"Benin"),new Array('BM',"Bermuda"),new Array('BN',"Brunei Darussalam"),new Array('BO',"Bolivia"),new Array('BR',"Brazil"),new Array('BS',"Bahamas"),new Array('BT',"Bhutan"),new Array('BV',"Bouvet Island"),new Array('BW',"Botswana"),new Array('BY',"Belarus"),new Array('BZ',"Belize"),new Array('CA',"Canada"),new Array('CC',"Cocos (Keeling) Islands"),new Array('CD',"Congo, The Democratic Republic of the"),new Array('CF',"Central African Republic"),new Array('CG',"Congo"),new Array('CH',"Switzerland"),new Array('CI',"Cote d'Ivoire"),new Array('CK',"Cook Islands"),new Array('CL',"Chile"),new Array('CM',"Cameroon"),new Array('CN',"China"),new Array('CO',"Colombia"),new Array('CR',"Costa Rica"),new Array('CU',"Cuba"),new Array('CV',"Cape Verde"),new Array('CX',"Christmas Island"),new Array('CY',"Cyprus"),new Array('CZ',"Czech Republic"),new Array('DE',"Germany"),new Array('DJ',"Djibouti"),new Array('DK',"Denmark"),new Array('DM',"Dominica"),new Array('DO',"Dominican Republic"),new Array('DZ',"Algeria"),new Array('EC',"Ecuador"),new Array('EE',"Estonia"),new Array('EG',"Egypt"),new Array('EH',"Western Sahara"),new Array('ER',"Eritrea"),new Array('ES',"Spain"),new Array('ET',"Ethiopia"),new Array('EU',"Europe"),new Array('FI',"Finland"),new Array('FJ',"Fiji"),new Array('FK',"Falkland Islands (Malvinas)"),new Array('FM',"Micronesia, Federated States of"),new Array('FO',"Faroe Islands"),new Array('FR',"France"),new Array('GA',"Gabon"),new Array('GD',"Grenada"),new Array('GE',"Georgia"),new Array('GF',"French Guiana"),new Array('GG',"Guernsey"),new Array('GH',"Ghana"),new Array('GI',"Gibraltar"),new Array('GL',"Greenland"),new Array('GM',"Gambia"),new Array('GN',"Guinea"),new Array('GP',"Guadeloupe"),new Array('GQ',"Equatorial Guinea"),new Array('GR',"Greece"),new Array('GS',"South Georgia and the South Sandwich Islands"),new Array('GT',"Guatemala"),new Array('GU',"Guam"),new Array('GW',"Guinea-Bissau"),new Array('GY',"Guyana"),new Array('HK',"Hong Kong"),new Array('HM',"Heard Island and McDonald Islands"),new Array('HN',"Honduras"),new Array('HR',"Croatia"),new Array('HT',"Haiti"),new Array('HU',"Hungary"),new Array('ID',"Indonesia"),new Array('IE',"Ireland"),new Array('IL',"Israel"),new Array('IM',"Isle of Man"),new Array('IN',"India"),new Array('IO',"British Indian Ocean Territory"),new Array('IQ',"Iraq"),new Array('IR',"Iran, Islamic Republic of"),new Array('IS',"Iceland"),new Array('IT',"Italy"),new Array('JE',"Jersey"),new Array('JM',"Jamaica"),new Array('JO',"Jordan"),new Array('JP',"Japan"),new Array('KE',"Kenya"),new Array('KG',"Kyrgyzstan"),new Array('KH',"Cambodia"),new Array('KI',"Kiribati"),new Array('KM',"Comoros"),new Array('KN',"Saint Kitts and Nevis"),new Array('KP',"Korea, Democratic People's Republic of"),new Array('KR',"Korea, Republic of"),new Array('KW',"Kuwait"),new Array('KY',"Cayman Islands"),new Array('KZ',"Kazakhstan"),new Array('LA',"Lao People's Democratic Republic"),new Array('LB',"Lebanon"),new Array('LC',"Saint Lucia"),new Array('LI',"Liechtenstein"),new Array('LK',"Sri Lanka"),new Array('LR',"Liberia"),new Array('LS',"Lesotho"),new Array('LT',"Lithuania"),new Array('LU',"Luxembourg"),new Array('LV',"Latvia"),new Array('LY',"Libyan Arab Jamahiriya"),new Array('MA',"Morocco"),new Array('MC',"Monaco"),new Array('MD',"Moldova, Republic of"),new Array('ME',"Montenegro"),new Array('MG',"Madagascar"),new Array('MH',"Marshall Islands"),new Array('MK',"Macedonia"),new Array('ML',"Mali"),new Array('MM',"Myanmar"),new Array('MN',"Mongolia"),new Array('MO',"Macao"),new Array('MP',"Northern Mariana Islands"),new Array('MQ',"Martinique"),new Array('MR',"Mauritania"),new Array('MS',"Montserrat"),new Array('MT',"Malta"),new Array('MU',"Mauritius"),new Array('MV',"Maldives"),new Array('MW',"Malawi"),new Array('MX',"Mexico"),new Array('MY',"Malaysia"),new Array('MZ',"Mozambique"),new Array('NA',"Namibia"),new Array('NC',"New Caledonia"),new Array('NE',"Niger"),new Array('NF',"Norfolk Island"),new Array('NG',"Nigeria"),new Array('NI',"Nicaragua"),new Array('NL',"Netherlands"),new Array('NO',"Norway"),new Array('NP',"Nepal"),new Array('NR',"Nauru"),new Array('NU',"Niue"),new Array('NZ',"New Zealand"),new Array('OM',"Oman"),new Array('PA',"Panama"),new Array('PE',"Peru"),new Array('PF',"French Polynesia"),new Array('PG',"Papua New Guinea"),new Array('PH',"Philippines"),new Array('PK',"Pakistan"),new Array('PL',"Poland"),new Array('PM',"Saint Pierre and Miquelon"),new Array('PN',"Pitcairn"),new Array('PR',"Puerto Rico"),new Array('PS',"Palestinian Territory"),new Array('PT',"Portugal"),new Array('PW',"Palau"),new Array('PY',"Paraguay"),new Array('QA',"Qatar"),new Array('RE',"Reunion"),new Array('RO',"Romania"),new Array('RS',"Serbia"),new Array('RU',"Russian Federation"),new Array('RW',"Rwanda"),new Array('SA',"Saudi Arabia"),new Array('SB',"Solomon Islands"),new Array('SC',"Seychelles"),new Array('SD',"Sudan"),new Array('SE',"Sweden"),new Array('SG',"Singapore"),new Array('SH',"Saint Helena"),new Array('SI',"Slovenia"),new Array('SJ',"Svalbard and Jan Mayen"),new Array('SK',"Slovakia"),new Array('SL',"Sierra Leone"),new Array('SM',"San Marino"),new Array('SN',"Senegal"),new Array('SO',"Somalia"),new Array('SR',"Suriname"),new Array('ST',"Sao Tome and Principe"),new Array('SV',"El Salvador"),new Array('SY',"Syrian Arab Republic"),new Array('SZ',"Swaziland"),new Array('TC',"Turks and Caicos Islands"),new Array('TD',"Chad"),new Array('TF',"French Southern Territories"),new Array('TG',"Togo"),new Array('TH',"Thailand"),new Array('TJ',"Tajikistan"),new Array('TK',"Tokelau"),new Array('TL',"Timor-Leste"),new Array('TM',"Turkmenistan"),new Array('TN',"Tunisia"),new Array('TO',"Tonga"),new Array('TR',"Turkey"),new Array('TT',"Trinidad and Tobago"),new Array('TV',"Tuvalu"),new Array('TW',"Taiwan"),new Array('TZ',"Tanzania, United Republic of"),new Array('UA',"Ukraine"),new Array('UG',"Uganda"),new Array('AE',"United Arab Emirates"),new Array('UM',"United States Minor Outlying Islands"),new Array('US',"United States"),new Array('UY',"Uruguay"),new Array('UZ',"Uzbekistan"),new Array('VA',"Holy See (Vatican City State)"),new Array('VC',"Saint Vincent and the Grenadines"),new Array('VE',"Venezuela"),new Array('VG',"Virgin Islands, British"),new Array('VI',"Virgin Islands, U.S."),new Array('VN',"Vietnam"),new Array('VU',"Vanuatu"),new Array('WF',"Wallis and Futuna"),new Array('WS',"Samoa"),new Array('YE',"Yemen"),new Array('YT',"Mayotte"),new Array('ZA',"South Africa"),new Array('ZM',"Zambia"),new Array('ZW',"Zimbabwe"));var ht=new Array(new Array('US','AA',"Armed Forces Americas"),new Array('US','AE',"Armed Forces Foreign"),new Array('US','AK',"Alaska"),new Array('US','AL',"Alabama"),new Array('US','AP',"Armed Forces Pacific"),new Array('US','AR',"Arkansas"),new Array('US','AS',"American Samoa"),new Array('US','AZ',"Arizona"),new Array('US','CA',"California"),new Array('US','CO',"Colorado"),new Array('US','CT',"Connecticut"),new Array('US','DC',"District of Columbia"),new Array('US','DE',"Delaware"),new Array('US','FL',"Florida"),new Array('US','FM',"Federated States of Micronesia"),new Array('US','GA',"Georgia"),new Array('US','GU',"Guam"),new Array('US','HI',"Hawaii"),new Array('US','IA',"Iowa"),new Array('US','ID',"Idaho"),new Array('US','IL',"Illinois"),new Array('US','IN',"Indiana"),new Array('US','KS',"Kansas"),new Array('US','KY',"Kentucky"),new Array('US','LA',"Louisiana"),new Array('US','MA',"Massachusetts"),new Array('US','MD',"Maryland"),new Array('US','ME',"Maine"),new Array('US','MH',"Marshall Islands"),new Array('US','MI',"Michigan"),new Array('US','MN',"Minnesota"),new Array('US','MO',"Missouri"),new Array('US','MP',"Northern Mariana Islands"),new Array('US','MS',"Mississippi"),new Array('US','MT',"Montana"),new Array('US','NC',"North Carolina"),new Array('US','ND',"North Dakota"),new Array('US','NE',"Nebraska"),new Array('US','NH',"New Hampshire"),new Array('US','NJ',"New Jersey"),new Array('US','NM',"New Mexico"),new Array('US','NV',"Nevada"),new Array('US','NY',"New York"),new Array('US','OH',"Ohio"),new Array('US','OK',"Oklahoma"),new Array('US','OR',"Oregon"),new Array('US','PA',"Pennsylvania"),new Array('US','PR',"Puerto Rico"),new Array('US','PW',"Palau"),new Array('US','RI',"Rhode Island"),new Array('US','SC',"South Carolina"),new Array('US','SD',"South Dakota"),new Array('US','TN',"Tennessee"),new Array('US','TX',"Texas"),new Array('US','UT',"Utah"),new Array('US','VA',"Virginia"),new Array('US','VI',"Virgin Islands"),new Array('US','VT',"Vermont"),new Array('US','WA',"Washington"),new Array('US','WV',"West Virginia"),new Array('US','WI',"Wisconsin"),new Array('US','WY',"Wyoming"),new Array('CA','AB',"Alberta"),new Array('CA','BC',"British Columbia"),new Array('CA','MB',"Manitoba"),new Array('CA','NB',"New Brunswick"),new Array('CA','NL',"Newfoundland"),new Array('CA','NS',"Nova Scotia"),new Array('CA','NU',"Nunavut"),new Array('CA','ON',"Ontario"),new Array('CA','PE',"Prince Edward Island"),new Array('CA','QC',"Quebec"),new Array('CA','SK',"Saskatchewan"),new Array('CA','NT',"Northwest Territories"),new Array('CA','YT',"Yukon Territory"));var StartDownloadTried=0;function dh(mG){try{var fP=document.getElementById('loadingicon');if(fP)fP.style.display="none";var md=document.getElementById('pprotected');var hk=document.getElementById('passworderror');if(!md)return false;if(mG&&hk)hk.innerHTML="<div class='form_error'>The password you entered was invalid, please try again!</div>";md.style.display="block";}catch(errno){parent.aa(0,"There was a software exception (#2) while trying to initialize your download.  Please refresh your page and try again.");}};function GetCaptcha(sCaptchaCode,sBadCaptcha){try{var fP=document.getElementById('loadingicon');if(fP)fP.style.display="none";var oCaptcha=document.getElementById('captchaprotected');var hk=document.getElementById('captchaerror');if(!oCaptcha)return false;if(sBadCaptcha.length>0&&hk)hk.innerHTML="<div class='form_error'>"+sBadCaptcha+"</div>";document.write(sCaptchaCode);oCaptcha.style.display="block";}catch(errno){parent.aa(0,"There was a software exception (#3) while trying to initialize your download.  Please refresh your page and try again.");}};function Eo(){var elm,CL;var Di=[['/images/v4images/catfishads/bulkdownload.gif','/select_account_type.php'],['/images/v4images/catfishads/directlinking.gif','/select_account_type.php'],['/images/v4images/catfishads/dropbox.gif','/select_account_type.php'],['/images/v4images/catfishads/mediapro.gif','/select_account_type.php'],['/images/v4images/catfishads/signup.gif','/select_account_type.php'],];var Ew=Math.floor(Math.random()*(Di.length+1));if(!(CL=Di[Ew]))CL=Di[0];if(elm=document.getElementById('catfish_img')){elm.src=CL[0];}if(elm=document.getElementById('catfish_link')){elm.href=CL[1];}DR();};function DR(EP){var DW=116;var Eq=1000000;var Ee= -100;var DO=6;var rE=50;var Ep=300;var Ez=1800;var Cj,qR,Db;var BP;function DE(){if(Cj){if(BP>0){BP=Math.max(BP-DO,0);Cj.style.height=BP+"px";setTimeout(DE,rE);}}};function DN(){if(Db){if(Db.complete==false){setTimeout(DN,Ep);}else{qR.style.zIndex=Eq;DE();}}};function Ef(){DN();};function DI(){if(Cj){if(BP<DW){BP=Math.min(BP+DO,DW);Cj.style.height=BP+"px";setTimeout(DI,rE);}else{qR.style.zIndex=Ee;}}};if((Cj=document.getElementById('catfish_filler'))&&(Db=document.getElementById('catfish_img'))&&(qR=document.getElementById('catfish_div'))){var rn=/msie|MSIE 6/.test(navigator.userAgent);if(rn){Cj.style.display="none";Db.style.display="none";qR.style.display="none";return;}BP=Cj.offsetHeight;if(EP){DI();}else{setTimeout(Ef,Ez);}}};function Dy(){if(!fu&& !hq){if(ES.length>2)Ch('/templates/upgrade/download_all.html',800,450);else Ck();return;}Co(ES,'Shared Files');}if(typeof infosoftglobal=="undefined")var infosoftglobal=new Object();if(typeof infosoftglobal.FusionChartsUtil=="undefined")infosoftglobal.FusionChartsUtil=new Object();infosoftglobal.FusionCharts=function(swf,id,w,h,debugMode,registerWithJS,c,scaleMode,lang,detectFlashVersion,autoInstallRedirect){if(!document.getElementById){return;}this.initialDataSet=false;this.params=new Object();this.variables=new Object();this.attributes=new Array();if(swf){this.setAttribute('swf',swf);}if(id){this.setAttribute('id',id);}if(w){this.setAttribute('width',w);}if(h){this.setAttribute('height',h);}if(c){this.addParam('bgcolor',c);}this.addParam('quality','high');this.addParam('allowScriptAccess','always');this.addVariable('chartWidth',w);this.addVariable('chartHeight',h);debugMode=debugMode?debugMode:0;this.addVariable('debugMode',debugMode);this.addVariable('DOMId',id);registerWithJS=registerWithJS?registerWithJS:0;this.addVariable('registerWithJS',registerWithJS);scaleMode=scaleMode?scaleMode:'noScale';this.addVariable('scaleMode',scaleMode);lang=lang?lang:'EN';this.addVariable('lang',lang);this.detectFlashVersion=detectFlashVersion?detectFlashVersion:1;this.autoInstallRedirect=autoInstallRedirect?autoInstallRedirect:1;this.installedVer=infosoftglobal.FusionChartsUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){infosoftglobal.FusionCharts.doPrepUnload=true;}};infosoftglobal.FusionCharts.prototype={setAttribute:function(name,value){this.attributes[name]=value;},getAttribute:function(name){return this.attributes[name];},addParam:function(name,value){this.params[name]=value;},getParams:function(){return this.params;},addVariable:function(name,value){this.variables[name]=value;},getVariable:function(name){return this.variables[name];},getVariables:function(){return this.variables;},getVariablePairs:function(){var variablePairs=new Array();var key;var variables=this.getVariables();for(key in variables){variablePairs.push(key+"="+variables[key]);}return variablePairs;},getSWFHTML:function(){var swfNode="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){swfNode='<embed type="application/x-shockwave-flash" src="'+this.getAttribute('swf')+'" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'"  ';swfNode+=' id="'+this.getAttribute('id')+'" name="'+this.getAttribute('id')+'" ';var params=this.getParams();for(var key in params){swfNode+=[key]+'="'+params[key]+'" ';}var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='flashvars="'+pairs+'"';}swfNode+='/>';}else{swfNode='<object id="'+this.getAttribute('id')+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'">';swfNode+='<param name="movie" value="'+this.getAttribute('swf')+'" />';var params=this.getParams();for(var key in params){swfNode+='<param name="'+key+'" value="'+params[key]+'" />';}var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='<param name="flashvars" value="'+pairs+'" />';}swfNode+="</object>";}return swfNode;},setDataURL:function(strDataURL){if(this.initialDataSet==false){this.addVariable('dataURL',strDataURL);this.initialDataSet=true;}else{var chartObj=infosoftglobal.FusionChartsUtil.getChartObject(this.getAttribute('id'));chartObj.setDataURL(strDataURL);}},setDataXML:function(strDataXML){if(this.initialDataSet==false){this.addVariable('dataXML',strDataXML);this.initialDataSet=true;}else{var chartObj=infosoftglobal.FusionChartsUtil.getChartObject(this.getAttribute('id'));chartObj.setDataXML(strDataXML);}},setTransparent:function(isTransparent){if(typeof isTransparent=="undefined"){isTransparent=true;}if(isTransparent)this.addParam('WMode','transparent');else this.addParam('WMode','Opaque');},render:function(elementId){if((this.detectFlashVersion==1)&&(this.installedVer.major<8)){if(this.autoInstallRedirect==1){var installationConfirm=window.confirm("You need Adobe Flash Player 8 (or above) to view the charts. It is a free and lightweight installation from Adobe.com. Please click on Ok to install the same.");if(installationConfirm){window.location="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";}else{return false;}}else{return false;}}else{var n=(typeof elementId=='string')?document.getElementById(elementId):elementId;n.innerHTML=this.getSWFHTML();if(!document.embeds[this.getAttribute('id')]&& !window[this.getAttribute('id')])window[this.getAttribute('id')]=document.getElementById(this.getAttribute('id'));return true;}}};infosoftglobal.FusionChartsUtil.getPlayerVersion=function(){var PlayerVersion=new infosoftglobal.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){PlayerVersion=new infosoftglobal.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var counter=3;while(axo){try{counter++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+counter);PlayerVersion=new infosoftglobal.PlayerVersion([counter,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");PlayerVersion=new infosoftglobal.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(PlayerVersion.major==6){return PlayerVersion;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){PlayerVersion=new infosoftglobal.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}return PlayerVersion;};infosoftglobal.PlayerVersion=function(arrVersion){this.major=arrVersion[0]!=null?parseInt(arrVersion[0]):0;this.minor=arrVersion[1]!=null?parseInt(arrVersion[1]):0;this.rev=arrVersion[2]!=null?parseInt(arrVersion[2]):0;};infosoftglobal.FusionChartsUtil.cleanupSWFs=function(){var objects=document.getElementsByTagName("OBJECT");for(var i=objects.length-1;i>=0;i--){objects[i].style.display='none';for(var x in objects[i]){if(typeof objects[i][x]=='function'){objects[i][x]=function(){};}}}};if(infosoftglobal.FusionCharts.doPrepUnload){if(!infosoftglobal.unloadSet){infosoftglobal.FusionChartsUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",infosoftglobal.FusionChartsUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",infosoftglobal.FusionChartsUtil.prepUnload);infosoftglobal.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];}}if(Array.prototype.push==null){Array.prototype.push=function(item){this[this.length]=item;return this.length;}}infosoftglobal.FusionChartsUtil.getChartObject=function(id){var chartRef=null;if(navigator.appName.indexOf("Microsoft Internet")== -1){if(document.embeds&&document.embeds[id])chartRef=document.embeds[id];else chartRef=window.document[id];}else{chartRef=window[id];}if(!chartRef)chartRef=document.getElementById(id);return chartRef;};var getChartFromId=infosoftglobal.FusionChartsUtil.getChartObject;var FusionCharts=infosoftglobal.FusionCharts;if(typeof infosoftglobal=="undefined")var infosoftglobal=new Object();if(typeof infosoftglobal.FusionMapsUtil=="undefined")infosoftglobal.FusionMapsUtil=new Object();infosoftglobal.FusionMaps=function(swf,id,w,h,debugMode,registerWithJS,c,scaleMode,lang,detectFlashVersion,autoInstallRedirect){if(!document.getElementById){return;}this.initialDataSet=false;this.params=new Object();this.variables=new Object();this.attributes=new Array();if(swf){this.setAttribute('swf',swf);}if(id){this.setAttribute('id',id);}w=w.toString().replace(/\%/,"%25");if(w){this.setAttribute('width',w);}h=h.toString().replace(/\%/,"%25");if(h){this.setAttribute('height',h);}if(c){this.addParam('bgcolor',c);}this.addParam('quality','high');this.addParam('allowScriptAccess','always');this.addVariable('mapWidth',w);this.addVariable('mapHeight',h);debugMode=debugMode?debugMode:0;this.addVariable('debugMode',debugMode);this.addVariable('DOMId',id);registerWithJS=registerWithJS?registerWithJS:0;this.addVariable('registerWithJS',registerWithJS);scaleMode=scaleMode?scaleMode:'noScale';this.addVariable('scaleMode',scaleMode);lang=lang?lang:'EN';this.addVariable('lang',lang);this.detectFlashVersion=detectFlashVersion?detectFlashVersion:1;this.autoInstallRedirect=autoInstallRedirect?autoInstallRedirect:1;this.installedVer=infosoftglobal.FusionMapsUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){infosoftglobal.FusionMaps.doPrepUnload=true;}};infosoftglobal.FusionMaps.prototype={setAttribute:function(name,value){this.attributes[name]=value;},getAttribute:function(name){return this.attributes[name];},addParam:function(name,value){this.params[name]=value;},getParams:function(){return this.params;},addVariable:function(name,value){this.variables[name]=value;},getVariable:function(name){return this.variables[name];},getVariables:function(){return this.variables;},getVariablePairs:function(){var variablePairs=new Array();var key;var variables=this.getVariables();for(key in variables){variablePairs.push(key+"="+variables[key]);}return variablePairs;},getSWFHTML:function(){var swfNode="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){swfNode='<embed type="application/x-shockwave-flash" src="'+this.getAttribute('swf')+'" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'"  ';swfNode+=' id="'+this.getAttribute('id')+'" name="'+this.getAttribute('id')+'" ';var params=this.getParams();for(var key in params){swfNode+=[key]+'="'+params[key]+'" ';}var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='flashvars="'+pairs+'"';}swfNode+='/>';}else{swfNode='<object id="'+this.getAttribute('id')+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute('width')+'" height="'+this.getAttribute('height')+'">';swfNode+='<param name="movie" value="'+this.getAttribute('swf')+'" />';var params=this.getParams();for(var key in params){swfNode+='<param name="'+key+'" value="'+params[key]+'" />';}var pairs=this.getVariablePairs().join("&");if(pairs.length>0){swfNode+='<param name="flashvars" value="'+pairs+'" />';}swfNode+="</object>";}return swfNode;},setDataURL:function(strDataURL){if(this.initialDataSet==false){this.addVariable('dataURL',strDataURL);this.initialDataSet=true;}else{var mapObj=infosoftglobal.FusionMapsUtil.getMapObject(this.getAttribute('id'));mapObj.setDataURL(strDataURL);}},setDataXML:function(strDataXML){if(this.initialDataSet==false){this.addVariable('dataXML',strDataXML);this.initialDataSet=true;}else{var mapObj=infosoftglobal.FusionMapsUtil.getMapObject(this.getAttribute('id'));mapObj.setDataXML(strDataXML);}},setTransparent:function(isTransparent){if(typeof isTransparent=="undefined"){isTransparent=true;}if(isTransparent)this.addParam('WMode','transparent');else this.addParam('WMode','Opaque');},render:function(elementId){if((this.detectFlashVersion==1)&&(this.installedVer.major<8)){if(this.autoInstallRedirect==1){var installationConfirm=window.confirm("You need Adobe Flash Player 8 (or above) to view the maps. It is a free and lightweight installation from Adobe.com. Please click on Ok to install the same.");if(installationConfirm){window.location="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";}else{return false;}}else{return false;}}else{var n=(typeof elementId=='string')?document.getElementById(elementId):elementId;n.innerHTML=this.getSWFHTML();if(!document.embeds[this.getAttribute('id')]&& !window[this.getAttribute('id')])window[this.getAttribute('id')]=document.getElementById(this.getAttribute('id'));return true;}}};infosoftglobal.FusionMapsUtil.getPlayerVersion=function(){var PlayerVersion=new infosoftglobal.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){PlayerVersion=new infosoftglobal.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var counter=3;while(axo){try{counter++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+counter);PlayerVersion=new infosoftglobal.PlayerVersion([counter,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");PlayerVersion=new infosoftglobal.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(PlayerVersion.major==6){return PlayerVersion;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){PlayerVersion=new infosoftglobal.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}return PlayerVersion;};infosoftglobal.PlayerVersion=function(arrVersion){this.major=arrVersion[0]!=null?parseInt(arrVersion[0]):0;this.minor=arrVersion[1]!=null?parseInt(arrVersion[1]):0;this.rev=arrVersion[2]!=null?parseInt(arrVersion[2]):0;};infosoftglobal.FusionMapsUtil.cleanupSWFs=function(){var objects=document.getElementsByTagName("OBJECT");for(var i=objects.length-1;i>=0;i--){objects[i].style.display='none';for(var x in objects[i]){if(typeof objects[i][x]=='function'){objects[i][x]=function(){};}}}};if(infosoftglobal.FusionMaps.doPrepUnload){if(!infosoftglobal.unloadSet){infosoftglobal.FusionMapsUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",infosoftglobal.FusionMapsUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",infosoftglobal.FusionMapsUtil.prepUnload);infosoftglobal.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];}}if(Array.prototype.push==null){Array.prototype.push=function(item){this[this.length]=item;return this.length;}}infosoftglobal.FusionMapsUtil.getMapObject=function(id){var mapRef=null;if(navigator.appName.indexOf("Microsoft Internet")== -1){if(document.embeds&&document.embeds[id])mapRef=document.embeds[id];else mapRef=window.document[id];}else{mapRef=window[id];}if(!mapRef)mapRef=document.getElementById(id);return mapRef;};var getMapFromId=infosoftglobal.FusionMapsUtil.getMapObject;var FusionMaps=infosoftglobal.FusionMaps;var jb=0;var nZ=0;var ho=0;var hp=0;var eT=Array(151);var gM=0;var oA=1;var iStretchTimeout=1;var eG=75;var ff=0;var eD=Array(8);var ScrollMutex=0;var gS=0;var hJ=false;var oy=1;var gsKey='';var ke='';var jZ='';var oK=0;var oL=0;function bE(){var fP=document.getElementById('loadingicon');var hW=document.getElementById('loadingicon2');if(fP)fP.style.display='block';if(hW)hW.style.display='block';return false;};function cJ(){var fP=document.getElementById('loadingicon');var hW=document.getElementById('loadingicon2');if(fP)fP.style.display='none';if(hW)hW.style.display='none';return false;};function bH(fo,iK,fO,mo){for(eh=0;eh<151;eh++)eT[eh]=0;var hT=document.getElementById('imageslidework');if(hT){bE();if(hT.location)hT.location='/js/imageloaddata.php?key='+fO+'&time='+iK+'&quickkey='+fo+'&shiftslide='+mo+'&r='+aC(5);else if(hT.src)hT.src='/js/imageloaddata.php?key='+fO+'&time='+iK+'&quickkey='+fo+'&shiftslide='+mo+'&r='+aC(5);else return false;}return false;};function cK(kZ,gO,lv,fO,iK,fo){if(fO==0){cJ();return false;}if(ScrollMutex==1)return false;gsKey=fO;if(jb==0){ScrollMutex=1;bH(fo,iK,fO,1);return false;}if((hp>0||ho>0)&&lv){lv.style.display="block";var ju=document.getElementById('imageprevbutton');var jv=document.getElementById('imagenextbutton');var kh=document.getElementById('imageprevdiv');if(ju&&hp>0)ju.style.display="block";if(jv&&ho>0)jv.style.display="block";if(kh&&ho>0&&hp>0&&ju&&jv)kh.innerHTML="prev&nbsp;|&nbsp;&nbsp;";else kh.innerHTML="prev";if(kZ&&gO){kZ.style.display="block";gO.style.display="block";ScrollMutex=1;gM=0;az(document.getElementById('toslide'),1,2,eG-3);az(document.getElementById('toslide'),2,2,eG-2);az(document.getElementById('toslide'),3,2,eG-1);az(document.getElementById('toslide'),4,2,eG);az(document.getElementById('toslide'),5,2,eG+1);az(document.getElementById('toslide'),6,2,eG+2);az(document.getElementById('toslide'),7,2,eG+3);eD[0]=Array(1,45,0,0,1);eD[1]=Array(2,115,0,0,1);eD[2]=Array(3,115,0,0,1);eD[3]=Array(4,115,0,0,1);eD[4]=Array(5,115,0,0,1);eD[5]=Array(6,115,0,0,1);eD[6]=Array(7,45,0,0,1);hJ=false;aQ();}}};function by(){if(ScrollMutex==1)return false;ScrollMutex=1;if(gS==1){if((eG+ff-3)<=(eG-(hp-2))){if(eT[(eG+ff-4)]&&eT[(eG+ff-5)]&&jZ!=eT[(eG)][0]){jZ=eT[(eG)][0];ke='';bH(eT[(eG+ff)][0],eT[(eG+ff)][1],gsKey,2);return false;}else{if(!eT[(eG+ff-2)]){ScrollMutex=0;return false;}}}az(document.getElementById('toslide'),0,1,(eG+ff-4));ff--;var fm=0;eD[fm++]=Array(1,115,45,0,1);eD[fm++]=Array(7,0,45,0,2);eD[fm++]=0;hJ=true;aQ();}if(gS==2){if((eG+ff+3)>=(eG+(ho-2))){if(eT[(eG+ff+4)]&&eT[(eG+ff+5)]&&ke!=eT[(eG)][0]){ke=eT[(eG)][0];jZ='';bH(eT[(eG+ff)][0],eT[(eG+ff)][1],gsKey,2);return false;}else{if(!eT[(eG+ff+2)]){ScrollMutex=0;return false;}}}az(document.getElementById('toslide'),8,2,(eG+ff+4));ff++;var fm=0;eD[fm++]=Array(7,115,45,0,1);eD[fm++]=Array(1,0,45,0,2);eD[fm++]=0;hJ=true;aQ();}};function dq(){if(ScrollMutex==1)return false;ScrollMutex=1;hJ=false;if(gS==1){if(document.getElementById('ImageSlideThumb'+7)){document.getElementById('toslide').removeChild(document.getElementById('ImageSlideThumb'+7));}for(eh=7;(jB=document.getElementById('ImageSlideThumb'+(eh-1)));eh--){jB.setAttribute('id','ImageSlideThumb'+(eh));if(eh<0)break;}var fm=0;eD[fm++]=Array(1,45,0,0,1);eD[fm++]=Array(7,45,115,0,2);eD[fm++]=0;aQ();}if(gS==2){if(document.getElementById('ImageSlideThumb'+1)){document.getElementById('toslide').removeChild(document.getElementById('ImageSlideThumb'+1));}for(eh=1;(jB=document.getElementById('ImageSlideThumb'+(eh+1)));eh++){jB.setAttribute('id','ImageSlideThumb'+(eh));if(eh>6)break;}var fm=0;eD[fm++]=Array(7,45,0,0,1);eD[fm++]=Array(1,45,115,0,2);eD[fm++]=0;aQ();}};function aQ(){var gJ=30;var oa=1;var jm=0;for(eh=0;eD[eh];eh++){if(eD[eh][3]==1)continue;fB=document.getElementById('ImageSlideThumb'+eD[eh][0]);if(!fB){continue;}if(eD[eh][4]==1){if(eD[eh][2]+gJ>eD[eh][1]){fB.style.width=eD[eh][1]+"px";eD[eh][2]=eD[eh][1];eD[eh][3]=1;}else{fB.style.width=(eD[eh][2]+gJ)+"px";eD[eh][2]=eD[eh][2]+gJ;jm=1;}}else if(eD[eh][4]==2){if(eD[eh][2]-gJ<eD[eh][1]){fB.style.width=eD[eh][1]+"px";eD[eh][2]=eD[eh][1];eD[eh][3]=1;}else{fB.style.width=(eD[eh][2]-gJ)+"px";eD[eh][2]=eD[eh][2]-gJ;jm=1;}}}if(jm)window.setTimeout(aQ,oa);else{ScrollMutex=0;if(hJ==true)dq();}};function az(gO,nl,ng,eC,hL){if(!gO)return false;var iX=eT[eC];var newDiv=document.createElement('div');newDiv.setAttribute('id',('ImageSlideThumb'+nl));newDiv.style.width="0px";newDiv.style.overflow="hidden";newDiv.style.margin="0 2px";newDiv.style.zIndex=0;if(iX){kY='<a  href="/imageview.php?quickkey='+iX[0]+'&thumb='+document.getElementById('S_thumb').innerHTML+'"  class="small_thumbnail" style="z-index: 0;"><img src="http';if(lB==1)kY+='s://www';else kY+='://www'+aX(iX[2]);kY=kY+'.mediafire.com/imgbnc.php/'+iX[2]+'1g.jpg" border="0"/></a>';}else kY='<img src="/images/imgerrs/blank.jpg" width="107" height="80" border="0"/>';newDiv.innerHTML=kY;if(ng==1){for(var eh=1;!(kW=document.getElementById('ImageSlideThumb'+eh))&&eh<=8;eh++);if(kW)gO.insertBefore(newDiv,kW);else return false;}else gO.appendChild(newDiv);};function cn(nS,hL){if(jb==0)return false;var iq=Array();switch(nS){case 'next':if(eT[eG+hL])iq=eT[(eG+hL)];else return false;break;case 'prev':if(eT[eG-hL])iq=eT[(eG-hL)];else return false;break;default:return false;break;}var fB=document.getElementById('S_thumb');if(fB)var gi=fB.innerHTML;else var gi=4;if(iq[0]){var ez='imageview.php?quickkey='+iq[0]+'&thumb='+gi;if(document.location)document.location=ez;else document.src=ez;}return false;};function Ei(){if(!fu&& !hq){Ck();return;}var aZipFiles=new Array(['2',gsKey]);var jF=false;var Q;var CZ=eT.length;for(var qy=0;qy<CZ;++qy){Q=eT[qy];if(Q){aZipFiles[aZipFiles.length]=[1,Q[0],2];jF=true;}}if(jF)return Co(aZipFiles,sImageFolderName);}var kd='';var identifier='';var oz=4000;var eP=null;var iG=null;var Uploading=false;var UploadFiles=1;var UserLogin=0;var UserEmail='n/a';var gY=0;var iv=0;var fu=0;var hq=0;var lB=0;var mv=0;var jd=0;var oo=false;var ka=false;var pZ=null;var qz=0;var qr=0;var qw='';var qt=100;var qx=6000;var qB=10;var qp=10;var qq=0;function qA(qv,qy){if(!(qy>0))return false;if(qv=='')return false;if(!document.getElementById(qv+'1'))return false;qz=qy;qr=1;qw=qv;setTimeout('qu()',qt+qx);};function qu(){var qs=qr+1;if(qs>qz){qs=1;}var oW=document.getElementById(qw+qr);var oR=document.getElementById(qw+qs);if(!oW|| !oR){return false;}oW.style.opacity=((qp-1)/10);oW.style.filter='alpha(opacity='+((qp-1)*10)+')';oR.style.opacity=((qq+1)/10);oR.style.filter='alpha(opacity='+((qq+1)*10)+')';qp=qp-1;qq=qq+1;if(qp<=0){qr=qs;qp=10;qq=0;setTimeout('qu()',qt+qx);return;}setTimeout('qu()',qt);};Array.prototype.multiSort=function(index){for(var i=0;i<this.length;i++){var temp=this[i].splice(index,1);this[i].unshift(temp);}return this.sort();};function vB(it){return TRUE;};function cv(){var ah=document.getElementById('form_reg');if(ah)ah.submit();else aa(0,"Unable to submit registration, please reload page and try again.");};function dW(ez){if(!ez)return false;var kV=ez.split('/');for(eh=0;kV[eh]!=undefined&&eh<10;eh++);if(eh-- >1){var jC=kV[eh].split('?');for(fA=0;jC[fA]!=undefined&&fA<10;fA++);if(fA>0)fA--;var mT=jC[fA].split('&');for(gZ=0;mT[gZ]!=undefined&&gZ<10;gZ++);if(gZ>0)gZ--;var kj=jC[gZ].split('=');for(gy=0;kj[gy]!=undefined&&gy<10;gy++);if(gy>0)gy--;if(kj[gy].length>3)return kj[gy];else return false;}else return false;};function dO(){aa(3,"Logging off user '"+UserEmail+"'.. Please wait..");setTimeout('dS()',2000);};function dG(lu){if(window.location)window.location=lu;else window.src=lu;};function pN(lu,pO){var ah=document.getElementById(pO);if(ah){if(ah.location)ah.location=lu;else ah.src=lu;}else return false;};function dS(){iD=document.getElementById('userwork');if(iD){av();ab(1,'none','prelogin','postlogin','div');var fT='/dynamic/logout.php?rand='+aC(5);if(iD.location)iD.location=fT;else iD.src=fT;}};function as(lP){if(lP==gY&&iv==1)return false;ii=document.getElementById('userwork');if(ii){aa(3,"Changing sharing mode.. Please wait..");var fT="/dynamic/douseracl.php?acl="+lP;if(ii.location)ii.location=fT;else ii.src=fT;}return true;};function cj(oc){var jw=document.getElementById('sharingmodebrowse');var jy=document.getElementById('sharingmodesingle');if(jw&&jy){if(gY==1){jy.className="singlefile";jw.className="browsable_selected";}else{jy.className="singlefile_selected";jw.className="browsable";}}var gV=document.getElementById('pagename');if(gV&&gV.value=='myfiles'&&oc!=1){RenderMyFiles(er,eN);}};function bF(ob){if(pZ)clearTimeout(pZ);pZ=setTimeout('av()',ob);return false;};function av(){gm=document.getElementById('statusmessage');EW=document.getElementById('statusmessage_text');if(ka==false){if(gm){gm.style.display="none";}if(EW){EW.innerHTML='';}return false;}ka=false;if(gm)opacity('statusmessage',100,0,500);return false;};function aa(qH,hg){am=document.getElementById('statusmessagebox');bw=document.getElementById('statusmessageboxtext');gm=document.getElementById('statusmessage');EW=document.getElementById('statusmessage_text');if(am&&bw){am.style.display="block";bw.innerHTML=hg;}else{if(gm&&EW){EW.innerHTML=hg;gm.style.display="block";opacity('statusmessage',0,100,200);ka=true;}else return false;switch(qH){case 0:bF(5000);break;case 1:bF(10000);break;case 2:bF(15000);break;case 3:break;default:av();break;}return false;}return false;};function opacity(id,opacStart,opacEnd,millisec){var object=document.getElementById(id).style;object.opacity=(opacEnd/100);object.MozOpacity=(opacEnd/100);object.KhtmlOpacity=(opacEnd/100);object.filter="alpha(opacity="+opacEnd+")";return;};function opacity_real(id,opacStart,opacEnd,millisec){var object=document.getElementById(id).style;var speed=Math.round(millisec/100);var timer=0;if(opacStart>opacEnd){for(i=opacStart;i>=opacEnd;i--){setTimeout("co("+i+",'"+id+"')",(timer*speed));timer++;}}else if(opacStart<opacEnd){for(i=opacStart;i<=opacEnd;i++){setTimeout("co("+i+",'"+id+"')",(timer*speed));timer++;}}};function co(opacity,id){var mainobject=document.getElementById(id);if(!mainobject)return false;var object=document.getElementById(id).style;object.opacity=(opacity/100);object.MozOpacity=(opacity/100);object.KhtmlOpacity=(opacity/100);object.filter="alpha(opacity="+opacity+")";};function aq(limitField,limitCount,limitNum,nC){if(limitField.value.length>limitNum){limitField.value=limitField.value.substring(0,limitNum);limitCount.innerHTML=0;}else{limitCount.innerHTML=limitNum-(limitField.value.length+nC);}};function cE(lw,iH,ik){if(!lw)return false;if(!ik&&ik!=0)ik=1;var ez="";if(lB==1){ez+="/imgbnc.php/"+iH+ik+"g.jpg";}else{ez+="http://www"+aX(iH)+".mediafire.com/imgbnc.php/"+iH+ik+"g.jpg";}lw.src=ez;};function aX(iH){return Math.ceil(h2d(iH.substring(0,1))/4);};function en(){return "You haven't finished yet!  Please press 'Cancel' to continue.";};function ap(hv){if(mv!=0)return;var eh=0;var jD;while(document.getElementById('toptab_'+eh)){jD=document.getElementById('toptab_'+eh);if(hv==eh)jD.className='current';else{switch(eh){case 0:case 1:break;case 2:jD.className='green';default:break;}}eh++;}mv=1;};function d2h(d){return d.toString(16);};function h2d(h){return parseInt(h,16);};function ab(){var i,x,tB,j=0,tA=new Array(),arg=ab.arguments;if(document.getElementsByTagName){for(i=4;i<arg.length;i++){tB=document.getElementsByTagName(arg[i]);for(x=0;x<tB.length;x++){tA[j]=tB[x];j++;}}for(i=0;i<tA.length;i++){if(tA[i].className){if(tA[i].id==arg[1]){if(arg[0]==1){tA[i].className=(tA[i].className==arg[3])?arg[2]:arg[3];}else{tA[i].className=arg[2];}}else if(arg[0]==1&&arg[1]=='none'){if(tA[i].className==arg[2]||tA[i].className==arg[3]){tA[i].className=(tA[i].className==arg[3])?arg[2]:arg[3];}}else if(tA[i].className==arg[2]){tA[i].className=arg[3];}}}}};function ax(){if(jd!=0)return;if(document.getElementById('iframe_ad1')){pN('/templates/728x90.html','iframe_ad1');DoShow('remove_ads_button1');DoShow('iframe_ad1');}if(document.getElementById('iframe_ad2')){pN('/templates/160x600.html','iframe_ad2');DoShow('remove_ads_button2');DoShow('iframe_ad2');}if(document.getElementById('iframe_ad3')){pN('/templates/336x280.html','iframe_ad3');DoShow('remove_ads_button3');DoShow('iframe_ad3');}jd=1;};function dC(){if(jd!=1)return;if(document.getElementById('iframe_ad1')){pN('/blank.html','iframe_ad1');DoHide('iframe_ad1');}if(document.getElementById('iframe_ad2')){pN('/blank.html','iframe_ad2');DoHide('iframe_ad2');}if(document.getElementById('iframe_ad3')){pN('/blank.html','iframe_ad3');DoHide('iframe_ad3');}jd=0;};function change_top_window(newlocation){window.location.href=newlocation;};function bL(flipto){if(flipto=='logout')ab(1,'none','prelogin','postlogin','div');};function bT(){var gV=document.getElementById('pagename');var fi='';if(!gV)return;switch(gV.value){case 'imageview':var query=window.location.search.substring(1);var vars=query.split("&");fi=vars[0]+"&"+vars[1]+"&r="+aC(5);break;case 'download':var query=window.location.search.substring(1);var vars=query.split("&");fi=vars[0];break;case 'about1':case 'about2':case 'myfiles':case 'billinghistory':case 'myaccount':fi="?r="+aC(5);break;case 'statisticsfilter':fi="?r="+aC(5);break;case 'upload':default:break;}switch(gV.value){case 'imageview':dG("/imageview.php?"+fi);break;case 'download':dG("/download.php?"+fi);break;case 'about1':case 'myfiles':dG("/myfiles.php"+fi);break;case 'register':dG('/register.php');break;case 'login':dG('/');break;case 'about2':case 'myaccount':dG("/myaccount.php"+fi);break;case 'billinghistory':dG("/myaccount/billinghistory.php"+fi);break;case 'statisticsfilter':dG("/myaccount/statisticsfilter.php"+fi);break;case 'upload':dG("/"+fi);break;default:break;}};function cR(){var gd=document.getElementById('header_icon_pro_logo');if(UserLogin!=0){if(UserEmail.length<21){document.getElementById('loggedin_email').innerHTML=UserEmail;}else{var ui=UserEmail.slice(0,18)+'...';document.getElementById('loggedin_email').innerHTML='<acronym title="'+UserEmail+'">'+ui+'</acronym>';}bL('logout');if(gd){if(fu>=1)gd.style.display='';else gd.style.display='none';}if(document.getElementById('upload_create')){document.getElementById('upload_create').style.visibility="hidden";document.getElementById('upload_login').style.visibility="hidden";document.getElementById('upload_create').innerHTML="";document.getElementById('upload_login').innerHTML="";document.getElementById('upload_create').style.display="none";document.getElementById('upload_login').style.display="none";}}else{if(gd){gd.style.display='none';}if(document.getElementById('upload_create')){document.getElementById('upload_create').style.visibility="visible";document.getElementById('upload_login').style.visibility="visible";}if(document.getElementById('reg_emailUL')){document.getElementById('reg_emailUL').value="";document.getElementById('reg_passUL').value="";}if(document.getElementById('reg_email')){document.getElementById('reg_email').value="";document.getElementById('reg_pass').value="";}}if(document.getElementById('login_area')){document.getElementById('login_area').style.visibility="visible";}};function ClipBoardClick(){aa(0,"Data copied to the clipboard!");return false;};function ClipBoardDone(){try{if(xT)xT.destroy();}catch(e){return false;}return false;};function ClipBoard(mU,uq){var hO=document.getElementById(mU);if(!hO){aa(0,"Failed to copy to clipboard, please use CTRL-C");return false;}if(hO.value)var text2copy=hO.value;else if(hO.innerHTML)var text2copy=hO.innerHTML;var xT=new ZeroClipboard.Client();xT.setText(text2copy);xT.glue(uq);return false;};function cH(direction){var counter=1;if(direction=="blank")var targetstring="_blank";else var targetstring="";while(counter<25){if(document.getElementById('alink_'+counter)){document.getElementById('alink_'+counter).target=targetstring;}counter++;}};function db(num1,num2){num1=parseInt(num1);num2=parseInt(num2);if(num1>=num2)return 0;else{var generator=Math.random()*(num2-num1);return Math.round(num1+generator);}};function aC(len){var varAlpha="";var varBeta="";while(len>0){var rndNum=Math.random();rndNum=parseInt(rndNum*1000);rndNum=(rndNum%26)+65;varBeta=String.fromCharCode(rndNum);varAlpha=varAlpha+varBeta;len--;}varBeta=varAlpha.toLowerCase();return varBeta;};function bR(){if(document.getElementById('workframe2'))if(document.getElementById('workframe2').location)document.getElementById('workframe2').location="/dynamic/random_seed.php";else document.getElementById('workframe2').src="/dynamic/random_seed.php";};function dg(jM){if(jM==null)jM=0;var filefield=document.getElementById('file_name0');if(filefield.value==""){aa(0,"Please click the 'Browse' or 'Choose' button and select at least one file before clicking the 'Upload File(s) to MediaFire' button");}else{identifier=kd;document.form_upload.action='http://upload.mediafire.com/'+identifier+'p'+jM;ab(1,'none','preupload','progressupload','div');Uploading=true;cH("blank");document.getElementById('form_upload').submit();}};function aP(){if(typeof XMLHttpRequest!="undefined"){eP=new XMLHttpRequest();return 1;}else if(window.ActiveXObject){var gp=["MSXML2.XMLHttp.5.0","MSXML2.XMLHttp.4.0","MSXML2.XMLHttp.3.0","MSXML2.XMLHttp","Microsoft.XMLHttp"];for(var i=0;i<gp.length;i++){try{eP=new ActiveXObject(gp[i]);return 1;}catch(hk){}}}return 0;};function set_file_name(je,iI){var gu='';if(!iI)return false;if(je&&je.length<11){return false;}if((gu=dW(je))!=false){iI.value=gu;}else if(iI){iI.value='Uknown_'+aC(5)+'.upload';}else return false;};function bn(numfiles,force,website){if(!document.getElementById('upload_content')|| !document.getElementById('links'))return;if(numfiles==UploadFiles&&force!=1)return;document.getElementById('links').selectedIndex=(parseInt(numfiles)-1);var counter=0;var sHTML=new Array();var newSlot;while(counter<parseInt(numfiles)){sHTML[counter]='<div class="web_uploader_url_table"><table style="margin: auto; width: 580px;"><tr>';if(parseInt(numfiles)>1)sHTML[counter]+='<td><div class="ul_number">'+(counter+1)+'</div></td>';else sHTML[counter]+='<td><div id="filenum_1" name="filenum_1" class="ul_number"></div></td>';if(website){sHTML[counter]+='<td> URL&nbsp;</td>';sHTML[counter]+='<td align="center"><input class="browse_lite" name="file_name'+counter+'" id="file_name'+counter+'" type="input"  size="30" value="http://" OnBlur="if (this.value == \'\') { this.value = \'http://\'; this.className = \'browse_lite\'; }" OnFocus="if (this.value == \'http://\') { this.value = \'\';  this.className = \'browse\'; }" OnChange="set_file_name(this.value,document.getElementById(\'file_title'+counter+'\'));" /></td>';sHTML[counter]+='<td>&nbsp;&nbsp;&nbsp; Save As&nbsp;</td>';sHTML[counter]+='<td align="center"><input class="browse_lite" name="file_title'+counter+'" id="file_title'+counter+'" type="input"  size="20" value="file.exe" OnFocus="if (this.value == \'file.exe\') this.value = \'\'; this.className = \'browse\';"/></td></tr></table></div>';}else sHTML[counter]+='<td align="center"><input class="browse" name="file_name'+counter+'" id="file_name'+counter+'" type="file"  size="58" /></td></tr></table></div>';counter++;}if(parseInt(numfiles)<=UploadFiles){counter=parseInt(numfiles);while(counter<10){document.getElementById('links_html_'+counter).innerHTML=' ';counter++;}counter=0;if(force)while(counter<numfiles){document.getElementById('links_html_'+counter).innerHTML=sHTML[counter];counter++;}}else{counter=UploadFiles;while(counter<numfiles){document.getElementById('links_html_'+counter).innerHTML=sHTML[counter];counter++;}}if(parseInt(numfiles)==1){document.getElementById('filenum_1').innerHTML='';document.getElementById('submit_file').src="/images/v4images/buttons/webuploader/upload_file.gif";}else{document.getElementById('filenum_1').innerHTML='1';document.getElementById('submit_file').src="/images/v4images/buttons/webuploader/upload_files.gif";}UploadFiles=parseInt(numfiles);};function update_upload_progress(percent,kbps,verify,eta){if(percent!=''&&percent!='undefined'){nA=document.getElementById('total_percent');nA.innerHTML=percent+"%";kF=document.getElementById('total_progress');if(percent>0)kF.style.width=percent+"%";else kF.style.width=1;}if(kbps!=''&&kbps!='undefined'){nz=document.getElementById('kbps');nz.innerHTML=kbps+"Kbps";iW=document.getElementById('speed');if(kbps>0){if(kbps>512)iW.style.width="150px";else if(kbps<128)iW.style.width="25px";else iW.style.width=Math.round(kbps/3.5)+"px";}else iW.style.width=1;}if(verify!=''&&verify!='undefined'){nD=document.getElementById('progress');nD.innerHTML=verify+"%";lc=document.getElementById('progress_bar');if(verify>0)lc.style.width=verify+"%";else lc.style.width=1;}if(eta!=''&&eta!='undefined'){nf=document.getElementById('eta');nf.innerHTML=eta;}};function aY(fZ,value,lj){var exdate=new Date();exdate.setDate(exdate.getDate()+lj);document.cookie=fZ+"="+escape(value)+((lj==null)?"":";expires="+exdate.toGMTString());};function aU(fZ,value,lh){var exdate=new Date();exdate.setTime(exdate.getTime()+(lh*1000));document.cookie=fZ+"="+escape(value)+((lh==null)?"":";expires="+exdate.toGMTString());};function ef(fZ,value){document.cookie=fZ+"="+escape(value);};function aL(fZ){if(document.cookie.length>0){hG=document.cookie.indexOf(fZ+"=");if(hG!= -1){hG=hG+fZ.length+1;jN=document.cookie.indexOf(";",hG);if(jN== -1)jN=document.cookie.length;return unescape(document.cookie.substring(hG,jN));}}return "";};function bU(fZ){aY(fZ,'',-1);};function cI(){var ip=0,iu=0;if(typeof(window.pageYOffset)=='number'){iu=window.pageYOffset;ip=window.pageXOffset;}else if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){iu=document.body.scrollTop;ip=document.body.scrollLeft;}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){iu=document.documentElement.scrollTop;ip=document.documentElement.scrollLeft;}return[ip,iu];};function aj(fC,hQ,hm){DoAPopup(fC,hQ,hm);};function Ch(Ea,hQ,hm){if(pN(Ea,'modal_msg_iframe')!=false){dZ();mw('modal_msg_iframe',hQ-30,hm-30);cq('modal_window_popup',hQ,hm);}};function DoAPopup(fC,hQ,hm){dZ();cq(fC,hQ,hm);};function ai(fC){bY(fC);};function bO(fC,hQ,hm){cq(fC,hQ,hm);};function bs(fC){bY(fC,true);};function cq(fC,hQ,hm){var gH=document.getElementById(fC);if(!gH){return false;}w=hQ;h=hm;xc=Math.round((document.body.clientWidth/2)-(w/2));yc=Math.round((document.body.clientHeight/2)-(h/2));var og=cI();gH.style.left=xc+"px";gH.style.top=(og[1]+100)+'px';gH.style.width=w+'px';gH.style.height=h+'px';gH.style.zIndex=1005;gH.style.display='block';};function mw(kC,hQ,hm){var eY=document.getElementById(kC);if(!eY){return false;}w=hQ;h=hm;eY.style.width=w+'px';eY.style.height=h+'px';};function bY(fC,nc){var gH=document.getElementById(fC);if(gH){gH.style.display='none';if(nc!=true){cU();}}else{aa(0,"Internal Error closing popup, please contact support!");alert(fC);return;}};function dZ(){var page_screen=document.getElementById('page_screen');if(!page_screen)return;page_screen.style.height=document.body.parentNode.scrollHeight+'px';page_screen.style.display='block';opacity('page_screen',0,80,200);};function cU(){var page_screen=document.getElementById('page_screen');if(page_screen){opacity('page_screen',80,0,100);setTimeout('cO()',1500);}return;};function cO(){var kA=document.getElementById('page_screen');if(!kA)return false;kA.style.display="none";};function au(obj){if(obj!=null&&obj.options!=null){return true;}return false;};function at(from){if(!au(from)){return;}for(var i=(from.options.length-1);i>=0;i--){from.options[i]=null;}from.selectedIndex= -1;};function kP(obj,text,value,selected){if(obj!=null&&obj.options!=null){obj.options[obj.options.length]=new Option(text,value,false,selected);}};function DoHide(fb){var ah;ah=document.getElementById(fb);if(ah&&ah.className!='hide')ah.className="hide";return;};function DoShow(fb){var ah;ah=document.getElementById(fb);if(ah&&ah.className!='show')ah.className="show";return;};function nd(fb){var ah;ah=document.getElementById(fb);if(ah&&ah.innerHTML)ah.innerHTML="";return;};function bA(fb){var ah=document.getElementById(fb);if(ah)if(ah.style.display=='block')return true;else return false;else return false;};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"");};String.prototype.ltrim=function(){return this.replace(/^\s+/,"");};String.prototype.rtrim=function(){return this.replace(/\s+$/,"");};function GetThis(T,C,U,L){var targetUrl='http://www.myspace.com/Modules/PostTo/Pages/?'+'t='+encodeURIComponent(T)+'&c='+encodeURIComponent(C)+'&u='+encodeURIComponent(U)+'&l='+L;window.open(targetUrl);}function bW(){try{var agree=confirm("Are you sure you want to delete your account?  All of your files will be deleted as well.");if(agree){if(document.getElementById('userwork')){if(document.getElementById('userwork').location)document.getElementById('userwork').location='/dynamic/deleteaccount.php';else document.getElementById('userwork').src='/dynamic/deleteaccount.php';}else return false;}else return false;}catch(errno){alert("Deletion Error\n\nThere was an unknown error while trying to delete your account.\n\nPlease contact support for further assistance.");}};function check_display_name(){display_name=document.getElementById('display_name');if(document.getElementById('userwork').location)document.getElementById('userwork').location='/dynamic/check_display_name.php?display_name='+display_name.value;else document.getElementById('userwork').src='/dynamic/check_display_name.php?display_name='+display_name.value;};function check_directurl(){display_name=document.getElementById('direct_url_name');if(document.getElementById('userwork').location)document.getElementById('userwork').location='/dynamic/check_directurl.php?name='+display_name.value;else document.getElementById('userwork').src='/dynamic/check_directurl.php?name='+display_name.value;};function Bf(AU){var eY=document.getElementById('customwork');var ez='';if(eY){ez='/myaccount/docustomize.php?enable='+AU;if(eY.location)eY.location=ez;else eY.src=ez;}return false;};function Bj(fO,Ap,Aq,lJ,mz){var elm;if(elm=document.getElementById('custom_header_on')){elm.style.display='block';}if(elm=document.getElementById('custom_header_off')){elm.style.display='none';}if(elm=document.getElementById('custom_header_exists')){elm.style.display='block';}if(elm=document.getElementById('preview_div1')){elm.style.background=Ap;}if(elm=document.getElementById('preview_div2')){elm.style.textAlign=Aq;}if(elm=document.getElementById('preview_img')){function Aj(){if(!elm.complete)return false;DoShow('preview_img');};DoHide('preview_img');elm.width=Math.ceil(parseInt(lJ)*.26);elm.height=Math.ceil(parseInt(mz)*.26);elm.onload=Aj;elm.src='/basicapi/getcustomheader.php?key='+fO}};function Bi(){var elm;if(elm=document.getElementById('custom_header_on')){elm.style.display='none';}if(elm=document.getElementById('custom_header_off')){elm.style.display='block';}if(elm=document.getElementById('custom_header_exists')){elm.style.display='block';}}var fN=Array(100);var eS=Array(100);var qi=Array(30);var qj=Array(30);var qg=Array(30);var qh=Array(30);fN[0]='save_to_my_account_span';fN[1]='visitor_selected_imageview';fN[2]='visitor_selected_filesview';fN[3]='nomanagement_view_tab1';fN[4]='nomanagement_view_tab2';fN[5]='visitor_breadcrumb1';fN[6]='visitor_breadcrumb2';fN[7]='shared_header_message';eS[0]='new_folder_span';eS[1]='tag_selected_items_span';eS[2]='move_selected_items_span';eS[3]='delete_selected_items_span';eS[4]='view_account_details_span';eS[5]='owner_selected_imageview';eS[6]='owner_selected_filesview';eS[7]='management_view_tab1';eS[8]='management_view_tab2';eS[9]='search_my1';eS[10]='search_my2';eS[11]='owner_breadcrumb1';eS[12]='owner_breadcrumb2';eS[13]='upload_button_span';eS[14]='sharing_mode_span';eS[15]='my_header_message';eS[16]='downloads_column_header';eS[17]='delete_image';eS[18]='login_create_account';eS[19]='public_directory_span';qi[0]='sharing_owner_manage_button';qi[1]='sharing_owner_manage_exp';qj[0]='';qg[0]='help_resources_span';qh[0]='';var er=1;var mu=1;var eN=1;var jS= -1;var oM=0;var eF=0;var eA= -1;var gj=0;var gv=0;var kc=0;var gD=0;var oD=0;var gn=0;var ih=0;var iZ='';var fw=new String('');var gX=0;var hZ=0;var fq=0;var fa=null;var eB=20;var jt=Array(9);var bK=eB;var kp=0;var hC=0;var bOverRow=0;var eV=1;var fg= -1;var nk=5;var jO=0;var jE='';var eK=Array(eB);var gf=0;var kK=null;var lk=null;var lW='';var iR=false;var iJ= -1;for(var gA=0;gA<eB;gA++)eK[gA]=Array(3);var kv=9;var jV=0;var fM=Array(3);fM[1]=Array(kv+1);for(var eh=0;eh<=kv;eh++)fM[1][eh]=0;fM[2]=Array(1);fM[2][0]=0;var fx=0;var jT=0;var iP=0;var iPreviewScroll=1;function dR(lT,ez,mB,fU){var ah=document.getElementById('direct_url_isset');if(lT==0){DoHide('direct_url_isset');DoHide('direct_url_notset');DoShow('direct_url_notenabled');}else if(ez==''||lT== -1){DoShow('direct_url_notset');DoHide('direct_url_notenabled');DoHide('direct_url_isset');}else{if(ah){ah.innerHTML="<strong><a href='/"+ez+"' target='_blank'>mediafire.com/"+ez+"</a></strong> is set to the folder <strong><a href='#' OnClick=\"ak('"+mB+"'); return false;\">"+fU+"</a></strong>";}DoShow('direct_url_isset');DoHide('direct_url_notenabled');DoHide('direct_url_notset');}return false;};function cx(fh){var ln=0;var oC=0;fh=Math.abs(fh);if(fh<20)return[1,50];else if(fh<50)return[2,50];else if(fh<180)return[5,50];else if(fh<180)return[7,50];else if(fh>=150)return[20,50];else return[1,50];};function cw(lq){if(iPreviewScroll!=1)return;if(jT!=lq){iP=0;jT=lq;}else iP++;setTimeout('aH()',500);};function aH(){var hb=195;var fh=0;var ah=document.getElementById('preview_mover');var ha;var kr=0;if(ah){var aLocation=cI();if(jT!=aLocation[1]){iP=0;setTimeout('cw('+aLocation[1]+')',500);return;}if(iP<2){setTimeout('cw('+aLocation[1]+')',500);return;}var fJ=Number(ah.style.paddingTop.replace(/px/g,''));if((fJ)==(aLocation[1]))return;else if(fJ>(aLocation[1]-hb)){if(fJ==0)return;fh=aLocation[1]-fJ;if(iJ!=1){iJ=1;setTimeout('aH()',35);return;}if(fJ-hb<0){fh=fJ;kr=fJ;}else{kr=Math.abs(fh-hb);}ha=cx(kr);ah.style.paddingTop=(fJ-ha[0])+"px";setTimeout('aH()',ha[1]);}else if(fJ<(aLocation[1]-hb)){if(iJ!=2){iJ=2;setTimeout('aH()',35);return;}fh=aLocation[1]-fJ;if(fh-hb>0)fh=fh-hb;else return;ha=cx(fh);ah.style.paddingTop=(fJ+ha[0])+"px";setTimeout('aH()',ha[1]);}}return;};function ek(np){if(!(ih>=1))return false;if(ih==np)return false;DoHide('stats'+ih);ih=0;};function dM(fo){if(iR==false)return false;if(aProfileFiles==null)return false;for(var eh=0;aProfileFiles[eh];eh++)if(aProfileFiles[eh]==fo)return true;return false;};function bk(){if(document.getElementById('image_thumb_small'))document.getElementById('image_thumb_small').className='thumbnail_ns';if(document.getElementById('image_thumb_small2'))document.getElementById('image_thumb_small2').className='thumbnail_ns';if(document.getElementById('image_thumb_big'))document.getElementById('image_thumb_big').className='thumbnail_ns';if(document.getElementById('image_thumb_big2'))document.getElementById('image_thumb_big2').className='thumbnail_ns';};function ej(){if(eL==eU){parent.aa(0,"You are current NOT in a folder, please enter a folder or create a folder before attempting to share.");return false;}};function qJ(){var eR=null;var ey=null;var gh='';var hd='';var eI=0;var nL=document.getElementById('email_files_qks');var nK=document.getElementById('email_files_filenames');var qI=document.getElementById('email_files_form');var lm=document.getElementById('email_files_to');var lo=document.getElementById('email_files_from');if(lm&&lm.value==''){aa(0,"You must enter your valid email address in the 'Recipient Email' box..");return;}if(lo&&lo.value==''){aa(0,"You must enter at least one valid email address in the 'Your Email' box..");return;}if(!(fx>0)){aa(0,"Select at least one public file or folder to email..");return;}for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){eR=document.getElementById('filecheck'+eu);ey=es[eK[(eu-1)][0][1]];if(eR&&eR.checked==true&&ey){if(ey[1]==1&&ey[11]!=1){if(eI>0){gh+=';;';hd+=';;';}gh+=ey[3];hd+=ey[5];eI++;}if(ey[1]==2&&ey[11]!=1){if(eI>0){gh+=';;';hd+=';;';}gh+=ey[15];hd+=ey[5];eI++;}}}if(eI<=0){aa(0,"No public files or folders are currently checked, please check one or more non-private items before attempting to send them via email.");return false;}else{nL.value=gh;nK.value=hd;aa(3,"Sending "+eI+" items(s) via email..");if(qI)qI.submit();else aa(0,"HTML components missing, cannot perform operation, please contact support.");}};function dD(){var eR=null;var ey=null;var gh='';var eI=0;var ez='';if(!(fx>0)){aa(0,"You must select at least one file to save..");return;}for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){eR=document.getElementById('filecheck'+eu);ey=es[eK[(eu-1)][0][1]];if(eR&&eR.checked==true&&ey){if(ey[1]==1){if(eI>0)gh+=';';gh+=ey[3];eI++;}}}if(eI<=0){aa(0,"No files are currently checked, please check 1 or more files before attempting to save them to your account.");return false;}else{ez="/dynamic/savefile.php?qk="+gh+"&status=statusmessage";aa(3,"Saving "+eI+" file(s) to your account..");var iw=document.getElementById('myfileswork');if(iw)if(iw.location)iw.location=ez;else iw.src=ez;else{aa(0,"Unable to perform save files request because of site errors, please contact support with your browser information.");return false;}}};function bb(nY,eu,eC){var fB=document.getElementById('thumbpop'+eu);if(es[eC]&&es[eC][2]==1&&fB){switch(nY){case 1:cE(document.getElementById('previmg'+eu),es[eC][15]);fB.className='thumbpop'+eu;break;case 2:default:fB.className='hide';break;}}};function MyFilesSwapOptions(){for(var eh=0;eS[eh]||fN[eh];eh++){if(document.getElementById(eS[eh]))document.getElementById(eS[eh]).className='hide';if(document.getElementById(fN[eh]))document.getElementById(fN[eh]).className='show';}if(Number(qm)==1){for(var eh=0;qj[eh]||qi[eh];eh++){if(document.getElementById(qj[eh])){document.getElementById(qj[eh]).className='hide';}if(document.getElementById(qi[eh])){document.getElementById(qi[eh]).className='show';}}}};function dV(oh){var fI=document.getElementById('curr_previmage_name');var gT=document.getElementById('curr_previmage_id');if(!fI|| !gT){aa(2,"Missing site compontents");return false;}var fT="/imageview.php?quickkey="+es[gT.value][3]+"&thumb="+oh;window.open(fT);};function cP(){var jR=aL('thumbsize');if(parseInt(jR)==0||parseInt(jR)==1){eV=parseInt(jR);}var kE=aL('mflt');if(parseInt(kE)>0){mu=parseInt(kE);}if(!document.getElementById('is_shared')||document.getElementById('is_shared').value!=1){var kR=aL('mflf');if(kR){jE=kR;}var mt=aL('mfpf');if(mt){jS=mt;}}var qb=aL('mfipp');if(qb){bK=qb/1;}if(!document.getElementById('is_shared')||document.getElementById('is_shared').value!=1){var bI=aL('mfsf');if(bI){kc=bI/1;}var mN=aL('mfsd');if(mN){gD=mN/1;}}};function dX(){var fr=document.getElementById('form_todolist1');var gw=document.getElementById('form_todolist2');var gN=document.getElementById('form_todotype');var fQ=document.getElementById('form_todoform');var fI=document.getElementById('curr_previmage_name');var gT=document.getElementById('curr_previmage_id');if(!fQ|| !gN|| !gw|| !fr|| !fI|| !gT){aa(2,"Missing site compontents");return;}var agree=confirm("Are you sure you want to delete the image named '"+fI.value+"'?");if(agree){gN.value=1;fr.value='';gw.value='';var eR=null;var ey=null;var ig='';ey=es[gT.value];if(ey){fr.value+=ey[1]+":"+ey[3]+";";bl(gT.value);}if(fr.value){aa(3,"Deleting 1 Image..");fQ.submit();fg= -1;aG(-1);bC();}return false;}else return false;};function CyclePreview(fc){if(eK[(fc+(fg-1))]&&eK[(fc+(fg-1))][1]==1&&document.getElementById('imagethumb'+(fc+fg))){fg=(fc+fg);}else{if(fc<0){for(var eu=eB;eu>=1;eu--){if(eK[(eu-1)]&&eK[(eu-1)][1]==1){fg=(eu);break;}}}else{for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){if(eK[(eu-1)][1]==1){fg=(eu);break;}}}}aG(fg);};function bC(){gG=document.getElementById('preview_box');hy=document.getElementById('preview_window_show');hz=document.getElementById('preview_window_hide');kf=document.getElementById('preview_window_show_second');jP=document.getElementById('preview_window_hide_second');if(gG){gG.innerHTML='';}if(hy){hy.className="preview_image";kf.className="preview_image";}if(hz){hz.className="hide";jP.className="hide";}ci();};function ci(){for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){qC=document.getElementById('imagethumb'+eu);if(qC&&eK[(eu-1)][1]==1){if(qC.className=='small_private'||qC.className=='medium_private')qC.className=eV?'small_private':'medium_private';else if(qC.className=='small_password'||qC.className=='medium_password')qC.className=eV?'small_password':'medium_password';else if(qC.className=='small_private_selected'||qC.className=='medium_private_selected')qC.className=eV?'small_private':'medium_private';else if(qC.className=='small_password_selected'||qC.className=='medium_password_selected')qC.className=eV?'small_password':'medium_password';else qC.className=eV?'small_thumbnail':'medium_thumbnail';}}};function aG(jQ){if(fg== -1&&jQ== -1&& !(gX>0)){bC();return;}fg= -1;if(jQ>=0)fg=jQ;else for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){if(eK[(eu-1)][1]==1){fg=(eu);break;}}ci();aH();var nH=document.getElementById('imagethumb'+(fg));if(!nH){aa(0,"NOTICE: No image available to preview.");}else{var gx=document.getElementById('imagethumb'+fg);if(gx.className=='small_private'||gx.className=='medium_private')gx.className=eV?'small_private_selected':'medium_private_selected';else if(gx.className=='small_password'||gx.className=='medium_password')gx.className=eV?'small_password_selected':'medium_password_selected';else gx.className=eV?'small_select':'medium_select';hy=document.getElementById('preview_window_show');hz=document.getElementById('preview_window_hide');kf=document.getElementById('preview_window_show_second');jP=document.getElementById('preview_window_hide_second');gG=document.getElementById('preview_box');gG.innerHTML='';if(gG){gG.className="preview_image";mV=bh((eH[7].replace(/#FILENUM#/g,'PREVIEW')),eK[(fg-1)][0][1],0,0);gG.innerHTML=mV;}if(hz){hz.className="preview_image";jP.className="preview_image";}if(hy){hy.className="hide";kf.className="hide";}}ae('sharetabsfilePREVIEW-',1);ad(0,document.getElementById('sharetemplatefilePREVIEW'),'PREVIEW','sharedtabsfileinfoPREVIEW-');};function bj(mR,fo,lg){var fT;var iA=document.getElementById('myfileswork');if(iA){var Q;for(var eh=0;Q=es[eh];eh++){if(Q[3]==fo){Q[11]=lg;var aInnerFile;var bDoRecursive=false;if(Q[1]=='2'){for(var iInnerCounter=0;aInnerFile=es[iInnerCounter];iInnerCounter++){if(aInnerFile[1]=='2'&&aInnerFile[4]==fo){if(bDoRecursive=confirm('Press OK to change all subfolders to '+(lg==1?'private':'public')+'.\n\n  Press Cancel to only change the current folder.\n\n NOTE: this may take a few moments.')){DoRecursiveFolderAclChange(fo,lg);}break;}}}if(bDoRecursive)fT="/dynamic/doaclchange.php?quickkey="+fo+"&acl="+lg+"&type="+Q[1]+"&filenum="+mR+"&recursive=1";else fT="/dynamic/doaclchange.php?quickkey="+fo+"&acl="+lg+"&type="+Q[1]+"&filenum="+mR;if(iA.location)iA.location=fT;else iA.src=fT;}}}};function DoRecursiveFolderAclChange(sFolderkey,lg){var Q;for(var eh=0;Q=es[eh];eh++){if(Q[1]=='2'&&Q[4]==sFolderkey){Q[11]=lg;DoRecursiveFolderAclChange(Q[3],lg);}}};function dI(eu,fo){document.getElementById('password_list'+eu).value='';for(var eh=0;es[eh];eh++)if(es[eh][3]==fo){es[eh][14]='';document.getElementById('form_todoform'+eu).submit();return true;}return false;};function dQ(mX){return confirm("Do you want to remove the password for '"+mX+"'?");};function cr(){var iE=document.getElementById('detailedviewA');if(iE&&gf==1)iE.innerHTML="Hide Descriptions/Tags";else if(iE&&gf==0)iE.innerHTML="Show Descriptions/Tags";};function cZ(){if(gf==1){aY("advancedview",0,90);gf=0;}else{aY("advancedview",1,90);gf=1;}cr();RenderMyFiles(er,eN);};function aN(){var jA=document.getElementById('search_input'+er);if(jA){if(jA.value!='')jA.value='';}var he=document.getElementById('search_delete_button'+er);if(he){he.style.visibility="hidden";}fw='';eA= -1;eE[er]=0;};function bB(mA,hv){var he=document.getElementById('search_delete_button'+hv);if(he){he.style.visibility=mA;}};function bp(ku){var oJ='';if(ku==fw)return false;var jq=document.getElementById('search_input'+(er));if(jq&&ku!=jq.value&&jq.value!='Viewing All')return false;DoShow('search_processing_icon'+(er));fw=ku;eA= -1;eE[er]=0;RenderMyFiles(er,eN);if(fw.length==0){bB('hidden',er);}else{bB('visible',er);}DoHide('search_processing_icon'+(er));};function bl(nm){var ah=es[nm];if(ah)ah[0]=0;else return false;};function cG(fj,hP,DH){var kH=false;var gu='';var jF=false;var eh= -1;var Q;while(Q=es[++eh]){if(Q[4]==fj&&Q[1]==2){if((kH=cG(Q[3],(hP+1)))!=false)gu+=Q[1]+":"+Q[3]+";"+kH;else gu+=Q[1]+":"+Q[3]+";";if(!DH)bl(eh);jF=true;}else if(Q[4]==fj){gu+=Q[1]+":"+Q[3]+";";if(!DH)bl(eh);jF=true;}}if(jF)return gu;return false;};function bX(et){var fr=document.getElementById('form_todolist1');var gw=document.getElementById('form_todolist2');var gN=document.getElementById('form_todotype');var fQ=document.getElementById('form_todoform');var BW=document.getElementById('form_todoconfirm');var xv=document.getElementById('form_todoparent');if(!fQ|| !gN|| !gw|| !fr|| !xv|| !BW){aa(2,"Missing site compontents");return;}fr.value='';gw.value='';BW.value='';switch(et){case 2:var gE=document.getElementById('tag_desc_list');if(gE.value==''){aa(0,"You must enter at least one word to tag items with.");return false;}gN.value=2;fr.value='';gw.value=gE.value;var eR=null;var ey=null;var ig='';for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){eR=document.getElementById('filecheck'+eu);ey=es[eK[(eu-1)][0][1]];if(eR&&eR.checked==true&&ey){fr.value+=ey[1]+":"+ey[3]+";";es[eK[(eu-1)][0][1]][12]+=" "+gE.value;}}if(fr.value){aa(3,"Tagging "+fx+" objects with '"+gE.value+"'..");fQ.submit();}break;case 1:if(!(fx>0)){aa(0,"You must select at least one item to delete using the check boxes to the right.");return;}var agree=confirm("Are you sure you want to delete "+fx+" objects?");if(agree){gN.value=1;fr.value='';gw.value='';var eR=null;var ey=null;var ig='';for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){eR=document.getElementById('filecheck'+eu);ey=es[eK[(eu-1)][0][1]];if(eR&&eR.checked==true&&ey){fr.value+=ey[1]+":"+ey[3]+";";if(ey[1]==2&&(ig=cG(ey[3],1)))fr.value+=ig;bl(eK[(eu-1)][0][1]);}}if(fr.value){aa(3,"Deleting "+fx+" items..");fQ.submit();}return false;}else return false;break;case 30:if(iR!=true)break;var eR=null;var ey=null;var hn='';var eI=0;var jh=null;for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){eR=document.getElementById('filecheck'+eu);ey=es[eK[(eu-1)][0][1]];if(eR&&eR.checked==true&&ey&&ey[11]==0&&ey[0]==1){jh=false;for(var iO=0;iO<300&&aProfileFiles[iO];iO++)if(aProfileFiles[iO]==ey[3]){jh=true;break;}if(jh==false){if(eI>0)hn+=',';if(ey[1]==1){hn+='1:'+ey[2]+':';}else if(ey[1]==2){hn+='2:0:';}hn+=ey[3];eI++;}}}aa(3,"Adding "+eI+" objects to Profile..");top.location.href="http://apps.facebook.com/mediafire/?action=profile&subaction=1&objects="+hn+"&ukey="+aL('ukey');break;default:break;}};function zE(xn){if(!fu&& !hq){Ck();return;}var sParentName='';var aZipFiles=[['2',xn,0]];var eR,ey,Cu;if(eL!=eU){for(var i=0;i<fa.length;i++){if(fa[i][1]==eL)sParentName=fa[i][0];}}Cu=Dk(xn,1);if(Cu){aZipFiles=aZipFiles.concat(Cu);Co(aZipFiles,'');}else{aa(0,"Folder must contain at least one item to zip.");}return;};function dU(gU,iF,fQ,iz){if(!iz|| !gU|| !iF|| !fQ)return false;var ia=iF.value;var qG=iF[iF.selectedIndex].text;if(!(fx>0)){aa(0,"You must select at least one item to move using the check boxes to the right.");return;}if(eL==ia){aa(0,"The destination folder ('"+qG+"') and the current folder selected are the same.");return;}iz.value='';var jn=false;var eR=null;var ey=null;var fj=eU;var jL=eU;for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){eR=document.getElementById('filecheck'+eu);ey=es[eK[(eu-1)][0][1]];jL=ia;if(eR&&eR.checked==true&&ey){if(ey[3]==ia){aa(0,"One of the source folders ("+ey[5]+") is the destination folder, nothing will be moved. ");jn=true;break;}if(ey[1]==2)var lp=0;while((fj=aE(jL))!=eU&&lp<1000){if(fj==ey[3]){jn=true;aa(0,"The source folder ("+ey[5]+") is in the destination tree, you cannot move folders in this fashion.");break;}jL=fj;lp++;}iz.value+=ey[1]+":"+ey[3]+";";}}if(jn){iz.value='';return false;}aa(3,"Moving "+fx+" selected items to folder '"+qG.trim()+"'..");fQ.submit();};function aE(gl){for(var eh=0;eh<(fz+1);eh++)if(fa[eh][1]==gl)return fa[eh][3];return 0;};function ak(gl){if(fw==''&&gl==eL)return false;if(!gl)return false;bt();aN();eL=gl;eA= -1;eE[er]=0;RenderMyFiles(er,eN);var oE=gl;var jk=document.getElementById('current_folder_name'+er);var gL=document.getElementById('parent_folder_names'+er);if(jk&&gL){var fj=eU;gL.innerHTML='';jk.innerHTML='';for(var eh=0;eh<(fz+1);eh++){if(fa[eh]&&fa[eh][1]==eL){if(fa[eh][1]!=eU)jk.innerHTML="&nbsp;/&nbsp; <strong>"+fa[eh][0]+"</strong> ";fj=fa[eh][3];break;}}var lz=Array();var gM=0;while(fj!=eU){for(var eh=0;eh<(fz+1);eh++){if(fa[eh][1]==fj){lz[gM]='&nbsp;/&nbsp; <a href="#" OnClick=" ak(\''+fa[eh][1]+'\'); return false;">'+fa[eh][0]+'</a> ';fj=fa[eh][3];gM++;break;}}}while(gM>0)gL.innerHTML+=lz[((gM--)-1)];if((!document.getElementById('is_shared')||document.getElementById('is_shared').value!=1)||Number(qm)==1){aU('mflf',eL,100);aU('mfpf',fj,100);}}};function cX(){aS(0,kK);};function cT(fO){if(iR==true)var gb='<select id="move_dest_'+fO+'" name="move_dest_'+fO+'" style=" width: 120px;">';else var gb='<select id="move_dest_'+fO+'" name="move_dest_'+fO+'" style=" width: 150px;">';var ji=0;for(var eI=0;eI<(fz+1);eI++){if(fa[eI]){ji='';for(var ly=0;(fa[eI][2]*4)>ly;ly++)ji+="&nbsp;";gb+='<option value="'+fa[eI][1]+'">'+ji+fa[eI][0]+'</option>';}}gb+='</select>';return gb;};function cf(ny,eI,hP){if(!(fz>0)){fa=Array();return false;}if(hP>=20){aa(0,"Maximum Folder Depth Reached!");return false;}if(eI==0){fa=Array(fz);fa[0]=Array('My Files',eU,0,eU);eI++;}var fe='';for(var eh=0;eh<fz;eh++){if(!fd[eh])break;fe=es[fd[eh][1]];if(fe[4]==ny&&fe[0]==1&&fe[1]==2){fa[eI]=Array(fe[5],fe[3],hP,fe[4]);eI++;eI=cf(fe[3],eI,hP+1);}}return eI;};function aS(ki,fW){var fW=(fW==null)?"#FFFFFF":fW;if(fW==0)fW='';var lE=document.getElementById('new_folder');var gE=document.getElementById('tag_selected');var lY=document.getElementById('move_selected');var lM=document.getElementById('email_selected');var lH=document.getElementById('viewaccount_selected');var lF=document.getElementById('new_folderA');var la=document.getElementById('tag_selectedA');var lZ=document.getElementById('move_selectedA');var lN=document.getElementById('email_selectedA');var lI=document.getElementById('viewaccount_selectedA');gE.className='hide';lE.className='hide';lY.className='hide';lM.className='hide';lH.className='hide';la.style.backgroundColor=fW;lF.style.backgroundColor=fW;lZ.style.backgroundColor=fW;lN.style.backgroundColor=fW;lI.style.backgroundColor=fW;if(ki!=gn){switch(ki){case 1:document.getElementById('new_folder_name').value='';lE.className='show';lF.style.backgroundColor='#E1EDFF';document.getElementById('new_folder_name').focus();break;case 2:document.getElementById('tag_desc_list').value='';gE.className='show';la.style.backgroundColor='#E1EDFF';document.getElementById('tag_desc_list').focus();break;case 3:document.getElementById('move_dropdown').innerHTML=cT('navbar_filelist');lY.className='show';lZ.style.backgroundColor='#E1EDFF';document.getElementById('move_dest_navbar_filelist').focus();break;case 4:document.getElementById('email_files_to').value='';lM.className='show';lN.style.backgroundColor='#E1EDFF';document.getElementById('email_files_to').focus();break;case 5:lH.className='show';lI.style.backgroundColor='#E1EDFF';document.getElementById('stat_num_files').focus();break;default:break;}gn=ki;}else gn=0;};function dE(ic){if(ic.value!=hC){ic.disabled=true;bN(ic.value);ic.disabled=false;}};function bN(nx){hC=nx;eA= -1;eE[er]=0;RenderMyFiles(er,eN);};function dN(gU,fI,oB,fQ){aa(3,"Creating Folder..");switch(dm(fI.value)){case-3:aa(1,"The folder name you entered contains invalid characters.");gU.disabled=false;break;case-2:aa(1,"The folder name you entered is to long, please correct and try again.");gU.disabled=false;break;case-1:aa(1,"The folder name you entered is to short, please correct and try again.");gU.disabled=false;break;case 0:document.getElementById('new_folder_parent').value=eL;fQ.submit();break;default:aa(1,"The folder name you selected to create was invalid for an unknown reason, please check it and try again.");gU.disabled=false;break;}};function eo(jp){var numaric=jp;for(var j=0;j<numaric.length;j++){var alphaa=numaric.charAt(j);var hh=alphaa.charCodeAt(0);if((hh>31&&hh<59)||(hh>57&&hh<94)||(hh>93&&hh<123)){}else{return false;}}return false;};function ep(jp){var numaric=jp;for(var j=0;j<numaric.length;j++){var alphaa=numaric.charAt(j);var hh=alphaa.charCodeAt(0);if((hh>47&&hh<59)||(hh>64&&hh<90)||(hh>96&&hh<123)){continue;}else{return false;}}return false;};function dm(fU){var et=0;if(fU.length<1)et= -1;if(fU.length>40)et= -2;return et;};function dv(){kp=1;if(kk!=1)return false;if(document.getElementById('email_files_from')){document.getElementById('email_files_from').value=UserEmail;}if(!(gf=aL("advancedview"))){if(lk>=0)gf=lk;else gf=0;}var ix=document.getElementById('sharingmodebox');if(UserLogin==1){if(ix){ix.style.display="block";cj(1);}if(UserEmail.length>3){if(!document.getElementById('is_shared')||document.getElementById('is_shared').value!=1){DoShow('public_directory_span');}}}else{var my=document.getElementById('create_account_box');if(my)my.style.display="block";if(ix){ix.style.display="none";}}cP();oX(kc,'colheaderfiles');var gC=document.getElementById('image_thumb_small');var gF=document.getElementById('image_thumb_big');if(gF&&gC){if(eV){gC.className='thumbnail_selected';gF.className='thumbnail_ns';}else{gF.className='thumbnail_selected';gC.className='thumbnail_ns';}}var gC=document.getElementById('image_thumb_small2');var gF=document.getElementById('image_thumb_big2');if(gF&&gC){if(eV){gC.className='thumbnail_selected';gF.className='thumbnail_ns';}else{gF.className='thumbnail_selected';gC.className='thumbnail_ns';}}var hS=document.getElementById('is_shared');if(hS&&hS.value==1){eH=wY;}if(Number(fu)==1&&(!hS||hS.value!=1)){for(var eh=0;qh[eh]||qg[eh];eh++){if(document.getElementById(qg[eh])){document.getElementById(qg[eh]).className='show';}}}else{for(var eh=0;qh[eh]||qg[eh];eh++){if(document.getElementById(qh[eh])){document.getElementById(qh[eh]).className='hide';}}}bu();aN();cr();if(jE)ak(jE);sH=parent.document.URL;if(sH&&(sH.substring(sH.length-'#photos'.length)=='#photos')){aV(2);}else{aV(mu);}if(document.getElementById('is_shared')&&document.getElementById('is_shared').value==1){var mq=document.getElementById('visitor_selected_filesview');var mp=document.getElementById('visitor_breadcrumb1');var js=document.getElementById('currently_browsing_shared');var nM=document.getElementById('visitor_selected_imageview');var nJ=document.getElementById('visitor_breadcrumb2');var hE='';if(mq){for(var eh=0;es[eh];eh++){if(es[eh][1]==2&&es[eh][3]==eU){hE=es[eh][5];break;}}if(!hE)hE='MyFiles';mq.innerHTML='Shared Folder \''+hE+'\'';nM.innerHTML='Shared Folder \''+hE+'\'';}if(mp){mp.innerHTML=jY+"'s Shared Files "+hE;nJ.innerHTML=jY+"'s Shared Images "+hE;}if(js)js.innerHTML=js.innerHTML+jY+"'s Shared Files";}if(fu==0)DoShow('mediapro_promo');else DoHide('mediapro_promo');if(fu==0&&hq==0){ax();}else dC();dR(nr,nR,nP,nQ);window.onscroll=function(){setTimeout("aH()",100);};window.onresize=function(){setTimeout("aH()",100);};if(Number(qm)==1){DoShow('upload_to_this_folder');}else{DoHide('upload_to_this_folder');}kp=0;};function aW(){fx=0;for(var eh=0;eh<=eB;eh++)if(document.getElementById('filecheck'+eh)&&document.getElementById('filecheck'+eh).checked)fx++;var Span1=document.getElementById('NumOfSelectedObjects1');if(Span1&&fx>0){Span1.style.visibility="visible";Span1.innerHTML=' <strong>('+fx+' Items Selected)</strong>';var Span2=document.getElementById('NumOfSelectedObjects2');if(Span2){Span2.style.visibility="visible";Span2.innerHTML=Span1.innerHTML;}}else if(fx==0){if(document.getElementById('NumOfSelectedObjects1')){document.getElementById('NumOfSelectedObjects1').style.visibility="hidden";document.getElementById('NumOfSelectedObjects1').innerHTML="";}if(document.getElementById('NumOfSelectedObjects2')){document.getElementById('NumOfSelectedObjects2').style.visibility="hidden";document.getElementById('NumOfSelectedObjects2').innerHTML="";}}};function ck(){var eh=1;while(eh<=eB){if(document.getElementById('filecheck'+eh)&&document.getElementById('file_row'+eh)){document.getElementById('filecheck'+eh).checked=true;document.getElementById('file_row'+eh).className="file_selected";}eh++;}jV=1;aW();};function bm(eu){var fF='';eu%2==0?fF="odd":fF="even";if(document.getElementById('filecheck'+eu)&&document.getElementById('file_row'+eu)){if(document.getElementById('filecheck'+eu).checked==false)document.getElementById('file_row'+eu).className="file_"+fF;else document.getElementById('file_row'+eu).className="file_selected";}aW();return true;};function ce(){var eh=0;fM[2][0]=0;while(kv>=eh&&fM[1][eh]>=0){fM[1][eh]=0;eh++;}jV=0;};function bv(){var eh=1;var fF='';while(eh<=eB){if(document.getElementById('filecheck'+eh)){document.getElementById('filecheck'+eh).checked=false;eh%2==0?fF="odd":fF="even";document.getElementById('file_row'+eh).className="file_"+fF;}eh++;}ce();aW();};function ay(fD,gB){var fF='';var nv=0;if(fD==2)gB=0;if(jV==1){bv();}var eh=1;while(eh<=eB){if(document.getElementById('filecheck'+eh)){if((fD==2&&eK[(eh-1)][1]==fD)||(fD==1&&gB==0&&eK[(eh-1)][1]==fD)||(fD==1&&eK[(eh-1)][1]==fD&&eK[(eh-1)][2]==gB)){if(fM[fD][gB]==1){eh%2==0?fF="odd":fF="even";document.getElementById('file_row'+eh).className="file_"+fF;document.getElementById('filecheck'+eh).checked=false;}else{document.getElementById('filecheck'+eh).checked=true;document.getElementById('file_row'+eh).className="file_selected";}nv++;}}eh++;}if(fM[fD][gB]==1)fM[fD][gB]=0;else{fM[fD][gB]=1;}aW();};function aJ(km){if(km<0)return false;if((km*eB)>eA)return false;eE[er]=km;};function cD(sA,sB){return parseInt(sA)-parseInt(sB);};function oX(hM,hj){var eh=0;while(document.getElementById(hj+String(eh))&&eh<20){document.getElementById(hj+String(eh)).className="no_sort";eh++;}if(gD==0){document.getElementById(hj+String(hM)).className="sort_up";}else{document.getElementById(hj+String(hM)).className="sort_down";}};function bc(hM,hj){var eh=0;while(document.getElementById(hj+String(eh))&&eh<20){document.getElementById(hj+String(eh)).className="no_sort";eh++;}if(kc===hM)if(gD==1){gD=0;document.getElementById(hj+String(hM)).className="sort_up";}else{gD=1;document.getElementById(hj+String(hM)).className="sort_down";}else{kc=hM;gD=0;document.getElementById(hj+String(hM)).className="sort_up";}if(!document.getElementById('is_shared')||document.getElementById('is_shared').value!=1){aY('mfsf',kc,(60*24*30));aY('mfsd',gD,(60*24*30));}RenderMyFiles(er,eN);};function qK(){var jx=document.getElementById('sharethisfolder100'+er);if(!jx)return false;if(eL!=eU&&gY==1){jx.innerHTML="(share this folder)";DoShow("sharethisfolder100"+er+"-2");}else{jx.innerHTML='';DoHide("sharethisfolder100"+er+"-2");}return false;};function bt(){var sharediv=document.getElementById('sharediv100'+er);if(sharediv.className=="hide")return false;sharediv.className=="hide"?sharediv.className="actions":sharediv.className="hide";ab(1,'sharedivtab100'+er,'sharedivtab100'+er,'hide','span');return false;};function qF(){if(eL==eU)return false;var sharediv=document.getElementById('sharediv100'+er);if(sharediv.className!="hide")return false;for(var eh=0;eh<(iQ+fz+1);eh++)if(es[eh][3]==eL){break;}aD(eh,'100'+er,3);ab(1,'sharedivtab100'+er,'sharedivtab100'+er,'hide','span');return true;};function aD(eC,eu,jK){var sharediv=document.getElementById('sharediv'+eu);if(sharediv){if(sharediv.className=="hide"){sharediv.innerHTML=bh(eH[jK],eC,eu,'');}sharediv.className=="hide"?sharediv.className="actions":sharediv.className="hide";ae('sharetabsfile'+eu+'-',1);ad(0,document.getElementById('sharetemplatefile'+eu),eu,'sharedtabsfileinfo'+eu+'-');}else return false;};function cF(gl){var gg=Array(2);gg[0]=0;gg[1]=0;var yg=new String();var i= -1;while(xb=fa[++i]){if(xb[3]==gl||yg.search(xb[3])!= -1){yg+=xb[1]+',';gg[1]++;}}yg+=gl;if(!gg[1]){var i= -1;while(xb=es[++i]){if(xb[0]==1&&xb[1]==1&&xb[4]==gl){gg[0]++;}}}else{var i= -1;while(xb=es[++i]){var An=new RegExp(xb[4]);if(xb[0]==1&&xb[1]==1&&An.test(yg)){gg[0]++;}}}return gg;};function bh(ei,eC,ew,eJ){ei=ei.replace(/#FILENAME#/g,es[eC][5].replace(/"/g,'&#34;'));ei=ei.replace(/#QUICKKEY#/g,es[eC][3]);ei=ei.replace(/#FILETYPE#/g,es[eC][2]);ei=ei.replace(/#FILESIZE#/g,(es[eC][7]+" "+es[eC][8]));ei=ei.replace(/#UPLOADDATE#/g,es[eC][10]);ei=ei.replace(/#DOWNLOADS#/g,es[eC][9]);ei=ei.replace(/#FILENUM#/g,String(ew));ei=ei.replace(/#ODDEVEN#/g,String(eJ));ei=ei.replace(/#DESCRIPTION#/g,es[eC][13].replace(/"/g,'&#34;'));ei=ei.replace(/#TAGS#/g,es[eC][12].replace(/"/g,'&#34;'));ei=ei.replace(/#PASSWORD#/g,es[eC][14].replace(/"/g,'&#34;'));ei=ei.replace(/#INDEX#/g,String(eC));ei=ei.replace(/#UKEY#/g,aL('ukey'));ei=ei.replace(/#ISFOLDER#/g,es[eC][1]);if(es[eC][1]==2){var jz=Array(2);jz=cF(es[eC][3]);ei=ei.replace(/#SUBFOLDERS#/g,jz[1]);ei=ei.replace(/#SUBFILES#/g,jz[0]);if(es[eC][16]=='1'){ei=ei.replace(/#FOLDERICON#/g,'/images/v4images/icons/myfiles/dropbox_folder.gif');ei=ei.replace(/#FOLDERIMAGEICONSMALL#/g,'/images/v4images/icons/myfiles/imageview_dropbox_folder_small.gif');ei=ei.replace(/#FOLDERIMAGEICONLARGE#/g,'/images/v4images/icons/myfiles/imageview_dropbox_folder_large.gif');}else{ei=ei.replace(/#FOLDERICON#/g,'/images/filetype/list_icons/999.gif');ei=ei.replace(/#FOLDERIMAGEICONSMALL#/g,'/images/myimages_icons/Folder_sm.jpg');ei=ei.replace(/#FOLDERIMAGEICONLARGE#/g,'/images/myimages_icons/Folder.jpg');}}if(iR==true){if(dM(es[eC][3])){ei=ei.replace(/#STYLE_OFFPROFILE#/g,'display: none;');ei=ei.replace(/#STYLE_ONPROFILE#/g,'display: block;');}else{ei=ei.replace(/#STYLE_OFFPROFILE#/g,'display: block;');ei=ei.replace(/#STYLE_ONPROFILE#/g,'display: none;');}}var hS=document.getElementById('is_shared');if((hq>=1&&es[eC][14]==''||hq>=1&&es[eC][1]==2)&&es[eC][2]!=1)ei=ei.replace(/#DOBLANK#/g,'');else ei=ei.replace(/#DOBLANK#/g,'_blank');if(gY==0||(es[eC][1]==2&&es[eC][11]==1)){ei=ei.replace(/#ACLCLASS#/g,'hide');}else{ei=ei.replace(/#ACLCLASS#/g,'');}if(es[eC][1]==2&&gY==0){ei=ei.replace(/#SHARINGPRIVATECLASS#/g,'hide');}else{ei=ei.replace(/#SHARINGPRIVATECLASS#/g,'');}if(es[eC][1]==1&&es[eC][4]==eU)ei=ei.replace(/#CANTBROWSE#/g,'1');else ei=ei.replace(/#CANTBROWSE#/g,'0');if(es[eC][2]==1){ei=ei.replace(/#ISPICTURE#/g,'1');ei=ei.replace(/#STYLE_NOTPICTURE#/g,'display: none;');ei=ei.replace(/#STYLE_PICTURE#/g,'display: block;');}else if(hS){ei=ei.replace(/#ISPICTURE#/g,'0');ei=ei.replace(/#STYLE_NOTPICTURE#/g,'display: block;');ei=ei.replace(/#STYLE_PICTURE#/g,'display: none;');}else{ei=ei.replace(/#STYLE_NOTPICTURE#/g,'display: block;');ei=ei.replace(/#STYLE_PICTURE#/g,'display: none;');}if(hS&&hS.value==1)ei=ei.replace(/#ISOWNER#/g,'0');else if(hS&&hS.value==0)ei=ei.replace(/#ISOWNER#/g,'1');else ei=ei.replace(/#ISOWNER#/g,'0');if(es[eC][1]==1&&es[eC][2]==1){ei=ei.replace(/#URI2#/g,lW+"imageview.php?quickkey=");ei=ei.replace(/#QUERY_STRING2#/g,"&thumb=4");ei=ei.replace(/#PASSWORD_ANCHOR#/g,'hide');}else{ei=ei.replace(/#URI2#/g,lW+'download.php?');ei=ei.replace(/#QUERY_STRING2#/g,'');ei=ei.replace(/#PASSWORD_ANCHOR#/g,'code_header');}ei=ei.replace(/#URI#/g,lW+'download.php?');ei=ei.replace(/#QUERY_STRING#/g,'');if(lB==1){ei=ei.replace(/#SSL#/g,'s');ei=ei.replace(/#URLKEY#/g,'');}else{ei=ei.replace(/#SSL#/g,'');if(es[eC][1]==1){var iB=Math.ceil(h2d((es[eC][15]).substring(0,1))/4);if(iB<1||iB>4)iB=1;ei=ei.replace(/#URLKEY#/g,iB);}else ei=ei.replace(/#URLKEY#/g,'');}if(es[eC][1]==1)if(es[eC][15])ei=ei.replace(/#IMGKEY#/g,es[eC][15]);else ei=ei.replace(/#IMGKEY#/g,'INVALIDFILE');if(es[eC][1]==2)if(es[eC][15])ei=ei.replace(/#FOLDER_QUICKKEY#/g,es[eC][15]);else ei=ei.replace(/#FOLDER_QUICKKEY#/g,'INVALIDFILE');if(UserEmail)ei=ei.replace("#EMAILADDY#",UserEmail);else ei=ei.replace("#EMAILADDY#",'');if(es[eC][14]&&es[eC][1]!=2){if(er==1){ei=ei.replace(/#PASSWORDCLASS#/g,'privacy');ei=ei.replace(/#PUBLICCLASS#/g,'hide');ei=ei.replace(/#PRIVATECLASS#/g,'hide');ei=ei.replace(/#PRIVATEFILENAMECLASS#/g,'_password');}if(er==2){ei=ei.replace(/#PRIVATECLASS#/g,'password');}}else if(es[eC][11]==0){if(er==1){ei=ei.replace(/#PASSWORDCLASS#/g,'hide');ei=ei.replace(/#PUBLICCLASS#/g,'privacy');ei=ei.replace(/#PRIVATECLASS#/g,'hide');ei=ei.replace(/#PRIVATEFILENAMECLASS#/g,'');}if(er==2){ei=ei.replace(/#PRIVATECLASS#/g,'thumbnail');}}else{if(er==1){ei=ei.replace(/#PASSWORDCLASS#/g,'hide');ei=ei.replace(/#PUBLICCLASS#/g,'hide');ei=ei.replace(/#PRIVATECLASS#/g,'privacy');ei=ei.replace(/#PRIVATEFILENAMECLASS#/g,'_private');}if(er==2){ei=ei.replace(/#PRIVATECLASS#/g,'private');}}kQ=new String(es[eC][12]);if(kQ.length>0){var ez='Tags: ';var jf=kQ.split(' ');for(var eh=0;(jf[eh]||jf[(eh+1)])&&eh<30;eh++)ez+="<a href='#' OnClick='document.getElementById(\"search_input"+er+"\").value=this.innerHTML; bp(this.innerHTML); return false;'>"+jf[eh]+"</a> ";ei=ei.replace(/#TAGS_DISP#/g,ez);}else ei=ei.replace(/#TAGS_DISP#/g,'');if(gf==1||er==2)ei=ei.replace(/#FOLDERACTIONSCLASS#/g,'folder_actions');else ei=ei.replace(/#FOLDERACTIONSCLASS#/g,'hide');return ei;};function RenderMyFiles(jU,lD,ou,ot,os){jO++;cX();if(!kk||kk!=1)return false;ei=new String('');var jr=document.getElementById('loadingmessage');if(jr){jr.innerHTML="";jr.style.display="none";}er=jU;eN=lD;var jo=false;var oH=0;if(!document.getElementById('is_shared')||document.getElementById('is_shared').value!=1){if(kp!=1){aU('mflt',er,360);}}bu();var eQ=0;switch(er){case 1:eQ=hC;break;case 2:eQ=1;break;}qK();switch(kc){case 3:var eW=ld;eW.sort(cD);break;case 2:var eW=ma;eW.sort(cD);break;case 1:var eW=kJ;eW.sort();break;case 0:default:var eW=kX;eW.sort();break;}fd.sort();if(gD==1){eW.reverse();fd.reverse();}var ew=0;var ox=0;for(var gA=0;gA<eB;gA++)eK[gA]=Array(3);if(eL!=jS||eA== -1){eA=0;gv=0;gj=0;eF=0;var Bw;while(Bw=es[eF]){if(fw.length>0){hH=new String(Bw[5]);hI=new String(Bw[12]);hN=new String(Bw[13]);fR=new RegExp(fw,"gi");if(Bw[0]==1&&(hH.search(fR)>=0||hI.search(fR)>=0||hN.search(fR)>=0)){if(er==2){if(Bw[1]=='1'&&Bw[2]==eQ){eA++;gj++;}if(Bw[1]=='2'){eA++;gv++;}}else if(eQ== -1){if(Bw[1]=='2'){gv++;eA++;}}else if(eQ== -2){if(Bw[1]=='1'){eA++;gj++;}}else if(eQ>0){if(Bw[1]=='1'&&Bw[2]==eQ){eA++;gj++;}}else{eA++;if(Bw[1]=='1')gj++;if(Bw[1]=='2')gv++;}}}else{if(Bw[4]==eL&&Bw[0]==1){if(er==2){if(Bw[1]=='1'&&Bw[2]==eQ){gj++;eA++;}if(Bw[1]=='2'){gv++;eA++;}}else if(eQ== -1){if(Bw[1]=='2'){gv++;eA++;}}else if(eQ== -2){if(Bw[1]=='1'){eA++;gj++;}}else if(eQ>0){if(Bw[1]=='1'&&Bw[2]==eQ){eA++;gj++;}}else{eA++;if(Bw[1]=='1')gj++;if(Bw[1]=='2')gv++;}}}eF++;}jS=eL;}var hw=document.getElementById('page_numbers_prev'+er);var hB=document.getElementById('page_numbers_next'+er);var gs=document.getElementById('page_numbers_list'+er);var BV;if(hw&&hB&&gs){if(eE[er]>0)hw.style.visibility="visible";else hw.style.visibility="hidden";if(((eE[er]+1)*eB)<eA){hB.style.visibility="visible";}else{hB.style.visibility="hidden";}if(eA>eB){gs.style.visibility="visible";gs.innerHTML='';var nh=Math.ceil(eA/eB);var iC='';for(var hu=0;nh>hu;hu++){iC='<a href="#" OnClick="aJ('+hu+'); RenderMyFiles(er,eN,0,0); return false;"';if((hu)==eE[er]){iC+=' class="current_page" ';}iC+='>'+(hu+1)+'</a>';gs.innerHTML+=iC;}}else gs.style.visibility="hidden";var kq=document.getElementById('page_numbers_prev'+er+'second');var kt=document.getElementById('page_numbers_next'+er+'second');var jg=document.getElementById('page_numbers_list'+er+'second');if(kq&&kt&&jg){kq.innerHTML=hw.innerHTML;kt.innerHTML=hB.innerHTML;jg.innerHTML=gs.innerHTML;jg.style.visibility=gs.style.visibility;kt.style.visibility=hB.style.visibility;kq.style.visibility=hw.style.visibility;}}cf(eU,0,1);hZ=0;gX=0;var Dr='filelisting';switch(jU){case 2:var ln=0;var eZ=document.getElementById('filelistingtab'+er);var eJ=0;if(eZ){eZ.style.display="none";}if(eZ){eZ.innerHTML='';for(var eh=0;eh<(eB+1);eh++){BV=document.createElement('SPAN');BV.id=BV.name=Dr+eh;eZ.appendChild(BV);}eZ.style.display="block";}var hX=document.getElementById('filelisting0');if(hX&&eL!=eU){eV?hX.innerHTML=eH[8]:hX.innerHTML=eH[11];}else if(hX)hX.innerHTML='';var Cl;var Cz;if(gD==0){eV?fq=6:fq=10;Cz=bo(ew,fd,0,eJ);ew+=Cz;ew%2==0?eJ=0:eJ=1;eV?fq=5:fq=9;Cl=bq(ew,eW,hZ,eJ);ew+=Cl;}else{eV?fq=5:fq=9;Cl=bq(ew,eW,0,eJ);ew+=Cl;ew%2==0?eJ=0:eJ=1;eV?fq=6:fq=10;Cz=bo(ew,fd,gX,eJ);ew+=Cz;}if(Cz<Cl){DoShow('DownloadThisGallery');}else{DoHide('DownloadThisGallery');}if(ew==0){if(eL==eU&&eF==0)aa(0,"No objects (files or folders) were found! Click the Upload button to upload your files!");else{jo=true;if(eQ!=0&&er==1){aa(0,"No files or folders found.  The file filter is also currently set, this may be hiding files.  Click here to <A href='#' OnClick='bN(0); return false;'>un-filter</a>.");}else{switch(er){case 2:break;case 1:default:break;}}}}var gc=(eE[er]*eB);if(gc==0)gc=1;var fX=document.getElementById('file_count_message'+er);var nX=document.getElementById('file_count_message'+er+'second');if(fX&&ew>0){if(eE[er]==1)gc++;fX.innerHTML="Items "+gc+" to "+((eE[er]*eB)+(ew))+" of "+eA;}else if(ew==0&&fX)fX.innerHTML="0 Items found!";nX.innerHTML=fX.innerHTML;break;case 3:switch(lD){case 2:break;case 1:default:break;}break;case 4:break;default:case 1:var ln=0;var eZ=document.getElementById('filelistingtab'+er);var eJ=0;if(eZ){eZ.style.display="none";}if(eZ){eZ.innerHTML='';var CZ=eB+1;for(var eh=0;eh<CZ;++eh){BV=document.createElement('SPAN');BV.id=BV.name=Dr+eh;eZ.appendChild(BV);}eZ.style.display="block";}if(eL!=eU){document.getElementById('filelisting0').innerHTML=eH[4];}else document.getElementById('filelisting0').innerHTML='';if(gD==0){fq=1;ew=bo(ew,fd,0,eJ);ew%2==0?eJ=0:eJ=1;fq=0;ew=bq(ew,eW,hZ,eJ);}else{fq=0;ew=bq(ew,eW,0,eJ);ew%2==0?eJ=0:eJ=1;fq=1;ew=bo(ew,fd,gX,eJ);}if(ew==0){if(eL==eU&&eF==0)aa(0,"No objects (files or folders) were found! Click the Upload tab in order to upload your files!");else{jo=true;if(eQ!=0){aa(0,"No files or folders found.  The file filter is also currently set, this may be hiding files.  Click here to <A href='#' OnClick='bN(0); return false;'>un-filter</a>.");}}}var gc=(eE[er]*eB);if(gc==0)gc=1;var fX=document.getElementById('file_count_message'+er);if(fX&&ew>0){if(eE[er]>=1)gc++;fX.innerHTML="Showing items "+gc+" through "+((eE[er]*eB)+(ew))+" out of "+eA+" in this folder";}else if(ew==0&&fX){fX.innerHTML="0 items found to display!";}break;}ce();aW();if(jU==1){if(document.getElementById('stat_num_files'))document.getElementById('stat_num_files').innerHTML=iQ;if(document.getElementById('stat_size_files'))document.getElementById('stat_size_files').innerHTML=lK;if(document.getElementById('stat_downloads'))document.getElementById('stat_downloads').innerHTML=kT;if(document.getElementById('stat_bandwidth'))document.getElementById('stat_bandwidth').innerHTML=le;}if(jo==false){av();}if(jO>=nk&&er==1&&fw==''){jO=0;if(fu==0&&hq==0)ax();}var zv;if(zv=document.getElementById('custom_header')){zv.style.display='block';}if(eL==eU&&Number(qm)==1){DoHide('DownloadThisFolder');}else{DoShow('DownloadThisFolder');}};function bo(ew,fd,jG,eJ){var eQ=0;switch(er){case 1:eQ=hC;break;case 2:eQ=0;break;}if(eQ!=0&&eQ!= -1)return ew;var fy=0;var hV=0;var fE=Array();var fl=0;hZ=0;while(fd[fy]&&ew<eB){fl=fy;if(!fd[fl])break;fe=es[fd[fl][1]];if((fe[4]!=eL&&fw.length<=0)||fe[0]==0||fe[1]!=2){fy++;continue;}if(fw.length>0){hH=new String(fe[5]);hI=new String(fe[12]);hN=new String(fe[13]);fR=new RegExp(fw,"gi");if(hH.search(fR)<0&&hI.search(fR)<0&&hN.search(fR)<0){fy++;continue;}}hV++;hZ++;if((hV-1)<((eE[er]*eB)-jG)){fy++;continue;}eK[ew][0]=fd[fl];eK[ew][1]=fe[1];eK[ew][2]=fe[2];ew++;ei=bh(eH[fq],fd[fl][1],ew,(eJ==0?"even":"odd"));eJ==0?eJ=1:eJ=0;if(document.getElementById('filelisting'+ew))document.getElementById('filelisting'+ew).innerHTML=ei;if(er==1)if(es[fd[fl][1]][11]==1)document.getElementById('asharelink'+ew).style.visibility='hidden';fy++;}return ew;};function bq(ew,eW,jG,eJ){var eQ=0;switch(er){case 1:eQ=hC;break;case 2:eQ=1;break;}if(eQ== -1)return ew;var fy=0;var hV=0;var fE=Array();var fl=0;gX=0;while(eW[fy]&&ew<eB){fl=fy;if(!eW[fl])break;fE=es[eW[fl][1]];if((fE[4]!=eL&&fw.length<=0)||fE[0]==0||fE[1]!=1||(eQ>0&&eQ!=fE[2])){fy++;continue;}if(fw.length>0){hH=new String(fE[5]);hI=new String(fE[12]);hN=new String(fE[13]);fR=new RegExp(fw,"gi");if(hH.search(fR)<0&&hI.search(fR)<0&&hN.search(fR)<0){fy++;continue;}}hV++;gX++;if((hV-1)<((eE[er]*eB)-jG)){fy++;continue;}eK[ew][0]=eW[fl];eK[ew][1]=fE[1];eK[ew][2]=fE[2];ew++;ei=bh(eH[fq],eW[fl][1],ew,(eJ==0?"even":"odd"));eJ==0?eJ=1:eJ=0;if(document.getElementById('filelisting'+ew))document.getElementById('filelisting'+ew).innerHTML=ei;if(es[eW[fl][1]][2]==1&&document.getElementById('filetype_icon_'+ew)){cE(document.getElementById('filetype_icon_'+ew),es[eW[fl][1]][15],0);}if(er==1)if(es[eW[fl][1]][11]==1)document.getElementById('asharelink'+ew).style.visibility='hidden';fy++;}return ew;};function aV(tab){var counter=1;var classname="";var displayname="";var oi=document.getElementById('current_folder_name'+er);var gL=document.getElementById('parent_folder_names'+er);var od=document.getElementById('current_folder_name'+tab);var mi=document.getElementById('parent_folder_names'+tab);od.innerHTML=oi.innerHTML;if(gL&&mi)mi.innerHTML=gL.innerHTML;var eZ=document.getElementById('filelistingtab'+er);if(eZ)eZ.innerHTML='';var eZ=document.getElementById('filelistingtab'+tab);if(eZ)eZ.innerHTML='';var jj=document.getElementById('search_input'+er);var lU=document.getElementById('search_input'+tab);if(jj&&lU){if(jj.value!=''){lU.value=jj.value;bB('visible',tab);}else{er=tab;aN();}}er=tab;eE[er]=0;bu();while(counter<=4){if(counter==tab){classname="selected";displayname="block";}else{classname="notselected";displayname="none";}if(document.getElementById('rt'+counter))document.getElementById('rt'+counter).className="right_tab_"+classname;if(document.getElementById('lt'+counter))document.getElementById('lt'+counter).className="left_tab_"+classname;if(document.getElementById('mt'+counter))document.getElementById('mt'+counter).className="tab_"+classname;if(document.getElementById('pl'+counter))document.getElementById('pl'+counter).style.display=displayname;counter++;}RenderMyFiles(er,eN);};function bu(){switch(er){case 1:if(jt[er]>0)eB=jt[er];else{if(bK>0&&bK<=250){eB=bK;var ah=document.getElementById('select_itemsperpage');if(ah){at(ah);var eh=10;var eq=false;while(eh<=50){if(bK==eh)eq=true;else eq=false;kP(ah,eh,eh,eq);eh=eh+10;}eh=eh+40;while(eh<=250){if(bK==eh)eq=true;else eq=false;kP(ah,eh,eh,eq);eh=eh+50;}}}else eB=20;}break;case 2:eB=eV?100:50;break;default:if(bK>0&&bK<=250)eB=bK;else eB=20;break;}};function qe(qf){aY('mfipp',qf,(60*24*30));};function qn(mB){aU('mflf',mB,180);};function xO(zw){var lX;var ah;switch(zw){case 2:lX='dropbox_color_options';break;case 3:lX='dropbox_advanced_options';break;case 1:default:lX='dropbox_basic_settings';break;}DoHide('dropbox_basic_settings');DoHide('dropbox_color_options');DoHide('dropbox_advanced_options');DoShow(lX);for(var i=1;i<=3;i++){ah=document.getElementById('dropbox_tab_'+i);if(ah&&ah.className)ah.className="";}ah=document.getElementById('dropbox_tab_'+zw);if(ah)ah.className="current";};function na(qX,vV){var elm;var zL=['#000000','#ffffff','#cccccc','#666666','#000000','#9900ff','#003399','#00ccff','#00ff99','#66ff00','#ffff00','#ff6600','#ff0000'];if(elm=document.getElementById('hextext_'+qX)){return xI(qX,true,elm,zL[vV]);}};function xI(qX,AS,wt,zd){var elm;if(!wt){if(!(wt=document.getElementById('hextext_'+qX))){return false;}}if(zd){wt.value=zd;}var wU=wt.value.replace(/[^0123456789ABCDEFabcdef]/g,'');while(wU.length<6){wU=wU+'0';}wU='#'+wU;if(wt.value.length>7||AS){wU=wU.substr(0,7);wt.value=wU.toLowerCase();}if(elm=document.getElementById('color_preview_'+qX)){elm.style.background=wU;}if(String(wt.value).replace(/[^0123456789ABCDEFabcdef#]/g,'')!=wt.value){wt.value=wU;zy(qX,wU);return false;}zy(qX,wU);return true;};function Al(wU){var elm;if(elm=document.getElementById('dropbox_step1')){elm.style.background=wU;}};function Ak(wU){var elm;if(elm=document.getElementById('dropbox_header_div')){elm.style.background=wU;}};function Ah(wU){var elm;if(elm=document.getElementById('dropbox_header_div')){elm.style.color=wU;}};function Ad(wU){var elm;if(elm=document.getElementById('dropbox_message_div')){elm.style.color=wU;}};function Ae(wU){var elm;if(elm=document.getElementById('dropbox_link')){elm.style.color=wU;}};function zx(vU){var elm;if(elm=document.getElementById('dropbox_header_div')){elm.innerHTML=vU;}};function zs(vU){var elm;if(elm=document.getElementById('dropbox_message_div')){elm.innerHTML=vU;}};function zy(qX,AE){var EE=[null,Al,Ak,Ah,Ad,Ae];var customFunc;if(customFunc=EE[qX]){customFunc(AE);}};var DropboxObj={yi:480,Fb:0};function Bu(){function xo(lX){var elm;if(elm=document.getElementById(lX)){return elm.value;}else{aa(2,"Missing site compontents. Unable to set dropbox.");}};function zD(lX){var elm;var xL;if((elm=document.getElementById(lX))&&(xL=elm.options[elm.selectedIndex])){return xL.value;}else{aa(2,"Missing site compontents. Unable to set dropbox.");}};DropboxObj.yj=xo('dbx_input_header');DropboxObj.yh=xo('dbx_input_greeting');DropboxObj.yn=xo('dbx_input_completion');DropboxObj.yi=zD('dbx_input_width');DropboxObj.AF=xo('hextext_1');DropboxObj.AH=xo('hextext_2');DropboxObj.AC=xo('hextext_3');DropboxObj.AA=xo('hextext_4');DropboxObj.AB=xo('hextext_5');DropboxObj.zO=zD('dbx_input_allow_description');};function Ab(){var elm;var fQ=document.getElementById('form_dbx');Bu();if(!fQ){aa(2,"Missing site compontents. Unable to set dropbox.");return;}var DA=[DropboxObj.yj,DropboxObj.yh,DropboxObj.yn];for(var i=0;i<DA.length;i++){if(DA[i]===''){xO(1);aa(2,"Please fill in all text fields.");return;}}var DC=['dbx_folder','dbx_text1','dbx_text2','dbx_text3','dbx_color1','dbx_color2','dbx_color3','dbx_color4','dbx_color5','dbx_sharing','dbx_descrip','dbx_multi','dbx_width'];var zG=[DropboxObj.currentFolder,DropboxObj.yj,DropboxObj.yh,DropboxObj.yn,DropboxObj.AF,DropboxObj.AH,DropboxObj.AC,DropboxObj.AA,DropboxObj.AB,DropboxObj.Bg,DropboxObj.zO,DropboxObj.Bh,DropboxObj.yi];for(var i=0;i<DC.length;i++){if(elm=document.getElementById(DC[i])){elm.value=zG[i];}else{aa(2,"Missing site compontents. Unable to set dropbox.");return;}}aa(3,"Saving dropbox settings.");fQ.submit();};function zZ(yk){aa(3,"Disabling dropbox.");zp(false,yk);ai('create_dropbox_popup');};function zp(ts,yk,EK){var elm;var fQ=document.getElementById('form_dbx_status');var yM=document.getElementById('dbx_status_enable');var yC=document.getElementById('dbx_silent_return');var yN=document.getElementById('dbx_status_id');if(!fQ|| !yM|| !yN|| !yC){aa(2,"Missing site compontents. Unable to set dropbox.");return;}if(ts){yM.value='1';zr();}else{yM.value='0';zq();}if(EK){yC.value='1';}else{yC.value='0';}if(yk!==undefined){yN.value=yk;}else{yN.value=DropboxObj.currentFolder;}fQ.submit();};function zr(){var elm;var Q;var i= -1;var fO=DropboxObj.currentFolder;if(elm=document.getElementById('folder_icon_'+DropboxObj.currentMyFilesPosition))elm.src='/images/v4images/icons/myfiles/dropbox_folder.gif';while((Q=es[++i])&&Q[15]!=fO);Q[16]='1';};function zq(){var elm;var Q;var i= -1;var fO=DropboxObj.currentFolder;if(elm=document.getElementById('folder_icon_'+DropboxObj.currentMyFilesPosition))elm.src='/images/filetype/list_icons/999.gif';while((Q=es[++i])&&Q[15]!=fO);Q[16]='0';};function zW(xn,eu){if(!fu){Ch('/templates/upgrade/dropbox.html',800,450);return;}aa(0,"Loading folder dropbox data.");var elm;var fQ=document.getElementById('form_dbx_folder');var hO=document.getElementById('dbx_text_embeded');var sD=document.getElementById('dbx_folderid');DropboxObj.currentFolder=xn;DropboxObj.currentMyFilesPosition=eu;DropboxObj.zF='';var yb=document.getElementById('dbx_input_header');var ya=document.getElementById('dbx_input_greeting');var xZ=document.getElementById('dbx_input_completion');var oInput4=document.getElementById('dbx_input_width');if(!yb|| !ya|| !xZ|| !oInput4){aa(2,"Missing site compontents.");return;}if(yb.value&&yb.value!=DropboxObj.yj){DropboxObj.yj=yb.value;}if(ya.value&&ya.value!=DropboxObj.yh){DropboxObj.yh=ya.value;}if(xZ.value&&xZ.value!=DropboxObj.yn){DropboxObj.yn=xZ.value;}if(!fQ|| !hO|| !sD){aa(2,"Missing site compontents.");return;}hO.innerHTML='Retrieving folder data...';sD.value=xn;fQ.submit()};function Bl(xn){function xl(lX,mA){var elm;var i;if(elm=document.getElementById(lX)){if(elm.type=="select"){for(i=0;i<elm.length;i++){if(elm[i].value=mA){elm[i].selected=true;}}}else{elm.value=mA;}}};var elm;var vU;if(!DropboxObj.currentFolder){return;}av();if(arguments.length<2||arguments[1]!='1'){var AR=confirm("This folder is not enabled as a dropbox. Would you like to enable the folder as a dropbox? (This can be undone at any time.)");if(AR){zp(true,DropboxObj.currentFolder);}else{zq();return;}}zr();if(arguments.length>1){xl('dbx_input_header',arguments[2]);xl('dbx_input_greeting',arguments[3]);xl('dbx_input_completion',arguments[4]);zx(arguments[2]);zs(arguments[3]);xl('hextext_1',arguments[5]);xl('hextext_2',arguments[6]);xl('hextext_3',arguments[7]);xl('hextext_4',arguments[8]);xl('hextext_5',arguments[9]);na(1,arguments[5]);na(2,arguments[6]);na(3,arguments[7]);na(4,arguments[8]);na(5,arguments[9]);xl('dbx_input_allow_description',arguments[10]);}if(xn){DropboxObj.zF=xn;}Fd(true);zn();xO(1);DoAPopup('create_dropbox_popup',800,700);};function zM(elm){var xL;if(elm){if(xL=elm.options[elm.selectedIndex]){DropboxObj.yi=xL.value;}}zn();};function zn(){if(elm=document.getElementById('dbx_text_embeded')){vU='<script type="text/javascript">';vU+='var mf_dropbox_width='+DropboxObj.yi+';';if(DropboxObj.Fb>0)vU+='var mf_dropbox_extralines='+DropboxObj.Fb+';';vU+='var mf_dropbox_id="'+DropboxObj.zF+'";';vU+='</script><script type="text/javascript" src="http://www.mediafire.com/dropbox/dropbox.js"></script>';elm.value=vU;}else{aa(2,"Missing site compontents.");}if(elm=document.getElementById('dbx_preview_width')){if(DropboxObj.yi== -1)elm.style.width='100%';else elm.style.width=DropboxObj.yi+'px';}};function Ck(){Ch('/templates/upgrade/bulkdownload.html',800,450);};var oZipBandwidthApproval={};var oZipFilesHolder;function Eh(CR,CQ,mJ){av();oZipBandwidthApproval.CR=CR;oZipBandwidthApproval.CQ=CQ;oZipBandwidthApproval.mJ=mJ;Ch('/templates/confirm/approvebulkdownload.html',800,450);};function Ec(){var fr=document.getElementById('form_todolist1');var gw=document.getElementById('form_todolist2');var gN=document.getElementById('form_todotype');var fQ=document.getElementById('form_todoform');var BW=document.getElementById('form_todoconfirm');var xv=document.getElementById('form_todoparent');if(!fQ|| !gN|| !gw|| !fr|| !xv|| !BW){aa(2,"Missing site compontents");return;}fr.value=oZipBandwidthApproval.CR;gw.value=oZipBandwidthApproval.CQ;BW.value=1;gN.value=3;xv.value=oZipBandwidthApproval.mJ;fQ.submit();};function DownloadThisFolder(){if(!fu&& !hq){Ck();return;}if(eL==eU&&Number(qm)==1){aa(0,"Unable to create zip file from root folder.");return;}var aZipFiles=new Array(['2',eL]);var Cu=Dk(eL,1);if(Cu){aZipFiles=aZipFiles.concat(Cu);}Co(aZipFiles,'');};function DownloadThisGallery(){if(!fu&& !hq){Ck();return;}var aZipFiles=new Array(['2',eL]);var jF=false;var eh= -1;var Q;while(Q=es[++eh]){if(Q[4]==eL&&Q[1]==1&&Q[2]==1){aZipFiles[aZipFiles.length]=[Q[1],Q[3],Q[6]];jF=true;}}if(jF)return Co(aZipFiles,'');};function Dk(fj,hP){var DB=false;var gg=[];var jF=false;var eh= -1;var Q;while(Q=es[++eh]){if(Q[4]==fj&&Q[1]==2){if((DB=Dk(Q[3],(hP+1)))!=false){gg=gg.concat([[Q[1],Q[3],'0']],DB);}else{gg[gg.length]=[Q[1],Q[3],'0'];}jF=true;}else if(Q[4]==fj){gg[gg.length]=[Q[1],Q[3],Q[6]];jF=true;}}if(jF)return gg;return false;};function Ej(aZipFiles){var gu='';var eh= -1;var Q;while(Q=aZipFiles[++eh]){gu+=Q[0]+':'+Q[1]+';';}return gu;};function Co(aZipFiles,sParentName){var EC=786432000;var wp=0;var Q,eh= -1;while(Q=aZipFiles[++eh]){if(Q[0]=='1')wp+=parseInt(Q[2]);if(wp>EC){oZipFilesHolder={'aZipFiles':aZipFiles,'sParentName':sParentName};Ch('/templates/confirm/approvelargedownload.html',800,450);return;}}Ds(aZipFiles,sParentName);};function El(){Ds(oZipFilesHolder.aZipFiles,oZipFilesHolder.sParentName);};function Ds(aZipFiles,sParentName){var fr=document.getElementById('form_todolist1');var gw=document.getElementById('form_todolist2');var gN=document.getElementById('form_todotype');var fQ=document.getElementById('form_todoform');var BW=document.getElementById('form_todoconfirm');var xv=document.getElementById('form_todoparent');if(!fQ|| !gN|| !gw|| !fr|| !xv|| !BW){aa(2,"Missing site compontents");return;}BW.value=0;gN.value=3;xv.value=sParentName;gw.value='';fr.value=Ej(aZipFiles);fQ.submit();};function Ek(){if(!fu&& !hq){Ck();return;}var sParentName='';var aZipFiles=[];var eR,ey,Cu;if(eL!=eU){for(var i=0;i<fa.length;i++){if(fa[i][1]==eL)sParentName=fa[i][0];}}if(!(fx>0)){aa(0,"You must select at least two items or one folder to zip using the check boxes to the right.");return;}var agree=confirm("Are you sure you want to zip "+fx+" objects?");if(agree){for(var eu=1;eu<=eB&&eu<=eA&&(eu)<=(eA-(eE[er]*eB));eu++){eR=document.getElementById('filecheck'+eu);ey=es[eK[(eu-1)][0][1]];if(eR&&eR.checked==true&&ey){aZipFiles[aZipFiles.length]=[ey[1],ey[3],ey[6]];if(ey[1]==2&&(Cu=Dk(ey[3],1))){aZipFiles=aZipFiles.concat(Cu);}}}if(aZipFiles.length){Co(aZipFiles,sParentName);}}};function Fe(vU){var EZ=[];EZ[4]=[106];EZ[5]=[73,92,105,108,44,45,46,47,58,59,32];EZ[6]=[74,91,93,102,40,41];EZ[7]=[116];EZ[8]=[95,114,122,42];EZ[9]=[63,99,115,118,120,121];EZ[10]=[83,97,101,107,111,48,49,50,51,52,53,54,55,56,57,36];EZ[11]=[70,75,76,80,84,88,89,90,98,100,103,104,110,112,113,117];EZ[12]=[65,195,135,66,67,69,82,86];EZ[13]=[78,79,81,85,94,43,60,61,68,71,72];EZ[14]=[119];EZ[15]=[109];EZ[16]=[64,77,87];var Fj=4;var CZ=16;var wp=1;var Fi=vU.length;var Fa;var sV;var jF;for(var qy=0;qy<Fi;qy++){jF=false;sV=vU.charCodeAt(qy);for(var Fc=Fj;!jF&&Fc<=CZ;Fc++){for(var i=0;!jF&&i<EZ[Fc].length;i++){if(EZ[Fc][i]==sV){Fa=Fc;jF=true;}}}if(!jF)Fa=10.5;wp+=Fa;}return wp;};function Fd(Fg){if(!(DropboxObj.yi>0)){if(DropboxObj.Fb!=0){DropboxObj.Fb=0;if(!Fg)zn();}return;}var yb=document.getElementById('dbx_input_header');var ya=document.getElementById('dbx_input_greeting');var xZ=document.getElementById('dbx_input_completion');var oInput4=document.getElementById('dbx_input_width');if(!yb|| !ya|| !xZ|| !oInput4){aa(2,"Missing site compontents.");return;}var Fl,Fa;var Fb=0;var Ff=0;var lJ=DropboxObj.yi-20;Fa=Fe(yb.value);Fa*=1.04;Fb+=Math.floor(Fa/lJ);Fa=Fe(ya.value);Fa*=0.7;Fb+=Math.floor(Fa/lJ);Fa=Fe(xZ.value);Fa*=0.7;Ff+=Math.floor(Fa/lJ);if(Ff>Fb)Fb=Ff;if(DropboxObj.Fb!=Fb){DropboxObj.Fb=Fb;if(!Fg)zn();}}var eH=Array();eH[0]='<span id="filerow_#FILENUM#" name="filerow_#FILENUM#" style="visibility: visible;" onMouseOver=" if (document.getElementById(\'viewedit#FILENUM#\')) document.getElementById(\'viewedit#FILENUM#\').className = \'viewedit#FILENUM#\'; if (document.getElementById(\'stats_btn#FILENUM#\')) document.getElementById(\'stats_btn#FILENUM#\').className = \'stats_btn#FILENUM#\'; if (document.getElementById(\'download_btn#FILENUM#\')) document.getElementById(\'download_btn#FILENUM#\').className = \'download_btn#FILENUM#\'; if (document.getElementById(\'downloadinfo#FILENUM#\')) document.getElementById(\'downloadinfo#FILENUM#\').className = \'downloadinfo#FILENUM#\'; return false;" onMouseOut=" if (document.getElementById(\'viewedit#FILENUM#\')) document.getElementById(\'viewedit#FILENUM#\').className = \'hide\'; if (document.getElementById(\'stats_btn#FILENUM#\')) document.getElementById(\'stats_btn#FILENUM#\').className = \'hide\'; if (document.getElementById(\'download_btn#FILENUM#\')) document.getElementById(\'download_btn#FILENUM#\').className = \'hide\'; if (document.getElementById(\'downloadinfo#FILENUM#\')) document.getElementById(\'downloadinfo#FILENUM#\').className = \'hide\'; return false;"> <a name="FILEN#FILENUM#"></a>\n<table border="0" cellpadding="0" cellspacing="0" id="file_row#FILENUM#" class="file_#ODDEVEN#" width="100%" style="color: #777;">\n	<tr>\n		<td width="40" align="center" class="delete_column" valign="top">\n			<div id="thumbpop#FILENUM#" class="hide" style="position: absolute; width: 126px; height: 98px; background: url(/images/bg/list_thumbnail_pop.gif); margin-top: -95px; margin-left: -84px; ">\n				<div style=" text-align:center; padding: 4px 13px 14px 6px;">\n					<img id="previmg#FILENUM#"  border="0"/>\n				</div>\n			</div>\n			<div style="margin-top: 18px;">\n				<input OnClick="bm(#FILENUM#);" id="filecheck#FILENUM#" name="filecheck#FILENUM#" type="checkbox"  value="checkbox" style="margin: 0;"/>\n			</div>\n		</td>\n			\n		<td width="42" valign="top" align="center">\n			<a href="/#URI2##QUICKKEY##QUERY_STRING2#" target="_blank" onMouseOver="bb(1,#FILENUM#,#INDEX#); return false;" onMouseOut="bb(2,#FILENUM#,#INDEX#); return false;"><img width="32" height="32" id="filetype_icon_#FILENUM#" src="/images/filetype/list_icons/#FILETYPE#.gif" border="0" style="margin-top: 10px; margin-bottom: 10px;"/></a>\n			</td>\n		<td valign="top">\n			<div class="info" style="padding-top: 10px; padding-bottom: 10px; padding-left: 10px;">\n				<div id="edit#FILENUM#" class="edit#FILENUM#">\n					<div class="filename_filelist" style="width: 470px; height: 18px; overflow: hidden; white-space: nowrap;">\n						<a id="ancfilename#FILENUM#" class="foldername#PRIVATEFILENAMECLASS#" href="/#URI2##QUICKKEY##QUERY_STRING2#" target="#DOBLANK#">#FILENAME#</a>\n					</div>\n					<div style="font-size: 10px; color: #777; padding-top: 3px; height: 15px;">\n						<div style="float: left; padding-right: 5px;">Uploaded #UPLOADDATE#</div>\n						<div style="float: left;">&nbsp;<span class="info">|</span>&nbsp;</div>\n						<div style="float: left; width: 55px; text-align: center;">#FILESIZE#</div>\n						<div style="float: left;">&nbsp;<span class="info">|</span>&nbsp;</div>\n						<div style="float: left; text-align: center; padding: 0 5px;">#DOWNLOADS# <a href="#" onClick="if (fu != 1) { Ch(\'/templates/upgrade/statistics.html\',750,350); } else { iZ = \'#QUICKKEY#\'; DoAPopup(\'select_stats_popup\',600,700); } return false;" style="color: #a5a5a5">Downloads</a></div>\n						<div style="float: left;">\n						 <span class="info">\n							<span id="viewedit#FILENUM#" class="hide" style="font-size: 10px">\n							 &nbsp;<span class="info">|</span>&nbsp;\n								<a href="#" onClick="ab(1,\'edit#FILENUM#\',\'edit#FILENUM#\',\'hide\',\'div\'); return false">Edit File Info</a> &nbsp;|&nbsp; <span id="private#FILENUM#" class="#PRIVATECLASS#"><strong class="private" >Private</strong> - <a href="#" class="private" alt="Click here to hide this file from your public gallery pages" onClick="bj(\'#FILENUM#\',\'#QUICKKEY#\',0); return false">(make public)</a> </span> <span id="public#FILENUM#" class="#PUBLICCLASS#"><strong class="public" >Public</strong> - <a href="#" class="public" alt="Click here to add this file to your public gallery pages" onClick="bj(\'#FILENUM#\',\'#QUICKKEY#\',1); return false">(make private)</a></span> <span id="password_link#FILENUM#" class="#PASSWORDCLASS#"><strong class="password" >Password Protected</strong> - <a href="#" class="password" alt="This file is currently password protected, go to \'Edit File Info\' to change it." onClick="if (dQ(document.getElementById(\'textfilename#FILENUM#\').value)) { dI(\'#FILENUM#\',\'#QUICKKEY#\'); } return false">(remove password)</a></span>\n							</span>\n						 </span>\n						</div>\n					\n					</div>\n					<div class="#FOLDERACTIONSCLASS#">\n						<span style="color: #222">#DESCRIPTION#</span>\n					</div>\n					<div class="#FOLDERACTIONSCLASS#">\n						#TAGS_DISP#\n					</div>\n					\n				</div>\n				<div id="edit#FILENUM#" class="hide" style="margin-bottom: 10px;">\n					<form action="dynamic/dofileoptions.php" target="myfileswork" method="POST" id="form_todoform#FILENUM#" name="form_todoform#FILENUM#" style="margin: 0px;">\n						<input name="todotype" type="hidden" value="1">\n						<input name="todoquickkey" type="hidden" value="#QUICKKEY#">\n						<input name="todofilename" type="hidden" value="#FILENAME#">\n						<input name="textfilename#FILENUM#" id="textfilename#FILENUM#" type="text" value="#FILENAME#" class="edit_filename" style="display: none; width: 300px;"/>\n						<div style="display: none;"><a class="foldername#PRIVATEFILENAMECLASS#" href="/#URI##QUICKKEY##QUERY_STRING#" target="#DOBLANK#">#FILENAME#</a><br /></div>\n						<div class="folder_actions">\n						<div class="code_header">\n							File Name:\n						</div>\n						<input name="filename"  type="text" value="#FILENAME#" class="search_textarea" style="width: 290px; padding: 7px;" maxlength="255" />\n						<input id="textfilename#FILENUM#"  type="hidden" value="#FILENAME#"/>\n						<div class="code_header">\n							Descri'+'ption: <span class="small"><span id="lengthtext_DESC_#FILENUM#" style="display: none;" >You have <span id="lengthnum_DESC_#FILENUM#"></span>&nbsp; characters left.</span> </span>\n						</div>\n						<input name="desc" value="#DESCRIPTION#" type="text" class="search_textarea" style=" width: 290px; padding: 7px;" maxlength="200" OnKeyUp="document.getElementById(\'lengthtext_DESC_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_DESC_#FILENUM#\'),200,0); return true;" OnChange="document.getElementById(\'lengthtext_DESC_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_DESC_#FILENUM#\'),200,0); return true;" />\n						<div class="code_header">\n							Tags:<br />\n							<span class="small">(separate tags with spaces) <span id="lengthtext_TAGS_#FILENUM#" style="display: none;" >You have <span id="lengthnum_TAGS_#FILENUM#"></span>&nbsp; characters left.</span> </span>\n						</div>\n						<input name="tags" type="text" value="#TAGS#" class="search_textarea" style=" width: 290px; padding: 7px;" maxlength="100" OnKeyUp="document.getElementById(\'lengthtext_TAGS_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_TAGS_#FILENUM#\'),100,0); return true;" OnChange="document.getElementById(\'lengthtext_TAGS_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_TAGS_#FILENUM#\'),100,0); return true;" />\n						<div id="add_password#FILENUM#" class="add_password#FILENUM#">\n							<div class="#PASSWORD_ANCHOR#" style="line-height: 30px;">\n								<a href="#" style="color: #0083e7;" onClick="ab(1,\'add_password#FILENUM#\',\'add_password#FILENUM#\',\'hide\',\'div\'); return false;">Password protect this file </a>\n							</div>\n						</div>\n						<div id="add_password#FILENUM#" class="hide">\n							<div class="code_header">\n								Password: <br />\n								<span class="small">(Enter a password to protect this file) <span id="lengthtext_PASS_#FILENUM#" style="display: none;" >You have <span id="lengthnum_PASS_#FILENUM#"></span>&nbsp; characters left.</span> </span>\n							</div>\n							<input name="password" maxlength="25" id="password_list#FILENUM#" type="password" value="#PASSWORD#" class="search_textarea" OnKeyUp="document.getElementById(\'lengthtext_PASS_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_PASS_#FILENUM#\'),25,0); return true;"OnChange="document.getElementById(\'lengthtext_PASS_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_PASS_#FILENUM#\'),25,0); return true;"/>\n						</div>\n						<div class="code_header">\n							<input name="button" type="button" value="Save file info" onClick="var oMsg = document.getElementById(\'statusmessage\'); oMsg.innerHTML = \'Updating file details for \\\'\' + document.getElementById(\'textfilename#FILENUM#\').value + \'\\\'..please wait..\'; oMsg.style.visibility = \'visible\'; ab(1,\'edit#FILENUM#\',\'edit#FILENUM#\',\'hide\',\'div\'); document.getElementById(\'form_todoform#FILENUM#\').submit(); return false" class="button3"/>\n							&nbsp; or &nbsp;<a href="#" onClick="ab(1,\'edit#FILENUM#\',\'edit#FILENUM#\',\'hide\',\'div\'); return false" style="color: #FF0000">Cancel</a>\n						</div>\n						</div>\n					</form>\n				</div>\n			</div>\n		</td>\n		<td width="106" valign="middle">\n			<div style="width: 106px;">\n				<div id="download_btn#FILENUM#" class="hide" style="float: right;"><a href="/#URI##QUICKKEY##QUERY_STRING#" target="#DOBLANK#"><img src="/images/v4images/buttons/myfiles/download.gif" /></a></div>\n				<div id="stats_btn#FILENUM#" class="hide" style="margin-right: 10px; margin-top: 3px; float: right;"><a href="#" onClick="if (fu != 1) { Ch(\'/templates/upgrade/statistics.html\',750,350); } else { iZ = \'#QUICKKEY#\'; DoAPopup(\'select_stats_popup\',600,700); } return false;"><img src="/images/icons/chart_pie.gif" border="0" /></a></div>\n			</div>\n		</td>\n\n		<td align="left" width="90" class="actions_column"><div style=" margin-right: 3px;">\n				<div id="share_button#FILENUM#" class="share_button#FILENUM#" style="text-align: center">\n					<a href="#" onClick="aD(#INDEX#,#FILENUM#,2); ab(1,\'share_button#FILENUM#\',\'share_button#FILENUM#\',\'hide\',\'div\'); return false;" id="asharelink#FILENUM#" name="asharelink#FILENUM#"><img src="/images/buttons/share_down.gif" border="0" /> </a>\n				</div>\n				<div id="share_button#FILENUM#" class="hide" style="background: #cce6ff; padding: 0px 0px 40px 0px; position: absolute; width: 90px; text-align: center; margin-top: -5px;">\n					<a href="#" onClick="aD(#INDEX#,#FILENUM#,2); ab(1,\'share_button#FILENUM#\',\'share_button#FILENUM#\',\'hide\',\'div\'); return false;" id="asharelink#FILENUM#" name="asharelink#FILENUM#" style=" display: block; padding-top: 5px;"><img src="/images/buttons/share_up.gif" border="0" /></a>\n				</div>\n			</div></td>\n	</tr>\n</table>\n<div id="sharediv#FILENUM#" name="sharediv#FILENUM#" class="hide">\n\n\n</div>\n</span> \n';eH[1]='<span id="filerow_#FILENUM#" name="filerow_#FILENUM#" style="visibility: visible;" onMouseOver="if (document.getElementById(\'viewedit#FILENUM#\')) document.getElementById(\'viewedit#FILENUM#\').className = \'viewedit#FILENUM#\'; if (document.getElementById(\'rss#FILENUM#\')) document.getElementById(\'rss#FILENUM#\').className = \'rss#FILENUM#\'; return false;" onMouseOut="if (document.getElementById(\'viewedit#FILENUM#\')) document.getElementById(\'viewedit#FILENUM#\').className = \'hide\'; if (document.getElementById(\'rss#FILENUM#\')) document.getElementById(\'rss#FILENUM#\').className = \'hide\'; return false;"> <a name="FILEN#FILENUM#"></a>\n<table border="0" cellpadding="0" cellspacing="0" id="file_row#FILENUM#" class="file_#ODDEVEN#" width="100%" style="color: #777;">\n	<tr>\n		<td width="40" align="center" class="delete_column" valign="top"><div style="margin-top: 18px;">\n				<input OnClick="bm(#FILENUM#);" id="filecheck#FILENUM#" name="filecheck#FILENUM#" type="checkbox"  value="checkbox" style="margin: 0;"/>\n			</div></td>\n		<td width="42" valign="top" align="center"><a href="#" OnClick="ak(\'#QUICKKEY#\'); return false;"><img width="32" height="32" src="#FOLDERICON#" border="0" style="margin-top: 10px; margin-bottom: 10px;" id="folder_icon_#FILENUM#"/></a> </td>\n		<td valign="top">\n			<div id="rss#FILENUM#" class="hide" style="float: right; margin-top: 18px; margin-right: 0px; width: 120px;">\n				<a href="#" title="Bulk-Download this Folder" onclick="zE(\'#QUICKKEY#\'); return false;" style="float: right; margin-left: 10px;"><img src="/images/v4images/buttons/myfiles/download.gif" /></a>\n				<a href="/rss.php?key=#FOLDER_QUICKKEY#" class="#ACLCLASS# " target="_blank" style="float: right; margin-top: 3px; margin-left: 10px;"><img src="/images/v4images/icons/feed.png" border="0" /></a>\n				<a href="#" title="Make this Folder a Dropbox" onClick="zW(\'#FOLDER_QUICKKEY#\', \'#FILENUM#\'); return false;" style="float: right; margin-top: 3px;"><img src="/images/v4images/icons/myfiles/dropbox.gif" name="folder_img"/></a>\n			</div>\n			<div class="info" style="padding-top: 10px; padding-left: 10px; margin-bottom: 10px;">\n				<div id="edit#FILENUM#" class="edit#FILENUM#">\n					<div class="filename_filelist">\n						<a class="foldername#PRIVATEFILENAMECLASS#" href="#" OnClick="ak(\'#QUICKKEY#\'); return false;">#FILENAME#</a>\n					</div>\n					<div style="font-size: 10px; color: #777; padding-top: 3px;">\n						Created #UPLOADDATE# &nbsp;<span class="info">|</span>&nbsp; #SUBFOLDERS# Folders, #SUBFILES# Files <span class="info"> <span id="viewedit#FILENUM#" class="hide"> &nbsp;|&nbsp; <a href="#" onClick="ab(1,\'edit#FILENUM#\',\'edit#FILENUM#\',\'hide\',\'div\'); return false">Edit Folder Info</a> &nbsp;|&nbsp; <span id="private#FILENUM#" class="#PRIVATECLASS#"><strong class="private">Private</strong> - <a href="#" class="private" alt="Click here to hide this file from your public gallery pages" onClick="bj(\'#FILENUM#\',\'#QUICKKEY#\',0); return false;">(make public)</a> </span> <span id="public#FILENUM#" class="#PUBLICCLASS#"><strong class="public">Public</strong> - <a href="#" class="public" alt="Click here to add this file to your public gallery pages" onClick="bj(\'#FILENUM#\',\'#QUICKKEY#\',1); return false;">(make private)</a></span> </span> </span>\n					</div>\n					<div class="#FOLDERACTIONSCLASS#">\n						<span style="color: #222">#DESCRIPTION#</span>\n					</div>\n					<div class="#FOLDERACTIONSCLASS#">\n						#TAGS_DISP#\n					</div>\n				</div>\n				<div id="edit#FILENUM#" class="hide" style=" margin-bottom: 10px;">\n					<form action="dynamic/dofileoptions.php" target="myfileswork" method="POST" id="form_todoform#FILENUM#" name="form_todoform#FILENUM#" style="margin: 0px;">\n						<input name="todotype" type="hidden" value="2">\n						<input name="todoquickkey" type="hidden" value="#QUICKKEY#">\n						<input name="todofilename" type="hidden" value="#FILENAME#">\n						<div class="folder_actions">\n						<div class="code_header">\n							Folder Name:\n						</div>\n						<input name="filename"  type="text" value="#FILENAME#" class="search_textarea" style="width: 290px; padding: 7px;" maxlength="40" />\n						<input id="textfilename#FILENUM#"  type="hidden" value="#FILENAME#"/>\n						<div class="code_header">\n							Descri'+'ption: <span class="small"><span id="lengthtext_DESC_#FILENUM#" style="display: none;" >You have <span id="lengthnum_DESC_#FILENUM#"></span>&nbsp; characters left.</span> </span>\n						</div>\n						<input name="desc" value="#DESCRIPTION#" type="text" class="search_textarea" style=" width: 290px; padding: 7px;" maxlength="200" OnKeyUp="document.getElementById(\'lengthtext_DESC_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_DESC_#FILENUM#\'),200,0); return true;" OnChange="document.getElementById(\'lengthtext_DESC_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_DESC_#FILENUM#\'),200,0); return true;" />\n						<div class="code_header">\n							Tags:<br />\n							<span class="small">(separate tags with spaces) <span id="lengthtext_TAGS_#FILENUM#" style="display: none;" >You have <span id="lengthnum_TAGS_#FILENUM#"></span>&nbsp; characters left.</span> </span>\n						</div>\n						<input name="tags" type="text" value="#TAGS#" class="search_textarea" style=" width: 290px; padding: 7px;" maxlength="100" OnKeyUp="document.getElementById(\'lengthtext_TAGS_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_TAGS_#FILENUM#\'),100,0); return true;" OnChange="document.getElementById(\'lengthtext_TAGS_#FILENUM#\').style.display = \'block\'; aq(this,document.getElementById(\'lengthnum_TAGS_#FILENUM#\'),100,0); return true;" />\n						<div class="code_header">\n							<input name="button" type="button" value="Save folder info" onClick="var oMsg = document.getElementById(\'statusmessage\'); oMsg.innerHTML = \'Updating folder details for \\\'\' + document.getElementById(\'textfilename#FILENUM#\').value + \'\\\'..please wait..\'; oMsg.style.visibility = \'visible\'; ab(1,\'edit#FILENUM#\',\'edit#FILENUM#\',\'hide\',\'div\'); document.getElementById(\'form_todoform#FILENUM#\').submit(); return false" class="button3"/>\n							&nbsp; or &nbsp;<a href="#" onClick="ab(1,\'edit#FILENUM#\',\'edit#FILENUM#\',\'hide\',\'div\'); return false" style="color: #FF0000">Cancel</a>\n						</div>\n					</form>\n				</div>\n			</div>\n			</div>\n		</td>\n		<td align="left" width="90" class="actions_column"><div style="height: 15px; margin-right: 3px;">\n				<div id="share_button#FILENUM#" class="share_button#FILENUM#" style="text-align: center">\n					<a href="#" onClick="aD(#INDEX#,#FILENUM#,3); ab(1,\'share_button#FILENUM#\',\'share_button#FILENUM#\',\'hide\',\'div\'); return false;" id="asharelink#FILENUM#" name="asharelink#FILENUM#" class="#SHARINGPRIVATECLASS#"><img src="/images/buttons/share_down.gif" border="0" /> </a>\n				</div>\n				<div id="share_button#FILENUM#" class="hide" style="background: #cce6ff; padding: 0px 0px 40px 0px; position: absolute; width: 90px; text-align: center; margin-top: -5px;">\n					<a href="#" onClick="aD(#INDEX#,#FILENUM#,3); ab(1,\'share_button#FILENUM#\',\'share_button#FILENUM#\',\'hide\',\'div\'); return false;" id="asharelink#FILENUM#" name="asharelink#FILENUM#" style=" display: block; padding-top: 5px;"><img src="/images/buttons/share_up.gif" border="0" /></a>\n				</div>\n			</div></td>\n	</tr>\n</table>\n<div id="sharediv#FILENUM#" name="sharediv#FILENUM#"  class="hide">\n</div>\n</span> \n';eH[2]='<div class="fd_container" style="margin-bottom: 10px;">\n	<div style="background: #cce6ff; color: #084675; padding: 5px;">\n		<span style="display: none">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-editinfo" value="0">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-savemyfiles" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showpicture" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showpicturebox" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showviewimage" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_cantbrowse" value="#CANTBROWSE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_owner" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_download" value="1">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-folder" value="#ISFOLDER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-fn" value="#FILENAME#">\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-desc">#DESCRIPTION#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-tags">#TAGS_DISP#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-tagorig">#TAGS#</textarea>\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-qk" value="#QUICKKEY#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-imgkey" value="#IMGKEY#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-ft" value="#FILETYPE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-fs" value="#FILESIZE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-dls" value="#DOWNLOADS#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-upload" value="#UPLOADDATE#">\n		</span>\n		<div id="tabs5">\n			<ul>\n				<'+'!-- CSS Tabs --'+'>\n				<li id="sharetabsfile#FILENUM#-1" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',1); ad(0,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style=" background: url(images/icons/information.gif) no-repeat;">\n					</div>\n					File Info</span></a></li>\n				<li id="sharetabsfile#FILENUM#-2" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',2); ad(1,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/email_go.gif) no-repeat;">\n					</div>\n					Share by Email</span></a></li>\n				<li id="sharetabsfile#FILENUM#-3" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',3); ad(2,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/emoticon_grin.gif) no-repeat;">\n					</div>\n					Share by IM</span></a></li>\n				<li id="sharetabsfile#FILENUM#-4" class="sharetab"><a href="#"  OnClick="ae(\'sharetabsfile#FILENUM#-\',4); ad(3,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/image_link.gif) no-repeat;">\n					</div>\n					Embed in Website</span></a></li>\n			</ul>\n		</div>\n		<div class="sharing_inner_box">\n			<div class="sharing_inner_box_content">\n				<span id="sharetemplatefile#FILENUM#"></span>\n			</div>\n			<div class="roundedCornerSpacer">\n				&nbsp;\n			</div>\n		</div>\n		<'+'!-- end of div.content --'+'>\n	</div>\n</div>\n';eH[3]='<div class="fd_container" style="margin-bottom: 10px;">\n	<div style="background: #cce6ff; color: #084675; padding: 5px;">\n		<span style="display: none">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-editinfo" value="0">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-savemyfiles" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showpicture" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showpicturebox" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_cantbrowse" value="0">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_owner" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-folder" value="#ISFOLDER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-fn" value="#FILENAME#">\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-desc">#DESCRIPTION#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-tags">#TAGS_DISP#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-tagorig">#TAGS#</textarea>\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-qk" value="#FOLDER_QUICKKEY#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-imgkey" value="#IMGKEY#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-ft" value="#FILETYPE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-fs" value="#FILESIZE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-dls" value="#DOWNLOADS#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-upload" value="#UPLOADDATE#">\n		</span>\n		<div id="tabs5">\n			<ul>\n				<'+'!-- CSS Tabs --'+'>\n				<li id="sharetabsfile#FILENUM#-1" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',1); ad(0,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style=" background: url(images/icons/information.gif) no-repeat;">\n					</div>\n					Folder Info</span></a></li>\n				<li id="sharetabsfile#FILENUM#-2" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',2); ad(1,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/email_go.gif) no-repeat;">\n					</div>\n					Share by Email</span></a></li>\n				<li id="sharetabsfile#FILENUM#-3" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',3); ad(2,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/emoticon_grin.gif) no-repeat;">\n					</div>\n					Share by IM</span></a></li>\n				<li id="sharetabsfile#FILENUM#-4" class="sharetab"><a href="#"  OnClick="ae(\'sharetabsfile#FILENUM#-\',4); ad(3,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/image_link.gif) no-repeat;">\n					</div>\n					Embed in Website</span></a></li>\n			</ul>\n		</div>\n		<div class="sharing_inner_box">\n			<div class="sharing_inner_box_content">\n				<span id="sharetemplatefile#FILENUM#"></span>\n			</div>\n			<div class="roundedCornerSpacer">\n				&nbsp;\n			</div>\n		</div>\n		<'+'!-- end of div.content --'+'>\n	</div>\n</div>\n';eH[4]='<span style="visibility: visible;">\n        <table border="0" cellpadding="0" cellspacing="0" class="folder_up" width="100%">\n          <tr>\n			<td width="30" align="center" class="delete_column"></td>\n            <td width="36" valign="top"><div style="padding: 5px 13px 5px 10px;"><a href="#" OnClick="ak(aE(eL)); return false;"><img width="22" height="22" src="images/filetype/list_icons/998.gif" border="0"/></a></div></td>\n            <td>\n			<div id="edit0" class="edit0"><a class="foldername" style="font-size: 11px;" href="#" OnClick="ak(aE(eL)); return false;">Back to Previous Folder</a></div>\n			</td>\n            \n          </tr>\n        </table>\n        </span>\n\n\n\n';eH[5]='<a href="#" id="imagethumb#FILENUM#" OnClick="aG(#FILENUM#); return false;" class="small_#PRIVATECLASS#"><span></span><img src="http#SSL#://www#URLKEY#.mediafire.com/imgbnc.php/#IMGKEY#1g.jpg"  border="0"/></a>\n';eH[6]='<a href="#" class="small_thumbnail" OnClick="ak(\'#QUICKKEY#\'); return false;"><span></span><div style="text-align: center; width: 107px; height: 60px; background: #FFF;"><img src="#FOLDERIMAGEICONSMALL#" width="54%"  border="0"/></div><div class="fcaption" style="text-align: center" >#FILENAME#</div></a>\n';eH[7]='\n<input type=\'hidden\' id=\'curr_previmage_name\' name=\'curr_image_name\' value=\'#FILENAME#\'>\n</input>\n<input type=\'hidden\' id=\'curr_previmage_id\' name=\'curr_image_id\' value=\'#INDEX#\'>\n</input>\n<div class="viewing_area" id="preview_window" style="width: 525px;">\n	<div>\n			  <b class="nogfx_lightblue">\n			  <b class="nogfx_lightblue1"><b></b></b>\n			  <b class="nogfx_lightblue2"><b></b></b>\n			  <b class="nogfx_lightblue3"></b>\n			  <b class="nogfx_lightblue4"></b>\n			  <b class="nogfx_lightblue5"></b></b>\n			\n			  <div class="nogfx_lightbluefg" style="padding: 0 5px;">\n			  \n		<table border="0" cellpadding="0" cellspacing="0" style="width: 515px; height: 386px; background: url(images/bg/preview_loading.gif) center no-repeat;">\n			<tr>\n				<td valign="middle" align="center"><a href="/imageview.php?quickkey=#QUICKKEY#&thumb=5" target="_blank"><img id="preview_img" src="/imgbnc.php/#IMGKEY#4g.jpg" border="0" align="middle"/></a></td>\n			</tr>\n		</table>\n		<span style="display: none">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-editinfo" value="1">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-savemyfiles" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-showpicture" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-showpicturebox" value="0">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-showviewimage" value="1">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-folder" value="#ISFOLDER#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-fn" value="#FILENAME#">\n		<textarea rows=1 cols=1 id="sharedtabsfileinfoPREVIEW-desc">#DESCRIPTION#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfoPREVIEW-tags">#TAGS_DISP#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfoPREVIEW-tagorig">#TAGS#</textarea>\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-qk" value="#QUICKKEY#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-imgkey" value="#IMGKEY#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-ft" value="#FILETYPE#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-fs" value="#FILESIZE#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-dls" value="#DOWNLOADS#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-upload" value="#UPLOADDATE#">\n		</span>\n		\n		<div style="height: 25px; line-height: 25px; margin-top: 5px; padding: 0 5px;">\n				\n			<div style=" float: right; line-height: 25px; width: 120px; height: 25px; font-weight: bold;">\n				<a href="#" OnClick="CyclePreview(1); return false;"><div style=" float: right; padding-right: 20px; line-height: 25px; background: url(/images/icons/bullet_go.gif) right no-repeat; text-decoration: none; cursor: pointer;">next</div></a>\n				<a href="#" OnClick="CyclePreview(-1); return false;"><div style=" float: right; padding-left: 20px; line-height: 25px; background: url(/images/icons/bullet_go_left.gif) left no-repeat; text-decoration: none; cursor: pointer">prev &nbsp;|&nbsp;&nbsp; </div></a>\n			</div>\n			<a href="#" OnClick="iPreviewScroll = 0; DoHide(\'imagepreview_scroll\'); DoShow(\'imagepreview_dontscroll\'); return false;" id="imagepreview_scroll" class="show">\n				<div style=" float: left; padding-left: 20px; line-height: 25px; background: url(/images/icons/lock_open.gif) left no-repeat; cursor: pointer; font-size: 10px">Scroll</div>\n			</a>\n			<a href="#" OnClick="iPreviewScroll = 1; DoShow(\'imagepreview_scroll\'); DoHide(\'imagepreview_dontscroll\'); return false;" id="imagepreview_dontscroll" class="hide">\n				<div style=" float: left; padding-left: 20px; line-height: 25px; background: url(/images/icons/lock.gif) left no-repeat; cursor: pointer; font-size: 10px">Don\'t Scroll</div>\n			</a>\n		</div>\n		\n		<div>\n		<div id="tabs5">\n			<ul>\n				<'+'!-- CSS Tabs --'+'>\n				<li id="sharetabsfilePREVIEW-1" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfilePREVIEW-\',1); ad(0,document.getElementById(\'sharetemplatefilePREVIEW\'),\'PREVIEW\',\'sharedtabsfileinfoPREVIEW-\'); return false;"><span>\n					<div style=" background: url(images/icons/information.gif) no-repeat;">\n					</div>\n					File Info</span></a></li>\n				<li id="sharetabsfilePREVIEW-2" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfilePREVIEW-\',2); ad(1,document.getElementById(\'sharetemplatefilePREVIEW\'),\'PREVIEW\',\'sharedtabsfileinfoPREVIEW-\'); return false;"><span>\n					<div style="background: url(images/icons/email_go.gif) no-repeat;">\n					</div>\n					Share by Email</span></a></li>\n				<li id="sharetabsfilePREVIEW-3" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfilePREVIEW-\',3); ad(2,document.getElementById(\'sharetemplatefilePREVIEW\'),\'PREVIEW\',\'sharedtabsfileinfoPREVIEW-\'); return false;"><span>\n					<div style="background: url(images/icons/emoticon_grin.gif) no-repeat;">\n					</div>\n					Share by IM</span></a></li>\n				<li id="sharetabsfilePREVIEW-4" class="sharetab"><a href="#"  OnClick="ae(\'sharetabsfilePREVIEW-\',4); ad(3,document.getElementById(\'sharetemplatefilePREVIEW\'),\'PREVIEW\',\'sharedtabsfileinfoPREVIEW-\'); return false;"><span>\n					<div style="background: url(images/icons/image_link.gif) no-repeat;">\n					</div>\n					Embed in Website</span></a></li>\n			</ul>\n		</div>\n		<div class="sharing_inner_box">\n			<div class="sharing_inner_box_content">\n				<span id="sharetemplatefilePREVIEW"></span>\n			</div>\n			<div class="roundedCornerSpacer">\n				&nbsp;\n			</div>\n		</div>\n		<'+'!-- end of div.content --'+'>\n		</div>\n		\n			  </div>\n			  <b class="nogfx_lightblue">\n			  <b class="nogfx_lightblue5"></b>\n			  <b class="nogfx_lightblue4"></b>\n			  <b class="nogfx_lightblue3"></b>\n			  <b class="nogfx_lightblue2"><b></b></b>\n			  <b class="nogfx_lightblue1"><b></b></b></b>\n			</div>\n	\n</div>\n';eH[8]='<a href="#" class="small_thumbnail" OnClick="ak(aE(eL)); return false;">\n<div style="text-align: center; width: 107px; height: 60px; background: #FFF;"><img src="/images/myimages_icons/Folder_up_sm.jpg" width="54%" border="0"/></div>\n<div class="fcaption" style="text-align: center">Back to Previous Folder</div>\n</a>\n';eH[9]='<a href="#" id="imagethumb#FILENUM#" OnClick="aG(#FILENUM#); return false;"  class="medium_#PRIVATECLASS#" style="float: left; height: 168px;" >\n<span></span>\n<div style="text-align: center; width: 191px; height: 145px; background: #FFF;"><img src="http#SSL#://www#URLKEY#.mediafire.com/imgbnc.php/#IMGKEY#2g.jpg" border="0"/></div>\n<div style="font-size: 14px; width: 191px; height: 25px; font-weight: bold; line-height: 25px; text-align: center; overflow: hidden;">#FILENAME#</div>\n</a>\n';eH[10]='<a href="#" class="medium_thumbnail" style="float: left; height: 168px;" OnClick="ak(\'#QUICKKEY#\'); return false;">\n<span></span>\n<div style="text-align: center; width: 191px; background: #FFF;"><img src="#FOLDERIMAGEICONLARGE#" width="143" height="143" border="0"/></div>\n<div style="font-size: 14px; width: 191px; height: 25px; font-weight: bold; line-height: 25px; text-align: center; overflow: hidden;">#FILENAME#</div>\n</a>\n';eH[11]='<a href="#" class="medium_thumbnail" style="float: left; height: 168px;" OnClick="ak(aE(eL)); return false;">\n<div style="text-align: center; width: 191px; background: #FFF;"><img src="/images/myimages_icons/Folder_up.jpg" width="143" height="143" border="0"/></div>\n<div style="font-size: 14px; width: 191px; height: 25px; font-weight: bold; line-height: 25px; text-align: center; overflow: hidden;">Back to Previous Folder</div>\n</a>\n';var hx=0;if(hx<0)alert("ERROR Loading Data, please reload this page!");var wY=Array();wY[0]='<span id="filerow_#FILENUM#" name="filerow_#FILENUM#" style="visibility: visible;" onmouseover=" if (document.getElementById(\'download_btn#FILENUM#\')) document.getElementById(\'download_btn#FILENUM#\').className = \'download_btn#FILENUM#\';" onmouseout="if (document.getElementById(\'download_btn#FILENUM#\')) document.getElementById(\'download_btn#FILENUM#\').className = \'hide\';" > <a name="FILEN#FILENUM#"></a>\n<table border="0" cellpadding="0" cellspacing="0" id="file_row#FILENUM#" class="file_#ODDEVEN#" width="100%" style="color: #777;">\n	<tr>\n		<td width="40" align="center" class="delete_column" valign="top">\n			<div id="thumbpop#FILENUM#" class="hide" style="position: absolute; width: 126px; height: 98px; background: url(/images/bg/list_thumbnail_pop.gif); margin-top: -95px; margin-left: -84px; ">\n				<div style=" text-align:center; padding: 4px 13px 14px 6px;">\n					<img id="previmg#FILENUM#"  border="0"/>\n				</div>\n			</div>\n			<div style="margin-top: 18px;">\n				<input OnClick="bm(#FILENUM#);" id="filecheck#FILENUM#" name="filecheck#FILENUM#" type="checkbox"  value="checkbox" style="margin: 0;"/>\n			</div>\n		</td>\n			\n		<td width="42" valign="top" align="center">\n			<a href="/#URI##QUICKKEY##QUERY_STRING#" target="_blank" onMouseOver="bb(1,#FILENUM#,#INDEX#); return false;" onMouseOut="bb(2,#FILENUM#,#INDEX#); return false;"><img width="32" height="32" id="filetype_icon_#FILENUM#" src="/images/filetype/list_icons/#FILETYPE#.gif" border="0" style="margin-top: 10px; margin-bottom: 10px;"/></a>\n		</td>\n		<td valign="top">\n			<div class="info" style="padding-top: 10px; padding-bottom: 10px; padding-left: 10px;">\n				<div id="edit#FILENUM#" class="edit#FILENUM#">\n					<div class="filename_filelist" style="width: 444px; height: 18px; overflow: hidden; white-space: nowrap;">\n						<a id="ancfilename#FILENUM#" class="foldername#PRIVATEFILENAMECLASS#" href="/#URI##QUICKKEY##QUERY_STRING#" target="#DOBLANK#">#FILENAME#</a>\n					</div>\n					<div style="font-size: 10px; color: #777; padding-top: 3px; height: 15px;">\n						<div style="float: left; padding-right: 5px;">Uploaded #UPLOADDATE#</div>\n						<div style="float: left;">&nbsp;<span class="info">|</span>&nbsp;</div>\n						<div style="float: left; width: 55px; text-align: center;">#FILESIZE#</div>\n					</div>\n					<div class="#FOLDERACTIONSCLASS#">\n						<span style="color: #222">#DESCRIPTION#</span>\n					</div>\n					<div class="#FOLDERACTIONSCLASS#">\n						#TAGS_DISP#\n					</div>\n					\n				</div>\n				\n			</div>\n			</td>\n		<td width="40" valign="middle">\n			<div style="width: 106px;">\n				<div id="download_btn#FILENUM#" class="hide" style="float: right;"><a href="/#URI##QUICKKEY##QUERY_STRING#" target="#DOBLANK#"><img src="/images/v4images/buttons/myfiles/download.gif" /></a></div>\n			</div>\n		</td>		<td align="left" width="90" class="actions_column"><div style="margin-right: 3px;">\n				<div id="share_button#FILENUM#" class="share_button#FILENUM#" style="text-align: center">\n					<a href="#" onClick="aD(#INDEX#,#FILENUM#,2); ab(1,\'share_button#FILENUM#\',\'share_button#FILENUM#\',\'hide\',\'div\'); return false;" id="asharelink#FILENUM#" name="asharelink#FILENUM#"><img src="/images/buttons/share_down.gif" border="0" /> </a>\n				</div>\n				<div id="share_button#FILENUM#" class="hide" style="background: #cce6ff; padding: 0px 0px 40px 0px; position: absolute; width: 90px; text-align: center; margin-top: -5px;">\n					<a href="#" onClick="aD(#INDEX#,#FILENUM#,2); ab(1,\'share_button#FILENUM#\',\'share_button#FILENUM#\',\'hide\',\'div\'); return false;" id="asharelink#FILENUM#" name="asharelink#FILENUM#" style=" display: block; padding-top: 5px;"><img src="/images/buttons/share_up.gif" border="0" /></a>\n				</div>\n			</div></td>\n	</tr>\n</table>\n<div id="sharediv#FILENUM#" name="sharediv#FILENUM#" class="hide">\n</div>\n</span> \n';wY[1]='<span id="filerow_#FILENUM#" name="filerow_#FILENUM#" style="visibility: visible;" onMouseOver="if (document.getElementById(\'rss#FILENUM#\')) document.getElementById(\'rss#FILENUM#\').className = \'rss#FILENUM#\'; return false;" onMouseOut="if (document.getElementById(\'rss#FILENUM#\')) document.getElementById(\'rss#FILENUM#\').className = \'hide\'; return false;"> <a name="FILEN#FILENUM#"></a>\n<table border="0" cellpadding="0" cellspacing="0" id="file_row#FILENUM#" class="file_#ODDEVEN#" width="100%" style="color: #777;">\n	<tr>\n		<td width="40" align="center" class="delete_column" valign="top"><div style="margin-top: 18px;">\n				<input OnClick="bm(#FILENUM#);" id="filecheck#FILENUM#" name="filecheck#FILENUM#" type="checkbox"  value="checkbox" style="margin: 0;"/>\n			</div></td>\n		<td width="42" valign="top" align="center"><a href="#" OnClick="ak(\'#QUICKKEY#\'); return false;"><img width="32" height="32" src="/images/filetype/list_icons/999.gif" border="0" style="margin-top: 10px; margin-bottom: 10px;"/></a> </td>\n		<td valign="top">\n			<div id="rss#FILENUM#" class="hide" style="float: right; margin-top: 18px; margin-right: 0px; width: 120px;">\n				<a href="#" title="Bulk-Download this Folder" onclick="zE(\'#QUICKKEY#\'); return false;" style="float: right; margin-left: 10px;"><img src="/images/v4images/buttons/myfiles/download.gif" /></a>\n				<a href="/rss.php?key=#FOLDER_QUICKKEY#" target="_blank" style="float: right; margin-top: 3px; margin-left: 10px;"><img src="/images/v4images/icons/feed.png" border="0" /></a>\n				<a href="#" title="Make this Folder a Dropbox" onClick="zW(\'#FOLDER_QUICKKEY#\', \'#FILENUM#\'); return false;" style="float: right; margin-top: 3px;"><img src="/images/v4images/icons/myfiles/dropbox.gif" name="folder_img"/></a>\n			</div>\n			<div class="info" style="padding-top: 10px; padding-left: 10px; margin-bottom: 10px;">\n				<div id="edit#FILENUM#" class="edit#FILENUM#">\n					<div class="filename_filelist">\n						<a class="foldername#PRIVATEFILENAMECLASS#" href="#" OnClick="ak(\'#QUICKKEY#\'); return false;">#FILENAME#</a>\n					</div>\n					<div style="font-size: 10px; color: #777; padding-top: 3px;">\n						Created #UPLOADDATE# &nbsp;<span class="info">|</span>&nbsp; #SUBFOLDERS# Folders, #SUBFILES# Files\n					</div>\n					<div class="#FOLDERACTIONSCLASS#">\n						<span style="color: #222">#DESCRIPTION#</span>\n					</div>\n					<div class="#FOLDERACTIONSCLASS#">\n						#TAGS_DISP#\n					</div>\n				</div>\n			</div>\n			</div>\n		</td>\n		<td align="left" width="90" class="actions_column"><div style="height: 15px; margin-right: 3px;">\n				<div id="share_button#FILENUM#" class="share_button#FILENUM#" style="text-align: center">\n					<a href="#" onClick="aD(#INDEX#,#FILENUM#,3); ab(1,\'share_button#FILENUM#\',\'share_button#FILENUM#\',\'hide\',\'div\'); return false;" id="asharelink#FILENUM#" name="asharelink#FILENUM#" class="#SHARINGPRIVATECLASS#"><img src="/images/buttons/share_down.gif" border="0" /> </a>\n				</div>\n				<div id="share_button#FILENUM#" class="hide" style="background: #cce6ff; padding: 0px 0px 40px 0px; position: absolute; width: 90px; text-align: center; margin-top: -5px;">\n					<a href="#" onClick="aD(#INDEX#,#FILENUM#,3); ab(1,\'share_button#FILENUM#\',\'share_button#FILENUM#\',\'hide\',\'div\'); return false;" id="asharelink#FILENUM#" name="asharelink#FILENUM#" style=" display: block; padding-top: 5px;"><img src="/images/buttons/share_up.gif" border="0" /></a>\n				</div>\n			</div></td>\n	</tr>\n</table>\n<div id="sharediv#FILENUM#" name="sharediv#FILENUM#"  class="hide">\n</div>\n</span> ';wY[2]='<div class="fd_container" style="margin-bottom: 10px;">\n	<div style="background: #cce6ff; color: #084675; padding: 5px;">\n		<span style="display: none">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-editinfo" value="0">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-savemyfiles" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showpicture" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showpicturebox" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showviewimage" value="1">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_cantbrowse" value="0">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_owner" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-folder" value="#ISFOLDER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-fn" value="#FILENAME#">\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-desc">#DESCRIPTION#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-tags">#TAGS_DISP#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-tagorig">#TAGS#</textarea>\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-qk" value="#QUICKKEY#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-imgkey" value="#IMGKEY#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-ft" value="#FILETYPE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-fs" value="#FILESIZE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-dls" value="#DOWNLOADS#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-upload" value="#UPLOADDATE#">\n		</span>\n		<div id="tabs5">\n			<ul>\n				<'+'!-- CSS Tabs --'+'>\n				<li id="sharetabsfile#FILENUM#-1" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',1); ad(0,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style=" background: url(images/icons/information.gif) no-repeat;">\n					</div>\n					File Info</span></a></li>\n				<li id="sharetabsfile#FILENUM#-2" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',2); ad(1,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/email_go.gif) no-repeat;">\n					</div>\n					Share by Email</span></a></li>\n				<li id="sharetabsfile#FILENUM#-3" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',3); ad(2,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/emoticon_grin.gif) no-repeat;">\n					</div>\n					Share by IM</span></a></li>\n				<li id="sharetabsfile#FILENUM#-4" class="sharetab"><a href="#"  OnClick="ae(\'sharetabsfile#FILENUM#-\',4); ad(3,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/image_link.gif) no-repeat;">\n					</div>\n					Embed in Website</span></a></li>\n			</ul>\n		</div>\n		<div class="sharing_inner_box">\n			<div class="sharing_inner_box_content">\n				<span id="sharetemplatefile#FILENUM#"></span>\n			</div>\n			<div class="roundedCornerSpacer">\n				&nbsp;\n			</div>\n		</div>\n		<'+'!-- end of div.content --'+'>\n	</div>\n</div>\n';wY[3]='<div class="fd_container" style="margin-bottom: 10px;">\n	<div style="background: #cce6ff; color: #084675; padding: 5px;">\n		<span style="display: none">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-editinfo" value="0">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-savemyfiles" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showpicture" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-showpicturebox" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_cantbrowse" value="0">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-show_owner" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-folder" value="#ISFOLDER#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-fn" value="#FILENAME#">\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-desc">#DESCRIPTION#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-tags">#TAGS_DISP#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfo#FILENUM#-tagorig">#TAGS#</textarea>\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-qk" value="#FOLDER_QUICKKEY#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-imgkey" value="#IMGKEY#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-ft" value="#FILETYPE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-fs" value="#FILESIZE#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-dls" value="#DOWNLOADS#">\n		<input type="hidden" id="sharedtabsfileinfo#FILENUM#-upload" value="#UPLOADDATE#">\n		</span>\n		<div id="tabs5">\n			<ul>\n				<'+'!-- CSS Tabs --'+'>\n				<li id="sharetabsfile#FILENUM#-1" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',1); ad(0,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style=" background: url(images/icons/information.gif) no-repeat;">\n					</div>\n					Folder Info</span></a></li>\n				<li id="sharetabsfile#FILENUM#-2" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',2); ad(1,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/email_go.gif) no-repeat;">\n					</div>\n					Share by Email</span></a></li>\n				<li id="sharetabsfile#FILENUM#-3" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfile#FILENUM#-\',3); ad(2,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/emoticon_grin.gif) no-repeat;">\n					</div>\n					Share by IM</span></a></li>\n				<li id="sharetabsfile#FILENUM#-4" class="sharetab"><a href="#"  OnClick="ae(\'sharetabsfile#FILENUM#-\',4); ad(3,document.getElementById(\'sharetemplatefile#FILENUM#\'),#FILENUM#,\'sharedtabsfileinfo#FILENUM#-\'); return false;"><span>\n					<div style="background: url(images/icons/image_link.gif) no-repeat;">\n					</div>\n					Embed in Website</span></a></li>\n			</ul>\n		</div>\n		<div class="sharing_inner_box">\n			<div class="sharing_inner_box_content">\n				<span id="sharetemplatefile#FILENUM#"></span>\n			</div>\n			<div class="roundedCornerSpacer">\n				&nbsp;\n			</div>\n		</div>\n		<'+'!-- end of div.content --'+'>\n	</div>\n</div>\n';wY[4]='<span style="visibility: visible;">\n        <table border="0" cellpadding="0" cellspacing="0" class="folder_up" width="100%">\n          <tr>\n			<td width="30" align="center" class="delete_column"></td>\n            <td width="36" valign="top"><div style="padding: 5px 13px 5px 10px;"><a href="#" OnClick="ak(aE(eL)); return false;"><img width="22" height="22" src="images/filetype/list_icons/998.gif" border="0"/></a></div></td>\n            <td>\n			<div id="edit1" class="edit1"><a class="foldername" style="font-size: 11px;" href="#" OnClick="ak(aE(eL)); return false;">Back to Previous Folder</a></div>\n			</td>\n            \n          </tr>\n        </table>\n        </span>\n\n\n\n';wY[5]='<a href="#" id="imagethumb#FILENUM#" OnClick="aG(#FILENUM#); return false;" class="small_#PRIVATECLASS#"><img src="http#SSL#://www#URLKEY#.mediafire.com/imgbnc.php/#IMGKEY#1g.jpg"  border="0"/></a>\n';wY[6]='<a href="#" class="small_thumbnail" OnClick="ak(\'#QUICKKEY#\'); return false;">\n<div style="text-align: center; width: 107px; height: 60px; background: #FFF;"><img src="/images/myimages_icons/Folder_sm.jpg" width="54%"  border="0"/></div>\n<div class="fcaption" style="text-align: center" >#FILENAME#</div>\n</a>\n';wY[7]='\n<input type=\'hidden\' id=\'curr_previmage_name\' name=\'curr_image_name\' value=\'#FILENAME#\'>\n</input>\n<input type=\'hidden\' id=\'curr_previmage_id\' name=\'curr_image_id\' value=\'#INDEX#\'>\n</input>\n<div class="viewing_area" id="preview_window" style="width: 525px;">\n	<div>\n			  <b class="nogfx_lightblue">\n			  <b class="nogfx_lightblue1"><b></b></b>\n			  <b class="nogfx_lightblue2"><b></b></b>\n			  <b class="nogfx_lightblue3"></b>\n			  <b class="nogfx_lightblue4"></b>\n			  <b class="nogfx_lightblue5"></b></b>\n			\n			  <div class="nogfx_lightbluefg" style="padding: 0 5px;">\n			  \n		<table border="0" cellpadding="0" cellspacing="0" style="width: 515px; height: 386px; background: url(images/bg/preview_loading.gif) center no-repeat;">\n			<tr>\n				<td valign="middle" align="center"><a href="/imageview.php?quickkey=#QUICKKEY#&thumb=5" target="_blank"><img id="preview_img" src="/imgbnc.php/#IMGKEY#4g.jpg" border="0" align="middle"/></a></td>\n			</tr>\n		</table>\n		<span style="display: none">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-editinfo" value="1">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-savemyfiles" value="#ISOWNER#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-showpicture" value="#ISPICTURE#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-showpicturebox" value="0">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-showviewimage" value="1">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-folder" value="#ISFOLDER#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-fn" value="#FILENAME#">\n		<textarea rows=1 cols=1 id="sharedtabsfileinfoPREVIEW-desc">#DESCRIPTION#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfoPREVIEW-tags">#TAGS_DISP#</textarea>\n		<textarea rows=1 cols=1 id="sharedtabsfileinfoPREVIEW-tagorig">#TAGS#</textarea>\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-qk" value="#QUICKKEY#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-imgkey" value="#IMGKEY#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-ft" value="#FILETYPE#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-fs" value="#FILESIZE#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-dls" value="#DOWNLOADS#">\n		<input type="hidden" id="sharedtabsfileinfoPREVIEW-upload" value="#UPLOADDATE#">\n		</span>\n		\n		<div style="height: 25px; line-height: 25px; margin-top: 5px; padding: 0 5px;">\n				\n			<div style=" float: right; line-height: 25px; width: 120px; height: 25px; font-weight: bold;">\n				<a href="#" OnClick="CyclePreview(1); return false;"><div style=" float: right; padding-right: 20px; line-height: 25px; background: url(/images/icons/bullet_go.gif) right no-repeat; text-decoration: none; cursor: pointer;">next</div></a>\n				<a href="#" OnClick="CyclePreview(-1); return false;"><div style=" float: right; padding-left: 20px; line-height: 25px; background: url(/images/icons/bullet_go_left.gif) left no-repeat; text-decoration: none; cursor: pointer">prev &nbsp;|&nbsp;&nbsp; </div></a>\n			</div>\n			<a href="#" OnClick="iPreviewScroll = 0; DoHide(\'imagepreview_scroll\'); DoShow(\'imagepreview_dontscroll\'); return false;" id="imagepreview_scroll" class="show">\n				<div style=" float: left; padding-left: 20px; line-height: 25px; background: url(/images/icons/lock_open.gif) left no-repeat; cursor: pointer; font-size: 10px">Scroll</div>\n			</a>\n			<a href="#" OnClick="iPreviewScroll = 1; DoShow(\'imagepreview_scroll\'); DoHide(\'imagepreview_dontscroll\'); return false;" id="imagepreview_dontscroll" class="hide">\n				<div style=" float: left; padding-left: 20px; line-height: 25px; background: url(/images/icons/lock.gif) left no-repeat; cursor: pointer; font-size: 10px">Don\'t Scroll</div>\n			</a>\n		</div>\n		\n		<div>\n		<div id="tabs5">\n			<ul>\n				<'+'!-- CSS Tabs --'+'>\n				<li id="sharetabsfilePREVIEW-1" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfilePREVIEW-\',1); ad(0,document.getElementById(\'sharetemplatefilePREVIEW\'),\'PREVIEW\',\'sharedtabsfileinfoPREVIEW-\'); return false;"><span>\n					<div style=" background: url(images/icons/information.gif) no-repeat;">\n					</div>\n					File Info</span></a></li>\n				<li id="sharetabsfilePREVIEW-2" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfilePREVIEW-\',2); ad(1,document.getElementById(\'sharetemplatefilePREVIEW\'),\'PREVIEW\',\'sharedtabsfileinfoPREVIEW-\'); return false;"><span>\n					<div style="background: url(images/icons/email_go.gif) no-repeat;">\n					</div>\n					Share by Email</span></a></li>\n				<li id="sharetabsfilePREVIEW-3" class="sharetab"><a href="#" OnClick="ae(\'sharetabsfilePREVIEW-\',3); ad(2,document.getElementById(\'sharetemplatefilePREVIEW\'),\'PREVIEW\',\'sharedtabsfileinfoPREVIEW-\'); return false;"><span>\n					<div style="background: url(images/icons/emoticon_grin.gif) no-repeat;">\n					</div>\n					Share by IM</span></a></li>\n				<li id="sharetabsfilePREVIEW-4" class="sharetab"><a href="#"  OnClick="ae(\'sharetabsfilePREVIEW-\',4); ad(3,document.getElementById(\'sharetemplatefilePREVIEW\'),\'PREVIEW\',\'sharedtabsfileinfoPREVIEW-\'); return false;"><span>\n					<div style="background: url(images/icons/image_link.gif) no-repeat;">\n					</div>\n					Embed in Website</span></a></li>\n			</ul>\n		</div>\n		<div class="sharing_inner_box">\n			<div class="sharing_inner_box_content">\n				<span id="sharetemplatefilePREVIEW"></span>\n			</div>\n			<div class="roundedCornerSpacer">\n				&nbsp;\n			</div>\n		</div>\n		<'+'!-- end of div.content --'+'>\n		</div>\n		\n			  </div>\n			  <b class="nogfx_lightblue">\n			  <b class="nogfx_lightblue5"></b>\n			  <b class="nogfx_lightblue4"></b>\n			  <b class="nogfx_lightblue3"></b>\n			  <b class="nogfx_lightblue2"><b></b></b>\n			  <b class="nogfx_lightblue1"><b></b></b></b>\n			</div>\n	\n</div>\n';wY[8]='<a href="#" class="small_thumbnail" OnClick="ak(aE(eL)); return false;">\n<div style="text-align: center; width: 107px; height: 60px; background: #FFF;"><img src="/images/myimages_icons/Folder_up_sm.jpg" width="54%" border="0"/></div>\n<div class="fcaption" style="text-align: center">Back to Previous Folder</div>\n</a>\n';wY[9]='<a href="#" id="imagethumb#FILENUM#" OnClick="aG(#FILENUM#); return false;"  class="medium_#PRIVATECLASS#" style="float: left; height: 168px;" ><div style="text-align: center; width: 191px; height: 145px; background: #FFF;"><img src="http#SSL#://www#URLKEY#.mediafire.com/imgbnc.php/#IMGKEY#2g.jpg" border="0"/></div><div style="font-size: 14px; width: 191px; height: 25px; font-weight: bold; line-height: 25px; text-align: center; overflow: hidden;">#FILENAME#</div></a>\n';wY[10]='<a href="#" class="medium_thumbnail" style="float: left; height: 168px;" OnClick="ak(\'#QUICKKEY#\'); return false;">\n<div style="text-align: center; width: 191px; background: #FFF;"><img src="/images/myimages_icons/Folder.jpg" width="143" height="143" border="0"/></div>\n<div style="font-size: 14px; width: 191px; height: 25px; font-weight: bold; line-height: 25px; text-align: center; overflow: hidden;">#FILENAME#</div>\n</a>';wY[11]='<a href="#" class="medium_thumbnail" style="float: left; height: 168px;" OnClick="ak(aE(eL)); return false;">\n<div style="text-align: center; width: 191px; background: #FFF;"><img src="/images/myimages_icons/Folder_up.jpg" width="143" height="143" border="0"/></div>\n<div style="font-size: 14px; width: 191px; height: 25px; font-weight: bold; line-height: 25px; text-align: center; overflow: hidden;">Back to Previous Folder</div>\n</a>\n';var hx=0;if(hx<0)alert("ERROR Loading Data, please reload this page!");function du(eu,mE,mF){var ib='';var gQ='';for(var eh=0;eh<5;eh++){if(eh>0)ib=eh;else ib='';var gQ=document.getElementById('sharedtabsfileinfo'+ib+eu+'-desc');if(gQ)gQ.innerHTML=mE.replace(/"/g,'&#34;');var gQ=document.getElementById('sharedtabsfileinfo'+ib+eu+'-tags');if(gQ)gQ.innerHTML=mF.replace(/"/g,'&#34;');}};function dL(nI){for(var eh=1;document.getElementById(nI+eh+'-1')&&eh<=20;eh++){ae('sharetabsfile'+eh+'-',1);ad(0,document.getElementById('sharetemplatefile'+eh),eh,'sharedtabsfileinfo'+eh+'-');}};function dT(gi,gK){var ky=document.getElementById('preview_img');if(ky){if(gi>4)gi=4;ky.src='http://www'+aX(gK)+'.mediafire.com/imgbnc.php/'+gK+gi+'g.jpg';}};function ad(jK,ml,eu,nN){if(!ml)return false;var gb="";gb=hU[jK];gb=cY(gb,nN,eu);ml.innerHTML=gb;};function ae(mC,hv){var ah;for(var eh=1;(ah=document.getElementById(mC+eh));eh++){if(eh==hv)ah.className="current";else ah.className="sharetab";}};function cW(gi,fb,gK,fo){var lS=document.getElementById('uploaded_html_'+fb+'41');var lQ=document.getElementById('uploaded_bbs_'+fb+'42');if(lS&&lQ){lS.value="<a href='http://www.mediafire.com/imageview.php?quickkey="+fo+"&thumb=4' target='_blank'><img src='http://www.mediafire.com/imgbnc.php/"+gK+gi+"g.jpg' border='0' alt='Unlimited Free Image and File Hosting at MediaFire'></a>";lQ.value="[URL=http://www.mediafire.com/imageview.php?quickkey="+fo+"&thumb=4][IMG]http://www"+aX(gK)+".mediafire.com/imgbnc.php/"+gK+gi+"g.jpg[/IMG][/URL]";}};function cY(ei,eO,eu){ei=ei.replace(/#FILENAME#/g,document.getElementById(eO+'fn').value);var qE="";var ag="";if(document.getElementById(eO+'desc').innerHTML==''){qE="<span style='color: #555'>No description entered</span>";ag="No description entered";}else{qE=document.getElementById(eO+'desc').innerHTML;ag=document.getElementById(eO+'desc').innerHTML;}ei=ei.replace(/#DESCRIPTION#/g,qE.replace(/"/g,'&#34;'));ei=ei.replace(/#DESCRIPTION_URL#/g,escape(ag));ei=ei.replace(/#DESCRIPTION_ORIG#/g,document.getElementById(eO+'desc').innerHTML.replace(/"/g,'&#34;'));ei=ei.replace(/#FILENUM#/g,eu);var sTags=document.getElementById(eO+'tags').innerHTML;sTags=sTags.replace(/&lt;/g,"\x3c");sTags=sTags.replace(/&gt;/g,'>');ei=ei.replace(/#TAGS_URL#/g,escape(sTags));ei=ei.replace(/#TAGS_DISP#/g,sTags);ei=ei.replace(/#IMGKEY#/g,document.getElementById(eO+'imgkey').value);ei=ei.replace(/#FILENAME#/g,document.getElementById(eO+'fn').value);ei=ei.replace(/#FILENAME_URL#/g,escape(document.getElementById(eO+'fn').value));ei=ei.replace(/#UPLOADDATE#/g,document.getElementById(eO+'upload').value);ei=ei.replace(/#FILESIZE#/g,document.getElementById(eO+'fs').value);ei=ei.replace(/#DOWNLOADS#/g,document.getElementById(eO+'dls').value);ei=ei.replace(/#TAGS#/g,document.getElementById(eO+'tagorig').value.replace(/"/g,'&#34;'));ei=ei.replace(/#RAND1#/g,aC(5));ei=ei.replace(/#FILENUM#/g,db(1000,3000));if(lB==1){ei=ei.replace(/#SSL#/g,'s');ei=ei.replace(/#URLKEY#/g,'');}else{ei=ei.replace(/#SSL#/g,'');ei=ei.replace(/#URLKEY#/g,aX(document.getElementById(eO+'imgkey').value));}var kg=document.getElementById(eO+'show_cantbrowse');if(!kg)ei=ei.replace(/#STYLE_CANTBROWSE#/g,'display: none');else if(kg&&kg.value==1)ei=ei.replace(/#STYLE_CANTBROWSE#/g,'');else ei=ei.replace(/#STYLE_CANTBROWSE#/g,'display: none');var lx=document.getElementById(eO+'show_owner');if(lx&&lx.value==1)ei=ei.replace(/#STYLE_SHOWOWNER#/g,'');else ei=ei.replace(/#STYLE_SHOWOWNER#/g,'display: none');var io=document.getElementById(eO+'show_download');if(io&&io.value==1)ei=ei.replace(/#STYLE_SHOWDOWNLOAD#/g,'');else ei=ei.replace(/#STYLE_SHOWDOWNLOAD#/g,'display: none');if(document.getElementById(eO+'folder').value==2)ei=ei.replace(/#QUICKKEY#/g,'sharekey='+document.getElementById(eO+'qk').value);else ei=ei.replace(/#QUICKKEY#/g,document.getElementById(eO+'qk').value);if(document.getElementById(eO+'folder').value==1){ei=ei.replace(/#STYLE_FILEONLY#/g,'');ei=ei.replace(/#STYLE_NOTFILE#/g,'display: none');}else{ei=ei.replace(/#STYLE_FILEONLY#/g,'display: none');ei=ei.replace(/#STYLE_NOTFILE#/g,'');}if(document.getElementById(eO+'showpicture').value==1){ei=ei.replace(/#STYLE_PICTURE#/g,'');ei=ei.replace(/#STYLE_NOTPICTURE#/g,'display: none');}else{ei=ei.replace(/#STYLE_NOTPICTURE#/g,'');ei=ei.replace(/#STYLE_PICTURE#/g,'display: none');}if(document.getElementById(eO+'showpicturebox').value==1)ei=ei.replace(/#STYLE_PICTUREBOX#/g,'');else ei=ei.replace(/#STYLE_PICTUREBOX#/g,'display: none');var nG=document.getElementById(eO+'nonmyfiles');if(nG){if(document.getElementById(eO+'nonmyfiles').value==1)ei=ei.replace(/#STYLE_HIDENONMYFILES#/g,'display: none');else ei=ei.replace(/#STYLE_HIDENONMYFILES#/g,'');}if(document.getElementById(eO+'savemyfiles').value==0)ei=ei.replace(/#STYLE_SAVE#/g,'');else ei=ei.replace(/#STYLE_SAVE#/g,'display: none');if(document.getElementById(eO+'editinfo').value==1)ei=ei.replace(/#STYLE_EDITINFO#/g,'');else ei=ei.replace(/#STYLE_EDITINFO#/g,'display: none');var lf=document.getElementById(eO+'showviewimage');if(lf&&lf.value==1)ei=ei.replace(/#STYLE_VIEWIMAGE#/g,'');else ei=ei.replace(/#STYLE_VIEWIMAGE#/g,'display: none');if(UserLogin==1)ei=ei.replace(/#EMAILADDY#/g,UserEmail);else ei=ei.replace(/#EMAILADDY#/g,'');return ei;};function onABCommComplete(data){oPlaxoInsert=document.getElementById(sPlaxoInsert);if(data&&oPlaxoInsert){oPlaxoInsert.value='';for(eh=0;data[eh]&&eh<30;eh++){var nameAndEmail=data[eh][1];if(nameAndEmail.length>0){if(eh>0)oPlaxoInsert.value+=", ";oPlaxoInsert.value+=data[eh][1];}}}}var hU=Array();hU[0]='<div id="file-details" style="padding: 5px 5px 5px 5px;">\n	<table border="0" cellpadding="0" cellspacing="0" width="100%">\n		<tr>\n			<td><span style="#STYLE_SHOWOWNER#"> <span style="#STYLE_CANTBROWSE#">\n				<div class="form_error" style="padding: 5px; font-weight: bold; text-align:center; border: #FF0000 1px solid; margin-bottom: 5px; ">\n					If you would like to share a group of files you must move them into a folder. &nbsp; &nbsp; <a href="#" onclick="DoAPopup(\'root_explanation_popup\',423,302);">more information</a>\n				</div>\n				</span> </span>\n				<div id="statusmessage#RAND1#" class="form_error" style="padding: 5px; font-weight: bold; text-align:left; border: #FF0000 1px solid; margin-bottom: 5px; display: none;">\n				</div>\n				<div class="seofilename" style="line-height: 25px; border-bottom: 1px #ccc dashed;">\n					<div class="filename_sharetab" style="width: 400px; overflow: hidden; white-space: nowrap; ">\n						<h1>&nbsp;&nbsp;<a href="/?#QUICKKEY#">#FILENAME#</a></h1>\n					</div>\n				</div>\n				<div id="edit_picture#RAND1#" class="edit_picture#RAND1#">\n					<span style="#STYLE_PICTUREBOX#">\n					<div style="float:right; border-left: 5px #fff solid; padding: 0px 0; width: 211px;">\n						<span style="#STYLE_PICTURE#">\n						<div style="text-align:center">\n							<a href="/imageview.php?quickkey=#QUICKKEY#" class="medium_thumbnail" target="_blank"> <img src="http#SSL#://www#URLKEY#.mediafire.com/imgbnc.php?#IMGKEY#2g.jpg" border="0"/></a>\n						</div>\n						</span>\n					</div>\n					</span>\n					<div style="float: right; border-top: 10px #fff solid;">\n						<div style=" padding-left: 5px;">\n							<span style="#STYLE_VIEWIMAGE#"> <a href="/imageview.php?quickkey=#QUICKKEY#" target="_blank" style="color: #FFFFFF; font-weight: bold; cursor: pointer;">\n							<div class="my_files_viewimage" style="height: 21px; width: 150px; line-height: 32px; height: 32px; text-align: center; padding: 0 5px 0 35px; cursor: pointer; margin-bottom: 5px;">\n								View Full Image\n							</div>\n							</a> </span> <span style="#STYLE_PICTURE#"> <a href="/?#QUICKKEY#" target="_blank" style="color: #FFFFFF; font-weight: bold; cursor: pointer;">\n							<div class="my_files_downloadfile" style="height: 21px; width: 150px; line-height: 32px; height: 32px; text-align: center; padding: 0 5px 0 35px; cursor: pointer;">\n								Download Image\n							</div>\n							</a> </span> <span style="#STYLE_SHOWDOWNLOAD#"> <span style="#STYLE_NOTPICTURE#"> <a href="/?#QUICKKEY#" target="_blank" style="color: #FFFFFF; font-weight: bold; cursor: pointer;">\n							<div class="my_files_downloadfile" style="height: 21px; width: 150px; line-height: 32px; height: 32px; text-align: center; padding: 0 5px 0 35px; cursor: pointer;">\n								Download File\n							</div>\n							</a> </span> </span> <span style="#STYLE_SAVE#"> <a href="#"  style="color: #FFFFFF; font-weight: bold">\n							<div class="my_files_save2myfiles" style="height: 21px; width: 150px; line-height: 32px; height: 32px; text-align: center; padding: 0 5px 0 35px; cursor: pointer; margin-top: 5px;" OnClick="var oStatusMSG = document.getElementById(\'statusmessage#RAND1#\'); oStatusMSG.style.display = \'block\'; oStatusMSG.innerHTML = \'Working.. please wait..\'; var oTargetFrame = document.getElementById(\'iframe_sharework#RAND1#\'); if (oTargetFrame.location) oTargetFrame.location = \'/dynamic/savefile.php?qk=#QUICKKEY#&status=statusmessage#RAND1#\'; else oTargetFrame.src = \'/dynamic/savefile.php?qk=#QUICKKEY#&status=statusmessage#RAND1#\'; return false;">\n								Save to My Files\n							</div>\n							</a> </span>\n						</div>\n\n							<div style=" padding-top: 22px; padding-left: 0px;">\n								<span style="#STYLE_NOTPICTURE#">\n								<div style="line-height: 20px; width: 150px;">\n									<strong>Post to:</strong><br />\n									<scri'+'pt>function fbs_click() {u=location.href;t=document.title;window.open(\'http://www.facebook.com/sharer.php?u=\'+encodeURIComponent(u)+\'&t=\'+encodeURIComponent(t),\'sharer\',\'toolbar=0,status=0,width=626,height=436\');return false;}</scri'+'pt>\n									<a href="http://www.facebook.com/share.php?u=www.mediafire.com/?#QUICKKEY#" onclick="return fbs_click()" target="_blank"><img src="/images/v4images/icons/social/facebook_16.png" style="margin-bottom: -3px;" /> Facebook</a><br />\n									<a style="text-decoration: none;" target=\'_blank\' href="http://twitter.com/home?status=Check%20out%20this%20file%20http://mfi.re/?#QUICKKEY#"><img src="/images/v4images/icons/social/twitter_16.png" style="margin-bottom: -3px;" /> Twitter</a><br />\n									<a href="javascri'+'pt:GetThis(\'New File, #FILENAME_URL#\', \'#DESCRIPTION_URL#\', \'www.mediafire.com/?#QUICKKEY#\', 2)"><img src="/images/v4images/icons/social/myspace_16.png" style="margin-bottom: -3px;" /> MySpace</a> <br />\n									<a href="http://digg.com/submit?phase=2&url=www.mediafire.com/?#QUICKKEY#"><img src="/images/v4images/icons/social/digg_16.png" style="margin-bottom: -3px;" /> Digg</a><br />\n									<a style="text-decoration: none;" target=\'_blank\' href="http://www.stumbleupon.com/submit?url=www.mediafire.com/?#QUICKKEY#"><img src="/images/v4images/icons/social/stumbleupon_16.png" style="margin-bottom: -3px;" /> Stumble</a>\n									\n								</div>\n								</span>\n								<span style="#STYLE_PICTURE#">\n								<div style="line-height: 22px; width: 150px;">\n									<strong>Post to:</strong><br />\n									<scri'+'pt>function fbs_click() {u=location.href;t=document.title;window.open(\'http://www.facebook.com/sharer.php?u=\'+encodeURIComponent(u)+\'&t=\'+encodeURIComponent(t),\'sharer\',\'toolbar=0,status=0,width=626,height=436\');return false;}</scri'+'pt>\n									<a href="http://www.facebook.com/share.php?u=www.mediafire.com/i/?#QUICKKEY#" onclick="return fbs_click()" target="_blank"><img src="/images/v4images/icons/social/facebook_16.png" style="margin-bottom: -3px;" /> Facebook</a><br />\n									<a style="text-decoration: none;" target=\'_blank\' href="http://twitter.com/home?status=Check%20out%20this%20image%20mfi.re/i/?#QUICKKEY#"><img src="/images/v4images/icons/social/twitter_16.png" style="margin-bottom: -3px;" /> Twitter</a><br />\n									<a href="javascri'+'pt:GetThis(\'New Picture, #FILENAME_URL#\', \'#DESCRIPTION_URL#\', \'http://www.mediafire.com/i/?#QUICKKEY#\', 2)"><img src="/images/v4images/icons/social/myspace_16.png" style="margin-bottom: -3px;" /> MySpace</a><br />\n									<a href="http://digg.com/submit?phase=2&url=www.mediafire.com/i/?#QUICKKEY#"><img src="/images/v4images/icons/social/digg_16.png" style="margin-bottom: -3px;" /> Digg</a><br />\n									<a style="text-decoration: none;" target=\'_blank\' href="http://www.stumbleupon.com/submit?url=www.mediafire.com/i/?#QUICKKEY#"><img src="/images/v4images/icons/social/stumbleupon_16.png" style="margin-bottom: -3px;" /> Stumble</a>\n								</div>\n								</span>\n							</div>\n					</div>\n					<div id="descri'+'ption#RAND1#" class="seodescri'+'ption" style=" margin: 10px 0 10px 0; padding-left: 10px;">\n						<h2>#DESCRIPTION#</h2>\n					</div>\n					<div style="padding-left: 5px;">\n						<div id="tags#RAND1#" class="folder_actions main_layout_tag" style=" padding-left: 20px; line-height: 16px;">\n							#TAGS_DISP#\n						</div>\n						<span style="#STYLE_FILEONLY#">\n						<div class="folder_actions main_layout_calendar" style=" padding-left: 20px; line-height: 16px;">\n							Uploaded: #UPLOADDATE#\n						</div>\n						<div class="folder_actions main_layout_chart_pie" style=" padding-left: 20px; line-height: 16px;">\n							File Size: #FILESIZE#\n						</div>\n						</span>\n						<span style="#STYLE_EDITINFO#">\n						<div class="folder_actions" style="margin-top: 15px;">\n							<a href="#" onClick="P7_swapClass(1,\'edit_picture#RAND1#\',\'edit_picture#RAND1#\',\'hide\',\'div\'); return false" style=" font-weight: bold; font-size: 11px;">Edit descri'+'ption and tags</a>\n						</div>\n						</span> <span id="goonhide3333" style="#STYLE_HIDENONMYFILES#">\n						<div style="width: 281px; margin: 10px 0 0 -5px; line-height: 18px;">\n							<div>\n								<b class="nogfx_lightblue"> <b class="nogfx_lightblue1"><b></b></b> <b class="nogfx_lightblue2"><b></b></b> <b class="nogfx_lightblue3"></b> <b class="nogfx_lightblue4"></b> <b class="nogfx_lightblue5"></b></b>\n								<div class="nogfx_lightbluefg" style="padding: 5px 10px;">\n									<span style="#STYLE_NOTPICTURE#">\n									<div style="font-weight: bold; font-size: 12px; color: #505050;">\n										<a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_weblink_#RAND1#25\',\'uploaded_button_#RAND1#25\'); return false;"><div id="uploaded_button_#RAND1#25" class="my_files_copy_button_small" style="width: 80px; height: 14px; float: right;"></div></a> Sharing URL\n									</div>\n									<input name="uploaded_weblink_#RAND1#25" id="uploaded_weblink_#RAND1#25" type="text" class="uploaded_code" style=" width:249px;" readonly="readonly" onclick="this.focus();this.select()" value="http://www.mediafire.com/?#QUICKKEY#" />\n									</span>\n									\n									<span style="#STYLE_PICTURE#">\n									<div style="font-weight: bold; font-size: 12px; color: #505050;">\n										<a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_weblink_#RAND1#26\',\'uploaded_button_#RAND1#26\'); return false;"><div id="uploaded_button_#RAND1#26" class="my_files_copy_button_small" style="width: 80px; height: 14px; float: right;"></div></a>Image Page URL\n									</div>\n									<input name="uploaded_weblink_#RAND1#26" id="uploaded_weblink_#RAND1#26" type="text" class="uploaded_code" style=" width:249px;" readonly="readonly" onclick="this.focus();this.select()" value="http://www.mediafire.com/imageview.php?quickkey=#QUICKKEY#" />\n									<div style="font-weight: bold; font-size: 12px; color: #505050;">\n										<a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_weblink_#RAND1#27\',\'uploaded_button_#RAND1#27\'); return false;"><div id="uploaded_button_#RAND1#27" class="my_files_copy_button_small" style="width: 80px; height: 14px; float: right;"></div></a>HTML Embed Code\n									</div>\n									<input name="uploaded_weblink_#RAND1#27" id="uploaded_weblink_#RAND1#27" type="text" class="uploaded_code" style=" width:249px;" readonly="readonly" onclick="this.focus();this.select()" value="&lt;a href=&quot;http://www.mediafire.com/imageview.php?quickkey=#QUICKKEY#&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://www.mediafire.com/imgbnc.php/#IMGKEY#2g.jpg&quot; border=&quot;0&quot; alt=&quot;Unlimited Free Image and File Hosting at MediaFire&quot;&gt;&lt;/a&gt;" />\n									</span>\n									<span style="#STYLE_FILEONLY#">\n									<div style="font-weight: bold; font-size: 12px; color: #505050;">\n										<a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_weblink_#RAND1#28\',\'uploaded_button_#RAND1#28\'); return false;"><div id="uploaded_button_#RAND1#28" class="my_files_copy_button_small" style="width: 80px; height: 14px; float: right;"></div></a> Sharing URL with File Name\n									</div>\n									<input name="uploaded_weblink_#RAND1#28" id="uploaded_weblink_#RAND1#28" type="text" class="uploaded_code" style=" width:249px;" readonly="readonly" onclick="this.focus();this.select()" value="http://www.mediafire.com/file/#QUICKKEY#/#FILENAME#" />\n									</span>\n									<div style="text-align:center; font-size: 10px; ">\n										<a href="#" style="font-weight:bold;" OnClick="ae(\'sharetabsfile#FILENUM#-\',4); ad(3,document.getElementById(\'sharetemplatefile#FILENUM#\'),\'#FILENUM#\',\'sharedtabsfileinfo#FILENUM#-\'); return false;">click &quot;Embed in Website&quot; tab  for more options </a>\n									</div>\n								</div>\n								<b class="nogfx_lightblue"> <b class="nogfx_lightblue5"></b> <b class="nogfx_lightblue4"></b> <b class="nogfx_lightblue3"></b> <b class="nogfx_lightblue2"><b></b></b> <b class="nogfx_lightblue1"><b></b></b></b>\n							</div>\n						</div>\n						</span>\n					</div>\n				</div>\n				<span style="#STYLE_EDITINFO#">\n				<div id="edit_picture#RAND1#" class="hide">\n					<form action="dynamic/dofileoptions.php?r=#RAND1#" target="iframe_sharework#RAND1#" method="POST" id="form_todoform#RAND1#" name="form_todoform#RAND1#" style="margin: 0px;">\n						<input name="todotype" type="hidden" value="1">\n						<input name="todoquickkey" type="hidden" value="#QUICKKEY#">\n						<input name="todofilename" type="hidden" value="#FILENAME#">\n						<div class="folder_actions">\n							<div class="code_header">\n								Add a descri'+'ption for this <span style="#STYLE_PICTURE#">image:</span><span style="#STYLE_NOTPICTURE#">file:</span><br />\n								<span class="small"><span id="lengthtext_DESC_#RAND1#" style="display: none;" >You have <span id="lengthnum_DESC_#RAND1#"></span>&nbsp;characters left.</span></span>\n							</div>\n							<input  name="desc" id="newdescri'+'ption#RAND1#" type="text" value="#DESCRIPTION_ORIG#" class="search_textarea" style=" width: 350px; padding: 7px;" maxlength="200" OnKeyUp="document.getElementById(\'lengthtext_DESC_#RAND1#\').style.display = \'block\'; limitText(this,document.getElementById(\'lengthnum_DESC_#RAND1#\'),200,0); return true;" OnChange="document.getElementById(\'lengthtext_DESC_#RAND1#\').style.display = \'block\'; limitText(this,document.getElementById(\'lengthnum_DESC_#RAND1#\'),200,0); return true;" />\n							<div class="code_header">\n								Tag this <span style="#STYLE_PICTURE#">image:</span><span style="#STYLE_NOTPICTURE#">file:</span><br />\n								<span class="small"><span id="lengthtext_TAGS_#RAND1#" style="display: none;" >You have <span id="lengthnum_TAGS_#RAND1#"></span>&nbsp;characters left.</span></span>\n							</div>\n							<input name="tags" id="newtags#RAND1#" type="text" value="#TAGS#" class="search_textarea" style=" width: 350px; padding: 7px;" maxlength="100" OnKeyUp="document.getElementById(\'lengthtext_TAGS_#RAND1#\').style.display = \'block\'; limitText(this,document.getElementById(\'lengthnum_TAGS_#RAND1#\'),100,0); return true;" OnChange="document.getElementById(\'lengthtext_TAGS_#RAND1#\').style.display = \'block\'; limitText(this,document.getElementById(\'lengthnum_TAGS_#RAND1#\'),100,0); return true;" />\n							<div class="code_header" style="margin-top: 15px;">\n								<input name="button" type="button" value="Save file info" onClick="SharingPushDesc(\'#FILENUM#\',document.getElementById(\'newdescri'+'ption#RAND1#\').value,document.getElementById(\'newtags#RAND1#\').value); P7_swapClass(1,\'edit_picture#RAND1#\',\'edit_picture#RAND1#\',\'hide\',\'div\'); document.getElementById(\'descri'+'ption#RAND1#\').innerHTML = document.getElementById(\'newdescri'+'ption#RAND1#\').value; document.getElementById(\'tags#RAND1#\').innerHTML = document.getElementById(\'newtags#RAND1#\').value; document.getElementById(\'form_todoform#RAND1#\').submit(); return false;" class="button1"/>\n								&nbsp; or <a href="#" onClick="ab(1,\'edit_picture#RAND1#\',\'edit_picture#RAND1#\',\'hide\',\'div\'); return false" style=" color: #FF0000">Cancel</a>\n							</div>\n						</div>\n					</form>\n				</div>\n				</span>\n			</td>\n		</tr>\n	</table>\n</div>\n<iframe scrolling="no" name="iframe_sharework#RAND1#" id="iframe_sharework#RAND1#" frameborder="0" src="" style="display: none;" width="0" height="0"></iframe>\n\n';hU[1]='<div style="padding: 5px;">\n					  \n					  <table border="0" cellpadding="0" cellspacing="0" width="100%">\n                          <tr>\n                            <td>\n					  \n                      <div style="padding: 5px; background: #ECFBFF; color: #555; font-weight: bold; border: 1px #BBE9FF solid;">Send this item by entering your friend\'s Email address(es) below:</div>\n                      <div style="padding: 5px;">\n							<span style="#STYLE_PICTUREBOX#">\n							<div style="float:right; border-left: 5px #fff solid; padding: 0px 0; width: 211px;">\n							<span style="#STYLE_PICTURE#">\n							<div style="text-align:center">\n							<a href="/imageview.php?quickkey=#QUICKKEY#&thumb=5" class="medium_thumbnail" target="_blank"> <img src="http#SSL#://www#URLKEY#.mediafire.com/imgbnc.php?#IMGKEY#2g.jpg" border="0"/></a>\n							</div>\n							</span> \n							</div>\n						 	</span>\n					  \n					  \n\n\n\n							<form class="share_email_form#FILENUM#" action="dynamic/emailfile.php?r=#RAND1#" target="emailwork" method="POST" style="margin-top: 0">\n                            <div class="share_email_header" style="font-size: 14px">1. Your email address:</div>\n                            <input name="email_from_#FILENUM#" id="email_from_#FILENUM#" value="#EMAILADDY#" type="text" class="search_textarea" style="width: 370px;" onFocus="this.style.background=\'#ffc\';" onBlur="this.style.background=\'#fff url(/images/textbox_graybg.gif) repeat-x\';"/>\n                            <input name="span" id="span" type="hidden" value="#FILENUM#" />\n                            <input name="email_qk_#FILENUM#" id="email_qk_#FILENUM#" type="hidden" value="#QUICKKEY#" />\n                            <input name="email_filename_#FILENUM#" id="email_filename_#FILENUM#" type="hidden" value="#FILENAME#" />\n                            <div class="share_email_header" style="font-size: 14px">2. Recipient\'s email address(es): &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="#" onclick="sPlaxoInsert = \'email_to_#FILENUM#\';showPlaxoABChooser(\'email_to_#FILENUM#\', \'/plaxo/plaxo_cb.html\'); return false"><img src="http#SSL#://www.plaxo.com/images/abc/buttons/add_button.gif" alt="Add from my address book"border="0"/></a><br />\n                              <span class="share_email_form#FILENUM#" style="margin-top: 0">\n                              <textarea rows="2" name="email_to_#FILENUM#" id="email_to_#FILENUM#" class="search_textarea" style="width: 370px;" onFocus="this.style.background=\'#ffc\';" onBlur="this.style.background=\'#fff url(/images/textbox_graybg.gif) repeat-x\';"></textarea>\n                              </span></div>\n                            <span class="small">(separate multiple entries with commas)</span><br />\n                            \n							<'+'!-- SAVED FOR LATER \n							<div class="share_email_header" style="font-size: 14px">3. Message to Recipient (optional): <br />\n                              <span class="share_email_form#FILENUM#" style="margin-top: 0">\n                              <textarea rows="5" name="textarea" id="textarea" class="search_textarea" style="width: 400px;"></textarea>\n                              </span></div>\n                            <span class="small">500 characters max (250 remaining)</span>\n							--'+'>\n							\n							<div style="color: #999; font-size: 11px; margin: 10px 0;">We respect your privacy and will not spam, sell, or share any email address.</div>\n                            \n                            <input type="submit" name="submit_email_#FILENUM#" value="Send Link" class="button1"/>\n                          </form>\n						  \n						  \n						  \n				  	   </div>\n					   </td>\n					   </tr>\n					   </table>\n					   \n\n				      </div>\n\n					   \n				      </div>\n\n\n';hU[2]='<div style="padding: 5px;">\n					  \n					  <table border="0" cellpadding="0" cellspacing="0" width="100%">\n                          <tr>\n                            <td>\n					  \n                      <div style="padding: 5px; background: #ECFBFF; color: #555; font-weight: bold; border: 1px #BBE9FF solid;">Share this item by Instant Messenger by copying and pasting the URL below:</div>\n                      <div style="padding: 5px;">\n					  \n	\n							<span style="#STYLE_PICTUREBOX#">\n							<div style="float:right; border-left: 5px #fff solid; padding: 0px 0; width: 211px;">\n							<span style="#STYLE_PICTURE#">\n							<div style="text-align:center">\n							<a href="/imageview.php?quickkey=#QUICKKEY#&thumb=5" class="medium_thumbnail" target="_blank"> <img src="http#SSL#://www#URLKEY#.mediafire.com/imgbnc.php?#IMGKEY#2g.jpg" border="0"/></a>\n							</div>\n							</span> \n							</div>\n						 	</span>			  \n					  \n					  \n							<form id="form1" name="form1" method="post" action="" class="form">\n							<div class="share_email_header" style="font-size: 14px; margin-bottom: 5px;">Sharing URL</div>\n							<div class="code_container" style="width: 370px; margin: 5px 0; padding-left: 0;">\n							\n							<span style="#STYLE_NOTPICTURE#">\n							<a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_weblink_#RAND1#29\',\'uploaded_button_#RAND1#29\'); return false;"><img id=\'uploaded_button_#RAND1#29\' src="/images/copy_button.gif" border="0" align="right" style="margin-left: 5px;" /></a><a href="/?#QUICKKEY#" target="_blank"><img src="/images/view_button.gif" border="0" align="right" /></a>\n							<input name="uploaded_weblink_#RAND1#29" id="uploaded_weblink_#RAND1#29" type="text" class="uploaded_code" style=" width:167px;" readonly="readonly" onclick="this.focus();this.select()" value="http://www.mediafire.com/?#QUICKKEY#" />\n							</span>\n							\n							<span style="#STYLE_PICTURE#">\n							<a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_weblink_#RAND1#30\',\'uploaded_button_#RAND1#30\'); return false;"><img id=\'uploaded_button_#RAND1#30\' src="/images/copy_button.gif" border="0" align="right" style="margin-left: 5px;" /></a><a href="http://www.mediafire.com/imageview.php?quickkey=#QUICKKEY#&thumb=5" target="_blank"><img src="/images/view_button.gif" border="0" align="right" /></a>\n							<input name="uploaded_weblink_#RAND1#30" id="uploaded_weblink_#RAND1#30" type="text" class="uploaded_code" style=" width:167px;" readonly="readonly" onclick="this.focus();this.select()" value="http://www.mediafire.com/imageview.php?quickkey=#QUICKKEY#&thumb=5" />\n							</span>\n							   \n				      </div>\n							</form>\n							\n							</div></td>\n					   </tr>\n					   </table>\n					   \n\n				      </div>\n\n					\n\n';hU[3]='<div id="post-to-website" style="padding: 5px;">\n					  \n					  <table border="0" cellpadding="0" cellspacing="0" width="100%">\n                          <tr>\n                            <td>\n\n\n					  <div style="padding: 5px; background: #ECFBFF; color: #555; font-weight: bold; border: 1px #BBE9FF solid;">Share this item on your MySpace page, Blog, Website, or Forums: </div>\n                      <div style="padding: 5px;">							\n\n<span style="#STYLE_NOTPICTURE#">\n<'+'!-- IF NOT AN IMAGE --'+'>\n							\n					  <div style=" text-align: left; width: 33px; ">\n					    <div class="code_container" style="width: 360px;">\n							<form id="form1" name="form1" method="post" action="" class="form">\n							  <div class="code_header">HTML Embed Code (MySpace, Blogs, etc.) </div>\n							  <a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_html_#RAND1#33\',\'uploaded_button_#RAND1#33\'); return false;" ><img id=\'uploaded_button_#RAND1#33\' src="/images/copy_button.gif" border="0" align="right" /></a>\n							  <input name="uploaded_html_#RAND1#33" id="uploaded_html_#RAND1#33" type="text" class="uploaded_code" style=" width:250px;" readonly onclick="this.focus();this.select()" value="&lt;a href=\'http://www.mediafire.com/?#QUICKKEY#\'&gt;http://www.mediafire.com/?#QUICKKEY#&lt;/a&gt;" />\n							  <div class="code_header">Forum Embed Code (vBulletin, phpBB, etc.) </div>\n							  <a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_bbs_#RAND1#34\',\'uploaded_button_#RAND1#34\'); return false;" > <img id=\'uploaded_button_#RAND1#34\' src="/images/copy_button.gif" border="0" align="right" /></a>\n							  <input name="uploaded_bbs_#RAND1#34" id="uploaded_bbs_#RAND1#34" type="text" class="uploaded_code" style=" width:250px;" readonly onclick="this.focus();this.select()" value="[URL]http://www.mediafire.com/?#QUICKKEY#[/URL]" />\n							</form>\n						  </div>\n					  </div>\n					  \n<'+'!-- END IF NOT AN IMAGE --'+'>\n</span>\n\n<span style="#STYLE_PICTURE#">\n<'+'!-- IF AN IMAGE --'+'>					  \n\n						<span style="#STYLE_PICTUREBOX#">\n							<div style="float:right; border-left: 5px #fff solid; padding: 0px 0; width: 211px;">\n							<span style="#STYLE_PICTURE#">\n							<div style="text-align:center">\n							<a href="/imageview.php?quickkey=#QUICKKEY#&thumb=5" class="medium_thumbnail" target="_blank"> <img src="http#SSL#://www#URLKEY#.mediafire.com/imgbnc.php?#IMGKEY#2g.jpg" border="0"/></a>\n							</div>\n							</span> \n							</div>\n						 	</span>\n					  <div style=" width: 385px;">\n				\n			\n						<div style="padding-left:13px; padding-bottom:13px;">\n						<div class="share_email_header" style="font-size: 14px; margin-bottom: 10px;">1. Choose a size to embed:</div>\n							<div style="padding-left: 15px;">\n							<select name="imagesizecode" id="imagesizecode" OnChange="SetImageLink(this.value,\'#RAND1#\',\'#IMGKEY#\',\'#QUICKKEY#\'); SwapPreviewImage(this.value,\'#IMGKEY#\'); return false;">\n								<option value="0" >32x32 (icon)</option>\n								<option value="1" >107x80 (small thumbnail)</option>\n								<option value="2" >191x143 (large thumbnail)</option>\n								<option value="3" >335x251 (huge thumbnail)</option>\n								<option value="4" selected>515x385 (for MySpace or Forums)</option>\n								<option value="5" >800x600 (15-inch monitor)</option>\n								<option value="6" >1024x768 (17-inch monitor)</option>\n							</select>\n							</div>\n							<div style="padding-left: 15px; padding-top: 5px;"><span class="small">thumbnails will not display larger than the original image</span></div>\n							</div>\n									\n								\n						<div style=" background: #f1f1f1; border: 3px #eee dashed; padding: 10px;" >\n						 \n						 	<div class="share_email_header" style="font-size: 14px; margin-bottom: 10px;">2. Select the type of embed code:</div>\n							<div style="padding-left: 15px;">\n								<div class="code_header">HTML Embed Code (MySpace, Blogs, etc.) </div>\n								<a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_html_#RAND1#41\',\'uploaded_button_#RAND1#41\'); return false;" ><img id=\'uploaded_button_#RAND1#41\' src="/images/copy_button.gif" border="0" align="right" /></a>\n								<input name="uploaded_html_#RAND1#41" id="uploaded_html_#RAND1#41" type="text" class="uploaded_code" style=" width:230px;" readonly onclick="this.focus();this.select()" value="&lt;a href=&quot;http://www.mediafire.com/imageview.php?quickkey=#QUICKKEY#&thumb=5&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://www.mediafire.com/imgbnc.php/#IMGKEY#4g.jpg&quot; border=&quot;0&quot; alt=&quot;Unlimited Free Image and File Hosting at MediaFire&quot;&gt;&lt;/a&gt;" />\n								<div class="code_header">Forum Embed Code (vBulletin, phpBB, etc.) </div>\n								<a href="#" OnMouseOut="ClipBoardDone(); return false;" OnMouseOver="ClipBoard(\'uploaded_bbs_#RAND1#42\',\'uploaded_button_#RAND1#42\'); return false;" ><img id=\'uploaded_button_#RAND1#42\' src="/images/copy_button.gif" border="0" align="right" /></a>\n								<input name="uploaded_bbs_#RAND1#42" id="uploaded_bbs_#RAND1#42" type="text" class="uploaded_code" style=" width:230px;" readonly onclick="this.focus();this.select()" value="[URL=http://www.mediafire.com/imageview.php?quickkey=#QUICKKEY#&thumb=5][IMG]http://www.mediafire.com/imgbnc.php/#IMGKEY#2g.jpg[/IMG][/URL]" />\n						 	</div>\n						 </div>\n					    </div>\n				  	   </div>\n					    </td>\n					   </tr>\n  </table>\n					   \n				      </div>\n</span>\n\n					   \n				      </div>\n';var hx=0;if(hx<0)alert("ERROR Loading Data, please reload this page!");var fS=0;var mk=0;var nF=0;var oG='';var oN='';var ov=10;var nb=10;function dk(){var ah;var currentTime=new Date();var month=currentTime.getMonth()+1;var day=currentTime.getDate();var year=currentTime.getFullYear();var hc='';var gP='';if(month<10)hc='0'+month;else hc=''+month;if(day<10)gP='0'+day;else gP=''+day;if((ah=document.getElementById('input_time_end')))ah.value=year+'-'+hc+'-'+gP;currentTime.setDate(currentTime.getDate()-7);month=currentTime.getMonth()+1;day=currentTime.getDate();year=currentTime.getFullYear();if(month<10)hc='0'+month;else hc=''+month;if(day<10)gP='0'+day;else gP=''+day;if((ah=document.getElementById('input_time_start')))ah.value=year+'-'+hc+'-'+gP;Calendar.setup({inputField:"input_time_end",ifFormat:"%Y-%m-%d",button:"input_time_end_trigger",weekNumbers:false,iy:bV});Calendar.setup({inputField:"input_time_start",ifFormat:"%Y-%m-%d",button:"input_time_start_trigger",weekNumbers:false,iy:bD});};function bM(){var eh=0;for(eh=2;eh<nb;eh++){nd('report_contents'+eh);DoHide('report_contents'+eh);}};function dj(kz,ij){var gz=document.getElementById(kz);if(gz){if(ij!=1)gz.innerHTML='';DoShow(kz);}if(!ij){DoAPopup('report_loading_popup',453,332);bf();document.getElementById('customize_report_form').submit();}else{var ah=document.getElementById('statswork');if(ah){if(ah.location)ah.location=ij;else ah.src=ij;}}};function bD(){var hD=document.getElementById('input_time_start');var hA=document.getElementById('time_start');if(hD&&hA){hA.value=hD.value+'';}};function bV(){var hD=document.getElementById('input_time_end');var hA=document.getElementById('time_end');if(hD&&hA){hA.value=hD.value+'';}};function ao(hg){var ah=document.getElementById('stats_status_message');if(ah){ah.className='show';ah.innerHTML=hg;if(document.getElementById('pagename')&&document.getElementById('pagename').value=='myfiles')aa(0,hg);}else aa(0,hg);};function bd(){var ah=document.getElementById('stats_status_message');if(ah){ah.className='hide';ah.innerHTML='';}};function aO(fV){var i=0;var ah;for(eh=1;document.getElementById('report_type_display_'+eh);eh++){ah=document.getElementById('report_type_display_'+eh);if(eh==fV){ah.className='report_option_highlighted';}else{ah.className='report_option';}}ah=document.getElementById('report_type_preview_image');if(ah)ah.src='/images/bg/stats/'+fV+'_preview.png';ah=document.getElementById('country');ah=document.getElementById('query_type');if(ah)ah.value=fV;fS=fV;bx(fS);ah=document.getElementById('form_bandwidth_filter');if(ah)if(fS==3)ah.className='hide';else ah.className='show';ah=document.getElementById('form_downloads_filter');if(ah)if(fS==3)ah.className='hide';else ah.className='show';ah=document.getElementById('form_bandwidth_filter_fields');if(ah)if(fS==3)ah.className='hide';else ah.className='show';ah=document.getElementById('form_downloads_filter_fields');if(ah)if(fS==3)ah.className='hide';else ah.className='show';};function aI(fV){ah=document.getElementById('report_type_preview_image');if(ah){if(fV!=mk)ah.src='/images/bg/stats/'+fV+'_preview.png';}mk=fV;};function aR(ja){var i=0;var ah;for(eh=1;document.getElementById('report_type_time_'+eh);eh++){ah=document.getElementById('report_type_time_'+eh);if(eh==ja){ah.className='time_option_highlighted';}else{ah.className='time_option';}}ah=document.getElementById('date_range');if(ah){if(ja==4){ah.className='show';}else{ah.className='hide';}}ah=document.getElementById('country');ah=document.getElementById('time_fixed');if(ah)ah.value=ja;nF=ja;};function ea(kI,nU,lJ,mz,kS,kM,mZ){if(!mZ){var chart=new FusionCharts(kI,nU,lJ,mz,"0","0");chart.setTransparent();chart.setDataURL(escape(kS));chart.render(kM);}else{var map=new FusionMaps(kI,"MapID",lJ,mz,"0","0");map.setTransparent();map.setDataURL(escape(kS));map.render(kM);}};function cz(kG){var ah=document.getElementById('country');var eh=0;var eq=false;if(ah&&hi){if(au(ah))at(ah);if(kG)eq=true;else eq=false;kP(ah,'Any','',eq);kP(ah,'United States','US',eq);hi.multiSort(1);for(eh=2;hi[eh];eh++){eq=false;if(hi[eh][1]==kG)eq=true;kP(ah,hi[eh][0],hi[eh][1],eq);}}else return false;return;};function cC(mx){var ah=document.getElementById('region');var eh=0;var eq=false;if(ah&&ht){if(au(ah))at(ah);if(mx)eq=true;else eq=false;kP(ah,'Any','',eq);for(eh=0;ht[eh];eh++){eq=false;if(ht[eh][1]==mx)eq=true;kP(ah,ht[eh][2],ht[eh][1],eq);}}else return false;return;};function qo(hl,fc,iV){var ah;var eq=false;ah=document.getElementById('bandwidth_type');if(ah){if(au(ah))at(ah);if(1==hl)eq=true;kP(ah,'Greater Than',1,eq);eq=false;if(2==hl)eq=true;kP(ah,'Less Than',2,eq);}eq=false;ah=document.getElementById('bandwidth_amount');if(ah){if(fc>0)ah.value=fc;else ah.value='';}eq=false;ah=document.getElementById('bandwidth_multi');if(ah){if(au(ah))at(ah);if(1==iV)eq=true;kP(ah,'B',1,eq);eq=false;if(2==iV)eq=true;kP(ah,'KB',2,eq);eq=false;if(3==iV)eq=true;kP(ah,'MB',3,eq);eq=false;if(4==iV)eq=true;kP(ah,'GB',4,eq);}eq=false;return;};function cy(lO,iS,lC,iU){var ah;var eq=false;ah=document.getElementById('filesize_min_amount');if(ah){if(lO>0)ah.value=lO;else ah.value='';}ah=document.getElementById('filesize_min_multi');if(ah){if(au(ah))at(ah);if(1==iS)eq=true;kP(ah,'B',1,eq);eq=false;if(2==iS)eq=true;kP(ah,'KB',2,eq);eq=false;if(3==iS)eq=true;kP(ah,'MB',3,eq);eq=false;if(4==iS)eq=true;kP(ah,'GB',4,eq);}eq=false;ah=document.getElementById('filesize_max_amount');if(ah){if(lC>0)ah.value=lC;else ah.value='';}ah=document.getElementById('filesize_max_multi');if(ah){if(au(ah))at(ah);if(1==iU)eq=true;kP(ah,'B',1,eq);eq=false;if(2==iU)eq=true;kP(ah,'KB',2,eq);eq=false;if(3==iU)eq=true;kP(ah,'MB',3,eq);eq=false;if(4==iU)eq=true;kP(ah,'GB',4,eq);}eq=false;return;};function bz(mr){ah=document.getElementById('fileext');if(ah){if(mr)ah.value=mr;else ah.value='';}else return false;return;};function cA(hl,fc){var ah;var eq=false;ah=document.getElementById('download_type');if(ah){if(au(ah))at(ah);if(1==hl)eq=true;kP(ah,'Greater Than',1,eq);eq=false;if(2==hl)eq=true;kP(ah,'Less Than',2,eq);}eq=false;ah=document.getElementById('download_amount');if(ah){if(fc>0)ah.value=fc;else ah.value='';}eq=false;return;};function bx(fV,fk,mh){var ah;var eq=false;ah=document.getElementById('sort_dir');if(ah){if(au(ah))at(ah);if(1==mh)eq=true;kP(ah,'Descending',1,eq);eq=false;if(2==mh)eq=true;kP(ah,'Ascending',2,eq);eq=false;}ah=document.getElementById('sort_field');if(ah){if(au(ah))at(ah);switch(fV){case '1':case 1:eq=false;if(1==fk)eq=true;kP(ah,'Downloaders',1,eq);eq=false;if(2==fk)eq=true;kP(ah,'Bandwidth',2,eq);eq=false;if(3==fk)eq=true;kP(ah,'Transfers',3,eq);eq=false;if(4==fk)eq=true;kP(ah,'File Name',4,eq);eq=false;break;if(5==fk)eq=true;kP(ah,'File Size',5,eq);eq=false;break;case '2':case 2:eq=false;if(1==fk)eq=true;kP(ah,'Downloaders',1,eq);eq=false;if(2==fk)eq=true;kP(ah,'Bandwidth',2,eq);eq=false;if(3==fk)eq=true;kP(ah,'Avg. File Size',3,eq);eq=false;if(4==fk)eq=true;kP(ah,'Country',4,eq);eq=false;break;case '3':case 3:eq=false;if(1==fk)eq=true;kP(ah,'Hits',1,eq);eq=false;if(2==fk)eq=true;kP(ah,'Avg. File Size',3,eq);eq=false;if(3==fk)eq=true;kP(ah,'Domain',4,eq);eq=false;break;case '4':case 4:eq=false;if(1==fk)eq=true;kP(ah,'Downloaders',1,eq);eq=false;if(2==fk)eq=true;kP(ah,'Bandwidth',2,eq);eq=false;if(3==fk)eq=true;kP(ah,'Avg. File Size',3,eq);eq=false;if(4==fk)eq=true;kP(ah,'File Type',4,eq);eq=false;break;default:return false;break;}}return;};function cB(fc){var ah;var eq=false;ah=document.getElementById('num_rows');if(ah){if(!(fc>0))fc=10;if(au(ah))at(ah);if(10==fc)eq=true;kP(ah,'10',10,eq);eq=false;if(20==fc)eq=true;kP(ah,'20',20,eq);eq=false;if(35==fc)eq=true;kP(ah,'35',35,eq);eq=false;if(50==fc)eq=true;kP(ah,'50',50,eq);}return;};function cg(){cz();cC();qo();cy();cA();cB();bx(fS);bz();};function dB(){var kB=document.getElementById('save_report_name');if(kB){kB.value='';DoShow('save_report_form');DoHide('save_report_busy');DoAPopup('save_stats_popup',500,500);}};function dY(){var jI=document.getElementById('saved_reports_list');var eY=document.getElementById('statswork');var ez='';if(jI&&eY){if(au(jI))at(jI);DoHide('load_report_form');DoShow('load_report_busy');DoAPopup('load_stats_popup',500,500);ez='/dynamic/statistics.php?doviaget=1&report_list=1';if(eY.location)eY.location=ez;else eY.src=ez;}};function dJ(kb){var eY=document.getElementById('statswork');var ez='';if(eY){DoHide('load_report_form');DoShow('load_report_busy');ez='/dynamic/statistics.php?doviaget=1&load_report='+kb;if(eY.location)eY.location=ez;else eY.src=ez;}return false;};function dK(kb){var eY=document.getElementById('statswork');var ez='';if(eY){DoHide('load_report_form');DoShow('load_report_busy');ez='/dynamic/statistics.php?doviaget=1&delete_report='+kb;if(eY.location)eY.location=ez;else eY.src=ez;}return false;};function dr(){var fI=document.getElementById('save_report_name');var eY=document.getElementById('statswork');var ez='';var ah;if(fI&&eY){if(fI.value.length>=1&&fI.value.length<=60){DoHide('save_report_form');DoShow('save_report_busy');ez='/dynamic/statistics.php?doviaget=1&save_report=1&report_name='+escape(fI.value);if((ah=document.getElementById('query_type'))&&ah.value){ez+='&'+'query_type='+escape(ah.value);}if((ah=document.getElementById('time_fixed'))&&ah.value){ez+='&'+'time_fixed='+escape(ah.value);}if((ah=document.getElementById('time_start'))&&ah.value){ez+='&'+'time_start='+escape(ah.value);}if((ah=document.getElementById('time_end'))&&ah.value){ez+='&'+'time_end='+escape(ah.value);}if((ah=document.getElementById('country'))&&ah.value){ez+='&'+'country='+escape(ah.value);}if((ah=document.getElementById('region'))&&ah.value){ez+='&'+'region='+escape(ah.value);}if((ah=document.getElementById('filesize_min_amount'))&&ah.value){ez+='&'+'filesize_min_amount='+escape(ah.value);}if((ah=document.getElementById('filesize_max_amount'))&&ah.value){ez+='&'+'filesize_max_amount='+escape(ah.value);}if((ah=document.getElementById('filesize_min_multi'))&&ah.value){ez+='&'+'filesize_min_multi='+escape(ah.value);}if((ah=document.getElementById('filesize_max_multi'))&&ah.value){ez+='&'+'filesize_max_multi='+escape(ah.value);}if((ah=document.getElementById('sort_field'))&&ah.value){ez+='&'+'sort_field='+escape(ah.value);}if((ah=document.getElementById('sort_dir'))&&ah.value){ez+='&'+'sort_dir='+escape(ah.value);}if((ah=document.getElementById('fileext'))&&ah.value){ez+='&'+'fileext='+escape(ah.value);}if((ah=document.getElementById('bandwidth_type'))&&ah.value){ez+='&'+'bandwidth_type='+escape(ah.value);}if((ah=document.getElementById('bandwidth_amount'))&&ah.value){ez+='&'+'bandwidth_amount='+escape(ah.value);}if((ah=document.getElementById('bandwidth_multi'))&&ah.value){ez+='&'+'bandwidth_multi='+escape(ah.value);}if((ah=document.getElementById('download_type'))&&ah.value){ez+='&'+'download_type='+escape(ah.value);}if((ah=document.getElementById('download_amount'))&&ah.value){ez+='&'+'download_amount='+escape(ah.value);}if(eY.location)eY.location=ez;else eY.src=ez;}else{aa(0,"Enter a report name before saving the report.");}}else{aa(0,"Unable to save report, malformed HTML.");}}var imagePath="/images/tooltips/tooltiparrow.gif";function addwarning(){var thealinks=document.getElementsByTagName("a");if(!thealinks){return;}for(var x=0;x!=thealinks.length;x++){if(thealinks[x].className=="addToolTip"){thealinks[x].setAttribute("tooltiptext",thealinks[x].title);thealinks[x].removeAttribute("title");thealinks[x].onmouseover=function ed(){eb(this.getAttribute("tooltiptext"))};thealinks[x].onmouseout=function ec(){di();};}}};var offsetfromcursorX= -7;var offsetfromcursorY=23;var offsetdivfrompointerX=13;var offsetdivfrompointerY=13;document.write('<div id="theToolTip"></div>');document.write('<img id="ToolTipPointer" src="'+imagePath+'">');var ie=document.all;var ns6=document.getElementById&& !document.all;var enabletip=false;if(ie||ns6){var tipobj=document.all?document.all["theToolTip"]:document.getElementById?document.getElementById("theToolTip"):"";}var pointerobj=document.all?document.all["ToolTipPointer"]:document.getElementById?document.getElementById("ToolTipPointer"):"";function ietruebody(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body;};function eb(thetext,thewidth,thecolor){if(ns6||ie){if(typeof thewidth!=="undefined"){tipobj.style.width=thewidth+"px";}if(typeof thecolor!=="undefined"&&thecolor!==""){tipobj.style.backgroundColor=thecolor;}tipobj.innerHTML=thetext;enabletip=true;return false;}};function positiontip(e){if(enabletip){var nondefaultpos=false;var curX=(ns6)?e.pageX:event.clientX+ietruebody().scrollLeft;var curY=(ns6)?e.pageY:event.clientY+ietruebody().scrollTop;var winwidth=ie&& !window.opera?ietruebody().clientWidth:window.innerWidth-20;var winheight=ie&& !window.opera?ietruebody().clientHeight:window.innerHeight-20;var rightedge=ie&& !window.opera?winwidth-event.clientX-offsetfromcursorX:winwidth-e.clientX-offsetfromcursorX;var bottomedge=ie&& !window.opera?winheight-event.clientY-offsetfromcursorY:winheight-e.clientY-offsetfromcursorY;var leftedge=(offsetfromcursorX<0)?offsetfromcursorX*(-1): -1000;if(rightedge<tipobj.offsetWidth){tipobj.style.left=curX-tipobj.offsetWidth+"px";nondefaultpos=true;}else if(curX<leftedge){tipobj.style.left="5px";}else{tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px";pointerobj.style.left=curX+offsetfromcursorX+"px";}if(bottomedge<tipobj.offsetHeight){tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px";nondefaultpos=true;}else{tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px";pointerobj.style.top=curY+offsetfromcursorY+"px";}tipobj.style.visibility="visible";if(!nondefaultpos){pointerobj.style.visibility="visible";}else{pointerobj.style.visibility="hidden";}}};function di(){if(ns6||ie){enabletip=false;tipobj.style.visibility="hidden";pointerobj.style.visibility="hidden";tipobj.style.left="-1000px";tipobj.style.backgroundColor='';tipobj.style.width='';}};function df(){document.onmousemove=positiontip;addwarning();return;}function ee(){title="MediaFire - File Hosting Made Simple";url="http://www.mediafire.com";if(window.sidebar){window.sidebar.addPanel(title,url,"");}else if(window.external){window.external.AddFavorite(url,title);}else if(window.opera&&window.print){alert("Sorry, your web browser does not support automatically adding Bookmarks/Favorites.  Press 'Ctrl-D' in Firefox or 'Ctrl-T' in Opera to manually bookmark MediaFire.");return true;}}// Simple Set Clipboard System
// Author: Joseph Huckaby
// Modified 04-21-2009 to support fixed positioning

var ZeroClipboard = {

	version: "1.0.4",
	clients: {}, // registered upload clients on page, indexed by id
	moviePath: '/js/zeroclipboard/ZeroClipboard.swf', // URL to movie
	nextId: 1, // ID of next movie

	$: function(thingy) {
		// simple DOM lookup utility function
		if (typeof(thingy) == 'string') thingy = document.getElementById(thingy);
		if (!thingy.addClass) {
			// extend element with a few useful methods
			thingy.hide = function() { this.style.display = 'none'; };
			thingy.show = function() { this.style.display = ''; };
			thingy.addClass = function(name) { this.removeClass(name); this.className += ' ' + name; };
			thingy.removeClass = function(name) {
				this.className = this.className.replace( new RegExp("\\s*" + name + "\\s*"), " ").replace(/^\s+/, '').replace(/\s+$/, '');
			};
			thingy.hasClass = function(name) {
				return !!this.className.match( new RegExp("\\s*" + name + "\\s*") );
			}
		}
		return thingy;
	},

	setMoviePath: function(path) {
		// set path to ZeroClipboard.swf
		this.moviePath = path;
	},

	dispatch: function(id, eventName, args) {
		// receive event from flash movie, send to client
		var client = this.clients[id];
		if (client) {
			client.receiveEvent(eventName, args);
		}
	},

	register: function(id, client) {
		// register new client to receive events
		this.clients[id] = client;
	},

	getDOMObjectPosition: function(obj) {
		// get absolute coordinates for dom element
		var info = {
			left: 0,
			top: 0,
			width: obj.width ? obj.width : obj.offsetWidth,
			height: obj.height ? obj.height : obj.offsetHeight
		};

		info.left += obj.offsetLeft;
		info.top += obj.offsetTop;
		do {
			obj = obj.offsetParent;
			info.left += obj.offsetLeft;
			info.top += obj.offsetTop;
		} while (obj.offsetParent&&obj.style.position!="absolute"&&obj.style.position!="fixed");
		switch(obj.style.position){
			case "fixed":
			info.position = "fixed";
			break;
			default:
			info.position = "absolute";
			break;
		}

		return info;
	},

	Client: function(elem) {
		// constructor for new simple upload client
		this.handlers = {};

		// unique ID
		this.id = ZeroClipboard.nextId++;
		this.movieId = 'ZeroClipboardMovie_' + this.id;

		// register client with singleton to receive flash events
		ZeroClipboard.register(this.id, this);

		// create movie
		if (elem) this.glue(elem);
	}
};

ZeroClipboard.Client.prototype = {

	id: 0, // unique ID for us
	ready: false, // whether movie is ready to receive events or not
	movie: null, // reference to movie object
	clipText: '', // text to copy to clipboard
	handCursorEnabled: true, // whether to show hand cursor, or default pointer cursor
	cssEffects: true, // enable CSS mouse effects on dom container
	handlers: null, // user event handlers

	glue: function(elem) {
		function getZindex(oElm) {
			if(oElm){
				if(oElm.style.zIndex) {
					return oElm.style.zIndex;
				}
				while(oElm = oElm.parentNode){
					if(oElm.style && oElm.style.zIndex) {
						return oElm.style.zIndex;
					}
				}
			}
			return false;
		}
		// glue to DOM element
		// elem can be ID or actual DOM element object
		this.domElement = ZeroClipboard.$(elem);

		// float just above object, or zIndex 1001 if dom element isn't set
		var zIndex = 1001;
		/* This doesn't work in all cases as zIndex can be set in a parent element  Herbert 20091111
		if (this.domElement.style.zIndex) {
			zIndex = parseInt(this.domElement.style.zIndex) + 1;
		} */

		// This works for popups  Herbert 20091111
		var iTestIndex;
		if(iTestIndex = getZindex(this.domElement)){ 
			zIndex = iTestIndex;
		}

		// find X/Y position of domElement
		var box = ZeroClipboard.getDOMObjectPosition(this.domElement);

		// create floating DIV above element
		this.div = document.createElement('div');
		var style = this.div.style;
		style.position = box.position;
		style.left = '' + box.left + 'px';
		style.top = '' + box.top + 'px';
		style.width = '' + box.width + 'px';
		style.height = '' + box.height + 'px';
		style.zIndex = zIndex;

		// style.backgroundColor = '#f00'; // debug

		var body = document.getElementsByTagName('body')[0];
		body.appendChild(this.div);

		this.div.innerHTML = this.getHTML( box.width, box.height );
	},

	getHTML: function(width, height) {
		// return HTML for movie
		var html = '';
		var flashvars = 'id=' + this.id +
			'&width=' + width +
			'&height=' + height;

		if (navigator.userAgent.match(/MSIE/)) {
			// IE gets an OBJECT tag
			var protocol = location.href.match(/^https/i) ? 'https://' : 'http://';
			html += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+protocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="'+width+'" height="'+height+'" id="'+this.movieId+'" align="middle"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+ZeroClipboard.moviePath+'" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><param name="flashvars" value="'+flashvars+'"/><param name="wmode" value="transparent"/></object>';
		}
		else {
			// all other browsers get an EMBED tag
			html += '<embed id="'+this.movieId+'" src="'+ZeroClipboard.moviePath+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="'+width+'" height="'+height+'" name="'+this.movieId+'" align="middle" allowScriptAccess="always" allowFullScreen="false" scale="noScale" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+flashvars+'" wmode="transparent" />';
		}
		return html;
	},

	hide: function() {
		// temporarily hide floater offscreen
		if (this.div) {
			this.div.style.left = '-2000px';
		}
	},

	show: function() {
		// show ourselves after a call to hide()
		this.reposition();
	},

	destroy: function() {
		// destroy control and floater
		if (this.domElement && this.div) {
			this.hide();
			this.div.innerHTML = '';

			var body = document.getElementsByTagName('body')[0];
			try { body.removeChild( this.div ); } catch(e) {;}

			this.domElement = null;
			this.div = null;
		}
	},

	reposition: function(elem) {
		// reposition our floating div, optionally to new container
		// warning: container CANNOT change size, only position
		if (elem) {
			this.domElement = ZeroClipboard.$(elem);
			if (!this.domElement) this.hide();
		}

		if (this.domElement && this.div) {
			var box = ZeroClipboard.getDOMObjectPosition(this.domElement);
			var style = this.div.style;
			style.left = '' + box.left + 'px';
			style.top = '' + box.top + 'px';
//			style.position = box.position;
		}
	},

	setText: function(newText) {
		// set text to be copied to clipboard
		this.clipText = newText;
		if (this.ready) this.movie.setText(newText);
	},

	addEventListener: function(eventName, func) {
		// add user event listener for event
		// event types: load, queueStart, fileStart, fileComplete, queueComplete, progress, error, cancel
		eventName = eventName.toString().toLowerCase().replace(/^on/, '');
		if (!this.handlers[eventName]) this.handlers[eventName] = [];
		this.handlers[eventName].push(func);
	},

	setHandCursor: function(enabled) {
		// enable hand cursor (true), or default arrow cursor (false)
		this.handCursorEnabled = enabled;
		if (this.ready) this.movie.setHandCursor(enabled);
	},

	setCSSEffects: function(enabled) {
		// enable or disable CSS effects on DOM container
		this.cssEffects = !!enabled;
	},

	receiveEvent: function(eventName, args) {
		// receive event from flash
		eventName = eventName.toString().toLowerCase().replace(/^on/, '');

		// special behavior for certain events
		switch (eventName) {
			case 'load':
				// movie claims it is ready, but in IE this isn't always the case...
				// bug fix: Cannot extend EMBED DOM elements in Firefox, must use traditional function
				this.movie = document.getElementById(this.movieId);
				if (!this.movie) {
					var self = this;
					setTimeout( function() { self.receiveEvent('load', null); }, 1 );
					return;
				}

				// firefox on pc needs a "kick" in order to set these in certain cases
				if (!this.ready && navigator.userAgent.match(/Firefox/) && navigator.userAgent.match(/Windows/)) {
					var self = this;
					setTimeout( function() { self.receiveEvent('load', null); }, 100 );
					this.ready = true;
					return;
				}

				this.ready = true;
				this.movie.setText( this.clipText );
				this.movie.setHandCursor( this.handCursorEnabled );
				break;

			case 'mouseover':
				if (this.domElement && this.cssEffects) {
					this.domElement.addClass('hover');
					if (this.recoverActive) this.domElement.addClass('active');
				}
				break;

			case 'mouseout':
				if (this.domElement && this.cssEffects) {
					this.recoverActive = false;
					if (this.domElement.hasClass('active')) {
						this.domElement.removeClass('active');
						this.recoverActive = true;
					}
					this.domElement.removeClass('hover');
				}
				break;

			case 'mousedown':
				if (this.domElement && this.cssEffects) {
					this.domElement.addClass('active');
				}
				break;

			case 'mouseup':
				if (this.domElement && this.cssEffects) {
					this.domElement.removeClass('active');
					this.recoverActive = false;
					ClipBoardClick();
				}
				break;
		} // switch eventName

		if (this.handlers[eventName]) {
			for (var idx = 0, len = this.handlers[eventName].length; idx < len; idx++) {
				var func = this.handlers[eventName][idx];

				if (typeof(func) == 'function') {
					// actual function reference
					func(this, args);
				}
				else if ((typeof(func) == 'object') && (func.length == 2)) {
					// PHP style object + method, i.e. [myObject, 'myMethod']
					func[0][ func[1] ](this, args);
				}
				else if (typeof(func) == 'string') {
					// name of function
					window[func](this, args);
				}
			} // foreach event handler defined
		} // user defined handler for event
	}

};
function Resize()
{
	var obj = document.getElementById('flashobject');
	var flash = document.getElementById('FlashUploader');
	flash.height = '470';
	obj.style.height = '470px';
}

function onUser(ukey, userkey, premium)
{
	//thisMovie('FlashUploader').onUser(ukey, userkey, premium);
	document.getElementById('FlashUploader').onUser(ukey, userkey, premium);
}var swfobject=function(){var Z="undefined",P="object",B="Shockwave Flash",h="ShockwaveFlash.ShockwaveFlash",W="application/x-shockwave-flash",K="SWFObjectExprInst",G=window,g=document,N=navigator,f=[],H=[],Q=null,L=null,T=null,S=false,C=false;var a=function(){var l=typeof g.getElementById!=Z&&typeof g.getElementsByTagName!=Z&&typeof g.createElement!=Z&&typeof g.appendChild!=Z&&typeof g.replaceChild!=Z&&typeof g.removeChild!=Z&&typeof g.cloneNode!=Z,t=[0,0,0],n=null;if(typeof N.plugins!=Z&&typeof N.plugins[B]==P){n=N.plugins[B].description;if(n){n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1");t[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10);t[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10);t[2]=/r/.test(n)?parseInt(n.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof G.ActiveXObject!=Z){var o=null,s=false;try{o=new ActiveXObject(h+".7")}catch(k){try{o=new ActiveXObject(h+".6");t=[6,0,21];o.AllowScriptAccess="always"}catch(k){if(t[0]==6){s=true}}if(!s){try{o=new ActiveXObject(h)}catch(k){}}}if(!s&&o){try{n=o.GetVariable("$version");if(n){n=n.split(" ")[1].split(",");t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]}}catch(k){}}}}var v=N.userAgent.toLowerCase(),j=N.platform.toLowerCase(),r=/webkit/.test(v)?parseFloat(v.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i=false,q=j?/win/.test(j):/win/.test(v),m=j?/mac/.test(j):/mac/.test(v);/*@cc_on i=true;@if(@_win32)q=true;@elif(@_mac)m=true;@end@*/ return{w3cdom:l,pv:t,webkit:r,ie:i,win:q,mac:m}}();var e=function(){if(!a.w3cdom){return}J(I);if(a.ie&&a.win){try{g.write("<script id=__ie_ondomload defer=true src=//:><\/script>");var i=c("__ie_ondomload");if(i){i.onreadystatechange=function(){if(this.readyState=="complete"){this.parentNode.removeChild(this);V()}}}}catch(j){}}if(a.webkit&&typeof g.readyState!=Z){Q=setInterval(function(){if(/loaded|complete/.test(g.readyState)){V()}},10)}if(typeof g.addEventListener!=Z){g.addEventListener("DOMContentLoaded",V,null)}M(V)}();function V(){if(S){return}if(a.ie&&a.win){var m=Y("span");try{var l=g.getElementsByTagName("body")[0].appendChild(m);l.parentNode.removeChild(l)}catch(n){return}}S=true;if(Q){clearInterval(Q);Q=null}var j=f.length;for(var k=0;k<j;k++){f[k]()}}function J(i){if(S){i()}else{f[f.length]=i}}function M(j){if(typeof G.addEventListener!=Z){G.addEventListener("load",j,false)}else{if(typeof g.addEventListener!=Z){g.addEventListener("load",j,false)}else{if(typeof G.attachEvent!=Z){G.attachEvent("onload",j)}else{if(typeof G.onload=="function"){var i=G.onload;G.onload=function(){i();j()}}else{G.onload=j}}}}}function I(){var l=H.length;for(var j=0;j<l;j++){var m=H[j].id;if(a.pv[0]>0){var k=c(m);if(k){H[j].width=k.getAttribute("width")?k.getAttribute("width"):"0";H[j].height=k.getAttribute("height")?k.getAttribute("height"):"0";if(O(H[j].swfVersion)){if(a.webkit&&a.webkit<312){U(k)}X(m,true)}else{if(H[j].expressInstall&& !C&&O("6.0.65")&&(a.win||a.mac)){D(H[j])}else{d(k)}}}}else{X(m,true)}}}function U(m){var k=m.getElementsByTagName(P)[0];if(k){var p=Y("embed"),r=k.attributes;if(r){var o=r.length;for(var n=0;n<o;n++){if(r[n].nodeName.toLowerCase()=="data"){p.setAttribute("src",r[n].nodeValue)}else{p.setAttribute(r[n].nodeName,r[n].nodeValue)}}}var q=k.childNodes;if(q){var s=q.length;for(var l=0;l<s;l++){if(q[l].nodeType==1&&q[l].nodeName.toLowerCase()=="param"){p.setAttribute(q[l].getAttribute("name"),q[l].getAttribute("value"))}}}m.parentNode.replaceChild(p,m)}}function F(i){if(a.ie&&a.win&&O("8.0.0")){G.attachEvent("onunload",function(){var k=c(i);if(k){for(var j in k){if(typeof k[j]=="function"){k[j]=function(){}}}k.parentNode.removeChild(k)}})}}function D(j){C=true;var o=c(j.id);if(o){if(j.altContentId){var l=c(j.altContentId);if(l){L=l;T=j.altContentId}}else{L=b(o)}if(!(/%$/.test(j.width))&&parseInt(j.width,10)<310){j.width="310"}if(!(/%$/.test(j.height))&&parseInt(j.height,10)<137){j.height="137"}g.title=g.title.slice(0,47)+" - Flash Player Installation";var n=a.ie&&a.win?"ActiveX":"PlugIn",k=g.title,m="MMredirectURL="+G.location+"&MMplayerType="+n+"&MMdoctitle="+k,p=j.id;if(a.ie&&a.win&&o.readyState!=4){var i=Y("div");p+="SWFObjectNew";i.setAttribute("id",p);o.parentNode.insertBefore(i,o);o.style.display="none";G.attachEvent("onload",function(){o.parentNode.removeChild(o)})}R({data:j.expressInstall,id:K,width:j.width,height:j.height},{flashvars:m},p)}}function d(j){if(a.ie&&a.win&&j.readyState!=4){var i=Y("div");j.parentNode.insertBefore(i,j);i.parentNode.replaceChild(b(j),i);j.style.display="none";G.attachEvent("onload",function(){j.parentNode.removeChild(j)})}else{j.parentNode.replaceChild(b(j),j)}}function b(n){var m=Y("div");if(a.win&&a.ie){m.innerHTML=n.innerHTML}else{var k=n.getElementsByTagName(P)[0];if(k){var o=k.childNodes;if(o){var j=o.length;for(var l=0;l<j;l++){if(!(o[l].nodeType==1&&o[l].nodeName.toLowerCase()=="param")&& !(o[l].nodeType==8)){m.appendChild(o[l].cloneNode(true))}}}}}return m}function R(AE,AC,q){var p,t=c(q);if(typeof AE.id==Z){AE.id=q}if(a.ie&&a.win){var AD="";for(var z in AE){if(AE[z]!=Object.prototype[z]){if(z=="data"){AC.movie=AE[z]}else{if(z.toLowerCase()=="styleclass"){AD+=' class="'+AE[z]+'"'}else{if(z!="classid"){AD+=" "+z+'="'+AE[z]+'"'}}}}}var AB="";for(var y in AC){if(AC[y]!=Object.prototype[y]){AB+='<param name="'+y+'" value="'+AC[y]+'" />'}}t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AD+">"+AB+"</object>";F(AE.id);p=c(AE.id)}else{if(a.webkit&&a.webkit<312){var AA=Y("embed");AA.setAttribute("type",W);for(var x in AE){if(AE[x]!=Object.prototype[x]){if(x=="data"){AA.setAttribute("src",AE[x])}else{if(x.toLowerCase()=="styleclass"){AA.setAttribute("class",AE[x])}else{if(x!="classid"){AA.setAttribute(x,AE[x])}}}}}for(var w in AC){if(AC[w]!=Object.prototype[w]){if(w!="movie"){AA.setAttribute(w,AC[w])}}}t.parentNode.replaceChild(AA,t);p=AA}else{var s=Y(P);s.setAttribute("type",W);for(var v in AE){if(AE[v]!=Object.prototype[v]){if(v.toLowerCase()=="styleclass"){s.setAttribute("class",AE[v])}else{if(v!="classid"){s.setAttribute(v,AE[v])}}}}for(var u in AC){if(AC[u]!=Object.prototype[u]&&u!="movie"){E(s,u,AC[u])}}t.parentNode.replaceChild(s,t);p=s}}return p}function E(k,i,j){var l=Y("param");l.setAttribute("name",i);l.setAttribute("value",j);k.appendChild(l)}function c(i){return g.getElementById(i)}function Y(i){return g.createElement(i)}function O(k){var j=a.pv,i=k.split(".");i[0]=parseInt(i[0],10);i[1]=parseInt(i[1],10);i[2]=parseInt(i[2],10);return(j[0]>i[0]||(j[0]==i[0]&&j[1]>i[1])||(j[0]==i[0]&&j[1]==i[1]&&j[2]>=i[2]))?true:false}function A(m,j){if(a.ie&&a.mac){return}var l=g.getElementsByTagName("head")[0],k=Y("style");k.setAttribute("type","text/css");k.setAttribute("media","screen");if(!(a.ie&&a.win)&&typeof g.createTextNode!=Z){k.appendChild(g.createTextNode(m+" {"+j+"}"))}l.appendChild(k);if(a.ie&&a.win&&typeof g.styleSheets!=Z&&g.styleSheets.length>0){var i=g.styleSheets[g.styleSheets.length-1];if(typeof i.addRule==P){i.addRule(m,j)}}}function X(k,i){var j=i?"visible":"hidden";if(S){c(k).style.visibility=j}else{A("#"+k,"visibility:"+j)}}return{registerObject:function(l,i,k){if(!a.w3cdom|| !l|| !i){return}var j={};j.id=l;j.swfVersion=i;j.expressInstall=k?k:false;H[H.length]=j;X(l,false)},getObjectById:function(l){var i=null;if(a.w3cdom&&S){var j=c(l);if(j){var k=j.getElementsByTagName(P)[0];if(!k||(k&&typeof j.SetVariable!=Z)){i=j}else{if(typeof k.SetVariable!=Z){i=k}}}}return i},embedSWF:function(n,u,r,t,j,m,k,p,s){if(!a.w3cdom|| !n|| !u|| !r|| !t|| !j){return}r+="";t+="";if(O(j)){X(u,false);var q=(typeof s==P)?s:{};q.data=n;q.width=r;q.height=t;var o=(typeof p==P)?p:{};if(typeof k==P){for(var l in k){if(k[l]!=Object.prototype[l]){if(typeof o.flashvars!=Z){o.flashvars+="&"+l+"="+k[l]}else{o.flashvars=l+"="+k[l]}}}}J(function(){R(q,o,u);if(q.id==u){X(u,true)}})}else{if(m&& !C&&O("6.0.65")&&(a.win||a.mac)){X(u,false);J(function(){var i={};i.id=i.altContentId=u;i.width=r;i.height=t;i.expressInstall=m;D(i)})}}},getFlashPlayerVersion:function(){return{major:a.pv[0],minor:a.pv[1],release:a.pv[2]}},hasFlashPlayerVersion:O,createSWF:function(k,j,i){if(a.w3cdom&&S){return R(k,j,i)}else{return undefined}},createCSS:function(j,i){if(a.w3cdom){A(j,i)}},addDomLoadEvent:J,addLoadEvent:M,getQueryParamValue:function(m){var l=g.location.search||g.location.hash;if(m==null){return l}if(l){var k=l.substring(1).split("&");for(var j=0;j<k.length;j++){if(k[j].substring(0,k[j].indexOf("="))==m){return k[j].substring((k[j].indexOf("=")+1))}}}return ""},expressInstallCallback:function(){if(C&&L){var i=c(K);if(i){i.parentNode.replaceChild(L,i);if(T){X(T,true);if(a.ie&&a.win){L.style.display="block"}}L=null;T=null;C=false}}}}}(); function registerNamespaces(){for(var i=0;i<arguments.length;i++){var astrParts=arguments[i].split(".");var root=window;for(var j=0;j<astrParts.length;j++){if(!root[astrParts[j]]){root[astrParts[j]]=new Object()}root=root[astrParts[j]]}}}registerNamespaces("Plaxo.Util");Plaxo.Util.Timer={timers:{},startTimer:function(id){if(!this.enabled)return;this.timers.id=new Date().getTime()},getElapsedTime:function(id){if(!this.enabled)return;var start=this.timers.id;if(!start){alert('Unknown timer: '+id)}return new Date().getTime()-start},alertElapsedTime:function(id){if(!this.enabled)return;alert('Elapsed time for "'+id+'": '+this.getElapsedTime(id))},enabled:true,setTimersEnabled:function(state){this.enabled=state}};Plaxo.Util.Looper={doLoop:function(list,func,doneFunc,loopSize,start){if(!loopSize)loopSize=500;if(!start)start=0;var max=start+loopSize;var lastLoop=false;if(max>list.length){max=list.length;lastLoop=true}for(var i=start;i<max;i++){func(list,i)}if(lastLoop){if(doneFunc)doneFunc()}else{setTimeout(function(){Plaxo.Util.Looper.doLoop(list,func,doneFunc,loopSize,max)},0)}}};registerNamespaces("Plaxo.Form");Plaxo.Form={getSelectValue:function(sel){if(!sel)return null;if(!sel.options)return sel.value;return sel.options[sel.selectedIndex].value},focusFirstVisibleFormElem:function(f,findFirstBlankField){for(var i=0;i<f.length;i++){var el=f.elements[i];if(el.type!='hidden'&&el.style.display!='none'&&(!findFirstBlankField||el.value.length==0)&&el.focus){el.focus();break}}}};registerNamespaces("Plaxo.String");Plaxo.String={contains:function(whole,part){return whole.indexOf(part)!=-1},alnumChars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_",isalnum:function(ch){return this.contains(this.alnumChars,ch)},otherSafeEmailChars:".-+=",findBoundary:function(s,start,forward){if(forward){for(var i=start;i<s.length;i++){var ch=s.charAt(i);if(!Plaxo.String.isalnum(ch)&&!this.contains(this.otherSafeEmailChars,ch)){return i-1}}return s.length-1}else{for(var i=start-1;i>=0;i--){var ch=s.charAt(i);if(!Plaxo.String.isalnum(ch)&&!this.contains(this.otherSafeEmailChars,ch)){return i+1}}return 0}},removeDups:function(strs,ignoreCase){var uniqueStrs=[];var oldStrs={};for(var i=0;i<strs.length;i++){var s=strs[i];if(ignoreCase)s=s.toLowerCase();if(!oldStrs[s]){uniqueStrs.push(strs[i]);oldStrs[s]=1}}return uniqueStrs}};registerNamespaces("Plaxo.Debug");Plaxo.Debug={logLevel:0,assert:function(expr,msg){if(!expr){if(!msg)msg='unk';throw new Error('Assertion failed: '+msg)}},error:function(msg){if(this.logLevel<1)return;alert(msg);msg=this.format(msg,1);if(this.dumpEnabled)dump(msg)},warning:function(msg){if(this.logLevel<2)return;msg=this.format(msg,2);if(this.dumpEnabled)dump(msg);else alert(msg)},trace:function(msg){if(this.logLevel<3)return;msg=this.format(msg,3);if(this.dumpEnabled)dump(msg);else window.status=msg},format:function(msg,level){var d=new Date();return level+'|'+d.toLocaleTimeString()+'.'+d.getMilliseconds()+'|'+msg+'\n'},dumpEnabled:false,initialize:function(){var PREFS_CID="@mozilla.org/preferences;1";var PREFS_I_PREF="nsIPref";var PREF_STRING="browser.dom.window.dump.enabled";try{var Pref=new Components.Constructor(PREFS_CID,PREFS_I_PREF);var pref=new Pref();pref.SetBoolPref(PREF_STRING,true);this.dumpEnabled=true}catch(e){if(typeof(dump)!='undefined'){this.dumpEnabled=true}}}};Plaxo.Debug.initialize();function Array_push(){var A_p=0;for(A_p=0;A_p<arguments.length;A_p++){this[this.length]=arguments[A_p]}return this.length};function Array_pop(){var response=this[this.length-1];this.length--;return response};function Array_unshift(){this.reverse();for(var i=arguments.length-1;i>=0;i--)this[this.length]=arguments[i];this.reverse();return this.length}if(typeof(Array.prototype.unshift)=="undefined"){Array.prototype.unshift=Array_unshift}if(typeof(Array.prototype.pop)=="undefined"){Array.prototype.pop=Array_pop}if(typeof Array.prototype.push=="undefined"){Array.prototype.push=Array_push};function isWhitespace(c){return c==' '||c=='\t'||c=='\r'||c=='\n'};function String_trim(trimset){if(this.length==0)return this;if(!trimset)trimset=" \t\r\n";var start=0;while(start<this.length&&trimset.indexOf(this.charAt(start))!=-1)start++;var end=this.length-1;while(end>start&&trimset.indexOf(this.charAt(end))!=-1)end--;if(start>0||end<this.length-1){return this.substring(start,end+1)}else return this}if(typeof String.prototype.trim=="undefined"){String.prototype.trim=String_trim};function String_endsWith(s){if(!s)return true;if(s.length>this.length)return false;var start=this.length-s.length;for(var i=0;i<s.length;i++){if(s.charAt(i)!=this.charAt(start+i)){return false}}return true}if(typeof String.prototype.endsWith=="undefined"){String.prototype.endsWith=String_endsWith} function inherits(child,parent){if(typeof parent.prototype=='function'){inherits(child,parent.prototype)}for(var method in parent.prototype){if(method=='prototype'){continue}child[method]=parent.prototype[method]}};function sprintf(){if(!arguments||arguments.length<1||!RegExp){return}var str=arguments[0];var re=/([^%]*)%('.|0|\x20)?(-)?(\d+)?(\.\d+)?(%|b|c|d|u|f|o|s|x|X)(.*)/; //'
	var a = b = [], numSubstitutions = 0, numMatches = 0;
	while (a = re.exec(str)) {
		var leftpart = a[1], pPad = a[2], pJustify = a[3], pMinLength = a[4];
		var pPrecision = a[5], pType = a[6], rightPart = a[7];

		
		numMatches++;
		if (pType == '%') {
			subst = '%';
		} else {
			numSubstitutions++;
			if (numSubstitutions >= arguments.length) {
				alert('Error! Not enough function arguments (' + (arguments.length - 1) + ', excluding the string)\nfor the number of substitution parameters in string (' + numSubstitutions + ' so far).');
			}
			var param = arguments[numSubstitutions];
			var pad = '';
			if (pPad && pPad.substr(0,1) == "'") pad = leftpart.substr(1,1);
			else if (pPad) pad = pPad;
			var justifyRight = true;
			if (pJustify && pJustify === "-") justifyRight = false;
			var minLength = -1;
			if (pMinLength) minLength = parseInt(pMinLength);
			var precision = -1;
			if (pPrecision && pType == 'f') precision = parseInt(pPrecision.substring(1));
			var subst = param;
			if (pType == 'b') subst = parseInt(param).toString(2);
			else if (pType == 'c') subst = String.fromCharCode(parseInt(param));
			else if (pType == 'd') subst = parseInt(param) ? parseInt(param) : 0;
			else if (pType == 'u') subst = Math.abs(param);
			else if (pType == 'f') subst = (precision > -1) ? Math.round(parseFloat(param) * Math.pow(10, precision)) / Math.pow(10,precision):parseFloat(param);else if(pType=='o')subst=parseInt(param).toString(8);else if(pType=='s')subst=param;else if(pType=='x')subst=(''+parseInt(param).toString(16)).toLowerCase();else if(pType=='X')subst=(''+parseInt(param).toString(16)).toUpperCase()}str=leftpart+subst+rightPart}return str};function popup(url,title,width,height){var numArgs=arguments.length;var ht;var windowObj;var windowParams=(numArgs>4)?arguments[4]:'statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,top=0';var isOffset=(numArgs>7)?arguments[7]:false;var offset;if(numArgs>5){if(isOffset){offset=(window.screenY)?window.screenY:self.screenTop;offset=(offset)?offset:0}else{offset=0}offset+=arguments[5];windowParams+=(windowParams)?',':'';windowParams+='top='+offset+',screenY='+offset}else{windowParams+='top=0,screenY=0'}if(numArgs>6){if(isOffset){offset=(window.screenX)?window.screenX:self.screenLeft;offset=(offset)?offset:0}else{offset=0}offset+=arguments[6];windowParams+=',left='+offset+',screenX='+offset}if(screen.height){ht=screen.height}else if(window.document.body.clientHeight){ht=window.document.body.clientHeight}else if(window.innerHeight){ht=window.innerHeight}else if(document.documentElement.clientHeight){ht=document.documentElement.clientHeight}else{ht=580}if((height!=0)&&(height>ht)){height=ht}if(height!=0&&width!=0){windowParams+=',height='+height+',width='+width}else if(width!=0){windowParams+=',width='+width}windowObj=window.open(url,title,windowParams,false);if(windowObj){windowObj.focus()}return windowObj};function plx_Browser(){var d=document;this.agt=navigator.userAgent.toLowerCase();this.major=parseInt(navigator.appVersion);this.dom=(d.getElementById)?1:0;this.ns=(d.layers);this.ns4up=(this.ns&&this.major>=4);this.ns4=((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)==4));this.ns6=(this.dom&&navigator.appName=="Netscape");this.op=this.agt.indexOf('opera')!=-1;this.ie=(d.all);this.ie4=(d.all&&!this.dom)?1:0;this.ie4up=(this.ie&&this.major>=4);this.ie5=(d.all&&this.dom);this.win=((this.agt.indexOf("win")!=-1)||(this.agt.indexOf("16bit")!=-1));this.mac=(this.agt.indexOf("mac")!=-1);this.gecko=(this.agt.indexOf("gecko")!=-1);this.safari=(this.agt.indexOf("safari")!=-1);this.sp2=(this.agt.indexOf('sv1')!=-1)}var brz=new plx_Browser(); registerNamespaces("Plaxo");Plaxo.Util.Timer.setTimersEnabled(false);Plaxo.byId=function(elem){if(typeof elem=='string'){elem=document.getElementById(elem)}return elem};Plaxo.Class={create:function(){return function(){this.initialize.apply(this,arguments)}}};Plaxo.ABLauncher=Plaxo.Class.create();Plaxo.ABLauncher.prototype={initialize:function(){Plaxo.Debug.trace('initializing');this.name="Plaxo.ABLauncher 1.0";this.abWin=null;this.textArea=null;this.currentEmails={}},dialogWidth:460,dialogHeight:480,toQueryString:function(options){var queryComponents=[];for(key in options){if(typeof options[key]=='function')continue;var queryComponent=encodeURIComponent(key)+'='+encodeURIComponent(options[key]);queryComponents.push(queryComponent)}return queryComponents.join('&')},showABChooser:function(textArea,plaxoHost,callbackPage,extraOptions){this.textArea=Plaxo.byId(textArea);if(!this.textArea){Plaxo.Debug.error("can't find text area -> aborting");return}this.currentEmails={};this.extractEmails(this.textArea.value);if(!this.abWin||this.abWin.closed){if(callbackPage.length>0&&callbackPage.charAt(0)!='/'){callbackPage='/'+callbackPage}var cb=location.protocol+'//'+location.host+callbackPage;extraOptions.cb=cb;extraOptions.host=location.href;extraOptions.ts=new Date().getTime();var qs=this.toQueryString(extraOptions);var url='https://'+plaxoHost+'/ab_chooser?'+qs;if(extraOptions.plaxoMembersOnly){url+='&direct=1'}else{var emails=this.getCurrentEmailList().join(',');url+='&t=import&emails='+escape(emails)}this.abWin=popup(url,"PlaxoABC",this.dialogWidth,this.dialogHeight,'resizable=no,scrollbars=no')}if(this.abWin){this.abWin.focus()}},getCurrentEmailList:function(){var emails=[];for(email in this.currentEmails){emails.push(email)}return emails},extractEmails:function(str){var index=0;while(true){index=str.indexOf('@',index);if(index==-1)break;var start=Plaxo.String.findBoundary(str,index-1,false);var end=Plaxo.String.findBoundary(str,index+1,true);var email=str.substring(start,end+1).toLowerCase();this.currentEmails[email]=1;index++}},hasCurrentEmail:function(email){return this.currentEmails[email.toLowerCase()]},addCheckedRecipients:function(text){if(!text)return false;if(!this.textArea){Plaxo.Debug.error('no text area to add recipients to');return false}var curText=this.textArea.value;if(curText&&!curText.trim().endsWith(','))curText+=', ';curText+=text;this.setTextAreaValue(curText);return true},setTextAreaValue:function(str){this.textArea.value=str}};Plaxo.abl=null;function showPlaxoABChooser(textArea,callbackPage,plaxoHost,extraOptions){if(!Plaxo.abl)Plaxo.abl=new Plaxo.ABLauncher();if(!plaxoHost)plaxoHost='www.plaxo.com';if(!extraOptions)extraOptions={};Plaxo.abl.showABChooser(textArea,plaxoHost,callbackPage,extraOptions)}function Dj(e){var vU='Unfortunately there was an error and the uploader could not continue. ';if(e.name){vU+='Error name: "'+e.name+'"  ';}if(e.message){vU+='Error message: "'+e.message+'"  ';}if(e.lineNumber){vU+='Line number: '+e.lineNumber;}alert(vU);};function yy(xQ,yo,yd){try{var MFUL=this;this.Bq=function(qX){try{if(!ulConfig){try{ulConfig=ub(yd);}catch(e){Dj('Unable to retrieve config file for uploader. Full error: '+e.description);return;}}if(!ulConfig){Dj('Unable to retrieve uploader configuration file.');}else{if(qX==undefined)qX=0;this.newUploader(qX);if(MFUL.aUploaders[qX].hidden===undefined||MFUL.aUploaders[qX].hidden===true){MFUL.aUploaders[qX].yq(true);}}}catch(e){Dj(e.description);}};this.newUploader=function(qX){if(qX===undefined)qX=MFUL.aUploaders.length;if(MFUL.aUploaders[qX]===undefined){MFUL.aUploaders[qX]=new F();MFUL.aUploaders[qX].qy=qX;}return MFUL.aUploaders[qX];};this.embedGroup=function(ww,tv,rw){if(!rw)rw=0;this.aUploaders[rw].G.B[tv]['xy']=ww;this.aUploaders[rw].G.Am(tv);};this.Bt=function(rb,rw){try{if(!rw)rw=0;this.aUploaders[rw].G['xy']=rb;}catch(e){Dj(e);}};this.embedUploaderBar=function(rb){this.uploaderBar.DJ=rb;};this.Bn=function(aB){var qy;var Cp=aB.parentNode;var Aw=new RegExp(xN);while(Cp){if(Aw.test(Cp.id)){var lX=Cp.id;var BL=lX.split('_');var CC=BL[BL.length-1];return MFUL.aUploaders[CC];}Cp=Cp.parentNode;}return false;};var tO='http://www.mediafire.com/?sharekey=';var En='/images/v4images/buttons/uploader/go_to_myfiles.gif';var ve='/basicapi/getuploadkey.php';var vi='/basicapi/getfolderkeys.php';var ET='/basicapi/getfolderkey.php';var uW='/basicapi/setfolder.php';var uY='/basicapi/pollupload.php';var vh='/basicapi/getfiletype.php';var vq='/myfiles.php';var tx='/Medi';tx+='aFireUploader.swf';var tz='/MediaFireClipboardApp.swf';var tI='http://www.mediafire.com/';var vc='/basicapi/douploadnonflash.php';var us='/basicapi/uploaderconfiguration.php';try{if(typeof JS_LoadTime!='undefined'){us+='?'+JS_LoadTime;}}catch(e){}if(xQ=='dropbox'){us='/dropbox/dropboxcfg.php?key='+yo;uY='/dropbox/pollupload.php';var qL=yo;}var tC='MediaFireUploaderSWF';var uF='MFUUploadIFrame';var um='MFUFileInput';var up='MFUFileForm';var rP='MediaFireSharePopup';var un='MediaFireUploaderSWFDiv';var zB='MediaFireClipboardDiv';var xN='MediaFireStep';var uz='MediaFireGroup';var sb='My Files';var uJ=1500;var qY=999;var tH=4;var uZ=7;var uV= -1;var vw=50;var uT=1;var tG=0;this.sJ=0;var AT=0;var fY=new Array();function F(){if(xQ=='dropbox'&&yo){this.qL=yo;}this.sX=false;this.es=new Array();this.sT=0;this.qT=0;this.rd=0;this.ss=0;this.rA=0;this.ri=0;this.qy=tG;tG++;this.sS=0;this.rF=true;this.rC=new uR(this.qy);this.tg=0;this.sz=0;this.rI=0;this.vT=new Array();var hf=this;this.G=new function(){var lL=this;this.B=new Array();for(var i=1;i<=uZ;i++){var rx=parseInt(ulConfig['step'+i]['grouping']);if(!this.B[rx]){this.B[rx]=new Object();this.B[rx]['xs']=false;this.B[rx]['loaded']=false;this.B[rx]['steps']=new Array();this.B[rx]['groupDivId']=uz+String(hf.qy)+'_'+rx;}this.B[rx]['steps'].push(i);}this.emptyContainer=function(aB){var i;if(aB){for(i=aB.childNodes.length-1;i>=0;i--){aB.removeChild(aB.childNodes[i]);}}};this.Am=function(rM){var B=this.B[rM];this.wW(B.steps[0]);};this.wW=function(xq){if((xq=='6'||xq=='7')&&sq()){if(hf.tJ){function EU(Dx,yX){var qy=Dx;var xq=yX;return function(){MFUL.aUploaders[qy].G.wW(yX);}};var myFunc=EU(hf.qy,xq);setTimeout(myFunc,2000);return;}}var sp,i;if(this.xy){sp=document.getElementById(this.xy);}var rM=this.xU(xq);var B=this.B[rM];if(B.xs){this.configureStep(xq);this.DD(xq);return;}B.xs=true;if(B.xy){var qO=document.getElementById(B.xy);B.qO=qO;}var qN=document.getElementById(B.groupDivId);if(!qN){qN=document.createElement('DIV');qN.id=B.groupDivId;qN.style.display='none';if(qO){qO.appendChild(qN);}else if(sp){sp.appendChild(qN);}else{qN.style.zIndex=qY+1;document.body.appendChild(qN);}for(i=0;i<B.steps.length;i++){var su=B.steps[i];var rK=document.createElement('DIV');var sI=ulConfig['step'+su]['markup'];rK.innerHTML=rT(sI,hf.qy);rK.id=xN+String(su)+'_'+hf.qy;rK.style.marginLeft='auto';rK.style.marginRight='auto';if(!qO)rK.style.zIndex=qY+2;qN.appendChild(rK);B.qN=qN;}}for(i=0;i<B.steps.length;i++){this.configureStep(B.steps[i]);}if(!B.xs){return;}if(qO){qN.style.display='inline';}else{hf.removeOverlays();for(i=0;i<this.B.length;i++){if(i!=rM&&this.B&&this.B[i]&&this.B[i].qN&& !this.B[i].qO){this.B[i].xs=false;var tR=this.B[i].qN;var qZ=tR.parentNode;qZ.removeChild(tR);this.B[i].qN=undefined;}}if(!sp){hf.Ao();this.xD(qN);}else qN.style.display='inline';}for(i=0;i<B.steps.length;i++){this.DD(B.steps[i]);if(!hf.rR)this.Eb(B.steps[i]);}};this.AY=function(){var lX='step3_folder_container';var Dd=hf.getElementById(lX);if(Dd!=undefined){Dd.innerHTML='';var EV=parseInt(ulConfig['folders']['length']);for(var ru=0;ru<EV;ru++){var DM=document.createElement('div');DM.innerHTML=rT(ulConfig['step3']['folder0'],ru);Dd.appendChild(DM);lX='step3_folder_'+ru;var Dc=hf.getElementById(lX);if(Dc){Dc.innerHTML=ulConfig['folders'][ru]['name'];Dc.id='step3_folder_'+String(ru);}lX='step3_folder_anchor_'+ru;var Dh=hf.getElementById(lX);if(Dh){Dh.id='step3_folder_anchor_'+hf.qy+'_'+String(ru);Dh.onclick=function(){var lX=String(this.id);var BL=lX.split('_');var CC=BL[BL.length-1];hf.fU=ulConfig['folders'][CC]['name'];hf.qL=ulConfig['folders'][CC]['key'];hf.G.wW('4');return false;};}}}};this.AN=function(I){var g=hf.es[parseInt(I,10)];hf.disableFile(g);function vb(yl){hf.G.fadeOutAndDeleteElement(yl,100,33,4);};vb('step4_upload_item_'+hf.qy+'_'+String(I));this.ym('step4_total',hf.qT,hf.rd);};this.yG=function(g){hf.qT++;hf.sT++;hf.rd+=g.ik;hf.G.flStep4HidePopup();if(hf.wS!=4){}this.ym('step4_total',hf.qT,hf.rd);var BJ=hf.getElementById('step4_file_container');if(BJ){if(!BJ.innerHTML)this.flStep4HidePopup();var wV=document.createElement('DIV');var sI=ulConfig['step4']['file'];wV.innerHTML=rT(sI,hf.qy);wV.style.display='none';wV.id='step4_upload_item_'+String(hf.qy)+'_'+g.I;if(navigator.appName.indexOf('Microsoft')> -1){wV.style.filter='filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100)';}BJ.appendChild(wV);var Dl=hf.getElementById('step4_file_name');if(Dl!=undefined){Dl.innerHTML=g.qv;Dl.id='step4_file_name_'+String(hf.qy)+'_'+g.I;}var BT=hf.getElementById('step4_file_size');if(BT!=undefined){if(g.ik>=0)BT.innerHTML=rS(g.ik);else BT.innerHTML=ulConfig['text']['na'];BT.id='step4_file_size_'+String(hf.qy)+'_'+g.I;}var xg;if(g.ik>parseInt(ulConfig['config']['max_file_size'])){hf.disableFile(g);if(ulConfig['config']['is_pro']=='0'){var Bo;if(Bo=hf.getElementById('step4_size_error')){Bo.style.display="block";if(elm=hf.getElementById('step4_green_link')){elm.onclick=function(){window.open('/select_account_type.php','_blank');var Bo;if(Bo=hf.getElementById('step4_size_error')){Bo.style.display="none";}}}if(elm=hf.getElementById('step4_red_link')){elm.onclick=function(){var Bo;if(Bo=hf.getElementById('step4_size_error')){Bo.style.display="none";}}}}}var vr=ulConfig['errors']['general']['tooLarge'];if(BT){BT.innerHTML=ulConfig['text']['error'];MFUL.xu(BT,vr);BT.style.textDecoration='underline';}xg=hf.getElementById('step4_delete_upload');if(xg!=undefined){xg.id='step4_delete_upload_'+hf.qy+'_'+g.I;xg.innerHTML='';xg.onclick=function(){return false;};}}else{xg=hf.getElementById('step4_delete_upload');if(xg!=undefined){xg.id='step4_delete_upload_'+hf.qy+'_'+g.I;xg.onclick=function(){this.onclick=function(){return false;};var lX=String(this.id);var BL=lX.split('_');var qy=BL[BL.length-2];var qV=BL[BL.length-1];hf.G.AN(qV);return false;};}}wV.style.display='block';BJ.scrollTop=BJ.scrollHeight;}};this.ym=function(lX,oO,ra){var Df=hf.getElementById(lX);if(Df!=undefined){if(hf.te){Df.innerHTML=ulConfig['text']['fileSizeUnavailable'];}else{var P;if(oO==1){P=ulConfig['text']['totaltextsingle'];}else{P=ulConfig['text']['totaltext'];}P=P.replace(/#NUMOFFILES#/g,String(oO));P=P.replace(/#BYTES#/g,rS(ra));Df.innerHTML=P;}}};this.AO=function(g,qV){var BJ=hf.getElementById('step5_file_container');if(BJ!=undefined){var wV=document.createElement('DIV');wV.innerHTML=ulConfig['step5']['file'];wV.style.display='none';wV.id='step5_upload_item_'+hf.qy+'_'+String(qV);BJ.appendChild(wV);var xr=hf.getElementById('step5_file_name');if(xr!=undefined){xr.innerHTML=g.qv;xr.id='step5_file_name_'+hf.qy+'_'+qV;}var ro=hf.getElementById('step5_file_size');if(ro!=undefined){if(g.ik>=0)ro.innerHTML=rS(g.ik);else ro.innerHTML=ulConfig['text']['na'];ro.id='step5_file_size_'+hf.qy+'_'+qV;}wV.style.display='block';}var BH;if(BH=hf.getElementById('step5_file_progress_text')){if(g.rq===true){if(g.completeVerify===true){if(g.quickKey!==undefined){BH.innerHTML=ulConfig['text']['complete'];}else{BH.innerHTML=ulConfig['text']['failed'];MFUL.xu(BH,(g.vr||ulConfig.xh('pollupload',g.errorCode)));BH.style.textDecoration='underline';}}else{BH.innerHTML=ulConfig['text']['verifying'];}}else if(g.vr){BH.innerHTML=ulConfig['text']['failed'];MFUL.xu(BH,(g.vr||ulConfig.xh('pollupload',g.errorCode)));BH.style.textDecoration='underline';}else BH.innerHTML=Math.floor(g.rj||0)+'%';BH.id='step5_file_progress_text_'+hf.qy+'_'+qV;}var BE;if(BE=hf.getElementById('step5_file_progress_bar')){if(g.rq===true){BE.style.width='100%';}else{BE.style.width=(g.rj||0)+'%';}BE.id='step5_file_progress_bar_'+hf.qy+'_'+qV;}};this.AK=function(g,qV){var lL=this;var aB;var BJ;if(BJ=hf.getElementById('step6_file_container')){var wV=document.createElement('DIV');wV.innerHTML=ulConfig['step6']['file'];wV.style.display='none';wV.id='step5_upload_item_'+hf.qy+'_'+String(qV);BJ.appendChild(wV);var xr;if(xr=hf.getElementById('step6_file_name')){xr.innerHTML=g.qv;xr.id='step6_file_name_'+hf.qy+'_'+qV;}var ro;if(ro=hf.getElementById('step6_file_size')){if(g.ik>=0)ro.innerHTML=rS(g.ik);else ro.innerHTML=ulConfig['text']['na'];ro.id='step6_file_size_'+hf.qy+'_'+qV;}if(g.errorCode||g.vr){aB=hf.getElementById('step6_file_progress');if(aB){aB.innerHTML=ulConfig['text']['failed'];MFUL.xu(aB,(g.vr||ulConfig.xh('pollupload',g.errorCode)));aB.style.textDecoration='underline';aB.id='step6_file_progress_'+hf.qy+'_'+qV;}aB=hf.getElementById('step6_file_share');if(aB)aB.id='step6_file_share_'+hf.qy+'_'+qV;}else{aB=hf.getElementById('step6_file_share');if(aB!==undefined&&g.quickKey!==undefined){aB.id='step6_file_share_'+hf.qy+'_'+qV;aB.onclick=function(){lL.createFileSharePopup(g);return false;};}if(aB=hf.getElementById('step6_file_progress'))aB.id='step6_file_progress_'+hf.qy+'_'+qV;}wV.style.display='block';}};this.fadeOutAndDeleteElement=function(yl,xz,rE,sO){var aB=hf.getElementById(yl);if(aB==undefined)return;xz=xz-sO;aB.style.opacity=xz/100;if(navigator.appName.indexOf('Microsoft')> -1){if(aB.style.width===''){aB.style.width=aB.offsetWidth+'px';aB.style.height=aB.offsetHeight+'px';}aB.style.filter='progid:DXImageTransform.Microsoft.Alpha(opacity="+xz+")';}if(xz>0)setTimeout(function(){hf.G.fadeOutAndDeleteElement(yl,xz,rE,sO);},sO);else aB.parentNode.removeChild(aB);};this.xU=function(sP){for(var i=1;i<lL.B.length;i++){for(var j=0;j<lL.B[i].steps.length;j++){if(lL.B[i].steps[j]==sP){return i;}}}return false;};this.xD=function(aB){function uU(){var lJ=0,mz=0;if(typeof(window.innerWidth)=='number'){lJ=window.innerWidth;mz=window.innerHeight;}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){lJ=document.documentElement.clientWidth;mz=document.documentElement.clientHeight;}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){lJ=document.body.clientWidth;mz=document.body.clientHeight;}var sa={h:mz,w:lJ};return sa;};function center(aB,lJ,mz){var be=uU();aB.style.top=((be.h/2)-(mz/2))+'px';aB.style.left=((be.w/2)-(lJ/2))+'px';};aB.style.position=(rn?'absolute':'fixed');aB.style.top='-2000';aB.style.display='inline';var lJ=aB.offsetWidth;var mz=aB.offsetHeight;if(!lJ|| !mz){var sa=rW(aB);lJ=sa[0];mz=sa[1];}center(aB,lJ,mz);};this.xi=function(xq){hf.hidden=true;var rM=this.xU(xq);var B=this.B[this.xU(xq)];if(B.xs===true&& !B.qO){B.xs=false;B.qN.style.display='none';if(rM==this.xU(4)){this.flStep4HidePopup();}hf.removeOverlays();var tq=false;for(var i=0;i<this.B.length;i++){if(this.B[i]&&this.B[i].xs===true&& !this.B[i].qO){tq=true;}}if(tq===false)hf.hideBlanket();}};this.blanketElm;this.blanket=function(ts){var i;if(ts&&lL.rF)return;var lX=xN+'Blanket';var qM=document.getElementById(lX);if(!qM){qM=document.createElement('DIV');qM.id=lX;qM.style.backgroundColor='#111';qM.style.opacity='0.65';qM.style.filter='alpha(opacity=65)';qM.style.position=(rn?'absolute':'fixed');qM.style.zIndex=qY;qM.style.top='0';qM.style.left='0';qM.style.width='100%';qM.style.height='100%';qM.style.display='none';document.body.appendChild(qM);lL.blanketElm=qM;}if(ts){if(rn){qM.style.height=String(uM())+'px';qM.style.width=String(uP())+'px';var rm=document.getElementsByTagName('select');lL.rm=new Array();for(i=0;i<rm.length;i++){if(rm[i].style.visibility!='hidden'){rm[i].style.visibility='hidden';lL.rm.push(rm[i]);}}}qM.style.display='block';lL.rF=true;}else{lL.rF=false;var tk=true;for(i=0;i<MFUL.aUploaders.length;i++){if(MFUL.aUploaders[i]&&MFUL.aUploaders[i].G.rF)tk=false;}if(tk){qM.style.display='none';}if(rn){for(i=0;i<lL.rm.length;i++){lL.rm[i].style.visibility='visible';}lL.rm=new Array();}}};this.newOverlayDiv=function(uw,lJ,mz,sh,rb,Cf){var qR=document.createElement('DIV');qR.setAttribute('id',rb);qR.style.position=(rn?'absolute':'fixed');qR.style.width='1px';qR.style.height='1px';qR.style.top='0px';qR.style.left='0px';qR.style.zIndex='-10';qR.style.margin='0px';qR.style.padding='0px';MediaFireFlashEmbedder.embed(sh,hf.qy,uw,lJ,mz,qR,Cf);return qR;};this.configureStep=function(sP){var aB,P,i,rV;switch(String(sP)){case '1':hf.wS='1';aB=hf.getElementById('step1_upload_without_account');if(aB){aB.onclick=function(){hf.Ax(undefined);hf.G.wW('4');return false;};}break;aB=hf.getElementById('step1_close');if(aB){aB.onclick=function(){hf.G.xi(1);return false;};}break;case '2':hf.wS='2';if(aB=hf.getElementById('step2_proceed_anchor')){aB.onclick=function(){hf.flStep2CanProceed();return false;};}if(aB=hf.getElementById('step2_hide')){aB.onclick=function(){hf.G.xi(2);return false;};}if(aB=hf.getElementById('step2_cancel')){aB.onclick=function(){hf.G.xi(2);return false;};}if(aB=hf.getElementById('step2_select_existing_folder')){aB.onclick=function(){hf.G.wW('3');return false;};}break;case '3':hf.wS='3';if(aB=hf.getElementById('step3_folder_container')){ulConfig.AV(function(){hf.G.AY();},function(){hf.G.wW('2');},aB);}if(aB=hf.getElementById('step3_hide')){aB.onclick=function(){hf.G.xi(3);return false;};}if(aB=hf.getElementById('uploader_create_new_folder')){aB.onclick=function(){hf.G.wW('2');return false;};}if(ulConfig['dropbox_failure']){if(aB=hf.getElementById('step3_custom_greeting')){aB.innerHTML=ulConfig['dropbox_failure'];}if(aB=hf.getElementById('step3_dbx_folder')){aB.style.visibility='hidden';aB.onclick=function(){return false;};}return;}break;case '4':hf.wS='4';if(!hf.qL){if(ulConfig['folderkey']){hf.qL=ulConfig['folderkey'];}}aB=hf.getElementById('MediaFireStep4');if(aB&&typeof aB.style.MozUserSelect!="undefined"){aB.style.MozUserSelect="none";}aB=hf.getElementById('step4_file_container');hf.G.emptyContainer(aB);hf.sT=0;hf.qT=0;hf.rd=0;for(i=0;i<hf.es.length;i++){if(hf.es[i].disabled!==true){this.yG(hf.es[i]);}}if(aB=hf.getElementById('step4_title')){if(hf.fU==undefined)aB.innerHTML=ulConfig['text']['selectfiles'];else{P=ulConfig['text']['uploadto'];P=P.replace(/#FOLDERNAME#/g,hf.fU);aB.innerHTML=P;}}function sQ(){if(hf.qW&&hf.qW.style&&hf.qW.style.display!='none')hf.qW.style.display='none';};if(aB=hf.getElementById('step4_hide')){aB.onclick=function(){hf.G.xi(4);sQ();return false;};}if(aB=hf.getElementById('step4_cancel')){aB.onclick=function(){sQ();hf.G.xi(4);hf.cancelUploads();hf.reset();if(hf.G['xy']){hf.yq(true);}return false;};}if(aB=hf.getElementById('step4_begin_upload')){aB.onclick=function(){sQ();hf.beginUpload();return false;};aB.onselectstart=function(){return false;};}hf.getElementById('step4_size_error');hf.getElementById('step4_green_link');hf.getElementById('step4_red_link');break;case '5':hf.wS='5';if(hf.fU&&hf.fU.indexOf(sb)!= -1){rV=true;}else{hf.mO=tO+hf.qL;}hf.getElementById('step5_kbps_text');if(aB=hf.getElementById('step5_hide')){aB.onclick=function(){hf.hidden=true;hf.G.xi(5);MFUL.uploaderBar.show();MFUL.uploaderBar.Ay(hf.qy);return false;};}if(aB=hf.getElementById('step5_title')){if(hf.fU!=undefined){P=ulConfig['text']['uploadto'];P=P.replace(/#FOLDERNAME#/g,hf.fU);aB.innerHTML=P;}}if(aB=hf.getElementById('step5_file_progress_bar')){aB.style.width=hf.rC.CE;}this.ym('step5_total',hf.qT,hf.rd);if(hf.rC.Cx)hf.rC.sd();if(aB=hf.getElementById('step5_total_progress_text')){aB.innerHTML='0%';}if(rV){if(aB=hf.getElementById('step5_copy_url_text')){aB.style.display='none';}if(aB=hf.getElementById('step5_url_container')){aB.innerHTML=ulConfig['text']['noSharingMainFolderMessage'];}if(aB=hf.getElementById('step5_uploader_folder_sharekey')){aB.style.display='none';}hf.getElementById('step5_folder_anchor');}else{hf.getElementById('step5_copy_url_text');hf.getElementById('step5_url_container');if(aB=hf.getElementById('step5_uploader_folder_sharekey')){aB.value=hf.mO;aB.onfocus=function(){this.select();};aB.readOnly=true;}if((aB=hf.getElementById('step5_folder_anchor'))&&hf.fU){var fU=hf.fU;i=fU.indexOf(' (tK folder)');if(i== -1)aB.innerHTML=fU;else aB.innerHTML=fU.slice(0,i);aB.href=hf.mO;aB.target='_blank';}}if(hf.rR){var vA=['step5_total','step5_clipboard_copy','step5_eta_title','step5_time_remaining','step5_kbps_slider','step5_kbps_text'];for(var i=0;i<vA.length;i++){if(aB=hf.getElementById(vA[i])){aB.style.visibility='hidden';}}var Et=['step5_speedometer_div','step5_upload_status_header','step5_upload_status'];for(var i=0;i<Et.length;i++){if(aB=hf.getElementById(Et[i])){aB.style.display='none';}}}if(aB=hf.getElementById('step5_file_container')){hf.G.emptyContainer(aB);for(i=0;i<hf.es.length;i++){if(hf.es[i].disabled!==true){this.AO(hf.es[i],i);}}try{if(aB.focus){aB.focus();}}catch(e){}}break;case '6':hf.wS='6';if(hf.fU&&hf.fU.indexOf(sb)!= -1)rV=true;else hf.mO=tO+hf.qL;this.ym('step6_total_progress_text',hf.qT,hf.rd);var i;var zz=0;var wy='';for(i=0;i<hf.es.length;i++){if(hf.es[i].rr==true&&hf.es[i].BC!='-13'&&hf.es[i].BC!='-13'){zz++;wy=hf.es[i].vr;}}if(zz){if((aB=hf.getElementById('step6_custom_thanks'))&&ulConfig['errors']['general']['unfortunately']){aB.innerHTML=ulConfig['errors']['general']['unfortunately']+' ('+wy+')';}if((aB=hf.getElementById('step6_dropbox_completion'))&&ulConfig['errors']['general']['failedUpload']){aB.innerHTML=ulConfig['errors']['general']['failedUpload'];}}if(aB=hf.getElementById('step6_close')){aB.onclick=function(){var J=document.getElementById(rP);if(!(J&&J.style.display!='none')){hf.G.xi(6);hf.reset();}if(J){var qZ=J.parentNode;qZ.removeChild(J);J=undefined;}return false;};}if(sq()){if(aB=hf.getElementById('step6_view_uploaded_files')){aB.innerHTML=ulConfig['step6']['myfilesbutton'];aB.onclick=function(){hf.G.xi(6);hf.reset();var J=document.getElementById(rP);if(J){var qZ=J.parentNode;qZ.removeChild(J);J=undefined;}return false;};}}else if(vx()){if(aB=hf.getElementById('step6_view_uploaded_files')){aB.href=vq;aB.target='_self';}if(aB=hf.getElementById('step6_view_uploaded_files_img')){aB.src=En;}}else{if(rV){if(aB=hf.getElementById('step6_view_uploaded_files')){aB.href=vq;aB.target='_blank';}}else{if(aB=hf.getElementById('step6_view_uploaded_files')){aB.href=hf.mO;aB.target='_blank';}}}aB=hf.getElementById('step6_file_container');hf.G.emptyContainer(aB);for(i=0;i<hf.es.length;i++){if(hf.es[i].disabled!==true){this.AK(hf.es[i],i);}}if(rV){if(aB=hf.getElementById('step6_url_container')){aB.innerHTML=ulConfig['text']['noSharingMainFolderMessage'];}if(aB=hf.getElementById('step6_uploader_folder_sharekey')){aB.style.visibility='hidden';}hf.getElementById('step6_folder_anchor');}else{hf.getElementById('step6_url_container');if(aB=hf.getElementById('step6_uploader_folder_sharekey')){aB.value=hf.mO;aB.onfocus=function(){this.select();};aB.readOnly=true;}aB=hf.getElementById('step6_folder_anchor');if(aB&&hf.fU){aB.innerHTML=hf.fU;aB.href=hf.mO;aB.target='_blank';}}break;case '7':hf.wS='7';if(aB=hf.getElementById('step7_return')){aB.onclick=function(){hf.G.wW('6');return false;};}break;default:break;}if(ulConfig['config']['custom_greeting']&&(aB=hf.getElementById('step'+sP+'_custom_greeting'))){aB.innerHTML=ulConfig['config']['custom_greeting'];}if(ulConfig['config']['custom_header']&&(aB=hf.getElementById('step'+sP+'_custom_header'))){aB.innerHTML=ulConfig['config']['custom_header'];}};this.flStep4HidePopup=function(){if(this.qP){this.qP.style.display='none';var qZ=this.qP.parentNode;qZ.removeChild(this.qP);this.qP=undefined;var rU=hf.getElementById('step4_uploader_add_files');if(rU){rU.style.visibility='visible';}this.zi('step4_uploader_add_files');}};this.configureNonFlashLinks=function(){var aB,BY;switch(String(hf.wS)){case '4':BY=function(){hf.noFlashAddFile();hf.rJ=false;return false;};if(aB=hf.getElementById('step4_uploader_add_files')){aB.onclick=BY;}if(aB=hf.getElementById('step4_info_popup')){aB.onclick=BY;}if(hf.rJ)BY();break;case '6':BY=function(){hf.flStep6ClearUploads();hf.noFlashAddFile();hf.rJ=false;return false;};aB=hf.getElementById('step6_upload_more');if(aB){aB.onclick=BY;}if(hf.rJ)BY();break;default:break;}};this.Eb=function(xq){var aB;switch(String(xq)){case '4':if(aB=hf.getElementById('step4_uploader_add_files')){aB.onclick=function(){hf.rJ=true;return false;};}if(aB=hf.getElementById('step4_info_popup')){aB.onclick=function(){hf.rJ=true;return false;};}break;case '6':var zu=hf.getElementById('step6_upload_more');if(zu){zu.onclick=function(){hf.rJ=true;return false;};}break;default:break;}};this.DD=function(su){var aB;switch(String(su)){case '2':this.Ba('step2_proceed');if(aB=hf.getElementById('step2_new_folder_name')){aB.focus();}hf.Cc='2';break;case '3':this.AW('step3_dbx_folder');break;case '4':if(ulConfig['step4']['info_popup']&&String(hf.Cc)!='6'){var rU=hf.getElementById('step4_uploader_add_files');if(rU){rU.style.visibility='hidden';}var tn=xN+'4Popup_'+hf.qy;var uG=xN+'4InnerPopup_'+hf.qy;if(!this.qP){this.qP=hf.getElementById(tn);this.qP=document.createElement('DIV');document.body.appendChild(this.qP);this.qP.id=tn;this.qP.onmousedown=function(){return false;};this.qP.style.position=(rn?'absolute':'fixed');this.qP.style.display='none';this.qP.style.zIndex=qY+4;this.si=document.createElement('DIV');this.si.id=uG;this.qP.appendChild(this.si);var rQ=ulConfig['step4']['info_popup'];rQ=rQ.replace(/#INSTANCE#/g,hf.qy);this.si.innerHTML=rQ;this.si.onmousedown=function(){return false;};}else{this.qP.style.position=(rn?'absolute':'fixed');this.qP.style.display='none';this.qP.style.zIndex=qY+4;}this.xD(this.qP);this.AM(this.si.id);}else{this.zi('step4_uploader_add_files');}break;case '5':if(hf.fU&&hf.fU.indexOf(sb)== -1){hf.overlayElementWithClipboardApp(hf.mO,'step5_clipboard_copy');hf.getElementById('step5_copy_url_text');}else{hf.getElementById('step5_clipboard_copy');if(aB=hf.getElementById('step5_copy_url_text')){aB.style.visibility='hidden';}}break;case '6':if(hf.fU&&hf.fU.indexOf(sb)== -1){hf.overlayElementWithClipboardApp(hf.mO,'step6_clipboard_copy');hf.getElementById('step6_copy_url_text');}else{hf.getElementById('step6_clipboard_copy');if(aB=hf.getElementById('step6_copy_url_text')){aB.style.visibility='hidden';}}var tT=hf.getElementById('step6_clipboard_copy');if(tT){tT.onclick=function(){MFUL.flDisplayTooltip(this.id,ulConfig['text']['unavailable']);};}this.AL('step6_upload_more');if(aB=hf.getElementById('step6_close')){try{aB.focus();}catch(e){};}break;case '7':if(aB=hf.getElementById('step7_return')){try{aB.focus();}catch(e){};}break;default:break;}if(hf.rR)this.configureNonFlashLinks();};this.Ba=function(lX){hf.overlayElementWithUploader(lX);};this.AM=function(lX){hf.Cc='4p';hf.overlayElementWithUploader(lX,true);};this.zi=function(lX){hf.Cc='4';hf.overlayElementWithUploader(lX);};this.AL=function(lX){hf.overlayElementWithUploader(lX);hf.Cc='6';};this.AW=function(lX){if(hf.getElementById(lX)){hf.Cc='3db';hf.overlayElementWithUploader(lX);}};this.createFileSharePopup=function(g){if(sq())this.createMyFilesSharePopup(g);else this.createNormalFileSharePopup(g);};this.createMyFilesSharePopup=function(g){var jK=2;var eu=60;var eC=0;for(;eC<es.length&&es[eC][3]!=g.quickKey;eC++);var J=document.getElementById(rP);if(!J){J=document.createElement('DIV');J.id=rP;document.body.appendChild(J);}J.style.display='none';J.innerHTML=ulConfig['myfilespopup'];var ry=document.getElementById('myfiles_popup_inner');if(ry){if(!ry.className||ry.className=='hide'){ry.innerHTML=bh(eH[jK],eC,eu,'');}ry.className=='hide'?ry.className='actions':ry.className='hide';ae('sharetabsfile'+eu+'-',1);ad(0,document.getElementById('sharetemplatefile'+eu),eu,'sharedtabsfileinfo'+eu+'-');if(aB=hf.getElementById('share_popup_close')){aB.onclick=function(){var qZ=J.parentNode;qZ.removeChild(J);J=undefined;return false;};}this.xD(J);J.style.zIndex=qY+20;}};this.createNormalFileSharePopup=function(g){var wf=tI+'?'+g.quickKey;var to=tI+'file/'+g.quickKey+'/'+escape(g.qv);var wo=String(ulConfig['text']['embedCode']).replace(/#SHAREKEY#/g,g.quickKey);var J=document.getElementById(rP);if(!J){J=document.createElement('DIV');J.id=rP;J.style.display='none';document.body.appendChild(J);}J.innerHTML=ulConfig['sharepopup'];if(aB=hf.getElementById('share_popup_filename')){aB.innerHTML=g.qv;}if(aB=hf.getElementById('share_popup_close')){aB.onclick=function(){var qZ=J.parentNode;qZ.removeChild(J);J=undefined;return false;};}if(aB=hf.getElementById('share_popup_url')){aB.value=wf;aB.onfocus=function(){this.select();};aB.readOnly=true;}if(aB=hf.getElementById('share_popup_view_url')){aB.href=wf;aB.target='_blank';}if(aB=hf.getElementById('share_popup_url_filename')){aB.value=to;aB.onfocus=function(){this.select();};aB.readOnly=true;}if(aB=hf.getElementById('share_popup_view_url_filename')){aB.href=wf;aB.target='_blank';}if(aB=hf.getElementById('share_popup_embed_code')){aB.value=wo;aB.onfocus=function(){this.select();};aB.readOnly=true;}this.xD(J);J.style.zIndex=qY+20;var lJ,mz;if(aB=hf.getElementById('share_popup_copy_url')){lJ=aB.offsetWidth;mz=aB.offsetHeight;hf.overlayElementWithClipboardApp(wf,'share_popup_copy_url');}if(aB=hf.getElementById('share_popup_copy_url_filename')){lJ=aB.offsetWidth;mz=aB.offsetHeight;hf.overlayElementWithClipboardApp(to,'share_popup_copy_url_filename');}if(aB=hf.getElementById('share_popup_embed_copy_code')){lJ=aB.offsetWidth;mz=aB.offsetHeight;hf.overlayElementWithClipboardApp(wo,'share_popup_embed_copy_code');}};};};F.prototype.cancelUploads=function(){for(var i=0;i<this.es.length;i++){var g=this.es[i];if(!g.rq&& !g.vr){g.vr=ulConfig['errors']['general']['canceled'];}else if(g.rq&& !g.quickKey){g.vr=ulConfig['errors']['general']['unfinishedPolling'];}this.rA=this.qT;g.rq=false;g.rr=true;}this.toFlash('flCancelUploads');if(ulConfig['events']['oncanceluploads']){eval(ulConfig['events']['oncanceluploads']);}this.CF=true;this.Cq=false;var Cs=true;for(var i=0;i<MFUL.aUploaders.length;i++){if(MFUL.aUploaders[i].Cq)Cs=false;}if(Cs)window.onbeforeunload=null;};F.prototype.getElementById=function(lX){var aB;if(aB=document.getElementById(lX+'_'+String(this.qy)))return aB;if(aB=document.getElementById(lX)){aB.id=lX+'_'+String(this.qy);return aB;}else return undefined;};F.prototype.flGetCurrentRole=function(){return this.Cc;};F.prototype.Ao=function(){if(this.rF===true)this.G.blanket(true);};F.prototype.hideBlanket=function(){if(this.rF===true)this.G.blanket(false);};function tU(je,ik){this.qv=je;this.ik=ik;this.DF=0;this.rj=0;this.AJ=AT++;};F.prototype._reset=function(){this.sX=false;this.es=new Array();this.sT=0;this.qT=0;this.rd=0;this.ss=0;this.rA=0;this.ri=0;this.rB=0;};F.prototype.flStep6ClearUploads=function(){this._reset();this.G.wW('4');};F.prototype.reset=function(){this._reset();this.toFlash('flRemoveAllFiles');this.Cc=undefined;this.wS=undefined;};F.prototype.AG=function(lX){this.Dz=lX;};F.prototype.writeError=function(vU){var Dw;if(this.Dz&&(Dw=document.getElementById(this.Dz))){Dw.innerHTML+=vU+'<br />';}else{alert(vU);}};F.prototype.flAddFileFromFlash=function(je,ik,rY){var BK=new tU(je,ik);var I=this.es.push(BK)-1;BK.rY=rY;BK.I=I;BK.uploadType='flash';this.toFlash('flSetExternalId',[rY,I]);this.G.yG(BK);};F.prototype.addFileFromForm=function(je,sg){var BK=new tU(je,uV);var I=this.es.push(BK)-1;BK.I=I;BK.sg=sg;BK.uploadType='post';this.G.yG(BK);};F.prototype.Az=function(qL,fU,uB,ug,email){var lL=this;if(ulConfig.vX==undefined||ulConfig.xm==undefined)ulConfig.xW();var ez=uW+'?ukey='+ulConfig.vX+'&user='+ulConfig.xm+'&uploadkey='+qL+(ulConfig['MFULConfig']?'&MFULConfig='+ulConfig['MFULConfig']:'');var BB='foldername='+escape(fU);if(uB!==undefined&&uB!='')BB+='&tags='+escape(uB);if(ug!==undefined&&ug!='')BB+='&desc='+escape(ug);if(email!=undefined&&email!='')BB+='&email='+escape(email);var sm=ulConfig.rs();if(sm!=undefined){sm.onreadystatechange=function(sC){if(sm.readyState==4&&sm.status==200){var V=ulConfig.rp(sm.responseText);var BC=V.documentElement.getElementsByTagName('setfolder')[0].getElementsByTagName('result')[0].firstChild.nodeValue;if(BC!='0'){alert('Unable to set folder name. '+ulConfig.xh('setfolder',BC));return false;}}};sm.open('POST',ez,true);sm.setRequestHeader('Content-type','application/x-www-form-urlencoded');sm.setRequestHeader('Content-length',BB.length);sm.setRequestHeader('Connection','close');sm.send(BB);}};F.prototype.disableFile=function(g){g.disabled=true;this.qT--;if(g.uploadType=='flash'){this.toFlash('flRemoveFile',[g.rY]);this.rd-=g.ik;}};F.prototype.flStep3Proceed=function(){this.G.wW('4');};F.prototype.flStep2CanProceed=function(){var o=new Object();o.proceed=false;var aB=this.getElementById('step2_new_folder_name');if(aB!=undefined&&aB.value!=''){this.fU=aB.value;o.proceed=true;aB=this.getElementById('step2_new_tags');if(aB)this.uB=aB.value;aB=this.getElementById('step2_new_description');if(aB)this.ug=aB.value;this.createFolder(this.fU,this.uB,this.ug);this.G.wW('4');o.proceed=true;}return o;};function ty(step){switch(String(step)){case '0':return '1';case '1':return '3';case '2':case '3':return '4';case '4':return '5';case '5':return '6';case '6':return '7';case '7':return '4';}};var CG;function vx(){if(CG===undefined){var aB=document.getElementById('pagename');if(aB&&aB.value=='upload')CG=true;else CG=false;}return CG;};var CH;function sq(){if(CH===undefined){var aB=document.getElementById('pagename');if(aB&&aB.value=='myfiles')CH=true;else CH=false;}return CH;};F.prototype.updateMyFilesPageWithNewFile=function(g){var lL=this;try{var ez=vh+(ulConfig['MFULConfig']?'?MFULConfig='+ulConfig['MFULConfig']:'');var BB='filename='+escape(g.qv);BB+='&quickkey='+escape(g.quickKey);var sm=ulConfig.rs();if(sm!=undefined){sm.open('POST',ez,false);sm.setRequestHeader('Content-type','application/x-www-form-urlencoded');sm.setRequestHeader('Content-length',BB.length);sm.setRequestHeader('Connection','close');sm.send(BB);if(sm.status==200||sm.statusText=='OK'){try{var V=ulConfig.rp(sm.responseText);var aB,tP;if(V&&V.documentElement&&V.documentElement.getElementsByTagName&&(tP=V.documentElement.getElementsByTagName('file'))){if(aB=tP[0].getElementsByTagName('filetype'))g.type=aB[0].firstChild.nodeValue;if(aB=tP[0].getElementsByTagName('sharekey'))g.mO=aB[0].firstChild.nodeValue;}}catch(e){var rr=true;setTimeout(function(){lL.Es(g);},2000);return;}}this.Es(g);}}catch(e){setTimeout(function(){lL.Es(g);},2000);}};F.prototype.Es=function(g){var Q=new Array();Q[0]='1';Q[1]='1';Q[2]=parseInt(g.type,10)||0;Q[3]=g.quickKey;Q[4]=this.Cn;Q[5]=g.qv;Q[6]=String(g.ik);var Do=rS(g.ik);var ik=String(parseFloat(Do));var EA=(Do.substr(ik.length)||'B');Q[7]=String(parseFloat(Do));Q[8]=EA;Q[9]='0';var Da=new Date();var CP=Da.getMonth();if(CP<10)CP='0'+CP;var day=Da.getDate();if(day<10)day='0'+day;var ED=Da.getFullYear();Q[10]=CP+'/'+day+'/'+ED;Q[11]='0';Q[12]='';Q[13]='';Q[14]='';Q[15]=g.mO||'';function rN(arr){for(var i=0;i<arr.length;i++){arr[i][1]++;}};rN(oe);oe=[Array(Q[3],0)].concat(oe);rN(kX);kX=[Array(Q[5],0)].concat(kX);rN(kJ);kJ=[Array(Q[10],0)].concat(kJ);rN(ld);ld=[Array('0',0)].concat(ld);rN(ma);ma=[Array(Q[6],0)].concat(ma);es=[Q].concat(es);rN(fd);oO=String(parseInt(oO,10)+1);iQ=String(parseInt(iQ,10)+1);var lL=this;function tL(){if(eL==lL.Cn){eA= -1;RenderMyFiles(er,eN);}lL.tJ=false;};if(parseInt(g.type)==1){clearTimeout(this.zj);this.zj=setTimeout(tL,5000);this.tJ=true;}else if((this.qT-this.rA)==0&&this.ri<=1){clearTimeout(this.zj);lL.tJ=false;if(eL==lL.Cn){eA= -1;RenderMyFiles(er,eN);}}else{if(!this.tJ){this.zj=setTimeout(tL,10000);}this.tJ=true;}};F.prototype.yq=function(zg){if(sq()){var rz=0;for(;rz<es.length&&eL!=es[rz][3];rz++);if(rz==es.length){var qL=zb;var Cn=eU;var fU=sb;}else{var qL=es[rz][15];var Cn=es[rz][3];var fU=es[rz][5];}if(!this.qL){this.qL=qL;this.Cn=Cn;this.fU=fU;}else if(this.qL!=qL){for(var i=0;i<MFUL.aUploaders.length;i++){if(i!=this.qy&&MFUL.aUploaders[i].qL==qL){MFUL.aUploaders[i].yq(true);return;}}var EO=MFUL.newUploader();MFUL.Bq(EO.qy);return;}if(!this.wS||parseInt(this.wS,10)<4)this.wS='4';zg=true;}if(vx()&& !this.qL){if(!this.wS||parseInt(this.wS,10)<4)this.wS='4';this.qL=ulConfig['config']['folderkey'];this.fU=ulConfig['config']['foldername'];}if(this.hidden==true&&this.wS){this.hidden=false;this.G.wW(this.wS);return;}if(this.wS==undefined){this.wS='1';}else if(!zg)this.wS=ty(this.wS);while(ulConfig['step'+this.wS]&&ulConfig['step'+this.wS]['disabled']=='1'){this.wS=ty(this.wS);}this.hidden=false;this.G.wW(this.wS);};F.prototype.flUploadComplete=function(){this.rC.update(this.sJ,0,this.qy);this.yD(100);this.CF=true;this.Cq=false;var Cs=true;for(var i=0;i<MFUL.aUploaders.length;i++){if(MFUL.aUploaders[i].Cq)Cs=false;}if(Cs)window.onbeforeunload=null;if(ulConfig['events']['onuploadcomplete'])eval(ulConfig['events']['onuploadcomplete']);if(this.ri==0){this.uploadCompleteProceed();}};F.prototype.uploadCompleteProceed=function(){if(!this.Dm){this.Dm=true;for(var i=0;i<this.es.length;i++){if(!this.es[i].disabled&& !this.es[i].completeVerify&& !this.es[i].rr){this.Dm=undefined;return;}}if(this.hidden==true){this.G.wW('7');}else{this.G.wW('6');}this.Dm=undefined;}};F.prototype.flUpdateFileCompleteFromFlash=function(I,wh){var wZ=ulConfig.rp(wh);var g=this.es[I];this.updateFileCompleteXML(g,wZ);};F.prototype.updateFileCompleteXML=function(g,wZ){if(wZ&&wZ.documentElement){try{g.BC=wZ.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('result')[0].firstChild.nodeValue;if(String(g.BC)=='0')g.key=wZ.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('key')[0].firstChild.nodeValue;}catch(e){g.vr=ulConfig['errors']['general']['noDataReturned'];g.rr=true;}}else{g.vr=ulConfig['errors']['general']['noDataReturned'];g.rr=true;}this.updateFileComplete(g);};F.prototype.updateFileComplete=function(g){this.rA++;var I=g.I;this.updateSlider(g);if(!(g.vr&&g.rr)){if(String(g.BC)=='0'){g.rq=true;g.rj=100;this.ss+=g.ik;}else{g.vr=ulConfig.xh('doupload',g.BC);g.rr=true;g.rj=0;}}var BE=document.getElementById('step5_file_progress_bar_'+this.qy+'_'+I);if(BE!=undefined){BE.style.width=g.rj+'%';BE.style.display='block';}if(g.rq){var wt=document.getElementById('step5_file_progress_text_'+this.qy+'_'+I);if(wt!=undefined){wt.innerHTML=ulConfig['text']['verifying'];}this.ri++;this.EH(g);}else{var wt=document.getElementById('step5_file_progress_text_'+this.qy+'_'+I);if(wt!=undefined){wt.innerHTML=ulConfig['text']['failed'];MFUL.xu(wt,(g.vr||ulConfig.xh('pollupload',g.errorCode)));wt.style.textDecoration='underline';}}this.ze();};F.prototype.flUpdateFileError=function(I,wy){var lL=this;var g=this.es[I];var DV=parseInt(ulConfig['config']['auto_retry_failed_upload']);g.DF+=1;if(DV&&g.DF>DV){g.vr=ulConfig['errors']['general']['httpError']+' : '+wy;g.rq=false;g.completeVerify=true;g.rj=0;this.updateFileComplete(g);if(lL.CF==true&&lL.ri==0){lL.uploadCompleteProceed();}}else{var Du=parseInt(ulConfig['config']['time_to_wait_between_autoretry']);if(Du)setTimeout(function(){lL.uploadById(I);},Du);else this.uploadById(I);}};F.prototype.EH=function(g){var lL=this;this.vT.push(g);if(!this.sK){this.sK=setInterval(function(){lL.EG();},uJ);}};F.prototype.EG=function(){if(this.tg>=uT){return;}if(!this.tc){this.tc=true;if(this.ri==0){clearInterval(this.sK);this.sK=undefined;this.tc=false;return;}if(this.vT.length>0)this.EN(this.vT[0]);this.vT.shift();this.tc=false;}};F.prototype.EN=function(g){var lL=this;lL.tg++;try{var ez=uY+'?key='+g.key+(ulConfig['MFULConfig']?'&MFULConfig='+ulConfig['MFULConfig']:'');if(xQ=='dropbox'&&g.ys)ez+='&desc='+escape(g.ys);var sm=ulConfig.rs();sm.onreadystatechange=function(sC){try{if(sm.readyState==4){if(sm.status==200){var V=ulConfig.rp(sm.responseText);if(V&&V.documentElement&&V.documentElement.getElementsByTagName('doupload')&&V.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('result')&&V.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('result')[0].firstChild.nodeValue){var BC=V.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('result')[0].firstChild.nodeValue;}else{var BC='-1';}if(String(BC)==='0'){var wm=V.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('status')[0].firstChild.nodeValue;if(String(wm)=='99'){if(V.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('fileerror')[0].firstChild!=undefined)g.errorCode=V.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('fileerror')[0].firstChild.nodeValue;else g.errorCode=undefined;if(V.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('quickkey')[0].firstChild!=undefined)g.quickKey=V.documentElement.getElementsByTagName('doupload')[0].getElementsByTagName('quickkey')[0].firstChild.nodeValue;if(g.quickKey!=undefined){var wt=document.getElementById('step5_file_progress_text_'+lL.qy+'_'+g.I);if(wt!=undefined){wt.innerHTML=ulConfig['text']['complete'];}if(sq())lL.updateMyFilesPageWithNewFile(g);}else{var wt=document.getElementById('step5_file_progress_text_'+lL.qy+'_'+g.I);if(wt!=undefined){wt.innerHTML=ulConfig['text']['failed'];MFUL.xu(wt,(g.vr||ulConfig.xh('pollupload',g.errorCode)));wt.style.textDecoration='underline';}}g.completeVerify=true;lL.ri--;if(lL.CF==true&&lL.ri==0){lL.uploadCompleteProceed();}}else{lL.vT.push(g);}}else{g.errorCode=BC;var wt=document.getElementById('step5_file_progress_text_'+lL.qy+'_'+g.I);if(wt!=undefined){wt.innerHTML=ulConfig['text']['failed'];MFUL.xu(wt,(g.vr||ulConfig.xh('polluploadresult',g.errorCode)));wt.style.textDecoration='underline';}g.completeVerify=true;lL.ri--;if(lL.CF==true&&lL.ri==0){lL.uploadCompleteProceed();}}}else{lL.vT.push(g);}lL.tg--;}}catch(e){lL.vT.push(g);lL.tg--;}};try{sm.open('GET',ez,true);sm.send(null);}catch(e){lL.tg--;}}catch(e){lL.tg--;}};function uR(qy){var lL=this;var rE=800;var AQ=1.25;var CV=15;var Cg;var CI;var Cd;var CA;var De;var CS;var Ev=0;var BS;var Eg=300;var CO;var EB=150;var DY=.09;var DZ=.01;var Cb=0;var hf;this.Cx=false;this.BM;this.BZ=0;this.CE=0;function __start(qy){hf=MFUL.aUploaders[qy];lL.Cx=true;CI=new Array();CA=0;Cg=0;Cd=0;lL.BM=0;BS=Ev;CO=Eg/8.0;lL.CE=0;for(var i=0;i<CV;CI[i++]=0);if(!hf.te){CS=setInterval(vf,EB);De=setInterval(lL.sd,rE);}};this.update=function(ra,vo,qy){if(!lL.Cx){__start(qy);}CA+=Math.max((ra/1024)||0,0);lL.BZ=vo;};this.stop=function(){if(lL.Cx){clearInterval(CS);clearInterval(De);}};this.sd=function(){var aB;if(hf.te){return;}if(lL.BZ>0){CI[Cg++]=CA;CA=0;if(Cg>=CV)Cg=0;if(Cd<Cg)Cd=Cg;var wp=0;for(var i=0;i<=Cd;i++)wp+=CI[i];lL.BM=wp/Cd*AQ;var DL=(lL.BM/10)*8;if(DL>CO&&Cd==CV)CO=DL;}else{lL.BM=0;}if(aB=hf.getElementById('step5_kbps_text')){if(lL.BM>0){var P=ulConfig['text']['kbps'];P=P.replace(/#KBPS#/g,String(Math.round(lL.BM*8)));aB.innerHTML=P;}else if(hf.Cq){aB.innerHTML=ulConfig['text']['calculatingKbps'];}else if(hf.qT==hf.rA){aB.innerHTML=ulConfig['text']['uploadComplete'];}else{aB.innerHTML=ulConfig['text']['noKbps'];}}if(aB=hf.getElementById('step5_time_remaining')){var Ci=(lL.BZ/1024)/lL.BM;if(lL.BZ>0&&isFinite(Ci)&&lL.BM>0){var DP=0;var DQ=0;if(Ci>Cb){DP=(Ci-Cb)/2;}else if(Ci<Cb){DQ=(Cb-Ci)/2;}var DX=Ci-Math.round(DP*DZ)+Math.round(DQ*DZ)+tH;var O=DX;var BD='';if(O>3600){var h=Math.floor(O/3600);O=O%(h*3600);BD+=' '+h+' Hours, ';}if(O>60){var m=Math.floor(O/60);O=O%(m*60);if(m>1)BD+=m+' Minutes';else BD+='1 Minute';}else if(O>1){O=Math.ceil(O/5)*5;if(O==0)O=5;BD+=O+' Seconds';}else if(h==undefined){BD='A few seconds...';}aB.innerHTML=BD;Cb=DX;}else if(lL.BZ==0){Cb=0;aB.innerHTML=ulConfig['text']['verifywait'];clearInterval(De);lL.Cx=false;}else{Cb=0;aB.innerHTML=ulConfig['text']['unknown'];}}};function vf(){if(lL.BZ!=0){var aB;var CN=Math.min(((lL.BM/CO)*100),100);var Dv=0;var Dt=0;if(CN>BS){Dv=(CN-BS)*DY;}else if(CN<BS){Dt=(BS-CN)*DY;}BS=BS+Dv-Dt;if(aB=hf.getElementById('step5_kbps_slider')){lL.CE=(Math.round(BS*10)/10)+'%';aB.style.width=lL.CE;}}else clearInterval(CS);}};F.prototype.flUpdateFileProgress=function(lX,rf,bytesUploaded){var aB;this.sX=true;this.rC.update(bytesUploaded-this.sJ,this.rd-(this.ss+bytesUploaded),this.qy);this.sJ=bytesUploaded;var g=this.es[lX];g.rj=rf;if(aB=this.getElementById('step5_current_file')){aB.innerHTML=this.es[lX].qv;}var wt=document.getElementById('step5_file_progress_text_'+this.qy+'_'+lX);if(wt!=undefined){wt.innerHTML=Math.floor(rf)+'%';}this.updateSlider(g);var Er=(this.ss+bytesUploaded)/this.rd*100;this.yD(Er);};F.prototype.updateSlider=function(g){var aB=document.getElementById('step5_file_progress_bar_'+this.qy+'_'+g.I);if(aB){aB.style.width=g.rj+'%';}};F.prototype.yD=function(rf){var wt;if(wt=this.getElementById('step5_total_progress_text')){wt.innerHTML=Math.floor(rf)+'%';}var BE=this.getElementById('step5_total_progress_bar');if(BE!=undefined){BE.style.width=rf+'%';BE.style.display='block';}};F.prototype.beginUpload=function(){if(ulConfig['dropbox']&&ulConfig['dropbox']['allow_description']=='1'){var i=0;var CU;while(g=this.es[i]){if(g.rj!=100&& !g.disabled&& !g.completeVerify&& !g.rq&& !g.vr&& !g.ys){CU=prompt('Please add a description for the file: "'+g.qv+'"');if(CU===null)return;g.ys=CU;}++i;}}if(this.qT){this.Cq=true;window.onbeforeunload=vn;}var vj=0;var CX=parseInt(ulConfig['config']['freq_upload_updates']);if(CX==0){vj=0;}else if(CX== -1){vj=250;}else{vj=CX*1000;}if(this.qT>0){this.G.flStep4HidePopup();this.G.wW('5');ulConfig.xW();fY[this.qy]=new Array();fY[this.qy][0]=ulConfig.xm;fY[this.qy][1]=ulConfig.vX;fY[this.qy][2]=(this.qL||ulConfig.qL);fY[this.qy][3]=vj;this.toFlash('flConfigureUpload',fY[this.qy]);this.ze();}};F.prototype.ze=function(){if(this.rB===undefined){this.rB=0;}while(this.rB<this.es.length){var g=this.es[this.rB];if(g.rj!=100&& !g.disabled&& !g.completeVerify&& !g.rq&& !g.vr){this.uploadById(this.rB);return;}this.rB++;}this.rC.stop();this.flUploadComplete();};F.prototype.uploadById=function(I){var lL=this;var g=this.es[I];if(g.uploadType=='flash')this.toFlash('flStartUpload',[g.rY,g.AJ]);if(g.uploadType=='post')this.uploadByPost(g);};F.prototype.uploadByPost=function(g){var aB;var lX=uF+'_'+g.I+'_'+this.qy;var lL=this;var uf=uh(lX);var vv=false;var vy=false;g.sg.target=lX;g.sg.action=vc+'?ukey='+fY[this.qy][1]+'&user='+fY[this.qy][0]+'&uploadkey='+fY[this.qy][2]+'&filenum='+g.I+'&uploader='+this.qy+(ulConfig['MFULConfig']?'&MFULConfig='+ulConfig['MFULConfig']:'');g.sg.submit();if(aB=this.getElementById('step5_kbps_text')){aB.innerHTML=ulConfig['text']['na'];}if(aB=this.getElementById('step5_time_remaining')){aB.innerHTML=ulConfig['text']['na'];}if(aB=this.getElementById('step5_current_file')){aB.innerHTML=g.qv;}var wt=document.getElementById('step5_file_progress_text_'+this.qy+'_'+g.I);if(wt!=undefined){wt.innerHTML=ulConfig['text']['working'];}var uK=(this.rA/this.qT)*100;this.yD(uK);};F.prototype.nonFlashUploadComplete=function(I,lV,fO){var g=this.es[I];g.BC=lV;g.key=fO;this.updateFileComplete(g);};function uh(lX){var qR=document.createElement('DIV');var uA='<iframe name="'+lX+'" id="'+lX+'" src="about:blank" style="width: 0px; height: 0px; border: 0px;"></iframe>';qR.innerHTML=uA;document.body.appendChild(qR);var uf=document.getElementById(lX);return uf;};F.prototype.toFlash=function(fn,BA){if(this.flash){var yp;try{if(BA==undefined)yp=this.flash[fn]();else yp=this.flash[fn](BA);}catch(e){}}if(yp)return yp;return false;};F.prototype.Ax=function(qv){this.fU=qv;};F.prototype.removeOverlays=function(){if(this.BN&&this.BN.wrapperDiv){this.BN.wrapperDiv.style.zIndex='-10';}};F.prototype.overlayElementWithUploader=function(lX,wc){if(MFUL.EF)return;if(ulConfig['dropbox_failure']){return;}var aB;if(aB=this.getElementById(lX)){lX=aB.id;if(!this.BN){this.BN=new Object();this.BN.rb=un+String(this.qy);this.BN.id=tC+String(this.qy);}this.overlayElement(this.BN,lX,tx,this.BN.id,this.BN.rb,wc);}};F.prototype.overlayElementWithClipboardApp=function(vU,lX,wc){var sk= ++this.sS;var rb=zB+'Outer'+String(sk);var sh=zB+String(sk);var rQ=ulConfig['text']['copiedToClipboard'];var BI=this.getElementById(lX);var Cf='&c='+escape(vU)+'&p='+escape(rQ);if(BI){if(this.rR){BI.style.visibility='hidden';return;}var sl=rW(BI);var lJ=sl[0];var mz=sl[1];var BU=this.G.newOverlayDiv(tz,lJ,mz,sh,rb,Cf);BI.style.borderWidth='0px';BI.style.margin='0px';BU.style.position='relative';BU.style.borderWidth='0px';BU.style.margin='0px';BU.style.width=lJ+'px';BU.style.height=mz+'px';BU.style.top='-'+(mz-2)+'px';BU.style.zIndex=BI.style.zIndex+1;var BF=document.createElement('DIV');BI.parentNode.insertBefore(BF,BI);BF.appendChild(BI);BF.appendChild(BU);BF.style.borderWidth='0px';BF.style.margin='0px';BF.style.width=lJ+'px';BF.style.height=(mz+2)+'px';BF.style.overflow='hidden';if(!wc){BF.onmouseover=function(){BI.style.textDecoration='underline';};BF.onmouseout=function(){BI.style.textDecoration='none';};}else{BF.onmouseover=function(){return false;};BF.onmouseout=function(){return false;};}}};F.prototype.configureFlash=function(){if(ulConfig['config']['single_upload']=='1'){this.toFlash('flSetSingleUpload');}if(xQ=='dropbox'){this.toFlash('flSetIsDropbox');}};F.prototype.overlayElement=function(wT,lX,ez,newId,rb,wc){var lL=this;var aB;if(aB=document.getElementById(lX)){wT.overlayedElement=aB;if(aB.tagName=='IMG'&&aB.complete==false){var lL=this;window.setTimeout(function(){lL.overlayElement(wT,lX,ez,newId,rb);},150);return;}}if(aB=document.getElementById(lX)){if(!wT.wrapperDiv){wT.wrapperDiv=this.G.newOverlayDiv(ez,'100%','100%',newId,rb);document.body.appendChild(wT.wrapperDiv);}var R=tE(aB);var sl=rW(aB);var lJ=sl[0];var mz=sl[1];var yE;var tu=false;function waitForFlash(){var rr=false;if(lL.flash){if(yE)clearInterval(yE);wT.wrapperDiv.style.zIndex=qY+10;lL.rR=false;lL.configureFlash();}else{rr=true;if(ulConfig['event']&&ulConfig['event']['onfailedflash']){exec(ulConfig['event']['onfailedflash']);}}if(!tu&&rr){setTimeout(waitForFlash,250);}};function giveupWaitingForFlash(){tu=true;MFUL.EF=true;lL.rR=true;lL.G.configureNonFlashLinks();wT.wrapperDiv.style.zIndex='-10';wT.wrapperDiv.style.display='none';};function ut(){if(!lL.wrapperPositioned){if(R.sr)wT.wrapperDiv.style.position=R.sr;else wT.wrapperDiv.style.position='absolute';}lL.wrapperPositioned=true;wT.wrapperDiv.style.left=R.x+'px';wT.wrapperDiv.style.top=R.y+'px';wT.wrapperDiv.style.width=lJ+'px';wT.wrapperDiv.style.height=mz+'px';wT.wrapperDiv.style.zIndex=qY+10;wT.wrapperDiv.style.display='block';if(typeof wT.wrapperDiv.style.MozUserSelect!="undefined"){wT.wrapperDiv.style.MozUserSelect="none";}};if(!wc){wT.wrapperDiv.onmouseover=function(){wT.overlayedElement.style.textDecoration='underline';};wT.wrapperDiv.onmouseout=function(){wT.overlayedElement.style.textDecoration='none';};}else{wT.wrapperDiv.onmouseover=function(){return false;};wT.wrapperDiv.onmouseout=function(){return false;};}ut();if(parseInt(ulConfig['config']['flashTimeout']))yE=setTimeout(function(){giveupWaitingForFlash();},parseInt(ulConfig['config']['flashTimeout'],10));waitForFlash();setTimeout(function(){if(lL.rR===undefined)wT.wrapperDiv.style.zIndex='-10';},1000);}};F.prototype.noFlashAddFile=function(){this.te=true;var rk=this;this.tS;function tp(aB){if(aB){var qR=document.createElement('DIV');var sz=rk.sz++;var vU=String(ulConfig['step4']['noFlashAddFileInput']);var wv=up+'_'+String(sz);var ws=um+'_'+String(sz);vU=vU.replace(/#FORMID#/g,wv+'_'+rk.qy);vU=vU.replace(/#INPUTID#/g,ws+'_'+rk.qy);qR.innerHTML=vU;aB.appendChild(qR);var ud=rk.getElementById(ws);if(ud){ud.onchange=function(){if(!this.wE&&this.value){this.wE=true;tp(aB);rk.G.xD(qW);}};}}};function tN(aB){if(aB){if(aB.nodeName=='FORM'){rk.tS=aB;}else if(aB.nodeName=='INPUT'&&aB.value){rk.addFileFromForm(aB.value,rk.tS);}if(aB.childNodes.length>0){for(var i=0;i<aB.childNodes.length;i++){tN(aB.childNodes[i]);}}}};var rI=this.rI++;var qW=document.createElement('DIV');var vU=ulConfig['step4']['noFlashAddFilePopup'];vU=rT(vU,rI);qW.innerHTML=rT(vU,this.qy);document.body.appendChild(qW);this.qW=qW;var tV=this.getElementById('add_file_popup_cancel_'+rI);if(tV){tV.onclick=function(){var qZ=qW.parentNode;qZ.removeChild(qW);qW=undefined;return false;};}var tY=this.getElementById('add_files_inner_'+rI);tp(tY);var tX=this.getElementById('add_file_popup_continue_'+rI);if(tX){tX.onclick=function(){rk.G.flStep4HidePopup();qW.style.display='none';tN(tY);return false;};}this.G.xD(qW);qW.style.zIndex=qY+4;};F.prototype.flFlashReady=function(){var DG=tC+String(this.qy);if(navigator.appName.indexOf('Microsoft')!= -1){this.flash=window[DG];}else{this.flash=document[DG];}MFUL.ER=true;return true;};function ub(yd){function rp(xP){var Cv;if(document.implementation.createDocument){var EJ=new DOMParser();Cv=EJ.parseFromString(xP,"text/xml")}else if(window.ActiveXObject){Cv=new ActiveXObject("Microsoft.XMLDOM");Cv.async="false";Cv.loadXML(xP)}return Cv;};function rs(){if(typeof XMLHttpRequest=="undefined")XMLHttpRequest=function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}throw new Error("This browser does not support XMLHttpRequest.")};return new XMLHttpRequest();};function so(node,zm){var o;if(node.childNodes!=undefined)if(node.childNodes.length==1&&node.childNodes[0].nodeValue!=undefined){return node.childNodes[0].nodeValue;}else{if(zm){o=zm;}else{o={};}for(var i=0;i<node.childNodes.length;i++){if(node.childNodes[i]!=undefined){if(o[node.childNodes[i].nodeName]==undefined)o[node.childNodes[i].nodeName]=so(node.childNodes[i]);else{if(o[node.childNodes[i].nodeName][1]==undefined){var EQ=o[node.childNodes[i].nodeName];o[node.childNodes[i].nodeName]=new Array(EQ,so(node.childNodes[i]));}else{o[node.childNodes[i].nodeName].push(so(node.childNodes[i]));}}}}return o;}};try{var sm=rs();sm.open('GET',us,false);sm.send(null);if(sm.status!=200||sm.statusText!='OK'){return undefined;}var V=rp(sm.responseText);var Bx=so(V.documentElement,yd);}catch(e){}if(!Bx){return false;}Bx.rp=rp;Bx.rs=rs;Bx.EL=function(ez,fn,errorId){var sm=this.rs();if(sm!=undefined){sm.onreadystatechange=function(sC){if(sm.readyState==4){if(sm.status==200){fn(Bx.rp(sm.responseText));}else{var vr='vj error. Unable to connect to server. Please check connection and try again.';if(errorId!=undefined){var aB;if(aB=document.getElementById(errorId)){aB.innerHTML=vr;}else{alert(vr);}}else{alert(vr);}}}};sm.open('GET',ez,true);sm.send(null);}};Bx.AV=function(fn,zt,aB){var vr;this.fa=new Array();sm=this.rs();if(this.vX==undefined||this.xm==undefined)this.xW();var ez=vi+'?ukey='+this.vX+'&user='+this.xm+(ulConfig['MFULConfig']?'&MFULConfig='+ulConfig['MFULConfig']:'');sm.open('GET',ez,true);sm.onreadystatechange=function(sC){if(sm.readyState==4){if(sm.status==200){Bx['folders']=new Array();var V=Bx.rp(sm.responseText);if(V.documentElement&&V.documentElement.getElementsByTagName('getuploadkey')[0]){var fa=V.documentElement.getElementsByTagName('getuploadkey')[0].getElementsByTagName('folders')[0].getElementsByTagName('folder');for(var i=0;i<fa.length;i++){var sD=new Object();sD['name']=fa[i].getElementsByTagName('name')[0].firstChild.nodeValue;sD['key']=fa[i].getElementsByTagName('key')[0].firstChild.nodeValue;Bx['folders'].push(sD);}if(typeof fn=='function')fn();}else{vr=ulConfig['text']['noFolders'];if(aB){aB.innerHTML=vr;}else alert(vr);if(typeof zt=='function'){zt();}}}else{vr=ulConfig['text']['checkConnection'];if(aB){aB.innerHTML=vr;}else alert(vr);}}};sm.send(null);};Bx.xW=function(){function tW(qv){var Dq=qv+'=';var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(Dq)==0)return c.substring(Dq.length,c.length);}return undefined;};if(!this.qL){this.qL=Bx['config']['folderKey']||'';}if(Bx['config']['user']&&Bx['config']['ukey']){this.xm=Bx['config']['user'];this.vX=Bx['config']['ukey'];}else{this.xm=tW('user')||'x';this.vX=tW('ukey')||'';}};Bx.xh=function(rO,sV){var CK=Bx['errors'][rO];if(CK!=undefined){for(var i=0;i<CK.error.length;i++){var errors=String(CK.error[i].numbers).split(',');for(var j=0;j<errors.length;j++){if(errors[j]==String(sV))return CK.error[i].name+' Error# '+sV;}}}return 'Unknown error ('+rO+'): '+sV;};if(Bx['dropbox']){var ye;function xd(qv){var i= -1;var wR;while(wR=ye[++i]){if(wR.selectorText==qv){return wR;}}};var By=Bx['dropbox'];var wR;if(!(ye=document.styleSheets[0].cssRules))ye=document.styleSheets[0].rules;if(ye){if(By.color_1&&(wR=xd('.dropbox_container'))){wR.style.background=By.color_1;}if(By.color_1&&(wR=xd('.dropbox_outer_container'))){wR.style.background=By.color_1;}if(By.color_2&&(wR=xd('.dropbox_header'))){wR.style.background=By.color_2;}if(By.color_2&&(wR=xd('.dropbox_progress_bar_container'))){wR.style.background=By.color_2;}if(By.color_3&&(wR=xd('.dropbox_header'))){wR.style.color=By.color_3;}if(By.color_3&&(wR=xd('.dropbox_status'))){wR.style.color=By.color_3;}if(By.color_3&&(wR=xd('.dropbox_progress_number'))){wR.style.color=By.color_3;}if(By.color_3&&(wR=xd('.dropbox_progress_bar'))){wR.style.background=By.color_3;}if(By.color_4&&(wR=xd('.dropbox_container'))){wR.style.color=By.color_4;}if(By.color_4&&(wR=xd('.dropbox_outer_container'))){wR.style.color=By.color_4;}if(By.color_5&&(wR=xd('.dropbox_link'))){wR.style.color=By.color_5;}if(By.color_5&&(wR=xd('.dropbox_completion'))){wR.style.color=By.color_5;}}}return Bx;};F.prototype.createFolder=function(fU,uB,ug){var lL=this;function myFunc(V){try{lL.createFolderResult=V.documentElement.getElementsByTagName('result')[0].childNodes[0].nodeValue;if(String(lL.createFolderResult)=='15'){lL.qL=V.documentElement.getElementsByTagName('key')[0].childNodes[0].nodeValue;lL.mO=lL.qL;lL.Az(lL.qL,fU,uB,ug);}else{alert(ulConfig['errors']['general']['createFolderFailure']+' '+ulConfig.xh('createfolder',lL.createFolderResult));}}catch(e){alert(ulConfig['errors']['general']['createFolderFailureNoResponse']);}};if(ulConfig.vX==undefined||ulConfig.xm==undefined)ulConfig.xW();var ez=ve+'?ukey='+ulConfig.vX+'&user='+ulConfig.xm+(ulConfig['MFULConfig']?'&MFULConfig='+ulConfig['MFULConfig']:'');ulConfig.EL(ez,myFunc);};var MediaFireFlashEmbedder=new function(){this.BO=(navigator.appVersion.indexOf('MSIE')!= -1)?true:false;this.BQ=(navigator.appVersion.toLowerCase().indexOf('win')!= -1)?true:false;this.BR=(navigator.userAgent.indexOf('Opera')!= -1)?true:false;var lL=this;function AC_FL_RunContent(){var Bz=AC_GetArgs(arguments,'movie','clsid:d27cdb6e-ae6d-11cf-96b8-444553540000','application/x-shockwave-flash');AC_Generateobj(Bz.objAttrs,Bz.BB,Bz.embedAttrs,Bz.Ca);};function AC_GetArgs(BA,srcParamName,classid,mimeType){var Bz=new Object();Bz.Ca=BA[0];Bz.embedAttrs=new Object();Bz.BB=new Object();Bz.objAttrs=new Object();for(var i=1;i<BA.length;i=i+2){var Ed=BA[i].toLowerCase();switch(Ed){case 'classid':break;case 'pluginspage':Bz.embedAttrs[BA[i]]=BA[i+1];break;case 'src':case 'movie':Bz.embedAttrs['src']=BA[i+1];Bz.BB[srcParamName]=BA[i+1];break;case 'onafterupdate':case 'onbeforeupdate':case 'onblur':case 'oncellchange':case 'onclick':case 'ondblclick':case 'ondrag':case 'ondragend':case 'ondragenter':case 'ondragleave':case 'ondragover':case 'ondrop':case 'onfinish':case 'onfocus':case 'onhelp':case 'onmousedown':case 'onmouseup':case 'onmouseover':case 'onmousemove':case 'onmouseout':case 'onkeypress':case 'onkeydown':case 'onkeyup':case 'onload':case 'onlosecapture':case 'onpropertychange':case 'onreadystatechange':case 'onrowsdelete':case 'onrowenter':case 'onrowexit':case 'onrowsinserted':case 'onstart':case 'onscroll':case 'onbeforeeditfocus':case 'onactivate':case 'onbeforedeactivate':case 'ondeactivate':case 'type':case 'codebase':case 'id':Bz.objAttrs[BA[i]]=BA[i+1];break;case 'width':case 'height':case 'align':case 'vspace':case 'hspace':case 'class':case 'title':case 'accesskey':case 'name':case 'tabindex':Bz.embedAttrs[BA[i]]=Bz.objAttrs[BA[i]]=BA[i+1];break;default:Bz.embedAttrs[BA[i]]=Bz.BB[BA[i]]=BA[i+1];}}Bz.objAttrs['classid']=classid;if(mimeType)Bz.embedAttrs['type']=mimeType;return Bz;};function AC_Generateobj(objAttrs,BB,embedAttrs,Ca){var vU='';if(lL.BO&&lL.BQ&& !lL.BR){vU+='<object ';for(var i in objAttrs){vU+=i+'="'+objAttrs[i]+'" ';}vU+='>';var qO=document.createElement(vU);Ca.appendChild(qO);for(var i in BB){var Dg=document.createElement('param');Dg.setAttribute('name',i);Dg.setAttribute('value',BB[i]);qO.appendChild(Dg);}}else{var qO=document.createElement('embed');Ca.appendChild(qO);for(var i in embedAttrs){qO.setAttribute(i,embedAttrs[i]);}}};this.embed=function(lX,qy,ez,lJ,mz,Ca,Cf){AC_FL_RunContent(Ca,'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0','width',lJ,'height',mz,'src',ez,'quality','high','pluginspage','http://www.adobe.com/go/getflashplayer','align','middle','wmode','transparent','play','true','loop','true','scale','showall','wmode','transparent','devicefont','false','id',lX,'bgcolor','#ffffff','name',lX,'menu','false','allowFullScreen','false','allowScriptAccess','sameDomain','movie',ez,'salign','','FlashVars','instance='+String(qy)+'&pId='+Ca.id+'&t='+ulConfig['config']['trackkey']+(Cf?Cf:''));};};this.uploaderBar=new function(){var lL=this;var DK='MFUL_uploader_bar_div';var rE=250;var CB=0;var CY=0;function uS(){var h=window.pageYOffset||document.body.scrollTop||document.documentElement.scrollTop;return h?h:0;};this.hide=function(){var aB;lL.Dn=false;if(aB=document.getElementById('mful_outer_div')){var p=aB.parentNode;p.removeChild(aB);}if(aB=document.getElementById(DK)){var p=aB.parentNode;p.removeChild(aB);}lL.CD=undefined;};this.show=function(lX){var aB=document.getElementById(lX);if((lX==undefined||aB==undefined)&&lL.CD==undefined){aB=document.createElement('DIV');}if(aB!=undefined){if(lL.DJ){lL.qO=document.getElementById(lL.DJ);}var mz=uS();aB.innerHTML=ulConfig['uploaderbar'];aB.id=DK;aB.style.zIndex=qY+1;aB.style.width='100%';aB.style.display='none';if(lL.qO){lL.qO.appendChild(aB);}else{aB.style.position='absolute';aB.style.bottom='-'+mz+'px';document.body.appendChild(aB);}lL.Dn=true;lL.CD=aB;ux();if(rn&&ulConfig['uploaderbarIE6fix']){eval(ulConfig['uploaderbarIE6fix']);}}};this.Ay=function(qy){var aB;lL.tF=qy;if(aB=document.getElementById('mful_bar_restore_uploader')){aB.style.visibility='visible';}};function ux(){var aB;if(aB=document.getElementById('mful_bar_restore_uploader')){aB.onclick=function(){MFUL.Bq(lL.tF);this.style.visibility='hidden';return false;};}if(aB=document.getElementById('mful_bar_cancel')){aB.onclick=function(){var BC=confirm(ulConfig['text']['wantToCancelAll']);if(BC==true){for(var i=0;i<MFUL.aUploaders.length;i++){MFUL.aUploaders[i].cancelUploads();MFUL.aUploaders[i].hidden=false;MFUL.aUploaders[i].uploadCompleteProceed();}lL.hide();MFUL.Bq(lL.tF);}return false;};}if(lL.updateFunction==undefined)lL.updateFunction=setInterval(sd,rE);else{clearInterval(lL.updateFunction);lL.updateFunction=setInterval(sd,rE);}};function sd(){var aB;var DU=0;var CW=0;var Ce=0;var xa=0;var rZ=0;for(var i=0;i<MFUL.aUploaders.length;i++){if(MFUL.aUploaders[i]&&MFUL.aUploaders[i].sX){DU+=MFUL.aUploaders[i].rC.BM;CW+=MFUL.aUploaders[i].rC.BZ;xa+=MFUL.aUploaders[i].rd;Ce+=MFUL.aUploaders[i].qT-MFUL.aUploaders[i].rA;rZ+=MFUL.aUploaders[i].ri;}}xa+=CY;if(xa<CB){var DS=CB-xa;CY+=DS;xa+=DS;}CB=xa;var sU=xa-CW;if(isFinite(sU)&&sU>0)var rf=(sU/xa)*100;else var rf=0;if(Ce==0&&rZ==0){clearInterval(lL.updateFunction);lL.updateFunction==undefined;lL.hide();CB=0;CY=0;}if(aB=document.getElementById('mful_bar_text')){if(Ce==1)aB.innerHTML=ulConfig['text']['onefileremaining'];else if(Ce==0&&rZ==1){aB.innerHTML=ulConfig['text']['pollingfile'];}else if(Ce==0){var P=ulConfig['text']['pollingfiles'];P=P.replace(/#FILESPOLLING#/g,rZ);aB.innerHTML=P;}else{var P=ulConfig['text']['filesremaining'];P=P.replace(/#REMAININGFILES#/g,Ce);aB.innerHTML=P;}}if(aB=document.getElementById('mful_bar_text_progress')){aB.innerHTML=Math.floor(rf)+'%';}if((aB=document.getElementById('mful_bar_progress'))&&isFinite(rf)){aB.style.width=rf+'%';}if(aB=document.getElementById('mful_bar_time')){var BD='';var sR=Math.ceil(CW/(DU*1024));if(!isFinite(sR))sR=0;var O=sR+(tH*rZ);if(isFinite(O)){if(O>3600){var h=Math.floor(O/3600);O=O%(h*3600);BD+=' '+h+'hr ';}if(O>60){var m=Math.floor(O/60);O=O%(m*60);if(m>1)BD+=m+'min ';else BD+='1min ';}else if(O>5){O=Math.ceil(O/5)*5;if(O==0)O=5;BD+=O+'sec';}else{BD=ulConfig['text']['fewseconds'];}aB.innerHTML=BD;}else{aB.innerHTML=ulConfig['text']['unknown'];}}if(lL.Dn==true&&lL.CD){lL.CD.style.display='block';lL.Dn==false;}}};this.xu=function(xM,vU){var aB;var lL=this;var vp=15;var Eu=10;var DT=1000;if(lL.vj)clearTimeout(lL.vj);function uQ(e){e=e||window.event;var Cw={x:0,y:0};if(e.pageX||e.pageY){Cw.x=e.pageX;Cw.y=e.pageY;}else{var de=document.documentElement;var b=document.body;Cw.x=e.clientX+(de.scrollLeft||b.scrollLeft)-(de.clientLeft||0);Cw.y=e.clientY+(de.scrollTop||b.scrollTop)-(de.clientTop||0);}return Cw;};if(typeof xM=='string'){aB=document.getElementById(xM);}else{aB=xM;}if(aB){if(!lL.BG){lL.BG=document.createElement('DIV');lL.BG.style.display='none';lL.BG.style.zIndex=qY+5;lL.BG.style.position='absolute';document.body.appendChild(lL.BG);}lL.BG.onmouseover=function(){clearTimeout(lL.vj);};lL.BG.onmouseout=function(){clearTimeout(lL.vj);lL.vj=setTimeout(tZ,DT);};function tZ(){lL.BG.style.display='none';};aB.onmouseout=function(){clearTimeout(lL.vj);lL.vj=setTimeout(tZ,DT);};var evtDisplayTooltip=function(evt){lL.BG.innerHTML=ulConfig['errorToolTip'].replace(/#ERRORTEXT#/,vU);clearTimeout(lL.vj);var R=uQ(evt);var x=R.x+Eu;var y=R.y+vp;lL.BG.style.top=y+'px';lL.BG.style.left=x+'px';lL.BG.style.display='block';};aB.onmouseover=evtDisplayTooltip;}};this.flDisplayTooltip=function(lX,vU){var vj=3000;var sk= ++this.sS;var ur='MFULTooltip'+(sk-1);var wx='MFULTooltip'+(sk);var aB=document.getElementById(ur);if(aB)aB.style.display='none';if(aB=document.getElementById(lX)){var sa=rW(aB);lJ=sa[0];mz=sa[1];var qU=document.createElement('DIV');qU.innerHTML=String(ulConfig['toolTip']).replace(/#TEXT#/,vU);qU.style.position=(rn?'absolute':'fixed');qU.style.top='-2000';qU.style.display='inline';document.body.appendChild(qU);qU.id=wx;var vp=qU.offsetHeight;qU.style.zIndex=qY+100;qU.style.display='none';var R=tE(aB);qU.style.position=R.sr;qU.style.left=(R.x+lJ)+'px';qU.style.top=(R.y-vp)+'px';qU.style.display='block';setTimeout(function(){qU.parentNode.removeChild(qU);qU=undefined;},vj);}};function tE(e){var R=new Object();R.x=0;R.y=0;R.sr=undefined;if(e.offsetParent){R.x+=e.offsetLeft;R.y+=e.offsetTop;do{e=e.offsetParent;R.x+=e.offsetLeft;R.y+=e.offsetTop;}while(e.offsetParent&&e.style.position!='absolute'&&e.style.position!='fixed');R.sr=(e.style.position||'absolute');}return R;};function vn(){var Dp=0;for(var i=0;i<MFUL.aUploaders.length;i++){if(MFUL.aUploaders[i]&&MFUL.aUploaders[i].qT)Dp+=MFUL.aUploaders[i].qT-(MFUL.aUploaders[i].rA||0);}var vU;if(Dp>1){vU=ulConfig['text']['browseAwayPlural'];vU=vU.replace(/#FILENUM#/,Dp);}else{vU=ulConfig['text']['browseAwaySingular'];}return vU;};function rT(vU,qy){var Av=/\b(id=")(\w*)(")/gi;var Ar=/\b(id=')(\w*)(')/gi;vU=vU.replace(Av,"$1$2_"+qy+"$3");vU=vU.replace(Ar,"$1$2_"+qy+"$3");return vU;};function rW(aB){var lJ=aB.offsetWidth||0;var mz=aB.offsetHeight||0;for(var i=0;i<aB.childNodes.length;i++){var vY;vY=rW(aB.childNodes[i]);lJ=Math.max(lJ,vY[0]);mz=Math.max(mz,vY[1]);}return[lJ,mz];};function uM(){var D=document;return Math.max(Math.max(D.body.scrollHeight,D.documentElement.scrollHeight),Math.max(D.body.offsetHeight,D.documentElement.offsetHeight),Math.max(D.body.clientHeight,D.documentElement.clientHeight));};function uP(){var D=document;return Math.max(Math.max(D.body.scrollWidth,D.documentElement.scrollWidth),Math.max(D.body.offsetWidth,D.documentElement.offsetWidth),Math.max(D.body.clientWidth,D.documentElement.clientWidth));};function rS(ra){if(ra>1099511627776)return String(Math.round(ra/10995116277.76)/100)+'TB';else if(ra>1073741824)return String(Math.round(ra/10737418.24)/100)+'GB';else if(ra>1048576)return String(Math.round(ra/10485.76)/100)+'MB';else if(ra>1024)return String(Math.round(ra/10.24)/100)+'KB';else return String(ra);};var rn=/msie|MSIE 6/.test(navigator.userAgent);var ulConfig=ub(yd);this.Dx=new F();this.Dx.AG('mf_text_status');this.aUploaders=new Array();this.aUploaders.push(this.Dx);var uj=new Image();uj.src=tx;var uk=new Image();uk.src=tz;}catch(e){this.Bq=function(){Dj(e);}}};