

function switchit(obj,img){

        if (document.images)
        {
        obj.src=img
        }
}

var cm=null;
document.onclick = new Function("show(null)")
function getPos(el,sProp) {
        var iPos = 0
        while (el!=null) {
                iPos+=el["offset" + sProp]
                el = el.offsetParent
        }
        return iPos

}

function show(el,m) {
        if (m) {
                m.style.display='';
                m.style.pixelLeft = getPos(el,"Left") + 144;
                m.style.pixelTop = getPos(el,"Top") + el.offsetHeight - 24;
        }
        if ((m!=cm) && (cm)) cm.style.display='none'
        cm=m
}

function cOn(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#000000";
}
}

function cOut(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#ECE1CF";
}
}

function MM_showHideLayers()
{ //v2.0
                var i, visStr, args, theObj;
                args = MM_showHideLayers.arguments;
                for (i=0; i<(args.length-2); i+=3)
                { //with arg triples (objNS,objIE,visStr)
                                visStr   = args[i+2];


                                if (navigator.appName == 'Netscape' )
                                {

                                        //theObj = eval(args[i]);
                                        //if (theObj) theObj.visibility = visStr;

                                        if (visStr == 'show') visStr = 'visible'; //convert vals
                                        if (visStr == 'hide') visStr = 'hidden';
                                        theObj = eval(args[i+1]);
                                        if (theObj) theObj.style.visibility = visStr;
                                }
                                else if (document.all != null)
                                { //IE

                                        if (visStr == 'show') visStr = 'visible'; //convert vals
                                        if (visStr == 'hide') visStr = 'hidden';
                                        theObj = eval(args[i+1]);
                                        if (theObj) theObj.style.visibility = visStr;
                                }

                }
}