//pop up
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//
//function notes(eve){
//    if(document.all){
//        if(event.button == 2){
//            alert("‰æ‘œ•Û‘¶‹ÖŽ~ (C)NINE");
//            return false;
//        }
//    }
//    if(document.layers){
//        if(eve.which == 3){
//            alert("‰æ‘œ•Û‘¶‹ÖŽ~ (C)NINE");
//            return false;
//        }
//    }
//}
//if(document.layers)document.captureEvents(Event.MOUSEDOWN);
//document.onmousedown=notes;

<!-- CONTENTS -->

function shopinfo()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="320" height="400">\n');
    document.write('<param name=movie value="../shop/images/shopinfo.swf">\n');
    document.write('<param name=quality value=high>\n');
    document.write('<embed src="../shop/images/shopinfo.swf" quality=high pluginspage="http://www.macromedia.com/jp/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="320" height="400"></embed>\n');
    document.write('</object>\n');
}

<!-- scroll bar -->

//var scroller  = null;
//var scrollbar = null;
//var scrollTween = null;
//var set_one = [0,1,3,6,10,15,21,28,36,45,55,64,72,79,85,90,94,97,99,100];
//var set_two = [0,25,50,70,85,95,97,99,100];
//var set_three = [0,10,20,30,40,50,60,70,80,90,100];
//var set_four = [0,25,50,70,85,95,100,105,101,97,100,99,100];
//
//window.onload = function () {
//	scroller  = new jsScroller(document.getElementById("News"), 540, 510);
//	scrollbar = new jsScrollbar (document.getElementById("Scrollbar-Container"), scroller, true, scrollbarEvent);
//	scrollTween = new jsScrollerTween (scrollbar, true);
//	scrollbar._scrollDist = 10;
//}

//function swapSteps (w) {
//	scrollTween.steps = w;
//}
//
//function scrollbarEvent (o, type) {
//	if (type == "mousedown") {
//		if (o.className == "Scrollbar-Track") o.style.backgroundColor = "#E3E3E3";
//		else o.style.backgroundColor = "#BBB";
//	} else {
//		if (o.className == "Scrollbar-Track") o.style.backgroundColor = "#EEE";
//		else o.style.backgroundColor = "#CCC";
//	}
//}
//
function swapIt(o) {
	o.blur();
	if (o.className == "current") return false;
  
	var list = document.getElementById("Navigation").getElementsByTagName("a");
	for (var i = 0; i < list.length; i++) {
		if (list[i].className == "current") {
			list[i].className = "";
			document.getElementById(list[i].title).y = -scroller._y;
		}
		if (list[i].title == o.title) o.className = "current";
	}
  
	list = document.getElementById("Container").childNodes;
	for (var i = 0; i < list.length; i++) {
		if (list[i].tagName == "DIV") list[i].style.display = "none";
	}
  
	var top = document.getElementById(o.title);
	top.style.display = "block";
	scrollbar.swapContent(top);
	if (top.y) scrollbar.scrollTo(0, top.y);
  
	return false;

}


// product/show image change
var pictures = [];
var current_pic_index = 0;
function setPic(num,src,title) {
  pictures.push({"src": src, "title": title});
}
function changePic(num, diff, pic_id, back_id, next_id, title_id){
  if (diff != 0) {
    if (diff == -1 && current_pic_index > 0) {
      current_pic_index -= 1;
    } else if (diff == 1 && current_pic_index < pictures.length - 1) {
      current_pic_index += 1;
    }
  } else {
    current_pic_index = num;
  }
	
	if (back_id && next_id) {
    if (current_pic_index == 0) {
      document.getElementById(back_id).style.display = 'none';
    } else {
      document.getElementById(back_id).style.display = 'block';
    }
    if (current_pic_index == pictures.length - 1) {
      document.getElementById(next_id).style.display = 'none';
    } else {
      document.getElementById(next_id).style.display = 'block';
    }
  }
  var picture = pictures[current_pic_index];
  if (picture) {
    document.getElementById(pic_id).src = picture["src"];
		if (title_id && picture["title"]) {
			title = document.getElementById(title_id);
      if (typeof title.textContent != "undefined") {
        title.textContent = picture["title"];
      } else {
        title.innerText = picture["title"];
      }
		}
  }
}

