var agt                = navigator.userAgent.toLowerCase();



var versInt        = parseInt(navigator.appVersion);



var is_aol        = (agt.indexOf("aol") != -1);











function CNN_navBar( tableCellRef, hoverFlag, navStyle ) {



        if ( hoverFlag ) {



                switch ( navStyle ) {



                        case 1:



                                tableCellRef.style.backgroundColor = '#E5DAC7';



                                break;



                        default:



                                if ( document.getElementsByTagName ) {



                                        tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';



                                }



                }



        } else {



                switch ( navStyle ) {



                        case 1:



                                tableCellRef.style.backgroundColor = '#F4EFE7';



                                break;



                        default:



                                if ( document.getElementsByTagName ) {



                                        tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';



                                }



                }



        }



}







function CNN_navBarClick( tableCellRef, navStyle, url ) {



        CNN_navBar( tableCellRef, 0, navStyle );



        CNN_goTo( url );



}











var displayswitch = {"aggs": 0, "armix": 0, "rmix": 0, "pav": 0, "pipe": 0 };











function



handleclick(which,imaget)



{







    document.getElementById(which).style.display = displayswitch[which] ? "none" : "block";



    displayswitch[which] = !displayswitch[which];







// *TO ADD A IMAGE THAT CHANGES (such as an arrow)



// 1. UN-COMMENT THE LINES BELOWMAKE



// 1. BE SURE TO PASS THE IMAGE PARAMETER WITH ANY LINKS (ex: handleclick(which,IMAGET)







//    document.getElementById(imaget).src = displayswitch[imaget] ? "plus.gif" : "minus.gif";



//    displayswitch[imaget] = !displayswitch[imaget];



return false;



}







function



roll(ref, state)



{







    ref.style.color = state == 1 ? "#c0c0c0" : "#000000";



    //ref.style.borderBottom = "1px solid " + (state == 1 ? "#c0c0c0" : "#000000");







}











// end







