///¸Þ´º¸µÅ© ///


////////////////////////////////// 1 È¸»ç¼Ò°³ //////////////////////////////////
function sub0101(){location.href="javascript:openIFLayerCenter(this.innerText,696,473,'../swf/cl.swf');";}

//////////////////////////////////2 Á¦Ç°¼Ò°³ //////////////////////////////////
function sub0201(){location.href="../sub2/sub1.html?m=1";}
function sub0202(){location.href="../sub2/sub2.html?m=2";}
function sub0203(){location.href="../sub2/sub3.html?m=3";}
function sub0204(){location.href="../sub2/sub4.html?m=4";}
function sub0205(){location.href="../sub2/sub5.html?m=5";}
function sub0206(){location.href="../sub2/sub6.html?m=6";}
function sub0207(){location.href="../sub2/sub7.html?m=7";}

//////////////////////////// 3.±¹³»¿Ü °ø»ç ¹× ¼öÃâÇöÈ²  ////////////////////////
function sub0301(){location.href="../bj_board/bjbrd_list.htm?board_id=work";}
function sub0302(){location.href="../sub3/sub2.html?m=2";}

////////////////////////////////// 4 ´ë¸®Á¡½Ã½ºÅÛ /////////////////////////////
function sub0401(){location.href="../sub4/sub1.html?m=1";}
function sub0402(){location.href="../sub4/sub2.html?m=2";}
//function sub0403(){location.href="../sub4/sub3.html?m=3";}
//function sub0403(){window.open("/branch/", "", "scrollbars=yes,status=no,toolbar=no,resizable=0,location=no,menu=no,width=840,height=700, left=100, top=50");}
function sub0403(){location.href="/b2b";}

function sub0404(){location.href="../bj_board/bjbrd_list.htm?board_id=agency";}
function sub0405(){location.href="../sub4/sub5.html?m=5";}
function sub0406(){location.href="../sub4/list.html";}

////////////////////////////////// 5 °í°´¼¾ÅÍ //////////////////////////////////
function sub0501(){location.href="../sub5/sub1.html?m=1";}
function sub0502(){location.href="../bj_board/bjbrd_list.htm?board_id=notice";}
function sub0503(){location.href="../bj_board/bjbrd_list.htm?board_id=estimate";}
function sub0504(){location.href="../sub5/sub4.html?m=4";}
function sub0505(){location.href="../sub5/sub5.html?m=5";}
function sub0506(){location.href="../sub5/sub6.html?m=6";}
function sub0507(){location.href="../sub5/sub7.html?m=7";}
function sub0508(){location.href="../sub5/sub8.html?m=8";}



//////////////////////////////////pop //////////////////////////////////

 var obj = "";
 var checkWindow = 0;
 var IFLayer;
 var cx = "";
 var cy = "";
function openIFLayerCenter(title,w,h,source){ 
 IFLayer=document.createElement("div"); 
IFLayer.style.cssText="width:"+w+";height:"+h+";z-index:99999;position:absolute;top:-4000;left:-4000;cursor:hand;border:0px solid #ffffff;padding:0 0 0 0;font:normal 16px lucida console;color:white;background-color:#747474"; allowTransparency=true;

IFLayer.innerHTML=""; 
with(IFLayer.appendChild(document.createElement("div"))) 
{  
 with(appendChild(document.createElement("div"))) 
 { 
  with(appendChild(document.createElement("iframe"))) 
  { 
   src=source; 
  frameBorder=0;
    marginheight=0;
	marginwidth=0;	
   width=w; 
   height=h; 
   
  }//with 
 }//with 
}//with 
document.body.appendChild(IFLayer); 
IFLayer.innerHTML+="<div class='footer' align='right' onclick='this.parentNode.removeNode(true);' style='text-decoration:none;'>close</div>"; 
with(IFLayer.style){ 
 left=(document.body.clientWidth-(w+20))/2; 
 top=(document.body.clientHeight-(h+50))/2; 
 width=w; 
 height=h; 
};//with 
} 

document.onmousedown=function(){

 if(event.srcElement.className == 'move'){
  obj=document.getElementById('div');
     cx=event.x-parseInt(IFLayer.style.left); 
       cy=event.y-parseInt(IFLayer.style.top);

 }
 else{
  return;
 }

}

document.onmousemove=function(){

 if(obj != ""){
  
  IFLayer.style.left=event.x-cx;
  IFLayer.style.top=event.y-cy; 

 }
}

document.onmouseup = function(){

 obj = "";
 cx = "";
 cy = "";


}
