// Fix for ie which has a problem with lots of stuff in the columns
function fixLayout(){
    if(document.getElementById){
        wfl = document.getElementById('widthForceLeft');
        if(wfl){
//        alert(wfl);
            wfl.height=0;
        }
    }
}

// Micro DHTML-API http://www.quirksmode.org/js/dhtmloptions.html
function getObj(name){
    if (document.getElementById){
        this.obj = document.getElementById(name);
        this.style = document.getElementById(name).style;
    }else if (document.all){
        this.obj = document.all[name];
        this.style = document.all[name].style;
    }else if (document.layers){
        this.obj = getObjNN4(document,name);
        this.style = this.obj;
    }
}

/*
var topoffset = 30;
// Makes right hand column aproximate fixed position
function fixPosRightColumn(){

    if (document.documentElement && document.documentElement.scrollTop){
    	theTop = document.documentElement.scrollTop;
    } else if (document.body) {
	    theTop = document.body.scrollTop
    }
    rightColumn     = document.getElementById('widthForceLeft');
    rightColumn.top = topoffset + document.body.scrollTop;
}
*/

/*
var menu;
var theTop = 30;
var old = theTop;

window.onload = function () {
    menu = new getObj('rightcontent');
    alert(menu);
    movemenu();
}

function movemenu(){
    if (window.innerHeight){
        pos = window.pageYOffset;
    }else if (document.documentElement && document.documentElement.scrollTop){
        pos =   document.documentElement.scrollTop;
    }else if (document.body){
        pos = document.body.scrollTop;
    }
    
    if (pos < theTop)
        pos = theTop;
    else
        pos += 30;
    
    if (pos == old){
        menu.style.top = pos;
    }

    old = pos;
    temp = setTimeout('movemenu()',500);
}
*/
