	function popupImg(imgStr, title)
	{
		if( imgStr == "" )
			return false;
		
		if( title == null )
			title = "::::: MOOKAS :::::";
		pic = new Image();
//Ãß°¡        
//»çÁøÀÇ width,height ¸¦ ¾Ë±â À§ÇØ¼­´Â ÀüÃ¼°æ·Î¸¦ °¡Á®¿Í¾ßÇÑ´Ù.
		if (imgStr.indexOf("http:") == -1) // ÀüÃ¼°æ·Î°¡ ¾Æ´Ï¸é -- ¸®½ºÆ®¿¡¼­ popupimg ¸Å°³º¯¼ö·Î »ó´ë°æ·Î°Ü ³Ñ¾î¿À°í
		{
  		   pic.src = "http://www.mookas.com"+imgStr;
		}
		else { //ÀüÃ¼°æ·ÎÀÌ¸é -- ¸®½ºÆ®¿¡¼­ ³»¿ëº¸±â·Î µé¾î°¡¼­ »çÁø Å¬¸¯ÇÏ¸é ¸Å°³º¯¼ö·Î ÀüÃ¼°æ·Î°¡ ³Ñ¾î¿À±â¶§¹®¿¡.
  		   pic.src = imgStr;
		}
// Ãß°¡		
		//target	= "ImageViewer.asp?target=" + pic.src + "&title=" + title;
        
		    
		if(pic.width > 900){
         // alert(pic.width) ;  
          option = "'resizable=no, scrollbars=yes, height=600, width=800,left=0,right=0";
		}
		else
        {
          option = "'resizable=no, scrollbars=no,left=0,right=0, height=" + pic.height + ", width=" + pic.width + "'";
		}
			
		target	= "/ImageViewer.asp?target=" + pic.src + "&title=" + title;
		//option	= "'resizable=no, scrollbars=no, height=" + pic.height + ", width=" + pic.width + "'";
		window.open(target, 'img', option);
	}

	function checkDel(target)
	{
		if(!confirm('Á¤¸»·Î »èÁ¦ÇÏ°Ú½À´Ï±î?'))
			document.location.reload();
		else
			document.location = target;
	}

	function getZip(form, addr)
	{
		target = "postSearch.asp?form=" + form.name +"&addr=" + addr;

		window.open(target, 'findpost', 'width=500,height=400,scrollbars=yes');
	}

	function getImgwidth(imgStr)
	{
		if( imgStr == "" )
			return false;
		
		pic = new Image();
		pic.src = imgStr;
		
		return pic.width;
	}
