document.write("<div id='gnb_div'></div>");

//¿À¸¥ÂÊ Å¬¸¯¸·±â
//function processKey() { 
//        if((event.ctrlKey == true && (event.keyCode == 78 || event.keyCode == 82)) || 
//           (event.keyCode >= 112 && event.keyCode <= 123) || event.keyCode == 8) { 
//
//   event.keyCode = 0; 
//   event.cancelBubble = true; 
//   event.returnValue = false; 
//        } 
//} 
//function click() {
//if ((event.button==2) || (event.button==3)) {
//alert("¿À¸¥ÂÊ ¹öÆ°Àº »ç¿ëÇÏ½Ç ¼ö¾ø½À´Ï´Ù");
//return false;
//}
//
//if(event.oncontextmenu == true){
//alert('oncontextmenu');
//return false;
//}
//
//
//if(event.ondragstart == true){
//alert('ondragstart');
//return false;
//}
//
//
//if(event.onselectstart == true){
//alert('onselectstart');
//return false;
//}
//event.ondragstart = false;
//}
//document.onmousedown=click;
//document.onkeydown = processKey; 



//ÀüÃ¼ÇÁ·Î±×·¥ º¸±â ½ºÅ©¸³Æ®
function show_answer(q, a) {
  var tagName = "";
  var id = "";

  for(var obj in document.all) {
	tagName = document.all[obj].tagName;
	id = document.all[obj].id;
	if (tagName == "DIV") {
	  if (!id.indexOf("A")) document.all[obj].style.display = "none";
	  if (!id.indexOf("Q")) document.all[obj].style.display = "block";
	}
  }
  q.style.display = "none";
  a.style.display = "block";
}


// IFRAME »çÀÌÁî ÀÚµ¿ Á¶Àý
function doIframeResize(tdId, frameId)
{ 
	tdId.height = frameId.document.body.scrollHeight+20;
	tdId.width = frameId.document.body.scrollWidth;	
} 


// PNG ÀÌ¹ÌÁö Åõ¸íÇÏ°Ô
function setPng24(obj) { 
  obj.width=obj.height=1; 
  obj.className=obj.className.replace(/\bpng24\b/i,''); 
  obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 
  obj.src='';  
  return ''; 
}

// Ç³¼±¸» : ÀÌ¹ÌÁöµµ¿ò¸»  =======================
function show_imgInfo(topV,leftV)	{
	var value_X= (181*leftV);
	var value_Y= (159*(topV-1));

	obj_B = document.getElementById('livespace_over');

	obj_B.style.display="block";

	obj_B.style.top	=	(value_Y)-15 + "px";
	obj_B.style.left =	(value_X)-140 + "px";

}

function hidden_imgInfo()	{
	obj_T = document.getElementById('livespace_over');
	obj_T.style.display="none";
}


/**
 * LEEJAELIM
 **/
var xmlHttp;

function createXMLHttpRequest() {
    if (window.ActiveXObject) {
        xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    } 
    else if (window.XMLHttpRequest) {
        xmlHttp = new XMLHttpRequest();
    }
}
    
function startRequest(ContextURI,Url,Parameter,LoginCustomerNr,PK,SpaceName,Title) {
	if( LoginCustomerNr == "" || LoginCustomerNr == null ){
		//alert("·Î±×ÀÎÇØ ÁÖ¼¼¿ä");
		//return;
	}
	enTitle = encodeURIComponent(Title);
	//enTitle = encodeURI(Title);
    createXMLHttpRequest();
    xmlHttp.onreadystatechange = handleStateChange;
	//document.write(ContextURI+"?Url="+Url+"&Parameter="+Parameter+"&CustomerNr="+LoginCustomerNr+"&PK="+PK+"&SpaceName="+SpaceName+"&Title="+Title);
    xmlHttp.open("POST", ContextURI+"?Url="+Url+"&Parameter="+Parameter+"&CustomerNr="+LoginCustomerNr+"&PK="+PK+"&SpaceName="+SpaceName+"&Title="+enTitle, true);
	//xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
    //xmlHttp.setRequestHeader('Ajax', 'true');
    xmlHttp.send(null);
}
    
function handleStateChange() {
	var bool = "";
    if(xmlHttp.readyState == 4) {
        if(xmlHttp.status == 200) {
			var str = xmlHttp.responseText;
			if(str.indexOf("true") != -1){
				alert("½ºÅ©·¦ÀÌ µî·Ï µÇ¾ú½À´Ï´Ù.");
			} else {
				alert("ÀÌ¹Ì µî·ÏµÇ¾î ÀÖ½À´Ï´Ù.");
			}			
        } 
    } 
}
/**
 * LEEJAELIM
 **/
function getFileSize(filePath)
{
	var len = 0;
	
	if ( navigator.appName.indexOf("Netscape") != -1) {
		try {
			netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
		} catch(e) {
			alert("signed.applets.codebase_principal_support¸¦ ¼³Á¤ÇØÁÖ¼¼¿ä!\n"+e);
			return -1;
		}
		try {
			var file = Components.classes["@mozilla.org/file/local;1"]
								 .createInstance(Components.interfaces.nsILocalFile);
			file.initWithPath ( filePath );
			
			len = file.fileSize;
		} catch(e) {
			alert("¿¡·¯ ¹ß»ý:"+e);
		}
	} else if (navigator.appName.indexOf('Microsoft') != -1) {
		var img = new Image();
		img.dynsrc = filePath;
		len = img.fileSize;
	}
	return len;
}

/***********************************************
* Pausing up-down scroller- ¨Ï Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" style="position: relative; overflow: hidden"><div style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 50)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}

//-------------------------------------------
//  ÀÌ¹ÌÁö »çÀÌÁî ºñÀ²¿¡ ¸Â°Ô  Á¶Àý  , by sh,Han
//-------------------------------------------

function imgChange(imgID,size) {
	
	if(imgID != null) {
		if(imgID.width>size) {
			imgID.width=size;
		}	
	} 	
}

function imgSizeCheck(imgID,size) {

	setTimeout("imgChange("+imgID+","+size+")",1000);

}





/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept == "undefined") var deconcept = new Object();
if(typeof deconcept.util == "undefined") deconcept.util = new Object();
if(typeof deconcept.SWFObjectUtil == "undefined") deconcept.SWFObjectUtil = new Object();
deconcept.SWFObject = function(swf, id, w, h, ver, c, quality, xiRedirectUrl, redirectUrl, detectKey) {
	if (!document.getElementById) { return; }
	this.DETECT_KEY = detectKey ? detectKey : 'detectflash';
	this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);
	
	// MS phishing filter ·Î ÀÎÇØ swfobject detectflash ±â´ÉÀÌ ÀÇ½ÉµÇ´Â phishing object·Î °£ÁÖµÇ¾î
	// SWFObject °¡ ½ÇÇàÀÌ ¾ÈµÇ´Â °ÍÀ» ¹æÁöÇÏ±â À§ÇØ detecting ±â´ÉÀ» Á¦¿ÜÇÑ´Ù.
	this.skipDetect=true;
	//////////////////////
	
	this.params = new Object();
	this.variables = new Object();
	this.attributes = new Array();
	if(swf) { this.setAttribute('swf', swf); }
	if(id) { this.setAttribute('id', id); }
	if(w) { this.setAttribute('width', w); }
	if(h) { this.setAttribute('height', h); }
	if(ver) { this.setAttribute('version', new deconcept.PlayerVersion(ver.toString().split("."))); }
	this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();
	if (!window.opera && document.all && this.installedVer.major > 7) {
		// only add the onunload cleanup if the Flash Player version supports External Interface and we are in IE
		deconcept.SWFObject.doPrepUnload = true;
	}
	if(c) { this.addParam('bgcolor', c); }
	var q = quality ? quality : 'high';
	this.addParam('quality', q);
	this.setAttribute('useExpressInstall', false);
	this.setAttribute('doExpressInstall', false);
	var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;
	this.setAttribute('xiRedirectUrl', xir);
	this.setAttribute('redirectUrl', '');
	if(redirectUrl) { this.setAttribute('redirectUrl', redirectUrl); }
	
	// addRequestParamValue
	// added by occhio
	var q = document.location.search || document.location.hash;
	if(q) {
		var pairs = q.substring(1).split("&");
		for (var i=0; i < pairs.length; i++) {
		//	alert(pairs[i].substring(0, pairs[i].indexOf("=")));
		//	alert(pairs[i].substring((pairs[i].indexOf("=")+1)));
			this.addVariable(pairs[i].substring(0, pairs[i].indexOf("=")), pairs[i].substring((pairs[i].indexOf("=")+1)));
		}
	}
}
deconcept.SWFObject.prototype = {
	useExpressInstall: function(path) {
		this.xiSWFPath = !path ? "expressinstall.swf" : path;
		this.setAttribute('useExpressInstall', true);
	},
	setAttribute: function(name, value){
		this.attributes[name] = value;
	},
	getAttribute: function(name){
		return this.attributes[name];
	},
	addParam: function(name, value){
		this.params[name] = value;
	},
	getParams: function(){
		return this.params;
	},
	addVariable: function(name, value){
		this.variables[name] = value;
	},
	getVariable: function(name){
		return this.variables[name];
	},
	getVariables: function(){
		return this.variables;
	},
	getVariablePairs: function(){
		var variablePairs = new Array();
		var key;
		var variables = this.getVariables();
		for(key in variables){
			variablePairs[variablePairs.length] = key +"="+ variables[key];
		}
		return variablePairs;
	},
	getSWFHTML: function() {
		var swfNode = "";
		if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture
			if (this.getAttribute("doExpressInstall")) {
				this.addVariable("MMplayerType", "PlugIn");
				this.setAttribute('swf', this.xiSWFPath);
			}
			swfNode = '<embed type="application/x-shockwave-flash" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ this.getAttribute('style') +'"';
			swfNode += ' id="'+ this.getAttribute('id') +'" name="'+ this.getAttribute('id') +'" ';
			var params = this.getParams();
			 for(var key in params){ swfNode += [key] +'="'+ params[key] +'" '; }
			var pairs = this.getVariablePairs().join("&");
			 if (pairs.length > 0){ swfNode += 'flashvars="'+ pairs +'"'; }
			swfNode += '/>';
		} else { // PC IE
			if (this.getAttribute("doExpressInstall")) {
				this.addVariable("MMplayerType", "ActiveX");
				this.setAttribute('swf', this.xiSWFPath);
			}
			swfNode = '<object id="'+ this.getAttribute('id') +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ this.getAttribute('style') +'">';
			swfNode += '<param name="movie" value="'+ this.getAttribute('swf') +'" />';
			var params = this.getParams();
			for(var key in params) {
			 swfNode += '<param name="'+ key +'" value="'+ params[key] +'" />';
			}
			var pairs = this.getVariablePairs().join("&");
			if(pairs.length > 0) {swfNode += '<param name="flashvars" value="'+ pairs +'" />';}
			swfNode += "</object>";
		}
		return swfNode;
	},
	write: function(elementId){
		if(this.getAttribute('useExpressInstall')) {
			// check to see if we need to do an express install
			var expressInstallReqVer = new deconcept.PlayerVersion([6,0,65]);
			if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) {
				this.setAttribute('doExpressInstall', true);
				this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl')));
				document.title = document.title.slice(0, 47) + " - Flash Player Installation";
				this.addVariable("MMdoctitle", document.title);
			}
		}
		if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version'))){
			var n = (typeof elementId == 'string') ? document.getElementById(elementId) : elementId;
			n.innerHTML = this.getSWFHTML();
			return true;
		}else{
			if(this.getAttribute('redirectUrl') != "") {
				document.location.replace(this.getAttribute('redirectUrl'));
			}
		}
		return false;
	}
}

/* ---- detection functions ---- */
deconcept.SWFObjectUtil.getPlayerVersion = function(){
	var PlayerVersion = new deconcept.PlayerVersion([0,0,0]);
	if(navigator.plugins && navigator.mimeTypes.length){
		var x = navigator.plugins["Shockwave Flash"];
		if(x && x.description) {
			PlayerVersion = new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));
		}
	}else if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0){ // if Windows CE
		var axo = 1;
		var counter = 3;
		while(axo) {
			try {
				counter++;
				axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+ counter);
//				document.write("player v: "+ counter);
				PlayerVersion = new deconcept.PlayerVersion([counter,0,0]);
			} catch (e) {
				axo = null;
			}
		}
	} else { // Win IE (non mobile)
		// do minor version lookup in IE, but avoid fp6 crashing issues
		// see http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/
		try{
			var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
		}catch(e){
			try {
				var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
				PlayerVersion = new deconcept.PlayerVersion([6,0,21]);
				axo.AllowScriptAccess = "always"; // error if player version < 6.0.47 (thanks to Michael Williams @ Adobe for this code)
			} catch(e) {
				if (PlayerVersion.major == 6) {
					return PlayerVersion;
				}
			}
			try {
				axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			} catch(e) {}
		}
		if (axo != null) {
			PlayerVersion = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
		}
	}
	return PlayerVersion;
}
deconcept.PlayerVersion = function(arrVersion){
	this.major = arrVersion[0] != null ? parseInt(arrVersion[0]) : 0;
	this.minor = arrVersion[1] != null ? parseInt(arrVersion[1]) : 0;
	this.rev = arrVersion[2] != null ? parseInt(arrVersion[2]) : 0;
}
deconcept.PlayerVersion.prototype.versionIsValid = function(fv){
	if(this.major < fv.major) return false;
	if(this.major > fv.major) return true;
	if(this.minor < fv.minor) return false;
	if(this.minor > fv.minor) return true;
	if(this.rev < fv.rev) return false;
	return true;
}
/* ---- get value of query string param ---- */
deconcept.util = {
	getRequestParameter: function(param) {
		var q = document.location.search || document.location.hash;
		if (param == null) { return q; }
		if(q) {
			var pairs = q.substring(1).split("&");
			for (var i=0; i < pairs.length; i++) {
				if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
					return pairs[i].substring((pairs[i].indexOf("=")+1));
				}
			}
		}
		return "";
	}
}
/* fix for video streaming bug */
deconcept.SWFObjectUtil.cleanupSWFs = function() {
	var objects = document.getElementsByTagName("OBJECT");
	for (var i = objects.length - 1; i >= 0; i--) {
		objects[i].style.display = 'none';
		for (var x in objects[i]) {
			if (typeof objects[i][x] == 'function') {
				objects[i][x] = function(){};
			}
		}
	}
}
// fixes bug in some fp9 versions see http://blog.deconcept.com/2006/07/28/swfobject-143-released/
if (deconcept.SWFObject.doPrepUnload) {
	if (!deconcept.unloadSet) {
		deconcept.SWFObjectUtil.prepUnload = function() {
			__flash_unloadHandler = function(){};
			__flash_savedUnloadHandler = function(){};
			window.attachEvent("onunload", deconcept.SWFObjectUtil.cleanupSWFs);
		}
		window.attachEvent("onbeforeunload", deconcept.SWFObjectUtil.prepUnload);
		deconcept.unloadSet = true;
	}
}
/* add document.getElementById if needed (mobile IE < 5) */
if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }}

/* add some aliases for ease of use/backwards compatibility */
var getQueryParamValue = deconcept.util.getRequestParameter;
var FlashObject = deconcept.SWFObject; // for legacy support
var SWFObject = deconcept.SWFObject;



/* ÇÃ·¡½¬ È£Ãâ==============================================*/
// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, º¯¼ö, À©µµ¿ì¸ðµå)
function flashWrite(url,w,h,id,bg,vars,win)
{	
	
	var so = new SWFObject(url, id, w, h, "8", bg);
	so.addParam("wmode", win);
	so.addParam("menu", "false");
	so.addParam("quality", "high");
	so.addParam("allowScriptAccess", "always");
	so.addParam("flashVars", vars);
	
	document.write(so.getSWFHTML());
}

function writeFlash(str)
{
	document.write(str);
}


function getCookie(cookieName)
{
	var search=cookieName + "=";
	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 setCookie(name, value)
{
	var argv = setCookie.arguments;
	var argc = setCookie.arguments.length;
	var expires = (2 < argc) ? argv[2] : null;
	var path = (3 < argc) ? argv[3] : null;
	var domain = (4 < argc) ? argv[4] : null;
	var secure = (5 < argc) ? argv[5] : false;
	document.cookie = name + "=" + escape (value) + ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) + ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : ""); 
}


// ·Î±×ÀÎ»óÅÂ¸¦ ¹ÝÈ¯ÇÑ´Ù.
function getSignInState()
{
	// test
	var signInObj=new Object();

	if(logInState != undefined)
	{
		signInObj.IsLogin=logInState;
	}
	
//	alert(logInState);
		
	return signInObj;
}


function goMenuLink(page, target)
{
	if(target == "_blank")
	{
		window.open(page, null);
	}

 }

function goNewPop(url)
{
	window.open(url, '', '');
}


// Left ¸Þ´ºÀÇ ³ôÀÌ Á¶Á¤
function notifySubmenuHeight(flash_height) {
	//alert(flash_height);
	document.getElementById('submenu_div_box').style.height = flash_height;
}

// 2007.8.21 »çÀÌÆ® °³ÆíÀ» À§ÇØ ¼öÁ¤(notice flash¿¬µ¿ Ãß°¡)
function goNoticePopUp(arg1, arg2){
	window.open('/livespace/noticeView.do?SeqNotice='+arg1,'NOTICE','width=640px, height=480px, left=100, top=100 , scrollbars=no');
	
}

//playspace news ³»¿ë º¸¿©ÁÖ±â À§ÇÑ ½ºÅ©¸³Æ®
function goDetail(arg1, arg2){
                           detailform.seq.value = arg1;
                           detailform.pageno.value = arg2;
                           detailform.submit();

}

//ÀÌ¸ÞÀÏ¹«´Ü¼öÁý°ÅºÎ
function popEmailDeny()
{
	window.open("http://fifa.sony.co.kr/etc/illegal_Email.jsp","emailPopDeny","width=390,height=379,top=100,left=100");
}
