
//
// ³×ÀÌÆ® & ½ÎÀÌ¿ùµå °øÅë TextGNB
//
// SK Communications Co., Ltd.
//

var sso_id = '';
var _NATE_SCRIPT_DATA = {
	fileVer: '201009101538',
	isNate: false,
	isUseTextGNB: true,
	isUseQuicklink: true,
	isUseNameUI: true,

	URL: {
		LOGIN: 'http://www.cyworld.com/main2/login.asp?loginstr=redirect&amp;redirection=',
		LOGOUT: 'http://cyxso.cyworld.com/logout.jsp?redirection=http%3A//www.nate.com/%3Ff%3Dlogout',
		CSS: 'http://loginsvc.cyworld.com/css/common/NateTextGNB_2009.css?ver=201009101538_20100531'
	},

	domain : '',
	reqUrl : document.URL,
	getDomain : function() {	
		try {
			if (this.domain.length == 0) {
				var pattern = new RegExp("(\\w+):\/\/([\\w.-]+)\\/?\\S*", "i");
				pattern.exec(this.reqUrl);
				this.domain = (RegExp.$2).toLowerCase();
			}
			return this.domain;
		}
		catch (e) {
			return "";		
		}
	},

	gnbStyle: '',
	isDisplayLogin: true,
	isDisplayName: true,
	isReplyExists: false,
	isGiftExists: false,
	gnbColor: '',
	gnbColorOver: '',
	
	loginId: null,
	nateId: null,
	cyworldId: null,
	name: null

};

if (_NATE_SCRIPT_DATA.isUseNameUI) {
	document.write('<link rel="stylesheet" type="text/css" href="'+_NATE_SCRIPT_DATA.URL.CSS+'" />');
}

function getId()     { return ''; }
function getMainId() { return ''; }
function getMyId()   { return ''; }
function getName()   { return ''; }
function getSvc()    { return ''; }
function getType()   { return 'A'; }
document.write('<script type="text/javascript" src="http://loginsvc.cyworld.com/js/nameUI/CyworldCommon.js?ver=201009101538" ><\/script>'); 
document.write('<script type="text/javascript" src="http://loginsvc.cyworld.com/js/nameUI/NateTextGNB.js?ver=201009101538" charset="utf-8"><\/script>'); 
document.write('<script type="text/javascript" src="http://loginsvc.cyworld.com/js/nameUI/CyworldNamuUI.js?ver=201009101538" ><\/script>'); 

document.write('<script type="text/javascript" src="http://loginsvc.cyworld.com/cymain/v9/main/js/sso_redirect_fn.js?ver=' + _NATE_SCRIPT_DATA.fileVer + '"><\/script>');

