
	function newWindow(fname) {
		fnameWindow = window.open(fname, 'GroupMessages', 'width=700,height=550,scrollbars=yes');
		fnameWindow.focus();
	}

//------  MAIN MENU  --------------------


function rollOverMainmenu(DivId){
    document.getElementById(DivId).className = 'm_menu_over'
};
//--------------------------------------------

function rollOutMainmenu(DivId){
    document.getElementById(DivId).className = 'm_menu'
};
//--------------------------------------------


//------  RIGHT MENU  --------------------


function rollOverRightmenu(DivId){
    document.getElementById(DivId).className = 'right_menu_text_over'
};
//--------------------------------------------

function rollOutRightmenu(DivId){
    document.getElementById(DivId).className = 'right_menu_text'
};
//--------------------------------------------



        //scroller width
        var swidth=175;

        //scroller height
        var sheight=200;

        //scroller's speed
        var sspeed=3;

        // Begin the ticker code
        var resumesspeed=sspeed
        function startscrool() {
                if (document.all) iemarquee(ticker);
                else if (document.getElementById)
                        ns6marquee(document.getElementById('ticker'));
        }
        
        function iemarquee(whichdiv){
                iediv=eval(whichdiv)
                sheight += 1;
                iediv.style.pixelTop=sheight
                iediv.innerHTML=msg 
                sizeup=iediv.offsetHeight
                ieslide()
        }
        
        function ieslide(){
                if (iediv.style.pixelTop>=sizeup*(-1)){
                        iediv.style.pixelTop-=sspeed
                        setTimeout("ieslide()",100)
                }
                else{
                        iediv.style.pixelTop=sheight
                        ieslide()
                }
        }
        
        function ns6marquee(whichdiv){
                ns6div=eval(whichdiv)
                sheight += 1;
                ns6div.style.top=sheight + "px";
                ns6div.innerHTML=msg
                sizeup=ns6div.offsetHeight
                ns6slide()
        }
        function ns6slide(){
                if (parseInt(ns6div.style.top)>=sizeup*(-1)){
                        theTop = parseInt(ns6div.style.top)-sspeed
                        ns6div.style.top = theTop + "px";
                        setTimeout("ns6slide()",100)
                }
                else {
                        ns6div.style.top = sheight + "px";
                        ns6slide()
                }
        }
        
//--------------------------------------------

function searchme(){

    if (document.getElementById('texttosearch').value.length >0) { 
    void($('#highlight-plugin').removeHighlight().highlight(document.getElementById('texttosearch').value)); } 
    return false;
}









