



    var b = false;
        b = document.images;
        
        var n = (document.layers) ? true : false;
        var ie = (document.all) ? true : false;
        var dom = (document.getElementById) ? true : false;
        
       // BEGIN: dhtml scroller
        var range = "";
        var styleObj = "";
        var mutex = 0;
        
  
        var yplace_news = 0;
        var ymax_news = 0;
        var ymin_news = 0;
        var xplace_news = 0;
        
        var speed = 18;                                                                                  //scrolling speed - higher = faster
        var height = 300;                                                                               //height of the clipping div
        var curr_scroll = "";
        
        var allClipId = "clipping"
        var newsId = "content";                                                           
        var newsClipId = "contentClipping";              
        
        if (ie) {
                range = "all.";
                styleObj = ".style";
        
        } else if (n) {
                newsId = allClipId + ".document." + newsId;

        
        } else if (dom) {
                range = "getElementById('";
                styleObj = "')";
                }
        
        
        function getObject(obj) {
                var theObj = eval("document." + range + obj + styleObj);
                return theObj;
                }
        
        
        function shiftTo(obj, x, y) {
                if (n) {
                        obj.moveTo(x,y);
                } else if (ie) {
                        obj.pixelLeft = x;
                        obj.pixelTop = y;
                } else if (dom) {
                        obj.style.left = x + "px";
                        obj.style.top = y + "px";
                        }
                }
        
        
        function scrollUp(thing) {
                if (mutex == 1){
                        if (thing) curr_scroll = thing;
                        var theObj = getObject(eval(curr_scroll + "Id"));
        
                        if (eval("yplace_" + curr_scroll) < eval("ymax_" + curr_scroll)) {
                                eval("yplace_" + curr_scroll  + "+= speed");
                                if (eval("yplace_" + curr_scroll) > eval("ymax_" + curr_scroll)) eval("yplace_" + curr_scroll + " = ymax_" + curr_scroll);
                                shiftTo(theObj, eval("xplace_" + curr_scroll), eval("yplace_" + curr_scroll));
                                setTimeout("scrollUp()",25);
                                }
                        }
                }
        
        
        function scrollDown(thing) {
                if (mutex == 1){
                        if (thing) curr_scroll = thing;
                        var theObj = getObject(eval(curr_scroll + "Id"));
        
                        if (eval("yplace_" + curr_scroll) > eval("ymin_" + curr_scroll)) {
                                eval("yplace_" + curr_scroll + "-= speed");
                                if (eval("yplace_" + curr_scroll) < eval("ymin_" + curr_scroll)) eval("yplace_" + curr_scroll + " = ymin_" + curr_scroll);
                                shiftTo(theObj, eval("xplace_" + curr_scroll), eval("yplace_" + curr_scroll));
                                setTimeout("scrollDown()",25);
                                }
                        }
                }
        
        
        function init() {
                newsObj = getObject(newsId);

        
                if (n) {
                        ymin_news = (newsObj.clip.height - height) * -1;

        
                }       else if (ie) {
                        styleObj = "";
                        newsObj = getObject(newsId);

                        ymin_news = (newsObj.offsetHeight - height) * -1;

                        styleObj = ".style";
        
                } else if (dom) {
                        ymin_news = (newsObj.offsetHeight - height) * -1;

                        }
                }
        
        // END: dhtml scroller
        
        //  -->
        




