try{jQuery.noConflict();}catch(e){};addComment={moveForm:function(d,f,i,c){var m=this,a,h=m.I(d),b=m.I(i),l=m.I("cancel-comment-reply-link"),j=m.I("comment_parent"),k=m.I("comment_post_ID");if(!h||!b||!l||!j){return}m.respondId=i;c=c||false;if(!m.I("wp-temp-form-div")){a=document.createElement("div");a.id="wp-temp-form-div";a.style.display="none";b.parentNode.insertBefore(a,b)}h.parentNode.insertBefore(b,h.nextSibling);if(k&&c){k.value=c}j.value=f;l.style.display="";l.onclick=function(){var n=addComment,e=n.I("wp-temp-form-div"),o=n.I(n.respondId);if(!e||!o){return}n.I("comment_parent").value="0";e.parentNode.insertBefore(o,e);e.parentNode.removeChild(e);this.style.display="none";this.onclick=null;return false};try{m.I("comment").focus()}catch(g){}return false},I:function(a){return document.getElementById(a)}};var WRInitTime=(new Date()).getTime();(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}if(p==this){return false;}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);;(function($){$.fn.superfish=function(op){var sf=$.fn.superfish,c=sf.c,$arrow=$(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),over=function(){var $$=$(this),menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out=function(){var $$=$(this),menu=getMenu($$),o=sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if(o.$path.length&&$$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}},o.delay);},getMenu=function($menu){var menu=$menu.parents(['ul.',c.menuClass,':first'].join(''))[0];sf.op=sf.o[menu.serial];return menu;},addArrow=function($a){$a.addClass(c.anchorClass).append($arrow.clone());};return this.each(function(){var s=this.serial=sf.o.length;var o=$.extend({},sf.defaults,op);o.$path=$('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass);});sf.o[s]=sf.op=o;$('li:has(ul)',this)[($.fn.hoverIntent&&!o.disableHI)?'hoverIntent':'hover'](over,out).each(function(){if(o.autoArrows)addArrow($('>a:first-child',this));}).not('.'+c.bcClass).hideSuperfishUl();var $a=$('a',this);$a.each(function(i){var $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).each(function(){var menuClasses=[c.menuClass];if(sf.op.dropShadows&&!($.browser.msie&&$.browser.version<7))menuClasses.push(c.shadowClass);$(this).addClass(menuClasses.join(' '));});};var sf=$.fn.superfish;sf.o=[];sf.op={};sf.IE7fix=function(){var o=sf.op;if($.browser.msie&&$.browser.version>6&&o.dropShadows&&o.animation.opacity!=undefined)
this.toggleClass(sf.c.shadowClass+'-off');};sf.c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow'};sf.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'normal',autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){var o=sf.op,not=(o.retainPath===true)?o.$path:'';o.retainPath=false;var $ul=$(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this;},showSuperfishUl:function(){var o=sf.op,sh=sf.c.shadowClass+'-off',$ul=this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){sf.IE7fix.call($ul);o.onShow.call($ul);});return this;}});})(jQuery);jQuery(function(){jQuery('ul.sf-menu').superfish({delay:300,speed:'fast',autoArrows:false,dropShadows:true});});(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev])}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev])};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode}catch(e){p=this}}if(p==this){return false}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t)}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob)},cfg.interval)}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob)},cfg.timeout)}}};return this.mouseover(handleHover).mouseout(handleHover)}})(jQuery);(function(b){b.fn.superfish=function(k){var g=b.fn.superfish,j=g.c,f=b(['<span class="',j.arrowClass,'"> &#187;</span>'].join("")),i=function(){var c=b(this),l=d(c);clearTimeout(l.sfTimer);c.showSuperfishUl().siblings().hideSuperfishUl()},e=function(){var c=b(this),m=d(c),l=g.op;clearTimeout(m.sfTimer);m.sfTimer=setTimeout(function(){l.retainPath=(b.inArray(c[0],l.$path)>-1);c.hideSuperfishUl();if(l.$path.length&&c.parents(["li.",l.hoverClass].join("")).length<1){i.call(l.$path)}},l.delay)},d=function(c){var l=c.parents(["ul.",j.menuClass,":first"].join(""))[0];g.op=g.o[l.serial];return l},h=function(c){c.addClass(j.anchorClass).append(f.clone())};return this.each(function(){var c=this.serial=g.o.length;var m=b.extend({},g.defaults,k);m.$path=b("li."+m.pathClass,this).slice(0,m.pathLevels).each(function(){b(this).addClass([m.hoverClass,j.bcClass].join(" ")).filter("li:has(ul)").removeClass(m.pathClass)});g.o[c]=g.op=m;b("li:has(ul)",this)[(b.fn.hoverIntent&&!m.disableHI)?"hoverIntent":"hover"](i,e).each(function(){if(m.autoArrows){h(b(">a:first-child",this))}}).not("."+j.bcClass).hideSuperfishUl();var l=b("a",this);l.each(function(n){var o=l.eq(n).parents("li");l.eq(n).focus(function(){i.call(o)}).blur(function(){e.call(o)})});m.onInit.call(this)}).each(function(){var c=[j.menuClass];if(g.op.dropShadows&&!(b.browser.msie&&b.browser.version<7)){c.push(j.shadowClass)}b(this).addClass(c.join(" "))})};var a=b.fn.superfish;a.o=[];a.op={};a.IE7fix=function(){var c=a.op;if(b.browser.msie&&b.browser.version>6&&c.dropShadows&&c.animation.opacity!=undefined){this.toggleClass(a.c.shadowClass+"-off")}};a.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};a.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};b.fn.extend({hideSuperfishUl:function(){var e=a.op,d=(e.retainPath===true)?e.$path:"";e.retainPath=false;var c=b(["li.",e.hoverClass].join(""),this).add(this).not(d).removeClass(e.hoverClass).find(">ul").hide().css("visibility","hidden");e.onHide.call(c);return this},showSuperfishUl:function(){var e=a.op,d=a.c.shadowClass+"-off",c=this.addClass(e.hoverClass).find(">ul:hidden").css("visibility","visible");a.IE7fix.call(c);e.onBeforeShow.call(c);c.animate(e.animation,e.speed,function(){a.IE7fix.call(c);e.onShow.call(c)});return this}})})(jQuery);(function(a){a.fn.supersubs=function(b){var c=a.extend({},a.fn.supersubs.defaults,b);return this.each(function(){var d=a(this);var e=a.meta?a.extend({},c,d.data()):c;var f=a('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(d).width();a("#menu-fontsize").remove();$ULs=d.find("ul");$ULs.each(function(l){var k=$ULs.eq(l);var j=k.children();var g=j.children("a");var m=j.css("white-space","nowrap").css("float");var h=k.add(j).add(g).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/f;h+=e.extraWidth;if(h>e.maxWidth){h=e.maxWidth}else{if(h<e.minWidth){h=e.minWidth}}h+="em";k.css("width",h);j.css({"float":m,width:"100%","white-space":"normal"}).each(function(){var n=a(">ul",this);var i=n.css("left")!==undefined?"left":"right";n.css(i,h)})})})};a.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);jQuery.noConflict();jQuery(document).ready(function(){jQuery("ul.sf-menu").supersubs({minWidth:12,maxWidth:27,extraWidth:1}).superfish({delay:400,animation:{opacity:'show',height:'show'},speed:'fast',autoArrows:false,dropShadows:false});});shutterSettings={imgDir:'http://www.canchichi.com/wp-content/plugins/shutter-reloaded/menu/',L10n:["Previous","Next","Close","Full Size","Fit to Screen","Image","of","Loading..."]}
var shutterLinks={},shutterSets={};function shutterAddLoad(a){if("undefined"!=typeof jQuery){jQuery(document).ready(a())}else{if(typeof window.onload!="function"){window.onload=a}else{oldonld=window.onload;window.onload=function(){if(oldonld){oldonld()}a()}}}}shutterReloaded={I:function(b){return document.getElementById(b)},settings:function(){var a=this,b=shutterSettings;a.L10n=b.L10n||["Previous","Next","Close","Full Size","Fit to Screen","Image","of","Loading..."];a.imageCount=b.imageCount||0;a.textBtns=b.textBtns||0;a.imgDir=b.imgDir||"/wp-content/plugins/shutter-reloaded/menu/";a.FS=b.FS||0;a.oneSet=b.oneSet||0},init:function(o){var p=this,n,e,b,h,f,c,s,r,l,q,d,g;if("object"!=typeof shutterSettings){shutterSettings={}}p.settings();for(h=0,f=document.links.length;h<f;h++){n=document.links[h];b=(n.href.indexOf("?")==-1)?n.href.slice(-4).toLowerCase():n.href.substring(0,n.href.indexOf("?")).slice(-4).toLowerCase();if(b!=".jpg"&&b!=".png"&&b!=".gif"&&b!="jpeg"){continue}if(o=="sh"&&n.className.toLowerCase().indexOf("shutter")==-1){continue}if(o=="lb"&&n.rel.toLowerCase().indexOf("lightbox")==-1){continue}if(n.className&&n.className.toLowerCase().indexOf("shutterset")!=-1){s=n.className.match(/shutterset[^\s]*/g)}else{if(n.rel&&n.rel.toLowerCase().indexOf("lightbox[")!=-1){s=n.rel.replace(/\s/g,"_")}else{if(p.oneSet){s="oneSetForAllLinks"}else{s=0,r=-1}}}if(s){if(!shutterSets[s]){shutterSets[s]=[]}r=shutterSets[s].push(h)}l=n.href.slice(n.href.lastIndexOf("/")+1);e=(n.title&&n.title!=l)?n.title:"";if(!e&&n.firstChild&&n.firstChild.nodeName=="IMG"){e=n.firstChild.title||""}shutterLinks[h]={link:n.href,num:r,set:s,title:e};n.onclick=new Function('shutterReloaded.make("'+h+'");return false;')}if(!p.textBtns){q=["close.gif","prev.gif","prev-d.gif","next.gif","next-d.gif","resize1.gif","resize2.gif","resize-d.gif","loading.gif"];for(d=0,c=q.length;d<c;d++){g=new Image();g.src=p.imgDir+q[d]}}},make:function(j,g){var n=this,q,r,b="",p="",s,c,a,l,o,f,e,h=-1,d,k,i,u,m;if(!n.Top){if(typeof window.pageYOffset!="undefined"){n.Top=window.pageYOffset}else{n.Top=(document.documentElement.scrollTop>0)?document.documentElement.scrollTop:document.body.scrollTop}}if(typeof n.pgHeight=="undefined"){n.pgHeight=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)}if(g){n.FS=(g>0)?1:0}else{n.FS=shutterSettings.FS||0}if(n.resizing){n.resizing=null}window.onresize=new Function('shutterReloaded.resize("'+j+'");');document.documentElement.style.overflowX="hidden";if(!n.VP){n._viewPort();n.VP=true}if(!(f=n.I("shShutter"))){f=document.createElement("div");f.setAttribute("id","shShutter");document.getElementsByTagName("body")[0].appendChild(f);n.hideTags()}if(!(o=n.I("shDisplay"))){o=document.createElement("div");o.setAttribute("id","shDisplay");o.style.top=n.Top+"px";document.getElementsByTagName("body")[0].appendChild(o)}f.style.height=n.pgHeight+"px";m=n.textBtns?" | ":"";if(shutterLinks[j].num>1){q=shutterSets[shutterLinks[j].set][shutterLinks[j].num-2];a=n.textBtns?n.L10n[0]:'<img src="'+n.imgDir+'prev.gif" title="'+n.L10n[0]+'" />';b='<a href="#" onclick="shutterReloaded.make('+q+');return false">'+a+"</a>"+m;s=new Image();s.src=shutterLinks[q].link}else{b=n.textBtns?'<span class="srel-d">'+n.L10n[0]+"</span>"+m:'<img class="srel-d" src="'+n.imgDir+'prev-d.gif" title="'+n.L10n[0]+'" />'}if(shutterLinks[j].num!=-1&&shutterLinks[j].num<(shutterSets[shutterLinks[j].set].length)){r=shutterSets[shutterLinks[j].set][shutterLinks[j].num];l=n.textBtns?n.L10n[1]:'<img src="'+n.imgDir+'next.gif" title="'+n.L10n[1]+'" />';p='<a href="#" onclick="shutterReloaded.make('+r+');return false">'+l+"</a>"+m;c=new Image();c.src=shutterLinks[r].link}else{p=n.textBtns?'<span class="srel-d">'+n.L10n[1]+"</span>"+m:'<img class="srel-d" src="'+n.imgDir+'next-d.gif" title="'+n.L10n[1]+'" />'}k=n.textBtns?n.L10n[2]:'<img src="'+n.imgDir+'close.gif" title="'+n.L10n[2]+'" />';d=((shutterLinks[j].num>0)&&n.imageCount)?" "+n.L10n[5]+"&nbsp;"+shutterLinks[j].num+"&nbsp;"+n.L10n[6]+"&nbsp;"+shutterSets[shutterLinks[j].set].length:"";if(n.FS){i=n.textBtns?n.L10n[4]:'<img src="'+n.imgDir+'resize2.gif" title="'+n.L10n[4]+'" />'}else{i=n.textBtns?n.L10n[3]:'<img src="'+n.imgDir+'resize1.gif" title="'+n.L10n[3]+'" />';h=1}fsbtn_d=n.textBtns?'<span class="srel-d">'+n.L10n[3]+"</span>"+m:'<img class="srel-d" src="'+n.imgDir+'resize-d.gif" title="'+n.L10n[3]+'" />';u='<span id="fullSize"><a href="#" onclick="shutterReloaded.make('+j+", "+h+');return false">'+i+"</a>"+m+'</span><span id="fullSize-d">'+fsbtn_d+"</span>";if(!(e=n.I("shNavBar"))){e=document.createElement("div");e.setAttribute("id","shNavBar");document.getElementsByTagName("body")[0].appendChild(e)}e.innerHTML=m+b+'<a href="#" onclick="shutterReloaded.hideShutter();return false">'+k+"</a>"+m+p+u+d;o.innerHTML='<div id="shWrap"><img src="'+shutterLinks[j].link+'" id="shTopImg" onload="shutterReloaded.showImg();" onclick="shutterReloaded.hideShutter();" /><div id="shTitle">'+shutterLinks[j].title+"</div></div>";window.setTimeout(function(){shutterReloaded.loading()},2000)},loading:function(){var c=this,b,d,a;if((a=c.I("shWrap"))&&a.style.visibility=="visible"){return}if(!(b=c.I("shShutter"))){return}if(c.I("shWaitBar")){return}d=document.createElement("div");d.setAttribute("id","shWaitBar");d.style.top=c.Top+"px";d.innerHTML='<img src="'+c.imgDir+'loading.gif" title="'+c.L10n[7]+'" />';b.appendChild(d)},hideShutter:function(){var c=this,d,b,a;if(d=c.I("shDisplay")){d.parentNode.removeChild(d)}if(b=c.I("shShutter")){b.parentNode.removeChild(b)}if(a=c.I("shNavBar")){a.parentNode.removeChild(a)}c.hideTags(true);document.documentElement.style.overflowX="";window.scrollTo(0,c.Top);window.onresize=c.FS=c.Top=c.VP=null},resize:function(c){var b=this,a;if(b.resizing){return}if(!b.I("shShutter")){return}a=b.I("shWrap");if(a){a.style.visibility="hidden"}window.setTimeout(function(){shutterReloaded.resizing=null},500);window.setTimeout(new Function('shutterReloaded.VP = null;shutterReloaded.make("'+c+'");'),100);b.resizing=true},_viewPort:function(){var d=this,b=window.innerHeight?window.innerHeight:0,f=document.body.clientHeight?document.body.clientHeight:0,c=document.documentElement?document.documentElement.clientHeight:0,a,e;if(b>0){d.wHeight=((b-f)>1&&(b-f)<30)?f:b;d.wHeight=((d.wHeight-c)>1&&(d.wHeight-c)<30)?c:d.wHeight}else{d.wHeight=(c>0)?c:f}a=document.documentElement?document.documentElement.clientWidth:0;e=window.innerWidth?window.innerWidth:document.body.clientWidth;d.wWidth=(a>1)?a:e},showImg:function(){var m=this,g=m.I("shShutter"),a=m.I("shDisplay"),i=m.I("shTopImg"),f=m.I("shTitle"),n=m.I("shNavBar"),c,l,b,k,j,e,d,h=0;if(!g){return}if((c=m.I("shWrap"))&&c.style.visibility=="visible"){return}if(l=m.I("shWaitBar")){l.parentNode.removeChild(l)}g.style.width=a.style.width="";f.style.width=(i.width-4)+"px";b=n.offsetHeight?f.offsetHeight+n.offsetHeight:30;k=m.wHeight-7-b;if(m.FS){if(i.width>(m.wWidth-10)){g.style.width=a.style.width=i.width+10+"px"}document.documentElement.style.overflowX=""}else{window.scrollTo(0,m.Top);if(i.height>k){i.width=i.width*(k/i.height);i.height=k;h=1}if(i.width>(m.wWidth-16)){i.height=i.height*((m.wWidth-16)/i.width);i.width=m.wWidth-16;h=1}f.style.width=(i.width-4)+"px";n.style.bottom="0px"}j=m.Top+i.height+b+10;if(j>m.pgHeight){g.style.height=j+"px"}window.scrollTo(0,m.Top);if((m.FS&&(i.height>k||i.width>m.wWidth))||h){m.I("fullSize").style.display="inline";m.I("fullSize-d").style.display="none"}e=(k-i.height)*0.45;d=(e>3)?Math.floor(e):3;a.style.top=m.Top+d+"px";n.style.bottom="0";c.style.visibility="visible"},hideTags:function(a){var f=document.getElementsByTagName("select"),g=document.getElementsByTagName("object"),b=document.getElementsByTagName("embed"),h=document.getElementsByTagName("iframe"),e=(a)?"visible":"hidden",d,c;for(d=0,c=f.length;d<c;d++){f[d].style.visibility=e}for(d=0,c=g.length;d<c;d++){g[d].style.visibility=e}for(d=0,c=b.length;d<c;d++){b[d].style.visibility=e}for(d=0,c=h.length;d<c;d++){h[d].style.visibility=e}}};try{shutterReloaded.init();}catch(e){}
if(typeof ClickTale=='function')ClickTale(30433,1);
