var cx = 0;
var cy = 0;

function updatecoords(e){
    try {
        if(!e) window.event;
        oggsrc = (e.target) ? e.target : e.srcElement;
        cx = e.clientX; cy = e.clientY;           
    } catch (exception) {}
}

function postitHide(name) { new Effect.Fade(document.getElementById(name), { duration: 0.6, from:0.92}); }

function postitShow(name,offw,offh) {                    
    document.getElementById(name).style.top= (offh+cy)+'px';
    document.getElementById(name).style.left= (offw+cx)+'px';                                        
    new Effect.Appear(document.getElementById(name), { duration: 0.3, to: 1});
}

function tecnicaHide(name) { new Effect.Fade(document.getElementById(name), { duration: 0.6, from:0.92}); }

function tecnicaShow(name,offw,offh) {                    
    document.getElementById(name).style.top= (offh+cy)+'px';
    document.getElementById(name).style.left= (offw+cx)+'px';                                        
    new Effect.Appear(document.getElementById(name), { duration: 0.3, to: 1});
}

function imgHide(name) { new Effect.Fade(document.getElementById(name), { duration: 0.6, from:0.92}); }

function imgShow(name,offw,offh) {                    
    document.getElementById(name).style.top= (offh+cy)+'px';
    document.getElementById(name).style.left= (offw+cx)+'px';                                        
    new Effect.Appear(document.getElementById(name), { duration: 0.3, to: 1});
}