

// Make an object pointing to the location of the Flash movie on your web server.
var din_mittelschrift = { src: 'http://beta.headspacedesign.ca/fonts/din_mittelschrift.swf' };
var din_engschrift = { src: 'http://beta.headspacedesign.ca/fonts/din_engschrift.swf' };
var helv_thin = { src: 'http://beta.headspacedesign.ca/fonts/helv_thin.swf' };



// ACTIVATE sIFR:
sIFR.activate(din_mittelschrift);
sIFR.activate(din_engschrift);
sIFR.activate(helv_thin);

//SET UP HOME INTRO FONT REPLACEMENT
sIFR.replace(din_mittelschrift, {
 	
	selector: 'h2.homeintro',
	
	css: [
	'.sIFR-root { font-weight:normal; color:#4A8CA5; font-size:28px; leading:2; }',
	'a {color: #DC0067; text-decoration: none;}',
	'a:hover {color: #000000;}'
	],
	
	wmode: 'transparent'
	
});


// EMAIL SIGN UP TITLE
sIFR.replace(din_engschrift, {
	
	selector: '#footer h4',
	
	css: [
	'.sIFR-root { font-weight:normal; color:#999; text-transform: uppercase; font-size:16px; leading:5; }',
	'a {color: #4A8CA5; text-decoration: none;}',
	'a:hover {color: #ff1e8e; background-color:#D2E2E8;}'
	],
	  
	wmode: 'transparent'

});

//PHONE NUMBER
sIFR.replace(din_mittelschrift, {
	
	selector: 'p.phone',
	
	css: [
	'.sIFR-root { font-weight:normal; color:#666; text-transform: uppercase; font-size:28px; leading:5; }',
	'a {color: #4A8CA5; text-decoration: none;}',
	'a:hover {color: #ff1e8e; background-color:#D2E2E8;}'
	],
	  
	wmode: 'transparent'

});


//section titles
sIFR.replace(helv_thin, {
 	
	selector: '#content h2.helv',
	
	css: [
	'.sIFR-root { font-weight:normal; color:#ff1e8e; font-size:50px; leading:2; }',
	'a {color: #ff1e8e; text-decoration: none;}',
	'a:hover {color: #000000;}'
	],
	
	wmode: 'transparent'
	
});


sIFR.replace(din_engschrift, {
	
	selector: 'body.blog .left h3',
	
	css: [
	'.sIFR-root { font-weight:normal; color:#478ea3; font-size:30px; leading:5; }',
	'a {color: #478ea3; text-decoration: none;}',
	'a:hover {color: #ff1e8e; background-color:#D2E2E8;}'
	],
	  
	wmode: 'transparent'

});

