// JavaScript Document
var s, objToFade = 0;
var mozeRo = 1;

function opacityById() {
	try {
		
	sep2 = window.location.toString().split("#");
	objToFade = document.getElementById(sep2[1].toString()+"Flash");
	
	//alert(objToFade.style.opacity);
	//clearInterval(s); 
	
	if(typeof objToFade.style.opacity == "string") {
		if (objToFade.style.opacity > 0) {
		mozeRo -= 0.1;
		objToFade.style.opacity = mozeRo;
		} else { clearInterval(s); /*alert("not ie | id");*/ 
		
		if (sep2[1] == "market") { objToFade.style.height = "1px"; } 
		if (sep2[1] == "process") { objToFade.style.height = "1px"; } 
		if (sep2[1] == "support") { objToFade.style.height = "1px"; } 
		
		}
	} else {
		if (objToFade.filters.alpha.opacity > 0) {
		objToFade.filters.alpha.opacity -= 10;
		} else { clearInterval(s); /*alert("ie | id");*/   
		
		if (sep2[1] == "market") { objToFade.style.height = "1px"; } 
		if (sep2[1] == "process") { objToFade.style.height = "1px"; } 
		if (sep2[1] == "support") { objToFade.style.height = "1px"; } 
		
		}
	}
	
	}catch(e) {}
}

