$(function(){
$("#sub").hide();
$("#music-title").hover(function(){
$("#sub:not(:animated)").slideDown("fast");
},function(){
$("#sub:not(:animated)").slideUp("fast");
})
})

$(function(){
$("#shinchaku-pop").hide();
$("#kakolive-pop").hide();
$("#pro-d-pop").hide();
$("#pro-v-pop").hide();
$("#pro-b-pop").hide();
$("#fura-popo").hide();
$("body").append("<div id='glayLayer'></div><div id='overLayer'></div>");
$("body").append("<div id='glayLayer-po'></div><div id='overLayer-po'></div>");

$("#glayLayer,#glayLayer-po").click(function(){
$("#glayLayer,#glayLayer-po").hide();
$("#overLayer,#overLayer-po").hide();
});



$("#bra-m").click(function(){
$("#glayLayer").show()
$("#overLayer").show().load("m5.html #o-out");
return false;
});

$("#moon-m").click(function(){
$("#glayLayer").show()
$("#overLayer").show().load("m6.html #o-out");
return false;
});

$("#bleed-m").click(function(){
$("#glayLayer").show()
$("#overLayer").show().load("m3.html #o-out");
return false;
});

$("#marie-m").click(function(){
$("#glayLayer").show()
$("#overLayer").show().load("m4.html #o-out");
return false;
});

$("#honest").click(function(){
$("#glayLayer").show()
$("#overLayer").show().load("m7.html #o-out");
return false;
});

$("#saveme").click(function(){
$("#glayLayer").show()
$("#overLayer").show().load("m8.html #o-out");
return false;
});

$("#kakosin").click(function(){
$("#glayLayer-po").show();
$("#overLayer-po").show().html($("#shinchaku-pop").html()).css({
marginTop:"-"+$("#overLayer-po").height()/2+"px" , 
marginLeft:"-"+$("#overLayer-po").width()/2+"px" 
});
return false;
});

$("#kako-live-a").click(function(){
$("#glayLayer-po").show();
$("#overLayer-po").show().html($("#kakolive-pop").html()).css({
marginTop:"-"+$("#overLayer-po").height()/2+"px" , 
marginLeft:"-"+$("#overLayer-po").width()/2+"px" 
});
return false;
});

$("#pro-v").click(function(){
$("#glayLayer-po").show();
$("#overLayer-po").show().html($("#pro-v-pop").html()).css({
marginTop:"-"+$("#overLayer-po").height()/2+"px" , 
marginLeft:"-"+$("#overLayer-po").width()/2+"px" 
});
return false;
});

$("#pro-d").click(function(){
$("#glayLayer-po").show();
$("#overLayer-po").show().html($("#pro-d-pop").html()).css({
marginTop:"-"+$("#overLayer-po").height()/2+"px" , 
marginLeft:"-"+$("#overLayer-po").width()/2+"px" 
});
return false;
});

$("#pro-b").click(function(){
$("#glayLayer-po").show();
$("#overLayer-po").show().html($("#pro-b-pop").html()).css({
marginTop:"-"+$("#overLayer-po").height()/2+"px" , 
marginLeft:"-"+$("#overLayer-po").width()/2+"px" 
});
return false;
});


$("#hura-po").click(function(){
$("#glayLayer-po").show();
$("#overLayer-po").show().html($("#fura-popo").html()).css({
marginTop:"-"+$("#overLayer-po").height()/2+"px" , 
marginLeft:"-"+$("#overLayer-po").width()/2+"px" 
});
return false;
});


if($.browser.msie && $.browser.version<7){
$(window).scroll(function(){
$("#glayLayer").get(0).style.setExpression("top","$(document).scrollTop()+'px'");
$("#overLayer,#overLayer-po").get(0).style.setExpression("top","($(document).scrollTop()+$(window).height()/2)+'px'");
});
}

});

$(function() {
$('a.video').lightpop();
});
















