var notesoftMedium = {
	src: '/static/rzasielzoekerspresentation/menzis2008/assets/swf/notesoft-medium.swf'
	,ratios: [8, 1.3, 9, 1.22, 10, 1.25, 15, 1.22, 19, 1.18, 26, 1.17, 31, 1.15, 36, 1.14, 37, 1.15, 47, 1.14, 68, 1.13, 69, 1.12, 75, 1.13, 1.12]
};


// sIFR.kerning = true;
// sIFR.delayCss = true;
// sIFR.hideElements = true;
// sIFR.domains = ['menzis.nl'] // uncomment when the site is live!
sIFR.activate(notesoftMedium);


/* default
------------------------------------------------------------------*/
sIFR.replace(notesoftMedium, {
	selector: 'body.page-not-found #page h1'
	,css: ['.sIFR-root { background-color: #fff; color: #c20069; font-size: 20px; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: 'body.acties #page div.actie h1'
	,tuneHeight: "-4"
	,css: ['.sIFR-root { background-color: #ffffff; color: #09357a; font-size: 20px; leading: -2;}'
	]
});

sIFR.replace(notesoftMedium, {
	selector: '#page h1'
	,css: ['.sIFR-root { background-color: #dce9f7; color: #c20069; font-size: 20px; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: 'body.page-not-found #page h2'
	,tuneHeight: "-3"
	,css: ['.sIFR-root { background-color: #fff; color: #005EC3; font-size: 15px; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: '#page h2'
	,tuneHeight: "-4"
	,css: ['.sIFR-root { background-color: #ffffff; color: #09357a; font-size: 16px;  leading: 0; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: '.sidebar h3'
	,tuneHeight: "-3"
	,css: ['.sIFR-root { background-color: #dce9f7; color: #09357a; font-size: 15px;  leading: 0; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: '#page .content h3.special'
	,tuneHeight: "-4"
	,css: ['.sIFR-root { background-color: #ffffff; color: #09357a; font-size: 16px;  leading: 0; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: '#page .content h3.alphabet'
	,tuneHeight: "-4"
	,css: ['.sIFR-root { background-color: #ffffff; color: #005ec3; font-size: 16px;  leading: 0; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: '#page .content div.bar .score'
	,wmode: "transparent"
	,css: ['.sIFR-root { background-color: #005ec3; color: #ffffff; font-size: 14px; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: '.sidebar .call-to-action a'
	,wmode: "transparent"
	,css: ['.sIFR-root { background-color: #c20069; color: #ffffff; font-size: 16px; text-align: center; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: '.content .call-to-action a'
	,wmode: "transparent"
	,css: ['.sIFR-root { background-color: #c20069; color: #ffffff; font-size: 16px; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: 'body.acties div.actie h3'
	,tuneHeight: "-4"
	,css: [
		'.sIFR-root { background-color: #ffffff; color: #c20069; leading: 1; }',
		'a { color: #c20069; text-decoration: none; }',
		'a:hover { color: #c20069; text-decoration: underline; }',
		'a:focus { color: #c20069; text-decoration: underline; }'
	]
});



/* .home, .home-wb
------------------------------------------------------------------*/
sIFR.replace(notesoftMedium, {
	selector: 'body.home #container div.banner h3, body.home-wb #container div.wb-tr h3'
	,tuneHeight: "-4"
	,fitExactly: true
	,css: ['.sIFR-root { background-color: #fff; color: #09357a; font-size: 16px; leading: -2; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: 'body.home #container #specials-navigation h3'
	,tuneHeight: "0"
	,transparent: true
	,css: [
		'.sIFR-root { background-color: #4c8ed5; color: #ffffff; font-size: 16px; leading: -2; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: 'body.home #shortcuts div.links h3'
	,tuneHeight: "-4"
	,css: [
		'.sIFR-root { background-color: #e1ecf8; color: #c20069; leading: 1; }',
		'a { color: #c20069; text-decoration: none; }',
		'a:hover { color: #c20069; text-decoration: underline; }',
		'a:focus { color: #c20069; text-decoration: underline; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: 'body.home-wb #container div.wb-bl h3, body.home-wb #container div.wb-bc h3, body.home-wb #container div.wb-br h3'
	,tuneHeight: "-4"
	,css: [
		'.sIFR-root { background-color: #ffffff; color: #c20069; leading: 1; }'
	]
});

sIFR.replace(notesoftMedium, {
	selector: 'body.home #shortcuts div.news h3, body.home #shortcuts div.poll h3'
	,tuneHeight: "-4"
	,css: [
		'.sIFR-root { background-color: #eef4fb; color: #09357a; leading: 1; }',
		'a { color: #09357a; text-decoration: none; }',
		'a:hover { color: #09357a; text-decoration: underline; }',
		'a:focus { color: #09357a; text-decoration: underline; }'
	]
});

