//Below this line was added to fix the IE9 problem//

function resetMovie(fi)
{
	// JQUERY CHECK BROWSER VERSION - IF IE9 BROWSER THEN RESET FLASH MOVIE //
	if(jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 9 )
	{
		fi.resetMovie();
	}
}
//Above this line was added to fix the IE9 problem//
var Chesterfield = {
  src: 'http://grandsuperior.com/assets/swf/Chesterfield.swf'
};
var Marydale = {
  src: 'http://grandsuperior.com/assets/swf/Marydale.swf'
};

sIFR.activate(Chesterfield);
sIFR.activate(Marydale);

sIFR.replace( Chesterfield, {
			 onReplacement: function(fi){resetMovie(fi);}, //This line was added to fix the IE9 problem//
  selector: '#content-inner h1',
  wmode: 'transparent',
  css: [   '.sIFR-root { background-color: #FFFFFF; color: #523627; leading: -1; letter-spacing: 0 }'
      		,'a { text-decoration: none; }'
      		,'a:link { color: #393836; }'
      		,'a:hover { color: #746a5f; }'
	]
});
sIFR.replace( Chesterfield, { 
			 onReplacement: function(fi){resetMovie(fi);}, //This line was added to fix the IE9 problem//
  selector: '.home-intro h1, h2.subhead',
  wmode: 'transparent',
  css: [   '.sIFR-root { background-color: #FFFFFF; color: #523627; leading: -1; letter-spacing: 0; text-align: center }'
      		,'a { text-decoration: none; }'
      		,'a:link { color: #393836; }'
      		,'a:hover { color: #746a5f; }'
	]
});

sIFR.replace( Marydale, {
			 onReplacement: function(fi){resetMovie(fi);}, //This line was added to fix the IE9 problem//
  selector: '.promobtn',
  wmode: 'transparent',
  css: [   '.sIFR-root { background-color: #FFFFFF; color: #523627; leading: -1; letter-spacing: 0; text-align: center }'
      		,'a { text-decoration: none; }'
      		,'a:link { color: #523627; }'
      		,'a:hover { color: #a8422a; }'
	]
});


