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

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

var grotesquec = {
  src: 'https://www.chestnutmtn.com/javascript/grotesquecond.swf'
};



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




/* page headers */
sIFR.replace(grotesquec, { 
    selector: 'h1',
    wmode: 'transparent',
     css: [
      '.sIFR-root {color: #576d71; text-transform:uppercase;}'
    ]
});



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

});



/*smaller green heads within content*/
sIFR.replace(grotesquec, { //this is the new way to write
  selector: 'h2',
  wmode: 'transparent',
  css: [
      '.sIFR-root {color: #0296a8;font-size:22px;text-transform:uppercase;margin-top:30px;}'
      
    ]

});



/*smaller green heads within content*/
sIFR.replace(grotesquec, { //this is the new way to write
  selector: '#ism #OT_searchWrapper h2.OT_feedTitle',
  wmode: 'transparent',
  css: [
      '.sIFR-root {color: #148da6;font-size:12px;margin-top:0px;}'
      
    ]

});





/*sIFR.replace(grotesquec, { //this is the new way to write
  selector: 'h3',
  wmode: 'transparent',
  css: [
      '.sIFR-root {color: #000000;font-size:16px;line-height:20px;}'
      ,'a { text-decoration: underline;color: #000000; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { text-decoration:underline;color: #000000; }'
    ]

});*/

sIFR.replace(grotesquec, { //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(grotesquec, { 
    selector: 'h5',
    wmode: 'transparent',
    css: {
      '.sIFR-root': { 'color':'#341909' }
    }
});


/*smaller green heads within content*/
sIFR.replace(grotesquec, { //this is the new way to write
  selector: 'h4',
  wmode: 'transparent',
  css: [
      '.sIFR-root {color: #333333;font-size:20px;text-transform:uppercase;}'
      
    ]

});

