/* -----------------------------------------------   Floating layer - v.1   (c) 2006 www.haan.net   contact: jeroen@haan.net   You may use this script but please leave the credits on top intact.   Please inform us of any improvements made.   When usefull we will add your credits.  ------------------------------------------------ */
x = 20;
y = 70;
function setVisible(obj) {
    var nobj = document.getElementById(obj);
    nobj.style.display = (nobj.style.display == 'block') ? 'none' : 'block';
    if (nobj.style.display != 'none') {
        setTimeout("placeIt('" + obj +"')", 50);
    }
}
function placeIt(obj) {
    var nobj = document.getElementById(obj);
    if (document.documentElement) {
        theLeft = document.documentElement.scrollLeft;
        theTop = document.documentElement.scrollTop;
    }
    else if (document.body) {
        theLeft = document.body.scrollLeft;
        theTop = document.body.scrollTop;
    }
    theLeft += x;
    theTop += y;
    nobj.style.left = theLeft + 'px';
    nobj.style.top = theTop + 'px';
    setTimeout("placeIt('" + obj + "')", 500);
}
//window.onscroll = setTimeout("placeIt('layer1')",500);
