//Name:	Navigation_Mileage.js
//Auth:	jhkim@itembay.com
//Date:	2003.04.08
//Desc:	ÆäÀÌÂ¡¹øÈ£ Display
//Date: 2004.05.13
//Desc: ºí·°ÀÌµ¿½Ã Ã¹ÆäÀÌÁö·Î ÀÌµ¿
<!--
	function fnc_Navigation_Display(objID, intMinSeq, intMaxSeq, intCurrentPage, intTotalPages, intBlockSize)
	{
		// º¯¼ö¼±¾ð **************************************************************************************************************************************
		var Pageing			= "";
		var FontColor		= "gray";
		var imgName_1		= "";
		var imgName_2		= "<img src='/images/board/list_prev.gif' align=absmiddle  style='margin-bottom: 0px'>&nbsp;|";
		var imgName_3		= "|&nbsp;<img src='/images/board/list_next.gif'  align=absmiddle style='margin-bottom: 0px'>";
		var imgName_4		= "";		
				
		//var Pageing		= "";
		//var FontColor		= "gray";
		//var imgName_1		= "&lt;&lt; Ã³À½";
		//var imgName_2		= "&lt; [ÀÌÀü10°³]";
		//var imgName_3		= "[´ÙÀ½10°³] &gt;";
		//var imgName_4		= "¸¶Áö¸· &gt;&gt;";		
		
		var startPage;
		var endPage;
		
		if (intMinSeq == "") intMinSeq = 1;
		if (intMaxSeq == "") intMaxSeq = 1;
				
		if (intCurrentPage < intBlockSize) 
		{
			startPage = 1;
		} 
		else
		{
			if ((intCurrentPage % intBlockSize) == 0)
				startPage = intCurrentPage - (intBlockSize - 1)
			else
				startPage = parseInt(intCurrentPage / intBlockSize) * 10 + 1;
		}
		
		endPage = startPage + (intBlockSize - 1);
		
		if (endPage > intTotalPages) endPage = intTotalPages;		
		// ***********************************************************************************************************************************************

		// ÆÄ¶ó¹ÌÅÍ Ã³¸® *********************************************************************************************************************************
		var strFullUrl = document.URL;
		var strTempUrl = ""		
		
		var expQ = /\?/;	
		var expA = /\&/;
		
		var expCurrentPage = /CurrentPage/;	
		var expTargetPage = /TargetPage/;	
		var expItemSeq = /ItemSeq/;	
		
		if (strFullUrl.search(expQ) > -1)						// ?°¡ ÀÖ´Â°¡
		{
			var arrQSplitUrl = strFullUrl.split("?")			// ?·Î ºÐ¸®½ÃÅ´
			var pageName = arrQSplitUrl[0];						// ÆäÀÌÁö¸í			
			
			if (arrQSplitUrl[1].search(expA) > -1)				// &°¡ ÀÖ´Â°¡
			{
				var arrASplitUrl = arrQSplitUrl[1].split("&");	// ?µÚ¿¡ ºÎºÐÀ» ´Ù½Ã &·Î ºÐ¸®½ÃÅ´
				var lenArrASplitUrl = arrASplitUrl.length;		// ÆÄ¶ó¹ÌÅÍÀÇ °¹¼ö
		
				var k = 0
				for (var i=0;i<lenArrASplitUrl;i++)
					if (arrASplitUrl[i].search(expCurrentPage) < 0 && arrASplitUrl[i].search(expTargetPage) < 0 && arrASplitUrl[i].search(expItemSeq) < 0)
					{
						if (k == 0) 
							strTempUrl += arrASplitUrl[i];
						else
							strTempUrl += "&" + arrASplitUrl[i];
						k++;
					}					
			}
			else
			{
				if (arrQSplitUrl[1].search(expCurrentPage) < 0 && arrQSplitUrl[1].search(expTargetPage) < 0 && arrQSplitUrl[1].search(expItemSeq) < 0) strTempUrl = arrQSplitUrl[1];								
				pageName = arrQSplitUrl[0];
			}
		}
		else
		{	
			strTempUrl = "";
			pageName = strFullUrl;
		}
		// ***********************************************************************************************************************************************

		// // ºí·° ÆäÀÌÂ¡*********************************************************************************************************************************
		var intNextBlock
		var intPastBlock
		if(parseInt(intCurrentPage)%parseInt(intBlockSize) == 0)
		{
			intNextBlock = parseInt(intCurrentPage) + 1
		}else
		{
			intNextBlock = parseInt(intCurrentPage) - ((parseInt(intCurrentPage)%parseInt(intBlockSize))-1) + parseInt(intBlockSize)
		}

		if(parseInt(intCurrentPage)%parseInt(intBlockSize) == 0)
		{
			intPastBlock = (parseInt(intCurrentPage) + 1) - (parseInt(intBlockSize)*2)
		}else
		{
			intPastBlock = parseInt(intCurrentPage) - ((parseInt(intCurrentPage)%parseInt(intBlockSize))-1) - parseInt(intBlockSize)
		}
		// ***********************************************************************************************************************************************
		
		// ½ÃÀÛÆäÀÌÁö ************************************************************************************************************************************		
		if (intCurrentPage > 1)
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage=1&ItemSeq=1'>"+ imgName_1 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage=1&ItemSeq=1&"+ strTempUrl +"'>"+ imgName_1 +"</a>&nbsp;";
			}
		}
		else
		{
		    Pageing += imgName_1 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************
		
		// ÀÌÀüÆäÀÌÁö ************************************************************************************************************************************		
		if (startPage > intBlockSize)
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intPastBlock +"&ItemSeq="+ intMaxSeq +"'>"+ imgName_2 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intPastBlock +"&ItemSeq="+ intMaxSeq +"&"+ strTempUrl +"'>"+ imgName_2 +"</a>&nbsp;";
			}
		}
		else
		{
		    Pageing += imgName_2 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************

		// ÆäÀÌÁö¹øÈ£ ************************************************************************************************************************************		
	
		for (var i=startPage;i<=endPage;i++)
		{
			if (i == parseInt(intCurrentPage))
			{	
				Pageing += "<font color='"+ FontColor +"'>" + i + "</font> ";
			}
			else
			{
				if (i < parseInt(intCurrentPage))
				{
					if (strTempUrl == "")
					{
						Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ i +"&ItemSeq="+ intMaxSeq +"'><font color='black'>["+ i +"]</font></a>&nbsp;"
					}
					else
					{
						Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ i +"&ItemSeq="+ intMaxSeq +"&"+ strTempUrl +"'><font color='black'>["+ i +"]</font></a>&nbsp;"
					}
				}
				else
				{
					if (strTempUrl == "")
					{
						Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ i +"&ItemSeq="+ intMinSeq +"'><font color='black'>["+ i +"]</font></a>&nbsp;"
					}
					else
					{
						Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ i +"&ItemSeq="+ intMinSeq +"&"+ strTempUrl +"'><font color='black'>["+ i +"]</font></a>&nbsp;"
					}				
				}
			}
		}

		// ***********************************************************************************************************************************************

		// ´ÙÀ½ÆäÀÌÁö ************************************************************************************************************************************
			
		if (endPage < intTotalPages)
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage=" + intNextBlock +"&ItemSeq="+ intMinSeq +"'>"+ imgName_3 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intNextBlock +"&ItemSeq="+ intMinSeq +"&"+ strTempUrl +"'>"+ imgName_3 +"</a>&nbsp;";
			}			
		}
		else
		{
			Pageing += imgName_3 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************
		
		// ¸¶Áö¸·ÆäÀÌÁö **********************************************************************************************************************************		
		if (intCurrentPage < parseInt(intTotalPages))
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intTotalPages +"&ItemSeq=1'>"+ imgName_4 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intTotalPages +"&ItemSeq=1&"+ strTempUrl +"'>"+ imgName_4 +"</a>&nbsp;";
			}		
		}
		else
		{
			Pageing += imgName_4 + "&nbsp";
		}		
		
		// ***********************************************************************************************************************************************

		document.all(objID).innerHTML = Pageing
	}
	
    /**********************************************************************************************
	'* ¼³  ¸í : fnc_Navigation_Display2
	'*			 °í°´ °øÁö»çÇ× Ç¥½Ã¿ëÀ¸·Î ÀÌ¹ÌÁö¸¦ »ç¿ëÇÏµµ·Ï ÆäÀÌÂ¡ ÇÔ¼ö º¯°æÇÔ
	'*			
	'* ÀÛ¼ºÀÚ : ¼ÛÅÂÇö
	'* ÀÛ¼ºÀÏ : 2007.11.19
	'* ¼öÁ¤³»¿ª
	'**********************************************************************************************/
    
    //====================================================================================================================================================    
	function fnc_Navigation_Display2(objID, intMinSeq, intMaxSeq, intCurrentPage, intTotalPages, intBlockSize)
	{
		// º¯¼ö¼±¾ð **************************************************************************************************************************************
		var Pageing			= "";
		var FontColor		= "gray";
		var imgName_1		= "";
		var imgName_2		= "<img src='/images/board/list_prev.gif' align=absmiddle  style='margin-bottom: 0px' border=0>&nbsp;|";
		var imgName_3		= "|&nbsp;<img src='/images/board/list_next.gif'  align=absmiddle style='margin-bottom: 0px' border=0>";
		var imgName_4		= "";		
		
		var startPage;
		var endPage;
		
		if (intMinSeq == "") intMinSeq = 1;
		if (intMaxSeq == "") intMaxSeq = 1;
				
		if (intCurrentPage < intBlockSize) 
		{
			startPage = 1;
		} 
		else
		{
			if ((intCurrentPage % intBlockSize) == 0)
				startPage = intCurrentPage - (intBlockSize - 1)
			else
				startPage = parseInt(intCurrentPage / intBlockSize) * 10 + 1;
		}
		
		endPage = startPage + (intBlockSize - 1);
		
		if (endPage > intTotalPages) endPage = intTotalPages;		
		// ***********************************************************************************************************************************************

		// ÆÄ¶ó¹ÌÅÍ Ã³¸® *********************************************************************************************************************************
		var strFullUrl = document.URL;
		var strTempUrl = ""		
		
		var expQ = /\?/;	
		var expA = /\&/;
		
		var expCurrentPage = /CurrentPage/;	
		var expTargetPage = /TargetPage/;	
		var expItemSeq = /ItemSeq/;	
		
		if (strFullUrl.search(expQ) > -1)						// ?°¡ ÀÖ´Â°¡
		{
			var arrQSplitUrl = strFullUrl.split("?")			// ?·Î ºÐ¸®½ÃÅ´
			var pageName = arrQSplitUrl[0];						// ÆäÀÌÁö¸í			
			
			if (arrQSplitUrl[1].search(expA) > -1)				// &°¡ ÀÖ´Â°¡
			{
				var arrASplitUrl = arrQSplitUrl[1].split("&");	// ?µÚ¿¡ ºÎºÐÀ» ´Ù½Ã &·Î ºÐ¸®½ÃÅ´
				var lenArrASplitUrl = arrASplitUrl.length;		// ÆÄ¶ó¹ÌÅÍÀÇ °¹¼ö
		
				var k = 0
				for (var i=0;i<lenArrASplitUrl;i++)
					if (arrASplitUrl[i].search(expCurrentPage) < 0 && arrASplitUrl[i].search(expTargetPage) < 0 && arrASplitUrl[i].search(expItemSeq) < 0)
					{
						if (k == 0) 
							strTempUrl += arrASplitUrl[i];
						else
							strTempUrl += "&" + arrASplitUrl[i];
						k++;
					}					
			}
			else
			{
				if (arrQSplitUrl[1].search(expCurrentPage) < 0 && arrQSplitUrl[1].search(expTargetPage) < 0 && arrQSplitUrl[1].search(expItemSeq) < 0) strTempUrl = arrQSplitUrl[1];								
				pageName = arrQSplitUrl[0];
			}
		}
		else
		{	
			strTempUrl = "";
			pageName = strFullUrl;
		}
		// ***********************************************************************************************************************************************

		// // ºí·° ÆäÀÌÂ¡*********************************************************************************************************************************
		var intNextBlock
		var intPastBlock
		if(parseInt(intCurrentPage)%parseInt(intBlockSize) == 0)
		{
			intNextBlock = parseInt(intCurrentPage) + 1
		}else
		{
			intNextBlock = parseInt(intCurrentPage) - ((parseInt(intCurrentPage)%parseInt(intBlockSize))-1) + parseInt(intBlockSize)
		}

		if(parseInt(intCurrentPage)%parseInt(intBlockSize) == 0)
		{
			intPastBlock = (parseInt(intCurrentPage) + 1) - (parseInt(intBlockSize)*2)
		}else
		{
			intPastBlock = parseInt(intCurrentPage) - ((parseInt(intCurrentPage)%parseInt(intBlockSize))-1) - parseInt(intBlockSize)
		}
		// ***********************************************************************************************************************************************
		
		// ½ÃÀÛÆäÀÌÁö ************************************************************************************************************************************		
		if (intCurrentPage > 1)
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage=1&ItemSeq=1'>"+ imgName_1 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage=1&ItemSeq=1&"+ strTempUrl +"'>"+ imgName_1 +"</a>&nbsp;";
			}
		}
		else
		{
		    Pageing += imgName_1 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************
		
		// ÀÌÀüÆäÀÌÁö ************************************************************************************************************************************		
		if (startPage > intBlockSize)
		{
			if (strTempUrl == "")
			{
				Pageing += "&nbsp;<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intPastBlock +"&ItemSeq="+ intMaxSeq +"'>"+ imgName_2 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "&nbsp;<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intPastBlock +"&ItemSeq="+ intMaxSeq +"&"+ strTempUrl +"'>"+ imgName_2 +"</a>&nbsp;";
			}
		}
		else
		{
		    Pageing += imgName_2 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************

		// ÆäÀÌÁö¹øÈ£ ************************************************************************************************************************************		
	
		for (var i=startPage;i<=endPage;i++)
		{
			if (i == parseInt(intCurrentPage))
			{	
				Pageing += "<font color='"+ FontColor +"'><b>" + i + "</b></font> ";
			}
			else
			{
				if (i < parseInt(intCurrentPage))
				{
					if (strTempUrl == "")
					{
						Pageing += "&nbsp;<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ i +"&ItemSeq="+ intMaxSeq +"'><font color='black'>"+ i +"</font></a>&nbsp;"
					}
					else
					{
						Pageing += "&nbsp;<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ i +"&ItemSeq="+ intMaxSeq +"&"+ strTempUrl +"'><font color='black'>"+ i +"</font></a>&nbsp;"
					}
				}
				else
				{
					if (strTempUrl == "")
					{
						Pageing += "&nbsp;<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ i +"&ItemSeq="+ intMinSeq +"'><font color='black'>"+ i +"</font></a>&nbsp;"
					}
					else
					{
						Pageing += "&nbsp;<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ i +"&ItemSeq="+ intMinSeq +"&"+ strTempUrl +"'><font color='black'>"+ i +"</font></a>&nbsp;"
					}				
				}
			}
		}

		// ***********************************************************************************************************************************************

		// ´ÙÀ½ÆäÀÌÁö ************************************************************************************************************************************
			
		if (endPage < intTotalPages)
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage=" + intNextBlock +"&ItemSeq="+ intMinSeq +"'>"+ imgName_3 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intNextBlock +"&ItemSeq="+ intMinSeq +"&"+ strTempUrl +"'>"+ imgName_3 +"</a>&nbsp;";
			}			
		}
		else
		{
			Pageing += imgName_3 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************
		
		// ¸¶Áö¸·ÆäÀÌÁö **********************************************************************************************************************************		
		if (intCurrentPage < parseInt(intTotalPages))
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intTotalPages +"&ItemSeq=1'>"+ imgName_4 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?CurrentPage="+ intCurrentPage +"&TargetPage="+ intTotalPages +"&ItemSeq=1&"+ strTempUrl +"'>"+ imgName_4 +"</a>&nbsp;";
			}		
		}
		else
		{
			Pageing += imgName_4 + "&nbsp";
		}		
		
		// ***********************************************************************************************************************************************

		document.all(objID).innerHTML = Pageing
	}	

    /**********************************************************************************************
	'* ¼³  ¸í : fnc_Navigation_Display3
	'*			 ³»Á¤º¸ ¼±¹°ÇÔ - º¸³½ ¼±¹°ÇÔ ³×ºñ·Î »ç¿ë
	'*			
	'* ÀÛ¼ºÀÚ : ÀÌÃ¢Àº
	'* ÀÛ¼ºÀÏ : 2008.01.16
	'* ¼öÁ¤³»¿ª
	'**********************************************************************************************/
    
    
    //====================================================================================================================================================    
	function fnc_Navigation_Display3(objID, intMinSeq, intMaxSeq, intCurrentPage, intTotalPages, intBlockSize)
	{
		// º¯¼ö¼±¾ð **************************************************************************************************************************************
		var Pageing			= "";
		var FontColor		= "gray";
		var imgName_1		= "";
		var imgName_2		= "<img src='/images/board/list_prev.gif' align=absmiddle  style='margin-bottom: 0px'>&nbsp;|";
		var imgName_3		= "|&nbsp;<img src='/images/board/list_next.gif'  align=absmiddle style='margin-bottom: 0px'>";
		var imgName_4		= "";		
		

		var startPage;
		var endPage;
		
		if (intMinSeq == "") intMinSeq = 1;
		if (intMaxSeq == "") intMaxSeq = 1;
				
		if (intCurrentPage < intBlockSize) 
		{
			startPage = 1;
		} 
		else
		{
			if ((intCurrentPage % intBlockSize) == 0)
				startPage = intCurrentPage - (intBlockSize - 1)
			else
				startPage = parseInt(intCurrentPage / intBlockSize) * 10 + 1;
		}
		
		endPage = startPage + (intBlockSize - 1);
		
		if (endPage > intTotalPages) endPage = intTotalPages;		
		// ***********************************************************************************************************************************************

		// ÆÄ¶ó¹ÌÅÍ Ã³¸® *********************************************************************************************************************************
		var strFullUrl = document.URL;
		var strTempUrl = ""		
		
		var expQ = /\?/;	
		var expA = /\&/;
		
		var expCurrentPage = /CurrentPage/;	
		var expTargetPage = /TargetPage/;	
		var expItemSeq = /ItemSeq/;	
		
		if (strFullUrl.search(expQ) > -1)						// ?°¡ ÀÖ´Â°¡
		{
			var arrQSplitUrl = strFullUrl.split("?")			// ?·Î ºÐ¸®½ÃÅ´
			var pageName = arrQSplitUrl[0];						// ÆäÀÌÁö¸í			
			
			if (arrQSplitUrl[1].search(expA) > -1)				// &°¡ ÀÖ´Â°¡
			{
				var arrASplitUrl = arrQSplitUrl[1].split("&");	// ?µÚ¿¡ ºÎºÐÀ» ´Ù½Ã &·Î ºÐ¸®½ÃÅ´
				var lenArrASplitUrl = arrASplitUrl.length;		// ÆÄ¶ó¹ÌÅÍÀÇ °¹¼ö
		
				var k = 0
				for (var i=0;i<lenArrASplitUrl;i++)
					if (arrASplitUrl[i].search(expCurrentPage) < 0 && arrASplitUrl[i].search(expTargetPage) < 0 && arrASplitUrl[i].search(expItemSeq) < 0)
					{
						if (k == 0) 
							strTempUrl += arrASplitUrl[i];
						else
							strTempUrl += "&" + arrASplitUrl[i];
						k++;
					}					
			}
			else
			{
				if (arrQSplitUrl[1].search(expCurrentPage) < 0 && arrQSplitUrl[1].search(expTargetPage) < 0 && arrQSplitUrl[1].search(expItemSeq) < 0) strTempUrl = arrQSplitUrl[1];								
				pageName = arrQSplitUrl[0];
			}
		}
		else
		{	
			strTempUrl = "";
			pageName = strFullUrl;
		}
		// ***********************************************************************************************************************************************

		// // ºí·° ÆäÀÌÂ¡*********************************************************************************************************************************
		var intNextBlock
		var intPastBlock
		if(parseInt(intCurrentPage)%parseInt(intBlockSize) == 0)
		{
			intNextBlock = parseInt(intCurrentPage) + 1
		}else
		{
			intNextBlock = parseInt(intCurrentPage) - ((parseInt(intCurrentPage)%parseInt(intBlockSize))-1) + parseInt(intBlockSize)
		}

		if(parseInt(intCurrentPage)%parseInt(intBlockSize) == 0)
		{
			intPastBlock = (parseInt(intCurrentPage) + 1) - (parseInt(intBlockSize)*2)
		}else
		{
			intPastBlock = parseInt(intCurrentPage) - ((parseInt(intCurrentPage)%parseInt(intBlockSize))-1) - parseInt(intBlockSize)
		}
		// ***********************************************************************************************************************************************
		
		// ½ÃÀÛÆäÀÌÁö ************************************************************************************************************************************		
		if (intCurrentPage > 1)
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage=1&ItemSeq=1'>"+ imgName_1 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage=1&ItemSeq=1&"+ strTempUrl +"'>"+ imgName_1 +"</a>&nbsp;";
			}
		}
		else
		{
		    Pageing += imgName_1 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************
		
		// ÀÌÀüÆäÀÌÁö ************************************************************************************************************************************		
		if (startPage > intBlockSize)
		{
			if (strTempUrl == "")
			{
				Pageing += "&nbsp;<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ intPastBlock +"&ItemSeq="+ intMaxSeq +"'>"+ imgName_2 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "&nbsp;<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ intPastBlock +"&ItemSeq="+ intMaxSeq +"&"+ strTempUrl +"'>"+ imgName_2 +"</a>&nbsp;";
			}
		}
		else
		{
		    Pageing += imgName_2 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************

		// ÆäÀÌÁö¹øÈ£ ************************************************************************************************************************************		
	
		for (var i=startPage;i<=endPage;i++)
		{
			if (i == parseInt(intCurrentPage))
			{	
				Pageing += "<font color='"+ FontColor +"'><b>" + i + "</b></font> ";
			}
			else
			{
				if (i < parseInt(intCurrentPage))
				{
					if (strTempUrl == "")
					{
						Pageing += "&nbsp;<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ i +"&ItemSeq="+ intMaxSeq +"'><font color='black'>"+ i +"</font></a>&nbsp;"
					}
					else
					{
						Pageing += "&nbsp;<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ i +"&ItemSeq="+ intMaxSeq +"&"+ strTempUrl +"'><font color='black'>"+ i +"</font></a>&nbsp;"
					}
				}
				else
				{
					if (strTempUrl == "")
					{
						Pageing += "&nbsp;<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ i +"&ItemSeq="+ intMinSeq +"'><font color='black'>"+ i +"</font></a>&nbsp;"
					}
					else
					{
						Pageing += "&nbsp;<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ i +"&ItemSeq="+ intMinSeq +"&"+ strTempUrl +"'><font color='black'>"+ i +"</font></a>&nbsp;"
					}				
				}
			}
		}

		// ***********************************************************************************************************************************************

		// ´ÙÀ½ÆäÀÌÁö ************************************************************************************************************************************
			
		if (endPage < intTotalPages)
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage=" + intNextBlock +"&ItemSeq="+ intMinSeq +"'>"+ imgName_3 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ intNextBlock +"&ItemSeq="+ intMinSeq +"&"+ strTempUrl +"'>"+ imgName_3 +"</a>&nbsp;";
			}			
		}
		else
		{
			Pageing += imgName_3 + "&nbsp;";
		}
		// ***********************************************************************************************************************************************
		
		// ¸¶Áö¸·ÆäÀÌÁö **********************************************************************************************************************************		
		if (intCurrentPage < parseInt(intTotalPages))
		{
			if (strTempUrl == "")
			{
				Pageing += "<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ intTotalPages +"&ItemSeq=1'>"+ imgName_4 +"</a>&nbsp;";
			}
			else
			{
				Pageing += "<a href='"+ pageName +"?send_CurrentPage="+ intCurrentPage +"&send_TargetPage="+ intTotalPages +"&ItemSeq=1&"+ strTempUrl +"'>"+ imgName_4 +"</a>&nbsp;";
			}		
		}
		else
		{
			Pageing += imgName_4 + "&nbsp";
		}		
		
		// ***********************************************************************************************************************************************

		document.all(objID).innerHTML = Pageing
	}	
	
//-->
