<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;

var tmp1= tmp2= tmp3 =0;
tmp1 = document.body.clientHeight;
function heartBeat() {

	tmp2 = document.body.clientHeight;
	if(tmp1 != tmp2)
	{

		tmp3 =  tmp2 - tmp1;
		tmp1 = tmp2;
		if(tmp3<0)
		{

		}

	}

	if(IE) {
		diffY = document.body.scrollTop;
		diffX = 0;
		}

	if(NS) {
		diffY = self.pageYOffset;
		diffX = self.pageXOffset; }

	if(diffY != lastScrollY) {
		percent = .1 * (diffY - lastScrollY);

		if(percent > 0)
			percent = Math.ceil(percent);
		else
			percent = Math.floor(percent);

		if(IE)
			document.all.RVmenu.style.pixelTop += percent;
		if(NS)
			document.RVmenu.top += percent;

		lastScrollY = lastScrollY + percent;
	}

	if(diffX != lastScrollX) {
		percent = .1 * (diffX - lastScrollX);

		if(percent > 0)
			percent = Math.ceil(percent);
		else
			percent = Math.floor(percent);

		if(IE) document.all.RVmenu.style.pixelLeft += percent;
		if(NS) document.RVmenu.top += percent;
		lastScrollY = lastScrollY + percent;
	}
}
if(NS || IE) action = window.setInterval("heartBeat()",20);  // ½½¶óÀÌµù ´Ü°èÁ¶ÀýÀº µÞÂÊ ¼ýÀÚ·Î
//-->


// »óÇ°Á¤º¸
var __arrMenu_a = new Array(
  ""  //»óÇ°Á¤º¸
);

// È¸»çÁ¤º¸
var __arrMenu_b = new Array(
  ""  //È¸»çÁ¤º¸
);

// °Å·¡Á¤º¸
var __arrMenu_c = new Array(
  ""  //°Å·¡Á¤º¸
);

// ºñÁö´Ï½º¼¾ÅÍ
var __arrMenu_d = new Array(
  ""  //ºñÁö´Ï½º¼¾ÅÍ
);

// ¹«¿ªÀÚ·á½Ç
var __arrMenu_e = new Array(
   ""  //¹«¿ªÀÚ·á½Ç
);


// ¿À¸¥¹è³Ê
var __arrMenu_f = new Array(
  "http://www.agrotrade.net/index.html?mkmart=m", // ¸Þ´º1
  "http://www.agrotrade.net/index.html?mkmart=", // ¸Þ´º2
  "http://kr.agrotrade.net/index.html?mkmart="  // ¸Þ´º3
);

var __arrMenu = new Array(
  __arrMenu_a,
  __arrMenu_b,
  __arrMenu_c,
  __arrMenu_d,
  __arrMenu_e,
  __arrMenu_f
);

function kr_linkMenu(link){
  var d1 = parseInt(link.substring(0, 2)) - 1;
  var d2 = parseInt(link.substring(3)) - 1;
  document.location.href = __arrMenu[d1][d2];
}