<!-- This code this protected by copyright -->

var div = "promo_a";

var time_go = 3500;
var time_ex = 18000;

var size_dx = 250;
var size_dy = 250;

function divGo(obj){

	obj.style.display = "inline";

	divOpen(obj);

}

function divCenter(obj){

	obj.style.left = (document.body.clientWidth / 2) - (obj.offsetWidth / 2);

	obj.style.top = (document.body.clientHeight / 2) - (obj.offsetHeight / 2);

}

function divEliminate(obj){

	obj.parentNode.removeChild(obj);

}

function divClean(obj){

	obj.innerHTML = "";

	divClose(obj);

}

function divClose(obj){

	divCenter(obj);

	x = parseInt(obj.style.width);

	y = parseInt(obj.style.height);
	
	if(x > 0 || y > 0){

		if(x > 0){

			if((x - 5) < 0){

				x = 5;

			}

			obj.style.width = (x - 5) + "px";

		}

		if(y > 0){

			if((y - 5) < 0){

				y = 5;

			}

			obj.style.height = (y - 5) + "px";

		}

		anim = setTimeout("divClose(obj)", 1);

	} else {

		clearTimeout(anim);

		divEliminate(obj);

	}

}

function divOpen(obj){

	divCenter(obj);

	x = parseInt(obj.style.width);

	y = parseInt(obj.style.height);

	if(x < size_dx || y < size_dy){

		if(x < size_dx){

			if((x + 5) > size_dx){

				x = size_dx - 5;

			}

			obj.style.width = (x + 5) + "px";

		}

		if(y < size_dy){

			if((y + 5) > size_dy){

				y = size_dy - 5;

			}

			obj.style.height = (y + 5) + "px";

		}

		anim = setTimeout("divOpen(obj)", 1);

	} else {

		clearTimeout(anim);

		html = "   <table align=\"center\" width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
		html += "    <tr>\n";
		html += "     <td align=\"center\" valign=\"middle\" width=\"100%\">\n";
		html += "      <p><a href=\"http://banners.spacash.com/bannerclick.php?account=jesmai&n=ac1123c5&r=6960&t=11\" target=\"_blank\"><img src=\"http://banners.spacash.com/bannerview.php?account=jesmai&r=6960&t=11&n=ac1123c5\" border=\"0\" alt=\"click here\"></a></p>\n";
		html += "     </td>\n";
		html += "    </tr>\n";
		html += "   </table>\n";

		obj.innerHTML = html;

		setTimeout("divClean(obj)", time_ex);

	}

}

document.write("<div id=\"" + div + "\" style=\"display:none; position:absolute; width:0px; height:0px; border:1px solid black;\"></div>");

obj = document.getElementById(div);

setTimeout("divGo(obj)", time_go);