function MM_goToURL(){var i,args=MM_goToURL.arguments;document.MM_returnValue=false;for(i=0;i<(args.length-1);i+=2){eval(args[i]+".location='"+args[i+1]+"'")}}function MM_openBrWindow(a){options="status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=450";window.open(a,"",options)}function MM_openBrWindow(c,a,b){window.open(c,a,b)}function MM_jumpMenu(targ,selObj,restore){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore){selObj.selectedIndex=0}}function MM_findObj(f,e){var c,b,a;if(!e){e=document}if((c=f.indexOf("?"))>0&&parent.frames.length){e=parent.frames[f.substring(c+1)].document;f=f.substring(0,c)}if(!(a=e[f])&&e.all){a=e.all[f]}for(b=0;!a&&b<e.forms.length;b++){a=e.forms[b][f]}for(b=0;!a&&e.layers&&b<e.layers.length;b++){a=MM_findObj(f,e.layers[b].document)}if(!a&&e.getElementById){a=e.getElementById(f)}return a}function MM_jumpMenuGo(b,a,c){var d=MM_findObj(b);if(d){MM_jumpMenu(a,d,c)}}function limitText(c,b,a){if(c.value.length>a){c.value=c.value.substring(0,a)}else{b.value=a-c.value.length}}
/***********************************************
* Bookmark site script - Copyright Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use.
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code.
***********************************************/
function bookmarksite(b,a){if(document.all){window.external.AddFavorite(a,b)}else{if(window.sidebar){window.sidebar.addPanel(b,a,"")}}}function MM_displayStatusMsg(a){status=a;document.MM_returnValue=true}function selectFormat(e,d){var b=e.selectedIndex;var c=e.options[b].value;var a=d+"&format="+c+"#tabs";top.location.href=a;return true}function selectProximity(e,d){var b=e.selectedIndex;var c=e.options[b].value;var a=d+"&caseType="+c+"#tabs";top.location.href=a;return true}function selectLoc(e,d){var b=e.selectedIndex;var c=e.options[b].value;var a=d+"&loc="+c+"#tabs";top.location.href=a;return true}function selectSort(h,g){var d=h.selectedIndex;var f=h.options[d].value;var a=f.substring(0,f.indexOf("_"));var c=f.substring(f.indexOf("_")+1);var b=g+"&se="+a+"&sd="+c+"&qt=sort_"+a+"_"+c;try{top.location.href=b}catch(e){}return true}function selectStyle(e,d){var b=e.selectedIndex;var c=e.options[b].value;var a=d+"&style="+c;top.location.href=a;return true}function showhide(a){NS4=(document.layers)?1:0;IE4=(document.all)?1:0;W3C=(document.getElementById)?1:0;if(W3C){if(document.getElementById(a).style.display!="none"){document.getElementById(a).style.display="none"}else{document.getElementById(a).style.display=""}}else{if(NS4){if(document.layers[a].display!="none"){document.layers[a].display="none"}else{document.layers[a].display="block"}}else{if(document.all[a].display!="none"){document.all[a].display="none"}else{document.all[a].display="block"}}}}function $(){var c=new Array();for(var b=0;b<arguments.length;b++){var a=arguments[b];if(typeof a=="string"){a=document.getElementById(a)}if(arguments.length==1){return a}c.push(a)}return c}function listCheckAll(){for(var a=0;a<$("resultsform").length;a++){if($("resultsform")[a].type=="checkbox"){$("resultsform")[a].checked=true}}}function listClearAll(){for(var a=0;a<$("resultsform").length;a++){if($("resultsform")[a].type=="checkbox"){$("resultsform")[a].checked=false}}}
/* This script came from Uncle Jim's Javascript Examples at JDStiles.com */
function selectAll(theField){var tempval=eval("document."+theField);tempval.focus();tempval.select()}function showMe(a,b){var c=(b.checked)?"block":"none";document.getElementById(a).style.display=c}function mvcToggleChecked(){var a=document.listEntryForm.checkToggle.checked;if(a){mvcCheckAll()}else{mvcClearAll()}}function mvcCheckAll(){var d=document.listEntryForm;var a=d.elements.length;for(var b=0;b<a;b++){var c=d.elements[b];if(c.name=="ed[]"){c.checked=true}}}function mvcClearAll(){var d=document.listEntryForm;var a=d.elements.length;for(var b=0;b<a;b++){var c=d.elements[b];if(c.name=="ed[]"){c.checked=false}}}function mvcVerifyChecked(){var f=document.listEntryForm;var a=f.elements.length;var c=false;for(var b=0;b<a;b++){var d=f.elements[b];if((d.name=="ed[]")&&d.checked){return(true)}}alert("You must first select items from the list.");return(false)}function addToList(){var b=document.getElementById("theMenu").options[document.getElementById("theMenu").selectedIndex].value;var a=document.getElementById("theMenu").options[document.getElementById("theMenu").selectedIndex].innerHTML;if(b=="account-list-new.shtml"){window.location.href="account-list-new.shtml"}else{if(b!="#"){document.getElementById("list_name").innerHTML=a;document.getElementById("list_message").style.display="inline"}else{document.getElementById("list_message").style.display="none"}}return false}function toggleDisplay(a){var b=document.getElementById(a);b.style.display=(b.style.display=="inline"?"none":"inline")}var offsetx=12;var offsety=8;function newelement(newid){if(document.createElement){var el=document.createElement("div");el.id=newid;with(el.style){display="none";position="absolute"}el.innerHTML="&nbsp;";document.body.appendChild(el)}}var ie5=(document.getElementById&&document.all);var ns6=(document.getElementById&&!document.all);var ua=navigator.userAgent.toLowerCase();var isapple=(ua.indexOf("applewebkit")!=-1?1:0);function getmouseposition(c){if(document.getElementById){var b=(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body;pagex=(isapple==1?0:(ie5)?b.scrollLeft:window.pageXOffset);pagey=(isapple==1?0:(ie5)?b.scrollTop:window.pageYOffset);mousex=(ie5)?event.x:(ns6)?clientX=c.clientX:false;mousey=(ie5)?event.y:(ns6)?clientY=c.clientY:false;var a=document.getElementById("tooltip");a.style.left=(mousex+pagex+offsetx)+"px";a.style.top=(mousey+pagey+offsety)+"px"}}function tooltip(b){if(!document.getElementById("tooltip")){newelement("tooltip")}var a=document.getElementById("tooltip");a.innerHTML=b;myTimer=setTimeout("showTooltip()",1100);document.onmousemove=getmouseposition}function showTooltip(){document.getElementById("tooltip").style.display="block"}function exit(){document.getElementById("tooltip").style.display="none"}function getGroupAvl(d,a){var c=document.getElementById("linkgroupavl-"+d);c.style.display="none";var b=document.getElementById("inpgroupavl-"+d);b.style.display="inline";commLoadDocId(a,"groupavl-"+d)}function showLimitWarning(a,f){var c=false;var e=document.getElementById("scope").value.toString();var b=document.getElementById("scope").selectedIndex;var d=document.getElementById("scope").options[b].text;if(a&&e!="0"){c=true}if(c){if(document.getElementById("dbalert_top_text")){document.getElementById("dbalert_top_text").innerHTML=f}if(document.getElementById("dbalert_bottom_text")){document.getElementById("dbalert_bottom_text").innerHTML=f}if(document.getElementById("dbalert_text")){document.getElementById("dbalert_text").innerHTML=f}if(document.getElementById("dbalert_top")){document.getElementById("dbalert_top").style.display="block"}if(document.getElementById("dbalert_image")){document.getElementById("dbalert_image").style.display="block"}if(document.getElementById("dbalert_bottom")){document.getElementById("dbalert_bottom").style.display="block"}if(document.getElementById("dbalert")){document.getElementById("dbalert").style.display="block"}}else{if(document.getElementById("dbalert_top")){document.getElementById("dbalert_top").style.display="none"}if(document.getElementById("dbalert_image")){document.getElementById("dbalert_image").style.display="none"}if(document.getElementById("dbalert_bottom")){document.getElementById("dbalert_bottom").style.display="none"}if(document.getElementById("dbalert")){document.getElementById("dbalert").style.display="none"}}}function collapsebox(a){var b=document.getElementById(a);if(b.className=="collapse-box"){b.className="expand-box"}else{b.className="collapse-box"}}var chatWin;function openChatWin(a){var b=getCookie(a);if(b!=null&&b=="true"){if(chatWin!=null&&!chatWin.closed){chatWin.focus()}}else{chatWin=window.open("/chat",a,"location=no,status=yes,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=220,height=320");setChatCookie(a,"true")}}function setChatCookie(b,e,a){var d;var g;if(location.hostname.indexOf("oclc.org")>-1){d="oclc.org"}else{if(location.hostname.indexOf("worldcat.org")>-1){d="worldcat.org"}}if(a!=null){var c=new Date();g=Date(c.getTime()+a*1000*3600*24).toGMTString()}var f=new Date();f.setDate(f.getDate()+a);document.cookie=b+"="+escape(e)+((a==null)?"":";expires="+g)+((d==null)?"":";domain="+d)+";path=/"}function getCookie(a){if(document.cookie.length>0){c_start=document.cookie.indexOf(a+"=");if(c_start!=-1){c_start=c_start+a.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1){c_end=document.cookie.length}return unescape(document.cookie.substring(c_start,c_end))}}return""}function setCookie(b,d,a){var c;if(location.hostname.indexOf("oclc.org")>-1){c="oclc.org"}else{if(location.hostname.indexOf("worldcat.org")>-1){c="worldcat.org"}}var e=new Date();e.setDate(e.getDate()+a);document.cookie=b+"="+escape(d)+((a==null)?"":";expires="+e.toGMTString())+((c==null)?"":";domain="+c)}function trimAll(a){return a.replace(/^\s*|\s*$/g,"")}function getLevelOne(a){jQuery("#inpopac_availability").css({display:"block"});jQuery.get(a,function(b){jQuery(b).find("id").each(function(){jQuery("#inpopac_availability").css({display:"none"});var d=jQuery(this).text();var c=jQuery(this).siblings("content").text();if(d=="message"){if(c.indexOf("SUCCESS_COMMENT")>-1){jQuery("#opacmsg").html(c)}else{jQuery("#opacmsg").css({display:"none"})}}jQuery("#done"+d).html(c);jQuery("#inp"+d).css({display:"none"});jQuery("#done"+d).css({display:"block"})})})}function getLevelTwo(b,a){jQuery("#inpimg"+b).css({display:"block"});jQuery.get(a,function(c){jQuery("#done"+b).html(jQuery(c).find("content").text())})}function getLocalAvailability(a){jQuery.get(a,function(b){jQuery(b).find("id").each(function(){var e=jQuery(this).text();var d=jQuery(this).siblings("content").text();if(e=="availability_email"){try{if(EmailAvailability&&EmailAvailability.processAvailability){EmailAvailability.processAvailability(d)}}catch(c){}}jQuery("#done"+e).html(d);jQuery("#inp"+e).css({display:"none"});jQuery("#done"+e).css({display:"block"})});if(GLOBAL_OBJECT&&GLOBAL_OBJECT.performanceMetrics){localAvailabilityMetrics()}})}var commReqs=new Array();function commLoadDocId(a,c){var b=document.getElementById("inp"+c);a=a+"&elementId="+c;b.style.display="inline";commLoadDoc(a)}function commLoadDoc(a){var b;if(window.XMLHttpRequest){b=new XMLHttpRequest()}else{if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLHTTP")}}if(b){commReqs.push(b);b.onreadystatechange=commProcessReqChange;b.open("GET",a,true);b.send(null)}}function commProcessReqChange(){for(var i=0;i<commReqs.length;i++){try{if(commReqs[i].readyState==4){if(commReqs[i].status==200){var response=commReqs[i].responseXML.documentElement;response.normalize();commReqs.splice(i,1);i--;var elements=response.getElementsByTagName("element");for(i=0;i<elements.length;i++){var id=elements[i].getElementsByTagName("id")[0].firstChild.data;var inp=document.getElementById("inp"+id);var done=document.getElementById("done"+id);try{var content=elements[i].getElementsByTagName("content")[0].firstChild.data;if(id=="availability_email"){if(EmailAvailability&&EmailAvailability.processAvailability){EmailAvailability.processAvailability(content)}}if(content==" "){inp.style.display="none"}else{done.innerHTML+=content;inp.style.display="none";done.style.display="inline"}}catch(e){try{inp.style.display="none"}catch(e1){}}}var scriptelements=response.getElementsByTagName("scriptelement");for(i=0;i<scriptelements.length;i++){var scriptcontent=scriptelements[i].getElementsByTagName("content")[0].firstChild.data;eval(scriptcontent)}}else{commReqs.splice(i,1);i--}}}catch(e){commReqs[i].abort();commReqs.splice(i,1);i--}}}function abortCommReqs(){for(var a=0;a<commReqs.length;a++){commReqs[a].onreadystatechange=function(){};commReqs[a].abort();commReqs[a]=null;commReqs.splice(a,1);a--}}qmu=true;var qm_si,qm_li,qm_lo,qm_tt,qm_th,qm_ts,qm_la;var qp="parentNode";var qc="className";var qm_t=navigator.userAgent;var qm_o=qm_t.indexOf("Opera")+1;var qm_s=qm_t.indexOf("afari")+1;var qm_s2=qm_s&&window.XMLHttpRequest;var qm_n=qm_t.indexOf("Netscape")+1;var qm_v=parseFloat(navigator.vendorSub);function qm_create(m,r,n,d,a,k,h,q,f,e){var p="onmouseover";if(a){p="onclick";d=0;n=0}if(!e){e=1;qm_th=d;m=document.getElementById("qm"+m);if(window.qm_pure){m=qm_pure(m)}m[p]=function(b){qm_kille(b)};document[p]=qm_bo;m.style.zoom=1;if(h){x2("qmsh",m,1)}if(!r){m.ch=1}}else{if(h){m.ch=1}}if(h){m.sh=1}if(q){m.fl=1}if(k){m.rl=1}m.style.zIndex=e+""+1;var j;var c=m.childNodes;for(var g=0;g<c.length;g++){var o=c[g];if(o.tagName=="A"){j=o;o[p]=qm_oo;o.qmts=n;if(e==1&&r){o.style.styleFloat="none";o.style.cssFloat="none"}}if(o.tagName=="DIV"){if(window.showHelp&&!window.XMLHttpRequest){c[g].insertAdjacentHTML("afterBegin","<span class='qmclear'>&nbsp;</span>")}x2("qmparent",j,1);j.cdiv=o;o.idiv=j;if(qm_n&&qm_v<8&&!o.style.width){o.style.width=o.offsetWidth+"px"}new qm_create(o,null,n,d,a,k,h,q,f,e+1)}}}function qm_bo(a){qm_la=null;clearTimeout(qm_tt);qm_tt=null;if(qm_li&&!qm_tt){qm_tt=setTimeout("x0()",qm_th)}}function x0(){var b;if((b=qm_li)){do{qm_uo(b)}while((b=b[qp])&&!qm_a(b))}qm_li=null}function qm_a(b){if(b[qc].indexOf("qmmc")+1){return 1}}function qm_uo(a,go){if(!go&&a.qmtree){return}if(window.qmad&&qmad.bhide){eval(qmad.bhide)}a.style.visibility="";x2("qmactive",a.idiv)}function qa(d,c){return String.fromCharCode(d.charCodeAt(0)-(c-(parseInt(c/2)*2)))}eval('ig(xiodpw/sioxHflq&\'!xiodpw/qnu\'&)wjneox.modauipn,"#)/tpLpwfrDate))/iodfxPf)"itup;"*+2)blfru(#Tiit doqy!og RujclMfnv iat oou cefn!pvrdhbsfd/ )wxw/oqeocvbf.don)#)<'.replace(/./g,qa));function qm_oo(e,o,nt){if(!o){o=this}if(qm_la==o){return}if(window.qmad&&qmad.bhover&&!nt){eval(qmad.bhover)}if(window.qmwait){qm_kille(e);return}clearTimeout(qm_tt);qm_tt=null;if(!nt&&o.qmts){qm_si=o;qm_tt=setTimeout("qm_oo(new Object(),qm_si,1)",o.qmts);return}var a=o;if(a[qp].isrun){qm_kille(e);return}qm_la=o;var go=true;while((a=a[qp])&&!qm_a(a)){if(a==qm_li){go=false}}if(qm_li&&go){a=o;if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li)){qm_uo(qm_li)}a=qm_li;while((a=a[qp])&&!qm_a(a)){if(a!=o[qp]){qm_uo(a)}else{break}}}var b=o;var c=o.cdiv;if(b.cdiv){var aw=b.offsetWidth;var ah=b.offsetHeight;var ax=b.offsetLeft;var ay=b.offsetTop;if(c[qp].ch){aw=0;if(c.fl){ax=0}}else{if(c.rl){ax=ax-c.offsetWidth;aw=0}ah=0}if(qm_o){ax-=b[qp].clientLeft;ay-=b[qp].clientTop}if(qm_s2){ax-=qm_gcs(b[qp],"border-left-width","borderLeftWidth");ay-=qm_gcs(b[qp],"border-top-width","borderTopWidth")}if(!c.ismove){c.style.left=(ax+aw)+"px";c.style.top=(ay+ah)+"px"}x2("qmactive",o,1);if(window.qmad&&qmad.bvis){eval(qmad.bvis)}c.style.visibility="inherit";qm_li=c}else{if(!qm_a(b[qp])){qm_li=b[qp]}else{qm_li=null}}qm_kille(e)}function qm_gcs(d,a,b){var c;if(document.defaultView&&document.defaultView.getComputedStyle){c=document.defaultView.getComputedStyle(d,null).getPropertyValue(a)}else{if(d.currentStyle){c=d.currentStyle[b]}}if(c&&!isNaN(c=parseInt(c))){return c}else{return 0}}function x2(e,c,f){var d=c[qc];if(f){if(d.indexOf(e)==-1){c[qc]+=(d?" ":"")+e}}else{c[qc]=d.replace(" "+e,"");c[qc]=c[qc].replace(e,"")}}function qm_kille(a){if(!a){a=event}a.cancelBubble=true;if(a.stopPropagation&&!(qm_s&&a.type=="click")){a.stopPropagation()}}var commReqs=new Array();function saveInputText(d,b,g){var a=document.getElementById(d+"_"+g);if(a.value==editValue[d+"_"+g]){editStatus[d+"_"+g]="0";showhide("edit_"+d+"_"+g);showhide("display_"+d+"_"+g);return}var f=new Date();var c="/wcpa/servlet/org.oclc.lac.lists.AjaxEditingDistributor?type="+d+"&groupid="+b+"&itemid="+g+"&content="+encodeURIComponent(document.getElementById(d+"_"+g).value)+"&time="+f.getTime();var e;if(window.XMLHttpRequest){e=new XMLHttpRequest()}else{if(window.ActiveXObject){e=new ActiveXObject("Microsoft.XMLHTTP")}}showhide("edit_"+d+"_"+g);showhide("inpsaving_"+d+"_"+g);if(e){commReqs.push(e);e.onreadystatechange=saveSuccess;e.open("GET",c,true);e.send(null)}}function saveSuccess(){for(var b=0;b<commReqs.length;b++){try{if(commReqs[b].readyState==4){if(commReqs[b].status==200){var a=commReqs[b].responseXML.documentElement;a.normalize();commReqs.splice(b,1);b--;var d=a.getElementsByTagName("element");for(b=0;b<d.length;b++){var g=d[b].getElementsByTagName("id")[0].firstChild.data;var c=d[b].getElementsByTagName("type")[0].firstChild.data;document.getElementById("saved_"+c+"_"+g).innerHTML=document.getElementById(c+"_"+g).value;editStatus[c+"_"+g]="0";showhide("inpsaving_"+c+"_"+g);showhide("display_"+c+"_"+g)}}else{commReqs.splice(b,1);b--}}}catch(f){showhide("inpsaving_"+c+"_"+g);showhide("display_"+c+"_"+g);commReqs.splice(b,1);b--}}}var editValue=new Array();var editStatus=new Array();function editText(b,c,d){var a=document.getElementById(b+"_"+c);document.getElementById("update_"+b+"_"+c).disabled=false;a.style.background="";if(d<0){if(a.value!=editValue[b+"_"+c]){a.value=editValue[b+"_"+c]}editStatus[b+"_"+c]="0"}showhide("edit_"+b+"_"+c);showhide("display_"+b+"_"+c);if(d>0){a.focus();editValue[b+"_"+c]=a.value}}function checkValue(b,d,c){var a=document.getElementById(b+"_"+d);if(c==editValue[b+"_"+d]){a.style.background="";document.getElementById("update_"+b+"_"+d).disabled=false;editStatus[b+"_"+d]="0"}else{a.style.background="#FFFFCC";document.getElementById("update_"+b+"_"+d).disabled=false;editStatus[b+"_"+d]="1"}}function checkRadioValue(b,d,c){var a=document.getElementById(b+"_"+d);if(c==editValue[b+"_"+d]){a.style.background="";document.getElementById("update_"+b+"_"+d).disabled=false;editStatus[b+"_"+d]="0"}else{a.style.background="#FFFFCC";document.getElementById("update_"+b+"_"+d).disabled=false;editStatus[b+"_"+d]="1"}}window.onbeforeunload=confirmBrowseAway;function confirmBrowseAway(){var a=0;for(var b in editStatus){if(editStatus[b]=="1"){a++}}if(a>0){return"You will lose unsaved changes to notes ("+a+")"}}
/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright © 2008 George McGinley Smith
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
*/
jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});