
function float(oj)
{
	//window.status = document.body.clientWidth;
	obj = document.getElementById("fltBanner");	
	var cw = 788;
	try
	{
	//var cw = parseInt(document.body.clientWidth);
	cw = 788;
	//var ow = parseInt(obj.style.width);
	var newLeft = Math.round(cw - 300);
	obj.style.left = newLeft.toString() + "px";
	obj.style.left = "700px";
	}
	catch(ex)
	{
//alert(ex.message);
	}
	
	var tp = parseInt(obj.style.top) + 5;
	if(tp < 100) tp = 100;
	obj.style.top = tp.toString() + 'px';
	var alpha = tp-50;
	if(alpha < 30) alpha = 30;
	obj.style.filter = "Alpha(Opacity=" +alpha.toString() + ")";
	
	if (tp < 450)
	{
		window.setTimeout("float(fltBanner);",5);
	}
	else
	{
		//window.status = document.body.clientWidth + "|" + obj.style.left;
	}
	//window.onresize = repos(obj);	
	
}

function repos(obj)
{
		
	try
	{
	var cw = parseInt(document.body.clientWidth);
	cw = 788;

	var ow = parseInt(obj.style.width);
	var newLeft = Math.round(cw - 300);
	obj.style.left = newLeft.toString() + "px";
	}
	catch(ex)
	{
		//alert(ex.message);
	}
	
}


