function openCondition() {
	w = window.open("condition.html", "CONDITION", "width=520,height=500,scrollbars=yes,titlebar=yes,toolbar=yes");
	}
function openPrice() {
	w = window.open("price.shtml", "現在のカート", "width=520,height=500,scrollbars=yes,titlebar=yes,toolbar=yes");
	}

function closeW() {
	w = window.close();
	}

function closeMyWindow(){
   var nvua = navigator.userAgent;
   if(nvua.indexOf(’MSIE’) >= 0){
   if(nvua.indexOf(’MSIE 5.0′) == -1) {
      top.opener = ‘’;
      }
   }
   else if(nvua.indexOf(’Gecko’) >= 0){
      top.name = ‘CLOSE_WINDOW’;
      wid = window.open('’,'CLOSE_WINDOW’);
      }
   top.close();
   }



function openLOW() {

	w = window.open("./low.html", "LOW", "width=520,height=600,scrollbars=no");

	}

function openFORM() {

	w = window.open("./form.html", "LOW", "width=520,height=600,scrollbars=yes,toolbar=yes");

	}

function openRESULT() {

	w = window.open("./result.html", "LOW", "width=520,height=600,scrollbars=no");

	}

function openEND() {

	w = window.open("./thanks.html", "LOW", "width=520,height=600,scrollbars=no");

	}



/*
var eOpenMenu = null;
function document.onmouseover () {
    var eSrc = window.event.srcElement;
    if (eSrc.className == "menuItem") {
        var eMenu = document.all[eSrc.id.replace("menu","child")];
        if (eOpenMenu && eOpenMenu != eMenu) {
            closeMenu(eOpenMenu);
        }
        if (eMenu) { openMenu(eSrc,eMenu); }
    }
    else if (eOpenMenu && !eOpenMenu.contains(eSrc) 
				&& !menuBar.contains(eSrc))     {
        closeMenu(eOpenMenu);
    }
}
*/

function openMenu (eSrc,eMenu) {
    eMenu.style.left = eSrc.offsetLeft;
    eMenu.style.top = menuBar.offsetHeight;
    eMenu.style.visibility = "visible";
    eOpenMenu = eMenu;
}

function closeMenu (eMenu) {
    eMenu.style.visibility = "hidden";
    eOpenMenu = null;
}

function inputMessage(){
   rMsg = "お買い上げありがとうございます！！\n\n選択した商品をショッピングカートにお入れします。\n\n注意）既にカートに入っている場合は、何も行われません。";
   alert( rMsg );
   }

function backto(){
	history.back();
	}
