//// ## Auto Popup

// ## ÀÌº¥Æ® ÆË¾÷ 1

var browser=navigator.appName + " " + navigator.appVersion;

function openRemote() {
	if (browser.substring(0, 8)=="Netscape") {
		var newWind=window.open('/kr/popup/popup_20100901.jsp','pctcevent','scrollbars=no,width=550,height=550,top=40,left=50');
		if (newWind.opener == null){ 
			newWind.opener = window; 
		}else { 
		if (browser.substring(0, 12)=="Netscape 3.0")
			newWind.focus();
		if (browser.substring(0, 12)=="Netscape 2.0")
			newWind.document.forms[0].display.focus();
		}
	}else{
		var newWind=window.open('/kr/popup/popup_20100901.jsp','pctcevent','scrollbars=no,width=550,height=550,top=40,left=50');
		if (newWind.opener == null){ 
			newWind.opener = window; 
		}
	}

}

function getCookie (name){
	var nameOfCookie = name + "=";
	var x = 0;
	while (x <= document.cookie.length)
	{
		var y = (x+nameOfCookie.length);
		if (document.cookie.substring (x, y) == nameOfCookie)
		{
			if ((endOfCookie = document.cookie.indexOf (";", y)) == -1)
				endOfCookie = document.cookie.length;
			return unescape (document.cookie.substring(y, endOfCookie));
		}
		x = document.cookie.indexOf (" ", x) + 1;
		if (x == 0)
			break;
	}
	return "";

}

//if (getCookie('it_pop') != '1')
//	openRemote();

//////// 2009³â ¼³ ÆË¾÷ - ¹Ù·Î À§¿¡ µÎÁÙ ¸Ç ¾Õ '//' »èÁ¦

//// #### ÆË¾÷ Â÷´Ü : ¹Ù·Î À§ÀÇ µÎÁÙÀ» ÁÖ¼®Ã³¸®
//// #### ³»¿ëÀÌ ÆäÀÌÁö »çÀÌÁî¸¦ ÃÊ°úÇÒ °æ¿ì : »ó´Ü window.openÀÇ scrollbars=no --> scrollbars=yes, °¡·Î ¼¼·Î »çÀÌÁî Á¶Á¤

// ## ÀÌº¥Æ® ÆË¾÷ 1 - End


// ÀÌº¥Æ® ÆË¾÷ 2

var browser=navigator.appName + " " + navigator.appVersion;

function openRemote2() {
	if (browser.substring(0, 8)=="Netscape") {
	var newWind=window.open('/kr/popup/popup_20100803.jsp','pctcevent2','scrollbars=no,width=600,height=600,top=150,left=180');
	if (newWind.opener == null){ 
		newWind.opener = window; 
	}
else { 
	if (browser.substring(0, 12)=="Netscape 3.0")
		newWind.focus();
	if (browser.substring(0, 12)=="Netscape 2.0")
		newWind.document.forms[0].display.focus();
	}
}

	else {
		var newWind=window.open('/kr/popup/popup_20100803.jsp','pctcevent2','scrollbars=no,width=600,height=600,top=150,left=180');
		if (newWind.opener == null){ 
			newWind.opener = window; 
		}
	}

}

function getCookie (name){
	var nameOfCookie = name + "=";
	var x = 0;
	while (x <= document.cookie.length)
	{
		var y = (x+nameOfCookie.length);
		if (document.cookie.substring (x, y) == nameOfCookie)
		{
			if ((endOfCookie = document.cookie.indexOf (";", y)) == -1)
				endOfCookie = document.cookie.length;
			return unescape (document.cookie.substring(y, endOfCookie));
		}
		x = document.cookie.indexOf (" ", x) + 1;
		if (x == 0)
			break;
	}
	return "";

}

//if (getCookie('it_pop') != '1')
//	openRemote2();

//// ÆË¾÷ Â÷´Ü : ¹Ù·Î À§ÀÇ µÎÁÙÀ» ÁÖ¼®Ã³¸®
//// ³»¿ëÀÌ ÆäÀÌÁö »çÀÌÁî¸¦ ÃÊ°úÇÒ °æ¿ì : »ó´Ü window.openÀÇ scrollbars=no --> scrollbars=yes, °¡·Î ¼¼·Î »çÀÌÁî Á¶Á¤

// ÀÌº¥Æ® ÆË¾÷ 2 - End




//////// ÀÌº¥Æ® ÆË¾÷ 3 

var browser=navigator.appName + " " + navigator.appVersion;

function openRemote3() {
	if (browser.substring(0, 8)=="Netscape") {
	var newWind=window.open('/kr/popup/popup_20100430.jsp','pctcevent','scrollbars=no,width=550,height=550,top=100,left=130');
	if (newWind.opener == null){ 
		newWind.opener = window; 
	}
else { 
	if (browser.substring(0, 12)=="Netscape 3.0")
		newWind.focus();
	if (browser.substring(0, 12)=="Netscape 2.0")
		newWind.document.forms[0].display.focus();
	}
}

	else {
		var newWind=window.open('/kr/popup/popup_20100430.jsp','pctcevent','scrollbars=no,width=550,height=550,top=100,left=130');
		if (newWind.opener == null){ 
			newWind.opener = window; 
		}
	}

}

function getCookie (name){
	var nameOfCookie = name + "=";
	var x = 0;
	while (x <= document.cookie.length)
	{
		var y = (x+nameOfCookie.length);
		if (document.cookie.substring (x, y) == nameOfCookie)
		{
			if ((endOfCookie = document.cookie.indexOf (";", y)) == -1)
				endOfCookie = document.cookie.length;
			return unescape (document.cookie.substring(y, endOfCookie));
		}
		x = document.cookie.indexOf (" ", x) + 1;
		if (x == 0)
			break;
	}
	return "";

}

//if (getCookie('it_pop') != '1')
//	openRemote3();

// ÀÌº¥Æ® ÆË¾÷ 3 - End