SoFunction
Updated on 2025-02-28

Functions used in the wishing wall


<script language="JavaScript1.2">
//-
function ssdel(){
if (event)
{
lObj =  ;

while (lObj &&  != "DIV") lObj =  ;
}
var id=
     (id).removeNode(true);
     //(id).outerHTML="";//
  }

//--                                                             �
</script>
<script>
//-  Control layer movement start of script -->
var Obj=''
var index=10000;//z-index;
=MUp
=MMove

function MDown(Object){
Obj=
(Obj).setCapture()
pX=(Obj).;
pY=(Obj).;
}

function MMove(){
if(Obj!=''){
 (Obj).=-pX;
 (Obj).=-pY;
 }
}

function MUp(){
if(Obj!=''){
 (Obj).releaseCapture();
 Obj='';
 }
}

function setTagBPic(i) {
    picurl = getBPic(i);
    getObj('tagBPic'). = " transparent url(\"" + picurl + "\") no-repeat scroll bottom left";
     = i;
}

function setTagBColor(i) {
    color = getBColor(i);
    getObj('preview'). = '' + color;
     = i;
}


function getBPic(i) {
    i = (i<1 || i>8)?1:i;
    return "images/pic" + parseInt(parseInt(i)+27) +".gif";
}
//- Control layer movement end of script -->
//Get focus;
function getFocus(obj)
{
       if(!=index)
       {
               index = index + 2;
               var idx = index;
               =idx;
               //=idx-1;
       }
}