/*************************************************************
 * This script is developed by Arturs Sosins aka ar2rsawseen, http://webcodingeasy.com
 * Fee free to distribute and modify code, but keep reference to its creator
 *
 * Background resizer class can be used to display high resolution images as background for websites. 
 * Class will resize background image for different screen resolutions supporting this criterias: 
 * fill window from edge to edge
 * display largest area posible
 * keep image proportions (without streching image)
 * hide scrollbars caused by background image
 * support most popular browsers (including IE)
 *
 * Online documentation: http://webcodingeasy.com/JS-classes/High-resolution-image-background-resizer 
**************************************************************/
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}('6 1j=B(q,r){E.9={K:0,O:0,W:0,T:0};x(r){1m(6 s 1u r){E.9[s]=r[s]}}E.Z=B(d,e){6 f=3.R("1q")[0];f.2.C="D";f.2.4="8%";f.2.5="8%";f.2.L="0";f.2.P="0";f.2.U="0";f.2.V="0";f.2.Y="0";f.2.17="0";f.2.1b="0";f.2.13="0";3.7.2.C="D";3.7.2.C="D";3.7.2.4="8%";3.7.2.5="8%";3.7.2.L="0";3.7.2.P="0";3.7.2.U="0";3.7.2.V="0";3.7.2.Y="0";3.7.2.17="0";3.7.2.1b="0";3.7.2.13="0";6 g=3.z("M");g.2.4="8%";g.2.5="8%";g.2.11="19";g.2.1d="0";g.2.1f="0";g.2.1h="1";1o(3.7.15[0]){6 h=3.7.15[0];3.7.1s(h);g.y(h)}3.7.y(g);6 i=3.z("M");i.2.4="8%";i.2.5="8%";i.2.C="D";6 j=3.z("M");j.2.11="19";j.2.4="X%";j.2.5="X%";j.2.1d="-14%";j.2.1f="-14%";i.2.1h="0";6 m=3.z("1c");m.2.4="8%";m.2.5="8%";m.2.C="D";m.2.1g="0";m.2.1k="0";6 t=3.z("1r");6 n=3.z("1x");6 o=3.z("1B");o.2.4="8%";o.2.5="8%";o.2.C="D";o.2.1E="1c-1n";o.2.1F="1J";o.2.1z="1K";6 p=3.z("1H");p.2.L="0";p.2.U="10";p.2.P="0";p.2.V="10";p.2.1g="0";p.18=d;o.y(p);n.y(o);t.y(n);m.y(t);j.y(m);i.y(j);3.7.y(i);w(p,"1v",B(){x(e.9.K>0){p.2.1D=e.9.K}x(e.9.O>0){p.2.1G=e.9.O}x(e.9.W>0){p.2.1I=e.9.W}x(e.9.T>0){p.2.1l=e.9.T}6 b=v();6 c=u(d);6 k=((b.4/c.4));6 l=((b.5/c.5));x(k>l){p.2.4=b.4+"A";p.2.5=((k*c.5))+"A"}F{p.2.4=(l*c.4)+"A";p.2.5=b.5+"A"}w(H,"1t",B(){6 a=v();6 k=((a.4/c.4));6 l=((a.5/c.5));x(k>l){p.2.4=a.4+"A";p.2.5=((k*c.5))+"A"}F{p.2.4=(l*c.4)+"A";p.2.5=a.5+"A"}})})};6 u=B(a){6 b=Q 1y();b.18=a;I=Q 12();I.4=b.4;I.5=b.5;1i I};6 v=B(){6 a=Q 12();a.4=0;a.5=0;x(N H.1a!=\'S\'){a.4=H.1a,a.5=H.1p}F x(N 3.G!=\'S\'&&N 3.G.J!=\'S\'&&3.G.J!=0){a.4=3.G.J,a.5=3.G.16}F{a.4=3.R(\'7\')[0].J,a.5=3.R(\'7\')[0].16}1i a};6 w=B(a,b,c){x(a.1e){a.1e(b,c,1w)}F{a.1A(\'1C\'+b,c)}};E.Z(q,E)}',62,109,'||style|document|width|height|var|body|100|conf||||||||||||||||||||||||if|appendChild|createElement|px|function|overflow|hidden|this|else|documentElement|window|imgObj|clientWidth|minwidth|marginTop|div|typeof|minheight|marginBottom|new|getElementsByTagName|undefined|maxheight|marginLeft|marginRight|maxwidth|200|paddingTop|construct|auto|position|Object|paddingRight|50|childNodes|clientHeight|paddingBottom|src|absolute|innerWidth|paddingLeft|table|top|addEventListener|left|borderWidth|zIndex|return|bg_resizer|borderSpacing|maxHeight|for|cell|while|innerHeight|html|tbody|removeChild|resize|in|load|false|tr|Image|textAlign|attachEvent|td|on|minWidth|display|verticalAlign|minHeight|img|maxWidth|middle|center'.split('|'),0,{}))
