




function ticobook(bodynum){

	var bodytop = document.getElementById("body_top0"+bodynum);
	var bodycenter = document.getElementById("body_center0"+bodynum);
	var bodybottom = document.getElementById("body_bottom0"+bodynum);


	bodytop.innerHTML = 
		"<table width=100% border=0 cellspacing=0 cellpadding=0 >"
		+"  <tr>"
		+"	<td ><img src=/img/sub_main.jpg usemap=#Map border=0></td>"
		+"	</tr>"
		+"	<tr>"
		+"		<td align=left bgcolor=#8e8e8e>"
		+"			<table width=844 border=0 cellspacing=0 cellpadding=0 >"
		+"				<tr>"
		+"					<td><img src=/img/tico_menu1.gif onclick=javascript:body_change('ticobook') style=cursor:hand;></td>" //»ç¿ëÈÄ±â
		+"					<td><a href=http://twitter.com/ticobook target=black()><img src=/img/tico_menu2.gif border=0></a></td>"//Æ®À§ÅÍ
		+"					<td><a href=http://cafe.naver.com/1aday target=black()><img src=/img/tico_menu3.gif border=0></a></td>"//ºí·Î±×
	//	+"					<td><img src=/img/tico_menu4.gif onclick=javascript:ticobook1("+bodynum+") style=cursor:hand;></td>"//³»Æ¼ÄÚºÏ »Ë³»±â
		+"					<td><img src=/img/tico_menu5.gif  onclick=javascript:body_change('ticobook2')  style=cursor:hand;></td>"//Ã¼Çè´Ü¸ðÁý
		+"				</tr>"
		+"			</table>"
		+"		</td>"
		+"	</table><div id=tico_opinion style=display:none;></div>"
		+"	<map name=Map>"
		+"	<area shape=rect coords=25,160,195,259 href=/down.asp?filename=TicobookMiniAlbum(EPSON,CANON)setup.exe>"
		+"	<area shape=rect coords=208,161,376,258 href=/down.asp?filename=TicobookMiniAlbum(HP)setup.exe>"
		+"	<area shape=circle coords=794,238,33 href=/down.asp?filename=ticobook.pdf>"
		+"	</map>";

	bodycenter.innerHTML = 
		"	 <div id=opinion_tico_text></div><div id=tico_opinion1 style=display:;>"
		+"	<TABLE cellpadding=0 cellspacing=0 border=0 width=844>"
		+"	<tr><td><div id=opinion_tico></div></td></tr>"
		+"	<tr><td><div id=oppinion_number></div></td></tr>"
		+"	<tr>"
		+"			<td align=right style=padding-right:30px;padding-top:10px;><a href=javascript:opinion_div_show(); onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('story_write','','/img/detail/story_write_hov.gif',1)><img src=/img/detail/story_write.gif name=story_write width=43 height=17 border=0></a></td>"
		+"	</tr>"
		+"	</TABLE></div>";

	bodybottom.innerHTML = 
"		<br><br> <table width=844 border=0 cellspacing=0 cellpadding=0> <tr>"
+"			 <tr>"
+"				<td height=1 bgcolor=#CCCCCC></td>"
+"			 </tr>"
+"			<td height=30><table border=0 cellspacing=0 cellpadding=0 align=center>"

+"			  <tr>"
+"				<td height=28><img src=/img/main/footer_01.gif width=39 height=13 border=0 onclick=javascript:CompanyIntro('show','1'); style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_02.gif width=39 height=13 border=0 onclick=body_change('Recruit') style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_03.gif width=85 height=13 border=0 onclick=PartnerhShip(); style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_04.gif width=39 height=13 border=0 onclick=LargeBuy(); style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_05.gif width=39 height=13 border=0 onclick=B2B(); style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_06.gif width=39 height=13 border=0 onclick=body_change('UseAgreement') style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_07.gif width=75 height=13 border=0 onclick=body_change('Privacy') style=cursor:hand;></td>"
+"				<td><p><img src=/img/main/footer_00.gif width=17 height=13></p>          </td>"
+"				<td><img src=/img/main/footer_08.gif width=102 height=13 border=0 onclick=body_change('EmailRejection') style=cursor:hand;></td>"
+"			  </tr>"
+"			</table></td>"
+"		  </tr>"
+"		  <tr>"
+"			<td height=1 bgcolor=#CCCCCC></td>"
+"		  </tr>"
+"		</table>"
+"		<table width=844 border=0 cellspacing=0 cellpadding=0>"
+"		  <tr>"
+"			<td height=45 valign=bottom class=footer>»ç¾÷ÀÚµî·Ï¹øÈ£ : 212-81-41001 ¤Ó Åë½ÅÆÇ¸Å¾÷ ½Å°í¹øÈ£ : °­µ¿±¸Ã»Á¦ 25-775È£ ¤Ó ´ëÇ¥ÀÌ»ç : ±è´ëÇö<br>"
+"			  ÁÖ¼Ò : ¼­¿ï½Ã °­µ¿±¸ ÃµÈ£µ¿ 457-65¹øÁö (ÁÖ)ÆäÀÌÆÞÀ¯Åë ¤Ó TEL : 02-474-3950 ¤Ó FAX : 02-488-7022<br>°³ÀÎÁ¤º¸°ü¸®Ã¥ÀÓÀÚ : ¼­ÀºÃ¶ºÎÀå (sec@papearl.com)</td>"
+"		  </tr>"
+"		  <tr>"
+"			<td height=22 valign=bottom class=copyright>Copyright(c) 2009 Papearl, All right reserved. </td>"
+"		  </tr>"
+"		</table>";
tico_opinion_list(1);
}







//»ç¿ëÈÄ±â ºÒ·¯¿À±â
function tico_opinion_list(page)
{
	
	var req = getXMLHTTP();

	req.onreadystatechange = function()
	{
		if(req.readyState == 4)
		{	
			//alert(req.status);

			if (req.status == 200)
			{
				
				handleticoopinionResponse(eval("("+req.responseText+")"),page);
				
			}
		}
	}
	
	req.open('POST',"/call/call_opinion.asp?page="+escape(page),false);
	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	req.send(null);
}



function handleticoopinionResponse(inip_text,page)
{
	//alert("d");
var opinion_tico = document.getElementById("opinion_tico");
var opinion_tico_view ="";
var opinion_tico_list ="";
var opinion_tico_contents3="";
	if (inip_text.inip_text == "ok")
	{
		for (i=0;i<inip_text.list_text.length ;i++)
		{ 



			opinion_tico_list=opinion_tico_list+
				"	<tr>"
				+"		<td width=100 align=center>"+inip_text.list_text[i].goods_code+"</td>"
				+"		<td width=100 align=center style=padding-top:20px;>"+inip_text.list_text[i].name+"</td>"
				+"		<td width=380 valign=top style=padding-top:15px;padding-bottom:15px;padding-left:30px;><b><a href=javascript:ticobook_view_text("+inip_text.list_text[i].seq+")>"+inip_text.list_text[i].title+"</a></b></td>"
				+"		<td width=200 align=center>"+inip_text.list_text[i].regdate+"</td>"
				+"		<td width=50 align=center>"+inip_text.list_text[i].hit+"</td>"
				+"	</tr>"
				+"	<tr>"
				+"		<td colspan=5 bgcolor=#dddddd height=1></td>"
				+"	</tr>"
		}

			opinion_tico_view = opinion_tico_view  +
				"<br><table border=0 cellspacing=0 cellpadding=0 align=center WIDTH=780>"
				+"	<tr>"
				+"		<td colspan=5 bgcolor=#dddddd></td>"
				+"	</tr>"
				+"		<tr>"
				+"			<td align=center height=30>ÀÌ¹ÌÁö</td>"
				+"			<td align=center>±Û¾´ÀÌ</td>"
				+"			<td align=center>Á¦¸ñ/³»¿ë</td>"
				+"			<td align=center>³¯Â¥</td>"
				+"			<td align=center>Á¶È¸¼ö</td>"

				+"		</tr>"
				+"	<tr>"
				+"		<td colspan=5 bgcolor=#dddddd></td>"
				+"	</tr>"
				+opinion_tico_list
				+"</table>";
				

	}else{
	
		opinion_tico_view="<table border=0 cellspacing=0 cellpadding=0 align=center WIDTH=780><tr><td align=center></td></tr></table>";
	}
experiencePage2(inip_text,page);
opinion_tico.innerHTML = opinion_tico_view;

}





function experiencePage2(inip_text,page)
{

	var show_page_num = 5;
	var total_page = inip_text.total_page;
	var page_group_cnt = inip_text.page_group_cnt;
	var now_page_group_num = inip_text.now_page_group_num;
	
	var show_start_page = (show_page_num * (now_page_group_num-1)+1)
	var show_page = now_page_group_num * show_page_num
	var next_page = (show_page_num * (now_page_group_num)+1);
	var before_page =(now_page_group_num-2)*show_page_num + 1;

	var page_view = document.getElementById("oppinion_number");
	var pageHTML = "<br><table cellpadding=0 cellspacing=0 border=0 align=center ><tr>";

	if (before_page > 0)
	{
		pageHTML = pageHTML + "<td width=15 align=center><a href=javascript:tico_opinion_list('"+before_page+"')><img src=img/detail/tbl_arrow_1.gif border=0></td>";
	}
	else
	{
		pageHTML = pageHTML + "<td width=15 align=center></td>";
	}

	for (p=show_start_page;p<=show_page;p++ ){
		if (p <= total_page)
		{
			if (p == page)
			{
				pageHTML = pageHTML + "<td align=center class=page_sel width=30><table cellpadding=0 cellspacing=0 border=1 width=25 bordercolor=#ec302f><tr><td align=center><b>" + p + "</b></td></tr></table></td>"
				
			}
			else
			{

				pageHTML = pageHTML + "<td align=center width=30><table cellpadding=0 cellspacing=0 border=1 width=25 bordercolor=#e3e3e3><tr><td align=center><b><a href=javascript:tico_opinion_list('"+p+"')>" + p + "</a></td></tr></table></td>"
			}
			
		}
		else
		{
			pageHTML = pageHTML + "<td width=15> </td>"
		}

		
	}
	if (next_page <= total_page)
	{
		pageHTML = pageHTML + "<td width=15 align=center><a href=javascript:tico_opinion_list('"+next_page+"')><img src=/img/detail/tbl_arrow_2.gif border=0></td>"
	}
	else
	{
		pageHTML = pageHTML + "<td width=15 align=center></td>"
	}

	pageHTML = pageHTML + "</tr></table>";
	page_view.innerHTML = pageHTML;
}








function tico_list_re()
{
	document.getElementById("tico_opinion").style.display ="none"
	document.getElementById("tico_opinion1").style.display = "";
	document.getElementById("opinion_tico_text").style.display = "none";
}






//»ç¿ëÈÄ±â µî·Ï
function opinion_div_show()
{
	

	document.getElementById("tico_opinion").style.display =""
	document.getElementById("tico_opinion1").style.display = "none";
	document.getElementById("opinion_tico_text").style.display = "none";


	var tico_opinion = document.getElementById("tico_opinion");
		tico_opinion.innerHTML = 
		"	<table width=850 border=0 cellspacing=0 cellpadding=0>"
		+"	  <tr>"
		+"		<td width=850 valign=top style=padding-top:15px>"
				
		+"		  <!-- Àå¹Ù±¸´Ï start ----------------------------------------------------------------------------------------->"
		+"		  <form name=ticowriteform2 action=/call/call_ticobook_opinion.asp  method=post enctype=multipart/form-data target=upload_target><table width=800 border=0 align=center cellpadding=0 cellspacing=0>"
		+"			<tr >"
		+"			  <td height=26 colspan=4 background=/img/right/tbl_tit_bg2.gif class=tbl_text2>»ç¿ëÈÄ±âÀÛ¼º</td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td width=14 height=30 align=right><img src=/img/right/detail_icon_03.gif width=10 height=4></td>"
		+"			  <td width=70 align=center class=tbl_text>Á¦¸ñ</td>"
		+"			  <td colspan=2>"
		+"			  <input name=ticob_title id=ticob_title type=text class=box2 size=78></td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td height=1 colspan=4 bgcolor=#F2F2F2></td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td height=30 align=right><img src=/img/right/detail_icon_03.gif width=10 height=4></td>"
		+"			  <td height=30 class=tbl_text width=70>ÀÛ¼ºÀÚ</td>"
		+"			  <td width=155 height=30>"
		+"			  <input name=ticob_writer id= ticob_writer type=text class=box2 size=20 value=''></td>"
		+"			  <td width=561><table width=370 border=0 cellspacing=0 cellpadding=0>"
		+"				<tr>"
		+"				  <td width=13 height=30 align=right><img src=/img/right/detail_icon_03.gif width=10 height=4></td>"
		+"				  <td width=62 height=30 class=tbl_text>ºñ¹Ð¹øÈ£</td>"
		+"				  <td width=106><input id=ticob_pwd type=password class=box2 size=15></td>"
		+"				  <td width=20 style=padding-bottom:2px></td>"
		+"				</tr>"
		+"			  </table></td>"
		+"			</tr>"
					
		+"			<tr>"
		+"			  <td height=1 colspan=4 bgcolor=#F2F2F2></td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td width=14 height=30 align=right><img src=/img/right/detail_icon_03.gif width=10 height=4></td>"
		+"			  <td width=100 align=center class=tbl_text>»óÇ°¼±ÅÃ</td>"
		+"			  <td colspan=2>"
		+"				<select name=ticob_gubun id=ticob_gubun class=box2>"
		+"				  <option selected value='0800100100020'>Æ¼ÄÚºÏ ¹Ì´Ï¾Ù¹ü »ç°¢ ´ë Åõ¸í</option>"
		+"				  <option value='0800100100016'>Æ¼ÄÚºÏ ¹Ì´Ï¾Ù¹ü »ç°¢ ¼Ò Åõ¸í</option>"
		+"				  <option value='0800100100012'>Æ¼ÄÚºÏ ¹Ì´Ï¾Ù¹ü ÇÏÆ® ´ë Åõ¸í</option>"
		+"				  <option value='0800100100008'>Æ¼ÄÚºÏ ¹Ì´Ï¾Ù¹ü ÇÏÆ® ¼Ò Åõ¸í</option>"
		+"			  </select></td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td height=1 colspan=4 bgcolor=#F2F2F2></td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td align=right><img src=/img/right/detail_icon_03.gif width=10 height=4></td>"
		+"			  <td class=tbl_text>³»¿ë</td>"
		+"			  <td colspan=2 style=padding:5px 0px 5px 0px><textarea name=ticob_textarea cols=100 rows=17 class=box2 id=ticob_content></textarea></td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td height=1 colspan=4 bgcolor=#CCCCCC></td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td width=14 height=30 align=right><img src=/img/right/detail_icon_03.gif width=10 height=4></td>"
		+"			  <td width=70 align=center class=tbl_text>ÀÌ¹ÌÁö³Ö±â</td>"
		+"			  <td colspan=2><input type=file name=t_file id=t_file>"
		+"				</td>"
		+"			</tr>"
		+"			<tr>"
		+"			  <td height=55 colspan=4><table width=800 border=0 cellspacing=0 cellpadding=0>"
		+"				<tr>"
		+"				  <td align=right><table width=195 border=0 cellspacing=0 cellpadding=0 align=center>"
		+"					<tr>"
		+"					  <td width=88>"
		+"					<a  onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('btn_write_up','','/img/right/btn_write_up_hov.gif',1)>"
		+"					<img src=/img/right/btn_write_up.gif name=btn_write_up width=88 height=16 border=0 style=cursor:hand; onclick=javascript:ticobookopinionSubmit();></a></td>"
		+"					  <td align=right>"
		+"						<a  onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('btn_join_cancel2','','/img/right/btn_list_hov.gif',1)>"
		+"						<img src=/img/right/btn_list.gif name=btn_join_cancel2 width=88 height=16 border=0 style=cursor:hand; onclick=tico_list_re();></a></td>"
		+"					  </tr>"
		+"				  </table></td>"
		+"				  </tr>"
		+"			  </table></td>"
		+"			</tr>"
		+"		  </table>"
		+"		  <table width=800 border=0 cellspacing=0 cellpadding=0 align=center>"
		+"			<tr>"
		+"			  <td>&nbsp;</td>"
		+"			</tr>"
		+"		  </table></td>"
		+"	  </tr>"
		+"	</table><iframe id=upload_target name=upload_target src=# style=width:0;height:0;border:0px solid #fff;></iframe></form>";
}






//»ç¿ëÈÄ±â µî·Ï
function ticobookopinionSubmit()
{
	var ticob_title = document.getElementById("ticob_title");
	var ticob_gubun = document.getElementById("ticob_gubun");
	var ticob_writer = document.getElementById("ticob_writer");
	var ticob_content = document.getElementById("ticob_content");
	var qna_pwd = document.getElementById("qna_pwd");
		var t_file = document.getElementById("t_file");

	
	if (ticob_title.value == "")
	{
		alert("Á¦¸ñÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
		ticob_title.focus();
		return;
	}
	if (ticob_writer.value == "")
	{
		alert("ÀÛ¼ºÀÚÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
		ticob_writer.focus();
		return;
	}

	if (ticob_gubun.value == "ÀüÃ¼º¸±â")
	{
		alert("ºÐ·ù¸¦ ¼±ÅÃÇÏ¼¼¿ä.");
		ticob_gubun.focus();
		return;
	}
	if (ticob_content.value == "")
	{
		alert("³»¿ëÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
		ticob_content.focus();
		return;
	}
	document.ticowriteform2.submit();
	document.getElementById("tico_opinion").style.display ="none"
	document.getElementById("tico_opinion1").style.display = "";
	document.getElementById("opinion_tico_text").style.display = "none";

	tico_opinion_list(1);

/*	var req = getXMLHTTP();

	req.onreadystatechange = function()
	{
		if(req.readyState == 4)
		{	
			alert(req.status);
			if (req.status == 200)
			{
				
			
				
				handleticobookopinionResponse(eval("("+req.responseText+")"));
			//handleticobookopinionResponse();
				
			}
		}
	}
*/
//	str = "title="+escape(ticob_title.value)+"&writer="+escape(ticob_writer.value)+"&gubun="+escape(ticob_gubun.value)+"&content="+escape(ticob_content.value)+"&t_file="+escape(t_file.value);
	//str = "title="+escape(ticob_title.value);
//	req.open('POST',"/call/call_ticoexperience.asp",true);
//	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
//	req.send(null);

//	req.open('POST',"/call/call_ticobook_opinion.asp",true);
//	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
//	req.send(str);
}






function ticobook_view_text(seq_num)
{
//»ç¿ëÈÄ±â ºÒ·¯¿À±â

	
	var req = getXMLHTTP();

	req.onreadystatechange = function()
	{
		if(req.readyState == 4)
		{	
		//	alert(req.status);

			if (req.status == 200)
			{
				
				handleticoorepinionResponse(eval("("+req.responseText+")"));
				
			}
		}
	}
	
	req.open('POST',"/call/call_opinion_view.asp?seq="+escape(seq_num),false);
	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	req.send(null);
}

function handleticoorepinionResponse(reinip_text)
{
	
	document.getElementById("tico_opinion").style.display ="none"
	document.getElementById("tico_opinion1").style.display = "none";
	document.getElementById("opinion_tico_text").style.display = "";

	var reopinion_tico_list=""
		for (i=0;i<reinip_text.list_text.length ;i++)
		{ 



			reopinion_tico_list=reopinion_tico_list+
				"	<tr>"
				+"		<td width=100 align=center>"+reinip_text.list_text[i].rename+"</td>"
				+"		<td width=480 align=left style=padding:5px;>"+reinip_text.list_text[i].recontent+"</td>"
				+"		<td width=200 align=center>"+reinip_text.list_text[i].reregdate+"</td>"
				+"	</tr>"
				+"	<tr>"
				+"		<td colspan=3 bgcolor=#dddddd height=1></td>"
				+"	</tr>"
		}






//»ç¿ëÈÄ±â ÀÐ±â
var opinion_tico_text = document.getElementById("opinion_tico_text");

	var opinion_tico_text = document.getElementById("opinion_tico_text");
		opinion_tico_text.innerHTML = 
		"	<table width=850 border=0 cellspacing=0 cellpadding=0>"
		+"	  <tr>"
		+"		<td width=850 valign=top style=padding-top:15px>"
		+"		 <table width=800 border=0 align=center cellpadding=0 cellspacing=0>"
		+"			<tr>"
		+"					<td align=right colspan=2 style=padding:5px;>"
		+"					<a  onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('btn_join_cancel2','','/img/right/btn_list_hov.gif',1)>"
		+"						<img src=/img/right/btn_list.gif name=btn_join_cancel2 width=88 height=16 border=0 style=cursor:hand; onclick=tico_list_re();></a></td>"
		+"					</td>"
		+"			</tr>"
		+"			<tr >"
		+"			  <td height=26 colspan=4 background=/img/right/tbl_tit_bg2.gif class=tbl_text2>»ç¿ëÈÄ±âÀÐ±â</td>"
		+"			</tr>"
		+"		</table>"
		+"		<table width=800 border=0 align=center cellpadding=0 cellspacing=0>"
		+"			<tr>"
		+"				<td height=30 width=400 style=padding-left:10px><b>Á¦¸ñ:&nbsp;"+reinip_text.title+"</td>"
		+"				<td width=400 style=padding-left:50px><b>±Û¾´ÀÌ:&nbsp;"+reinip_text.name+"</td>"
		+"			</tr>"
		+"			<tr>"
		+"				<td colspan=2 bgcolor=#D7D7D7 height=1></td>"
		+"			</tr>"
		+"			<tr>"
		+"				<td colspan=2 style=padding:10px;>"+reinip_text.image+"<br>"+reinip_text.content+""
		+"				</td>"
		+"			</tr>"
		+"			<tr>"
		+"				<td colspan=2 bgcolor=#D7D7D7 height=1></td>"
		+"			</tr>"
		+"			<tr>"
		+"					<td align=right colspan=2 style=padding:5px;>"
		+"					<a  onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('btn_join_cancel2','','/img/right/btn_list_hov.gif',1)>"
		+"						<img src=/img/right/btn_list.gif name=btn_join_cancel2 width=88 height=16 border=0 style=cursor:hand; onclick=tico_list_re();></a></td>"
		+"					</td>"
		+"			</tr>"
		+"		</table>"
		+"		<table align=center >"
		+reopinion_tico_list
		+"		</table><br>"
		+"		<TABLE cellpadding=0 cellspacing=0 width=800 align=center border=1 bordercolor=#e0e0e0>"
		+"		<TR>"
		+"			<TD bgcolor=#fafafa>"
		+"				<TABLE cellpadding=0 cellspacing=0 width=750 align=center border=0>"
		+"				<TR>"
		+"					<TD><img src=http://www.marketn.co.kr/img/review_dot.gif></TD>"
		+"					<TD style=padding-top:5pt;padding-bottom:5pt;padding-left:10pt;>ÀÛ¼ºÀÚ :</TD>"
		+"					<TD style=padding-left:5pt; colspan=2><INPUT TYPE=text NAME=n_name id=n_name><INPUT TYPE=hidden NAME=ti_seq id=ti_seq value="+reinip_text.seq+"></TD>"
		+"				</TR>"
		+"				<TR>"
		+"					<TD><img src=http://www.marketn.co.kr/img/review_dot.gif></TD>"
		+"					<TD style=padding-top:5pt;padding-bottom:5pt;padding-left:10pt;>³»¿ë :</TD>"
		+"					<TD style=padding-bottom:5pt;padding-left:5pt colspan=4><TEXTAREA NAME=n_content id=n_content ROWS=3 COLS=75></TEXTAREA></TD>"
		+"					<TD width=106 align=left style=padding-bottom:5pt;padding-left:5pt;><img src=http://www.marketn.co.kr/img/review_submit.gif  style=cursor:hand; onclick=javascript:ticobookre_opinionSubmit();></TD>"
		+"				</TR>"
		+"				</TABLE>"
		+"			</TD>"
		+"		</TR>"
		+"		</TABLE>"
		+"		</td>"
		+"		</tr>"
		+"	</table>";
}


//»ç¿ëÈÄ±â ´ñ±Û ³Ö±â
function ticobookre_opinionSubmit(seq)
{

	var n_name = document.getElementById("n_name");
	var n_content = document.getElementById("n_content");
	var ti_seq = document.getElementById("ti_seq");

	
	if (n_name.value == "")
	{
		alert("ÀÛ¼ºÀÚÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
		n_name.focus();
		return;
	}

	if (n_content.value == "")
	{
		alert("³»¿ëÀ» ÀÔ·ÂÇÏ¼¼¿ä.");
		n_content.focus();
		return;
	}
	

	

	var req = getXMLHTTP();

	req.onreadystatechange = function()
	{
		if(req.readyState == 4)
		{	
		//	alert(req.status);
			if (req.status == 200)
			{
				
			
				
				handleticobookre_teopinionResponse(eval("("+req.responseText+")"));
			//handleticobookre_teopinionResponse();


				
			}
		}
	}



	req.open('POST',"/call/call_ticobook_re_opinion.asp?n_name="+escape(n_name.value)+"&n_content="+escape(n_content.value)+"&seq="+escape(ti_seq.value),true);
	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	req.send(null);
}




function handleticobookre_teopinionResponse(result_text2)
{

	if (result_text2.result2 == "ok")
	{

	ticobook_view_text(result_text2.seq);
	
	}else{
	alert("µî·ÏµÇÁö¾Ê¾Ò½À´Ï´Ù.");
	}
}



























//Ã¼Çè´Ü¸ðÁý
function ticobook1(bodynum){
		var bodycenter = document.getElementById("body_center0"+bodynum);
		
	bodycenter.innerHTML = 
		"³»Æ¼ÄÚºÏ";	
}

//º¹»ç
function oneclick_Copy(which) {
var idxs= document.getElementById("copy_field");

if(idxs.value==''){document.body.focus();return;}
idxs.select();
var clip=idxs.createTextRange()
clip.execCommand('copy');
alert("ÀÌ¹ÌÁö°¡ º¹»ç µÇ¾ú½À´Ï´Ù.ctr+v·Î ºÙ¿©³Ö±â ÇÏ¼¼¿ä.");
}





//Ã¼Çè´Ü¸ðÁý
function ticobook2(bodynum){

	var bodytop = document.getElementById("body_top0"+bodynum);
	var bodycenter = document.getElementById("body_center0"+bodynum);
	var bodybottom = document.getElementById("body_bottom0"+bodynum);

	// ¼¼¼ÇÃ¼Å©
	bodytop.innerHTML = 
		"<table width=100% border=0 cellspacing=0 cellpadding=0 >"
		+"  <tr>"
		+"					<td><img src=/img/sub_main.jpg usemap=#Map border=0></td>"
		+"	</tr>"
		+"	<tr>"
		+"		<td align=left bgcolor=#8e8e8e>"
		+"			<table width=844 border=0 cellspacing=0 cellpadding=0 >"
		+"				<tr>"
		+"					<td><img src=/img/tico_menu1.gif onclick=javascript:body_change('ticobook') style=cursor:hand;></td>" //»ç¿ëÈÄ±â
		+"					<td><a href=http://twitter.com/ticobook target=black()><img src=/img/tico_menu2.gif border=0></a></td>"//Æ®À§ÅÍ
		+"					<td><a href=http://cafe.naver.com/1aday target=black()><img src=/img/tico_menu3.gif border=0></a></td>"//ºí·Î±×
	//	+"					<td><img src=/img/tico_menu4.gif onclick=javascript:ticobook1("+bodynum+") style=cursor:hand;></td>"//³»Æ¼ÄÚºÏ »Ë³»±â
		+"					<td><img src=/img/tico_menu5.gif  onclick=javascript:body_change('ticobook2')  style=cursor:hand;></td>"//Ã¼Çè´Ü¸ðÁý
		+"				</tr>"
		+"			</table>"
		+"		</td>"
		+"	</table>"
		+"<INPUT TYPE=hidden NAME=copy_field  id=copy_field value='<table border=0 cellpadding=0 cellspacing=0 ><tr><td><a href=http://www.papearl.com/#ticobook2><img src=http://www.papearl.com/img/ticobook2evnet.jpg border=0></a> </td></tr></table>'>"
		+"	<map name=Map>"
		+"	<area shape=rect coords=25,160,195,259 href=/down.asp?filename=TicobookMiniAlbum(EPSON,CANON)setup.exe>"
		+"	<area shape=rect coords=208,161,376,258 href=/down.asp?filename=TicobookMiniAlbum(HP)setup.exe>"
		+"	<area shape=circle coords=794,238,33 href=/down.asp?filename=ticobook.pdf>"
		+"	</map>";

	bodycenter.innerHTML = 
		"	<TABLE cellpadding=0 cellspacing=0 border=0 width=871>"
		+"	<TR>"
		+"		<TD>"

		+"				<TABLE cellpadding=0 cellspacing=0 border=0 align=center width=940 height=474>"
		+"					<tr>"
		+"						<td>"
		+"							<img src=/img/ticobook2evnet.jpg border=0 usemap='#Map12'>"
		+"						</td>"
		+"					</tr>"
		+"				</table>"
		+"		</TD>"
		+"	</TR>"
		+"	</TABLE>"
		+"	<br><table width=100% border=0 cellspacing=0 cellpadding=0 >"
		+"	  <tr>"
		+"		<td align=left style=padding-left:20px>"
		+"			<table cellpadding=0 cellspacing=0 border=0 width=807 height=163 background=/img/tico_insert_bg.gif>"
		+"				<tr>"
		+"					<td width=30 align=center style=padding-left:30px;padding-top:30px;><div id=ticotext01></div></td>"
		+"				</tr>"
		+"			</table>"
		+"		</td>"
		+"	  </tr>"
		+"	</table>"
		+"	<table cellpadding=0 cellspacing=0 border=0 width=844>"
		+"		<tr>"
		+"			<td style=padding-top:20px;><div id=experience></div></td>"//Ã¼Çè´Ü ¸®½ºÆ®
		+"		</tr>"
		+"	</table>"
		+"	<table cellpadding=0 cellspacing=0 border=0 width=844>"
		+"		<tr>"
		+"			<td style=padding-top:10px;><div id=experience_number></div></td>"//Ã¼Çè´Ü¸®½ºÆ® ÆäÀÌÁö ¹øÈ£
		+"		</tr>"
		+"	</table>"
		+" <map name=Map12>"
		+"	  <area shape=rect coords=703,283,831,398 href='javascript:oneclick_Copy();'>"
		+"	</map>";	

	tico_experience(1);


	bodybottom.innerHTML = 
"		<br><br> <table width=844 border=0 cellspacing=0 cellpadding=0> <tr>"
+"			 <tr>"
+"				<td height=1 bgcolor=#CCCCCC></td>"
+"			 </tr>"
+"			<td height=30><table border=0 cellspacing=0 cellpadding=0 align=center>"

+"			  <tr>"
+"				<td height=28><img src=/img/main/footer_01.gif width=39 height=13 border=0 onclick=javascript:CompanyIntro('show','1'); style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_02.gif width=39 height=13 border=0 onclick=body_change('Recruit') style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_03.gif width=85 height=13 border=0 onclick=PartnerhShip(); style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_04.gif width=39 height=13 border=0 onclick=LargeBuy(); style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_05.gif width=39 height=13 border=0 onclick=B2B(); style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_06.gif width=39 height=13 border=0 onclick=body_change('UseAgreement') style=cursor:hand;></td>"
+"				<td><img src=/img/main/footer_00.gif width=17 height=13></td>"
+"				<td><img src=/img/main/footer_07.gif width=75 height=13 border=0 onclick=body_change('Privacy') style=cursor:hand;></td>"
+"				<td><p><img src=/img/main/footer_00.gif width=17 height=13></p>          </td>"
+"				<td><img src=/img/main/footer_08.gif width=102 height=13 border=0 onclick=body_change('EmailRejection') style=cursor:hand;></td>"
+"			  </tr>"
+"			</table></td>"
+"		  </tr>"
+"		  <tr>"
+"			<td height=1 bgcolor=#CCCCCC></td>"
+"		  </tr>"
+"		</table>"
+"		<table width=844 border=0 cellspacing=0 cellpadding=0>"
+"		  <tr>"
+"			<td height=45 valign=bottom class=footer>»ç¾÷ÀÚµî·Ï¹øÈ£ : 212-81-41001 ¤Ó Åë½ÅÆÇ¸Å¾÷ ½Å°í¹øÈ£ : °­µ¿±¸Ã»Á¦ 25-775È£ ¤Ó ´ëÇ¥ÀÌ»ç : ±è´ëÇö<br>"
+"			  ÁÖ¼Ò : ¼­¿ï½Ã °­µ¿±¸ ÃµÈ£µ¿ 457-65¹øÁö (ÁÖ)ÆäÀÌÆÞÀ¯Åë ¤Ó TEL : 02-474-3950 ¤Ó FAX : 02-488-7022<br>°³ÀÎÁ¤º¸°ü¸®Ã¥ÀÓÀÚ : ¼­ÀºÃ¶ºÎÀå (sec@papearl.com)</td>"
+"		  </tr>"
+"		  <tr>"
+"			<td height=22 valign=bottom class=copyright>Copyright(c) 2009 Papearl, All right reserved. </td>"
+"		  </tr>"
+"		</table>";
picoSessionCheck(); 
}





function picoSessionCheck()
{
	
	var req = getXMLHTTP();

	req.onreadystatechange = function()
	{
		if(req.readyState == 4)
		{	
			if (req.status == 200)
			{
				
				handlepicoResponse(eval("("+req.responseText+")"));
				
			}
		}
	}
	
	req.open('POST',"/call/call_session.asp",false);
	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	req.send(null);
}


function handlepicoResponse(result)
{
var tico_s_01 = document.getElementById("tico_s_01");
var tico_text_01="";

	if (result.result == "false")
	{
			
			document.getElementById("ticotext01").innerHTML = 
				"						<table cellpadding=0 cellspacing=0 border=0 width=750>"
				+"							<tr>"
				+"								<td>Ã¼Çè±â´ëÆò</td>"
				+"								<td><textarea class=box1 cols=100 rows=3 id=oneaweektext></textarea></td>"
												
				+"								<td valign=bottom style=padding-bottom:2px;padding-left:10px;><img src=/img/oneaweek/talk_btn.gif  style=cursor:hand; onclick=tico_experience_write1();></td>"
				+"							</tr>"
				+"							<tr>"
				+"								<td>URL</td>"
				+"								<td><input class=box1  type=text name=oneaweektext3 id=oneaweektext3 size=101></td>"
				+"							</tr>"
				+"						</table>";
	}else{
			
			document.getElementById("ticotext01").innerHTML = 
				"						<table cellpadding=0 cellspacing=0 border=0 width=750>"
				+"							<tr>"
				+"								<td>Ã¼Çè±â´ëÆò</td>"
				+"								<td><textarea class=box1 cols=100 rows=3 id=oneaweektext></textarea></td>"
												
				+"								<td valign=bottom style=padding-bottom:2px;padding-left:10px;><img src=/img/oneaweek/talk_btn.gif  style=cursor:hand; onclick=tico_experience_write();></td>"
				+"							</tr>"
				+"							<tr>"
				+"								<td>URL</td>"
				+"								<td><input class=box1  type=text name=oneaweektext3 id=oneaweektext3 size=101></td>"
				+"							</tr>"
				+"						</table>";
	}


}




//·Î±×ÀÎÇØÁÖ¼¼¿ä

function tico_experience_write1()
{
	alert("È¸¿ø¸¸ ½ÅÃ»°¡´ÉÇÕ´Ï´Ù.");
}
//Ã¼ÇèÈÄ±â µî·ÏÇÏ±â
function tico_experience_write()
{
	var req = getXMLHTTP();
	var oneaweektext = document.getElementById("oneaweektext").value;
	var t_url= document.getElementById("oneaweektext3").value;
	
	if (oneaweektext=="")
	{
		alert("Ã¼Çè±â´ëÆòÀ»µî·ÏÇØÁÖ¼¼¿ä");
		return;
	}

	req.onreadystatechange = function()
	{
		if(req.readyState == 4)
		{	
			//alert(req.status);
			if (req.status == 200)
			{
				alert(" µî·ÏµÇ¾ú½À´Ï´Ù.");	
				document.getElementById("oneaweektext").value="";
				document.getElementById("oneaweektext3").value="";
				tico_experience(1);
			}
		}
	}

	req.open('POST',"/call/call_insert_ticoexperience.asp?content="+escape(oneaweektext)+"&t_url="+escape(t_url),true);
	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	req.send(null);
}


//Ã¼ÇèÈÄ±â ºÒ·¯¿À±â
function tico_experience(page)
{
	var req = getXMLHTTP();

	req.onreadystatechange = function()
	{
		if(req.readyState == 4)
		{	
		//	alert(req.status);

			if (req.status == 200)
			{
				
				handleticoexperienceResponse(eval("("+req.responseText+")"),page);
				
			}
		}
	}
	
	req.open('POST',"/call/call_ticoexperience.asp?page="+escape(page),false);
	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	req.send(null);
}
//Ã¼ÇèÈÄ±â ¸®½ºÆ®
function handleticoexperienceResponse(json_str,page)
{
var experience = document.getElementById("experience");
var experienceview ="";
var experiencelist ="";
var contents3="";
	if (json_str.json_str == "ok")
	{
		for (i=0;i<json_str.list_text.length ;i++)
		{ 
			var op1 = "";
			if (json_str.list_text[i].option1 != "")
			{
				op1 = op1 + json_str.list_text[i].option1 +" / ";
			}
			if (json_str.list_text[i].option2 != "")
			{
				op1 = op1 + json_str.list_text[i].option2 +" / ";
			}
			if (json_str.list_text[i].option3 != "")
			{
				op1= op1 + json_str.list_text[i].option3 +" / ";
			}
			if (json_str.list_text[i].re_content == "")
			{
				contents3=""
			}else{
			contents3 =  "<table><tr><td style=padding-left:5pt;><img src=/img/s_re_icon.gif></td><td width=50><b>admin</b></td><td>"+json_str.list_text[i].re_content+"</tr></table>"
			}

			experiencelist=experiencelist+
				"	<tr>"
				+"		<td width=100 align=center>"+json_str.list_text[i].pp_id+"</td>"
				+"		<td width=420 style=padding-top:15px;padding-bottom:15px;padding-left:10px;>"+json_str.list_text[i].content+"<br>"+contents3+"</td>"
				+"		<td width=60 valign=top style=padding-top:20px;>"+json_str.list_text[i].url1+"</td>"
				+"		<td width=200 align=center>"+json_str.list_text[i].regdate+"</td>"
				+"	</tr>"
				+"	<tr>"
				+"		<td colspan=4 bgcolor=#dddddd height=1></td>"
				+"	</tr>"
		}
			experienceview = experienceview  +
				"<table border=0 cellspacing=0 cellpadding=0 align=center WIDTH=780>"
				+"	<tr>"
				+"		<tD width=150 style=padding-bottom:10px;><b>Ã¼Çè±â´ëÆò(ÃÑ"+json_str.total_cnt+"°Ç)</TD>"
				+"		<td width=630 style=padding-bottom:10px;color:#888888;font-size:8pt; align=left valign=bottom>´Ù¸¥ »ç¶÷À» ºñ¹æÇÏ°Å³ª ¸í¿¹¸¦ ÈÑ¼ÕÇÏ´Â ¸®ÇÃ ÀÛ¼ºÇÒ ½Ã ¿¹°í¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.</td>"
				+"	</tr>"
				+"</talbe>"
				+"<table border=0 cellspacing=0 cellpadding=0 align=center WIDTH=780>"
				+"	<tr>"
				+"		<td colspan=4 bgcolor=#dddddd></td>"
				+"	</tr>"
				+"		<tr>"
				+"			<td align=center height=30>½ÅÃ»ÀÚ</td>"
				+"			<td align=center>Ã¼Çè±â´ëÆò</td>"
				+"			<td align=center>¸µÅ©</td>"
				+"			<td align=center>³¯Â¥</td>"
				+"		</tr>"
				+"	<tr>"
				+"		<td colspan=4 bgcolor=#dddddd></td>"
				+"	</tr>"
				+experiencelist
				+"</table>";
				

	}else{
	
		experienceview="<table border=0 cellspacing=0 cellpadding=0 align=center WIDTH=780><tr><td align=center>Ã¼Çè±â´ëÆòÀÌ ¾ø½À´Ï´Ù.</td></tr></table>";
	}

experience.innerHTML = experienceview;
experiencePage1(json_str,page);
}



function experiencePage1(json_str,page)
{

	var show_page_num = 5;
	var total_page = json_str.total_page;
	var page_group_cnt = json_str.page_group_cnt;
	var now_page_group_num = json_str.now_page_group_num;
	
	var show_start_page = (show_page_num * (now_page_group_num-1)+1)
	var show_page = now_page_group_num * show_page_num
	var next_page = (show_page_num * (now_page_group_num)+1);
	var before_page =(now_page_group_num-2)*show_page_num + 1;

	var page_view = document.getElementById("experience_number");
	var pageHTML = "<br><table cellpadding=0 cellspacing=0 border=0 align=center ><tr>";

	if (before_page > 0)
	{
		pageHTML = pageHTML + "<td width=15 align=center><a href=javascript:tico_experience('"+before_page+"')><img src=img/detail/tbl_arrow_1.gif border=0></td>";
	}
	else
	{
		pageHTML = pageHTML + "<td width=15 align=center></td>";
	}

	for (p=show_start_page;p<=show_page;p++ ){
		if (p <= total_page)
		{
			if (p == page)
			{
				pageHTML = pageHTML + "<td align=center class=page_sel width=30><table cellpadding=0 cellspacing=0 border=1 width=25 bordercolor=#ec302f><tr><td align=center><b>" + p + "</b></td></tr></table></td>"
				
			}
			else
			{

				pageHTML = pageHTML + "<td align=center width=30><table cellpadding=0 cellspacing=0 border=1 width=25 bordercolor=#e3e3e3><tr><td align=center><b><a href=javascript:tico_experience('"+p+"')>" + p + "</a></td></tr></table></td>"
			}
			
		}
		else
		{
			pageHTML = pageHTML + "<td width=15> </td>"
		}

		
	}
	if (next_page <= total_page)
	{
		pageHTML = pageHTML + "<td width=15 align=center><a href=javascript:tico_experience('"+next_page+"')><img src=/img/detail/tbl_arrow_2.gif border=0></td>"
	}
	else
	{
		pageHTML = pageHTML + "<td width=15 align=center></td>"
	}

	pageHTML = pageHTML + "</tr></table>";
	page_view.innerHTML = pageHTML;
}