
/* -------------- ¸ÞÀÎÈ­¸é ±âº»½ºÅ©¸³Æ® ------------- */
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
function viewNotice(){
	notice.style.visibility="visible";
}
function hiddenNotice(){
	notice.style.visibility="hidden";
	design.style.display="none";
}
function allCloseLayer(category){
	notice.style.visibility="hidden";
	design.style.display="none";
	
	if(category=="notice"){
		supportIframe.document.location.href="./notice/notice_list.htm";
	}else if(category=="schedule"){
		supportIframe.document.location.href="./notice/schedule.htm";
	}else if(category=="news"){
		supportIframe.document.location.href="./notice/news_list.htm";
	}else if(category=="report"){
		supportIframe.document.location.href="./notice/report_list.htm";
	}else if(category=="qna"){
		supportIframe.document.location.href="./notice/qna_list.htm";
	}else if(category=="tech"){
		supportIframe.document.location.href="./info/tech_list.htm";
	}else if(category=="site"){
		supportIframe.document.location.href="./info/site_list.htm";
	}else{
		supportIframe.document.location.href="./notice/notice_list.htm";
	}
	
	//projectIframe.document.location.href="./notice/qna_list.htm";
	
}

//*************** ´º½º¸®½ºÆ® ºÎºÐ ***************************//
function viewNewsList(number,category){
	notice.style.visibility="hidden";
	design.style.display="none";
	string = new String(number);
	//------------- ¼öÁ¤µÈ ºÎºÐ -----------------//
	if(category == "notice"){
		supportIframe.document.location.href="./notice/notice_read.htm?bdne_index="+number;
	}else if(category == "news"){
		supportIframe.document.location.href="./notice/news_read.htm?bdns_index="+number;
	}else if(category == "report"){
		supportIframe.document.location.href="./notice/report_read.htm?bdrt_index="+number;
	}else if(category == "schedule"){
		supportIframe.document.location.href="./notice/schedule.htm?date_year="+string.substr(0,4)+"&date_month="+string.substr(4,2)+"&date_day="+string.substr(6,2);
	}
	//------------- ¼öÁ¤µÈ ºÎºÐ -----------------//
}
//*************** ´º½º¸®½ºÆ® ºÎºÐ ***************************//

function sendListNumber(number,category){
	//------------- ¼öÁ¤µÈ ºÎºÐ -----------------//
	setVal.SetVariable("_level1.listChk",number);
	setVal.SetVariable("_level1.category",category);
	//------------- ¼öÁ¤µÈ ºÎºÐ -----------------//
}

function viewNoticePage(){
	design.style.display="";
}
function moreBtn(){
	notice.style.visibility="hidden";
	design.style.display="none";
	supportIframe.document.location.href="./notice/news_list.htm";
}
//************ ±â¼úÁö¿ø ¹öÆ°À» ´­·¶À»¶§ ***************
function viewTechPage(){
	design.style.display="";
}
function viewSitePage(){
	design.style.display="";
}
function hiddenDesign(){
	design.style.display="none";
}

function Home(){
	location.href="/index.html";
	
}
/* -------------- ¸ÞÀÎÈ­¸é ±âº»½ºÅ©¸³Æ® ------------- */


/* --------------  ÇÃ·¡½Ã ½ºÅ©¸³Æ® ------------------ */
function flashMc(w,h,flashName,mode){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+w+'" height="'+h+'" id="setVal">');
document.write('<param name="movie" value="'+flashName+'">');
document.write('<param name="quality" value="high">');
document.write('<param name="wmode" value="'+mode+'">');
document.write('<embed src="'+flashName+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" wmode="'+mode+'" name="setVal"></embed>');
document.write('</object>');
}
/* --------------  ÇÃ·¡½Ã ½ºÅ©¸³Æ® ------------------ */



function sizeCheck()
{
	url = "https://www.ifashionmall.co.kr/php/size/find.php";
	parameter = "";
	wname = "sizeCheck";
	wt = "990";
	ht = "760";
	lt = (screen.width - wt) / 2;
	tp = (screen.height - ht) / 2;
	sp = "0";

	window.open(url,wname, "width="+wt+",height="+ht+",resizable=no,scrollbars="+sp+", left="+lt+",top="+tp);
}



function goHumanscalOpen()
{
	url = "https://www.ifashionmall.co.kr/html/humanscale/1A.html";
	wt = 995;
	ht = 760;
	wname = "Humanscal";
	lt = (screen.width - wt) / 2;
	tp = (screen.height - ht) / 2;
	sp = "0";
	window.open(url,wname, "width="+wt+",height="+ht+",resizable=no,scrollbars="+sp+", left="+lt+",top="+tp);
}