function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}



function openwin(theURL,winName,features) { 

  window.open(theURL,winName,features);

}











var EmbedStr = "";



function GetFlash(url,x,y) { 

	EmbedStr = "<object id='flash' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='" + x + "' height='" + y + "'>";

	EmbedStr += "<param name='allowScriptAccess' value='sameDomain' />";

	EmbedStr += "<param name='movie' value='" + url + "' />";

	EmbedStr += "<param name='quality' value='high' />";

	EmbedStr += "<param name='bgcolor' value='#ffffff' />";

	EmbedStr += "<param name='wmode' value='transparent' />";

	EmbedStr += "<embed src='" + url + "' quality='high' wmode='transparent' bgcolor='#ffffff' width='" + x + "' height='" + y + "' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";

	EmbedStr += "</object>";

	

	document.write(EmbedStr);

	return;

}



function openwin(theURL,winName,features) { 

  window.open(theURL,winName,features);

}



function MM_jumpMenu(URL){ //v3.0

  if(URL!="") {

    window.open(URL);

  }

}



      function showNotice(show){

				if(show == "1"){

					Notice1.style.display = '';

					Notice2.style.display = 'none';





				}else if(show == "2"){

					Notice1.style.display = 'none';

					Notice2.style.display = '';





				}

			}







function openIMG(ImgName,title) { //v2.0

  var theURL = "pro.php?img="+ImgName+"&title="+title;

  var features = "status=no,scrollbars=no,toolbar=no,menubar=no,width=400,height=560";

  window.open(theURL,'',features);

}



//È¸¿ø ·Î±×ÀÎ

function loginSendit()

{

	var form=document.loginForm;

	if(form.userid.value==""){

		alert("¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.");

		form.userid.focus();

		return false;

	}else if(form.pwd.value==""){

		alert("ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.");

		form.pwd.focus();

		return false;

	}else{

		form.submit();

	}

}

function loginChek()

{

	if(event.keyCode==13)

		loginSendit();

}

function searchId(Part)

{

	window.open("/member/id_loss.php?part="+Part,"","scrollbars=yes,width=330,height=310,top=200,left=200");

}

//-->



var isDOM = (document.getElementById ? true : false); 

var isIE4 = ((document.all && !isDOM) ? true : false);

var isNS4 = (document.layers ? true : false);

function getRef(id) {

	if (isDOM) return document.getElementById(id);

	if (isIE4) return document.all[id];

	if (isNS4) return document.layers[id];

}

var isNS = navigator.appName == "Netscape";

function moveRightEdge() {

	var yMenuFrom, yMenuTo, yOffset, timeoutNextCheck;

	if (isNS4) {

		yMenuFrom   = divMenu.top;

		yMenuTo     = windows.pageYOffset + 0;   // À§ÂÊ À§Ä¡

	} else if (isDOM) {

		yMenuFrom   = parseInt (divMenu.style.top, 10);

		yMenuTo     = (isNS ? window.pageYOffset : document.body.scrollTop) + 0; // À§ÂÊ À§Ä¡

		if(yMenuTo >158)

			yMenuTo-=158;

		else yMenuTo=0;

	}

	timeoutNextCheck = 500;

	if (yMenuFrom != yMenuTo) {

		yOffset = Math.ceil(Math.abs(yMenuTo - yMenuFrom) / 20);

		if (yMenuTo < yMenuFrom)

			yOffset = -yOffset;

		if (isNS4)

			divMenu.top += yOffset;

		else if (isDOM)

			divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;

			timeoutNextCheck = 10;

	}

	setTimeout ("moveRightEdge()", timeoutNextCheck);

}



function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.0

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && document.getElementById) x=document.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}



function MM_showHideLayers() { //v6.0

  var i,p,v,obj,args=MM_showHideLayers.arguments;

  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];

    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }

    obj.visibility=v; }

}



// form.reset

function formClear(Obj)

{

	Obj.reset();

}



//°´Ã¼ È°¼º,ºñÈ°¼º ¼³Á¤ ÇÔ¼ö

function showObject(Obj,Boolen)

{

	if(Boolen){					//È°¼ºÈ­

		Obj.disabled = false;

		Obj.style.background = "#ffffff";

	}

	else{						//ºñÈ°¼ºÈ­

		Obj.disabled = true;

		Obj.style.background = "#dddddd";

	}

}

//°´Ã¼ È°¼º,ºñÈ°¼º ¼³Á¤ ÇÔ¼ö

function checkshowObject(Obj,Boolen)

{

	Boolen ? Obj.disabled = false: Obj.disabled = true;

}



/* ¹è¿­ Ã³¸® ÇÔ¼ö */

//Ãß°¡

function addArray(Obj,Val)

{

	var arrLength= Obj.length;

	Obj[arrLength] = Val;

}



//»èÁ¦

function delArray(Obj,Index)

{

	var temp=new Array();

	var nextIndex = Index +1;



	for(i=0,j=0;i<Obj.length;i++){

		if(i!=Index){

			temp[j] = Obj[i];

			j++;

		}

	}

	for(i=0;i<temp.length;i++)

		Obj[i]=temp[i];

	return temp.length;

}



//Á¤·Ä   0:³»¸²Â÷¼ø  1:¿À¸§Â÷¼ø

function sortArray(Obj,Method)

{

	Obj.sort();

	if(!Method)

		Obj.reverse();

}



//ÇÑ±ÛÃ¼Å©

function hanCheck(Str)

{

	var Re=false;

	for(i=0;i<Str.length;i++){

		var a=Str.charCodeAt(i);

		if (a > 128) {

			Re=true;

		}

	}

	return Re;

}



//ÆÄÀÏ¸í ÇÑ±Û Ã¼Å©

function filehanCheck(Str)

{

	var Arr = new Array();

	var Re=false;

	Arr=Str.split("\\");

	return hanCheck(Arr[Arr.length-1]);

}



//¼ýÀÚÃ¼Å©

function numCheck(Str)

{

    var Re=true;

	for(i=0;i<Str.length;i++){

		var a=Str.charCodeAt(i);

		if(a<48 || a>57)

			Re=false;

	}

	return Re;		

}



//¿¬¶ôÃ³Ã¼Å©

function telCheck(Tel1, Tel2, Tel3){

	var Re=true;

	if(!numCheck(Tel1) ||!numCheck(Tel2) ||!numCheck(Tel3) )

		Re = false;

	else if(Tel1.length <2 || Tel1.length >3)

		Re = false;

	else if(Tel2.length <3 || Tel2.length >4)

		Re = false;

	else if(Tel3.length <4 || Tel3.length >4)

		Re = false;

	return Re;

}



//ÀÌ¹ÌÁöÈ®´ë

function zoom(idx,File,Width,Height)

{

	if(!Width || !Height){

		alert("ÀÌ¹ÌÁö°¡ Á¸ÀçÇÏÁö ¾Ê°Å³ª ÀÌ¹ÌÁö Å©±âÁ¤º¸°¡ ¿Ã¹Ù¸£Áö ¾Ê½À´Ï´Ù.");

	}else{

		window.open("zoom.php?idx="+idx+"&img="+File,"","scrollbars=yes,width="+Width+",height="+Height+",top=200,left=200");

	}

}

/*

function zoom2(File,Width,Height)

{

	if(!Width || !Height){

		alert("ÀÌ¹ÌÁö°¡ Á¸ÀçÇÏÁö ¾Ê°Å³ª ÀÌ¹ÌÁö Å©±âÁ¤º¸°¡ ¿Ã¹Ù¸£Áö ¾Ê½À´Ï´Ù.");

	}else{

		window.open("zoom2.php?img="+File,"","scrollbars=no,width="+Width+",height="+Height+",top=200,left=200");

	}

}

*/

//ÀÌ¹ÌÁöÈ®´ë (Å¸ÀÌÆ²)

function zoomTitle(File,Width,Height,Title)

{

	if(!Width || !Height){

		alert("ÀÌ¹ÌÁö°¡ Á¸ÀçÇÏÁö ¾Ê°Å³ª ÀÌ¹ÌÁö Å©±âÁ¤º¸°¡ ¿Ã¹Ù¸£Áö ¾Ê½À´Ï´Ù.");

	}else{

		window.open("zoom.php?img="+File+"&title="+Title,"","scrollbars=no,width="+Width+",height="+Height+",top=200,left=200");

	}

}



//<tr> ¹è°æ»ö ¹Ù²Ù±â

function bgcolorChange(Obj,Color)

{

	Obj.backgroundColor = Color;

}



//ÁÖ¹Îµî·Ï¹øÈ£ Ã¼Å©

function bsshChek(str_jumin1,str_jumin2)

{

	var i3=0;

	var re_value=true;

    for (var i=0;i<str_jumin1.length;i++)

    {

		var ch1 = str_jumin1.substring(i,i+1);

        if (ch1<'0' || ch1>'9') { i3=i3+1 }

    }

    if ((str_jumin1 == '') || ( i3 != 0 ))

		re_value=false;

	

    var i4=0;

    for (var i=0;i<str_jumin2.length;i++)

    {

		var ch1 = str_jumin2.substring(i,i+1);

        if (ch1<'0' || ch1>'9') { i4=i4+1 }

    }

	if ((str_jumin2 == '') || ( i4 != 0 ))

		re_value=false;

    if(str_jumin1.substring(0,1) < 4)

		re_value=false;

    if(str_jumin2.substring(0,1) > 2)

		re_value=false;

    if((str_jumin1.length > 7) || (str_jumin2.length > 8))

		re_value=false;

    if ((str_jumin1 == '72') || ( str_jumin2 == '18'))

		re_value=false;

                

    var f1=str_jumin1.substring(0,1)

    var f2=str_jumin1.substring(1,2)

    var f3=str_jumin1.substring(2,3)

    var f4=str_jumin1.substring(3,4)

    var f5=str_jumin1.substring(4,5)

    var f6=str_jumin1.substring(5,6)

    var hap=f1*2+f2*3+f3*4+f4*5+f5*6+f6*7

    var l1=str_jumin2.substring(0,1)

    var l2=str_jumin2.substring(1,2)

    var l3=str_jumin2.substring(2,3)

    var l4=str_jumin2.substring(3,4)

    var l5=str_jumin2.substring(4,5)

    var l6=str_jumin2.substring(5,6)

    var l7=str_jumin2.substring(6,7)

    hap=hap+l1*8+l2*9+l3*2+l4*3+l5*4+l6*5;

    hap=hap%11;

    hap=11-hap;

    hap=hap%10;



	if (hap != l7) 

		re_value=false;

    var i9=0;



	return re_value;

}



//¸¸³ªÀÌ Ã¼Å©

function manChek(ssh1)

{

	var today = new Date();

	var day = today.getDate();

	var month = today.getMonth()+1;

	var year = today.getYear();



	ssh=year*10000+month*100+day;

	ssh=ssh-ssh1-19000000;

	return ssh;

}



//ÀÌ¸ÞÀÏÃ¼Å©

function isEmail(str) {

  var supported = 0;

  if (window.RegExp) {

    var tempStr = "a";

    var tempReg = new RegExp(tempStr);

    if (tempReg.test(tempStr)) supported = 1;

  }

  if (!supported) 

    return (str.indexOf(".") > 2) && (str.indexOf("@") > 0);

  var r1 = new RegExp("(@.*@)|(\\.\\.)|(@\\.)|(^\\.)");

  var r2 = new RegExp("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$");

  return (!r1.test(str) && r2.test(str));

}



//»óÇ° ¼±ÅÃ

function selectGoods(Obj)

{

	Action="goods_select.php?Obj="+Obj;

	window.open(Action,"","scrollbars=yes,width=500,height=670,top=100,left=150");

}



//ÄíÅ°ÀúÀå

function setCookie( name, value, expiredays )

{

	var todayDate = new Date();

	todayDate.setDate( todayDate.getDate() + expiredays );

	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"

	//document.cookie = name + "=" + escape( value ) + "; path=/;";

}



//Ä®·¯ ¹Ú½º

//       setColor(string mul|sin, string bg|style  string  id)

function setColor(Part1,Part2,Obj)

{

	window.open("color.php?part1="+Part1+"&part2="+Part2+"&target="+Obj,"","scrollbars=yes,width=350,height=110,left=300,top=300");

}



//1Â÷Ä«Å×°í¸® ¸¶¿ì½º ¾Æ¿ô ¼³Á¤

function layerImgOut(Name,Src)

{

	Name.src=Src;

}



//»óÇ° °Ë»ö Æû

function goodsSearchSendit(Obj)

{

	if(Obj.searchstring.value==""){

		alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.");

		Obj.searchstring.focus();

	}else if(Obj.search.selectedIndex==1 && !numCheck(Obj.searchstring.value)){

		alert("°¡°Ý ¼³Á¤ÀÌ ¿Ã¹Ù¸£Áö ¾Ê½À´Ï´Ù.");

		Obj.searchstring.focus();

	}else{

		Obj.submit();

	}

}



//¸ÞÀÏº¸³»±â

function sendMail(To)

{

	window.open("./email/mail.php?To="+To,"","scrollbars=yes,left=200,top=200,width=400,height=483");

}











//Áñ°ÜÃ£±âÃß°¡

function myFavorite(){ 

window.external.AddFavorite('http://eagleeyedshop.3way.co.kr/', '[ÀÌ±Û¾ÆÀÌµå°ñÇÁÈ­]') 

} 

 



function F5keydown(){ 

  if(event.keyCode== 116) { 

    window.event.keyCode = ""; location.reload(); return false;   

  } 

} 

document.onkeydown=F5keydown; 



function open_win(dst) {

  var win=window.open(dst,'sample', 'width=800,height=600, scrollbars=yes,top=100,left=150');

  }



  //ÀÌºÏ

  function show(url,_width,_height) 

	{ 

		if(window.clientInformation.userAgent.indexOf("SV1")>0){ //--WindowXP SP2°¡ ¼³Ä¡µÈ È¯°æ¿¡¼­ÀÇ ¼¼ÆÃÀÔ´Ï´Ù. 

			newWin = window.open(url,"","toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=1024 height=768 top=0 left=0"); 

			newWin.moveTo(0,0); 

			left1=(screen.availWidth-1024-5)/2; //--1024X768 ÇØ»óµµÀÇ ¸ð´ÏÅÍ¿¡¼­ ³ªÅ¸³ª´Â eBook Popup Ã¢ÀÇ °¡·Î Áß¾Ó À§Ä¡¸¦ ÁöÁ¤ÇÕ´Ï´Ù. 

			top1=(screen.availHeight-768-10)/2; //--1024X768 ÇØ»óµµÀÇ ¸ð´ÏÅÍ¿¡¼­ ³ªÅ¸³ª´Â eBook Popup Ã¢ÀÇ ¼¼·Î Áß¾Ó À§Ä¡¸¦ ÁöÁ¤ÇÕ´Ï´Ù. 

			//À§ 1024, 768 ÀÇ Á¶Á¤À¸·Î Ã¢ÀÌ ³ªÅ¸³ª´Â À§Ä¡¸¦ Á¶Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. 



			newWin.resizeTo(1024,768); 

			newWin.moveTo(left1,top1); 

		}

		else{ //--Windows XP SP2 °¡ ¼³Ä¡µÈ È¯°æÀ» Á¦¿ÜÇÑ È¯°æ¿¡¼­ÀÇ ¼¼ÆÃÀÔ´Ï´Ù. 

			if(screen.width==_width&&screen.height==_height) { 

				window.open(url,"","fullscreen"); 

			} 

			else { 

				left1=(screen.availWidth-1024-5)/2; 

				top1=(screen.availHeight-768-10)/2; 

				window.open(url,"","toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=1024 height=768 top="+top1+" left="+left1); 

			} 

		} 

	} 

	

	
  //ÀÌºÏ

  function show2(url,_width,_height) 

	{ 

		if(window.clientInformation.userAgent.indexOf("SV1")>0){ //--WindowXP SP2°¡ ¼³Ä¡µÈ È¯°æ¿¡¼­ÀÇ ¼¼ÆÃÀÔ´Ï´Ù. 

			newWin = window.open(url,"","toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=1024 height=768 top=0 left=0"); 

			newWin.moveTo(0,0); 

			left1=(screen.availWidth-510-5)/2; //--1024X768 ÇØ»óµµÀÇ ¸ð´ÏÅÍ¿¡¼­ ³ªÅ¸³ª´Â eBook Popup Ã¢ÀÇ °¡·Î Áß¾Ó À§Ä¡¸¦ ÁöÁ¤ÇÕ´Ï´Ù. 

			top1=(screen.availHeight-480-10)/2; //--1024X768 ÇØ»óµµÀÇ ¸ð´ÏÅÍ¿¡¼­ ³ªÅ¸³ª´Â eBook Popup Ã¢ÀÇ ¼¼·Î Áß¾Ó À§Ä¡¸¦ ÁöÁ¤ÇÕ´Ï´Ù. 

			//À§ 1024, 768 ÀÇ Á¶Á¤À¸·Î Ã¢ÀÌ ³ªÅ¸³ª´Â À§Ä¡¸¦ Á¶Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. 



			newWin.resizeTo(510,480); 

			newWin.moveTo(left1,top1); 

		}

		else{ //--Windows XP SP2 °¡ ¼³Ä¡µÈ È¯°æÀ» Á¦¿ÜÇÑ È¯°æ¿¡¼­ÀÇ ¼¼ÆÃÀÔ´Ï´Ù. 

			if(screen.width==_width&&screen.height==_height) { 

				window.open(url,"","fullscreen"); 

			} 

			else { 

				left1=(screen.availWidth-510-5)/2; 

				top1=(screen.availHeight-480-10)/2; 

				window.open(url,"","toolbar=no location=no directories=no status=no menubar=no scrollbars=no resizable=no width=510 height=480 top="+top1+" left="+left1); 

			} 

		} 

	} 



	      function showBoard(show){

				if(show == "1"){

					Board1.style.display = '';

					Board2.style.display = 'none';

					Board3.style.display = 'none';

					Board4.style.display = 'none';

					Board5.style.display = 'none';

					



				}else if(show == "2"){

					Board1.style.display = 'none';

					Board2.style.display = '';

					Board3.style.display = 'none';

					Board4.style.display = 'none';

					Board5.style.display = 'none';



				}else if(show == "3"){

					Board1.style.display = 'none';

					Board2.style.display = 'none';

					Board3.style.display = '';

					Board4.style.display = 'none';

					Board5.style.display = 'none';

					

				}else if(show == "4"){

					Board1.style.display = 'none';

					Board2.style.display = 'none';

					Board3.style.display = 'none';

					Board4.style.display = '';

					Board5.style.display = 'none';

					

				}else if(show == "5"){

					Board1.style.display = 'none';

					Board2.style.display = 'none';

					Board3.style.display = 'none';

					Board4.style.display = 'none';

					Board5.style.display = '';

					

				}

			}

function addFavorite()

{

 if(!document.getElementById) return false;

 if(!document.getElementById("btnFavorite")) return false;

 var favorId = document.getElementById("btnFavorite"); 

 var _favorUrl = window.location.href;

 var _favorTitle = document.title;

 favorId.onclick = function()

 {

  if(window.sidebar)

  {

   window.sidebar.addPanel(_favorTitle, _favorUrl, "");

  }

  else if(window.external)    //IE

  {   

   try

  {

    window.external.AddFavorite(_favorUrl, _favorTitle); 

   }

   catch(e)

   {

    return true;

   }

  }

  else

 {

   this.href = _favorUrl;

   this.title = _favorTitle;

   this.rel = "sidebar";

   return true;

  }

 }; 

}

window.onload = addFavorite;





















function pagePrint(Obj) { 

    var W = 700;        //screen.availWidth; 

    var H = 2000;        //screen.availHeight; 

    var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; 

    var PrintPage = window.open("about:blank",Obj.id,features); 

    PrintPage.document.open(); 

    PrintPage.document.write("<html><head><title></title><style type='text/css'>body, tr, td, input, textarea { font-family:±¼¸²; font-size:12px; }</style>\n</head>\n<body>" + Obj.innerHTML + "\n</body></html>"); 

    PrintPage.document.close(); 

    PrintPage.document.title = document.domain; 

    PrintPage.print(PrintPage.location.reload()); 

} 











function popimage(imagesrc,winwidth,winheight){

var look='width='+winwidth+',height='+winheight+','

popwin=window.open("","",look)

popwin.document.open()

popwin.document.write('<title>ÀÌ¹ÌÁö¸¦ Å¬¸¯ÇÏ½Ã¸é Ã¢ÀÌ ´ÝÈü´Ï´Ù.</title><body topmargin=0 leftmargin=0><img onclick="self.close()" src="'+imagesrc+'" style="cursor:hand"></body>')

popwin.document.close()

}

