//2008.11.8 randomÀ¸·Î ±¸±Û±¤°í Ãâ·Â ½ÃÀÛ
var version = 0;
var myname;
var yourname;
var ch;
var ju;
var jo;
var whatpage;

if(navigator.appName == "Netscape") version=0;
else version=1;

factor=1;
function initArray() {
      this.length = initArray.arguments.length
      for (var i = 0; i < this.length; i++)
      this[i] = initArray.arguments[i]
}
function random() 
{
     today = new Date();
     num = today.getTime();
     num = (Math.round(Math.abs(Math.sin (num)*1000000))) % 2;
     return num;
}

chosung=new initArray("", "", "¤¡", "¤¢", "¤¤", "¤§", "¤¨", "¤©", "¤±", "¤²","¤³", "¤µ", "¤¶","¤·", "¤¸", "¤¹", "¤º", "¤»", "¤¼", "¤½", "¤¾");

joongsung=new initArray("", "", "", "¤¿", "¤À", "¤Á", "¤Â", "¤Ã", "", "", "¤Ä", "¤Å", "¤Æ", "¤Ç", "¤È", "¤É", "", "", "¤Ê", "¤Ë", 
		"¤Ì", "¤Í", "¤Î", "¤Ï", "", "", "¤Ð", "¤Ñ", "¤Ò", "¤Ó");

jongsung=new initArray("", "", "¤¡", "¤¢", "¤£", "¤¤", "¤¥", "¤¦", "¤§", "¤©", "¤ª", "¤«", "¤¬", "¤­", "¤¯", "¤®", "¤°", "¤±",
		"", "¤²", "¤´", "¤µ", "¤¶", "¤·", "¤¸", "¤º", "¤»", "¤¼", "¤½", "¤¾");

alljaso=new initArray("¤¡", "¤¢", "¤£","¤¤", "¤¥", "¤¦", "¤§", "¤¨", "¤©", "¤ª", "¤«", "¤¬", "¤­", "¤¯",
		"¤®", "¤°", "¤±", "¤²", "¤´", "¤³", "¤µ", "¤¶", "¤·", "¤¸", "¤¹", "¤º", "¤»",
		"¤¼", "¤½", "¤¾", "¤¿", "¤À", "¤Á", "¤Â", "¤Ã", "¤Ä", "¤Å", "¤Æ", "¤Ç", "¤È",
		"¤É", "¤Ê", "¤Ë", "¤Ì", "¤Í", "¤Î", "¤Ï", "¤Ð", "¤Ñ", "¤Ò", "¤Ó");

jasohweksu1=new initArray(1, 2, 3, 1, 3, 4, 2, 4, 3, 4, 6, 7, 5, 7,
		6, 6, 3, 4, 6, 8, 2, 4, 1, 2, 4, 3, 2,
		3, 4, 3, 2, 3, 3, 4, 2, 3, 3, 4, 2, 4,
		5, 3, 3, 2, 4, 5, 3, 3, 1, 2, 1);

jasohweksu2=new initArray(2, 4, 4, 2, 5, 5, 3, 6, 5, 7, 9, 9, 7, 9,
		9, 8, 4, 4, 6, 8, 2, 4, 1, 3, 6, 4, 3, 
		4, 4, 3, 2, 3, 3, 4, 2, 3, 3, 4, 2, 4, 
		5, 3, 3, 2, 4, 5, 3, 3, 1, 2, 1);

jaso=new initArray("","","");

function SeekWansungChar(gulja,form) { 
	var i;

	for(i=0; i<671; i++) {
		if(form.ks.value.substring(i*2, i*2+2) == gulja)break;
	}
	
	return form.johap.value.substring(i*5, i*5+5);
}
function AnalJaso(gulja) { 

	var cho, joo, jon; 
	var jaso;

	cho=(0x7c00 & gulja) >>10;	
	joo=(0x3e0 & gulja ) >> 5;
	jon=(0x001f & gulja);
	
	jaso=chosung[cho]+joongsung[joo]+jongsung[jon];
	return jaso;
}

//for MS explorer
function MS_SeekWansungChar(gulja,form) {
	var i;

	for(i=0; i<671; i++) {
		if(form.ks.value.substring(i+1, i) == gulja)break;
	}
	
	return form.johap.value.substring(i*5+5, i*5);
}
function MS_AnalJaso(gulja) { 

	var cho, joo, jon; 

	cho=(0x7c00 & gulja) >>10;	
	joo=(0x3e0 & gulja ) >> 5;
	jon=(0x001f & gulja);
	
	jaso[0]=chosung[cho];
	jaso[1]=joongsung[joo];
	jaso[2]=jongsung[jon];
}
//

function GetHweksu1(jaso) { 

	var i;

	if (jaso == "") {return 0};
	for(i=0; i<51; i++) {if(jaso == alljaso[i])break;}
	return jasohweksu1[i];

}  
function GetHweksu2(jaso) { 

	var i;

	if (jaso == "") {return 0};
	for(i=0; i<51; i++) {if(jaso == alljaso[i])break;}
	return jasohweksu2[i];
}
function GetResult(form) {
	var i;
	var mecounter=0, youcounter=0;
	var mehweksu=0, youhweksu=0;
	var content_no;

	myname=form.me.value;
	yourname=form.you.value;

	mechar=new initArray();
	youchar=new initArray();
	mecharjaso=new initArray();
	youcharjaso=new initArray();
	mealljaso=new initArray();
	youalljaso=new initArray();
	charhweksu1=new initArray();	
	charhweksu2=new initArray();	
	charhweksu3=new initArray();	

//	alert("°á°ú¸¦ ³»°íÀÖ½À´Ï´Ù. Àá½Ã¸¸ ±â´Ù·Á ÁÖ¼¼¿ä");

if(version) {
//for MSIE
	for (i=0; i<myname.length; i++) {
		//mechar[i]=MS_SeekWansungChar(myname.substring(i+1, i),document.forms[0]);
		mechar[i]=MS_SeekWansungChar(myname.substring(i+1, i),document.gul);
		MS_AnalJaso(mechar[i]);
		mealljaso[mecounter++]=jaso[0];
		mealljaso[mecounter++]=jaso[1];
		mealljaso[mecounter++]=jaso[2];	
	}
	
	for (i=0; i<yourname.length; i++){
		//youchar[i]=MS_SeekWansungChar(yourname.substring(i+1,i),document.forms[0]);
		youchar[i]=MS_SeekWansungChar(yourname.substring(i+1,i),document.gul);
		MS_AnalJaso(youchar[i]);
		youalljaso[youcounter++]=jaso[0];
		youalljaso[youcounter++]=jaso[1];
		youalljaso[youcounter++]=jaso[2];
	}
}
//
else {
	for (i=0; i<(myname.length)/2; i++) {
		//mechar[i]=SeekWansungChar(myname.substring(i*2, i*2+2),document.forms[0]);
		mechar[i]=SeekWansungChar(myname.substring(i*2, i*2+2),document.gul);
		mecharjaso[i]=AnalJaso(mechar[i]);
	}
	
	for (i=0; i<(yourname.length)/2; i++){
		//youchar[i]=SeekWansungChar(yourname.substring(i*2,i*2+2),document.forms[0]);
		youchar[i]=SeekWansungChar(yourname.substring(i*2,i*2+2),document.gul);
		youcharjaso[i]=AnalJaso(youchar[i]);
	}

	for(i=0; i<3; i++) {
		for(j=0; j<(mecharjaso[i].length); j++) {
			mealljaso[mecounter++]=mecharjaso[i].substring(j*2,j*2+2);
		}
		for(j=0; j<(youcharjaso[i].length); j++) {
			youalljaso[youcounter++]=youcharjaso[i].substring(j*2,j*2+2);
		}
	}
}	
if(version) {
	for(i=0; i<3; i++) {
		charhweksu1[i]=0; charhweksu2[i]=0;
		for(j=0; j<3; j++) {
			charhweksu1[i]+=GetHweksu2(mealljaso[i*3+j]);
		}
		for(j=0; j<3; j++) {
			charhweksu2[i]+=GetHweksu2(youalljaso[i*3+j]);
		}
	}
}
else {
	for(i=0; i<3; i++) {
		charhweksu1[i]=0; charhweksu2[i]=0;
		for(j=0; j<(mecharjaso[i].length); j++) {
			charhweksu1[i]+=GetHweksu2(mecharjaso[i].substring(j*2,j*2+2));
		}
		for(j=0; j<(youcharjaso[i].length); j++) {
			charhweksu2[i]+=GetHweksu2(youcharjaso[i].substring(j*2,j*2+2));
		}
	}
}
	ch=(charhweksu1[0]+charhweksu2[0])%3;
	ju=(charhweksu1[1]+charhweksu2[1])%3;
	jo=(charhweksu1[2]+charhweksu2[2])%3;


	for(i=0; i<=mecounter; i++) {
		for(j=0; j<=youcounter; j++) {
			if(mealljaso[i] == youalljaso[j]) {
				mealljaso[i]="";
				youalljaso[j]="";
			}
		}
	}

	for(i=0; i<=mecounter; i++) {
		mehweksu+=GetHweksu1(mealljaso[i]);
	}

	for(i=0; i<=youcounter; i++) {
		youhweksu+=GetHweksu1(youalljaso[i]);
	}


	form.mehweksu.value=mehweksu;
	form.youhweksu.value=youhweksu;
	form.ch.value=ch;
	form.ju.value=ju;
	form.jo.value=jo;

//	alert(document.forms[0].ks.value.substring(671,670))
//	alert(document.forms[0].johap.value.substring(670*5+5, 670*5));

}

/****************html text printing area from here**************************/
var html_txt;

html_txt="<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
html_txt+=" <tr>";
html_txt+="  <td>";
html_txt+="   <table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
html_txt+="    <tr>";
html_txt+="     <td background=\"images/today/today1_05.gif\">";
html_txt+="      <p><img src=\"images/harmony/harmony4_03.gif\" width=\"263\" height=\"74\" border=\"0\"></p>";
html_txt+="     </td>";
html_txt+="     <td width=\"3\">";
html_txt+="      <p align=\"right\"><img src=\"images/today/today1_06.gif\" width=\"3\" height=\"74\" border=\"0\"></p>";
html_txt+="     </td>";
html_txt+="    </tr>";
html_txt+="   </table>";
html_txt+="  </td>";
html_txt+=" </tr>";
html_txt+=" <tr>";
html_txt+="  <td height=\"30\">";
html_txt+="   <p>&nbsp;</p>";
html_txt+="  </td>";
html_txt+=" </tr>";
html_txt+=" <tr>";
html_txt+="  <td>";
html_txt+="   <table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
html_txt+="    <tr>";
html_txt+="     <td background=\"images/today/today4_13.gif\">";
html_txt+="      <p><img src=\"images/today/today4_13.gif\" width=\"3\" height=\"3\" border=\"0\"></p>";
html_txt+="     </td>";
html_txt+="    </tr>";
html_txt+="    <tr>";
html_txt+="     <td height=\"12\">";
html_txt+="      <p><img src=\"images/etc/blank.gif\" width=\"1\" height=\"1\" border=\"0\"></p>";
html_txt+="     </td>";
html_txt+="    </tr>";
html_txt+="    <tr>";
html_txt+="     <td>";
html_txt+="      <table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">";
html_txt+="       <tr>";
html_txt+="        <td width=\"123\" valign=\"top\">";
html_txt+="         <p><img src=\"images/fortune/fortune1_06.gif\" width=\"123\" height=\"94\" border=\"0\"></p>";
html_txt+="        </td>";
html_txt+="        <td width=\"2\" background=\"images/today/today3_07.gif\">";
html_txt+="         <p>&nbsp;</p>";
html_txt+="        </td>";
html_txt+="        <td>";
html_txt+="         <div align=\"right\">";
html_txt+="          <table cellpadding=\"0\" cellspacing=\"0\" width=\"95%\">";
html_txt+="           <tr>";
html_txt+="<td height=\"110\">";
html_txt+="<form name=gul>";
html_txt+="<INPUT TYPE=hidden NAME=ks VALUE=\"°¡°¢°£°¤°¥°¨°©°ª°«°­°®°°°³°´°»°Å°Æ°Ç°É°Ë°Ì°Ô°Ü°Ý°ß°á°â°ã°æ°è°í°î°ï°ñ°õ°ö°÷°ø°ú°û°ü°ý±¤±¥±ª±«±³±¸±¹±º±¼±À±Ã±Ç±È±Ë±Í±Ô±Õ±Ö±×±Ø±Ù±Û±Ý±Þ±à±â±ä±æ±è±í±ú±ü±ý±þ²¿²À²Ã²É²Ò²Û²Þ²ö²ø³¡³¢³ª³«³¬³­³®³¯³²³³³¶³·³¸³º³»³¾³¿³Á³Ã³Ä³Ê³Ë³Í³Ñ³Ò³Õ³Ö³×³à³á³â³ä³ç³ë³ì³í³î³ð³ó³ú´¢´©´ª´«´­´®´µ´¶´º´À´Á´Â´Ã´Æ´É´Ê´Ì´Ï´Ô´Ù´Ú´Ü´Þ´ã´ä´ç´ë´ó´õ´ö´ø´ú´ý´þµ¡µ¥µµµ¶µ·µ¸µ¹µ»µ¼µ½µ¿µÅµÇµÈµÉµÊµÎµÏµÐµÑµÒµÕµÚµåµæµçµèµéµêµëµìµîµðµôµõµû¶¥¶§¶Ç¶È¶Ê¶Ë¶Ò¶Ù¶ß¶á¶ã¶ä¶æ¶ç¶ì¶ó¶ô¶õ¶ö¶÷¶û·¡·£·«·®·¯·±·¹·Á·Â·Ã·Ä·Å·É·Ê·Î·Ï·Ò·Õ·Ú·á·æ·ç·è·é·ê·ë·î·ò·ù·ú·û·ü¸¢¸£¸¤¸¥¸¦¸§¸ª¸®¸°¸±¸²¸³¸µ¸¶¸·¸¸¸¹¸º¸»¸¼¸¾¸À¸Á¸Å¸Æ¸Ç¸È¸É¸Ê¸Ó¸Ú¸Û¸Þ¸æ¸ç¸è¸é¸ê¸í¸î¸ð¸ñ¸ò¸ô¸ö¸ø¸ù¸þ¹¦¹«¹¬¹®¹°¹³¹¶¹È¹É¹Ê¹Ì¹Î¹Ð¹Ò¹Ó¹Ö¹Ø¹Ù¹Ú¹Ý¹Þ¹ß¹à¹ã¹æ¹è¹é¹ð¹ö¹ø¹ú¹ü¹ý¹þº¢º£º­º®º¯º°º´ºµº¸º¹º»º¼º½ºÀºÁºÎºÏºÐºÒºÓºÕºØºñºóºôºöºùºûºü»Ë»Ó»Ú»Û»Ü»Ý»ç»è»ê»ì»ï»ð»ó»õ»ö»ù»û»ý¼­¼®¼±¼³¼¶¼·¼º¼¼¼¾¼À¼Â¼Ò¼Ó¼Õ¼Ö¼Ø¼Û¼è¼ö¼÷¼ø¼ú¼û¼þ½£½°½º½¼½½½¿½À½Â½Ã½Ä½Å½Ç½É½Ê½Ï½Ö¾´¾¾¾¿¾Æ¾Ç¾È¾Ê¾Ë¾Í¾Ï¾Ð¾Ó¾Õ¾Ö¾×¾Þ¾ß¾à¾â¾ç¾î¾ï¾ð¾ó¾ö¾÷¾ø¾ù¾û¿¡¿©¿ª¿¬¿­¿®¿°¿±¿µ¿¹¿¾¿À¿Á¿Â¿Ã¿Å¿È¿Ê¿Ë¿Í¿Ï¿Ð¿Õ¿Ö¿Ü¿ä¿å¿ë¿ì¿í¿î¿ï¿ò¿ô¿õ¿ø¿ùÀ§À¯À°À±À²À¶À¸ÀºÀ»À½À¾ÀÀÀÇÀÌÀÍÀÎÀÏÀÐÀÓÀÔÀÕÀÖÀ×ÀÙÀÚÀÛÀÜÀßÀáÀâÀåÀçÀëÀïÀúÀûÀüÀýÀþÁ¡Á¢Á¤Á¦ÁªÁ¶Á·Á¸Á¹Á»Á¾ÁÁÁÂÁËÁÖÁ×ÁØÁßÁïÁñÁóÁõÁöÁ÷ÁøÁúÁüÁýÂ¡Â¥Â¦Â¯Â÷ÂøÂùÂûÂüÃ¢Ã¤Ã¥Ã³Ã´ÃµÃ¶Ã¹Ã»Ã¼ÃÊÃËÃÌÃÑÃÖÃßÃàÃáÃãÃæÃëÃøÄ¡Ä¢Ä£Ä¥Ä§Ä³ÄáÄèÅ©Å«Å¬Å­Å°Å´Å¸Å¹ÅºÅ½Å¾ÅÁÅÂÅÃÅÊÅÍÅÐÅäÅëÅõÆ°Æ²Æ´ÆÄÆÇÆÊÆÎÆÐÆ÷ÆøÇ¥Ç°ÇÂÇÇÇÉÇÊÇÏÇÐÇÑÇÒÇÔÇÕÇ×ÇØÇÙÇÞÇàÇâÇãÇåÇõÇöÇ÷ÇøÇùÇüÇýÈ£È¤È¥È«È­È®È¯È°È²È¸È¹È¾È¿ÈÄÈÆÈÍÈÖÈÞÈçÈëÈïÈñÈòÈ÷Èû\">";
html_txt+="<INPUT TYPE=hidden NAME=johap VALUE=\"3491334914349173492034921349293493134932349333493534936349393494534946349673504135042350453504935057350593513735169351703517335177351853518735191352013523335234352373524135249352513525335255352653526635269352733528735297353193539335425354573545835461354653547335479354933549735521355533564935653356573568135682356853568935697356993570335745357493575335761357723596935973359773598536257362583626536281364173648536497367093671336731367693696136962369633696536968369693697736979369833698436985369893699337001370093701337015370253708937090370933710537107371113711737185372173721837221372333723937281372823728537289372973730337441374733750537506375093751337521376013760537697377293773037733377373774537751377523776137793378093798537986379893799338001380033800738017380393811338114381173812138129381313813338209383053830638309383123831338317383213832338327383693846538469384733848138529385303853338537385453855138625387533875438757387603876138763387693877138775388173882538833390093903139041393293933039337393513955439649397773978139785397933979739809398414003340034400374004140049400554006540069400984011940161401654025740289402904029340297403054031140321403534035440369403754051340545405674057740578405814058540593405994067340769407704077340777407914080140802408054080940817408234086540869408734088140883408874105741058410614106341064410654106641073410774107941089410904109341097411054110741185412054120741281413034131341314413174132141335413374137741378413804138541393413974139941537415694160141602416054160941617416234182941833418414188941893418974190541907419114191542081420824208542088420894209042097421034211342114421354220942213422174222542227422294223242305423374233842341423454235942363424014240242405424094241742423424334262542626426294263342634426414264742913429174292142929429354293743105434414365343873438774388143889441294413044133441374414544147441514416144162441774418144183442574425844261442654427344275442794435344357443694437344449444504445344457444654447144609446734467444677446814468944695447004478544897449014490544913449154491944961449624496544969449774497945154451754592545985459864617746178461814618346185461874619346195461994620446209462104623146241462424624946263463054630646309463134632146323463244632546327464014643346434464374644146443464494645146455464654648546497464984650146505465074651346517465194652946533465374655146561466574668946690467114672146722467254672946737467414674346757467614681746913469144691746921469354694546949469534696146963469674697747009470104701347017470184702547027470294703047031470364720147202472054720947217472194722347233472494725547329473304733347337473394734547347473514742547441475214752247525475294753747543475494755347681477454774647749477674797047977479874799148033480344803748041480494805148055482254822648247492494925049253492574926549271492814928249377493784938149385493974939949473495694957049573495914972949793497944979749809498154988950018500815008250085500895009750305506155065751041510455104951057511055112151297512985130151313513155131951329513305135151425514335161751639518415206952073520815232152325523375234352353526415264252833528815309353153531575316153345533465334953353533615336353367533775337853397533995343153473534775360253605536095361753619536235363353665536665366953687536975369853701537055371953825538265384753857538895389353925539855408154117541225413554145541495417754193\">";
html_txt+="</form>";
html_txt+="<FORM METHOD=\"post\" ACTION=\"scripts/"+file_prefix+"name.asp\" name=name_form>";
html_txt+=" <table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" width=\"98%\">";
html_txt+="  <tr>";
html_txt+="   <td height=\"40\" width=\"110\"><img src=\"images/fortune/fortune1_09.gif\" width=\"7\" height=\"13\" border=\"0\" align=\"absmiddle\"> ";
html_txt+="    &nbsp;<font color=\"#333333\">³²ÀÚºÐÀÇ ÀÌ¸§ ";
html_txt+="    </font></td>";
html_txt+="   <td height=\"40\"><INPUT class=input maxLength=10 name=me></td>";
html_txt+="  </tr>";
html_txt+="  <tr>";
html_txt+="   <td height=\"40\" width=\"110\"><img src=\"images/fortune/fortune1_09.gif\" width=\"7\" height=\"13\" border=\"0\" align=\"absmiddle\"> ";
html_txt+="    &nbsp;<font color=\"#333333\">¿©ÀÚºÐÀÇ ÀÌ¸§ ";
html_txt+="    </font></td>";
html_txt+="   <td height=\"40\"><INPUT class=input maxLength=10 name=you></td>";
html_txt+="  </tr>";
html_txt+=" </table>";
html_txt+="</td>";
html_txt+="           </tr>";
html_txt+="          </table>";
html_txt+="         </div>";
html_txt+="        </td>";
html_txt+="       </tr>";
html_txt+="      </table>";
html_txt+="     </td>";
html_txt+="    </tr>";
html_txt+="    <tr>";
html_txt+="     <td height=\"12\">";
html_txt+="      <p><img src=\"images/etc/blank.gif\" width=\"1\" height=\"1\" border=\"0\"></p>";
html_txt+="     </td>";
html_txt+="    </tr>";
html_txt+="    <tr>";
html_txt+="     <td background=\"images/today/today4_13.gif\">";
html_txt+="      <p><img src=\"images/today/today4_13.gif\" width=\"3\" height=\"3\" border=\"0\"></p>";
html_txt+="     </td>";
html_txt+="    </tr>";
html_txt+="   </table>";
html_txt+="  </td>";
html_txt+=" </tr>";
html_txt+=" <tr>";
html_txt+="  <td height=\"50\">";
html_txt+="   <p align=\"center\"><a href=\"javascript:GetResult(document.name_form);document.name_form.submit();\"><img src=\"images/today/today3_31.gif\" width=\"72\" height=\"23\" border=\"0\" hspace=\"10\"></a><a href=\"javascript:document.name_form.reset();\"><img src=\"images/fortune/fortune1_14.gif\" width=\"72\" height=\"23\" border=\"0\" hspace=\"10\"></a></p>";
html_txt+="  </td>";
html_txt+=" </tr>";
html_txt+="</table>";
html_txt+="<INPUT TYPE=hidden NAME=mehweksu>";
html_txt+="<INPUT TYPE=hidden NAME=youhweksu>";
html_txt+="<INPUT TYPE=hidden NAME=ch>";
html_txt+="<INPUT TYPE=hidden NAME=ju>";
html_txt+="<INPUT TYPE=hidden NAME=jo>";
html_txt+="</form>";

document.write(html_txt);

//2008.11.8 randomÀ¸·Î ±¸±Û±¤°í Ãâ·Â ½ÃÀÛ. 12.1Á¤Áö
	//if(random()==0){ //±¸±Û±¤°í
	if(random()==100){ //±¸±Û±¤°í
		if(url_root.substring(0,16)!="http://localhost"){
			html_txt="";
			html_txt+="<script type=\"text/javascript\" src=\"" + url_root + "include/etc/table_header.js\"></script>";
			<!--±¸±Û±¤°íÄÚµå-->
			google_ad_client = "pub-8739626286506578";
			/* ÀÌ¸§±ÃÇÕ468x60, ÀÛ¼ºµÊ 08. 11. 7 */
			google_ad_slot = "6367744836";
			google_ad_width = 468;
			google_ad_height = 60;

			html_txt+="<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>";
			<!--¿©±â±îÁö-->
			html_txt+="<script type=\"text/javascript\" src=\"" + url_root + "include/etc/table_footer.js\"></script>";
			document.write(html_txt);
		}

	} else { //¿©±âºÎÅÍ °áÈ¥¿î Á¤Åë±ÃÇÕ È«º¸ ³»¿ë

	urls=location.href;
	index_split=urls.indexOf('/cooperation/');//¿ÞÂÊºÎÅÍ ÁöÁ¤µÈ ¹®ÀÚ¿­ÀÇ À§Ä¡¸¦ ¹ÝÈ¯

	if (index_split ==-1) {
	document.write("<table width=100%");
	document.write(" <tr>");
	document.write("  <td bgcolor=\"#DEDEDE\">");
	document.write("   <p><img src=\"images/etc/blank.gif\" width=\"1\" height=\"1\" border=\"0\"></p>");
	document.write("  </td>");
	document.write(" </tr>");
	document.write("<tr>");
	document.write("  <td bgcolor=\"#F6F6F6\">");
	document.write("   <table align=\"center\" cellpadding=\"5\" cellspacing=\"0\" width=\"90%\">");
	document.write("    <tr>");
	document.write("     <td>");
	document.write("  <p><font color=\"#6666CC\"><b>:: ");
	document.write("      ´Ù¸¥ ¹æ¹ýÀ¸·Î ¾Ë¾Æº¸´Â Àç¹ÌÀÖ´Â ³²³à ¾ÖÁ¤¿î ::</b></font></p>");
	document.write("     </td>");
	document.write("    </tr>");
	document.write("   </table>");
	document.write("  </td>");
	document.write(" </tr>");
	document.write(" <tr>");
	document.write("  <td>");
	document.write("   <table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" width=\"90%\" bordercolordark=\"black\" bordercolorlight=\"black\">");
	document.write("    <tr>");
	document.write("     <td height=\"10\">");
	document.write("      <p><img src=\"images/etc/blank.gif\" width=\"1\" height=\"1\" border=\"0\"></p>");
	document.write("     </td>");
	document.write("    </tr>");
	document.write("    <tr>");
	document.write("     <td height=\"24\"><IMG height=9 src=\"images/fortune/fortune1_24.gif\" width=7 border=0>");
	if (url_root.indexOf('hcookie')==-1) {
		document.write("<a href=\"saju/"+file_prefix+"marriage.html\">");
	} else {
		document.write("<a href=\"http://www.yuksul.com/saju/n_marriage.html\" target=\"blank\">");
	}
	document.write("<FONT color=#333333>&nbsp;¹Ì·¡ ¹è¿ìÀÚÀÇ ¼º°Ý, ¿Ü¸ð, ¿î¸íÀû ¸¸³²ÀÇ ½Ã±â, º»ÀÎ°úÀÇ °ü°è¸¦ ¾Ë ¼ö ÀÖ´Â </FONT>");
	document.write("<FONT color=\"#FF9900\"><b>°áÈ¥¿î</b></FONT></a></p>");
	document.write("    </tr>");
	document.write("    <tr>");
	document.write("     <td height=\"24\">");
	document.write("      <p><IMG height=9 src=\"images/fortune/fortune1_24.gif\" width=7 border=0>");
	if (url_root.indexOf('hcookie')==-1) {
		document.write("<a href=\"saju/"+file_prefix+"premium_goonghap.html\">");
	} else {
		document.write("<a href=\"http://www.yuksul.com/saju/n_premium_goonghap.html\" target=\"blank\">");
	}
	document.write("&nbsp;<FONT color=#000000>°Ñ±ÃÇÕ, ¼Ó±ÃÇÕÀ» µ¿½Ã¿¡ ¡­ ÃÖ°íÀÇ ÀûÁß·üÀ» ÀÚ¶ûÇÏ´Â </font>");
	document.write("<FONT color=\"#FF9900\"><b>Á¤Åë±ÃÇÕ</b></FONT></a></td>");
	document.write("     </td>");
	document.write("    </tr>");
	document.write("   </table>");
	document.write("  </td>");
	document.write(" </tr>");
	document.write("</table>");
	}
	//°áÈ¥¿î,Á¤Åë±ÃÇÕ È«º¸ ¿©±â±îÁö

}
