(function(global){if(global["ACMS"])return false;var doc=global.document,nav=global.navigator,loc=global.location;var elm=doc.getElementById("acms-js");var query={};if(elm){var s=elm.src.split("?");if(1<s.length){var Query=parseQuery(s[1]);var key;for(key in Query)query[key]=Query[key]}}query.searchEngineKeyword="";if(doc.referrer.match(/^http:\/\/www\.google\..*(?:\?|&)q=([^&]+).*$|^http:\/\/search\.yahoo\.co\.jp.*(?:\?|&)p=([^&]+).*$|^http:\/\/www\.bing\.com.*(?:\?|&)q=([^&]+).*$/))query.searchEngineKeyword=
decodeURIComponent(RegExp.$1||RegExp.$2||RegExp.$3).replace(/\+/g," ");query.root="/";query.offset&&(query.root+=query.offset+"/");query.jsRoot=query.root+query.jsDir;query.hash=loc.hash;query.Gmap={sensor:nav.userAgent.match(/iPhone|Android/)?"true":"false"};var path=query.jsRoot;var ajax=nav.userAgent.match(/MSIE/)?new ActiveXObject("Msxml2.XMLHTTP"):new XMLHttpRequest;ajax.open("get",path+"library/jquery/jquery-"+query.jQuery+".min.js",false);ajax.send(null);eval(ajax.responseText);ajax.open("get",
path+"library/underscore-min.js",false);ajax.send(null);eval(ajax.responseText);var Config=function(key,value){if(!key)return"";if("string"==typeof key)if(!value)return"undefined"!=typeof this.Config[key]?this.Config[key]:"";else{this.Config[key]=value;return true}else $.extend(arguments.callee,key)};var Dispatch=function(){};var Library=function(){};Library.parseQuery=parseQuery;function loadClosureFactory(url,charset,pre,post){url="string"==typeof url?url:"";charset="string"==typeof charset?charset:
"";pre=$.isFunction(pre)?pre:function(){};post=$.isFunction(post)?post:function(){};return function(callSpecifiedFunction,async){if(!$.isFunction(callSpecifiedFunction))callSpecifiedFunction=function(){};var self=arguments.callee;if(!self.executed){self.executed=true;self.stack=[callSpecifiedFunction];if(!async){ajax.open("get",url,false);ajax.send(null);var acms_js_data_=ajax.responseText;pre();with(global)eval(acms_js_data_);post();self.loaded=true;return callSpecifiedFunction()}else{pre();$.ajax({url:url,
dataType:"script",scriptCharset:charset,complete:function(){post();self.loaded=true;while(self.stack.length)self.stack.shift()()}});return true}}else if(self.loaded)return callSpecifiedFunction();else{self.stack.push(callSpecifiedFunction);return true}}}loadClosureFactory.css=function(url,charset,prepend){if(!url)return false;var link=doc.createElement("link");link.type="text/css";link.rel="stylesheet";if(charset)link.charset=charset;link.href=url;var head=doc.getElementsByTagName("head")[0];if(prepend&&
head.firstChild)head.insertBefore(link,head.firstChild);else head.appendChild(link);return true};var loadClosureCollection={};loadClosureCollection.Dispatch=loadClosureFactory(path+"dispatch.js");loadClosureCollection.Dispatch._static2dynamic=loadClosureFactory(path+"dispatch/_static2dynamic.js");loadClosureCollection.Dispatch._static2dynamic_yolp=loadClosureFactory(path+"dispatch/_static2dynamic_yolp.js");loadClosureCollection.Dispatch._observefilesize=loadClosureFactory(path+"dispatch/_observefilesize.js");
loadClosureCollection.Dispatch._validate=loadClosureFactory(path+"dispatch/_validate.js");loadClosureCollection.Dispatch._revision=loadClosureFactory(path+"dispatch/_revision.js");loadClosureCollection.Dispatch.ckeditor=loadClosureFactory(path+"dispatch/ckeditor.js");loadClosureCollection.Dispatch.emoditor=loadClosureFactory(path+"dispatch/emoditor.js");loadClosureCollection.Dispatch.Utility=loadClosureFactory(path+"dispatch/utility.js");loadClosureCollection.Dispatch.Postinclude=loadClosureFactory(path+
"dispatch/postinclude.js");loadClosureCollection.Dispatch.Postinclude._postinclude=loadClosureFactory(path+"dispatch/postinclude/_postinclude.js");loadClosureCollection.Dispatch.Linkmatchlocation=loadClosureFactory(path+"dispatch/linkmatchlocation.js");loadClosureCollection.Dispatch.Admin=loadClosureFactory(path+"dispatch/admin.js");loadClosureCollection.Dispatch.Admin._media=loadClosureFactory(path+"dispatch/admin/_media.js");loadClosureCollection.Dispatch.Admin._tooltip=loadClosureFactory(path+
"dispatch/admin/_tooltip.js");loadClosureCollection.Dispatch.Admin.Configunit=loadClosureFactory(path+"dispatch/admin/configunit.js");loadClosureCollection.Dispatch.Edit=loadClosureFactory(path+"dispatch/edit.js");loadClosureCollection.Dispatch.Edit._add=loadClosureFactory(path+"dispatch/edit/_add.js");loadClosureCollection.Dispatch.Edit._change=loadClosureFactory(path+"dispatch/edit/_change.js");loadClosureCollection.Dispatch.Edit._emojiedit=loadClosureFactory(path+"dispatch/edit/_emojiedit.js");
loadClosureCollection.Dispatch.Edit._item=loadClosureFactory(path+"dispatch/edit/_item.js");loadClosureCollection.Dispatch.Edit._tagassist=loadClosureFactory(path+"dispatch/edit/_tagassist.js");loadClosureCollection.Dispatch.Edit._category=loadClosureFactory(path+"dispatch/edit/_category.js");loadClosureCollection.Dispatch.Edit._inplace=loadClosureFactory(path+"dispatch/edit/_inplace.js");loadClosureCollection.Dispatch.Edit._direct=loadClosureFactory(path+"dispatch/edit/_direct.js");loadClosureCollection.Dispatch.Edit._experimental=
loadClosureFactory(path+"dispatch/edit/_experimental.js");loadClosureCollection.Dispatch.Edit._media=loadClosureFactory(path+"dispatch/edit/_media.js");loadClosureCollection.Dispatch.Edit.map=loadClosureFactory(path+"dispatch/edit/map.js");loadClosureCollection.Dispatch.Edit.yolp=loadClosureFactory(path+"dispatch/edit/yolp.js");loadClosureCollection.Dispatch.highslide=loadClosureFactory(path+"dispatch/highslide.js");loadClosureCollection.Library=loadClosureFactory(path+"library.js");loadClosureCollection.Library.validator=
loadClosureFactory(path+"library/validator.js");loadClosureCollection.Library.highslide=loadClosureFactory(path+"library/highslide/highslide.js",null,function(){global["hs"]=void 0},function(){ACMS.Dispatch._highslideInit()});loadClosureCollection.Library.swfobject=loadClosureFactory(path+"library/swfobject/swfobject.js",null,function(){global["hs"]=void 0});loadClosureCollection.Library.ckeditor=loadClosureFactory(path+"library/ckeditor/ckeditor.js",null,function(){global["CKEDITOR"]=void 0;ACMS.Dispatch._ckeditorPre()},
function(){ACMS.Dispatch._ckeditorPost()});loadClosureCollection.Library.Jquery={};loadClosureCollection.Library.Jquery.biggerlink=loadClosureFactory(path+"library/jquery/jquery.biggerlink.min.js");loadClosureCollection.Library.Jquery.autoheight=loadClosureFactory(path+"library/jquery/jqueryAutoHeight.js");loadClosureCollection.Library.Jquery.cookie=loadClosureFactory(path+"library/jquery/jquery.cookie.js");loadClosureCollection.Library.Jquery.selection=loadClosureFactory(path+"library/jquery/jquery.selection.js");
loadClosureCollection.Library.Jquery.prettyphoto=loadClosureFactory(path+"library/jquery/prettyphoto/jquery.prettyPhoto.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/prettyphoto/css/prettyPhoto.css")});loadClosureCollection.Library.Jquery.bxslider=loadClosureFactory(path+"library/jquery/bxslider/jquery.bxslider.min.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/bxslider/jquery.bxslider.css")});loadClosureCollection.Library.googleCodePrettify=
loadClosureFactory(path+"library/google-code-prettify/prettify.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/google-code-prettify/styles/"+ACMS.Config.googleCodePrettifyTheme+".css")},function(){ACMS.Library.googleCodePrettifyPost()});loadClosureCollection.Library.Jquery.Ui={};loadClosureCollection.Library.Jquery.Ui.core=loadClosureFactory(path+"library/jquery/ui/jquery.ui.core.min.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/ui/css/"+ACMS.Config.uiTheme+
"/jquery.ui.theme.css");loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/ui/css/"+ACMS.Config.uiTheme+"/jquery.ui.core.css")});loadClosureCollection.Library.Jquery.Ui.widget=loadClosureFactory(path+"library/jquery/ui/jquery.ui.widget.min.js",null,function(){ACMS.Load.Library.Jquery.Ui.core()});loadClosureCollection.Library.Jquery.Ui.mouse=loadClosureFactory(path+"library/jquery/ui/jquery.ui.mouse.min.js");loadClosureCollection.Library.Jquery.Ui.position=loadClosureFactory(path+"library/jquery/ui/jquery.ui.position.min.js");
loadClosureCollection.Library.Jquery.Ui.draggable=loadClosureFactory(path+"library/jquery/ui/jquery.ui.draggable.min.js",null,function(){ACMS.Load.Library.Jquery.Ui.mouse()});loadClosureCollection.Library.Jquery.Ui.resizable=loadClosureFactory(path+"library/jquery/ui/jquery.ui.resizable.min.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/ui/css/"+ACMS.Config.uiTheme+"/jquery.ui.resizable.css");ACMS.Load.Library.Jquery.Ui.mouse()});loadClosureCollection.Library.Jquery.Ui.sortable=
loadClosureFactory(path+"library/jquery/ui/jquery.ui.sortable.min.js",null,function(){ACMS.Load.Library.Jquery.Ui.mouse()});loadClosureCollection.Library.Jquery.Ui.accordion=loadClosureFactory(path+"library/jquery/ui/jquery.ui.accordion.min.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/ui/css/"+ACMS.Config.uiTheme+"/jquery.ui.accordion.css")});loadClosureCollection.Library.Jquery.Ui.button=loadClosureFactory(path+"library/jquery/ui/jquery.ui.button.min.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+
"library/jquery/ui/css/"+ACMS.Config.uiTheme+"/jquery.ui.button.css")});loadClosureCollection.Library.Jquery.Ui.dialog=loadClosureFactory(path+"library/jquery/ui/jquery.ui.dialog.min.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/ui/css/"+ACMS.Config.uiTheme+"/jquery.ui.dialog.css");ACMS.Load.Library.Jquery.Ui.button();ACMS.Load.Library.Jquery.Ui.draggable();ACMS.Load.Library.Jquery.Ui.mouse();ACMS.Load.Library.Jquery.Ui.position();ACMS.Load.Library.Jquery.Ui.resizable()});
loadClosureCollection.Library.Jquery.Ui.tabs=loadClosureFactory(path+"library/jquery/ui/jquery.ui.tabs.min.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/ui/css/"+ACMS.Config.uiTheme+"/jquery.ui.tabs.css")});loadClosureCollection.Library.Jquery.Ui.datepicker=loadClosureFactory(path+"library/jquery/ui/jquery.ui.datepicker.min.js",null,function(){loadClosureFactory.css(ACMS.Config.jsRoot+"library/jquery/ui/css/"+ACMS.Config.uiTheme+"/jquery.ui.datepicker.css");ACMS.Load.Library.Jquery.Ui.core()});
loadClosureCollection.Library.google=loadClosureFactory(loc.protocol+"//www.google.com/jsapi");var ACMS=function(){};ACMS.Config=Config;ACMS.Load=loadClosureCollection;ACMS.Dispatch=Dispatch;ACMS.Library=Library;global.ACMS=ACMS;assignLoadClosure("ACMS.Dispatch",loadClosureCollection.Dispatch);assignLoadClosure("ACMS.Dispatch._tagassist",loadClosureCollection.Dispatch._tagassist);assignLoadClosure("ACMS.Dispatch._static2dynamic",loadClosureCollection.Dispatch._static2dynamic);assignLoadClosure("ACMS.Dispatch._static2dynamic_yolp",
loadClosureCollection.Dispatch._static2dynamic_yolp);assignLoadClosure("ACMS.Dispatch._observefilesize",loadClosureCollection.Dispatch._observefilesize);assignLoadClosure("ACMS.Dispatch._validate",loadClosureCollection.Dispatch._validate);assignLoadClosure("ACMS.Dispatch._revision",loadClosureCollection.Dispatch._revision);assignLoadClosure("ACMS.Dispatch._highslideInit",loadClosureCollection.Dispatch.highslide);assignLoadClosure("ACMS.Dispatch._ckeditorPre",loadClosureCollection.Dispatch.ckeditor);
assignLoadClosure("ACMS.Dispatch._ckeditorPost",loadClosureCollection.Dispatch.ckeditor);assignLoadClosure("ACMS.Dispatch.highslide",loadClosureCollection.Dispatch.highslide);assignLoadClosure("ACMS.Dispatch.ckeditor",loadClosureCollection.Dispatch.ckeditor);assignLoadClosure("ACMS.Dispatch.emoditor",loadClosureCollection.Dispatch.emoditor);assignLoadClosure("ACMS.Dispatch.Utility",loadClosureCollection.Dispatch.Utility);assignLoadClosure("ACMS.Dispatch.Postinclude.ready",loadClosureCollection.Dispatch.Postinclude);
assignLoadClosure("ACMS.Dispatch.Postinclude.submit",loadClosureCollection.Dispatch.Postinclude);assignLoadClosure("ACMS.Dispatch.Postinclude._postinclude",loadClosureCollection.Dispatch.Postinclude._postinclude);assignLoadClosure("ACMS.Dispatch.Linkmatchlocation.part",loadClosureCollection.Dispatch.Linkmatchlocation);assignLoadClosure("ACMS.Dispatch.Linkmatchlocation.full",loadClosureCollection.Dispatch.Linkmatchlocation);assignLoadClosure("ACMS.Dispatch.Linkmatchlocation.blog",loadClosureCollection.Dispatch.Linkmatchlocation);
assignLoadClosure("ACMS.Dispatch.Linkmatchlocation.category",loadClosureCollection.Dispatch.Linkmatchlocation);assignLoadClosure("ACMS.Dispatch.Linkmatchlocation.entry",loadClosureCollection.Dispatch.Linkmatchlocation);assignLoadClosure("ACMS.Dispatch.Admin",loadClosureCollection.Dispatch.Admin);assignLoadClosure("ACMS.Dispatch.Admin._media",loadClosureCollection.Dispatch.Admin._media);assignLoadClosure("ACMS.Dispatch.Admin._tooltip",loadClosureCollection.Dispatch.Admin._tooltip);assignLoadClosure("ACMS.Dispatch.Admin.Configunit",
loadClosureCollection.Dispatch.Admin.Configunit);assignLoadClosure("ACMS.Dispatch.Admin.Configunit._add",loadClosureCollection.Dispatch.Admin.Configunit);assignLoadClosure("ACMS.Dispatch.Admin.Configunit.remove",loadClosureCollection.Dispatch.Admin.Configunit);assignLoadClosure("ACMS.Dispatch.Edit",loadClosureCollection.Dispatch.Edit);assignLoadClosure("ACMS.Dispatch.Edit._add",loadClosureCollection.Dispatch.Edit._add);assignLoadClosure("ACMS.Dispatch.Edit._change",loadClosureCollection.Dispatch.Edit._change);
assignLoadClosure("ACMS.Dispatch.Edit._emojiedit",loadClosureCollection.Dispatch.Edit._emojiedit);assignLoadClosure("ACMS.Dispatch.Edit._item",loadClosureCollection.Dispatch.Edit._item);assignLoadClosure("ACMS.Dispatch.Edit._tagassist",loadClosureCollection.Dispatch.Edit._tagassist);assignLoadClosure("ACMS.Dispatch.Edit._category",loadClosureCollection.Dispatch.Edit._category);assignLoadClosure("ACMS.Dispatch.Edit._inplace",loadClosureCollection.Dispatch.Edit._inplace);assignLoadClosure("ACMS.Dispatch.Edit._direct",
loadClosureCollection.Dispatch.Edit._direct);assignLoadClosure("ACMS.Dispatch.Edit._experimental",loadClosureCollection.Dispatch.Edit._experimental);assignLoadClosure("ACMS.Dispatch.Edit._media",loadClosureCollection.Dispatch.Edit._media);assignLoadClosure("ACMS.Dispatch.Edit.updatetime",loadClosureCollection.Dispatch.Edit);assignLoadClosure("ACMS.Dispatch.Edit.map",loadClosureCollection.Dispatch.Edit.map);assignLoadClosure("ACMS.Dispatch.Edit.yolp",loadClosureCollection.Dispatch.Edit.yolp);assignLoadClosure("ACMS.Library.scrollTo",
loadClosureCollection.Library);assignLoadClosure("ACMS.Library.scrollToElm",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.dl2object",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.switchStyle",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.yahooLoadProxy",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.getPostData",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.acmsLink",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.getParameterByName",
loadClosureCollection.Library);assignLoadClosure("ACMS.Library.exFeature",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.googleCodePrettifyPost",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.googleLoadProxy",loadClosureCollection.Library);assignLoadClosure("ACMS.Library.Validator.isFunction",loadClosureCollection.Library.validator);assignLoadClosure("ACMS.Library.googleCodePrettify",loadClosureCollection.Library.googleCodePrettify);assignLoadClosure("hs.expand",loadClosureCollection.Library.highslide,
true);assignLoadClosure("swfobject.embedSWF",loadClosureCollection.Library.swfobject,true);assignLoadClosure("CKEDITOR.replace",loadClosureCollection.Library.ckeditor,true);assignLoadClosure("jQuery.widget",loadClosureCollection.Library.Jquery.Ui.widget);assignLoadClosure("jQuery.fn.position",loadClosureCollection.Library.Jquery.Ui.position);assignLoadClosure("jQuery.fn.draggable",loadClosureCollection.Library.Jquery.Ui.draggable);assignLoadClosure("jQuery.fn.sortable",loadClosureCollection.Library.Jquery.Ui.sortable);
assignLoadClosure("jQuery.fn.accordion",loadClosureCollection.Library.Jquery.Ui.accordion);assignLoadClosure("jQuery.fn.tabs",loadClosureCollection.Library.Jquery.Ui.tabs);assignLoadClosure("jQuery.fn.dialog",loadClosureCollection.Library.Jquery.Ui.dialog);assignLoadClosure("jQuery.fn.datepicker",loadClosureCollection.Library.Jquery.Ui.datepicker);assignLoadClosure("jQuery.cookie",loadClosureCollection.Library.Jquery.cookie);assignLoadClosure("jQuery.fn.biggerlink",loadClosureCollection.Library.Jquery.biggerlink);
assignLoadClosure("jQuery.fn.bxSlider",loadClosureCollection.Library.Jquery.bxslider);assignLoadClosure("jQuery.fn.autoheight",loadClosureCollection.Library.Jquery.autoheight);assignLoadClosure("jQuery.fn.selection",loadClosureCollection.Library.Jquery.selection);assignLoadClosure("jQuery.fn.prettyPhoto",loadClosureCollection.Library.Jquery.prettyphoto);assignLoadClosure("google.load",loadClosureCollection.Library.google,false,true);$.extend(ACMS.Config,query);loadClosureFactory(path+"config.js")();
function parseQuery(query){var s=query.split("&"),data={},i=0,iz=s.length,param,key,value;for(;i<iz;i++){param=s[i].split("=");if(param[0]!==void 0){key=param[0];value=param[1]!==void 0?param.slice(1).join("="):key;data[key]=decodeURIComponent(value)}}return data}function getObjectPointerFromName(name){var objPointer=global,nameTokens=name.split("."),i=0,iz=nameTokens.length,token,parentPointer;for(;i<iz;i++){token=nameTokens[i];objPointer[token]===void 0&&(objPointer[token]={});parentPointer=objPointer;
objPointer=objPointer[token]}return{current:objPointer,token:token,parent:parentPointer}}function assignLoadClosure(name,loadClosure,del,async){var pointerInfo=getObjectPointerFromName(name),objPointer=pointerInfo.current,parentPointer=pointerInfo.parent,token=pointerInfo.token;parentPointer[token+"_"]=objPointer;parentPointer[token]=function(){var scope=this,args=arguments,placeholder=arguments.callee;if(del)global[name.replace(/\..*$/,"")]=void 0;else parentPointer[token]=parentPointer[token+"_"];
global[name+"_"]=void 0;return loadClosure(function(){var func;try{func=getObjectPointerFromName(name).current}catch(e){return false}if("function"!==typeof func)return false;if(func===arguments.callee)return false;var key,_key;for(key in placeholder)if(func[key])for(_key in placeholder[key])func[key][_key]=placeholder[key][_key];else func[key]=placeholder[key];return func.apply(scope,args)},async)}}})(window);
$(function(){jQuery.expr.filters.text=function(elem){var attr,type;return elem.nodeName.toLowerCase()==="input"&&(type=elem.type,attr=elem.getAttribute("type"),"text"===type)&&(attr===type||attr===null)};ACMS.Dispatch(document)});
