
	function Checkout()
	{
		this.show = function()
		{
			document.getElementById("checkout").style.visibility = 'visible';
		}


		this.hide = function()
		{
			document.getElementById("checkout").style.visibility = 'hidden';
		}
		
		
		this.display = function(blnDisplay)
		{
			if(blnDisplay == undefined) blnDisplay = true;

			if(blnDisplay)
			{
				document.getElementById('checkout').style.display = 'block';
			}
			else
			{
				document.getElementById('checkout').style.display = 'none';	
			}
		}
		
		
		this.clear = function()
		{
			document.getElementById('checkoutframe').src = "shop/html/blank_checkout.html";
		}
		
		
		this.isDisplay = function()
		{
			return (document.getElementById('checkout').style.display == 'block');
		}
	}

