


function SubMenuFx(id)
{
    //var id = document.getElementById('id')
    new Effect.Highlight(id, {duration: 0.5, startcolor: '#fff4d8', endcolor: '#ffffff', resetcolor: '#ffffff'});
    //new Effect.Move(id, {x: -10, y: 0, mode: 'relative', duration: 0.3, delay: 0});
}

function SubMenuFxR(id)
{
    //var id = document.getElementById('id')
    //document.getElementById(id).style.background-color: #fff;
    //new Effect.Highlight(id, {duration: 0.5, startcolor: '#fff4d8', endcolor: '#ffffff', resetcolor: '#ffffff'});
    //new Effect.Move(id, {x: 10, y: 0, mode: 'relative', duration: 0.3, delay: 0.3});
}

function GlobalMenuFx(id)
{
    new Effect.Move(id, {x: -10, y: 0, mode: 'relative', duration: 0.3, delay: 0});
    //new Effect.Opacity(id, {duration: 0.5, from:0.3, to:1.0});
}
function GlobalMenuFxR(id)
{
    new Effect.Move(id, {x: 10, y: 0, mode: 'relative', duration: 0.3, delay: 0.3});
    //new Effect.Opacity(id, {duration: 0.5, from:0.3, to:1.0});
}
