function img_on(imgName,imgTarg) {
          document[imgTarg].src = imgName;
  }

  
function PreloadImages() { 
    var d=document; if(d.images){ if(!d.p) d.p=new Array();
      var i,j=d.p.length,a=PreloadImages.arguments; for(i=0; i<a.length; i++)
      if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
  }



var popUpWin=0;
function popUpWind(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}


var popUpWin3d=0;
function popUpWind3d(URLStr, left, top, width, height)
{
  if(popUpWin3d)
  {
    if(!popUpWin3d.closed) popUpWin3d.close();
  }
  popUpWin3d = open(URLStr, 'popUpWin3d', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,scrollbars=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}


