function change(obj) {
  First.style.display = "none";
  Second.style.display = "none";

  obj.style.display = "block";
}







function menu1(index) {
 if (navigator.userAgent.indexOf("MSIE") != -1) {
  if (index == 1) {
   t1.style.display = "";
   t2.style.display = "none";
  }else if(index == 2){
   t1.style.display = "none";
   t2.style.display = "";
  }
 }
}




<!--
function MM_swapImgRestore() { //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];}
}
//-->


<!--
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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->
<!--
function MM_swapImgRestore() { //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_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];}
}
//-->

function flashObject(file_name,flashVar,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 + '">');
  document.write('<param name="movie" value="' + file_name + '">');
  document.write('<param name=FlashVars value="' + flashVar + '">');
  document.write('<param name="quality" value="high">');
  document.write('<param name="wmode" value="transparent">');
  document.write('<embed src="' + file_name +'" FlashVars="' + flashVar +'" width="' + width + '" height="' + height + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>');
  document.write('</object>');
}


<!-- 
function imgResize(img){ 
  img1= new Image(); 
  img1.src=(img); 
  imgControll(img); 
} 

function imgControll(img){ 
  if((img1.width!=0)&&(img1.height!=0)){ 
    viewImage(img); 
  } 
  else{ 
    controller="imgControll('"+img+"')"; 
    intervalID=setTimeout(controller,20); 
  } 
} 

function viewImage(img){ 
        W=img1.width; 
        H=img1.height; 
        O="width="+W+",height="+H; 
        imgWin=window.open("","",O); 
        imgWin.document.write("<html><head><title>G&G PAJU</title></head>"); 
        imgWin.document.write("<body topmargin=0 leftmargin=0 >"); 		
        imgWin.document.write("<img src="+img+" onclick='self.close()' style='cursor:hand'>"); 
        imgWin.document.close(); 
} 
//  --> 

function imgResize02(img){ 
  img1= new Image(); 
  img1.src=(img); 
  imgControll(img); 
} 

function imgControll(img){ 
  if((img1.width!=0)&&(img1.height!=0)){ 
    viewImage02(img); 
  } 
  else{ 
    controller="imgControll('"+img+"')"; 
    intervalID=setTimeout(controller,20); 
  } 
} 

function viewImage02(img){ 
        W=img1.width; 
        H=img1.height; 
        O="width="+W+",height="+H; 
        imgWin=window.open("","",O); 
        imgWin.document.write("<html><head><title>SJ INTERNATIONAL</title></head>"); 
        imgWin.document.write("<body topmargin=0 leftmargin=0 scroll=auto>"); 
        imgWin.document.write("<img src="+img+" onclick='self.close()' style='cursor:hand'>"); 
        imgWin.document.close(); 
} 
//  --> 

<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
<!--
function MM_popupMsg(msg) { //v1.0
  alert(msg);
}
//-->

function gettime(){
	var now = new Date();
	var hours = now.getHours();
	var minutes = now.getMinutes();
	var seconds = now.getSeconds();
	var today = now.getDay();
	var month = now.getMonth();
	var date = now.getDate();

	if (today == 0) today = "AI"; // &cent;&macr;aAI&cent;&not;i
	else if (today == 1) today = "&cent;&macr;u";
	else if (today == 2) today = "E¢®&copy;";
	else if (today == 3) today = "¡§&ugrave;o";
	else if (today == 4) today = "&cent;&not;n";
	else if (today == 5) today = "¢®¨úY";
	else if (today == 6) today = "Aa";

	if (month == 0) month = "1"; // &cent;&macr;u&cent;&not;i
	else if (month == 1) month = "2";
	else if (month == 2) month = "3";
	else if (month == 3) month = "4";
	else if (month == 4) month = "5";
	else if (month == 5) month = "6";
	else if (month == 6) month = "7";
	else if (month == 7) month = "8";
	else if (month == 8) month = "9";
	else if (month == 9) month = "10";
	else if (month == 10) month = "11";
	else if (month == 11) month = "12";

	if(seconds < 10) seconds = "0" + seconds;
	if(minutes < 10) minutes = "0" + minutes;
	if(hours < 10) hours = "0" + hours;

	var seoul=date +"AI " + hours + ":" + minutes + ":" + seconds;	
	var time_van = hours -17
	var vanday = date

	if (time_van < 0) {
		time_van = time_van + 24;
		vanday = vanday - 1;
	}
	
	var time_tr = hours -14
	var trday = date
	if (time_tr < 0) {
		time_tr = time_tr + 24;
		trday = trday - 1;
	}
	
	var time_hongkong = hours -1
	var hongkongday = date
	if (time_hongkong > 23) {
		time_hongkong = time_hongkong - 1;
		hongkongday = hongkongday + 1;
	}
		
	var time_syd=hours+2
	var syd_day=date

	if(time_syd>23) {
		time_syd=time_syd-24;
		syd_day=syd_day+1;
	}
	
	var time_lon=hours-9
	var lon_day=date
	if(time_lon<0) {
		time_lon=time_lon+24;
		lon_day=lon_day-1;
	}
	var time_dubai=hours-5
	var dubai_day=date
	if(time_dubai<0) {
		time_dubai=time_dubai+24;
		dubai_day=dubai_day-1;
	}
	var time_pari=hours-8
	var pari_day=date
	if(time_pari<0) {
		time_pari=time_pari+24;
		pari_day=pari_day-1;
	}
	
	var time_frankfurt=hours-8
	var frankfurt_day=date
	if(time_frankfurt<0) {
		time_frankfurt=time_frankfurt+24;
		frankfurt_day=frankfurt_day-1;
	}
	
	var time_india=hours-3
	var india_day=date
	if(time_india<0) {
		time_india=time_india+24;	
		india_day=india_day-1;
	}
	
	var time_santiago=hours-12
	var santiago_day=date
	if(time_santiago<0) {
		time_santiago=time_santiago+24;
		santiago_day=santiago_day-1;
	}
	
	
	var time_singapore=hours-1
	var singapore_day=date
	if(time_singapore<0) {
		time_singapore=time_singapore+24;
		singapore_day=singapore_day-1;
	}
	
	
	document.clock.seoul.value=seoul
	document.clock.london.value= lon_day + "AI " + time_lon + ":" + minutes + ":" + seconds;
	document.clock.paris.value= pari_day + "AI " + time_pari + ":" + minutes + ":" + seconds;
	document.clock.frankfurt.value= frankfurt_day + "AI " + time_frankfurt + ":" + minutes + ":" + seconds;	
	document.clock.vancouver.value= vanday + "AI " + time_van + ":" + minutes + ":" + seconds;
	document.clock.toronto.value= trday + "AI " + time_tr + ":" + minutes + ":" + seconds;
	document.clock.la.value= vanday + "AI " + time_van + ":" + minutes + ":" + seconds;
	document.clock.newyork.value= trday + "AI " + time_tr + ":" + minutes + ":" + seconds;
	document.clock.hongkong.value= hongkongday + "AI " + time_hongkong + ":" + minutes + ":" + seconds;
	document.clock.sydney.value= syd_day + "AI " + time_syd + ":" + minutes + ":" + seconds;	
	document.clock.dubai.value= dubai_day + "AI " + time_dubai + ":" + minutes + ":" + seconds;
	document.clock.india.value= india_day + "AI " + time_india + ":" + minutes + ":" + seconds;
	document.clock.santiago.value= santiago_day + "AI " + time_santiago + ":" + minutes + ":" + seconds;
	document.clock.singapore.value= singapore_day + "AI " + time_singapore + ":" + minutes + ":" + seconds;
	
	setTimeout("gettime()", 1000);
}




<!-- Á¡ÇÁ¸Þ´º-->
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
<!--·Ñ¿À¹ö-->
function MM_swapImgRestore() { //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];}
}
<!-- ÀÌ¹ÌÁöÅ¬¸¯
function viewPic(img){ 
 img1= new Image(); 
 img1.src=(img); 
  call(img); 
} 
function call(img){ 
  if((img1.width!=0)&&(img1.height!=0)){ 
    viewImg(img); 
  } 
  else{ 
    funzione="call('"+img+"')"; 
    intervallo=setTimeout(funzione,20); 
  } 
} 
function viewImg(img){ 
  WinW=img1.width; 
 WinH=img1.height; 
  LeftPosition = (screen.availWidth-WinW)/2 ;
  TopPosition = (screen.availHeight-WinH)/2 ;
  options ="height="+WinH+",width="+WinW+",top="+TopPosition+",left="+LeftPosition+",";
  imgWin=window.open("","",options);
  imgWin.document.write("<html><head><title>:::Å¸ÀÌÆ²:::</title><style>img {border: none;}</style></head><body style='margin:0'>");//»õÃ¢ÀÇ Å¸ÀÌÆ²¹®±¸
  imgWin.document.write("<A href=# onclick=window.close()><img src="+img+"></a>");//»õÃ¢ÀÇ ÀÌ¹ÌÁö¸¦ Å¬¸¯ÇÏ¸é Ã¢ÀÌ ´ÝÈ÷°Ô ÇÔ
  } 
// --> 



function roundTable(objID) {
var obj = document.getElementById(objID);
var Parent, objTmp, Table, TBody, TR, TD;
var bdcolor, bgcolor, Space;
var trIDX, tdIDX, MAX;
var styleWidth, styleHeight;

// get parent node
Parent = obj.parentNode;
objTmp = document.createElement('SPAN');
Parent.insertBefore(objTmp, obj);
Parent.removeChild(obj);

// get attribute
bdcolor = obj.getAttribute('rborder');
bgcolor = obj.getAttribute('rbgcolor');
radius = parseInt(obj.getAttribute('radius'));
if (radius == null || radius < 1) radius = 1;
else if (radius > 6) radius = 6;

MAX = radius * 2 + 1;

/*
create table {{
*/
Table = document.createElement('TABLE');
TBody = document.createElement('TBODY');

Table.cellSpacing = 0;
Table.cellPadding = 0;

for (trIDX=0; trIDX < MAX; trIDX++) {
TR = document.createElement('TR');
Space = Math.abs(trIDX - parseInt(radius));
for (tdIDX=0; tdIDX < MAX; tdIDX++) {
TD = document.createElement('TD');

styleWidth = '1px'; styleHeight = '1px';
if (tdIDX == 0 || tdIDX == MAX - 1) styleHeight = null;
else if (trIDX == 0 || trIDX == MAX - 1) styleWidth = null;
else if (radius > 2) {
if (Math.abs(tdIDX - radius) == 1) styleWidth = '2px';
if (Math.abs(trIDX - radius) == 1) styleHeight = '2px';
}

if (styleWidth != null) TD.style.width = styleWidth;
if (styleHeight != null) TD.style.height = styleHeight;

if (Space == tdIDX || Space == MAX - tdIDX - 1) TD.style.backgroundColor = bdcolor;
else if (tdIDX > Space && Space < MAX - tdIDX - 1) TD.style.backgroundColor = bgcolor;

if (Space == 0 && tdIDX == radius) TD.appendChild(obj);
TR.appendChild(TD);
}
TBody.appendChild(TR);
}

/*
}}
*/

Table.appendChild(TBody);

// insert table and remove original table
Parent.insertBefore(Table, objTmp);
}



