/*   $Id: Thunderbird.js,v 1.1 2001/08/21 05:18:17 sakura Exp $
 *******************************************************************************
 *
 *  /| /|       @Draw up : Vg <datensi@linkcom.co.jp>
 * =R=       $Revision: 1.1 $
 *  /.  _    @CreateDate:  2001/07/12 22:56
 * ǃ;__)m   @Explanation: 
 *
 *******************************************************************************
 */  // All Rights Reserved, Copyright (C) 2001 Vg


// FORM FOUCS
function actFocus(focusForm, sel, clr) {
	if (clr == 'true') { focusForm.value = ""; }
	focusForm.focus();
	if (sel == 'true') { focusForm.selcted(); }

}

// 
function GetLength(str) {
	var i,cnt = 0;
	for (i=0; i<str.length; i++) {
		if (escape(str.charAt(i)).length >= 4) cnt+=2;
		else cnt++;
	}
	return cnt;
}


