function homepageOpacity(id) {
	try {
		var strText = "ft" + id + "_Text";
		var strBox = "ft" + id + "_Box";
		var strScope = "ft" + id + "_Scope";
		var strWrap = "ft" + id + "_Wrp";

		var originalOpacity = $(strText).getStyle("opacity");
		Event.observe(strBox, "mouseover", function(ev){
			new Effect.Fade(strText, {
				queue: {
					position: "end",
					scope: strScope
				},
				limit: 2
			});
			$(strBox).className = "ftBox_over";
			$(strWrap).className = "ftWrap_over";
		});
		Event.observe(strBox, "mouseout", function(ev){
			new Effect.Appear(strText, {
				to: originalOpacity,
				queue: {
					position: "end",
					scope: strScope
				},
				limit: 2
			});
			$(strWrap).className = "ftWrap";
			$(strBox).className = "ftBox";
		})
	} catch(e) {
		
	}
}
Event.observe(window, "load", function() {
	for(i=1;i<=6;i++) {
		homepageOpacity(i);
	}
})
