/*
	GALLERY.XML 1.0 [SCRIPT ENGINE]
	http://acidmartin.wemakesites.net/#gallery
*/

/* modify the variables below if necessary */

var GalleryXmlRootFolder = 'gallery-xml/'; // if not blank, add trailing "/"
var ClickToCloseString = ' (Press ESC or click the image to close)'; // this text will be visible in the tooltip of the enlarged image

/* do not modify the code below */

var isSafari = navigator.userAgent.toLowerCase().indexOf('webkit') > -1;
var isIE = window.ActiveXObject;
var isFireFoxOrOpera = document.implementation && document.implementation.createDocument;
var isIE6 = /msie|MSIE 6/.test(navigator.userAgent) && !/msie|MSIE 8/.test(navigator.userAgent);

var GalleryXmlTagLine = 'Gallery.XML System Message:\n\n';

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}('K.5={1j:G(a){3 b=a.I(\'2H\');9(b==\'L\'){Z L}3 c=a.I(\'1G\');9(5.8(c)==M){1k(1l+\'2I 1m 2J "\'+c+\'" 1H 14 1I 1J W 1n.\\1K 1L 14 1o.\\1p, 1M W "1G" 1N 1c W Q 1O 1P.\');Z L}9(R.2K==\'2L\'){1k(1l+\'2M.Q 1Q 2N 1R 2O 1c 2P 2Q 1S 2R 2S 2T 1d 2U, 2V 1T 1n 2W 1R 2X 1c 2Y-2Z 1S.\\1p, 30 31 32 1T 33 1Q 34 35 36 37, 38 W 39 3a 14 1o.\');Z L}3 d=a.I(\'3b\');3 f=a.I(\'3c\');3 g=a.I(\'3d\');3 h=a.I(\'3e\');3 j=a.I(\'3f\');3 k=a.I(\'3g\');3 l=a.J(\'3h\');3 m=a.I(\'3i\');3 n=a.I(\'1U\');3 o=5.8(c);3 p=5.N(\'3j\');o.S=\'\';5.1q(1V+\'15.Q/3k/15.Q.1r\',\'3l\');5.1q(1V+\'15.Q/3m/\'+k+\'/3n.1r\',\'3o\'+k);o.1s=\'3p \'+k;o.O(p);3q(3 i=0;i<l.1W;i++){3 q=l[i].I(\'3r\');3 r=l[i].I(\'3s\');3 s=l[i].I(\'3t\');3 t=l[i].I(\'3u\');9(s==\'1e\'){3 u=5.N(\'3v\');3w=h-\'12\';1t=j-\'12\';1X=j-\'24\';1Y=h-\'18\';1Z=h;20=h-\'16\';3 v;9(f==\'1e\'){v=\'1u\'}17{v=\'10\'}u.S=[\'<H 1v="\'+t+\'" 11="\'+c+\'21\'+i+\'" 19="\'+r+\'" 6="1f: \'+1Z+\'T;">\'+\'<H P="3x" 11="22\'+c+\'23\'+i+\'" 6="U: \'+v+\';">\'+r+\'</H>\'+\'<H P="3y">\'+\'<H P="25">\'+\'<1w 1a="\'+d+\'/\'+q+\'" 1x="\'+1t+\'" 1f="\'+20+\'" 19="\'+r+\'" 26="\'+r+\'" />\'+\'</H>\'+\'<H P="3z" 6="1x: \'+1t+\'T;">\'+\'<H P="3A">&1g;</H>\'+\'<H P="3B" 6="1x: \'+1X+\'T">&1g;</H>\'+\'</H>\'+\'</H>\'+\'<H P="3C">\'+\'<H P="3D">&1g;</H>\'+\'<H P="3E" 6="1f: \'+1Y+\'T;">&1g;</H>\'+\'</H>\'+\'</H>\'];p.O(u);3 w=5.8(\'22\'+c+\'23\'+i);3 x=5.8(c+\'21\'+i);9(28&&5.8(\'1y\')==M){3 y=5.N(\'3F\');y.6.U=\'10\';y.S=\'<3G 29="3H" 11="1y" />\';R.J(\'3I\')[0].O(y);K.2a(G(e){5.8(\'1y\').2b()},2c)}9(g==\'2d\'){x.O(w)}9(m==\'1e\'){x.1z=G(){5.2e(1d,\'X\');2f(1d.I(\'1v\'));9(2g){K.3J=\'#\'}}}17{x.J(\'13\')[0].6.1A=\'3K\';9(t!=\'\'){x.J(\'13\')[0].6.1A=\'3L\';x.J(\'13\')[0].6.1A=\'3M\';x.1z=G(){2f(1d.I(\'1v\'))}}}}}9(n!=\'10\'&&28){K.2a(G(e){9(5.8(\'2h\'+1B(n-1))==M){1k(1l+\'25 1m 3N "\'+1B(n)+\'" 1H 14 1I 1J W 1n.\\1K 1L 14 1o.\\1p, 1M W "1U" 1N 1c W Q 1O 1P.\');Z L}5.8(\'2h\'+1B(n-1)).2b()},2c)}3 z=5.N(\'1b\');3 A=5.N(\'1b\');z.1s=\'Y\';z.V(\'11\',\'Y\');A.1s=\'X\';A.V(\'11\',\'X\');9(g==\'2d\'){A.S=[\'<1w 1a="" />\'+\'<1h 6="U: \'+v+\';"><!-- / --></1h>\']}17{A.S=[\'<1h 6="U: \'+v+\';"><!-- / --></1h>\'+\'<1w 1a="" />\']}9(5.8(\'Y\')==M){R.J(\'2i\')[0].O(z);R.J(\'2i\')[0].O(A);3 B=5.8(\'X\').J(\'13\')[0];B.1z=G(){5.1C()}}3 C=5.8(\'2j-1D-2k\');3 D=L;9(!D&&C==M){3 E=5.N(\'1b\');3 F=5.8(c);E.6.2l=\'2m 3O "3P 3Q", 3R, 2n-2o\';E.6.1E=\'2p\';E.6.1D=\'3S\';E.6.3T=\'10\';E.6.2q=\'2r\';E.S=\'3U 1m a 3V 3W 3X <a 6="1E: 2p;" 2s="3Y://3Z.40.41/#42" 43="44" 19="15.Q">15.Q</a>\';F.O(E)}},1i:G(b){3 c;9(!2g){c=2t 45();c.46("47",b,1e);c.48(M);c.49=G(){9(c.4a==4){3 a=c.4b.J(\'2u\')[0];5.1j(a)}}}17{c=2t 4c("4d.4e");c.4f=L;c.2v(b);3 d=c.J(\'2u\')[0];5.1j(d)}5.2w()},4g:G(a){9(K.2x){K.2x(\'2v\',G(){5.1i(a)},L)}17 9(K.2y){K.2y(\'4h\',G(){5.1i(a)})}},4i:G(a){5.1i(a)},1C:G(){5.8(\'Y\').6.U=\'10\';5.8(\'X\').6.U=\'10\'},2z:G(){5.8(\'Y\').6.U=\'1u\';5.8(\'X\').6.U=\'1u\'},8:G(a){Z R.4j(a)},N:G(a){Z R.4k(a)},2e:G(a,b){3 c=a.J(\'13\')[0];3 d=5.8(b);3 e=5.8(b).J(\'13\')[0];3 f=a.19;3 g=5.8(b).J(\'4l\')[0];3 h=5.8(\'Y\');e.V(\'19\',f+2A);e.V(\'26\',f+2A);g.S=f;e.1a=c.1a;5.2z();d.6.2B=\'-\'+e.2C/2+\'T\';d.6.4m=\'-\'+e.2D/2+\'T\';3 i=5.8(\'2j-1D-2k\');3 j=L;9(!j&&i==M){3 k=5.N(\'1b\');3 l=5.8(\'X\');k.6.2E=\'.7\';k.6.4n=\'4o(2E=4p)\';k.6.2l=\'2m 4q 4r, 2n-2o\';k.6.4s=\'4t\';k.6.1f=l.2D+\'T\';k.6.2q=\'2r\';k.6.4u=\'4v\';k.6.2B=-l.2C/2-4w+\'T\';k.6.1E=\'4x\';k.S=\'4y\';3 m=l.J(\'1b\');9(m.1W==0){l.O(k)}}},2F:G(e){3 a=(K.1F)?1F.2G:e.2G;3 b=(K.1F)?27:e.4z;9(a==b){9(5.8(\'Y\')!=M){5.1C()}}},2w:G(e){R.4A.4B=G(e){5.2F(e)}},1q:G(a,b){3 c=5.N(\'4C\');9(5.8(b)==M){c.V(\'29\',\'4D/1r\');c.V(\'4E\',\'4F\');c.V(\'2s\',a);c.V(\'11\',b);R.J(\'4G\')[0].O(c)}}}',62,291,'|||var||galleryxml|style||_get|if|||||||||||||||||||||||||||||||||function|div|getAttribute|getElementsByTagName|window|false|null|_create|appendChild|class|XML|document|innerHTML|px|display|setAttribute|the|GalleryJsViewer|GalleryJsOverlay|return|none|id||IMG|not|Gallery||else||title|src|DIV|in|this|true|width|nbsp|h6|render|getproperties|alert|GalleryXmlTagLine|with|page|initialize|nPlease|_stylesheet|css|className|image_height|block|_onclientclick|img|height|gxml_iefix|onclick|cursor|parseInt|_close|clear|color|event|loaderid|does|exist|on|nGallery|will|check|property|feed|file|is|to|mode|your|defaultopenimage|GalleryXmlRootFolder|length|image_height_fix|image_width_fix|image_width_fix_wrapper|img_width_fix|_Image_|ImageCaption_|_||Image|alt||isIE|type|setTimeout|click|1000|bottom|_enlargethumb|eval|isIE6|Gallery1_Image_|body|glx|fix|font|normal|Sans|serif|black|textAlign|center|href|new|ajaxgallery|load|_eschandler|addEventListener|attachEvent|_show|ClickToCloseString|marginTop|offsetHeight|offsetWidth|opacity|_handleesc|keyCode|enabled|Element|ID|compatMode|BackCompat|Guestbook|meant|work|standards|compliance|and|you|see|message|because|seems|be|non|xhtml|make|sure|that|DTD|either|XHTML|or|HTML5|otherwise|script|would|albumfolder|showcaption|captionposition|thumbwidth|thumbheight|skin|item|enableenlarge|UL|Scripts|GalleryXmlBaseStylesheet|Skins|Styles|GalleryXml_|ImageGalleryJs|for|filename|description|visible|onclientclick|LI|image_width|ImageCaption|ImageWrapper|RightShadow|TopRight|MiddleRight|BottomShadow|BottomLeft|BottomRight|span|input|button|BODY|location|default|pointer|hand|index|11px|Segoe|UI|Arial|both|cssFloat|Created|trial|version|of|http|acidmartin|wemakesites|net|gallery|target|_blank|XMLHttpRequest|open|GET|send|onreadystatechange|readyState|responseXML|ActiveXObject|Microsoft|XMLDOM|async|init|onload|demand|getElementById|createElement|H6|marginLeft|filter|alpha|70|52px|Impact|zIndex|400000|position|absolute|52|white|UNREGISTERED|DOM_VK_ESCAPE|documentElement|onkeydown|link|text|rel|stylesheet|head'.split('|'),0,{}))