// JavaScript Document


	var oldboxID = '1' ;
	
	
	function special_fadein(step, newboxid) {
		
		var newbox = document.getElementById(newboxid);

		step = step || 0;

		newbox.style.opacity = step/100;
		newbox.style.filter = "alpha(opacity=" + step + ")"; // IE

		step = step + 2;

		if (step <= 100) {
			window.setTimeout(function () { special_fadein(step, newboxid); }, 1);
		}
	}
	function special_fadeout(step, oldboxid) {
		
		var oldbox = document.getElementById(oldboxid);

		step = step || 0;

		oldbox.style.opacity = (100-step)/100;
		oldbox.style.filter = "alpha(opacity=" + (100-step) + ")"; // IE

		step = step + 2;

		if (step <= 100) {
			window.setTimeout(function () { special_fadeout(step, oldboxid); }, 1);
		}
		
	}
	function special_fade ( newboxID ) {
		if(newboxID != oldboxID) {			
			
			special_fadeout(0,'specialtextbox'+oldboxID);
			
			window.setTimeout( ' special_fadein(0,\'specialtextbox'+newboxID+'\') ' , 300 );
			oldboxID = newboxID;
			
		}
	}