//===========================================================
//                   グローバル変数
//===========================================================
//タイマーセット ============================================
var flag = 1;
function productFun2() {
	var startSpeed = 500;
	var trans = 0;
	var weightTimer;
	var repeatPoint = function() {
		trans +=10;
        if( trans > 40 ) {
			productFun3();
          	clearInterval( weightTimer );
    	}
	}
	weightTimer = setInterval( repeatPoint, startSpeed );
}
function productFun3() {
	var heightSpeed = 80;
	var transparent = 0;
	var wrapTimer;
	var rss     = document.getElementById("rss");
	var footTop = document.getElementById("footTop");
	var whats   = document.getElementById("whats");
		rss.style.visibility     = "visible";
		footTop.style.visibility = "visible";
		whats.style.visibility   = "visible";
		if( flag == 1 ){
			var repeatPoint = function() {
				transparent +=10;
		        if( transparent > 100 ) {
					transparent = 100;
					rss.style.filter     = 'alpha(opacity=' + transparent + ')';
					footTop.style.filter = 'alpha(opacity=' + transparent + ')';
					whats.style.filter   = 'alpha(opacity=' + transparent + ')';
					var antherIE = transparent / 100;
						rss.style.opacity        = antherIE;
						rss.style.mozOpacity     = antherIE;
						footTop.style.opacity    = antherIE;
						footTop.style.mozOpacity = antherIE;
						whats.style.opacity      = antherIE;
						whats.style.mozOpacity   = antherIE;
		          	  	clearInterval( wrapTimer );
		    	}
				rss.style.filter     = 'alpha(opacity=' + transparent + ')';
				footTop.style.filter = 'alpha(opacity=' + transparent + ')';
				whats.style.filter   = 'alpha(opacity=' + transparent + ')';
				var antherIE = transparent / 100;
					rss.style.mozOpacity     = antherIE;
					rss.style.opacity        = antherIE;
					footTop.style.opacity    = antherIE;
					footTop.style.mozOpacity = antherIE;
					whats.style.opacity      = antherIE;
					whats.style.mozOpacity   = antherIE;
			}
			wrapTimer = setInterval( repeatPoint, heightSpeed );
			flag = 0;
		}
}