/*--------------------------------------------------|
| VoicemonJS | www.opendata.co.kr                   |
|---------------------------------------------------|
| Copyright (c) 2008  Opendata Consulting Ltd.      |
|                                                   |
|                                                   |
| Updated: 2009.07.10(±Ý)                           |
|--------------------------------------------------*/

/**********************************
 * config 
 **********************************/
var voicemonjs_core_init_flag;  // ¹Ýº¹½ÇÇà Á¦¾î.
if(voicemonjs_core_init_flag != true){
	voicemonjs_core_init_flag = true;
	var voicemonjs_dname = "ÇÑ±¹Àå¾ÖÀÎº¹Áö°üÇùÈ¸";		// site name
	var voicemonjs_proxyurl = "/voicemonds/tts_proxy.asp";	//	/voicemonDS/tts_proxy/tts_proxy.jsp
	var voicemonjs_ttsmode = false; //  true   0:off , 1:on
	var voicemonjs_voicespeed = "M"; // M    F:Fast, M:Normal, S:Slow
	var voicemonjs_tablemode =  '1'; //0   0 : read only Table summary(must perfect div coding) , 1 : read all , 2 : choice Table [readVoice=\'SUMMARY\' OR readVoice=\'NORMAL\']
	var voicemonjs_voicelanguage = 'KW';	// K   K or E or J or C
	var voicemonjs_formmode = '1';	// 0 : OFF 1: ON
	var voicemonjs_skip_navi_id = '';	// accessibility
	var voicemonjs_highlightmode = '0'; // 0 : OFF 1 : ON
	var voicemonjs_serverurl = "http://ds2.voicemon.co.kr:80";
	
	var voicemonjs_panelmode = '1'; 	// ½Å±ÔÃß°¡ ±âº» ÆÐ³Î »ç¿ë¿©ºÎ   0 : ¼û±è, 1 : »ç¿ë
	var voicemonjs_cpanel_showmode = '1'; // ½Å±ÔÃß°¡ ÆÐ³Î º¸ÀÓ/¼û±è  0 : ÃÖ¼ÒÈ­, 1 : ÃÖ´ëÈ­
	
	var voicemonjs_shorter_keys = new Array();
	voicemonjs_shorter_keys[0] = 49;	//À½¼º¼­ºñ½º ÁßÁö,»ç¿ë 1
	voicemonjs_shorter_keys[1] = 50;	//È­¸éÅ©±â + 2
	voicemonjs_shorter_keys[2] = 51;	//È­¸éÅ©±â - 3
	voicemonjs_shorter_keys[3] = 52;	//È­¸éÅ©±â ±âº» 4
	voicemonjs_shorter_keys[4] = 53;	//°í´ëºñ »ç¿ë, »ç¿ë¾ÈÇÔ 5
	voicemonjs_shorter_keys[5] = 54; 	//ÇÏÀÌ¶óÀÌÆ® »ç¿ë, »ç¿ë¾ÈÇÔ 6
	voicemonjs_shorter_keys[6] = 55;	//À½¼º¼Óµµ Á¶Àý 7
	voicemonjs_shorter_keys[7] = 56;	//À½¼ºÅ©±â Á¶Àý 8
	voicemonjs_shorter_keys[8] = 57;	//À½¼º³ôÀÌ Á¶Àý 9
	voicemonjs_shorter_keys[9] = 48;	//ÃÖ´ëÈ­, ÃÖ¼ÒÈ­  0
	voicemonjs_shorter_keys[10] = 189;	//µµ¿ò¸» `
	voicemonjs_shorter_keys[11] = 90;	//ÆÄÀÏÀÐ±â ÁßÁö Z
	
	var voicemonjs_shorter_chars = new Array();
	voicemonjs_shorter_chars[0] = "1";	//À½¼º¼­ºñ½º ÁßÁö,»ç¿ë 1
	voicemonjs_shorter_chars[1] = "2";	//È­¸éÅ©±â + 2
	voicemonjs_shorter_chars[2] = "3";	//È­¸éÅ©±â - 3
	voicemonjs_shorter_chars[3] = "4";	//È­¸éÅ©±â ±âº» 4
	voicemonjs_shorter_chars[4] = "5";	//°í´ëºñ »ç¿ë, »ç¿ë¾ÈÇÔ 5
	voicemonjs_shorter_chars[5] = "6"; 	//ÇÏÀÌ¶óÀÌÆ® »ç¿ë, »ç¿ë¾ÈÇÔ 6
	voicemonjs_shorter_chars[6] = "7";	//À½¼º¼Óµµ Á¶Àý 7
	voicemonjs_shorter_chars[7] = "8";	//À½¼ºÅ©±â Á¶Àý 8
	voicemonjs_shorter_chars[8] = "9";	//À½¼º³ôÀÌ Á¶Àý 9
	voicemonjs_shorter_chars[9] = "0";	//ÃÖ´ëÈ­, ÃÖ¼ÒÈ­  0
	voicemonjs_shorter_chars[10] = "ÇÏÀÌÇÂ";	//µµ¿ò¸» `
	voicemonjs_shorter_chars[11] = "Z";	//ÆÄÀÏÀÐ±â ÁßÁö Z
	
	var voicemonjs_guidemsg_usegb = "Y";	//ÃÊ±â¾È³»¸Þ¼¼Áö »ç¿ë¿©ºÎ
	var voicemonjs_guidemsg_delay = 60;	//ÃÊ±â¾È³»¸Þ¼¼Áö µô·¹ÀÌÅ¸ÀÓ
	var voicemonjs_guidemsg_message = "ÇùÈ¸ È¨ÆäÀÌÁö ³»¿ëÀ» À½¼ºÀ¸·Î µéÀ¸½Ç ¼ö ÀÖ½À´Ï´Ù.À½¼º±â´É »ç¿ë°ú ÁßÁö´Â Å°º¸µå 1¹øÀ» ´­·¯ ÁÖ¼¼¿ä";//ÃÊ±â¾È³»¸Þ¼¼Áö ³»¿ë

	function voicemonjs_loadjs(inc) { 
		var o='<'+'script src="'+inc+'"'+' type="text/javascript"><'+'/script>'; 
		document.write(o); 
	}
	voicemonjs_loadjs('/voicemonds/voicemonDS_core.js');	// /voicemonDS/js/voicemonDS_core.js
}
