function doTmpText(inId, inType) {
	
	target = document.getElementById(inId);
	
	inStr = target.value;
	str = '';
	
	switch (inId) {
		case 'un':
			str = 'User name';
			break;
		case 'pw':
			str = 'Password';
			break;
		case 'searchBox':
			str = 'Search';
			break;
	}
	
	if ((inStr == str)&&(inType == 1)) {
		target.value = '';
		target.style.color = '#333';
	}
	
	if ((inStr == '')&&(inType == 0)) {
		target.value = str;
		target.style.color = '#a9a9a9';
	}
}