var agenda = {
    src: '/assets/flash-sifr/AgendaRegular.swf'
};

var agenda_med = {
    src: '/assets/flash-sifr/AgendaMedium.swf'
};

var agenda_bold = {
    src: '/assets/flash-sifr/AgendaBold.swf'
};

var gillsans = {
    src: '/assets/flash-sifr/GillSans.swf'
};

var verdana = {
    src: '/assets/flash-sifr/verdana.swf'
};

sIFR.activate(agenda, agenda_med, agenda_bold, gillsans,verdana );

// telephone  text
	sIFR.replace(agenda_med, {
    selector: 'strong.numbertext'
	,forceWidth: 'true'
	,tuneHeight: '-3'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #ffffff; text-transform:uppercase; font-size:11px; text-align:right;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });
  
// telephone  text
	sIFR.replace(agenda_med, {
    selector: 'strong.number'
	,forceWidth: 'true'
	,offsetTop: '-3'
	,tuneWidth: '4'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #EC008C; text-transform: none; font-size:33px; text-align:right; letter-spacing:1.8;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });	
	
// styling homepage right text
  	sIFR.replace(verdana, {
    selector: '.star'
	,forceWidth: 'true'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #ffffff; text-transform: uppercase; text-align:left; font-size:24px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  }); 
  
	sIFR.replace(gillsans, {
    selector: '#home-content h1'
	,forceWidth: 'true'
	,tuneHeight: '-7'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #EC008C; text-transform: uppercase; font-size:30px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:none; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });

 	sIFR.replace(gillsans, {
    selector: '#home-content .sub-title'
	,forceWidth: 'true'
	,tuneHeight: '-7'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #ffffff; text-transform: uppercase; font-size:30px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:none; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });
	
// styling homepage open slide text	
	sIFR.replace(agenda_bold, {
    selector: 'p.main-text strong.bold'
	,forceWidth: 'true'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #EC008C; text-transform: uppercase; font-size:14px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });
	
	sIFR.replace(agenda, {
    selector: 'p.main-text strong.medium'
	,forceWidth: 'true'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #FFFFFF; text-transform: uppercase; font-size:14px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });
	

//  homepage block links
	sIFR.replace(gillsans, {
    selector: '.block-links strong'
	,forceWidth: 'true'	
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #ec008c; text-transform: none; font-size:20px; text-align:left; text-transform: uppercase; font-weight:bold}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:none; }'
      ,'a:hover { color: #ffffff; text-decoration:underline; }'
    ]
  });
   
 // fieldset in thickbox 
  	sIFR.replace(gillsans, {
    selector: 'fieldset.book.new p'
	,forceWidth: 'true'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #ffffff; text-transform: none; font-size:18px; text-align:left; text-transform: uppercase; }'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:none; }'
      ,'a:hover { color: #ffffff; text-decoration:underline; }'
    ]
  });
  
 /*	sIFR.replace(verdana, {
    selector: '.block ul.links li'
	,forceWidth: 'true'	
	,fixhover: 'false'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #ffffff; text-transform: none; font-size:11px; font-weight:bold}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:none; }'
      ,'a:hover { color: #ffffff; text-decoration:underline; }'
    ]
  }); 
  
 	sIFR.replace(verdana, {
    selector: '.block p'
	,forceWidth: 'true'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #ffffff; text-transform: none; font-size:11px; font-weight:bold}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #EC008C; text-decoration:none; }'
      ,'a:hover { color: #EC008C; text-decoration:underline; }'
    ]
  });   
*/
	sIFR.replace(agenda_med, {
    selector: 'strong.floorplan'
	,forceWidth: 'true'
	,tuneHeight: '-3'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #FFFFFF; text-transform: uppercase; text-align:left; font-size:16px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });
 
  	sIFR.replace(gillsans, {
    selector: 'fieldset.book.new strong, .thickbox-form fieldset.book.new p'
	,forceWidth: 'true'
	,tuneHeight: '-3'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #EC008C; text-transform: uppercase; text-align:left; font-size:24px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });  

  	sIFR.replace(agenda_med, {
    selector: 'fieldset.book strong'
	,forceWidth: 'true'
	,tuneHeight: '-3'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #EC008C; text-transform: uppercase; text-align:left; font-size:19px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });
	
 
function UpdateSifrForText()
{
    sIFR.activate(agenda, agenda_med, agenda_bold );
	sIFR.replace(agenda_bold, {
    selector: 'p.main-text strong.bold'
	,forceWidth: 'true'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #EC008C; text-transform: uppercase; font-size:14px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });
	
	sIFR.replace(agenda, {
    selector: 'p.main-text strong.medium'
	,forceWidth: 'true'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { color: #FFFFFF; text-transform: uppercase; font-size:14px;}'
      ,'a { text-decoration: none }'
      ,'a:link { color: #ffffff; text-decoration:underline; }'
      ,'a:hover { color: #ffffff; text-decoration:none; }'
    ]
  });
}
