MJL.event.add(window, "load", function(event) {
    // MJL に関係するコードはこの中に記述
	MJL.enable.heightEqualizer("equalize");
	MJL.enable.flash("flash");
	MJL.enable.rollover("roll", {disable:"unroll"});
}, false);

// MJL と無関係なコードはこの先に記述



function pullDown(){
pd_menu=document.getElementById("pd-menu");
pd_menus=pd_menu.getElementsByTagName("LI");
for(var i=0; i<pd_menus.length; i++){
	pd_menus[i].onmouseover=function(){
		this.style.zIndex="1";
		inner=this.getElementsByTagName("UL");
		if(inner.length==1){
		inner[0].style.display="block";
		}
		if(inner.length==1){
		inner[0].style.zIndex="10";
		}
	}
	pd_menus[i].onmouseout=function(){
		this.style.zIndex="";
		inner=this.getElementsByTagName("UL");
		if(inner.length==1){
		inner[0].style.display="none";
		}
		if(inner.length==1){
		inner[0].style.zIndex="";
		}
	}

}
}

// 

function addLoadEvent(func) {
var oldonload = window.onload;
if (typeof window.onload !='function') {
window.onload = func;
} else {
window.onload = function() {
oldonload();
func();
}
}
}

addLoadEvent(pullDown);


// 

function notes(eve){
if(document.all){
  if(event.button == 2){
  alert("右クリック禁止になっています。画像のコピーはしないでね！");
  return false;
  }
}
if(document.layers){
  if(eve.which == 3){
  alert("右クリック禁止になっています。画像のコピーはしないでね！");
  return false;
  }
}
}

if(document.layers)document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=notes;


function popup(url){
window.open(
		url,
		'popup',
		'width=480,height=397,scrollbars=0,resizable=1')

}

