﻿// JavaScript Document

//flash ie ---
function ShowFlash(url, width, height){
        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="' + width + '" height="' + height + '" VIEWASTEXT>');
        document.write('<param name="movie" value="' + url + '">');
        document.write('<param name="quality" value="high">');
        document.write('<param name="wmode" value="transparent">');
        document.write('<PARAM NAME=menu VALUE=false>');
        document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="incrlication/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
        document.write('</object>');
}


//open window ---
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// rollover --
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 MM_swapImgRernde() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}



//menulink start ~~ ///////////////////////////////////////////////////////////////////////////////////


// toput menu link --- 

     function toput01()
    { self.location.href = '/main.asp'; }
     function toput02()
    { self.location.href = 'https://www.ceragem.co.kr:442/pub/mem/mem010101.asp'; }
     function toput03()
    { self.location.href = 'https://www.ceragem.co.kr:442/pub/mem/mem020101.asp'; }
     function toput04()
    { window.open('/mailer.asp','','left=1,top=1,width=551,height=551'); }
     function toput05()
    { window.open('http://ceragem.net/','',','); }
	 function toput10()
    { self.location.href = 'https://www.ceragem.co.kr:442/pub/mem/mem070101.asp'; }
	 function toput11()
    { self.location.href = '/pub/process/member_logout.asp'; }
     function cyberb()
    { window.open('/img/cust/webbook_3500/VIEW.HTM','','left=1,top=1,width=1024,height=768'); }
     function mainb()
    { window.open('http://www.ceragem.co.kr/ceragem_10th/view.htm');}

// menu link --- 


// ------------------------------------------------------------- company --- 
     function comp010101()
    { self.location.href = '/pub/comp/comp010101.asp'; } // 세라젬은
     function comp020101()
    { self.location.href = '/pub/comp/comp020101.asp'; } // 기업이념과 비전
     function comp030101()
    { self.location.href = '/pub/comp/comp030101.asp'; } // CEO메세지_회장
     function comp030201()
    { self.location.href = '/pub/comp/comp030201.asp'; } // CEO메세지_부회장	
     function comp030301()
    { self.location.href = '/pub/comp/comp030301.asp'; } // CEO메세지_대표이사
     function comp040101()
    { self.location.href = '/pub/comp/comp040101.asp'; } // 걸어온길_연혁(2007~2004)
     function comp040201()
    { self.location.href = '/pub/comp/comp040201.asp'; } // 걸어온길_인증현황
     function comp040301()
    { self.location.href = '/pub/comp/comp040301.asp'; } // 걸어온길_수상현황
     function comp050101()
    { self.location.href = '/pub/comp/comp050101.asp'; } // 글로벌세라젬_글로벌네트워크
     function comp050201()
    { self.location.href = '/pub/comp/comp050201.asp'; } // 글로벌세라젬_해외인증
     function comp060101()
    { self.location.href = '/pub/comp/comp060101.asp'; } // 연구개발
     function comp070101()
    { self.location.href = '/pub/comp/comp080101.asp'; } // CI
     function comp080101()
    { self.location.href = '/pub/comp/comp090101.asp'; } // 위치안내
     function comp090101()
    { self.location.href = '/pub/comp/comp100101.asp'; } // 채용정보(비공개_차후작업)
	 function comp090201()
    { self.location.href = '/pub/comp/comp100201.asp'; } // 채용정보(비공개_차후작업)
	 function comp090301()
    { self.location.href = '/pub/comp/comp100301.asp'; } // 채용정보(비공개_차후작업)
	 function comp090401()
    { self.location.href = '/pub/comp/comp100401.asp'; } // 채용정보(비공개_차후작업)
     


// ------------------------------------------------------------- product --- 
     function prod010101()
    { self.location.href = '/pub/prod/prod010101.asp'; } // 세라젬마스타EK_제품특징
     function prod010201()
    { self.location.href = '/pub/prod/prod010201.asp'; } // 세라젬마스타EK_제품구성
     function prod010301()
    { self.location.href = '/pub/prod/prod010301.asp'; } // 세라젬마스타EK_사용방법
     function prod010401()
    { window.open('/pub/prod/cyber02.asp','','width=760,height=600'); } // 세라젬마스타EK_사이버체험
// { alert("준비중입니다.");} // CGM-M3500_사이버체험
     function prod020101()
    { self.location.href = '/pub/prod/prod020101.asp'; } // CGM-M3500_제품특징
     function prod020201()
    { self.location.href = '/pub/prod/prod020201.asp'; } // CGM-M3500_제품구성
     function prod020301()
    { self.location.href = '/pub/prod/prod020301.asp'; } // CGM-M3500_사용방법
     function prod020401()
    { window.open('/pub/prod/cyber01.asp','','width=760,height=600'); } // CGM-M3500_사이버체험
// { alert("준비중입니다.");} // CGM-M3500_사이버체험
     function prod030101()
    { self.location.href = '/pub/prod/prod030101.asp'; } // 세라온돌플러스_제품특징
     function prod030201()
    { self.location.href = '/pub/prod/prod030201.asp'; } // 세라온돌플러스_제품구성
     function prod030301()
    { self.location.href = '/pub/prod/prod030301.asp'; } // 세라온돌플러스_사용방법
     function prod030401()
    { self.location.href = '/pub/prod/prod030401.asp'; } // 세라온돌플러스_사이버체험
     function prod040101()
    { self.location.href = '/pub/prod/prod040101.asp'; } // 사이버홍보관
     function prod040201()
    { self.location.href = '/pub/prod/prod040201.asp'; } // 사이버홍보관
     function prod040301()
    { self.location.href = '/pub/prod/prod040301.asp'; } // 사이버홍보관
     function prod040401()
    { self.location.href = '/pub/prod/prod040401.asp'; } // 사이버홍보관
     function prod050101()
    { self.location.href = '/pub/prod/prod050101.asp'; } // 생활속세라젬
     function prod050201()
    { self.location.href = '/pub/prod/prod050201.asp'; } // 생활속세라젬
     function prod050301()
    { self.location.href = '/pub/prod/prod050301.asp'; } // 생활속세라젬
     function prod050401()
    { self.location.href = '/pub/prod/prod050401.asp'; } // 생활속세라젬
    

// ------------------------------------------------------------- customer --- 
     function cust010101()
    { self.location.href = '/pub/cust/cust010101.asp'; } // 대리점모집
     function cust050101()
    { self.location.href = '/pub/cust/cust020101.asp'; } // 대리점검색(비공개_차후작업)
     function cust020101()
    { self.location.href = 'https://www.ceragem.co.kr:442/pub/cust/cust030101.asp'; } // A/S신청_A/S신청
	
     function cust020201()
    { self.location.href = 'https://www.ceragem.co.kr:442/pub/cust/cust030102.asp'; } // A/S신청_고객의견
     function cust030101()
    { self.location.href = '/pub/cust/cust040101.asp'; } // 제품자가진단_세라젬마스타EK
     function cust030201()
    { self.location.href = '/pub/cust/cust040201.asp'; } // 제품자가진단_CGM-M3500
     function cust030301()
    { self.location.href = '/pub/cust/cust040301.asp'; } // 제품자가진단_세라온돌플러스
     function cust040101()
    { self.location.href = '/pub/cust/cust050101.asp'; } //  사용설명서/브로슈어

     function cust070101()
      { window.open('http://ceraeshop.com','',''); } // e-t샵

// ------------------------------------------------------------- cyber --- 
     function loun010101()
    { self.location.href = '/pub/cybe/cybe010101.asp'; } // 세라젬소식_세라젬뉴스
     function loun010201()
    { self.location.href = '/pub/cybe/cybe010201.asp'; } // 세라젬소식_보도자료
     function loun020101()
    { self.location.href = '/pub/cybe/cybe010201.asp'; } // 세라젬소식_이벤트ㆍ공지사항
     function loun040101()
    { self.location.href = '/pub/cybe/cybe020101.asp'; } // 세라젬광고_TV광고
     function loun040201()
    { self.location.href = '/pub/cybe/cybe020201.asp'; } // 세라젬광고_인쇄광고
     function loun030101()
    { self.location.href = '/pub/cybe/cybe030101.asp'; } // 홍보영상
     function loun060101()
    { self.location.href = '/pub/cybe/cybe040101.asp'; } // 생활속세라젬
	 function loun050101()
    { self.location.href = '/pub/cybe/cybe080108.asp'; } // 스펀지
 //    function loun080101()
 //   { self.location.href = '/pub/cybe/cybe080101.asp'; }
 //    function loun080102()
 //   { self.location.href = '/pub/cybe/cybe080102.asp'; }
 //    function loun080103()
 //   { self.location.href = '/pub/cybe/cybe080103.asp'; }
 //    function loun080104()
 //   { self.location.href = '/pub/cybe/cybe080104.asp'; }
 //    function loun080105()
 //   { self.location.href = '/pub/cybe/cybe080105.asp'; }
 //    function loun080106()
 //   { self.location.href = '/pub/cybe/cybe080106.asp'; }
 //    function loun080107()
 //   { self.location.href = '/pub/cybe/cybe080107.asp'; }
//	 function loun080100()
 //   { self.location.href = '/pub/cybe/cybe080108.asp'; }



// ------------------------------------------------------------- health --- 
     function heal010101()
    { self.location.href = '/pub/heal/heal010101.asp'; } // 대체의학_대체의학의 이해
     function heal010201()
    { self.location.href = '/pub/heal/heal010201.asp'; } // 대체의학_대체의학요법
     function heal020101()
    { self.location.href = '/pub/heal/heal020101.asp'; } // 척추와건강_척추구조와 역할
     function heal020201()
    { self.location.href = '/pub/heal/heal020201.asp'; } // 척추와건강_척추와 질병
    function heal020301()
    { self.location.href = '/pub/heal/heal020301.asp'; } // 척추와건강_척추건강 관리
     function heal030101()
    { self.location.href = '/pub/heal/heal030101.asp'; } // 의학상식_노인성질환
     function heal030201()
    { self.location.href = '/pub/heal/heal030201.asp'; } // 의학상식_성인질환

/*
// ------------------------------------------------------------- health --- 
     function spon010101()
    { self.location.href = '/pub/spon/spon010101.asp'; } // 예술가 후원
     function spon020101()
    { self.location.href = '/pub/spon/spon080101.asp'; } // 감성돔
     function spon030101()
    { self.location.href = '/pub/spon/spon080103.asp'; } // 컨서트
     function spon040101()
    { self.location.href = '/pub/spon/spon080102.asp'; } // 테라로사
	 function spon080101()
    { self.location.href = '/pub/spon/spon090101.asp'; } // 사회공헌활동
*/

	// ------------------------------------------------------------- health --- 
     function spon010101()
    { self.location.href = '/pub/spon/spon080101.asp'; } // 감성돔
     function spon020101()
    { self.location.href = '/pub/spon/spon080103.asp'; } // 콘서트
     function spon030101()
    { self.location.href = '/pub/spon/spon080102.asp'; } // 테라로사
     function spon040101()
    { self.location.href = '/pub/spon/spon010101.asp'; } // 예술가 후원
	 function spon080101()
    { self.location.href = '/pub/spon/spon090101.asp'; } // 사회공헌활동




// ------------------------------------------------------------- member --- 
     function memb010101()
    { self.location.href = '/pub/mem/mem010101.asp'; } // 회원로그인
     function memb020101()
    { self.location.href = '/pub/mem/mem020101.asp'; } // 회원가입
     function memb030101()
    { self.location.href = '/pub/mem/mem040101.asp'; } // 아이디/비밀번호찾기
     function memb040101()
    { self.location.href = '/pub/mem/mem050101.asp'; } // 이용약관
     function memb050101()
    { self.location.href = '/pub/mem/mem060101.asp'; } // 개인정보취급방침

     function memb060101()
    { self.location.href = 'https://www.ceragem.co.kr:442/pub/mem/mem070101.asp'; } // 개인정보수정
     function memb070101()
    { self.location.href = '/pub/mem/mem080101.asp'; } // 회원탈퇴
     function memb080101()
    { self.location.href = '/pub/process/member_logout.asp'; } // 로그아웃

// ------------------------------------------------------------- history --- 
     function history01()
    { 
  tab1.style.display = "inline";
  tab2.style.display = "none";
  tab3.style.display = "none";
  tab4.style.display = "none";

 } // pass 1
     function history02()
    { 
  tab1.style.display = "none";
  tab2.style.display = "inline";
  tab3.style.display = "none";
  tab4.style.display = "none";
 
 } // pass 2
     function history03()
    { 
  tab1.style.display = "none";
  tab2.style.display = "none";
  tab3.style.display = "inline";
  tab4.style.display = "none"; 
 
 
 } // pass 3

     function history04()
    { 
  tab1.style.display = "none";
  tab2.style.display = "none";
  tab3.style.display = "none";
  tab4.style.display = "inline";
 
 
 } // pass 4

// ------------------------------------------------------------- quick --- 
	 function quick01()
    { self.location.href = '/pub/cust/cust040101.asp'; } 
     function quick02()
    { self.location.href = '/pub/cybe/cybe030101.asp'; } 
     function quick03()
    { self.location.href = '/pub/cust/cust030101.asp'; } 
     function quick04()
    { self.location.href = '/pub/cust/cust050101.asp'; } 
     function quick05()
    { self.location.href = '/pub/board/bbs_free.asp?cboardID=cybe010101'; } 
     function quick06()
    { self.location.href = '/pub/comp/comp050101.asp'; } 
     function quick07()
    { self.location.href = '/index.asp'; } 

// ------------------------------------------------------------- 글로벌네트워크 지도 --- 

     function map01()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=1'; } 
     function map02()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=2'; } 
     function map03()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=3'; } 
     function map04()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=4'; } 
     function map05()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=5'; } 
     function map06()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=6'; } 


	// ------------------------------------------------------------- 글로벌네트워크 지도 --- 

     function map01()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=1#ss'; } 
     function map02()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=2#ss'; } 
     function map03()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=3#ss'; } 
     function map04()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=4#ss'; } 
     function map05()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=5#ss'; } 
     function map06()
    { self.location.href = '/pub/comp/comp050101.asp?cont_type=6#ss'; } 



	//------------------------------------------------------------- footer

     function foo01(){ self.location.href = '/pub/comp/comp010101.asp'; } 
     function foo02(){ self.location.href = '/pub/comp/comp100101.asp'; } 
     function foo03(){ window.open("http://epin.ceragem.net/board/member/login_member.asp?tb=inno_1&h_url=http://epin.ceragem.net/index.asp");} 
//   function foo03(){ window.open("http://ceragem.co.kr/gumea/board/member/login_member.asp?tb=inno_1&h_url=http://ceragem.co.kr/gumea/index.asp");} 
     function foo04(){ self.location.href = '/pub/cybe/cybe030101.asp'; } 
     function foo05(){ self.location.href = '/pub/mem/mem050101.asp'; } 
     function foo06(){ self.location.href = '/pub/mem/mem060101.asp'; } 
     function foo07(){ window.open('/pop02.asp','','left=1,top=1,width=100,height=100');} 
     function foo09(){ window.open("http://int.ceragem.co.kr/");} 
