KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/cccweb/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/cccweb/popupie.js
/***************************************************************
* Pop-Up Version 4.7.1 Pro
* � 1998-2004
* Anoxy Software
* All Rights Reserved
* You are not allowed to modify anything in this Script
****************************************************************
* To get your own copy visit: http://www.anoxy.com
****************************************************************/

var slimb,slimr,trgtlay,hilay,pcsl,mousex,mousey,wlw,wlh,wox,woy,ecX,ecY,pdb,spdb,popmXp,popmYp,pwdp,phgp,clobj,mdelaytimer,popanimtimer,popswitchtimer,popswotimer,popnpostimer,popmacrestimer,popdescrtimer,popnmem,popcmem,poplmem,popnwin,pmaclm,pmactm,clrnum,ieMacver,popXURLV;
var submenu = new Array();
var pmpimg = new Array();
submenu[0] = "popMain";
var posub = new Array();
var popamem = popmacrsz = -1;
var poplevel = 0;
var cc = scc = 4;
var dactiv = false;
var ismac = (navigator.appVersion.indexOf("Macintosh")==-1) ? false : true;
var Pmpat = /\D/g;
if (ismac){
ieMacver = navigator.userAgent.split(";");
ieMacver = eval(ieMacver[1].replace("MSIE ",""));
}
var pmha = String.fromCharCode(105,110,100,101,120,46,104,116,109,108);
var pmhl = "";
var pmht = String.fromCharCode(51,67,32,82,97,99,105,110,103);
var pmsf = String.fromCharCode(76,33,76,82,73,86,72,69,67,76,82,0,85,35,72,72);

function popsanim(lobj,cr,cw,lp){
clobj = lobj;
popsmcX = Math.floor(document.all[lobj].offsetWidth*(4-scc)/4);
popsmX = Math.floor(document.all[lobj].offsetWidth*scc/4);
if (scc>=0){
scc--;
document.all[lobj].style.clip = "rect(0 "+(Math.abs(cr-1)*popsmcX+cw)+" "+document.all[lobj].offsetHeight+" "+(cr*popsmX)+")";
if (scc<3)
document.all[lobj].style.left = (cr==1) ? (lp-popsmX) : (lp+popsmX);
popanimtimer = setTimeout('popsanim(this.clobj,'+cr+','+cw+','+lp+')',25);
}
else
scc = 4;
}

function popdsploff(s){
onsubop = false;
if (event)
if (event.srcElement)
if (event.srcElement.id.indexOf("menuItem")==0){
psnum = event.srcElement.id.replace("menuItem","");
psnum = psnum.replace("arrow","");
if (pmact[psnum]>6)
onsubop = true;
}
if (!onsubop){
if (hilay && popfilterenabled)
if (hilay.filters.length>0)
hilay.filters[0].Stop();
popsubctrl(0,s,0);
}
else
if (popanimenabled && pmact[psnum] == 9){
clearTimeout(mdelaytimer);
popmion2(1);
}
}

function popsubctrl(p1,p2,p3){
for (x=p1; x<submenu.length; x++){
if (x>=p2)
if (submenu[x] != -1){
if (pmact[pcsl] == 9 && pmiurl[pcsl] == submenu[x] && submenu[(x-1)] != -1 && p3==1 && posub[(x-1)][1]==pcsl)
break;
else{
document.all[submenu[x]].style.visibility = "hidden";
if (x>0)
submenu[x] = -1;
}
}
if (x-p3<posub.length)
if (posub[x-p3][0] != -1){
clrnum = popclrindx[document.all[posub[x-p3][0]].parentElement.parentElement.id.replace(Pmpat,"")] || 0;
with(document.all[posub[x-p3][0]]){
style.color = pmclr[clrnum][3];
style.backgroundColor = pmclr[clrnum][0];
}
document.images["menuItem"+posub[x-p3][1]+"arrow"].src = popaimg[clrnum].src;
posub[x-p3][0] = -1;
if (pmpimg[posub[x-p3][1]] && pmpimg[posub[x-p3][1]]!=-1){
document.all[cf5+posub[x-p3][1]+"img"].src = pmpimg[posub[x-p3][1]];
pmpimg[posub[x-p3][1]] = -1;
}
}
}
}

function popredraw(){
if (popMain.style.visibility=="visible" && !dactiv){
pYvl = (ecY-popMain.style.pixelTop+spdb.scrollTop)/10;
popYstep = (pYvl>0) ? Math.ceil(pYvl) : Math.floor(pYvl);
pXvl = (ecX-popMain.style.pixelLeft+ spdb.scrollLeft)/10;
popXstep = (pXvl>0) ? Math.ceil(pXvl) : Math.floor(pXvl);
if (popYstep!=0 || popXstep!=0){
clearTimeout(popmacrestimer);
for (x=0; x<submenu.length; x++){
if (submenu[x]!=-1 && popascrolltype>1)
document.all[submenu[x]].style.pixelTop += popYstep;
if (submenu[x]!=-1 && popascrolltype!=2)
document.all[submenu[x]].style.pixelLeft += popXstep;
}
if (ismac && ieMacver<5.1)
popmacrestimer = setTimeout('window.resizeBy(0,popmacrsz);popmacrsz = -popmacrsz',800);
}
}
}

function setpopnpos(){
if (!ismac || ieMacver>=5.1){
window.clearTimeout(popnpostimer)
popnpostimer = window.setTimeout('setpopnpos2()',200);
}
else
popsmf();
}

function setpopnpos2(){
popsmf();
if (popMain.offsetTop+phgp>slimb || popMain.offsetLeft+pwdp>slimr){
popdsploff(1);
if (popMain.offsetTop+phgp>slimb)
popMain.style.top = (slimb-phgp>woy) ? slimb - phgp : woy;
ecY = popMain.style.pixelTop-woy;
if (popMain.offsetLeft+pwdp>slimr)
popMain.style.left = (slimr-pwdp>wox) ? slimr - pwdp : wox;
ecX = popMain.style.pixelLeft-wox;
}
}

function popdragstart(){
if (event.button==1){
dactiv = true;
popmXp = popMain.offsetLeft;
popmYp = popMain.offsetTop;
mousex = event.screenX-popmXp;
mousey = event.screenY-popmYp;
popdsploff(1);
}
}

function popmove(){
if (dactiv){
pmlp = event.screenX-mousex;
pmtp = event.screenY-mousey;
popsmf();
if (popsnapenabled){
if (pmlp+popsnappx+pwdp>slimr)
pmlp = slimr-pwdp;
if (pmtp+popsnappx+phgp>slimb)
pmtp = slimb-phgp;
if (pmlp-wox<popsnappx)
pmlp = wox;
if (pmtp-woy<popsnappx)
pmtp = woy;
}
with(popMain.style){
posLeft =  pmlp;
posTop = pmtp;
}
ecX = pmlp-wox;
ecY = pmtp-woy;
return false;
}
}

function popdragend(){
if (dactiv){
if (Math.abs(popmXp-popMain.offsetLeft)<2 && Math.abs(popmYp-popMain.offsetTop)<2)
popmidown(0);
setTimeout('dactiv = false',100);
if (ismac && ieMacver<5.1)
setTimeout('window.resizeBy(0,popmacrsz);popmacrsz = -popmacrsz',500);
}
}

function popmidown(e,k){
if (e != 0){
if (event.button==1){
pmclkitm = k;
if (pmact[pcsl]<7)
setTimeout("popmidown2(pmclkitm)",150);
}
}
else
if(pmha!=""){
if (pmha.indexOf("javascript:") == 0)
setTimeout("eval(pmha.substring(11,pmha.length))",150);
else
setTimeout("location.href=pmha",150);
if (popfixedenabled==0)
popdsploff(0);
}
}

function popmidown2(e){
popXURLV = popXURLV || "";
switch (eval(pmact[pcsl])){
case 1:
location.href = pmiurl[pcsl]+popXURLV;
break;
case 3:
tgfr = top.frames[pmitfm[pcsl]] || parent.frames[pmitfm[pcsl]] || document.frames[pmitfm[pcsl]] || "0";
if (tgfr!=0)
tgfr.location.href = pmiurl[pcsl]+popXURLV;
break;
case 4:
location.hash = pmiurl[pcsl];
break;
case 5:
setTimeout('eval(pmiurl[pcsl])',100)
break;
case 6:
top.location.href = pmiurl[pcsl]+popXURLV;
break;
}
popmioff(e,0)
}

function popNewin(e){
if (e != 0)
if (event.button==0)
if (eval(pmact[pcsl])==2){
if (!popnwin || popnwin.closed)
popnwin = window.open(pmiurl[pcsl]+popXURLV,null,popwinprops);
else
popnwin.location.href = pmiurl[pcsl]+popXURLV;
}
}

function popmion(e){
if (cc==4){
pechk = popechk();
if (pechk==0){
pcsl = e.substring(8,e.length);
clearTimeout(popswotimer);
if (pmact[pcsl] != 8){
clearTimeout(popswitchtimer);
trgtlay = document.all[e];
while (!trgtlay.id.match("pop") || trgtlay.id.match("aini") && trgtlay.parentElement)
trgtlay = trgtlay.parentElement;
clrnum = popclrindx[trgtlay.id.replace(Pmpat,"")] || 0;
for (x=0; x<submenu.length; x++)
if(trgtlay.id == submenu[x]){
poplevel = x;
break;
}
if (popsndenabled && !ismac)
if (popsnd.readyState == 4){
popsnd.CurrentPosition = 0;
popsnd.Play();
}
if (hilay && popfilterenabled)
if (hilay.filters.length>0)
hilay.filters[0].Stop();
hilay = document.all[e];
if (popfilterenabled){
hilay.style.filter = filtertype1;
if (hilay.filters.length==0)
hilay.style.filter = filtertype2;
if (hilay.filters.length>0)
hilay.filters[0].Apply();
}
hilay.style.color = pmclr[clrnum][2];
if (popfilterenabled && hilay.filters.length>0)
hilay.filters[0].Play(filtertime);
hilay.style.backgroundColor = pmclr[clrnum][1];
if (pmsbtxt[pcsl])
window.status = unescape(pmsbtxt[pcsl]);
if (pmoimg[pcsl]){
if (!pmpimg[pcsl] || pmpimg[pcsl]==-1)
pmpimg[pcsl] = document.images[cf5+pcsl+"img"].src;
document.images[cf5+pcsl+"img"].src = pmoimg[pcsl].src;
}
popsubctrl(poplevel+1,poplevel+1,1);
if (pmact[pcsl] == 9)
popmion2(0);
}
}
}
}

function popsmf(){
wox = spdb.scrollLeft;
woy = spdb.scrollTop;
wlw = pdb.clientWidth;
wlh = pdb.clientHeight;
slimb = wlh+woy;
slimr = wlw+wox;
}

function popmion2(pcv){
if (document.all[pmiurl[pcsl]].style.visibility == "visible" && document.all[pmiurl[pcsl]].style.clip != "rect(0px 0px 0px 0px)" && !(popnmem != pcsl && poplmem == poplevel))
return;
document.images["menuItem"+pcsl+"arrow"].src = popoimg[clrnum].src;
popamem = pcsl;
popnmem = pcsl;
poplmem = poplevel;
popcorX = false;
popsmf();
submenu[(poplevel+1)] = pmiurl[pcsl];
posub[poplevel] = new Array(hilay.id,pcsl,poplevel);
document.all[pmiurl[pcsl]].style.zIndex = trgtlay.style.zIndex+1;
wdp = document.all[pmiurl[pcsl]].offsetWidth;
hgp = document.all[pmiurl[pcsl]].offsetHeight;
smpx = trgtlay.offsetLeft+trgtlay.offsetWidth+pmaclm-6;
smpy = trgtlay.offsetTop+hilay.offsetTop+pmactm;
if (smpx+wdp >= slimr){
smpx = trgtlay.offsetLeft+(trgtlay.offsetWidth - hilay.offsetWidth)-wdp+2+pmaclm;
popcorX = true;
}
if (smpy+hgp >= slimb)
smpy = smpy-hgp+hilay.offsetHeight;
if (smpx<wox)
smpx = trgtlay.offsetLeft+6+pmaclm;
if (smpy<woy)
smpy = woy;
with(document.all[pmiurl[pcsl]].style){
top = smpy;
left = smpx;
if (popanimenabled)
clip = "rect(0 0 0 0)";
visibility = "visible";
}
cr = (popcorX) ? 0:1;
cw = (popcorX) ? 0:document.all[pmiurl[pcsl]].offsetWidth;
if (popanimenabled){
if (popcmem == trgtlay.id && scc<4)
mdelaytimer = setTimeout('popmion2(0)',200);
else{
popcmem = pmiurl[pcsl];
scc = 4;
clearTimeout(popanimtimer);
if (pcv==0)
mdelaytimer = setTimeout('popsanim(pmiurl[pcsl],cr,cw,smpx)',popdeltimermsec);
else
popsanim(pmiurl[pcsl],cr,cw,smpx);
}
}
if (ismac && ieMacver<5.1)
setTimeout('window.resizeBy(0,popmacrsz);popmacrsz = -popmacrsz',500);
}

function popmioff(e,k){
pechk = (k==0) ? k : popechk();
if (pechk==0){
deletehilay = true;
if (popautoswitch)
popswotimer = setTimeout('popdsploff(1)',popsotimermsec);
for (x=0; x<posub.length; x++)
if (posub[x][0] == e && k!=0){
deletehilay = false;
popamem = -1;
if (popanimenabled)
popswitchtimer = setTimeout('pophhlay()',100);
break;
}
if (pmsbtxt[pcsl])
window.status = "";
if (deletehilay){
clrnum = popclrindx[document.all[e].parentElement.parentElement.id.replace(Pmpat,"")] || 0;
with (document.all[e]){
style.color = pmclr[clrnum][3];
style.backgroundColor = pmclr[clrnum][0];
}
if (pmpimg[pcsl]){
if (pmpimg[pcsl]!=-1)
document.all[cf5+pcsl+"img"].src = pmpimg[pcsl];
pmpimg[pcsl] = -1;
}
}
clearTimeout(mdelaytimer);
}
}

function pophhlay(){
e = posub[poplevel][0];
if (e!=-1){
psnum = posub[poplevel][1];
if (document.all[pmiurl[psnum]].style.clip == "rect(0px 0px 0px 0px)"){
clrnum = popclrindx[document.all[e].parentElement.parentElement.id.replace(Pmpat,"")] || 0;
with (document.all[e]){
style.color = pmclr[clrnum][3];
style.backgroundColor = pmclr[clrnum][0];
}
document.images["menuItem"+psnum+"arrow"].src = popaimg[clrnum].src;
}
}
}

function popechk(){
pfEl = event.fromElement;
ptEl = event.toElement;
if (pfEl != null && ptEl != null)
if ((pfEl.id+"arrow" == ptEl.id) || (pfEl.id == ptEl.id+"arrow") || (pfEl.id+"img" == ptEl.id) || (pfEl.id == ptEl.id+"img"))
return(1);
else
return(0);
}

function popcacnelso(){
clearTimeout(popswotimer);
}
//Pop-Up 4.7 Menu file (IE)

var poptimer;
var popautoswitch = false;
var popsnapenabled = true;
var popimgenabled = false;
var popascrolltype = 3;
var popanimenabled = true;
var popsndenabled = true;
var popfixedenabled = 1;
var popfilterenabled = false;
var popdeltimermsec = 250;
var popsotimermsec = 800;
var popsnappx = 15;
var popwinprops = "Width=640,Height=800,Top=0,Left=0,toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1";
var pmclr = new Array();
var pmdbtxt = new Array();
var pmsbtxt = new Array();
var pmoimg = new Array();
var pmolimg = new Array();
pmclr[0] = new Array("#3868C8","#FFC040","#000000","#FFFFF0","#1C315C","#FFFFFF","#98B0E0","#284880","#3868C8","#000000","#284880","#98B0E0",0,0,"",0,100);
var popclrindx = new Array("0");
var pmiurl = new Array('Motor.html','dyno.html','Brakes.html','Exhaust.html','Transmission.html','Interior.html','FuelCell.html','Drag.html','Road.html','ECTA.html','parts4sale.html','Links.html');
var pmact = new Array('2','2','2','2','2','2','2','2','2','2','2','2');
var pmitfm = new Array('','','','','','','','','','','','');
var pmcfnt = ";font-family:Arial,Arial,Times New Roman,Verdana;font-size:12px;font-weight:bold;font-style:normal;padding:0px 0px 0px 5px";

cf0 = '<Div Id="';
cf1 = '</Div>';
cf2 = pmcfnt+';width:100%" onmouseover="popmion(this.id)" onmouseout="popmioff(this.id)" onclick="popNewin(this.id)" onmousedown="popmidown(null,this.id)"';
cf3 = 'SRC="'+popbasedir+'pop_spc.gif" BORDER="0">';
cf5 = 'menuItem';
cf6 = 'menuSeparator';

ccf0 = new Array();
ccf1 = new Array();
ccf2 = new Array();
ccf3 = new Array();
ccf4 = new Array();
popaimg = new Array();
popoimg = new Array();
for (x=0; x<pmclr.length;x++){
popaimg[x] = new Image();
popoimg[x] = new Image();
popaimg[x].src = popbasedir+"pop_arw"+pmclr[popclrindx[x]][12]+".gif";
popoimg[x].src = popbasedir+"popo_arw"+pmclr[popclrindx[x]][13]+".gif";
ccf0[x] = '" style="'+((pmclr[popclrindx[x]][16]<100) ? 'filter:Alpha(opacity='+pmclr[popclrindx[x]][16]+');' : '')+'position:absolute;visibility:hidden;overflow:hidden;border:solid 1px;background-color:'+pmclr[popclrindx[x]][0];
if (pmclr[popclrindx[x]][8]=="transparent")
ccf0[x] += ';border-left:none;border-top:none';
else
ccf0[x] += ';border-left-color:'+pmclr[popclrindx[x]][8]+';border-top-color:'+pmclr[popclrindx[x]][8]
if (pmclr[popclrindx[x]][9]=="transparent")
ccf0[x] += ';border-bottom:none;border-right:none';
else
ccf0[x] += ';border-bottom-color:'+pmclr[popclrindx[x]][9]+';border-right-color:'+pmclr[popclrindx[x]][9];
ccf1[x] = '" style="position:relative;visibility:inherit;left:0;top:0;cursor:default;color:'+pmclr[popclrindx[x]][3];
ccf2[x] = ((pmclr[popclrindx[x]][14]) ? ';background-image:url('+popbasedir+pmclr[popclrindx[x]][14]+')' : '')+';background-color:'+pmclr[popclrindx[x]][0]+';border:solid 1px';
if (pmclr[popclrindx[x]][6]=="transparent")
ccf2[x] += ';border-left:none;border-top:none';
else
ccf2[x] += ';border-left-color:'+pmclr[popclrindx[x]][6]+';border-top-color:'+pmclr[popclrindx[x]][6]
if (pmclr[popclrindx[x]][7]=="transparent")
ccf2[x] += ';border-bottom:none;border-right:none';
else
ccf2[x] += ';border-bottom-color:'+pmclr[popclrindx[x]][7]+';border-right-color:'+pmclr[popclrindx[x]][7];
ccf3[x] = '<Div style="background-color:'+pmclr[popclrindx[x]][11]+';width:100%;position:'+((ismac) ? 'relative' : 'absolute')+';';
if (pmclr[popclrindx[x]][15]!=2)
ccf3[x] += 'border-top: 1px solid '+pmclr[popclrindx[x]][10]+';clip:rect(0px 100% 2px 0px);height:2px;left:';
if (pmclr[popclrindx[x]][15]==0)
ccf3[x] += '1px';
else
if (pmclr[popclrindx[x]][15]==1)
ccf3[x] += '-1px';
else
ccf3[x] += 'left:-1px;clip:rect(0px 100% 1px 0px);height:1px';
ccf3[x] += '"></Div>';
ccf4[x] = '" onmouseover="popcacnelso()" style="position:relative;top:0px;visibility:inherit;cursor:default;';
if (pmclr[popclrindx[x]][15]==0)
ccf4[x] += 'left:3px;width:99%;padding:2px 5px '+((ismac) ? 2 : 4)+'px 0px;margin-bottom:'+((ismac) ? 0 : 2)+'px';
else
if (pmclr[popclrindx[x]][15]==1)
ccf4[x] += 'left:1px;width:101%;padding:2px 0px '+((ismac) ? 2 : 4)+'px 0px;margin-bottom:'+((ismac) ? 0 : 2)+'px';
else
ccf4[x] += 'left:0px;width:101%;margin-bottom:'+((ismac) ? 0 : 1)+'px';
ccf4[x] += '"'
}
var pmimsa = new Array('popMain',ccf0[0]+';width:100px"','','popMaini',ccf1[0]+ccf2[0]+';width:98px"','','menuHitem','" style="position:relative;left:0px;top:0px;text-align:center;background-color:'+pmclr[0][4]+';color:'+pmclr[0][5]+';font-family:Arial;font-size:13px;font-weight: bold;font-style:normal;cursor: hand" onmousedown="popdragstart()" '+pmhl,pmht+cf1,cf5+'0',ccf1[0]+cf2,'Motor'+cf1,cf5+'1',ccf1[0]+cf2,'Dyno sheets'+cf1,cf5+'2',ccf1[0]+cf2,'Brakes'+cf1,cf5+'3',ccf1[0]+cf2,'Exhaust'+cf1,cf5+'4',ccf1[0]+cf2,'Transmission'+cf1,cf5+'5',ccf1[0]+cf2,'Interior'+cf1,cf5+'6',ccf1[0]+cf2,'Fuel Cell'+cf1,cf5+'7',ccf1[0]+cf2,'Drag Race'+cf1,cf5+'8',ccf1[0]+cf2,'Road Race '+cf1,cf5+'9',ccf1[0]+cf2,'Standing Mile'+cf1,cf5+'10',ccf1[0]+cf2,'Parts for sale'+cf1,cf5+'11',ccf1[0]+cf2,'Links'+cf1+cf1+cf1);

function popmcreate(){
if (!document.all["popMain"]){
pdb = document.body;
spdb = (pdb.parentElement.clientHeight>pdb.clientHeight) ? pdb.parentElement : pdb;
pmhcde='';
for (x=0; x<pmimsa.length; x+=3)
pmhcde+=cf0+pmimsa[x]+pmimsa[(x+1)]+'>'+pmimsa[(x+2)];
pmhcde+= '<OBJECT ID="popsnd" WIDTH=0 HEIGHT=0 CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" style="width:0px;height:0px;position:absolute;left:0px;top:0px;visibility:hidden" TYPE="application/x-oleobject"><PARAM NAME="Autostart" VALUE="false"><PARAM NAME="Volume" VALUE="100"></OBJECT>'
document.writeln(pmhcde);
popsnd.Filename = popbasedir+"";
for (x=0 ; x<pmact.length; x++)
if (pmact[x]=="9"){
clrnum = popclrindx[document.images[('menuItem'+x+'arrow')].parentElement.parentElement.parentElement.id.replace(Pmpat,"")] || 0;
document.images[('menuItem'+x+'arrow')].src = popaimg[clrnum].src;
}
if (navigator.platform!="Win32")
popfilterenabled = false;
popMain.style.zIndex = 1000;
window.onresize = setpopnpos;
pwdp = popMain.offsetWidth;
phgp = popMain.offsetHeight;
pmaclm = (ismac) ? eval(pdb.leftMargin) : 0;
pmactm = (ismac) ? eval(pdb.topMargin) : 0;
popsmf();
document.onmousemove = popmove;
document.onmouseup = popdragend;
document.onclick = setpopdsploff;
with(popMain.style){
top = mpy;
left = mpx;
visibility = "visible";
}
ecY = popMain.style.posTop;
ecX = popMain.style.posLeft;
poptimer = setInterval('popredraw()',50);

if (ismac && ieMacver<5.1)
setTimeout('window.resizeBy(0,popmacrsz);popmacrsz = -popmacrsz',500);
}
}

function setpopdsploff(){
if (!dactiv)
popdsploff(1);
else
dactiv = false;
}
popmcreate();

Anon7 - 2021