var noodlesBlack = { src: baseUri+'common/swf/font-noodles.swf' };

sIFR.activate(noodlesBlack);

sIFR.replace(noodlesBlack, {
  selector: 'body.recipes #intro h1, body.shop #intro h1, body.error #intro h1, body.generic #intro h1, .send-friend #generic-content h1',
  wmode: 'transparent',
  css: {'.sIFR-root':{'color':'#000000','font-weight':'normal','font-size':'42','leading':'-9'}},
  filters: {}
});

var noodlesShop = { src: baseUri+'common/swf/font-noodles.swf' };

sIFR.activate(noodlesShop);

sIFR.replace(noodlesShop, {
  selector: '#house-shop h2',
  wmode: 'transparent',
  css: {'.sIFR-root' : { 'color':'#ffffff', 'font-weight':'normal','font-size':'24', 'text-align':'center', 'leading':'-1' }},
  filters: {}
});

var noodlesWhite = { src: baseUri+'common/swf/font-noodles.swf' };

sIFR.activate(noodlesWhite);

sIFR.replace(noodlesWhite, {
  selector: 'body.home h1, body.home h2, body.quiz #intro h1, body.noodled #intro h1, body.events #intro h1',
  wmode: 'transparent',
  css: {'.sIFR-root' : { 'color':'#ffffff', 'font-weight':'normal','font-size':'42', 'leading':'-9' }},
  filters: {DropShadow: {distance: 1,color: '#000',strength: 2,alpha:0.5}}
});

var noodlesWhiteSub = { src: baseUri+'common/swf/font-noodles.swf' };

sIFR.activate(noodlesWhiteSub);

sIFR.replace(noodlesWhiteSub, {
  selector: 'body.noodled #noodled-people h2',
  wmode: 'transparent',
  css: {'.sIFR-root' : { 'color':'#ffffff', 'font-weight':'normal','font-size':'30', 'leading':'-9' }},
  filters: {
		DropShadow: {distance: 1,color: '#000',strength: 2,alpha:0.5
		}
   }
});

var script = { src: baseUri+'common/swf/font-script.swf' };

sIFR.activate(script);

sIFR.replace(script, {
  selector: '#submit-recipe p',
  wmode: 'transparent',
  css: {'.sIFR-root' : { 'color':'#ffffff', 'font-weight':'normal','font-size':'18', 'text-align':'center', 'leading':'5' }},
  filters: {}
});

var written = { src: baseUri+'common/swf/font-written.swf' };

sIFR.activate(written);

sIFR.replace(written, {
  selector: '#canvas h2',
  wmode: 'transparent',
  css: {'.sIFR-root' : { 'color':'#2e2e2e', 'font-weight':'normal','font-size':'36', 'text-align':'center', 'text-transform':'uppercase', 'leading':'1' }},
  filters: {}
});


var writtenSmall = { src: baseUri+'common/swf/font-written.swf' };

sIFR.activate(writtenSmall);

sIFR.replace(writtenSmall, {
  selector: '#canvas p',
  wmode: 'transparent',
  css: {'.sIFR-root' : { 'color':'#2e2e2e', 'font-weight':'normal','font-size':'20', 'text-align':'left', 'leading':'1'},
  'a' : { 'color':'#2e2e2e', 'font-weight':'normal','font-size':'20', 'text-align':'left', 'text-decoration':'underline', 'leading':'1'},
  'a:hover' : { 'color':'#000000', 'font-weight':'normal','font-size':'20', 'text-align':'left', 'text-decoration':'underline', 'leading':'1'}},
  filters: {}
});
