// JavaScript Document$(document).ready(function() {    $(".topMenuAction").click( function() {        if ($("#openCloseIdentifier").is(":hidden")) {            $("#g_navi_contents").animate({                marginTop: "-140px"                }, 600 );            $("#topMenuImage").html('<img src="http://dieci-cafe.com/images/g_navi_button.gif"/>');            $("#openCloseIdentifier").show();        } else {            $("#g_navi_contents").animate({                marginTop: "0px"                }, 600 );            $("#topMenuImage").html('<img src="http://dieci-cafe.com/images/g_navi_button2.gif"/>');            $("#openCloseIdentifier").hide();        }    }); });$(function(){     $("#totop a").click(function(){     $('html,body').animate({ scrollTop: $($(this).attr("href")).offset().top }, 'slow','swing');     return false;     })});$(document).ready(	function(){ 		$('#image_container').innerfade({ 			speed: 1500, 			timeout: 6000, 			type: 'sequence', 			containerheight: '300px' 		}); 	} );/*$(document).ready(  function(){    $("#container a img").hover(function(){       $(this).fadeTo("normal", 0.6); // マウスオーバーで透明度を60%にする    },function(){       $(this).fadeTo("normal", 1.0); // マウスアウトで透明度を100%に戻す    });  });*/$(document).ready(function(){				$("a[rel='example1']").colorbox();				$("a[rel='example2']").colorbox({transition:"fade"});                $("a[rel='example2-1']").colorbox({transition:"fade"});				$("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});				$("a[rel='example4']").colorbox({slideshow:true});				$(".example5").colorbox({width:"90%", height:"80%"});				$(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});				$(".example7").colorbox({width:"600px", height:"125px", iframe:true});                $(".example7-2").colorbox({width:"600px", height:"80px", iframe:true});                $(".example7-3").colorbox({width:"600px", height:"95px", iframe:true});				$(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});				$(".example9").colorbox({					onOpen:function(){ alert('onOpen: colorbox is about to open'); },					onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },					onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },					onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },					onClosed:function(){ alert('onClosed: colorbox has completely closed'); }				});								$("#click").click(function(){ 					$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");					return false;				});			});	$(document).ready(function() {		$('div.main_box').fadeIn(600);	});	$(document).ready(function() {		$('div.main_box-archive').fadeIn(600);	});$(function(){     $(".form1").focus(function(){          if(this.value == "Name"){               $(this).val("").css("color","#000000");          }     });     $(".form1").blur(function(){          if(this.value == ""){               $(this).val("Name").css("color","#969696");          }     });});$(function(){     $(".form2").focus(function(){          if(this.value == "Mail"){               $(this).val("").css("color","#000000");          }     });     $(".form2").blur(function(){          if(this.value == ""){               $(this).val("Mail").css("color","#969696");          }     });});$(function(){     $(".form3").focus(function(){          if(this.value == "Subject"){               $(this).val("").css("color","#000000");          }     });     $(".form3").blur(function(){          if(this.value == ""){               $(this).val("Subject").css("color","#969696");          }     });});$(function(){     $(".search").focus(function(){          if(this.value == "Search"){               $(this).val("").css("color","#000000");          }     });     $(".search").blur(function(){          if(this.value == ""){               $(this).val("Search").css("color","#969696");          }     });});$(function(){  jQuery('img.bgmaximage').maxImage({   isBackground: true,   overflow: 'hidden' });});
