/*
// Simple Popup Gallery for Joomla 1.5.x - Version 1.5.0
//
// Licence:
//		AGPLv3 - http://www.aqsg.com.au/products/simple-popup-gallery/licence.html
//
// Author:
//		Joel Bassett - http://www.aqsg.com.au
//
// Credits:
//		http://www.aqsg.com.au/products/simple-popup-gallery/credits.html
//
*/

/*
 * Facebox (for jQuery)
 * version: 1.2 (05/05/2008)
 * @requires jQuery v1.2 or later
 *
 * Examples at http://famspam.com/facebox/
 *
 * Licensed under the MIT:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Copyright 2007, 2008 Chris Wanstrath [ chris@ozmm.org ]
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(4($){$.3=4(a,b){$.3.l()6(a.15)O(a.15)h 6(a.D)P(a.D)h 6(a.9)Q(a.9)h 6($.1F(a))a.1G($)h $.3.u(a,b)}$.16($.3,{f:{E:0,17:v,y:\'./R/m/S/3/T/l.F\',z:\'./R/m/S/3/T/18.F\',G:[\'1H\',\'1I\',\'1J\',\'F\'],H:\'    <9 19="3" 1K="1L:1M;">       <9 8="1N">         <U>           <1a>             <q>               <j 8="1b"/><j 8="b"/><j 8="q"/>             </q>             <q>               <j 8="b"/>               <j 8="k">                 <9 8="m">                 </9>                 <9 8="1O">                   <a V="#" 8="n">                     <W o="./R/m/S/3/T/18.F" 1P="n" 8="X" />                   </a>                 </9>               </j>               <j 8="b"/>             </q>             <q>               <j 8="1c"/><j 8="b"/><j 8="1d"/>             </q>           </1a>         </U>       </9>     </9>\'},l:4(){I()6($(\'#3 .l\').1e==1)g v 1f()$(\'#3 .m\').1Q()$(\'#3 .k\').1g().1h().1R().J(\'<9 8="l"><W o="\'+$.3.f.y+\'"/></9>\')$(\'#3\').K({1S:1i()[1]+(1j()/10),1k:1T.5}).1l()$(7).1m(\'1n.3\',4(e){6(e.1U==27)$.3.n()g v})$(7).r(\'l.3\')},u:4(a,b){$(7).r(\'1V.3\')6(b)$(\'#3 .m\').L(b)$(\'#3 .m\').J(a)$(\'#3 .l\').Y()$(\'#3 .k\').1g().1o(\'1W\')$(\'#3\').K(\'1k\',$(1p).1q()/2-($(\'#3 U\').1q()/2))$(7).r(\'u.3\').r(\'1X.3\')},n:4(){$(7).r(\'n.3\')g A}})$.1Y.3=4(b){I(b)4 1r(){$.3.l(v)p a=M.1Z.Z(/3\\[?\\.(\\w+)\\]?/)6(a)a=a[1]Q(M.V,a)g A}g M.11(1r)}4 I(a){6($.3.f.1s)g v h $.3.f.1s=v $(7).r(\'I.3\')1t()p b=$.3.f.G.20(\'|\')$.3.f.1u=x 21(\'\\.\'+b+\'$\',\'i\')6(a)$.16($.3.f,a)$(\'k\').J($.3.f.H)p c=[x N(),x N()]c[0].o=$.3.f.z c[1].o=$.3.f.y $(\'#3\').22(\'.b:23, .1c, .1d, .1b, .q\').24(4(){c.25(x N())c.26(-1).o=$(M).K(\'28-D\').1v(/29\\((.+)\\)/,\'$1\')})$(\'#3 .n\').11($.3.n)$(\'#3 .X\').2a(\'o\',$.3.f.z)}4 1i(){p a,B;6(C.1w){B=C.1w;a=C.2b}h 6(7.s&&7.s.12){B=7.s.12;a=7.s.1x}h 6(7.k){B=7.k.12;a=7.k.1x}g x 2c(a,B)}4 1j(){p a 6(C.1y){a=C.1y}h 6(7.s&&7.s.13){a=7.s.13}h 6(7.k){a=7.k.13}g a}4 1t(){p a=$.3.f a.y=a.2d||a.y a.z=a.X||a.z a.G=a.2e||a.G a.H=a.2f||a.H}4 Q(a,b){6(a.Z(/#/)){p c=1p.2g.V.2h(\'#\')[0]p d=a.1v(c,\'\')$.3.u($(d).2i().1l(),b)}h 6(a.Z($.3.f.1u)){P(a,b)}h{O(a,b)}}4 P(a,b){p c=x N()c.2j=4(){$.3.u(\'<9 8="D"><W o="\'+c.o+\'" /></9>\',b)}c.o=a}4 O(b,c){$.2k(b,4(a){$.3.u(a,c)})}4 14(){g $.3.f.17==A||$.3.f.E===2l}4 1f(){6(14())g 6($(\'t\').1e==0)$("k").J(\'<9 19="t" 8="1z"></9>\')$(\'#t\').1h().L("1A").K(\'E\',$.3.f.E).11(4(){$(7).r(\'n.3\')}).1o(1B)g A}4 1C(){6(14())g $(\'#t\').1D(1B,4(){$("#t").1E("1A")$("#t").L("1z")$("#t").Y()})g A}$(7).1m(\'n.3\',4(){$(7).2m(\'1n.3\')$(\'#3\').1D(4(){$(\'#3 .m\').1E().L(\'m\')1C()$(\'#3 .l\').Y()})})})(2n);',62,148,'|||facebox|function||if|document|class|div||||||settings|return|else||td|body|loading|content|close|src|var|tr|trigger|documentElement|facebox_overlay|reveal|true||new|loadingImage|closeImage|false|yScroll|self|image|opacity|gif|imageTypes|faceboxHtml|init|append|css|addClass|this|Image|fillFaceboxFromAjax|fillFaceboxFromImage|fillFaceboxFromHref|plugins|aqsgsip|images|table|href|img|close_image|remove|match||click|scrollTop|clientHeight|skipOverlay|ajax|extend|overlay|closelabel|id|tbody|tl|bl|br|length|showOverlay|children|hide|getPageScroll|getPageHeight|left|show|bind|keydown|fadeIn|window|width|clickHandler|inited|makeCompatible|imageTypesRegexp|replace|pageYOffset|scrollLeft|innerHeight|facebox_hide|facebox_overlayBG|200|hideOverlay|fadeOut|removeClass|isFunction|call|png|jpg|jpeg|style|display|none|popup|footer|title|empty|end|top|385|keyCode|beforeReveal|normal|afterReveal|fn|rel|join|RegExp|find|first|each|push|slice||background|url|attr|pageXOffset|Array|loading_image|image_types|facebox_html|location|split|clone|onload|get|null|unbind|jQuery'.split('|'),0,{}))