function doMsg() {
   alert('hello');
   sColor = document.frames('WSNF').document.body.style.backgroundColor;
   alert(sColor);
   document.frames('WSNF').document.body.style.backgroundColor='#C8C8C8';
   
}

function doMastersMail(domsuffix,domtext,initial){
location.href="mailto:" + initial + "@" + domtext + "." + domsuffix;
}

function getURL(){
    var thisURL=location.href.toLowerCase();
    var retVal='';
    //alert(thisURL);
    //alert(thisURL.indexOf('bermudamasters2006'));
    if (thisURL.indexOf('bermudamasters2006')>0){
        //alert('06');
        retVal='06';
    } else if(thisURL.indexOf('bermudamasters.com')>0){
        //alert('00');
        retVal='00';
    } else {
        //alert('none');
    }
    return retVal;
}

function displayRSSFeed(code06,code00){
    site=getURL();
    if (site=='06'){
        newsCode=code06;
    } else {
       newsCode=code00;
    }
    writeCode(newsCode);
}   

function writeCode(newsCode){
   var newsStr='<script src="http://rss2js.geckotribe.com/js.php?f=' + newsCode + '"></script><noscript>You need to have JavaScript enabled to view this feed.</noscript>';
    document.write(newsStr);
}