var dinmit = {
  src: 'http://www.chestnutmtn.com/javascript/dinmit.swf'
};

var dineng = {
  src: 'http://www.chestnutmtn.com/javascript/dineng.swf'
};



sIFR.activate(dinmit, dineng); // From revision 209 and onwards




/* page headers */
sIFR.replace(dinmit, { 
    selector: 'h1',
    wmode: 'transparent',
    css: {
      '.sIFR-root': { 'color':'#341909' }
    }
});

/*page heads on interiors*/
/*sIFR.replace(dinmit, { 
    selector: '.newshead',
    wmode: 'transparent',
    css: {
      '.sIFR-root': { 'color':'#ffffff', 'text-transform': 'uppercase' },
      'a': { 'text-decoration': 'none' },
      'a:link': { 'color': '#ffffff' },
      'a:hover': { 'color': '#ddddd' }
    }
});
*/

sIFR.replace(dinmit, {
  selector: '.newshead',
  wmode: 'transparent',
  css: [
      '.sIFR-root {color: #ffffff; text-transform:uppercase;}'
    ]

});



/*smaller green heads within content*/
sIFR.replace(dineng, { //this is the new way to write
  selector: 'h2',
  wmode: 'transparent',
  css: [
      '.sIFR-root {color: #0a5a59;font-size:18px;}'
      
    ]

});



sIFR.replace(dinmit, { //this is the new way to write
  selector: 'h3',
  wmode: 'transparent',
  css: [
      '.sIFR-root {color: #ffffff;font-size:15px;}'
      ,'a { text-decoration: underline;color: #cfc8b3; }'
      ,'a:link { color: #ffffff; }'
      ,'a:hover { text-decoration:underline;color: #ffffff; }'
    ]

});

sIFR.replace(dinmit, { //this is the new way to write
  selector: 'h6',
  wmode: 'transparent',
  css: [
      '.sIFR-root {color: #a7531d;font-size:15px;}'
      ,'a { text-decoration: underline;color: #cfc8b3; }'
      ,'a:link { color: #a7531d; }'
      ,'a:hover { text-decoration:underline;color: #a7531d; }'
    ]

});

/*homepage news*/
sIFR.replace(dineng, { 
    selector: 'h5',
    wmode: 'transparent',
    css: {
      '.sIFR-root': { 'color':'#341909' }
    }
});
