
var yourtypeface = {
      src: 'http://dev.websiteblue.com/bubble/program/flash/alwyn_thin.swf'
};
 
sIFR.activate(yourtypeface);
 
sIFR.replace(yourtypeface, {
      selector: 'h1',
      css: [
      '.sIFR-root { color: #FFFFFF;}',
	  'strong { font-weight:normal; color:#f6d642; }',
      ],
      wmode: 'transparent'
});

sIFR.replace(yourtypeface, {
      selector: 'h2',
      css: [
      '.sIFR-root { color: #FFFFFF;}',
	  'strong { font-weight:normal; color:#f6d642; }',
      ],
      wmode: 'transparent'
});


sIFR.replace(yourtypeface, {
      selector: 'h3',
      css: [
      '.sIFR-root { color: #FFFFFF;}',
	  'a { font-weight:normal; color:#FFFFFF; text-decoration:none; }',
	  'a:hover { font-weight:normal; color:#f6d642; text-decoration:none; }',
	  'strong { font-weight:normal; color:#f6d642; }',
      ],
      wmode: 'transparent',
	  onRelease: function(fi) {
			var classes= $(fi.getAncestor()).attr('class').split(' ');
			if (classes[0]=="exercise_click_through") {
				iframe_id = classes[1];
				$('iframe').addClass('hidden');
				$('#'+iframe_id).removeClass('hidden');
			}
	  }
});



sIFR.replace(yourtypeface, {
      selector: 'h4',
      css: [
      '.sIFR-root { color: #FFFFFF;}',
	  'a { font-weight:normal; color:#FFFFFF; text-decoration:none; }',
	  'a:hover { font-weight:normal; color:#f6d642; text-decoration:none; }',
	  'strong { font-weight:normal; color:#f6d642; }',
      ],
      wmode: 'transparent'
});


sIFR.replace(yourtypeface, {
      selector: 'h5',
      css: [
      '.sIFR-root { color: #FFFFFF;}',
	  'a { font-weight:normal; color:#FFFFFF; text-decoration:none; }',
	  'a:hover { font-weight:normal; color:#f6d642; text-decoration:none; }',
	  'strong { font-weight:normal; color:#f6d642; }',
      ],
      wmode: 'transparent'
});
