// function is needed to create scope - do not want to muck up the global namespace
if (typeof sIFR != 'undefined') {
    var sheratonGraphExtraLight = {
        src: '/sheraton/sIFR/SheratonGraphExtraLight.swf'
    };

    var sheratonGraphMedium = {
        src: '/sheraton/sIFR/SheratonGraphMedium.swf'
    };

    sIFR.replace(sheratonGraphExtraLight, {
        selector: '#propertyInformation h1',
        forceSingleLine: false,
        fitExactly :false,
        offsetTop : 0,
        offsetLeft : 0,
        tuneHeight : -5,
        transparent: true,
        sharpness: 10,
        forceWidth:true,
        css: ['.sIFR-root {color: #EFEFE4;}']
    })
    if((location.href.indexOf("/dining/attraction_detail") == -1) && (location.href.indexOf("/features/attraction_detail") == -1)) {
	    sIFR.replace(sheratonGraphExtraLight, {
	        selector: '#contentArea h2',
	        forceSingleLine: false,
	        fitExactly :false,
	        offsetTop : 0,
	        offsetLeft : 0,
	        tuneHeight : -5,
	        transparent: true,
	        sharpness: 10,
	        forceWidth:true,
	        css: ['.sIFR-root { color: #653C33;}']
	    });
    }
	    	
    sIFR.replace(sheratonGraphMedium, {
        selector: '.featureBox h3',
        forceSingleLine: true,
        fitExactly :true,
        offsetTop :4,
        offsetLeft : 1,
        transparent: true,
        forceWidth:true,
        tuneWidth: 1,
        css: ['.sIFR-root { color: #653C33; font-size: 12px; text-transform: uppercase; }']
    });
}
