// JavaScript Document
function FadeIn(objId,amt) {
	// Set initial opacity amount if it is undefined
	if (typeof amt == 'undefined') amt = 0;

	// Get object and set opacity
	var obj = document.getElementById(objId);
	obj.style.filter = "alpha(opacity="+amt+")"; // IE
	obj.style.opacity = amt/100; // Firefox, etc..
	
	// Decrease Opacity and keep calling FadeOut until you go below 0
	amt += 10;
  	if (amt <= 90) {
		cmd = "FadeIn('"+objId+"',"+amt+")";
		timer = setTimeout(cmd, 70);
	}
}
