/***************************************************************
* Pop-Up Version 4.7.1 Pro H
* © 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,ecY,wox,woy,pmw,wlw,wlh,mdelaytimer,popanimtimer,popswitchtimer,popswotimer,popnpostimer,popdescrtimer,popnmem,popcmem,poplmem,popvmem,popnwin,pophbar,popvbar,popMain,clrnum,DboX,popXURLV;
var submenu = new Array();
var pmpimg = new Array();
submenu[0] = "popMain";
var posub = new Array();
var Pmpat = /\D/g;
var popamem = -1;
var poplevel = pdchk = 0;
var scc = 4;

function popsanim(lobj,cr,cw,lp,te){
lobjs = (te) ? document.getElementById(lobj).offsetHeight : document.getElementById(lobj).offsetWidth;
popsmcX = Math.floor(lobjs*(4-scc)/4);
popsmX = Math.floor(lobjs*scc/4);
if (scc>=0){
scc--;
document.getElementById(lobj).style.clip = (te) ? "rect("+(Math.abs(cr-1)*popsmX)+" "+document.getElementById(lobj).offsetWidth+" "+(cr*popsmcX+Math.abs(cr-1)*cw)+" 0)" : "rect(0 "+(Math.abs(cr-1)*popsmcX+cw)+" "+document.getElementById(lobj).offsetHeight+" "+(cr*popsmX)+")";
if (scc<3){
if (te)
document.getElementById(lobj).style.top = (cr==1) ? (lp+popsmX) : (lp-popsmX);
else
document.getElementById(lobj).style.left = (cr==1) ? (lp-popsmX) : (lp+popsmX);
}
popanimtimer = window.setTimeout('popsanim("'+lobj+'",'+cr+','+cw+','+lp+','+te+')',25);
}
else
scc = 4;
}

function popdsploff(s,e){
if (e)
if (e.originalTarget == "[object XULElement]")
return;
onsubop = false;
ptid = (e) ? e.target.id || e.target.parentNode.id || "" : "";
if (ptid.indexOf("menuItem")==0){
psnum = ptid.replace("menuItem","");
psnum = psnum.replace("arrow","");
if (pmact[psnum] >6)
onsubop = true;
}
if (!onsubop)
popsubctrl(0,s,0,0);
else
if (popanimenabled && pmact[psnum] == 9){
if (mdelaytimer)
clearTimeout(mdelaytimer);
if (e.target.parentNode.parentNode.id == "popHtr")
pophon2(1);
else
popmion2(1);
}
}

function popsubctrl(p1,p2,p3,p4){
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.getElementById(submenu[x]).style.visibility = "hidden";
if (x>0)
submenu[x] = -1;
}
}
if (x-p3+p4<posub.length)
if (posub[x-p3+p4][0] != -1){
clrnum = popclrindx[document.getElementById(posub[x-p3+p4][0]).parentNode.parentNode.id.replace(Pmpat,"")] || 0;
with(document.getElementById(posub[x-p3+p4][0])){
style.color = pmclr[clrnum][3];
style.backgroundColor = pmclr[clrnum][0];
}
if (x-p3+p4>0)
document.images["menuItem"+posub[x-p3+p4][1]+"arrow"].src = popaimg[clrnum].src;
posub[x-p3+p4][0] = -1;
if (pmpimg[posub[x-p3+p4][1]] && pmpimg[posub[x-p3+p4][1]]!=-1){
document.images[cf5+posub[x-p3+p4][1]+"img"].src = pmpimg[posub[x-p3+p4][1]];
pmpimg[posub[x-p3+p4][1]] = -1;
}
}
}
}

function setpopnpos(){
if (popnpostimer)
window.clearTimeout(popnpostimer)
popnpostimer = window.setTimeout('setpopnpos2()',1000);
}

function setpopnpos2(){
setpopvars();
}

function setpopvars(w){
wlw = window.innerWidth;
wlh = window.innerHeight;
popvbar = (document.height+16>window.innerHeight) ? 1 :0;
pophbar = (document.width+16>window.innerWidth) ? 1 : 0;
popsmf();
}

function popmidown(e){
if (pmact[pcsl]<7 && (e.button==0 || (e.button==1 && (navigator.userAgent.indexOf("Safari")>=0 || navigator.userAgent.indexOf("Opera")>=0))))
setTimeout("popmidown2()",150);
}

function popmidown2(){
popXURLV = popXURLV || "";
switch (eval(pmact[pcsl])){
case 1:
location.href = pmiurl[pcsl]+popXURLV;
break;
case 2:
if (!popnwin || popnwin.closed)
popnwin = window.open(pmiurl[pcsl]+popXURLV,null,popwinprops);
else
popnwin.location.href = pmiurl[pcsl]+popXURLV;
break;
case 3:
tgfr = top.frames[pmitfm[pcsl]] || parent.frames[pmitfm[pcsl]] || document.frames[pmitfm[pcsl]] || null;
if (tgfr)
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;
}
}

function popmion(id,e){
pechk = popechk(e);
if (pechk==0 && pdchk==0){
if (popswotimer)
clearTimeout(popswotimer);
tpcsl = id.substring(8,id.length);
if (pmact[tpcsl] != 8){
if (popswitchtimer)
clearTimeout(popswitchtimer);
hilay = document.getElementById(id);
trgtlay = hilay.parentNode;
while (!trgtlay.id.match("pop") || trgtlay.id.match("aini") || trgtlay.id.match("Htr") && trgtlay.parentNode)
trgtlay = trgtlay.parentNode;
clrnum = popclrindx[trgtlay.id.replace(Pmpat,"")] || 0;
hilay.style.color = pmclr[clrnum][2];
hilay.style.backgroundColor = pmclr[clrnum][1];
pcsl = id.substring(8,id.length);
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;
}
for (x=0; x<submenu.length; x++)
if(trgtlay.id == submenu[x]){
poplevel = x;
break;
}
popsubctrl(poplevel+1,poplevel+1,1,0);
if (poplevel==0)
popsubctrl(poplevel+1,poplevel+2,1,1);
if (pmact[pcsl] == 9)
if (poplevel==0)
pophon2(0);
else
popmion2(0);
}
}
}

function pophon2(pcv){
popamem = -1;
if (document.getElementById(pmiurl[pcsl]).style.visibility == "visible" && document.getElementById(pmiurl[pcsl]).style.clip != "rect(0pt 0pt 0pt 0pt)" && popvmem == pcsl)
return;
popsmsf();
popvmem = pcsl;
smpxav = (hilay.offsetParent) ? trgtlay.offsetLeft : 0;
smpx = (hilay.offsetLeft+wdp>slimr) ? ((slimr-wdp>wox) ? slimr-wdp : wox) : hilay.offsetLeft+smpxav;
smpyav = (hilay.offsetParent) ? trgtlay.offsetTop : 0;
smpy = (popopendir == 0) ? hilay.offsetTop+trgtlay.offsetHeight+smpyav+1 : hilay.offsetTop+smpyav-hgp-1;
with(document.getElementById(pmiurl[pcsl]).style){
top = smpy;
left = smpx;
if (popanimenabled)
clip = "rect(0pt 0pt 0pt 0pt)";
else
visibility = "visible";
}
cr = popopendir;
cw = hgp;
if (popanimenabled){
if (popcmem == trgtlay.id && scc<4)
mdelaytimer = setTimeout('pophon2(0)',200);
else{
popcmem = pmiurl[pcsl];
scc = 4;
if (popanimtimer)
clearTimeout(popanimtimer);
if (pcv==0)
mdelaytimer = window.setTimeout('document.getElementById(pmiurl[pcsl]).style.visibility = "visible";popsanim(pmiurl[pcsl],cr,cw,smpy,true)',popdeltimermsec);
else{
document.getElementById(pmiurl[pcsl]).style.visibility = "visible";
popsanim(pmiurl[pcsl],cr,cw,smpy,true);
}
}
}
}

function popsmf(){
wox = window.pageXOffset;
woy = window.pageYOffset;
slimb = wlh+woy-(17*pophbar);
slimr = wlw+wox-(17*popvbar);
}

function popsmsf(){
poplmem = poplevel;
popsmf();
submenu[(poplevel+1)] = pmiurl[pcsl];
posub[poplevel] = new Array(hilay.id,pcsl);
document.getElementById(pmiurl[pcsl]).style.zIndex = eval(trgtlay.style.zIndex)+1;
wdp = document.getElementById(pmiurl[pcsl]).offsetWidth;
hgp = document.getElementById(pmiurl[pcsl]).offsetHeight;
}

function popmion2(pcv){
if (document.getElementById(pmiurl[pcsl]).style.visibility == "visible" && document.getElementById(pmiurl[pcsl]).style.clip != "rect(0pt 0pt 0pt 0pt)" && !(popnmem != pcsl && poplmem == poplevel))
return;
document.images["menuItem"+pcsl+"arrow"].src = popoimg[clrnum].src;
popamem = pcsl;
popnmem = pcsl;
popsmsf();
popcorX = false;
smpx = trgtlay.offsetLeft+hilay.offsetWidth-6;
smpy = ((hilay.offsetParent) ? trgtlay.offsetTop+hilay.offsetTop : hilay.offsetTop)+6;
if (smpx+wdp >= slimr){
smpx = trgtlay.offsetLeft-wdp+6;
popcorX = true;
}
if (smpy+hgp >= slimb)
smpy = smpy-hgp+hilay.offsetHeight;
if (smpx<wox)
smpx = trgtlay.offsetLeft+6;
if (smpy<woy)
smpy = woy;
with(document.getElementById(pmiurl[pcsl]).style){
top = smpy;
left = smpx;
if (popanimenabled)
clip = "rect(0pt 0pt 0pt 0pt)";
else
visibility = "visible";
}
cr = (popcorX) ? 0:1;
cw = (popcorX) ? 0:wdp;
if (popanimenabled){
if (popcmem == trgtlay.id && scc<4)
mdelaytimer = setTimeout('popmion2(0)',200);
else{
popcmem = pmiurl[pcsl];
scc = 4;
if (popanimtimer)
clearTimeout(popanimtimer);
document.getElementById(pmiurl[pcsl]).style.visibility = "visible";
if (pcv==0)
mdelaytimer = window.setTimeout('popsanim(pmiurl[pcsl],cr,cw,smpx,false)',popdeltimermsec);
else
popsanim(pmiurl[pcsl],cr,cw,smpx,false);
}
}
}

function popmioff(id,e){
pechk = popechk(e);
pnEl = (e.relatedTarget) ? ((e.relatedTarget.id == undefined && navigator.userAgent.indexOf("Safari")==0) ? e.rangeParent.parentNode.id : e.relatedTarget.id) : "";
pdchk = (e.currentTarget.id == pnEl) ? 1 : 0;
if (pechk==0 && pdchk==0){
if (pmsbtxt[pcsl])
window.status = "";
if (popautoswitch)
popswotimer = setTimeout('popdsploff(1)',popsotimermsec);
deletehilay = true;
for (x=0; x<posub.length; x++)
if (posub[x][0] == id){
deletehilay = false;
popamem = -1;
if (popanimenabled)
popswitchtimer = setTimeout('pophhlay()',50);
break;
}
if (deletehilay){
clrnum = popclrindx[document.getElementById(id).parentNode.parentNode.id.replace(Pmpat,"")] || 0;
with (document.getElementById(id)){
style.color = pmclr[clrnum][3];
style.backgroundColor = pmclr[clrnum][0];
}
if (pmpimg[pcsl]){
document.images[cf5+pcsl+"img"].src = pmpimg[pcsl];
pmpimg[pcsl] = -1;
}
}
if (mdelaytimer)
clearTimeout(mdelaytimer);
}
}

function pophhlay(){
e = posub[poplevel][0];
if (e!=-1){
psnum = posub[poplevel][1];
if (document.getElementById(pmiurl[pcsl]).style.clip == "rect(0pt 0pt 0pt 0pt)"){
clrnum = popclrindx[document.getElementById(e).parentNode.parentNode.id.replace(Pmpat,"")] || 0;
with (document.getElementById(e)){
style.color = pmclr[clrnum][3];
style.backgroundColor = pmclr[clrnum][0];
}
if (poplevel>0)
document.images["menuItem"+psnum+"arrow"].src = popaimg[clrnum].src;
}
}
}

function popechk(e){
pfEl = (e.originalTarget) ? e.originalTarget.id : null;
ptEl = (e.relatedTarget) ? e.relatedTarget.id : null;
if ((pfEl+"arrow" == ptEl) || (pfEl == ptEl+"arrow") || (pfEl+"Harrow" == ptEl) || (pfEl == ptEl+"Harrow") || (pfEl+"img" == ptEl) || (pfEl == ptEl+"img"))
return(1);
else
return(0);
}

function popcacnelso(){
if (popswotimer)
clearTimeout(popswotimer);
}
//Pop-Up 4.7 H Menu file (Mozilla)

var poptimer;
var popautoswitch = false;
var popanimenabled = true;
var popdeltimermsec = 250;
var popsotimermsec = 800;
var popopendir = 0;
var popmcheight = 15;
var popmcwidth = 377;
var popwinprops = "Top=80,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("#CEBDF1","#7C2EBE","#FFFFFF","#000000","#CEBDF1","#000000","transparent","transparent","#000000","#000000","transparent","#808080",0,0,"",2,100);
var popclrindx = new Array("0","0","0","0","0");
var pmiurl = new Array('pop1submain','pop2submain','pop4submain','pop3submain','/aboutus/introduction.php','/aboutus/governors.php','/report/index.php','/aboutus/funding.php','/aboutus/sponsors.php','/faq/questions.php','/aboutus/contact.php','http://www.soe.org.sg/soevote/public/nomineenamelist.php','/award/2005/honourees.php','http://www.soe.org.sg/soevote/public/estudentphoto2.php','http://www.soe.org.sg/soevote/public/nomineenamelist2004.php','/award/2004/honourees.php','/soevote/public/2004estudentphoto2.php','/award/2004/ceremony.php','/album/index.php','/nomination/criteria.php','/media/index.php','/media/releases/index.php','/events/index.php','/aboutus/appearance.php','/aboutus/startup.php','/aboutus/studentprog.php','/book/index.php','/aboutus/volunteers.php');
var pmact = new Array('9','9','9','9','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1','1');
var pmitfm = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','','');
var pmcfnt = ";font-family:Arial,Arial,Times New Roman,Verdana;font-size:12px;font-weight:bold;font-style:normal";
cf0 = '<Div Id="';
cf1 = '</Div>';
cf2 = '"></Span>';
cf3 = pmcfnt+';padding:0px 0px 0px 15px" onmouseover="popmion(this.id,event)" onmouseout="popmioff(this.id,event)" onmousedown="popmidown(event)"';
cf5 = 'menuItem';
cf6 = 'menuSeparator';
cf7 = '" style="padding:0px 7px 0px 7px;color:'+pmclr[0][3]+pmcfnt+'" onmouseover="popmion(this.id,event)" onmouseout="popmioff(this.id,event)" onmousedown="popmidown(event)">';
cf8 = '<TD id="';
cf9 = '<TD width="1"><Div style="border-left: 1px solid '+pmclr[0][10]+';height:'+popmcheight+'px;position:relative;width:0px"></Div></TD>';

ccf0 = new Array();
ccf1 = new Array();
ccf2 = new Array();
ccf3 = new Array();
ccf4 = new Array();
ccf5 = 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) ? '-moz-opacity:'+pmclr[popclrindx[x]][16]/100+';' : '')+'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] = 'SRC="'+popaimg[x].src+'" BORDER="0">';
ccf4[x] = '<Span style="border-bottom: 1px solid '+pmclr[popclrindx[x]][11]+';position:absolute;height:0px;';
if (pmclr[popclrindx[x]][15]!=2)
ccf4[x] += 'border-top: 1px solid '+pmclr[popclrindx[x]][10];
ccf4[x] += ';width:';
ccf5[x] = '" onmouseover="popcacnelso()" style="position: relative;top:0px;visibility:inherit;cursor:default;';
if (pmclr[popclrindx[x]][15]==0)
ccf5[x] += 'left:3px;width:99%;padding:2px 5px 4px 0px';
else
if (pmclr[popclrindx[x]][15]==1)
ccf5[x] += 'left:0px;width:100%;padding:2px 0px 4px 0px';
else
ccf5[x] += 'left:0px;width:101%;margin-bottom:1px';
ccf5[x] += '"';
}

var pmimsa = new Array('pop1submain',ccf0[0]+';width:184px"','','pop1submaini',ccf1[0]+ccf2[0]+';width:182px"','',cf5+'4',ccf1[0]+cf3,'About Us'+cf1,cf6+'3',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'5',ccf1[0]+cf3,'Board of Governors'+cf1,cf6+'4',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'6',ccf1[0]+cf3,'Financial Information'+cf1,cf6+'5',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'7',ccf1[0]+cf3,'Funding Opportunities'+cf1,cf6+'6',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'8',ccf1[0]+cf3,'Our Sponsors'+cf1,cf6+'7',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'9',ccf1[0]+cf3,'Frequently Asked Question'+cf1,cf6+'8',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'10',ccf1[0]+cf3,'Contact Us'+cf1+cf1+cf1,'pop2submain',ccf0[0]+';width:181px"','','pop2submaini',ccf1[0]+ccf2[0]+';width:179px"','',cf5+'11',ccf1[0]+cf3,'2005 Nominees'+cf1,cf6+'9',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'12',ccf1[0]+cf3,'2005 Honourees'+cf1,cf6+'10',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'13',ccf1[0]+cf3,'2005 Student Interviewers'+cf1,cf6+'11',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'14',ccf1[0]+cf3,'2004 Nominees'+cf1,cf6+'12',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'15',ccf1[0]+cf3,'2004 Honourees'+cf1,cf6+'13',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'16',ccf1[0]+cf3,'2004 Student Interviewers'+cf1,cf6+'14',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'17',ccf1[0]+cf3,'2004 Award Ceremony'+cf1,cf6+'15',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'18',ccf1[0]+cf3,'Photo Gallery'+cf1,cf6+'16',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'19',ccf1[0]+cf3,'Criteria of Candidates'+cf1+cf1+cf1,'pop3submain',ccf0[0]+';width:122px"','','pop3submaini',ccf1[0]+ccf2[0]+';width:120px"','',cf5+'20',ccf1[0]+cf3,'In The News'+cf1,cf6+'17',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'21',ccf1[0]+cf3,'Press Releases'+cf1,cf6+'18',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'22',ccf1[0]+cf3,'Past Events'+cf1+cf1+cf1,'pop4submain',ccf0[0]+';width:208px"','','pop4submaini',ccf1[0]+ccf2[0]+';width:206px"','',cf5+'23',ccf1[0]+cf3,'SOE Appearance'+cf1,cf6+'19',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'24',ccf1[0]+cf3,'Start-up TV Series'+cf1,cf6+'20',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'25',ccf1[0]+cf3,'Student-entrepreneur Program'+cf1,cf6+'21',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'26',ccf1[0]+cf3,'Book on Entrepreneurship'+cf1,cf6+'22',ccf5[0],ccf4[0]+'100%'+cf2+cf1,cf5+'27',ccf1[0]+cf3,'To Volunteer'+cf1+cf1+cf1);
var pmimsh = new Array(cf5+'0','Corporate&nbsp;Profile',cf9,'',cf5+'1','SOE&nbsp;Awards',cf9,'',cf5+'2','SOE&nbsp;Programmes',cf9,'',cf5+'3','Publicity');

function popmcreate(){
pmhcde='<Div Id="popMain" style="position:absolute;left:'+poX+';top:'+(poY)+';background-color:'+pmclr[0][0]+((pmclr[0][16]<100) ? ';-moz-opacity:'+pmclr[0][16]/100 : '')+'"><TABLE Id="popMaini" cellpadding=0 cellspacing=0 width='+popmcwidth+' height='+popmcheight+'><TR Id="popHtr" style="cursor:default'+pmcfnt+'">';
for (x=0; x<pmimsh.length; x+=2)
pmhcde+= pmimsh[x].match(cf9) ? cf9 : cf8+pmimsh[x]+cf7+pmimsh[(x+1)]+'</TD>';
pmhcde+='</TR></TABLE></Div>'
for (x=0; x<pmimsa.length; x+=3)
pmhcde+=cf0+pmimsa[x]+pmimsa[(x+1)]+'>'+pmimsa[(x+2)];
if (navigator.userAgent.indexOf("Opera")<0){
range = document.createRange();
range.setStartBefore(document.body.firstChild);
inscde = range.createContextualFragment(pmhcde);
document.body.appendChild(inscde)
}
else
document.body.insertAdjacentHTML('afterBegin',pmhcde);
popMain = document.getElementById("popMain");
popMain.style.zIndex = 1000;
pmw = popMain.style.width = mwd
document.onmouseup = setpopdsploff;
window.onresize = setpopnpos;
ecY = popMain.offsetTop;
setTimeout('setpopvars()',40);
}

function setpopdsploff(e){
if (e.which==1)
popdsploff(1,e);
}

popmcreate();

