var univers = { src: 'http://www.hastingshotels.com/wp-content/themes/default/swf/univers-light.swf' };
var trajan = { src: 'http://www.hastingshotels.com/wp-content/themes/default/swf/trajan.swf' };

sIFR.activate(univers, trajan);
sIFR.events = true;

sIFR.replace(univers, {
      selector: 'h1',
	  css: [
      '.sIFR-root { color: #222222; }'
	  ],
      wmode: 'transparent'
});

sIFR.replace(univers, {
      selector: 'h2',
	  css: [
      '.sIFR-root { color: #222222; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#001D3B; }'
      ,'a:hover { color:#222222; text-decoration: underline; }'
	  ,'a:visited { color:#222222; }'
	  ],
      wmode: 'transparent'
});

sIFR.replace(univers, {
      selector: '.homepagequotes blockquote',
	  css: [
      '.sIFR-root { color: #222222; text-align:center; }'
	  ],
      wmode: 'transparent'
});

sIFR.replace(univers, {
      selector: '.sub-navigation li',
	  css: [ 
      '.sIFR-root { color: #222222;  font-size:18px; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#001D3B; }'
      ,'a:hover { color:#222222; text-decoration: underline; }'
	  ,'a:visited { color:#222222; }'
	  ],
      wmode: 'transparent',
	  fixHover: 'false'
});

sIFR.replace(trajan, {
      selector: '.offer-generic h3',
	  css: [ 
      '.sIFR-root { color: #001738;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#001738; }'
      ,'a:hover { color:#001738; }'
	  ,'a:visited { color:#001738; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-mothers-day h3',
	  css: [ 
      '.sIFR-root { color: #ed0776;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#ed0776; }'
      ,'a:hover { color:#ed0776; }'
	  ,'a:visited { color:#ed0776; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-valentines h3',
	  css: [ 
      '.sIFR-root { color: #FFFFFF;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#FFFFFF; }'
      ,'a:hover { color:#FFFFFF; }'
	  ,'a:visited { color:#FFFFFF; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-fathers-day h3',
	  css: [ 
      '.sIFR-root { color: #FFFFFF;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#FFFFFF; }'
      ,'a:hover { color:#FFFFFF; }'
	  ,'a:visited { color:#FFFFFF; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-easter h3',
	  css: [ 
      '.sIFR-root { color: #c90089;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#c90089; }'
      ,'a:hover { color:#c90089; }'
	  ,'a:visited { color:#c90089; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-halloween h3',
	  css: [ 
      '.sIFR-root { color: #FFFFFF;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#FFFFFF; }'
      ,'a:hover { color:#FFFFFF; }'
	  ,'a:visited { color:#FFFFFF; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-christmas h3',
	  css: [ 
      '.sIFR-root { color: #FFFFFF;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#FFFFFF; }'
      ,'a:hover { color:#FFFFFF; }'
	  ,'a:visited { color:#FFFFFF; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-spa h3',
	  css: [ 
      '.sIFR-root { color: #FFFFFF;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#FFFFFF; }'
      ,'a:hover { color:#FFFFFF; }'
	  ,'a:visited { color:#FFFFFF; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-dining h3',
	  css: [ 
      '.sIFR-root { color: #001738;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#001738; }'
      ,'a:hover { color:#001738; }'
	  ,'a:visited { color:#001738; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-golf h3',
	  css: [ 
      '.sIFR-root { color: #235413;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#235413; }'
      ,'a:hover { color:#235413; }'
	  ,'a:visited { color:#235413; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-spring h3',
	  css: [ 
      '.sIFR-root { color: #001738;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#001738; }'
      ,'a:hover { color:#001738; }'
	  ,'a:visited { color:#001738; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-summer h3',
	  css: [ 
      '.sIFR-root { color: #001738;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#001738; }'
      ,'a:hover { color:#001738; }'
	  ,'a:visited { color:#001738; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-autumn h3',
	  css: [ 
      '.sIFR-root { color: #d24e1d;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#d24e1d; }'
      ,'a:hover { color:#d24e1d; }'
	  ,'a:visited { color:#d24e1d; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});

sIFR.replace(trajan, {
      selector: '.offer-winter h3',
	  css: [ 
      '.sIFR-root { color: #4ac5f2;  font-size:24px; cursor: pointer; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color:#4ac5f2; }'
      ,'a:hover { color:#4ac5f2; }'
	  ,'a:visited { color:#4ac5f2; }'
	  ],
      wmode: 'transparent',
	  onRelease: function () { var anc = null; if (anc = this.getAncestor()) { jQuery('#details-'+anc.getAttribute('id')).toggle() }}
});