if (document.getElementById) {
	
	// Filmstrip ============================================================
	
	// Create Filmstrip for Style 2 Interests pages
	addEvent(window, "load", function() {
		if ($("interests-style2-filmstrip")) {
			// Setup element for updateFilmstripNav
			pagination = null;
			var lists = $("interests-style2-filmstrip").parentNode.parentNode.getElementsByTagName("ol");

			for (var i = 0; i < lists.length; i++) {
				if (Element.hasClassName(lists[i], "filmstrip-pagination")) {
					pagination = lists[i];
					break;
				}
			}

			myFilmstrip = new fx.Filmstrip("interests-style2-filmstrip", {
				duration: 1000,
				stepNum: 5,
				stepSize: 725,
				onComplete: function() {
					updateFilmstripNav(this.nowStop);
				}}
			);
		}
	});
	
}

// sIFR Rules ===============================================================

if(typeof sIFR == "function" && !sIFR.UA.bIsIEMac){
	
	// Interests Style 1 (2 Columns) h4
	sIFR.replaceElement("div.interests-properties-and-deals h4", named({
		sFlashSrc:      "/images/promotions/sifr/trade-gothic-lt-bold.swf",
		sColor:         "#003366",
		sBgColor:       "#FFFFFF",
		sWmode:         "transparent"}
	));
	
	// Interests Style 1 (2 Columns) h5
	sIFR.replaceElement("div.interests-properties-and-deals h5 span,div#hero-shot div#hero-shot-aux h5 span", named({
		sFlashSrc:      "/images/promotions/sifr/mini-7.swf",
		sColor:         "#003366", // ultra dark blue
		sBgColor:       "#D2E3F3", // light blue
		sWmode:         "transparent",
		sFlashVars:     "offsetTop=2"}
	));
}
