
function AnimateMapOut()
{
	thisObj = document.getElementById('GoogleMapDiv');
	CurrentLocation = parseInt(thisObj.style.left);
	if(CurrentLocation > -1)
	{
	}
	else
	{
		thisObj.style.left = parseInt(thisObj.style.left) + 20;
		
		if(parseInt(thisObj.style.left) < -1)
		{
			window.setTimeout("AnimateMapOut()",1);
		}
	}
}


function AnimateMapIn()
{
	thisObj = document.getElementById('GoogleMapDiv');
	CurrentLocation = parseInt(thisObj.style.left);
	if(CurrentLocation < -741)
	{
	}
	else
	{
		thisObj.style.left = parseInt(thisObj.style.left) - 20;
	
		if(parseInt(thisObj.style.left) > -740)
		{
			window.setTimeout("AnimateMapIn()",1);
		}
	}
}



function AnimateCalcOut()
{
	thisObj = document.getElementById('MortgageCalcDiv');
	CurrentLocation = parseInt(thisObj.style.left);
	if(CurrentLocation > -1)
	{
	}
	else
	{
		thisObj.style.left = parseInt(thisObj.style.left) + 20;
		
		if(parseInt(thisObj.style.left) < -1)
		{
			window.setTimeout("AnimateCalcOut()",1);
		}
	}
}


function AnimateCalcIn()
{
	thisObj = document.getElementById('MortgageCalcDiv');
	CurrentLocation = parseInt(thisObj.style.left);
	if(CurrentLocation < -741)
	{
	}
	else
	{
		thisObj.style.left = parseInt(thisObj.style.left) - 20;
	
		if(parseInt(thisObj.style.left) > -740)
		{
			window.setTimeout("AnimateCalcIn()",1);
		}
	}
}