// JavaScript Document
//<[CDATA[
  
  var myriad = {
    src: '/webroot/styles/myriad.swf'
	,ratios: [8,1.41,9,1.33,10,1.35,15,1.31,19,1.28,20,1.27,26,1.26,29,1.24,30,1.25,40,1.24,55,1.23,88,1.22,89,1.21,95,1.22,98,1.21,99,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21]
  };
  
  var myriadlite = {
    src: '/webroot/styles/myriadlite.swf'
  };
  
  var myriadcond = {
    src: '/webroot/styles/myriadcond.swf'
  };

  sIFR.fromLocal = true;
  sIFR.forceWidth = true;
  sIFR.fitExactly = true;
  sIFR.fixWrap = true;
  sIFR.forceClear = true;
  // sIFR.delayCSS  = true;
  // sIFR.domains = ['novemberborn.net'] // Don't check for domains in this demo
  
  sIFR.activate(myriad, myriadlite, myriadcond);
  
  sIFR.replace(myriad, {
    selector: 'h1'
    ,css: [
      '.sIFR-root { text-align: left; color: #c0c0c0; display:inline; font-size:36px; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '-5'
  });
  
  sIFR.replace(myriad, {
    selector: '#hello'
    ,css: [
      '.sIFR-root { text-align: left; color: #F85418; display:inline; font-size:36px; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '20'
  });
  
  sIFR.replace(myriad, {
    selector: 'h2.section'
    ,css: [
      '.sIFR-root { text-align: left; color: #003471; display:block; font-size:36px; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #000000; }'
      ,'a:hover { color: #CCCCCC; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '-5'
  });
  
  sIFR.replace(myriad, {
    selector: 'h2.subtitle'
    ,css: [
      '.sIFR-root { text-align: left; color: #666666; display:inline; font-size:24px; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color: #666666; }'
      ,'a:hover { color: #000000; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '-5'
  });
  
  sIFR.replace(myriad, {
    selector: 'h2.subhead'
    ,css: [
      '.sIFR-root { text-align: left; color: #666666; display:inline; font-size:18px; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color: #666666; }'
      ,'a:hover { color: #000000; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '-5'
  });
  
  /*sIFR.replace(myriad, {
    selector: 'h4.sub'
    ,css: [
      '.sIFR-root { text-align: left; color: #666666; display:block; font-size:14px; }'
	  ,'a { text-decoration: none; }'
      ,'a:link { color: #666666; }'
      ,'a:hover { color: #000000; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '-5'
  });*/
  
  /*sIFR.replace(myriad, {
    selector: 'h5'
    ,css: [
      '.sIFR-root { text-align: left; color: #F85418; display:inline; font-size:16px; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '-5'
  });
  
  
  sIFR.replace(myriad, {
    selector: 'legend'
    ,css: [
      '.sIFR-root { text-align: left; color: #0099CC; display:inline; font-size:16px; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '-5'
	,preventWrap: true
  });*/

  //]]>