﻿/* You can put your replace statement(s) below, or at the very end of the JS file
	
	Example:
	replaceElement(sSelector, sFlashSrc, sColor, sLinkColor, sHoverColor, sBgColor, nPaddingTop, nPaddingRight, nPaddingBottom, nPaddingLeft, sFlashVars, casing);
	
	Here is what goes in your statements:
	
	sSelector = CSS selector you'd like to replace (e.g. 'h1.main' or 'h2' or '#main h3')
	sColor = text color (e.g. '#000000')
	sLinkColor = link color (e.g. '#0000CC')
	sHoverColor = link color on hover (e.g. '#00CC00')
	sBgColor = color of background (e.g. '#CCCCCC', or 'transparent'... transparent not recommended... problems with Opera and Macs)
	
	nPadding parameters = enter 0 in here unless you specifically have padding assigned to the element in CSS
	PADDING MUST MATCH *EXACTLY* TO YOUR CSS... THESE ARE NOT NUMBERS TO TRIFLE WITH
		
	sFlashVars = this is a special parameter which lets you pass other things into Flash. Examples include:
	textalign=center (horizontally centers text)
	offsetLeft=5 (pushes text 5 pixels to the right)
	offsetTop==5 (pushes text 5 pixels down)
	underline=true (adds underline to links on hover)
	--- Example syntax for extra parameters (& delimited): ---
	--- 'textalign=center&offsetTop=2&offsetLeft=4' ---
	
	casing = 'upper' or 'lower' transforms text to upper or lower case... this param is optional and goes at the end
	*/

// Here are the replace statements:

if(sIFR != null && sIFR.replaceElement != null){
	sIFR.replaceElement("h1", "/esquadrimetalv02/linked/MyriadPro.swf"		, "#333333", "#333333", "#333333", null, 0, 0, 0, 0, "textalign=left&offsetTop=0");
	sIFR.replaceElement("h2", "/esquadrimetalv02/linked/MyriadPro.swf"	    , "#df1929", "#df1929", "#df1929", null, 0, 0, 0, 0, "textalign=left&offsetTop=0");
	sIFR.replaceElement("h3", "/esquadrimetalv02/linked/MyriadPro.swf"	    , "#666666", "#666666", "#666666", null, 0, 0, 0, 0, "textalign=left&offsetTop=0");
	sIFR.replaceElement("h4", "/esquadrimetalv02/linked/MyriadProBold.swf"	, "#df1929", "#df1929", "#df1929", null, 0, 0, 0, 0, "textalign=left&offsetTop=0");
	sIFR.replaceElement("h5", "/esquadrimetalv02/linked/MyriadPro.swf"	    , "#df1929", "#df1929", "#df1929", null, 0, 0, 0, 0, "textalign=left&offsetTop=0");
};