
var rockwell = {
	src: root+'/cityfolk/_ui/swf/rockwell.swf'
};

sIFR.activate(rockwell);

sIFR.replace(rockwell, {
	selector: '.calendar h1',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; color: #ffffff; letter-spacing: -2;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});

sIFR.replace(rockwell, {
	selector: 'div#welcome h1',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; color: #9E0C65; letter-spacing: -2;}'
    ]
});

sIFR.replace(rockwell, {
	selector: '.characters #box_you h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; color: #FFFFFF; font-weight: normal;}'
    ]
});

sIFR.replace(rockwell, {
	selector: '.characters #box_you h3',
	wmode: 'transparent',
	css: [
		'.sIFR-root {font-family: "Rockwell Std"; color: #2d1349;font-size:18px;}',
		'.sIFR-root strong {font-family: "Rockwell Std Bold";font-weight: normal;color: #2d1349;font-size:125px;}'
    ]
});


sIFR.replace(rockwell, {
	selector: '.welcome .intro h1 span',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; color: #FFFFFF; font-weight: normal;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});



sIFR.replace(rockwell, {
	selector: '.welcome .intro h1 strong',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; color: #FFFFFF;font-weight: normal;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});
sIFR.replace(rockwell, {
	selector: '.customize h1',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Light"; color: #ffffff;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold";font-weight: normal;}'
    ]
});
sIFR.replace(rockwell, {
	selector: '.customize h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; color: #2d1349;}'
    ]
});


sIFR.replace(rockwell, {
	selector: '.gallery h1',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; color: #ffffff;font-size:29px;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold";font-weight: normal;color: #ffffff;font-size:132px;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});

sIFR.replace(rockwell, {
	selector: '.gallery li h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Light"; color: #ffffff;font-size:22px;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold";font-weight: normal;color: #ffffff;font-size:122px;}'
    ]
});

sIFR.replace(rockwell, {
	selector: '.welcome .col2 h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Light"; color: #2d1349;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold"; font-weight: normal;}'
    ]
});

sIFR.replace(rockwell, {
	selector: '.newFeatures h1',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; font-weight: normal; color: #ffffff;font-size:28px;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold"; font-weight: normal;font-size:140px;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});
sIFR.replace(rockwell, {
	selector: '.newFeatures #box_bigCity h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std"; font-weight: normal; color: #ffffff;font-size:23px;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold"; font-weight: normal;font-size:120px;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});

sIFR.replace(rockwell, {
	selector: '.explore h1',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; font-weight: normal; color: #ffffff;letter-spacing:-1;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});
sIFR.replace(rockwell, {
	selector: '.explore ul h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; color: #2d1349;}'
    ]
});

sIFR.replace(rockwell, {
	selector: '.newFeatures .lookinGood h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Light"; color: #ffffff;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold"; font-weight: normal; font-size: 133%;}'   
    ]
});
sIFR.replace(rockwell, {
	selector: '.newFeatures h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Light"; color: #2d1349;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold"; font-weight: normal; font-size: 130%;}'
    ]
});

sIFR.replace(rockwell, {
	selector: '.connected h1',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Light"; font-weight: normal; color: #ffffff;font-size:28px;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold"; font-weight: normal;font-size:140px;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});

sIFR.replace(rockwell, {
	selector: '.connected li h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Bold"; font-weight: normal; color: #2d1349;}'
    ]
});

sIFR.replace(rockwell, {
	selector: '.send_to_friend h1',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Light"; font-weight: normal; color: #ffffff;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold"; font-weight: normal; font-size:120%;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});

sIFR.replace(rockwell, {
	selector: '.send_to_friend h2',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std Light"; font-weight: normal; color: #ffffff;}'
    ]
});


sIFR.replace(rockwell, {
	selector: 'h1.sifr',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-family: "Rockwell Std"; color: #FFFFFF; leading: -5;}',
	      '.sIFR-root .sIFR-class-large {font-size: 120%;}',
	      '.sIFR-root strong {font-family: "Rockwell Std Bold"; font-weight: normal;}'
    ],
    filters: {
		DropShadow: {
			alpha: .33,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#000000',
			distance: 2,
			knockout: false,
			strength: 5
		}
	}
});

sIFR.replace(rockwell, {
	selector: 'h2.sifr',
	wmode: 'transparent',
	css: [
	      '.sIFR-root {font-size: 13px; font-family: "Rockwell Std Bold"; color: #0069B3;}',
	      '.sIFR-root strong {font-size: 200%; font-weight: normal;}'
    ],
    filters: {
		DropShadow: {
			alpha: .5,
			angle: 67,
			blurX: 1,
			blurY: 1,
			color: '#FFFFFF',
			distance: 2,
			knockout: false,
			strength: 5
		}
	},
	modifyContent: function(node) {                                                                                                                   
        // Config --------------------------------------------------------------------------/
           var tag = "span"; 
           var transform = "uppercase"; // uppercase, lowercase, and capitalize supported
        // ---------------------------------------------------------------------------------/
        var els = node.getElementsByTagName(tag); for(var i=0;i<els.length;i++){ if (els[i].firstChild != null){if (transform == "uppercase") els[i].firstChild.nodeValue = els[i].firstChild.nodeValue.toUpperCase();if (transform == "lowercase") els[i].firstChild.nodeValue = els[i].firstChild.nodeValue.toLowerCase();if (transform == "capitalize") {val = els[i].firstChild.nodeValue; newVal = ''; val = val.split(' '); for(var j=0;j<val.length;j++){newVal += val[j].substring(0,1).toUpperCase() + val[j].substring(1,val[j].length) + ' '; } newVal = newVal.slice(0, -1);els[i].firstChild.nodeValue = newVal;}}}return node; 
  }

});
