function MinPeriod() { var dt = new Date(); var MGroup=dt.getHours(); if(MGroup==0||MGroup==3||MGroup==6||MGroup==9||MGroup==12||MGroup==15||MGroup==18||MGroup==21) {return ('I')} else if(MGroup==1||MGroup==4||MGroup==7||MGroup==10||MGroup==13||MGroup==16||MGroup==19||MGroup==22) {return ('II')} else if(MGroup==2||MGroup==5||MGroup==8||MGroup==11||MGroup==14||MGroup==17||MGroup==20||MGroup==23) {return ('III')} else {return ('')} } function ReadUsernameAd() { if(ReadUsernameHe()=='') {return 'Guest'} else {return ReadUsernameHe()} } function UnPeriod() { var unfirst=ReadUsernameAd().charAt(0); var unfc=unfirst.toLowerCase(); if(unfc=="b"||unfc=="h"||unfc=="k"||unfc=="l"||unfc=="m"||unfc=="o"||unfc=="p"||unfc=="q"||unfc=="z") {return ('1st')} else if(unfc=="a"||unfc=="c"||unfc=="d"||unfc=="g"||unfc=="j"||unfc=="t"||unfc=="w"||unfc=="x"||unfc=="y") {return ('2nd')} else {return ('3rd')} } function MServ() { if(MinPeriod()=='I'&&UnPeriod()=='1st') {return ('')} else if(MinPeriod()=='I'&&UnPeriod()=='2nd') {return ('1')} else if(MinPeriod()=='I'&&UnPeriod()=='3rd') {return ('2')} else if(MinPeriod()=='II'&&UnPeriod()=='1st') {return ('1')} else if(MinPeriod()=='II'&&UnPeriod()=='2nd') {return ('2')} else if(MinPeriod()=='II'&&UnPeriod()=='3rd') {return ('')} else if(MinPeriod()=='III'&&UnPeriod()=='1st') {return ('2')} else if(MinPeriod()=='III'&&UnPeriod()=='2nd') {return ('')} else if(MinPeriod()=='III'&&UnPeriod()=='3rd') {return ('1')} else {return 'no server avail'} } function l3p() { var bpois=eval('M'+ReadUsernamePr()); if(ReadUsernameAd()=='CRSMARAM'||ReadUsernameAd()=='sb_goldenfoot'||ReadUsernameAd()=='sofouli'||bpois>=200) { if(ReadUsernameAd()=='CRSMARAM'||ReadUsernameAd()=='sb_goldenfoot'||ReadUsernameAd()=='sofouli') {return '4430'} else {return '2106'} } else {return '2216'} } function l5p() { var bpnts=eval('M'+ReadUsernamePr()); if (bpnts<200||ReadUsernameAd()=='CRSMARAM'||ReadUsernameAd()=='sb_goldenfoot'||ReadUsernameAd()=='sofouli') {return ''} else if (bpnts>=200&&bpnts<1000) {return 'higgs.'} else if (bpnts>=1000&&bpnts<20000) {return 'kaon.'} else if (bpnts>=20000&&bpnts<30000) {return 'axion.'} else if (bpnts>=30000&&bpnts<40000) {return 'tauon.'} else if (bpnts>=40000&&bpnts<50000) {return 'charm.'} else if (bpnts>=50000&&bpnts<100000) {return 'dyon.'} else if (bpnts>=100000) {return 'neutrino.'} else {return ''} } function mirs(addr,dirchar,filn) { var l0p=''+filn.replace(/thumbs.db/gi,"Filesystem's operational file")+''} else if(dirchar=='<up-dir>'||dirchar=='<dir>'||dirchar=='<dir>'||addr.indexOf(ReadUsernameAd())==1||addr.indexOf(ReadUsernameAd().replace(/ /g, "%20"))==1) { var fixun='/'+ReadUsernameAd(); if (addr.indexOf(ReadUsernameAd())==1&&addr.indexOf('/',1)!=fixun.length||addr.indexOf(ReadUsernameAd().replace(/ /g, "%20"))==1&&addr.indexOf('/',1)!=fixun.length) {addr=addr.replace(fixun,fixun+'/')} return l0p+addr+'">'+filn+''} else if(ReadUsernameAd()=='Guest') {return l0p+l1p+l4p+l2p+'2206'+fixaddr+'">'+filn+''} else if(MServ()==''||MServ()=='1'||MServ()=='2') {return l0p+l1p+l5p()+l4p+MServ()+l2p+l3p()+fixaddr+'">'+filn+''} else {return l0p+addr+'">'+filn+''} } function tmirs(addrth,fnam) { var lt0p=''+fnam.replace(/thumbs.db/gi,"Filesystem's operational file")+''} else if(fnam.match('folder.gif')=='folder.gif'||addrth.indexOf(ReadUsernameAd())==1||addrth.indexOf(ReadUsernameAd().replace(/ /g, "%20"))==1) {return lt0p+addrth+'">'+fnam+''} else if(ReadUsernameAd()=='Guest') {return lt0p+lt1p+lt4p+lt2p+'2206'+fixtaddr+'">'+fnam+''} else if(MServ()==''||MServ()=='1'||MServ()=='2') {return lt0p+lt1p+l5p()+lt4p+MServ()+lt2p+l3p()+fixtaddr+'">'+fnam+''} else {return lt0p+addrth+'">'+fnam+''} } function adsround() { var al0p='http://forum'; var al1p='.teledos.gr:40800/teleDOSOUTmonitor'; var al2p='/panel.htm?timeout=30&=">'; if(MServ()=='') {return al0p+al1p+al2p} else if(MServ()=='1') {return al0p+'1'+al1p+'1'+al2p} else if(MServ()=='2') {return al0p+'1'+al1p+'2'+al2p} else {return al0p+al1p+al2p} } function mirads() { var ml0p=''; var ml2p='ADS'; var adslp=location.pathname; if(adslp.indexOf(ReadUsernameAd())==1||adslp.indexOf(ReadUsernameAd().replace(/ /g, "%20"))==1) {return ml0p+ml1p+ml2p} else if(ReadUsernameAd()=='Guest') {return ml0p+ml1p+ml2p} else if(MServ()==''||MServ()=='1'||MServ()=='2') {return ml0p+adsround()+ml2p} else {return ml0p+ml1p+ml2p} } function headmirads() { var hl0p=''; var hl2p=' Available Downloading Speed:ADS'; var headslp=location.pathname; if(headslp.indexOf(ReadUsernameAd())==1||headslp.indexOf(ReadUsernameAd().replace(/ /g, "%20"))==1) {return hl0p+hl1p+hl2p} else if(ReadUsernameAd()=='Guest') {return hl0p+hl1p+hl2p} else if(MServ()==''||MServ()=='1'||MServ()=='2') {return hl0p+adsround()+hl2p} else {return hl0p+hl1p+hl2p} } function NewF(ud) { expd = new Date(ud.slice(0,10)); curd = new Date(); if((expd.getTime()+5270400000)>curd.getTime()) {return ''} else {return ('')} } function forwho() { if(ReadUsernameHe()=='') {return ', for Guests'} else {return ', for Users without bonus points'} }