function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 0)
{
real_url = url_str.split('/');
real_url = real_url[0]+'//'+real_url[2]+'/'+real_url[3]+'/';
}
return real_url;
}
function goLocate(go_url)
{
document.location = purl + go_url;
}
$(document).ready(function(){
$("div#menu > ul > li").click(function() {
if($(">a", this).hasClass("on")){
$(".submenu", this).slideUp('fast');
$(">a", this).removeClass("on");
}else{
$("div#menu .submenu").slideUp('fast');
$("div#menu ul li > a").removeClass("on");
$(".submenu", this).slideDown('fast');
$(">a", this).addClass("on");
}
});
$("h2#mob_menu").click(function() {
if($("div#menu").hasClass("mob")){
$("img",this).attr('src',purl+'img/youlbit/mob_menu.gif');
$("div#menu").hide('slow');
$("div#menu").css({'display':'none'});
$("div#menu").removeClass('mob');
}else{
$("img",this).attr('src',purl+'img/youlbit/mob_menu_close.gif');
$("div#menu").show('fast');
$("div#menu").addClass('mob');
}
});
$("div#menu > ul > li").hover(function() {
if($(this).parent().parent().hasClass("mob")){
preventDefault();
}else{
$(".pc .menu_line",this).stop(true).animate({ "width" : "50%" }, 200);
$(this).parent().parent().stop(true).animate({ "height" : "200px" }, 200);
$("div#menu ul li > a").removeClass("on");
$(">a", this).addClass("on");
}
},function(){
if($(this).parent().parent().hasClass("mob")){
preventDefault();
}else{
$(".pc .menu_line",this).stop(true).animate({ "width" : "0" }, 200);
$(this).parent().parent().stop(true).animate({ "height" : "58px" }, 200);
$(">a", this).removeClass("on");
}
});
$("h2#quick_menu").click(function() {
$("#main_quick_bg").slideUp('fast');
});
});
$( document ).ready( function() {
$( 'div.viewer_content_01' ).removeAttr( 'style' );
$( 'div#post_area img' ).removeAttr( 'style' );
$( 'div#post_area img' ).css('width','95%').css('height','auto').css('max-width','750px');
});