function OnlyPrice(obj) {
	for(var i=0; i<obj.value.length; i++) {
		var chr=obj.value.substr(i,1);
		if(chr<'0' || chr > '9') {
			alert('¼ýÀÚ¸¸ ÀÔ·Â°¡´ÉÇÕ´Ï´Ù.');
			obj.focus();
			obj.select();
			return;
		}
	}
}

function parsePrice(price) {
	return parseInt(price);
}

function GetRound(price) {
	return Math.round(price);
}

function Point2Price(point) {
	return parseInt(point);
}

function Price2Point(price) {
	return parseInt(price);
}

function MoneyCutting(price) {
	price = Math.floor(price/cutting)*cutting;
	return price;
}

function showLayer(layerName, shadowLayerName)
{
	if (document.getElementById) // Netscape 6 and IE 5+
	{
		var targetElement = document.getElementById(layerName);
		var shadowElement = document.getElementById(shadowLayerName);
		targetElement.style.top = shadowElement.style.top;
		targetElement.style.visibility = 'visible';
	}
}

function hideLayer(layerName)
{
	if (document.getElementById) 
	{
		var targetElement = document.getElementById(layerName);
		targetElement.style.visibility = 'hidden';
	}
}
