
// Redirects the page to the frameset if not already in the frameset.

if (top.frames.length == 0)
{
var navPrinting = false;
    if ((navigator.appName + navigator.appVersion.substring(0, 1)) == "Netscape4") {
        navPrinting = (self.innerHeight == 0) && (self.innerWidth == 0);}
    if ((self.name != 'text') && (self.location.protocol != "file:") && (document.cookie.indexOf('mode=NoFrames') < 0) && !navPrinting) {
        self.location.href = "../frameset_reset.html?" + document.location ;
} else{document.location.href="../frameset_reset.html?" + document.location ;}
}

// End -->

function clearmenu(){
MM_changeProp('section1?left','','style.color','#000000','DIV');
MM_changeProp('section2?left','','style.color','#000000','DIV');
MM_changeProp('section3?left','','style.color','#000000','DIV');
MM_changeProp('section4?left','','style.color','#000000','DIV');
MM_changeProp('section5?left','','style.color','#A84809','DIV');
MM_changeProp('section6?left','','style.color','#A84809','DIV');
MM_changeProp('section7?left','','style.color','#000000','DIV');
MM_changeProp('section8?left','','style.color','#A84809','DIV');
MM_changeProp('section9?left','','style.color','#A84809','DIV');
MM_changeProp('section10?left','','style.color','#A84809','DIV');
MM_changeProp('section11?left','','style.color','#A84809','DIV');
MM_changeProp('section12?left','','style.color','#A84809','DIV');
MM_changeProp('section13?left','','style.color','#A84809','DIV');
MM_changeProp('section14?left','','style.color','#A84809','DIV');
MM_changeProp('section15?left','','style.color','#A84809','DIV');
MM_changeProp('section16?left','','style.color','#A84809','DIV');
MM_changeProp('section17?left','','style.color','#A84809','DIV');
MM_changeProp('section18?left','','style.color','#A84809','DIV');
MM_changeProp('section19?left','','style.color','#A84809','DIV');
MM_changeProp('section20?left','','style.color','#000000','DIV');
MM_changeProp('section21?left','','style.color','#A84809','DIV');
MM_changeProp('section22?left','','style.color','#A84809','DIV');
MM_changeProp('section23?left','','style.color','#A84809','DIV');
MM_changeProp('section24?left','','style.color','#A84809','DIV');
MM_changeProp('section25?left','','style.color','#000000','DIV');
MM_changeProp('section26?left','','style.color','#A84809','DIV');
MM_changeProp('section27?left','','style.color','#A84809','DIV');
MM_changeProp('section28?left','','style.color','#A84809','DIV');
MM_changeProp('section29?left','','style.color','#A84809','DIV');
MM_changeProp('section30?left','','style.color','#A84809','DIV');
MM_changeProp('section31?left','','style.color','#A84809','DIV');
MM_changeProp('section32?left','','style.color','#A84809','DIV');
MM_changeProp('section33?left','','style.color','#A84809','DIV');
MM_changeProp('section34?left','','style.color','#A84809','DIV');
MM_changeProp('section35?left','','style.color','#A84809','DIV');
MM_changeProp('section36?left','','style.color','#A84809','DIV');
MM_changeProp('section37?left','','style.color','#A84809','DIV');
MM_changeProp('section38?left','','style.color','#000000','DIV');
MM_changeProp('section39?left','','style.color','#A84809','DIV');
MM_changeProp('section40?left','','style.color','#A84809','DIV');
MM_changeProp('section41?left','','style.color','#A84809','DIV');
MM_changeProp('section42?left','','style.color','#A84809','DIV');
MM_changeProp('section43?left','','style.color','#A84809','DIV');
MM_changeProp('section44?left','','style.color','#A84809','DIV');
MM_changeProp('section45?left','','style.color','#A84809','DIV');
MM_changeProp('section46?left','','style.color','#A84809','DIV');
MM_changeProp('section47?left','','style.color','#A84809','DIV');
MM_changeProp('section48?left','','style.color','#000000','DIV');
MM_changeProp('section49?left','','style.color','#A84809','DIV');
MM_changeProp('section50?left','','style.color','#A84809','DIV');
MM_changeProp('section51?left','','style.color','#A84809','DIV');
MM_changeProp('section52?left','','style.color','#000000','DIV');
MM_changeProp('section53?left','','style.color','#A84809','DIV');
MM_changeProp('section54?left','','style.color','#A84809','DIV');
MM_changeProp('section55?left','','style.color','#000000','DIV');
MM_changeProp('section56?left','','style.color','#A84809','DIV');
MM_changeProp('section57?left','','style.color','#A84809','DIV');
MM_changeProp('section58?left','','style.color','#A84809','DIV');
MM_changeProp('section59?left','','style.color','#A84809','DIV');
MM_changeProp('section60?left','','style.color','#A84809','DIV');
MM_changeProp('section61?left','','style.color','#A84809','DIV');
MM_changeProp('section62?left','','style.color','#A84809','DIV');
MM_changeProp('section63?left','','style.color','#A84809','DIV');
MM_changeProp('section64?left','','style.color','#A84809','DIV');
MM_changeProp('section65?left','','style.color','#A84809','DIV');
MM_changeProp('section66?left','','style.color','#A84809','DIV');
MM_changeProp('section67?left','','style.color','#A84809','DIV');
MM_changeProp('section68?left','','style.color','#A84809','DIV');
MM_changeProp('section69?left','','style.color','#A84809','DIV');
MM_changeProp('section70?left','','style.color','#A84809','DIV');
MM_changeProp('section71?left','','style.color','#A84809','DIV');
MM_changeProp('section72?left','','style.color','#A84809','DIV');
MM_changeProp('section73?left','','style.color','#A84809','DIV');
MM_changeProp('section74?left','','style.color','#A84809','DIV');
MM_changeProp('section75?left','','style.color','#A84809','DIV');
MM_changeProp('section76?left','','style.color','#A84809','DIV');
MM_changeProp('section77?left','','style.color','#A84809','DIV');
MM_changeProp('section78?left','','style.color','#A84809','DIV');
MM_changeProp('section79?left','','style.color','#A84809','DIV');
MM_changeProp('section80?left','','style.color','#A84809','DIV');
MM_changeProp('section81?left','','style.color','#A84809','DIV');
MM_changeProp('section82?left','','style.color','#A84809','DIV');
MM_changeProp('section83?left','','style.color','#A84809','DIV');
MM_changeProp('section84?left','','style.color','#A84809','DIV');
MM_changeProp('section85?left','','style.color','#A84809','DIV');
MM_changeProp('section86?left','','style.color','#A84809','DIV');
MM_changeProp('section87?left','','style.color','#A84809','DIV');
MM_changeProp('section88?left','','style.color','#A84809','DIV');
MM_changeProp('section89?left','','style.color','#A84809','DIV');
MM_changeProp('section90?left','','style.color','#000000','DIV');
MM_changeProp('section91?left','','style.color','#A84809','DIV');
MM_changeProp('section92?left','','style.color','#A84809','DIV');
MM_changeProp('section93?left','','style.color','#A84809','DIV');
MM_changeProp('section94?left','','style.color','#A84809','DIV');
MM_changeProp('section95?left','','style.color','#A84809','DIV');
MM_changeProp('section96?left','','style.color','#A84809','DIV');
MM_changeProp('section97?left','','style.color','#A84809','DIV');
MM_changeProp('section98?left','','style.color','#A84809','DIV');
MM_changeProp('section99?left','','style.color','#A84809','DIV');
MM_changeProp('section100?left','','style.color','#A84809','DIV');
MM_changeProp('section101?left','','style.color','#A84809','DIV');
MM_changeProp('section102?left','','style.color','#000000','DIV');
MM_changeProp('section103?left','','style.color','#A84809','DIV');
MM_changeProp('section104?left','','style.color','#A84809','DIV');
MM_changeProp('section105?left','','style.color','#A84809','DIV');
MM_changeProp('section106?left','','style.color','#A84809','DIV');
MM_changeProp('section107?left','','style.color','#A84809','DIV');
}

function changetop(whichone){
top.topnav.document.getElementById('top1').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top2').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top3').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top4').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top5').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top6').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top7').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top8').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top9').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top10').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top11').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById('top12').style.backgroundImage = 'url(../media/images/top_background.jpg)';
top.topnav.document.getElementById(whichone).style.backgroundImage = 'url(../media/nso_top_hot.gif)';
// top.left.document.getElementById('contentLayer').scrollTop = 800;
// scrollTop  window.parent.left.move('contentLayer','up');

}

