var _currentFeature = 0;
function setFeature(feature)
{
    if (_currentFeature > 0)
    {
        swapDiv('feature'+_currentFeature, 'feature'+feature);
    } else {
        swapDiv(null, 'feature'+feature);
    }
    if (feature > 1)
    {
        changeImages('feature', 'images/feature_thumb_' + feature + '_over.jpg');
    } else {
        changeImages('feature', 'images/feature.jpg');
    }
    _currentFeature = feature;
}

function goHover(obj, id, x, y)
{
    var go = MM_findObj("go" + id);
    var main = MM_findObj("mainDiv");
    var mainBounds = getBounds(main);

    if (_isMsie || _isSafari)
    {
        var more = MM_findObj("moreMoa");
        var moreBounds = getBounds(more);
        go.style.left = moreBounds.x - mainBounds.x + x;
        go.style.top = moreBounds.y - mainBounds.y + y;
    } else {
        var bounds = getBounds(obj);
        go.style.left = bounds.x - mainBounds.x + x;
        go.style.top = bounds.y - mainBounds.y + y;
    }

    var goImg = MM_findObj("goImg" + id);
    goImg.onmouseover();
    show(go);
}

//v3.0
function MM_swapImgRestore() 
{
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

//v3.0
function MM_swapImage() 
{
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
