
var Loadings =new Array();
Loadings.directory="ENG";

Loadings.text="<img src='"+Loadings.directory+"/OUTPUT/IMAGE/loading_img_all.gif'>";





//코멘트 로딩바
Loadings.comment="<table border=0 cellpadding=0 cellspacing=0 width=471px style='table-layout:fixed'  background='ENG/OUTPUT/IMAGE/eposition_detail_bg1.gif'>";
Loadings.comment += "<tr height=2px><td><img src='ENG/OUTPUT/IMAGE/right_blank.gif'></td></tr>";
Loadings.comment += "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_detail_top.gif'></td></tr>";
Loadings.comment += "<tr height=22><td ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_detail_top1.gif' align=absmiddle> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_thema_button1.gif' onclick=eposition_detail_close(1)  align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_thema_button2.gif' onclick=eposition_detail_close(2) align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_thema_button3.gif' onclick=eposition_detail_close(3) align=absmiddle></td></tr>";
Loadings.comment+="<TR height=3><TD align=center><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_search_bar.gif'></TD></TR>";
Loadings.comment+="<TR height=22><TD></TD></TR>";
Loadings.comment+="<TR height=22><TD></TD></TR>";
Loadings.comment+="<TR height=23><TD align=center>"+Loadings.text+"</TD></TR>";
Loadings.comment+="<TR height=22><TD></TD></TR>";
Loadings.comment+="<TR height=22><TD></TD></TR>";
Loadings.comment+="<TR height=3><TD align=center><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_search_bar.gif'></TD></TR>";
Loadings.comment+="<TR height=22 id='epositiontr7'><TD align=center><img src='"+Loadings.directory+"/OUTPUT/IMAGE/fax_send.gif' onclick=mapinfopopup('fax') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/sms_send.gif' onclick=mapinfopopup('hp') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_copy.gif' onclick=mapinfopopup('copy') align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_mapview.gif' onclick=mapinfopopup('map') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_favorite.gif' onclick=mapinfopopup('favorite') style='cursor:hand' align=absmiddle></TD></TR>";
Loadings.comment += "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_detail_bottom.gif'></td></tr>";
Loadings.comment+="</TABLE>";

Loadings.commenterror="<table border=0 cellpadding=0 cellspacing=0 width=471px style='table-layout:fixed'  background='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_detail_bg1.gif'>";
Loadings.commenterror += "<tr height=2px><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/right_blank.gif'></td></tr>";
Loadings.commenterror += "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_detail_top.gif'></td></tr>";
Loadings.commenterror += "<tr height=22><td ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_detail_top1.gif' align=absmiddle> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_thema_button1.gif'  align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_thema_button2.gif' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_thema_button3.gif' onclick=eposition_detail_close(3) align=absmiddle></td></tr>";
Loadings.commenterror+="<TR height=3><TD align=center><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_search_bar.gif'></TD></TR>";
Loadings.commenterror+="<TR height=22><TD></TD></TR>";
Loadings.commenterror+="<TR height=22><TD></TD></TR>";
Loadings.commenterror+="<TR height=22><TD align=center> No one searched</TD></TR>";
Loadings.commenterror+="<TR height=22><TD></TD></TR>";
Loadings.commenterror+="<TR height=22><TD></TD></TR>";
Loadings.commenterror+="<TR height=3><TD align=center><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_search_bar.gif'></TD></TR>";
Loadings.commenterror+="<TR height=22 id='epositiontr7'><TD align=center><img src='"+Loadings.directory+"/OUTPUT/IMAGE/fax_send.gif'align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/sms_send.gif'  align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_copy.gif' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_mapview.gif' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_favorite.gif'  align=absmiddle></TD></TR>";
Loadings.commenterror+= "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_detail_bottom.gif'></td></tr>";
Loadings.commenterror+="</TABLE>";



//ePosition 검색 로딩바
Loadings.list = "<table border=0 cellpadding=0 cellspacing=0 width=471px align=center>";
Loadings.list += "<tr height=20><td></td></tr>";
Loadings.list += "<tr height=20><td  align=center>"+Loadings.text+"</td></tr>";
Loadings.list += "<tr height=20><td></td></tr>";
Loadings.list += "</table>";

//왼쪽 매뉴 객체 벨류값
var htmls1=["","<img src='"+Loadings.directory+"/OUTPUT/IMAGE/loading_img_all.gif'>","","","<img src='"+Loadings.directory+"/OUTPUT/IMAGE/right_blank.gif'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/right_blank.gif'><TABLE cellpadding=0 cellspacing=0 background='"+Loadings.directory+"/OUTPUT/IMAGE/comment_search_bg.gif' width='471px' height=38px ><TR><TD align=center><input type=text name='day1' id=day1 value='' style='width:70px' class=box readonly style='border:1 solid #c5c5c5;background:#f9f9f9;'><a href='javascript:void(0)' onclick=\"popUpCalendar(this, 'day1', 'yyyy-mm-dd');\" ><img src='SCRIPT/cicon/calendar.jpg' style='cursor:hand' align=absmiddle></a>~<input type=text name=day2 id=day2 value='' style='width:70px' class=box readonly style='border:1 solid #c5c5c5;background:#f9f9f9;'><a href='javascript:void(0)' onclick=\"popUpCalendar(this, 'day2', 'yyyy-mm-dd');\" ><img src='SCRIPT/cicon/calendar.jpg' style='cursor:hand' align=absmiddle></a>&nbsp;<select name=search_key id=search_key><option value='0' selected>Name+Content</option><option value='1' >Name</option><option value='2' >Content</option></select><input type=text name=search_name id=search_name value='' size=10 onKeyPress='if (event.keyCode==13){ment_searchchk();}' style='border:1 solid #c5c5c5;background:#f9f9f9;'>&nbsp;<input type=image src='/"+Loadings.directory+"/OUTPUT/IMAGE/lc_sch_btn.gif' align=absmiddle onclick=ment_searchchk()></TD></TR></TABLE>","<img src='"+Loadings.directory+"/OUTPUT/IMAGE/right_blank.gif'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/right_blank.gif'><table border=0 cellpadding=0 cellspacing=0 width=471 height=154 background='"+Loadings.directory+"/OUTPUT/IMAGE/comment_bg.gif'><tr height=50px><td valign=middle align=center><textarea  style='width:442px;height:50px'name='memo' id='memo' onclick='Login.Members.prototype.login_chk();' style='border:1 solid #c5c5c5;background:#f9f9f9;'></textarea></td></tr><tr height=20><td>&nbsp;&nbsp;<input type='radio' name=point0 id=point0 value=0  onclick=point_check(0)> ★ <input type='radio' name=point1 d=point1 value=50 checked onclick=point_check(1)> ★★ <input type='radio' name=point2 id=point2 value=100  onclick=point_check(2)> ★★★ Name : <input type='text' name=wname id=wname style='border:1 solid #c5c5c5;background:#f9f9f9;'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/comment_write.gif' align=absmiddle onclick='Login.Members.prototype.eposition_ment()' style='cursor:hand'></td></tr><tr height=50px><td></td></tr></table>",""];
//오른쪽 매뉴 객체 벨류값
var htmls2=["<img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_list_top.gif'>&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/loading_img_all.gif'>","","","","","","",""];





/*
div1_0 배너(안씀)
div1_1 맵 (사용)
div1_2 ePosition 상세 정보 ()
div1_3 덧글등록
div1_4 덧글검색폼
div1_5 덧글검색리스트

div2_0 ePosition 검색폼
div2_1 
div2_2 상세정보 예정
div2_3 
div2_4 
div2_5
div2_6 ePosition 검색리스트
div2_7


*/
//왼쪽 매뉴 객체
var leftDiv =new Array();
//오른쪽 매뉴 객체
var rightDiv =new Array();
//region_large region_sub
window.onload=function(){
	var leftDivs=document.getElementById('tree_1');
	var rightDivs=document.getElementById('tree_2');


	//왼쪽매뉴 객체 생성
	for (i=0; i<htmls1.length; i++)
	{
		leftDiv[i]=document.createElement("div");
		leftDiv[i].setAttribute('id',"div1_"+i);
		leftDivs.appendChild(leftDiv[i]);
		if (htmls1[i]!="")
		{
		leftDiv[i].innerHTML=htmls1[i];
		}
		
	}

	//오른쪽매뉴 객체 생성
	for (i=0; i<htmls2.length; i++)
	{
		rightDiv[i]=document.createElement("div");
		rightDiv[i].setAttribute('id',"div2_"+i);
		rightDivs.appendChild(rightDiv[i]);
		if (htmls2[i]!="")
		{
		rightDiv[i].innerHTML=htmls2[i];
		}
	}

	//return false;

	msg.blurbg()

	boxload(); //맵 div 생성
	//Mapload();


}



var msg=new Object();
msg.messages=new Array();
//투명막 생성
msg.blurbg=function(){
	z=document.createElement("div");
	z.setAttribute('id','backbg');
	z.style.position='absolute';
	z.style.top='0px';
	z.style.left='0px';
	z.className='tree3'
	//z.style.width=(parseInt(screen.availWidth)-28)+"px";
	z.style.width=(parseInt(screen.availWidth)-20)+"px";
	z.style.height=parseInt(screen.availHeight)+"px";
	z.style.backgroundColor='#000000'
	z.style.filter="alpha(opacity='60')";
	z.style.MozOpacity=0.6;
	document.body.appendChild(z);
	z.style.display='none'

	var p=document.createElement("div");
	p.setAttribute("id","loading");
	var pt=document.createTextNode("loading....");
	p.style.position='absolute';
	p.style.top='500px';
	z.className='tree4'
	p.appendChild(pt);
	document.body.appendChild(p);
	p.style.display='none'



}

//투명막 보이기
msg.loadding=function(){

	var s1=document.getElementById("region_large");
	var s2=document.getElementById("region_sub");
	var s3=document.getElementById("region_large1");
	var s4=document.getElementById("region_sub1");
	var s5=document.getElementById("Mlink");
	var s6=document.getElementById("search_key");
	var s7=document.getElementById("country");
	var s8=document.getElementById("flash_b");
	


	if (s1) s1.style.display="none";
	if (s2) s2.style.display="none";
	if (s3) s3.style.display="none";
	if (s4) s4.style.display="none";
	if (s5) s5.style.visibility="hidden";
	if (s6) s6.style.display="none";
	if (s7) s7.style.display="none";
	if (s8) s8.style.visibility="hidden";

	//alert(s1.style.display)
	//if (s1.style.display=="block")  s1.style.display="none";
//region_large region_sub region_large1 region_sub1
//display:none
	var z=document.getElementById("backbg");
	z.style.display='block';
	z.style.height=parseInt(document.body.scrollHeight)+"px";
}
//투명막 감추기
msg.unload=function(){
	

	var s1=document.getElementById("region_large");
	var s2=document.getElementById("region_sub");
	var s3=document.getElementById("region_large1");
	var s4=document.getElementById("region_sub1");
	var s5=document.getElementById("Mlink");
	var s6=document.getElementById("search_key");
	var s7=document.getElementById("country");
	var s8=document.getElementById("flash_b");
	
	if (s1) s1.style.display="inline";
	if (s2) s2.style.display="inline";
	if (s3) s3.style.display="inline";
	if (s4) s4.style.display="inline";
	if (s5) s5.style.visibility="visible";
	if (s6) s6.style.display="inline";
	if (s7) s7.style.display="inline";
	if (s8) s8.style.visibility="visible";

	var z=document.getElementById("backbg");
	z.style.display='none';
}



function Mmovie(){


}

function Mcontents(){


}

function Mimage(){



}

function Mnews(){


}

function Mlink(){
	var maploadid=document.getElementById('div1_1');
	
	var Mlinkdiv= document.createElement("div");
	Mlinkdiv.style.width='471px';
	Mlinkdiv.id='Mlink';
	//Mlinkdiv.style.top='-10px';
	//alert(Mlinkdiv.style.top)
	Mlinkdiv.style.height='385px';
	Mlinkdiv.style.overflow="hidden";
	//Mlinkdiv.style.backgroundColor='#F0EFEA'
	maploadid.appendChild(Mlinkdiv);
	if (!maploadid.firstChild.id){
		maploadid.removeChild(maploadid.firstChild);
	//	maploadid.style.overflow="visible";
	}
	

}

function boxload(){
	var form_a=search_location(1)

	var right_div2_5=document.getElementById('div2_5');
	right_div2_5_html ="<table border=0 cellpadding=0 cellspacing=0 width=467 >";
	right_div2_5_html +="<tr height=2px><td background='"+Loadings.directory+"/OUTPUT/IMAGE/right_blank.gif'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/right_blank.gif'></td></tr>";
	right_div2_5_html +="<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_list_top.gif'></td></tr>";
	right_div2_5_html +="</table>";

	right_div2_5.innerHTML=right_div2_5_html;
	
	
	var maploadid=document.getElementById('div1_1');

//	maploadid.setAttribute('position','relative');
	maploadid.style.position='relative';
	maploadid.style.width='471px';
	maploadid.align="center";
	maploadid.valign="middle";
	maploadid.style.height='386px';
	maploadid.className='div_largeviewer'
	maploadid.style.backgroundImage="URL('"+Loadings.directory+"/OUTPUT/IMAGE/mapbg.gif')";

	//onload21()
	
	var bt= document.createElement("div");
	bt.id='bt';
	bt.style.position='absolute';
	bt.style.top='347px';
	bt.align="left";

	maploadid.appendChild(bt);
}

//맵 생성
function Mapload(){

	
	
	//div2_0 서치폼


	var maploadid=document.getElementById('div1_1');

	var imap= document.createElement("iframe");
	imap.style.width='443px';
	imap.id='mapiframe';
	imap.name='mapiframe';
	imap.style.height='364px';
	imap.style.paddingTop="10px";
	imap.frameBorder='0'
	//imap.style.border='0'
	imap.style.marginheight='0'
	imap.style.marginWidth='0'
	imap.scrolling='no'
	imap.src=Loadings.directory+'/MAP/google.html'
	maploadid.appendChild(imap);

	a_s();

				

	//var i=document.getElementById("mapiframe");
//	imap.contentWindow.load();
	//크게보기 버튼 생성


	//var closeButton=document.createElement("div");
	//closeButton.id="buttons";
	//closeButton.align="right";
	
	//closeButton.innerHTML="<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/fax_send.gif' onclick=mapinfopopup('fax') style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/sms_send.gif' onclick=mapinfopopup('hp') style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/largemap.gif' onclick=mapinfopopup('map') style='cursor:hand'>&nbsp;&nbsp;&nbsp; ";
	//maploadid.appendChild(closeButton);
	//디폴트 ePosition 리스트 10
	
	//setTimeout(default_list,50);
	
	//자동완성 검색

}



function viewrVandH(a){
	var Mlinkdiv=document.getElementById('Mlink');
	var Miframe=document.getElementById('mapiframe');


	if (a=="Mlink")	{
		if (Mlinkdiv)
		{
			
			if (Mlinkdiv.style.display=="none")
			{
				
				Mlinkdiv.style.display="block";
			}
		
		}else{
			Mlink();
		}
		if (Miframe)
		{
			
			Miframe.style.height="0px";
			Miframe.style.paddingTop="0px";
		}
		
		//	alert(1)
		//Mlinkdiv.style.top="0px";
		//alert(1)
	}else if (a=="mapiframe")
	{

		if (Miframe)
		{
			Miframe.style.height="366px";
			Miframe.style.paddingTop="10px";

		}else{
			Mapload();
		}

		if (Mlinkdiv)
		{
			//Mlinkdiv.style.display="none";
			Mlinkdiv.parentNode.removeChild(Mlinkdiv)
		}
	}




}


/*

//소개글  
AR_VALUE['detail_text']=  item.getElementsByTagName("detail_text")[0].firstChild.nodeValue;

//기본정보 
AR_VALUE['epname']= epname;
AR_VALUE['image']= image;

//교통정보 
AR_VALUE['transportchk']=  item.getElementsByTagName("transportchk")[0].firstChild.nodeValue;
AR_VALUE['bus']=  item.getElementsByTagName("bus")[0].firstChild.nodeValue;
AR_VALUE['subway']=  item.getElementsByTagName("subway")[0].firstChild.nodeValue;
AR_VALUE['car']=  item.getElementsByTagName("car")[0].firstChild.nodeValue;
AR_VALUE['etc']=  item.getElementsByTagName("etc")[0].firstChild.nodeValue;
AR_VALUE['parking']=  item.getElementsByTagName("parking")[0].firstChild.nodeValue;

//연락처 

AR_VALUE['tel']= tel;
AR_VALUE['fax']= fax;
AR_VALUE['hp']= hp;
AR_VALUE['mail']= mail;

//사진관
AR_VALUE['imgchk']=  item.getElementsByTagName("imgchk")[0].firstChild.nodeValue;
AR_VALUE['smallimg1']=  item.getElementsByTagName("smallimg1")[0].firstChild.nodeValue;
AR_VALUE['smallimg1_text']=  item.getElementsByTagName("smallimg1_text")[0].firstChild.nodeValue;
AR_VALUE['smallimg2']=  item.getElementsByTagName("smallimg2")[0].firstChild.nodeValue;
AR_VALUE['smallimg2_text']=  item.getElementsByTagName("smallimg2_text")[0].firstChild.nodeValue;
AR_VALUE['smallimg3']=  item.getElementsByTagName("smallimg3")[0].firstChild.nodeValue;
AR_VALUE['smallimg3_text']=  item.getElementsByTagName("smallimg3_text")[0].firstChild.nodeValue;


*/


function delay(){

}
//맵 크게 확대
function maplargeviewer(){



	//투명막 보이기
	var y=document.getElementById('tree_1');
	var a=document.getElementById('div1_1');
	a.className='div_largeviewer'
	a.style.position='absolute';
	a.style.width='900px';
	a.style.height='600px';
	a.style.top=parseInt(79)+"px";
	a.align='center'
	a.style.left='70px';
	a.style.ZIndex=11;

	document.body.appendChild(a);
	var k=document.getElementById('mapiframe');
	
	//맵크게보기
	a_l();

	//크게보기 버튼 제거
	a.removeChild(document.getElementById('largetext'))
	//작게보기 버튼 생성
	var closeButton=document.createElement("div");
	closeButton.setAttribute('id','smalltext');
	closeButton.className='button';
	closeButton.onclick=mapsmallviewer;
	var closeTxt=document.createTextNode("닫기");
	closeButton.appendChild(closeTxt);

	//맵 작게보기 버튼 상단에 배치
//	a.insertBefore(closeButton,b);
	a.appendChild(closeButton);
	msg.loadding();
	
	//a.onmousedown = new Function("DragWindow('" + a.id + "');");
}

//맵 작게 축소
function mapsmallviewer(){

	msg.unload();
	a=document.getElementById('div1_1');
	a.style.position='relative';
	a.style.width='467px';
	a.style.height='323px';
	a.style.top='0px';
	a.style.left='0px';
	x=document.getElementById('tree_1');
	y=document.getElementById('div1_2');
	
	x.insertBefore(a,y);

	//맵 오브젝트 가져오기
	a_s();
	//작게보기 버튼 삭제
	a.removeChild(document.getElementById('smalltext'))
	
	//맵 크게 보기 버튼 생성
	var closeButton=document.createElement("img");
	closeButton.src=""+Loadings.directory+"/OUTPUT/IMAGE/largemap.gif";
	closeButton.setAttribute('id','largetext');
	closeButton.className='button';
	closeButton.onclick=maplargeviewer;

	
	a.appendChild(closeButton);





	//load();

}

//맵확대
function a_l(){
		var k=document.getElementById('mapiframe');

		if (!k.contentWindow.document.getElementById("map"))	{
			setTimeout(a_l,50); //1초후 a함수 실행 - 재귀호출
		}else{
			k.contentWindow.document.getElementById("map").style.height='600px';
			k.contentWindow.gMap.checkResize();
		}

}
//맵축소
function a_s(){
		var div1_1=document.getElementById('div1_1');
		
		var k=document.getElementById('mapiframe');
		if (!k.contentWindow.document.getElementById("map"))	{
			setTimeout(a_s,50); //1초후 a함수 실행 - 재귀호출
		}else{

			if (!div1_1.firstChild.id){
				div1_1.removeChild(div1_1.firstChild);
				div1_1.style.overflow="visible";
			}
			
			k.contentWindow.document.getElementById("map").style.height='364px';
			k.style.height="364px"
			
		}	
}

//지역선택
function AreaSelect(Z,element_name){

	document.getElementById(element_name).options.length=0;
	document.getElementById(element_name).options[0]=new Option("GU/GUN","");
	if(Z)
	{
		for(i=0;i<AreaS[Z].length;i++) {
			Temp=AreaS[Z][i].split(",");
			newItem=new Option(Temp[2]);
			newItem.value = Temp[1];
			document.getElementById(element_name).options.add(newItem,i+1);
		}
	}
}

function mapinfopopup(a){

	

	if (!isUndefined(Getid.eposition.epid)){
		alert("There is not ePosition where it is selected");
	}else{
	
		
		var dot="&nbsp;&nbsp;&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/sms_dot.gif' align=absmiddle>&nbsp;";

		if (a=="hp"){
		
			if (Login.users.ulogin!=true){
				if (confirm("You can sent ePosition to cell phone after log-in. \n\nWill you log-in?")){

					Login.Members.prototype.Login_popup()
				}

			}else{
				
				//pops.dialog=new pops.newwindows("","tree4","469","155","210","250","absolute","loginform2",inhtml,"inline");
				var inhtml="<table  width='360px'  height='174px' cellspacing=0 cellpadding=0 align=center background='"+Loadings.directory+"/OUTPUT/IMAGE/sms_bg.gif'>";
				inhtml+="<tr height='5px'><td></td></tr>";
				inhtml+="<tr height='18px'><td>"+dot+"ePosition : <b>"+Getid.eposition.epid+"#"+Getid.eposition.domain+"</b></td></tr>";
				inhtml+="<tr height='18px'><td>"+dot+"Receiver : <input type='text' maxlength=4 size=4 name='rt1' id='rt1' class=box style='border:1 solid #c5c5c5;background:#f9f9f9;'> - <input type='text'  maxlength=4  size=4 name='rt2'  id='rt2'  class=box style='border:1 solid #c5c5c5;background:#f9f9f9;'> - <input type='text'  maxlength=4 size=4 name='rt3'  id='rt3'  class=box style='border:1 solid #c5c5c5;background:#f9f9f9;'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/hp_add.gif' onclick='tel_add()' style='cursor:hand' align=absmiddle></td></tr>";
				inhtml+="<tr height='18px'><td>"+dot+"<input type='text' name='rtf' id='rtf' style='border:1 solid #c5c5c5;background:#f9f9f9;width:310px' ></td></tr>";
				inhtml+="<tr height='18px'><td>"+dot+"Sender : <input type='text' maxlength=4 size=4 name='tt1' id='tt1' class=box value='' style='border:1 solid #c5c5c5;background:#f9f9f9;'> - <input type='text'  maxlength=4  size=4 name='tt2' id='tt2'  class=box value='' style='border:1 solid #c5c5c5;background:#f9f9f9;'> - <input type='text'  maxlength=4 size=4 name='tt3' id='tt3' class=box value='' style='border:1 solid #c5c5c5;background:#f9f9f9;'></td></tr>";
				inhtml+="<tr height='10px'><td align=center></td></tr>";
				inhtml+="<tr height='18px'><td align=center valign=top><img src='"+Loadings.directory+"/OUTPUT/IMAGE/sms_button.gif' style='cursor:hand' align=absmiddle onclick='eposition_hp_send()'></td></tr>";
				inhtml+="</table>";
				pops.dialog=new pops.newwindows('','tree4','360','174','210','200','absolute',a,inhtml,'sms_top_bg.gif');
				msg.loadding();
			}
		}else if (a=="fax"){
			if (Login.users.ulogin!=true){
				if (confirm("You can send ePosition Map via FAX after log-in. \n\nWill you log-in?")){
					Login.Members.prototype.Login_popup()
				}

			}else{
				var inhtml="<table  width='360px' height='223px'  cellspacing=0 cellpadding=0  background='"+Loadings.directory+"/OUTPUT/IMAGE/fax_bg.gif'>";
				inhtml+="<tr height='5px'><td></td></tr>";
				inhtml+="<tr height='18px'><td>"+dot+"ePosition : <b>"+Getid.eposition.epid+"#"+Getid.eposition.domain+"</b></td></tr>";
				inhtml+="<tr height=18px>";
				inhtml+="<td>"+dot+"F A X  : <input type='text' maxlength=4 size=4 name='ft1' id='ft1' class=box style='border:1 solid #c5c5c5;background:#f9f9f9;'> - <input type='text'  maxlength=4  size=4 name='ft2'  id='ft2'  class=box style='border:1 solid #c5c5c5;background:#f9f9f9;'> - <input type='text'  maxlength=4 size=4 name='ft3'  id='ft3'  class=box style='border:1 solid #c5c5c5;background:#f9f9f9;'></td>";
				inhtml+="</tr>";
				inhtml+="<tr height=18px><td>"+dot+"MEMO</td></tr>";
				inhtml+="<tr height=70px><td valign=top align=center><textarea name='FAXMSG' id='FAXMSG' style='width:320px;height:100px;' class=box maxlength=500>";
				inhtml+="Name of sender : \n";
				inhtml+="FAX number of sender : \n";
				inhtml+="Address of sender : \n";
				inhtml+="Contents : \n";
				inhtml+="</textarea>";

				inhtml+="</td></tr>";
				inhtml+="<tr height=30px><td align=right valign=top><img src='"+Loadings.directory+"/OUTPUT/IMAGE/fax_button.gif' style='cursor:hand' align=absmiddle onclick='eposition_fax_send()'>&nbsp;&nbsp;&nbsp;</td></tr>";
				inhtml+="</td></tr></table>";
			
				pops.dialog=new pops.newwindows('','tree4','360','257','210','300','absolute',a,inhtml,'fax_top_bg.gif');
				msg.loadding();
			}

		}else if (a=="map"){
			if (Getid.eposition.domain=="파주시"){
			window.open(Getid.eposition.qurl+"?epid="+encodeURIComponent(Getid.eposition.epid)+"&epdomain="+encodeURIComponent(Getid.eposition.domain),'egosio_Window','status=no,scrollbars=yes,resizable=yes,width=800,height=600')
			}else{
			window.open(Getid.eposition.qurl+"/d/?epid="+encodeURIComponent(Getid.eposition.epid)+"&epdomain="+encodeURIComponent(Getid.eposition.domain),'egosio_Window','status=no,scrollbars=yes,resizable=yes,width=800,height=600')
			}

			
	
		}else if (a=="copy")
		{
			if (Getid.eposition)
			{
				ePosition2Clipboard3("eposition_clipboard",Getid.eposition.epid,Getid.eposition.domain,Getid.eposition.qurl)
			}
			
			//<a href=javascript:void(ePosition2Clipboard3('epexam"+i+"','"+ep_id+"','"+ep_domain+"','"+qurl+"'));>

		}else if (a=="favorite")
		{	
			if (Getid.eposition)
			{
				favorite_add(Getid.eposition.epid,Getid.eposition.domain,'div1_3','ok')
			}
			//eposition_clipboard
		}else if (a=="memo")
		{	
			if (Getid.eposition)
			{
				//AR_VALUE['detail_text']=  item.getElementsByTagName("detail_text")[0].firstChild.nodeValue;
			
				if (AR_VALUE['detail_text']=="")
				{
					AR_VALUE['detail_text']="No introduction message";
				}
				var inhtml="<table  width='420px' height='245px'  cellspacing=0 cellpadding=0  background='"+Loadings.directory+"/OUTPUT/IMAGE/memo_bg.gif'>";
				inhtml+="<tr height='5px'><td></td></tr>";
				inhtml+="<tr height=198px><td align=center><div style='width:380px;height:198px;text-align:left;overflow: auto;'>";
				inhtml+=AR_VALUE['detail_text'];
				inhtml+="</div></td></tr>";
				inhtml+="<TR height=32px><TD align=center> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_memo.gif'  onclick=mapinfopopup('memo') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_default.gif'  onclick=mapinfopopup('default') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_transport.gif'  onclick=mapinfopopup('transport') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_tel.gif'  onclick=mapinfopopup('telv') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_image.gif'  onclick=mapinfopopup('image') style='cursor:hand' align=absmiddle></TD></TR>";
				inhtml+="<tr height='10px'><td></td></tr>";
				inhtml+="</table>";

				if (pops.result.id)
				{
					pops.newwindows.prototype.divRemove()				
				}

				pops.dialog=new pops.newwindows('','tree4','420','280','210','250','absolute',"about",inhtml,'memo_top_bg.gif');
				msg.loadding();

				

			}
			//eposition_clipboard
		}else if (a=="default")
		{	
			if (Getid.eposition)
			{
				
				//AR_VALUE['detail_text']
				//AR_VALUE['epname']= epname;
				//AR_VALUE['image']= image;
				
				
				var inhtml="<table  width='420px' height='245px'  cellspacing=0 cellpadding=0  background='"+Loadings.directory+"/OUTPUT/IMAGE/memo_bg.gif'>";
				inhtml+="<tr height='5px'><td></td></tr>";
				inhtml+="<tr height=198px><td align=center><div style='width:380px;height:198px;text-align:center;overflow: auto;'>";
				inhtml+="<br>"+AR_VALUE['epname']+"<br>";
				if (AR_VALUE['image']=="")
				{
					inhtml+="<img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_multiview_box.gif'><br>";
				}else{
					inhtml+="<div style='width:246px;position:relative;padding-top:4px;height:115px;';><a href='"+AR_VALUE['image']+"' target=_blank><img src='"+AR_VALUE['image']+"' id=largeimg></a></div><br>";
				}
				inhtml+="<b>"+Getid.eposition.epid+"#"+Getid.eposition.domain+"</b><br>";

				inhtml+="</div></td></tr>";
				inhtml+="<TR height=32px><TD align=center> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_memo.gif'  onclick=mapinfopopup('memo') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_default.gif'  onclick=mapinfopopup('default') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_transport.gif'  onclick=mapinfopopup('transport') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_tel.gif'  onclick=mapinfopopup('telv') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_image.gif'  onclick=mapinfopopup('image') style='cursor:hand' align=absmiddle> </TD></TR>";
				inhtml+="<tr height='10px'><td></td></tr>";
				inhtml+="</table>";

				if (pops.result.id)
				{
					pops.newwindows.prototype.divRemove()				
				}

				pops.dialog=new pops.newwindows('','tree4','420','280','210','250','absolute',"about",inhtml,'default_top_bg.gif');
				msg.loadding();

			}
			//eposition_clipboard
		}else if (a=="transport")
		{	
			if (Getid.eposition)
			{
				//alert(AR_VALUE['transportchk']) //교통정보 공개 여부
				//AR_VALUE['transportchk']=  item.getElementsByTagName("transportchk")[0].firstChild.nodeValue;
				//AR_VALUE['bus']=  item.getElementsByTagName("bus")[0].firstChild.nodeValue;
				//AR_VALUE['subway']=  item.getElementsByTagName("subway")[0].firstChild.nodeValue;
				//AR_VALUE['car']=  item.getElementsByTagName("car")[0].firstChild.nodeValue;
				//AR_VALUE['etc']=  item.getElementsByTagName("etc")[0].firstChild.nodeValue;
				//AR_VALUE['parking']=  item.getElementsByTagName("parking")[0].firstChild.nodeValue;
				
				
				var inhtml="<table  width='420px' height='245px'  cellspacing=0 cellpadding=0  background='"+Loadings.directory+"/OUTPUT/IMAGE/memo_bg.gif'>";
				inhtml+="<tr height='5px'><td></td></tr>";
				inhtml+="<tr height=198px><td align=center><div style='width:400px;height:198px;text-align:left;overflow: auto;'>";
				var icon="<img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_icon.gif'  align=absmiddle>&nbsp;";
				if (AR_VALUE['transportchk']==1)
				{
				
					inhtml+=icon+"<b>Bus :</b>"+AR_VALUE['bus']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
					inhtml+=icon+"<b>Automobile :</b>"+AR_VALUE['car']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
					inhtml+=icon+"<b>Subway :</b>"+AR_VALUE['subway']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
					inhtml+=icon+"<b>Park :</b>"+AR_VALUE['parking']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
					inhtml+=icon+"<b>ETC :</b>"+AR_VALUE['etc']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
				
				
				
				}else{
					inhtml+="No information or not open";
				}

				inhtml+="</div></td></tr>";
				inhtml+="<TR height=32px><TD align=center> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_memo.gif'  onclick=mapinfopopup('memo') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_default.gif'  onclick=mapinfopopup('default') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_transport.gif'  onclick=mapinfopopup('transport') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_tel.gif'  onclick=mapinfopopup('telv') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_image.gif'  onclick=mapinfopopup('image') style='cursor:hand' align=absmiddle></TD></TR>";
				inhtml+="<tr height='10px'><td></td></tr>";
				inhtml+="</table>";

				if (pops.result.id)
				{
					pops.newwindows.prototype.divRemove()				
				}

				pops.dialog=new pops.newwindows('','tree4','420','280','210','250','absolute',"about",inhtml,'transport_top_bg.gif');
				msg.loadding();
			}
			//eposition_clipboard
		}else if (a=="telv")
		{	
			if (Getid.eposition)
			{
				//AR_VALUE['tel']= tel;
				//AR_VALUE['fax']= fax;
				//AR_VALUE['hp']= hp;
				//AR_VALUE['mail']= mail;
				//AR_VALUE['region']= region;
				var inhtml="<table  width='420px' height='245px'  cellspacing=0 cellpadding=0  background='"+Loadings.directory+"/OUTPUT/IMAGE/memo_bg.gif'>";
				inhtml+="<tr height='5px'><td></td></tr>";
				inhtml+="<tr height=198px><td align=center><div style='width:395px;height:198px;text-align:left;overflow:auto;line-height:20px'>";
				var icon="<img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_icon1.gif' align=absmiddle>&nbsp;";
				if (AR_VALUE['open_info']==1)
				{
				
					inhtml+=icon+"<b>Address :</b>"+AR_VALUE['region']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
					inhtml+=icon+"<b>Telephone :</b>"+AR_VALUE['tel']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
					inhtml+=icon+"<b>Fax :</b>"+AR_VALUE['fax']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
					inhtml+=icon+"<b>Handphone :</b>"+AR_VALUE['hp']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'><br><br>";
					inhtml+=icon+"<b>Email :</b>"+AR_VALUE['mail']+"<br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_bar.gif'>";
				
				
				
				}else{
					inhtml+="No information or not open";
				}

				inhtml+="</div></td></tr>";
				inhtml+="<TR height=32px><TD align=center> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_memo.gif'  onclick=mapinfopopup('memo') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_default.gif'  onclick=mapinfopopup('default') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_transport.gif'  onclick=mapinfopopup('transport') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_tel.gif'  onclick=mapinfopopup('telv') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_image.gif'  onclick=mapinfopopup('image') style='cursor:hand' align=absmiddle></TD></TR>";
				inhtml+="<tr height='10px'><td></td></tr>";
				inhtml+="</table>";

				if (pops.result.id)
				{
					pops.newwindows.prototype.divRemove()				
				}

				pops.dialog=new pops.newwindows('','tree4','420','280','210','250','absolute',"about",inhtml,'telv_top_bg.gif');
				msg.loadding();
			}
			//eposition_clipboard
		}else if (a=="image")
		{	
			if (Getid.eposition)
			{
				//alert(AR_VALUE['imgchk']) //이미지 공개 여부
				//AR_VALUE['imgchk']=  item.getElementsByTagName("imgchk")[0].firstChild.nodeValue;
				//AR_VALUE['smallimg1']=  item.getElementsByTagName("smallimg1")[0].firstChild.nodeValue;
				//AR_VALUE['smallimg1_text']=  item.getElementsByTagName("smallimg1_text")[0].firstChild.nodeValue;
				//AR_VALUE['smallimg2']=  item.getElementsByTagName("smallimg2")[0].firstChild.nodeValue;
				//AR_VALUE['smallimg2_text']=  item.getElementsByTagName("smallimg2_text")[0].firstChild.nodeValue;
				//AR_VALUE['smallimg3']=  item.getElementsByTagName("smallimg3")[0].firstChild.nodeValue;
				//AR_VALUE['smallimg3_text']=  item.getElementsByTagName("smallimg3_text")[0].firstChild.nodeValue;
				
				var inhtml="<table  width='420px' height='245px'  cellspacing=0 cellpadding=0  background='"+Loadings.directory+"/OUTPUT/IMAGE/memo_bg.gif'>";
				inhtml+="<tr height='5px'><td></td></tr>";
				inhtml+="<tr height=198px><td align=center><div style='width:395px;height:198px;text-align:left;overflow: auto;'>";
				var icon="<img src='"+Loadings.directory+"/OUTPUT/IMAGE/multiview_icon1.gif'>&nbsp;";
				if (AR_VALUE['imgchk']==1)
				{

				
				
					if (AR_VALUE['smallimg1']==""){
						var inhtml1="<img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_box.gif'>";

						
						inhtml+="<table cellpadding=0 cellspacing=0 height=60px><tr><td rowspan=2>"+inhtml1+"</td><td height=59px>No Images</td></tr><tr><td height=1px  ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_bar.gif'></td></tr></table><table height=3px><tr><td></td></tr></table>";

					}else{
						var inhtml1="<div style='width:92px;position:relative;text-align:center;padding-top:1px;height:59px;';><a href='"+AR_VALUE['smallimg1']+"' target=_blank><img src='"+AR_VALUE['smallimg1']+"' id=smallimg1></a></div>";


						inhtml+="<table cellpadding=0 cellspacing=0 height=60px><tr><td rowspan=2>"+inhtml1+"</td><td>"+AR_VALUE['smallimg1_text']+"&nbsp;</td></tr><tr><td height=1px  ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_bar.gif'></td></tr></table><table height=3px><tr><td></td></tr></table>";
					}
					if (AR_VALUE['smallimg2']==""){
						var inhtml1="<img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_box.gif'>";

						
						inhtml+="<table cellpadding=0 cellspacing=0 height=60px><tr><td rowspan=2>"+inhtml1+"</td><td height=59px>No Images</td></tr><tr><td height=1px  ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_bar.gif'></td></tr></table><table height=3px><tr><td></td></tr></table>";

					}else{
						var inhtml1="<div style='width:92px;position:relative;text-align:center;padding-top:1px;height:59px;';><a href='"+AR_VALUE['smallimg2']+"' target=_blank><img src='"+AR_VALUE['smallimg2']+"' id=smallimg2></a></div>";


						inhtml+="<table cellpadding=0 cellspacing=0 height=60px><tr><td rowspan=2>"+inhtml1+"</td><td>"+AR_VALUE['smallimg2_text']+"&nbsp;</td></tr><tr><td height=1px  ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_bar.gif'></td></tr></table><table height=3px><tr><td></td></tr></table>";
					}


					if (AR_VALUE['smallimg3']==""){
						var inhtml1="<img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_box.gif'>";

						
						inhtml+="<table cellpadding=0 cellspacing=0 height=60px><tr><td rowspan=2>"+inhtml1+"</td><td height=59px>No Images</td></tr><tr><td height=1px  ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_bar.gif'></td></tr></table><table height=3px><tr><td></td></tr></table>";

					}else{
						var inhtml1="<div style='width:92px;position:relative;text-align:center;padding-top:1px;height:59px;';><a href='"+AR_VALUE['smallimg3']+"' target=_blank><img src='"+AR_VALUE['smallimg3']+"' id=smallimg3></a></div>";


						inhtml+="<table cellpadding=0 cellspacing=0 height=60px><tr><td rowspan=2>"+inhtml1+"</td><td>"+AR_VALUE['smallimg3_text']+"&nbsp;</td></tr><tr><td height=1px  ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/image_gallery_bar.gif'></td></tr></table><table height=3px><tr><td></td></tr></table>";
					}

				
				}else{
					inhtml+="No information or not open";
				}

				inhtml+="</div></td></tr>";
				inhtml+="<TR height=32px><TD align=center> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_memo.gif'  onclick=mapinfopopup('memo') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_default.gif'  onclick=mapinfopopup('default') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_transport.gif'  onclick=mapinfopopup('transport') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_tel.gif'  onclick=mapinfopopup('telv') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_multiview_image.gif'  onclick=mapinfopopup('image') style='cursor:hand' align=absmiddle></TD></TR>";
				inhtml+="<tr height='10px'><td></td></tr>";
				inhtml+="</table>";

				if (pops.result.id)
				{
					pops.newwindows.prototype.divRemove()				
				}

				pops.dialog=new pops.newwindows('','tree4','420','280','210','250','absolute',"about",inhtml,'image_top_bg.gif');
				msg.loadding();
			}
			//eposition_clipboard
		}
	}
}




UCICIBOXLAYOUT=function(a,b,c,qurl,page){
	this.epid = a;
	this.domain =b;
	this.type = c;
	this.qurl = qurl;
	this.page = page;
	this.search();
}

UCICIBOXLAYOUT.prototype={

	ucicibox:function(){
		var maploadid=document.getElementById('ucici_viewer');
		maploadid.style.position='relative';
		maploadid.style.width='471px';
		maploadid.align="center";
		maploadid.valign="middle";
		maploadid.style.height='386px';
		maploadid.className='div_largeviewer'
		maploadid.style.backgroundImage="URL('"+Loadings.directory+"/OUTPUT/IMAGE/mapbg.gif')";
		this.viewrVandH("Mlink1");
	},Mapload:function(){
		var maploadid=document.getElementById('ucici_viewer');
		var imap= document.createElement("iframe");
		imap.style.width='443px';
		imap.id='mapiframe1';
		imap.name='mapiframe1';
		imap.style.height='364px';
		imap.style.paddingTop="10px";
		imap.frameBorder='0'
		imap.style.marginheight='0'
		imap.style.marginWidth='0'
		imap.scrolling='no'
		imap.src='MAP/google.html'
		maploadid.appendChild(imap);
		this.a_s();


	},viewrVandH:function(a){
		var Mlinkdiv=document.getElementById('Mlink1');
		var Miframe=document.getElementById('mapiframe1');


		if (a=="Mlink1")	{
			if (Mlinkdiv)
			{
				
				if (Mlinkdiv.style.display=="none")
				{
					
					Mlinkdiv.style.display="block";
				}
			
			}else{
				this.Mlink();
			}
			if (Miframe)
			{
				Miframe.style.height="0px";
				Miframe.style.paddingTop="0px";
			}
			
		}else if (a=="mapiframe1")
		{

			if (Miframe)
			{
				Miframe.style.height="366px";
				Miframe.style.paddingTop="10px";

			}else{
				this.Mapload();
			}

			if (Mlinkdiv)
			{
				Mlinkdiv.style.display="none";
			}
		}
	},a_s:function(){
			var div1_1=document.getElementById('ucici_viewer');
			
			var k=document.getElementById('mapiframe1');
			if (!k.contentWindow.document.getElementById("map"))	{
				setTimeout(a_s,50); //1초후 a함수 실행 - 재귀호출
			}else{

				if (!div1_1.firstChild.id){
					div1_1.removeChild(div1_1.firstChild);
					div1_1.style.overflow="visible";
				}
				
				k.contentWindow.document.getElementById("map").style.height='364px';
				k.style.height="364px"
				
			}	
	},Mlink:function(){
		var maploadid=document.getElementById('ucici_viewer');
		
		var Mlinkdiv= document.createElement("div");
		Mlinkdiv.style.width='471px';
		Mlinkdiv.id='Mlink1';
		Mlinkdiv.style.height='385px';
		Mlinkdiv.style.overflow="hidden";
		maploadid.appendChild(Mlinkdiv);
		if (!maploadid.firstChild.id){
			maploadid.removeChild(maploadid.firstChild);
		}
		

	},loadedData:function(req){
		if ( req.readyState == 4 )
		{
			if ( req.status == 200 )
			{
				//alert(req.responseText)
			}
			else
			{
				alert("ERROR : "+req.status);
			}	

		}
	},page:function(){
	
		
	
	},search:function(){
		var param = "q=";
		param+="&page="+this.page;
		param+="&type="+this.type;
		param+="&epid="+encodeURIComponent(this.epid);
		param+="&domain="+encodeURIComponent(this.domain);
		var thisObj = this;
		new ajax.xhr.Request( this.qurl , param , this.loadedData , "POST" , thisObj );
		
		//window.open(this.qurl+"?"+param);
		return;
	}

}
//사이사이 팝업창

ucici_popup=function(a,b,c,d){

	if (Getid.eposition)
	{

		var q=Getid.eposition.epid+"#"+Getid.eposition.domain;

		//pops.dialog=new pops.newwindows(Loadings.directory+'/POPUP/index.php?e='+encodeURIComponent(Getid.eposition.epid)+"&d="+encodeURIComponent(Getid.eposition.domain)+"&type="+c,'tree4','869','495','50','440','absolute',"ucici",inhtml,'ucici_pop_bg.gif');
		pops.dialog=new pops.newwindows('ENG/POPUP/index.php?e='+encodeURIComponent(Getid.eposition.epid)+"&d="+encodeURIComponent(Getid.eposition.domain)+"&type="+c+"&ttype="+encodeURIComponent(d),'tree4','869','495','50','440','absolute',"ucici",inhtml,'ucici_pop_bg.gif');

		msg.loadding();

		
		var detail_info="<table cellpadding=0 cellspacing=0><tr height='30px'><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/ucici_detail_top.gif'></td></tr>";



		detail_info+="<tr><td>ePosition : "+AR_V[0][1]+"#"+AR_V[0][2]+"</td></tr>";
		detail_info+="<tr><td>Subject : "+AR_V[0][3]+"</td></tr>";
		detail_info+="<tr><td>Memo : "+AR_V[0][4]+"</td></tr>";
		detail_info+="</table>";

		//var detail_div=document.getElementById("ucici_detail");
		//detail_div.innerHTML=detail_info;
		
		//var UCICI = new UCICIBOXLAYOUT(a,b,c,"/XML_PHP/ucici_xml_list.php","1");
		//UCICI.ucicibox();

	}


}


function search_location(a){
	//eposition_detail_close(3)
//	viewrVandH('Mlink')

	if (a==1)
	{
		
		var right_div1=document.getElementById('div2_0');

		right_div1_html ="<span><form name=\"Form1\" AUTOCOMPLETE=\"off\" ID=\"Form1\">";
		right_div1_html +="<table border=0 cellpadding=0 cellspacing=0 width=473px background='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_bg.gif'>";
		right_div1_html +="<tr height=34px><td colspan=2 bgcolor='#E7E4DC'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_button.gif' align=absmiddle onclick=search_location(1) style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_menu_button.gif' align=absmiddle onclick=search_location(2) style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_button.gif' align=absmiddle onclick=search_location(3) style='cursor:hand'></td></tr>";
		//right_div1_html +="<tr><td colspan=2 bgcolor='#E7E4DC'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_button.gif' align=absmiddle onclick=search_location(1) style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_menu_button.gif' align=absmiddle onclick=search_location(2) style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_button.gif' align=absmiddle onclick=search_location(3) style='cursor:hand'></td></tr>";
		right_div1_html +="<tr><td colspan=2><img src='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_top.gif'></td></tr>";
		right_div1_html +="<tr height=31px>";
		right_div1_html +="<td valign=middle colspan=2>&nbsp;&nbsp;&nbsp;";
		

		right_div1_html +="<select name=country id=country style='width:140px;height:35px' align=absmiddle>";
		right_div1_html +="<option value=''>--Country --";
		right_div1_html +="<option value='af'>Afghanistan</option>";
		right_div1_html +="<option value='al'>Albania</option>";
		right_div1_html +="<option value='dz'>Algeria</option>";
		right_div1_html +="<option value='as'>American Samoa</option>";
		right_div1_html +="<option value='ad'>Andorra</option>";
		right_div1_html +="<option value='ao'>Angola</option>";
		right_div1_html +="<option value='ai'>Anguilla</option>";
		right_div1_html +="<option value='aq'>Antartica</option>";
		right_div1_html +="<option value='ag'>Antigua & Barbuda</option>";
		right_div1_html +="<option value='ar'>Argentina</option>";
		right_div1_html +="<option value='am'>Armenia</option>";
		right_div1_html +="<option value='aw'>Aruba</option>";
		right_div1_html +="<option value='ac'>Ascension Island</option>";
		right_div1_html +="<option value='au'>Australia</option>";
		right_div1_html +="<option value='at'>Austria</option>";
		right_div1_html +="<option value='az'>Azerbaijan</option>";
		right_div1_html +="<option value='bs'>Bahamas</option>";
		right_div1_html +="<option value='bh'>Bahrain</option>";
		right_div1_html +="<option value='bd'>Bangladesh</option>";
		right_div1_html +="<option value='bb'>Barbados</option>";
		right_div1_html +="<option value='by'>Belarus</option>";
		right_div1_html +="<option value='be'>Belgium</option>";
		right_div1_html +="<option value='bz'>Belize</option>";
		right_div1_html +="<option value='bj'>Benin</option>";
		right_div1_html +="<option value='bm'>Bermuda</option>";
		right_div1_html +="<option value='bt'>Bhutan</option>";
		right_div1_html +="<option value='bo'>Bolivia</option>";
		right_div1_html +="<option value='ba'>Bosnia and Herzegovina</option>";
		right_div1_html +="<option value='bw'>Botswana</option>";
		right_div1_html +="<option value='bv'>Bouvet Island</option>";
		right_div1_html +="<option value='br'>Brazil</option>";
		right_div1_html +="<option value='io'>British Indian Ocean Territory</option>";
		right_div1_html +="<option value='bn'>Brunei Darussalam</option>";
		right_div1_html +="<option value='bg'>Bulgaria</option>";
		right_div1_html +="<option value='bf'>Burkina Faso</option>";
		right_div1_html +="<option value='bi'>Burundi</option>";
		right_div1_html +="<option value='kh'>Cambodia</option>";
		right_div1_html +="<option value='cm'>Cameroon</option>";
		right_div1_html +="<option value='ca'>Canada</option>";
		right_div1_html +="<option value='cv'>Cape Verde</option>";
		right_div1_html +="<option value='ky'>Cayman Islands</option>";
		right_div1_html +="<option value='cf'>Central African Republic</option>";
		right_div1_html +="<option value='td'>Chad</option>";
		right_div1_html +="<option value='cl'>Chile</option>";
		right_div1_html +="<option value='cn'>China</option>";
		right_div1_html +="<option value='cx'>Christmas Island</option>";
		right_div1_html +="<option value='cc'>Cocos (Keeling) Islands</option>";
		right_div1_html +="<option value='co'>Colombia</option>";
		right_div1_html +="<option value='km'>Comoros</option>";
		right_div1_html +="<option value='cd'>Congo, Democratic Republic of the</option>";
		right_div1_html +="<option value='cg'>Congo, Republic of</option>";
		right_div1_html +="<option value='ck'>Cook Islands</option>";
		right_div1_html +="<option value='cr'>Costa Rica</option>";
		right_div1_html +="<option value='ci'>Cote d'Ivoire</option>";
		right_div1_html +="<option value='hr'>Croatia/Hrvatska</option>";
		right_div1_html +="<option value='cy'>Cyprus</option>";
		right_div1_html +="<option value='cz'>Czech Republic</option>";
		right_div1_html +="<option value='dk'>Denmark</option>";
		right_div1_html +="<option value='dj'>Djibouti</option>";
		right_div1_html +="<option value='dm'>Dominica</option>";
		right_div1_html +="<option value='do'>Dominican Republic</option>";
		right_div1_html +="<option value='tp'>East Timor</option>";
		right_div1_html +="<option value='ec'>Ecuador</option>";
		right_div1_html +="<option value='eg'>Egypt</option>";
		right_div1_html +="<option value='sv'>El Salvador</option>";
		right_div1_html +="<option value='gq'>Equatorial Guinea</option>";
		right_div1_html +="<option value='er'>Eritrea</option>";
		right_div1_html +="<option value='ee'>Estonia</option>";
		right_div1_html +="<option value='et'>Ethiopia</option>";
		right_div1_html +="<option value='fk'>Falkland Islands (Malvina)</option>";
		right_div1_html +="<option value='fo'>Faroe Islands</option>";
		right_div1_html +="<option value='fj'>Fiji</option>";
		right_div1_html +="<option value='fi'>Finland</option>";
		right_div1_html +="<option value='fr'>France</option>";
		right_div1_html +="<option value='fx'>France (Metropolitan)</option>";
		right_div1_html +="<option value='gf'>French Guiana</option>";
		right_div1_html +="<option value='pf'>French Polynesia</option>";
		right_div1_html +="<option value='tf'>French Southern Territories</option>";
		right_div1_html +="<option value='ga'>Gabon</option>";
		right_div1_html +="<option value='gm'>Gambia</option>";
		right_div1_html +="<option value='ge'>Georgia</option>";
		right_div1_html +="<option value='de'>Germany</option>";
		right_div1_html +="<option value='gh'>Ghana</option>";
		right_div1_html +="<option value='gi'>Gibraltar</option>";
		right_div1_html +="<option value='gr'>Greece</option>";
		right_div1_html +="<option value='gl'>Greenland</option>";
		right_div1_html +="<option value='gd'>Grenada</option>";
		right_div1_html +="<option value='gp'>Guadeloupe</option>";
		right_div1_html +="<option value='gu'>Guam</option>";
		right_div1_html +="<option value='gt'>Guatemala</option>";
		right_div1_html +="<option value='gg'>Guernsey</option>";
		right_div1_html +="<option value='gn'>Guinea</option>";
		right_div1_html +="<option value='gw'>Guinea-Bissau</option>";
		right_div1_html +="<option value='gy'>Guyana</option>";
		right_div1_html +="<option value='ht'>Haiti</option>";
		right_div1_html +="<option value='hm'>Heard and McDonald Islands</option>";
		right_div1_html +="<option value='va'>Holy See (City Vatican State)</option>";
		right_div1_html +="<option value='hn'>Honduras</option>";
		right_div1_html +="<option value='hk'>Hong Kong</option>";
		right_div1_html +="<option value='hu'>Hungary</option>";
		right_div1_html +="<option value='is'>Iceland</option>";
		right_div1_html +="<option value='in'>India</option>";
		right_div1_html +="<option value='id'>Indonesia</option>";
		right_div1_html +="<option value='ie'>Ireland</option>";
		right_div1_html +="<option value='im'>Isle of Man</option>";
		right_div1_html +="<option value='il'>Israel</option>";
		right_div1_html +="<option value='it'>Italy</option>";
		right_div1_html +="<option value='jm'>Jamaica</option>";
		right_div1_html +="<option value='jp'>Japan</option>";
		right_div1_html +="<option value='je'>Jersey</option>";
		right_div1_html +="<option value='jo'>Jordan</option>";
		right_div1_html +="<option value='kz'>Kazakhstan</option>";
		right_div1_html +="<option value='ke'>Kenya</option>";
		right_div1_html +="<option value='ki'>Kiribati</option>";
		right_div1_html +="<option value='kr'>Korea, Republic of</option>";
		right_div1_html +="<option value='kw'>Kuwait</option>";
		right_div1_html +="<option value='kg'>Kyrgyzstan</option>";
		right_div1_html +="<option value='la'>Lao People's Democratic Republic</option>";
		right_div1_html +="<option value='lv'>Latvia</option>";
		right_div1_html +="<option value='lb'>Lebanon</option>";
		right_div1_html +="<option value='ls'>Lesotho</option>";
		right_div1_html +="<option value='lr'>Liberia</option>";
		right_div1_html +="<option value='li'>Liechtenstein</option>";
		right_div1_html +="<option value='lt'>Lithuania</option>";
		right_div1_html +="<option value='lu'>Luxembourg</option>";
		right_div1_html +="<option value='mo'>Macau</option>";
		right_div1_html +="<option value='mk'>Macedonia, Former Yugoslav Republic</option>";
		right_div1_html +="<option value='mg'>Madagascar</option>";
		right_div1_html +="<option value='mw'>Malawi</option>";
		right_div1_html +="<option value='my'>Malaysia</option>";
		right_div1_html +="<option value='mv'>Maldives</option>";
		right_div1_html +="<option value='ml'>Mali</option>";
		right_div1_html +="<option value='mt'>Malta</option>";
		right_div1_html +="<option value='mh'>Marshall Islands</option>";
		right_div1_html +="<option value='mq'>Martinique</option>";
		right_div1_html +="<option value='mr'>Mauritania</option>";
		right_div1_html +="<option value='mu'>Mauritius</option>";
		right_div1_html +="<option value='yt'>Mayotte</option>";
		right_div1_html +="<option value='mx'>Mexico</option>";
		right_div1_html +="<option value='fm'>Micronesia, Federal State of</option>";
		right_div1_html +="<option value='md'>Moldova, Republic of</option>";
		right_div1_html +="<option value='mc'>Monaco</option>";
		right_div1_html +="<option value='mn'>Mongolia</option>";
		right_div1_html +="<option value='ms'>Montserrat</option>";
		right_div1_html +="<option value='ma'>Morocco</option>";
		right_div1_html +="<option value='mz'>Mozambique</option>";
		right_div1_html +="<option value='na'>Namibia</option>";
		right_div1_html +="<option value='nr'>Nauru</option>";
		right_div1_html +="<option value='np'>Nepal</option>";
		right_div1_html +="<option value='nl'>Netherlands</option>";
		right_div1_html +="<option value='an'>Netherlands Antilles</option>";
		right_div1_html +="<option value='nc'>New Caledonia</option>";
		right_div1_html +="<option value='nz'>New Zealand</option>";
		right_div1_html +="<option value='ni'>Nicaragua</option>";
		right_div1_html +="<option value='ne'>Niger</option>";
		right_div1_html +="<option value='ng'>Nigeria</option>";
		right_div1_html +="<option value='nu'>Niue</option>";
		right_div1_html +="<option value='nf'>Norfolk Island</option>";
		right_div1_html +="<option value='mp'>Northern Mariana Islands</option>";
		right_div1_html +="<option value='kp'>North korea</option>";
		right_div1_html +="<option value='no'>Norway</option>";
		right_div1_html +="<option value='nd'>Not Determined</option>";
		right_div1_html +="<option value='om'>Oman</option>";
		right_div1_html +="<option value='pk'>Pakistan</option>";
		right_div1_html +="<option value='pw'>Palau</option>";
		right_div1_html +="<option value='pa'>Panama</option>";
		right_div1_html +="<option value='pg'>Papua New Guinea</option>";
		right_div1_html +="<option value='py'>Paraguay</option>";
		right_div1_html +="<option value='pe'>Peru</option>";
		right_div1_html +="<option value='ph'>Philippines</option>";
		right_div1_html +="<option value='pn'>Pitcairn Island</option>";
		right_div1_html +="<option value='pl'>Poland</option>";
		right_div1_html +="<option value='pt'>Portugal</option>";
		right_div1_html +="<option value='pr'>Puerto Rico</option>";
		right_div1_html +="<option value='qa'>Qatar</option>";
		right_div1_html +="<option value='re'>Reunion Island</option>";
		right_div1_html +="<option value='ro'>Romania</option>";
		right_div1_html +="<option value='ru'>Russian Federation</option>";
		right_div1_html +="<option value='rw'>Rwanda</option>";
		right_div1_html +="<option value='kn'>Saint Kitts and Nevis</option>";
		right_div1_html +="<option value='lc'>Saint Lucia</option>";
		right_div1_html +="<option value='vc'>Saint Vincent and the Grenadines</option>";
		right_div1_html +="<option value='sm'>San Marino</option>";
		right_div1_html +="<option value='st'>Sao Tome and Principe</option>";
		right_div1_html +="<option value='sa'>Saudi Arabia</option>";
		right_div1_html +="<option value='sn'>Senegal</option>";
		right_div1_html +="<option value='sc'>Seychelles</option>";
		right_div1_html +="<option value='sl'>Sierra Leone</option>";
		right_div1_html +="<option value='sg'>Singapore</option>";
		right_div1_html +="<option value='sk'>Slovak Republic</option>";
		right_div1_html +="<option value='si'>Slovenia</option>";
		right_div1_html +="<option value='sb'>Solomon Islands</option>";
		right_div1_html +="<option value='so'>Somalia</option>";
		right_div1_html +="<option value='za'>South Africa</option>";
		right_div1_html +="<option value='gs'>South Georgia and the South Sandwich Islands</option>";
		right_div1_html +="<option value='es'>Spain</option>";
		right_div1_html +="<option value='lk'>Sri Lanka</option>";
		right_div1_html +="<option value='pm'>St Pierre and Miquelon</option>";
		right_div1_html +="<option value='sh'>St. Helena</option>";
		right_div1_html +="<option value='sr'>Suriname</option>";
		right_div1_html +="<option value='sj'>Svalbard and Jan Mayen Islands</option>";
		right_div1_html +="<option value='sz'>Swaziland</option>";
		right_div1_html +="<option value='se'>Sweden</option>";
		right_div1_html +="<option value='ch'>Switzerland</option>";
		right_div1_html +="<option value='tw'>Taiwan</option>";
		right_div1_html +="<option value='tj'>Tajikistan</option>";
		right_div1_html +="<option value='tz'>Tanzania</option>";
		right_div1_html +="<option value='tb'>Tibet</option>";
		right_div1_html +="<option value='th'>Thailand</option>";
		right_div1_html +="<option value='tg'>Togo</option>";
		right_div1_html +="<option value='tk'>Tokelau</option>";
		right_div1_html +="<option value='to'>Tonga</option>";
		right_div1_html +="<option value='tt'>Trinidad and Tobago</option>";
		right_div1_html +="<option value='tn'>Tunisia</option>";
		right_div1_html +="<option value='tr'>Turkey</option>";
		right_div1_html +="<option value='tm'>Turkmenistan</option>";
		right_div1_html +="<option value='tc'>Turks and Caicos Islands</option>";
		right_div1_html +="<option value='tv'>Tuvalu</option>";
		right_div1_html +="<option value='ug'>Uganda</option>";
		right_div1_html +="<option value='ua'>Ukraine</option>";
		right_div1_html +="<option value='ae'>United Arab Emirates</option>";
		right_div1_html +="<option value='gb'>United Kingdom</option>";
		right_div1_html +="<option value='us'>United States</option>";
		right_div1_html +="<option value='uy'>Uruguay</option>";
		right_div1_html +="<option value='um'>US Minor Outlying Islands</option>";
		right_div1_html +="<option value='uz'>Uzbekistan</option>";
		right_div1_html +="<option value='vu'>Vanuatu</option>";
		right_div1_html +="<option value='ve'>Venezuela</option>";
		right_div1_html +="<option value='vn'>Vietnam</option>";
		right_div1_html +="<option value='vg'>Virgin Island (British)</option>";
		right_div1_html +="<option value='vi'>Virgin Islands (USA)</option>";
		right_div1_html +="<option value='wf'>Wallis And Futuna Islands</option>";
		right_div1_html +="<option value='eh'>Western Sahara</option>";
		right_div1_html +="<option value='ws'>Western Samoa</option>";
		right_div1_html +="<option value='ye'>Yemen</option>";
		right_div1_html +="<option value='yu'>Yugoslavia</option>";
		right_div1_html +="<option value='zm'>Zambia</option>";
		right_div1_html +="<option value='zw'>Zimbabwe</option>";

		right_div1_html +="</select>&nbsp;";
		
		
		
		
		right_div1_html +="<select name=region_large id=region_large style='width:140;' onchange=AreaSelect(this[this.selectedIndex].value,'region_sub')>";
		right_div1_html +="<option value=>SI/DO</option>";
		right_div1_html +="<option value='강원'>GANGWON-DO</option>";
		right_div1_html +="<option value='경기'>GYEONGGI-DO</option>";
		right_div1_html +="<option value='경남'>GYEONGSANGNAM-DO</option>";
		right_div1_html +="<option value='경북'>GYEONGSANGBUK-DO</option>";
		right_div1_html +="<option value='광주'>GWANGJU</option>";
		right_div1_html +="<option value='대구'>DAEGU</option>";
		right_div1_html +="<option value='대전'>DAEJEON</option>";
		right_div1_html +="<option value='부산'>BUSAN</option>";
		right_div1_html +="<option value='서울'>SEOUL</option>";
		right_div1_html +="<option value='울산'>ULSAN</option>";
		right_div1_html +="<option value='인천'>INCHEON</option>";
		right_div1_html +="<option value='전남'>JEOLLANAM-DO</option>";
		right_div1_html +="<option value='전북'>JEOLLABUK-DO</option>";
		right_div1_html +="<option value='제주'>JEJU-DO</option>";
		right_div1_html +="<option value='충남'>CHUNGCHEONGNAM-DO</option>";
		right_div1_html +="<option value='충북'>CHUNGCHEONGBUK-DO</option>";

		right_div1_html +="</select>&nbsp;&nbsp;";
		right_div1_html +="<select name=region_sub style=width:140; id=region_sub><option value=>GU/GUN</option></select>";
		right_div1_html +="</td>";
		right_div1_html +="</tr><tr height=35>";

		right_div1_html +="<td valign=top width=340px><input type='text'  autocomplete='off' name='q'   id='q' maxlength=30 class='ibox' onkeyup=\"search_strip('K')\" onmousedown=\"search_strip('M')\" onKeyPress='if (event.keyCode==13){setTimeout(\"eposition_search_list()\",500);}' align=absmiddle style='width:325px' style='border:1 solid #c5c5c5;background:#f9f9f9;' ></td><tD><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_search_button.gif'  onfocus=blur() onclick='eposition_search_list()' style='cursor:hand'>&nbsp;&nbsp;&nbsp;</td>";
		right_div1_html +="</tr>";
		right_div1_html +="<tr height=39px>";
		right_div1_html +="<td align=left   colspan=2 valign=middle >&nbsp;&nbsp;&nbsp;Search EX.&nbsp;<a href=javascript:exLinks('gg21#'); onfocus=blur() style='font-size:9pt;'>gg21#</a> vs <a href=javascript:exLinks('gg21##'); onfocus=blur() style='font-size:9pt;'>gg21##</a></td>";
		right_div1_html +="</tr>";
		right_div1_html +="<tr height=2><td align=center colspan=2></td></tr>";
		right_div1_html +="<tr height=21><td align=left colspan=2 >&nbsp;&nbsp;&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/portal_title.gif'></td></tr>";
		right_div1_html +="<tr height=35px><td align=center colspan=2><img src='"+Loadings.directory+"/OUTPUT/IMAGE/portal_google.gif' onclick=portalFS('google') style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/portal_naver.gif' onclick=portalFS('naver') style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/portal_nate.gif' onclick=portalFS('nate') style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/portal_daum.gif' onclick=portalFS('daum') style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/portal_yahoo.gif' onclick=portalFS('yahoo') style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/portal_paran.gif' onclick=portalFS('paran') style='cursor:hand'></td></tr>";

		right_div1_html +="<tr><td colspan=2><img src='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_bottom.gif'></td></tr>";

		right_div1_html +="<input type=\"hidden\" name=\"txtUserValue\" ID=\"hidden1\" />";
		right_div1_html +="<input type=\"text\" name=\"txtIgnore\" style=\"display:none\"/>";
		right_div1_html +="</form></table>";
		right_div1_html +="</span>";
		right_div1.innerHTML=right_div1_html;
	
		if (navigator.appName != "Netscape")
		{
			onload21()
		}
		
		

	}else if (a==2)
	{
		//HideTheBox();
		var right_div1=document.getElementById('div2_0');
		right_div1_html="<span>";
		right_div1_html+="<table border=0 cellpadding=0 cellspacing=0 width=473px style='table-layout:fixed'  background='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_thema_bg.gif'>";
		right_div1_html +="<tr><td bgcolor='#E7E4DC'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_button.gif' align=absmiddle onclick=search_location(1) style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_menu_button.gif' align=absmiddle onclick=search_location(2) style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_button.gif' align=absmiddle onclick=search_location(3) style='cursor:hand'></td></tr>";
		//right_div1_html +="<tr><td bgcolor='#E7E4DC'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_button.gif' align=absmiddle onclick=search_location(1) style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_menu_button.gif' align=absmiddle onclick=search_location(2) style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_button.gif' align=absmiddle onclick=search_location(3) style='cursor:hand'></td></tr>";

		right_div1_html+= "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_menu_top.gif'></td></tr>";

		right_div1_html+="<tr height=35px><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Category</b> : <INPUT accesskey=s style='WIDTH: 200px' name=sg_query id=sg_query tabindex=2 style='border:1 solid #c5c5c5;background:#f9f9f9;'></td></tr>";

		right_div1_html+="<tr height=95px><td ><div id='sg' style='position:relative;top:0px;left:12px;display:block;width:220px;height:95px;z-index:10;border:1px solid #74AD2C;background-color: #FFFFFF;'><div name='sg_category' id='sg_category' style='width:100%;height:95px;padding:0px;font-size:9pt;font-family:verdana;overflow:-moz-scrollbars-vertical;overflow-y:scroll;'></div><div id='thema_tag'  style='position:absolute;top:18px;left:225px;display:block;width:223px;height:71px;overflow:hidden;valign:middle;z-index:10;background-image:url(\""+Loadings.directory+"/OUTPUT/IMAGE/thema_tag_bg.gif\");'></div></div></td></tr>";
	


		//div2_2_inhtml+="<tr><td><input type='text' name=naver_q id=naver_1 onclick=\"document.getElementById('sg').style.display='none';\"><input type='button' value='검색' onclick='region_search()'></td></tr>";
		right_div1_html +="<tr height=7><td align=center ><img src='"+Loadings.directory+"/OUTPUT/IMAGE/eposition_search_bar.gif'></td></tr>";

		right_div1_html +="<tr  id=thematr2 style='display:block' height=29px><td>&nbsp;&nbsp;&nbsp;&nbsp;<select name=region_large1 id=region_large1 style='width:90px' onchange=AreaSelect1(this[this.selectedIndex].value,1)>";
		right_div1_html +="<option value=>SI/DO</option>";
		right_div1_html +="<option value='강원'>GANGWON-DO</option>";
		right_div1_html +="<option value='경기'>GYEONGGI-DO</option>";
		right_div1_html +="<option value='경남'>GYEONGSANGNAM-DO</option>";
		right_div1_html +="<option value='경북'>GYEONGSANGBUK-DO</option>";
		right_div1_html +="<option value='광주'>GWANGJU</option>";
		right_div1_html +="<option value='대구'>DAEGU</option>";
		right_div1_html +="<option value='대전'>DAEJEON</option>";
		right_div1_html +="<option value='부산'>BUSAN</option>";
		right_div1_html +="<option value='서울'>SEOUL</option>";
		right_div1_html +="<option value='울산'>ULSAN</option>";
		right_div1_html +="<option value='인천'>INCHEON</option>";
		right_div1_html +="<option value='전남'>JEOLLANAM-DO</option>";
		right_div1_html +="<option value='전북'>JEOLLABUK-DO</option>";
		right_div1_html +="<option value='제주'>JEJU-DO</option>";
		right_div1_html +="<option value='충남'>CHUNGCHEONGNAM-DO</option>";
		right_div1_html +="<option value='충북'>CHUNGCHEONGBUK-DO</option>";
		right_div1_html +="</select>&nbsp;";
		right_div1_html +="<select name=region_sub1 style='width:90px' id=region_sub1 onchange=AreaSelect1(this[this.selectedIndex].value,2)><option value=>GU/GUN</option></select>&nbsp;";
		right_div1_html +="<input type='text' name=thema_q id=thema_q style='width:130px' onKeyPress='if (event.keyCode==13){setTimeout(\"THEMA_search_list()\",500);}' style='border:1 solid #c5c5c5;background:#f9f9f9;'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_search_bt.gif'onclick='THEMA_search_list()' style='cursor:hand' align=absmiddle></tr>";
		right_div1_html += "<tr height=2px><td></td></tr>";

		right_div1_html += "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_menu_bottom.gif'></td></tr>";
		right_div1_html+="";

		right_div1_html+="</table></span>";

		right_div1.innerHTML=right_div1_html;
		var ADC = new AutoDetectCategory( "sg_query","sg","sg_category","/EXEC/exec_search_category.php", "POST" );
		
		
		sg_values=function(a){
			document.getElementById('sg_query').value=a
			ADC.doSearch()
		}


		

	var loader1=new ajax.xhr.Request("XML_PHP/tag_xml_list.php","",ajax.ContentLoader.prototype.tag_list,"GET","");

	

		



	}else if (a==3)
	{
		//HideTheBox();
		if (Login.users.ulogin!=true) {
			
			if (confirm("Try it again, after log-in.\n\nWill you log-in?")){
			Login.Members.prototype.Login_popup();
			return false;
			}
			return false;
		
		}

		var right_div1=document.getElementById('div2_0');
		right_div1_html="<span>";
		right_div1_html+="<table border=0 cellpadding=0 cellspacing=0 height=225px width=473px style='table-layout:fixed;'  background='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_bg.gif'>";
		right_div1_html +="<tr><td bgcolor='#E7E4DC'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_button.gif' align=absmiddle onclick=search_location(1) style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_menu_button.gif' align=absmiddle onclick=search_location(2) style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_button.gif' align=absmiddle onclick=search_location(3) style='cursor:hand'></td></tr>";

		right_div1_html+= "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_top.gif'></td></tr>";

		//즐겨찾기 관리
		if (Login.users.ulogin==true)
		{

			right_div1_html +="<tr><td align=center><div id=favorite_table_div style='height:147px;width:450px;' >";
			right_div1_html += "<table cellpadding=0 cellspacing=0 border=0 width=100% height=147px>";
			right_div1_html += "<tr><td align=left colspan=2><table width=100% height=120px style='border: solid #74AD2C 1px;'><tr><td id='favorite_div1' valign=top>"+Loadings.text+"</td></tr></table></td>";
			right_div1_html+="<tr height=15px><td colspan=2></td></tr>";
			right_div1_html += "<tr height=32px ><td align=left> &nbsp;&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/arrow_left.gif' onclick=favorite_menu_arrow('left') style='cursor:hand' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/arrow_right.gif' style='cursor:hand' align=absmiddle onclick=favorite_menu_arrow('right')> <span id=favorite_menu_cnt></span></td><td align=right>Selective item<img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_bt_move.gif' onclick=favorite_move() align=absmiddle style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_bt_delete.gif' onclick=favorite_delete() align=absmiddle style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_bt_admin.gif' onclick=search_location(4) align=absmiddle style='cursor:hand'></td></tr>";
			right_div1_html += "</table>";
			right_div1_html += "</div></td></tr>";
		
			var loader1=new ajax.xhr.Request("XML_PHP/favorite_xml_list.php","",ajax.ContentLoader.prototype.favorite_xml_list,"GET","");
		}


		right_div1_html += "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_bottom.gif'></td></tr>";
		right_div1_html+="";

		right_div1_html+="</table></span>";

		right_div1.innerHTML=right_div1_html;

		f_list("","");
	}else if (a==4)
	{
		if (Login.users.ulogin!=true) {
		
		
		
			if (confirm("Try it again, after log-in.\n\nWill you log-in?")){
			Login.Members.prototype.Login_popup();
			return false;
			}
			return false;
		
		
		
		}

		var d=document.getElementById("div2_3");	
		d.style.display="none";

		var right_div1=document.getElementById('div2_0');
		right_div1_html="<span>";
		right_div1_html+="<table border=0 cellpadding=0 cellspacing=0 width=473px style='table-layout:fixed;'  background='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_bg1.gif'>";
		right_div1_html +="<tr><td bgcolor='#E7E4DC'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/opensearch_menu_button.gif' align=absmiddle onclick=search_location(1) style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/thema_menu_button.gif' align=absmiddle onclick=search_location(2) style='cursor:hand'><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_button.gif' align=absmiddle onclick=search_location(3) style='cursor:hand'></td></tr>";

		right_div1_html+= "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_top.gif'></td></tr>";

		//즐겨찾기 관리
		if (Login.users.ulogin==true)
		{

			right_div1_html +="<tr><td align=center><div id=favorite_table_div style='height:120px;width:450px;' >";
			right_div1_html += "<table cellpadding=0 cellspacing=0 border=0 width=100%>";
			right_div1_html += "<tr><td colspan=2 align=left><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_title.gif'></td></tr>";

			right_div1_html += "<tr height=23 ><td colspan=2 align=left background='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_bg.gif'>&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_arrow1.gif' align=absmiddle style='cursor:hand' onclick=div_upanddown(1)>&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_arrow2.gif' align=absmiddle style='cursor:hand' onclick=div_upanddown(2)>&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_bar.gif' align=absmiddle>&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_arrow3.gif' align=absmiddle style='cursor:hand' onclick=div_upanddown(3)>&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_arrow4.gif' align=absmiddle style='cursor:hand' onclick=div_upanddown(4)> &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_add.gif'  onclick=adddiv() align=absmiddle style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_bar.gif' align=absmiddle> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_del.gif' onclick=deldiv() align=absmiddle style='cursor:hand'></td></tr>";
			right_div1_html += "<tr height=2px><td  align=center></td></tr>";

			right_div1_html += "<tr><td align=left valign=top><table width=100% height=100% style='border: solid #E3E3E3 1px;'><tr><td id='favorite_div1' valign=top>"+Loadings.text+"</td></tr></table></td>";
			right_div1_html += "<td width=250 valign=top align=right>";
			right_div1_html += "<table width=98% height=100% style='border: solid #E3E3E3 1px;'><tr><td align=left>&nbsp;<img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_text1.gif'><br><input type=text value='' id=favorite_q onkeyup=applyMenu() maxlength=16 align=absmiddle class=box style='width:200px' style='border:1 solid #c5c5c5;background:#f9f9f9;'><br><br><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_admin_text2.gif'></td></tr></table>";
			right_div1_html += "</td></tr>";
			right_div1_html += "<tr height=5px><td colspan=2 align=center></td></tr>";
			right_div1_html += "<tr height=1px bgcolor='#E3E3E3'><td colspan=2 align=center></td></tr>";
			right_div1_html += "<tr height=5px><td colspan=2 align=center></td></tr>";

			right_div1_html += "<tr><td colspan=2 align=right><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_bt_submit.gif' onclick=savediv() align=absmiddle style='cursor:hand'> <img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_bt_cancel.gif'  onclick=search_location(3) align=absmiddle style='cursor:hand'></td></tr>";

			right_div1_html += "</table>";
			right_div1_html += "</div></td></tr>";
		
			var loader1=new ajax.xhr.Request("XML_PHP/favorite_xml_list.php","",ajax.ContentLoader.prototype.favorite_xml_edit,"GET","");

		}


		right_div1_html += "<tr><td><img src='"+Loadings.directory+"/OUTPUT/IMAGE/favorite_menu_bottom.gif'></td></tr>";
		right_div1_html+="";

		right_div1_html+="</table></span>";

		right_div1.innerHTML=right_div1_html;
//		document.getElementById('favorite_div1').innerHTML=Loadings.text

		//var ADC = new AutoDetectCategory( "sg_query","sg","sg_category","/EXEC/exec_search_category.php", "POST" );

	}

	
}


function point_check(a){

	for (i=0; i<3; i++)
	{
		if (i!=a){
			document.getElementById('point'+i).checked=false;
		}
	}

}

/*
	maploadid.innerHTML="<div id='map' style='width:500px;height:350px;position:relative'></div><div style='width:500px;height:50px;position:relative'><input type='button' value='1'><input type='button' value='2'><input type='button' value='3'><input type='button' value='4'><input type='button' value='5'><input type='button' value='6'><input type='button' value='7'><input type='button' value='8'><input type='button' value='크게보기' onclick='maplargeviewer()'></div>	";
*/
/*
5.DOM 속성
 
 
childNodes : 현재 요소의 자식을 배열로 표현한다.
firstChild : 현재 요소의 첫번째 자식이다.
lastChild : 현재 요소의 마지막 자식이다.
nextSibling : 현재 요소와 바로 다음의 요소를 의미한다.
nodeValue : 해당 요소의 값을 읽고 쓸 수 있는 속성을 정의한다.(=data)
parentNode : 해당 요소의 부모노드이다.
previousSibling : 현재 요소와 바로 이전의 요소를 의미한다.
 
 
6.DOM 메소드
 
getElementById(id) : 다큐먼트에서 특정한 id 속성값을 가지고 있는 요소를 반환한다.
getElementsByTagName(name) : 특정한 태그 이름을 가지고 있는 자식 요소로 구성된 배열을 리턴한다.
hasChildNodes() : 해당 요소가 자식 요소를 포함하고 있는지를 나타내는 Boolean 값을 리턴한다.
getAttribute(name) : 특정한 name 에 해당하는 요소의 속성값을 리턴한다.
 
document.createElement(tagName) : tagName 으로된 엘리먼트를 생성한다. div 를 메소드 파라미터로 입력하면 div 엘리먼트가 생성된다.
document.createTextNode(text) : 정적 텍스트를 담고 있는 노드를 생성한다.
<element>.appendChild(childNode) : 특정 노드를 현재 엘리먼트의 자식 노드에 추가시킨다. (예를들어 select 엘리먼트에 option 엘리먼트 추가)
<element>.getAttribute(name) : 속성명이 name 인 속성값을 반환한다.
<element>.setAttribute(name, value) : 속성값 value 를 속성명이 name 인 곳에 저장한다.
<element>.insertBefore(newNode, tartgetNode) : newNode 를  tartgetNode 전에 삽입한다.
<element>.removeAttribute(name) : 엘리먼트에서 name 속성을 제거한다.
<element>.removeChild(childNode) : 자식 엘리먼트를 제거한다.
<element>.replaceChild(newNode, oldNode) : oldNode 를 newNode 로 치환한다.
<element>.hasChildNodes() : 자식 노드가 존재하는지 여부를 판단한다. 리턴형식은 Boolean 이다.
}
*/


