var myAnchors=document.all.tags("A");
function focusBlur() {
	for (i=0;i<myAnchors.length;i++) {
		myAnchors[i].onfocus=new Function("myAnchors["+i+"].blur()");
	}
}


function Link(num){ 
	switch (num)
	{
		case 1: document.location.href="/shopinfo.asp";
			break;
	}
}


/**********************½ºÅ©·Ñ¸Þ´º ½ÃÀÛ**********************/
var stmnLEFT = 911; // ½ºÅ©·Ñ¸Þ´ºÀÇ ÁÂÃø À§Ä¡
var stmnGAP1 = 0; // ÆäÀÌÁö Çì´õºÎºÐÀÇ ¿©¹é
var stmnGAP2 = 10; // ½ºÅ©·Ñ½Ã ºê¶ó¿ìÀú »ó´Ü°úÀÇ ¿©¹é
var stmnBASE = 105; // ½ºÅ©·Ñ¸Þ´º ÃÊ±â ½ÃÀÛÀ§Ä¡
var stmnActivateSpeed = 500; // ¿òÁ÷ÀÓÀ» °¨ÁöÇÏ´Â ¼Óµµ (¼ýÀÚ°¡ Å¬¼ö·Ï ´Ê°Ô ¾Ë¾ÆÂ÷¸²)
var stmnScrollSpeed = 6; // ½ºÅ©·ÑµÇ´Â ¼Óµµ (Å¬¼ö·Ï ´Ê°Ô ¿òÁ÷ÀÓ)


function RefreshStaticMenu()
{
		var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;

		stmnStartPoint = parseInt(FloatMenu.style.top, 10);
		stmnEndPoint = document.body.scrollTop + stmnGAP2;
		if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;

		if ( stmnStartPoint != stmnEndPoint ) {
				stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
				FloatMenu.style.top = parseInt(FloatMenu.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
				stmnRefreshTimer = stmnScrollSpeed;
		}
								 else {
				stmnRefreshTimer = stmnActivateSpeed;
		}

		setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
}



function InitializeFloatMenu()
{
		FloatMenu.style.top = document.body.scrollTop + stmnBASE;
		RefreshStaticMenu();
		FloatMenu.style.left = stmnLEFT;
}


over="index.asp";
last="index.asp";


but_a = new Image();
but_b = new Image();
but_c = new Image();
but_d = new Image();

but_a.src = "/images/mysovo_cate01a.gif";
but_b.src = "/images/mysovo_cate02a.gif";
but_c.src = "/images/mysovo_cate03a.gif";
but_d.src = "/images/mysovo_cate04a.gif";

function bar_over(item) {
  over = item;
  if (item == 'a') {
	 document[item].src = but_a.src;}
  else if (item=='b') {
	 document[item].src = but_b.src;}
  else if (item=='c') {
	 document[item].src = but_c.src;}
  else if (item=='d') {
	 document[item].src = but_d.src;}
};

function bar_out(item1) {
  last = over;
  if (item1 == "a") {
	document.a.src = "/images/mysovo_cate01.gif"; }
else if (item1 == "b") {
	document.b.src = "/images/mysovo_cate02.gif"; }
else if (item1 == "c") {
	document.c.src = "/images/mysovo_cate03.gif"; }
else if (item1 == "d") {
	document.d.src = "/images/mysovo_cate04.gif"; }

};	



but_a2 = new Image();
but_b2 = new Image();
but_c2 = new Image();
but_d2 = new Image();
but_e2 = new Image();

but_a2.src = "/images/community_cate01a.gif";
but_b2.src = "/images/community_cate02a.gif";
but_c2.src = "/images/community_cate03a.gif";
but_d2.src = "/images/community_cate04a.gif";
but_e2.src = "/images/community_cate05a.gif";

function bar_over2(item) {
  over = item;
  if (item == 'a2') {
	 document[item].src = but_a2.src;}
  else if (item=='b2') {
	 document[item].src = but_b2.src;}
  else if (item=='c2') {
	 document[item].src = but_c2.src;}
  else if (item=='d2') {
	 document[item].src = but_d2.src;}
  else if (item=='e2') {
	 document[item].src = but_e2.src;}
};

function bar_out2(item1) {
  last = over;
  if (item1 == "a2") {
	document.a2.src = "/images/community_cate01.gif"; }
else if (item1 == "b2") {
	document.b2.src = "/images/community_cate02.gif"; }
  else if (item1 == "c2") {
	document.c2.src = "/images/community_cate03.gif"; }
  else if (item1 == "d2") {
	document.d2.src = "/images/community_cate04.gif"; }
  else if (item1 == "e2") {
	document.e2.src = "/images/community_cate05.gif"; }	
};	

//2004.10.15. Code by ÀÌÁö¼º
function noGalleryImg()
{
 var myGalleryimg=document.all.tags("img");
 // document ÀÇ ¸ðµç °´Ã¼Áß "img" ÅÂ±× °´Ã¼¸¦ myGalleryimg ¿¡ ³Ö´Â´Ù.
 // º¹¼öÀÏ°æ¿ì ¹è¿­·Î »ý¼ºµÈ´Ù.
 
 for (var i=0;i<myGalleryimg.length;i++)
 {
  //¹è¿­·Î ¼±¾ðµÈ ¸ðµç °´Ã¼ÀÇ ÀÌ¹ÌÁö°¶·¯¸® ¼Ó¼ºÀ» ¼³Á¤ÇÑ´Ù.
  myGalleryimg[i].galleryimg="no"; 
 }
 //alert(myGalleryimg.length); 
} 
 
onload=noGalleryImg;
//¹®¼­°¡ ÀÍ½ºÇÃ·Î·¯¿¡ ÀÇÇØ¼­ ¸ðµÎ ÀÐÈ÷°í ³­ ´ÙÀ½ noGalleryImg() ÇÔ¼ö¸¦ ½ÇÇàÇÑ´Ù.
//ÁÖÀÇ»çÇ× : noGalleryImg() Ã³·³ () ¸¦ »ðÀÔÇÏ¸é ¿¡·¯°¡ ¹ß»ýÇÑ´Ù.
//2004.10.15. Code by ÀÌÁö¼º
//-->
