var trajan = { src: '/swfs/trajan.swf' };
//var trajanRatios = [10,1.43,15,1.36,16,1.34,23,1.32,27,1.31,28,1.3,31,1.29,34,1.3,36,1.28,40,1.29,56,1.28,97,1.27,98,1.26,101,1.27,102,1.26,104,1.27,106,1.26,107,1.27,110,1.26,111,1.27,1.26]
var trajanRatios = [6, 1.24, 7, 1.21, 8, 1.18, 10, 1.16, 11, 1.13, 12, 1.12, 13, 1.11, 15, 1.1, 17, 1.09, 19, 1.08, 22, 1.07, 26, 1.06, 32, 1.05, 41, 1.04, 58, 1.03, 97, 1.02, 1.01];
//sIFR.prefetch(trajan);
sIFR.activate(trajan);

//sIFR.debug.ratios(trajan, { selector: 'div#menu li li div' });
//sIFR.debug.ratios(trajan, { selector: 'h1' });
//sIFR.debug.ratios(trajan, { selector: 'h2' });
//sIFR.debug.ratios(trajan, { selector: 'h3' });

// sIFR.replace(trajan, { selector: 'div#menu li li div', selectable:false, tuneHeight:-8, ratios: trajanRatios, css: { 
// 	'.sIFR-root': { 'color': '#FFFFFF', 'background-color':'#000000', 'font-weight':'bold' },
// 	'a': { color: '#FFFFFF', 'text-decoration':'none' },
// 	'a:hover': { color: '#21c2ef' }
// } });

// sIFR.replace(trajan, { selector: 'div#menu li div', selectable:false, tuneHeight:-8, ratios: trajanRatios, css: { 
// 	'.sIFR-root': { 'color': '#FFFFFF', 'background-color':'#000000', 'font-weight':'bold' },
// 	'a': { color: '#FFFFFF', 'text-decoration':'none' },
// 	'a:hover': { color: '#21c2ef' }
// } });


// sIFR.replace(trajan, { selector: 'div#body div.suite h2 strong', ratios: trajanRatios, tuneHeight:-5, forceSingleLine:true, css: { 
// 	'.sIFR-root': { 'color': '#22BBEE', 'background-color':'#181818', 'font-weight':'bold' } 
// } });
// sIFR.replace(trajan, { selector: 'body#home div#body h1', ratios: trajanRatios, tuneHeight:-9, forceSingleLine:true, css: { 
// 	'.sIFR-root': { 'color': '#FFFFFF', 'background-color':'#000000', 'font-weight':'bold' } 
// } });

sIFR.replace(trajan, { wmode: 'transparent', selector: 'div#body div#call-now h1', ratios: trajanRatios, tuneHeight:-8, tuneWidth:2, forceSingleLine:true, css: { 
	'.sIFR-root': { 'color': '#22BBEE', 'background-color':'#111111', 'font-weight':'bold' } 
} });

sIFR.replace(trajan, { wmode: 'transparent', selector: 'div#body div#call-now h2', ratios: trajanRatios, tuneHeight:-8, forceSingleLine:true, css: { 
	'.sIFR-root': { 'color': '#FFFFFF', 'background-color':'#111111', 'font-weight':'bold' } 
} });

sIFR.replace(trajan, { wmode: 'transparent', selector: 'div#body h1.title-price', ratios: trajanRatios, tuneHeight: -9, forceSingleLine: true, tuneWidth:4, css: {
'.sIFR-root': { 'color':'#22BBEE', 'background-color':'#111111', 'font-weight':'bold', 'font-size':'24px' }
} });

sIFR.replace(trajan, { wmode: 'transparent', selector: '#special_offers .special_offer .title_row h2', ratios: trajanRatios, tuneHeight: -9, forceSingleLine: true, tuneWidth:4, css: {
'.sIFR-root': { 'color':'#22BBEE', 'background-color':'#111111', 'font-weight':'bold', 'font-size':'24px' }
} });

sIFR.replace(trajan, { wmode: 'transparent', selector: 'div#body h1.group-title-price', ratios: trajanRatios, tuneHeight: -9, forceSingleLine: true, tuneWidth:4, css: {
'.sIFR-root': { 'color':'#22BBEE', 'background-color':'#111111', 'font-weight':'bold', 'font-size':'24px' }
} });

sIFR.replace(trajan, { wmode: 'transparent', selector: 'div#body h1', ratios: trajanRatios, tuneHeight: -9, forceSingleLine: true, tuneWidth:4, css: {
'.sIFR-root': { 'color':'#FFFFFF', 'background-color':'#000000', 'font-weight':'bold' },
'.star-rating': { 'color':'#FFFFFF', 'background-color':'#000000', 'font-weight':'bold', 'font-size':'70%' }
} });

sIFR.replace(trajan, { selector: 'div#body h3.price', ratios: trajanRatios, tuneHeight: -9, forceSingleLine: true, tuneWidth:4, css: {
'.sIFR-root': { 'color':'#22BBEE', 'background-color':'#000000', 'font-weight':'bold', 'font-size':'20px' }
} });

sIFR.replace(trajan, { selector: 'div#body h3.dctitle', ratios: trajanRatios, tuneHeight: -9, forceSingleLine: true, tuneWidth:4, css: {
'.sIFR-root': { 'color':'#FFFFFF', 'background-color':'#000000', 'font-weight':'bold', 'font-size':'20px' }
} });


sIFR.replace(trajan, { wmode: 'transparent', selector: '.contact-header', ratios: trajanRatios, tuneHeight: -8, forceSingleLine: true, css: {
'.sIFR-root': { 'color':'#FFFFFF', 'background-color':'#111111', 'font-weight':'bold', 'font-size':'18px' },
'a': { 'color':'#FFFFFF', 'background-color':'#111111', 'font-weight':'bold' },
'a:hover': { 'color':'#FFFFFF', 'background-color':'#111111', 'font-weight':'bold', 'text-decoration' : 'underline' }

} });

//sIFR.replace(trajan, { selector: 'div#body div#overview h2', ratios: trajanRatios, wmode: 'transparent', tuneHeight:-8, css: { 
//	'.sIFR-root': { 'color': '#FFFFFF', 'background-color': '#1c7191', 'font-weight':'bold' } 
//} });

//sIFR.replace(trajan, { selector: 'h2', ratios: myriadRatios });
//sIFR.replace(trajan, { selector: 'h3', ratios: myriadRatios });
