
/* vergroessern.js */

/* 1  */ 
/* 2  */ var ie=document.all
/* 3  */ var ns6=document.getElementById&&!document.all
/* 4  */ 
/* 5  */ function ieobjekt(){
/* 6  */ return (document.compatMode && document.compatMode!="BackCompat" && !window.opera)? document.documentElement : document.body
/* 7  */ }
/* 8  */ function vergroessern(welche, e, position, imgwidth, imgheight){
/* 9  */ 
/* 10 */ if (ie||ns6){
/* 11 */ aufbau=document.getElementById? document.getElementById("zeigedasbild") : document.all.zeigedasbild
/* 12 */ 
/* 13 */ if (position=="center"){
/* 14 */ seite_y_stellung=ns6? parseInt(pageYOffset) : parseInt(ieobjekt().scrollTop)
/* 15 */ horizoposi=ns6? pageXOffset+window.innerWidth/2-imgwidth/2 : ieobjekt().scrollLeft+ieobjekt().clientWidth/2-imgwidth/2
/* 16 */ vertiposi=ns6? seite_y_stellung+window.innerHeight/2-imgheight/2 : seite_y_stellung+ieobjekt().clientHeight/2-imgheight/2
/* 17 */ 
/* 18 */ if (window.opera && window.innerHeight)
/* 19 */ vertiposi=seite_y_stellung+window.innerHeight/2-imgheight/2
/* 20 */ vertiposi=Math.max(seite_y_stellung, vertiposi)
/* 21 */ }
/* 22 */ 
/* 23 */ else{
/* 24 */ var horizoposi=ns6? pageXOffset+e.clientX : ieobjekt().scrollLeft+event.clientX
/* 25 */ var vertiposi=ns6? pageYOffset+e.clientY : ieobjekt().scrollTop+event.clientY
/* 26 */ }
/* 27 */ 
/* 28 */ aufbau.style.left=horizoposi+"px"
/* 29 */ aufbau.style.top=vertiposi+"px"
/* 30 */ aufbau.innerHTML='<div align="center" id="leiste"><span id="schliessen_text" >Zum Schlie&szlig;en ins Bild klicken!</span> </div><img onClick="vorschau_zu()" src="'+welche+'">'
/* 31 */ aufbau.style.visibility="visible"
/* 32 */ return false
/* 33 */ }
/* 34 */ else
/* 35 */ return true
/* 36 */ }
/* 37 */ 
/* 38 */ function vorschau_zu(){
/* 39 */ aufbau.style.visibility="hidden"
/* 40 */ }
/* 41 */ 
/* 42 */ function drag_and_drop(e){
/* 43 */ if (ie&&dragapproved){
/* 44 */ aufbau.style.left=tempx+event.clientX-offsetx+"px"
/* 45 */ aufbau.style.top=tempy+event.clientY-offsety+"px"
/* 46 */ }
/* 47 */ else if (ns6&&dragapproved){
/* 48 */ aufbau.style.left=tempx+e.clientX-offsetx+"px"
/* 49 */ aufbau.style.top=tempy+e.clientY-offsety+"px"
/* 50 */ }

/* vergroessern.js */

/* 51 */ return false
/* 52 */ }
/* 53 */ 
/* 54 */ function initiiere_drag(e){
/* 55 */ if (ie&&event.srcElement.id=="leiste"||ns6&&e.target.id=="leiste"){
/* 56 */ offsetx=ie? event.clientX : e.clientX
/* 57 */ offsety=ie? event.clientY : e.clientY
/* 58 */ 
/* 59 */ tempx=parseInt(aufbau.style.left)
/* 60 */ tempy=parseInt(aufbau.style.top)
/* 61 */ 
/* 62 */ dragapproved=true
/* 63 */ document.onmousemove=drag_and_drop
/* 64 */ }
/* 65 */ }
/* 66 */ 
/* 67 */ document.onmousedown=initiiere_drag
/* 68 */ document.onmouseup=new Function("dragapproved=false")

;
/* AJS.js */

/* 1   */ AJS={BASE_URL:"",drag_obj:null,drag_elm:null,_drop_zones:[],_cur_pos:null,getScrollTop:function(){
/* 2   */ var t;
/* 3   */ if(document.documentElement&&document.documentElement.scrollTop){
/* 4   */ t=document.documentElement.scrollTop;
/* 5   */ }else{
/* 6   */ if(document.body){
/* 7   */ t=document.body.scrollTop;
/* 8   */ }
/* 9   */ }
/* 10  */ return t;
/* 11  */ },addClass:function(){
/* 12  */ var _2=AJS.forceArray(arguments);
/* 13  */ var _3=_2.pop();
/* 14  */ var _4=function(o){
/* 15  */ if(!new RegExp("(^|\\s)"+_3+"(\\s|$)").test(o.className)){
/* 16  */ o.className+=(o.className?" ":"")+_3;
/* 17  */ }
/* 18  */ };
/* 19  */ AJS.map(_2,function(_6){
/* 20  */ _4(_6);
/* 21  */ });
/* 22  */ },setStyle:function(){
/* 23  */ var _7=AJS.forceArray(arguments);
/* 24  */ var _8=_7.pop();
/* 25  */ var _9=_7.pop();
/* 26  */ AJS.map(_7,function(_a){
/* 27  */ _a.style[_9]=AJS.getCssDim(_8);
/* 28  */ });
/* 29  */ },extend:function(_b){
/* 30  */ var _c=new this("no_init");
/* 31  */ for(k in _b){
/* 32  */ var _d=_c[k];
/* 33  */ var _e=_b[k];
/* 34  */ if(_d&&_d!=_e&&typeof _e=="function"){
/* 35  */ _e=this._parentize(_e,_d);
/* 36  */ }
/* 37  */ _c[k]=_e;
/* 38  */ }
/* 39  */ return new AJS.Class(_c);
/* 40  */ },log:function(o){
/* 41  */ if(window.console){
/* 42  */ console.log(o);
/* 43  */ }else{
/* 44  */ var div=AJS.$("ajs_logger");
/* 45  */ if(!div){
/* 46  */ div=AJS.DIV({id:"ajs_logger","style":"color: green; position: absolute; left: 0"});
/* 47  */ div.style.top=AJS.getScrollTop()+"px";
/* 48  */ AJS.ACN(AJS.getBody(),div);
/* 49  */ }
/* 50  */ AJS.setHTML(div,""+o);

/* AJS.js */

/* 51  */ }
/* 52  */ },setHeight:function(){
/* 53  */ var _11=AJS.forceArray(arguments);
/* 54  */ _11.splice(_11.length-1,0,"height");
/* 55  */ AJS.setStyle.apply(null,_11);
/* 56  */ },_getRealScope:function(fn,_13){
/* 57  */ _13=AJS.$A(_13);
/* 58  */ var _14=fn._cscope||window;
/* 59  */ return function(){
/* 60  */ var _15=AJS.$FA(arguments).concat(_13);
/* 61  */ return fn.apply(_14,_15);
/* 62  */ };
/* 63  */ },documentInsert:function(elm){
/* 64  */ if(typeof (elm)=="string"){
/* 65  */ elm=AJS.HTML2DOM(elm);
/* 66  */ }
/* 67  */ document.write("<span id=\"dummy_holder\"></span>");
/* 68  */ AJS.swapDOM(AJS.$("dummy_holder"),elm);
/* 69  */ },getWindowSize:function(doc){
/* 70  */ doc=doc||document;
/* 71  */ var _18,_19;
/* 72  */ if(self.innerHeight){
/* 73  */ _18=self.innerWidth;
/* 74  */ _19=self.innerHeight;
/* 75  */ }else{
/* 76  */ if(doc.documentElement&&doc.documentElement.clientHeight){
/* 77  */ _18=doc.documentElement.clientWidth;
/* 78  */ _19=doc.documentElement.clientHeight;
/* 79  */ }else{
/* 80  */ if(doc.body){
/* 81  */ _18=doc.body.clientWidth;
/* 82  */ _19=doc.body.clientHeight;
/* 83  */ }
/* 84  */ }
/* 85  */ }
/* 86  */ return {"w":_18,"h":_19};
/* 87  */ },flattenList:function(_1a){
/* 88  */ var r=[];
/* 89  */ var _1c=function(r,l){
/* 90  */ AJS.map(l,function(o){
/* 91  */ if(o==null){
/* 92  */ }else{
/* 93  */ if(AJS.isArray(o)){
/* 94  */ _1c(r,o);
/* 95  */ }else{
/* 96  */ r.push(o);
/* 97  */ }
/* 98  */ }
/* 99  */ });
/* 100 */ };

/* AJS.js */

/* 101 */ _1c(r,_1a);
/* 102 */ return r;
/* 103 */ },isFunction:function(obj){
/* 104 */ return (typeof obj=="function");
/* 105 */ },setEventKey:function(e){
/* 106 */ e.key=e.keyCode?e.keyCode:e.charCode;
/* 107 */ if(window.event){
/* 108 */ e.ctrl=window.event.ctrlKey;
/* 109 */ e.shift=window.event.shiftKey;
/* 110 */ }else{
/* 111 */ e.ctrl=e.ctrlKey;
/* 112 */ e.shift=e.shiftKey;
/* 113 */ }
/* 114 */ switch(e.key){
/* 115 */ case 63232:
/* 116 */ e.key=38;
/* 117 */ break;
/* 118 */ case 63233:
/* 119 */ e.key=40;
/* 120 */ break;
/* 121 */ case 63235:
/* 122 */ e.key=39;
/* 123 */ break;
/* 124 */ case 63234:
/* 125 */ e.key=37;
/* 126 */ break;
/* 127 */ }
/* 128 */ },removeElement:function(){
/* 129 */ var _22=AJS.forceArray(arguments);
/* 130 */ AJS.map(_22,function(elm){
/* 131 */ AJS.swapDOM(elm,null);
/* 132 */ });
/* 133 */ },_unloadListeners:function(){
/* 134 */ if(AJS.listeners){
/* 135 */ AJS.map(AJS.listeners,function(elm,_25,fn){
/* 136 */ AJS.REV(elm,_25,fn);
/* 137 */ });
/* 138 */ }
/* 139 */ AJS.listeners=[];
/* 140 */ },join:function(_27,_28){
/* 141 */ try{
/* 142 */ return _28.join(_27);
/* 143 */ }
/* 144 */ catch(e){
/* 145 */ var r=_28[0]||"";
/* 146 */ AJS.map(_28,function(elm){
/* 147 */ r+=_27+elm;
/* 148 */ },1);
/* 149 */ return r+"";
/* 150 */ }

/* AJS.js */

/* 151 */ },getIndex:function(elm,_2c,_2d){
/* 152 */ for(var i=0;i<_2c.length;i++){
/* 153 */ if(_2d&&_2d(_2c[i])||elm==_2c[i]){
/* 154 */ return i;
/* 155 */ }
/* 156 */ }
/* 157 */ return -1;
/* 158 */ },isIn:function(elm,_30){
/* 159 */ var i=AJS.getIndex(elm,_30);
/* 160 */ if(i!=-1){
/* 161 */ return true;
/* 162 */ }else{
/* 163 */ return false;
/* 164 */ }
/* 165 */ },isArray:function(obj){
/* 166 */ return obj instanceof Array;
/* 167 */ },setLeft:function(){
/* 168 */ var _33=AJS.forceArray(arguments);
/* 169 */ _33.splice(_33.length-1,0,"left");
/* 170 */ AJS.setStyle.apply(null,_33);
/* 171 */ },appendChildNodes:function(elm){
/* 172 */ if(arguments.length>=2){
/* 173 */ AJS.map(arguments,function(n){
/* 174 */ if(AJS.isString(n)){
/* 175 */ n=AJS.TN(n);
/* 176 */ }
/* 177 */ if(AJS.isDefined(n)){
/* 178 */ elm.appendChild(n);
/* 179 */ }
/* 180 */ },1);
/* 181 */ }
/* 182 */ return elm;
/* 183 */ },getElementsByTagAndClassName:function(_36,_37,_38,_39){
/* 184 */ var _3a=[];
/* 185 */ if(!AJS.isDefined(_38)){
/* 186 */ _38=document;
/* 187 */ }
/* 188 */ if(!AJS.isDefined(_36)){
/* 189 */ _36="*";
/* 190 */ }
/* 191 */ var els=_38.getElementsByTagName(_36);
/* 192 */ var _3c=els.length;
/* 193 */ var _3d=new RegExp("(^|\\s)"+_37+"(\\s|$)");
/* 194 */ for(i=0,j=0;i<_3c;i++){
/* 195 */ if(_3d.test(els[i].className)||_37==null){
/* 196 */ _3a[j]=els[i];
/* 197 */ j++;
/* 198 */ }
/* 199 */ }
/* 200 */ if(_39){

/* AJS.js */

/* 201 */ return _3a[0];
/* 202 */ }else{
/* 203 */ return _3a;
/* 204 */ }
/* 205 */ },isOpera:function(){
/* 206 */ return (navigator.userAgent.toLowerCase().indexOf("opera")!=-1);
/* 207 */ },isString:function(obj){
/* 208 */ return (typeof obj=="string");
/* 209 */ },hideElement:function(elm){
/* 210 */ var _40=AJS.forceArray(arguments);
/* 211 */ AJS.map(_40,function(elm){
/* 212 */ elm.style.display="none";
/* 213 */ });
/* 214 */ },setOpacity:function(elm,p){
/* 215 */ elm.style.opacity=p;
/* 216 */ elm.style.filter="alpha(opacity="+p*100+")";
/* 217 */ },insertBefore:function(elm,_45){
/* 218 */ _45.parentNode.insertBefore(elm,_45);
/* 219 */ return elm;
/* 220 */ },setWidth:function(){
/* 221 */ var _46=AJS.forceArray(arguments);
/* 222 */ _46.splice(_46.length-1,0,"width");
/* 223 */ AJS.setStyle.apply(null,_46);
/* 224 */ },createArray:function(v){
/* 225 */ if(AJS.isArray(v)&&!AJS.isString(v)){
/* 226 */ return v;
/* 227 */ }else{
/* 228 */ if(!v){
/* 229 */ return [];
/* 230 */ }else{
/* 231 */ return [v];
/* 232 */ }
/* 233 */ }
/* 234 */ },isDict:function(o){
/* 235 */ var _49=String(o);
/* 236 */ return _49.indexOf(" Object")!=-1;
/* 237 */ },isMozilla:function(){
/* 238 */ return (navigator.userAgent.toLowerCase().indexOf("gecko")!=-1&&navigator.productSub>=20030210);
/* 239 */ },removeEventListener:function(elm,_4b,fn,_4d){
/* 240 */ var _4e="ajsl_"+_4b+fn;
/* 241 */ if(!_4d){
/* 242 */ _4d=false;
/* 243 */ }
/* 244 */ fn=elm[_4e]||fn;
/* 245 */ if(elm["on"+_4b]==fn){
/* 246 */ elm["on"+_4b]=elm[_4e+"old"];
/* 247 */ }
/* 248 */ if(elm.removeEventListener){
/* 249 */ elm.removeEventListener(_4b,fn,_4d);
/* 250 */ if(AJS.isOpera()){

/* AJS.js */

/* 251 */ elm.removeEventListener(_4b,fn,!_4d);
/* 252 */ }
/* 253 */ }else{
/* 254 */ if(elm.detachEvent){
/* 255 */ elm.detachEvent("on"+_4b,fn);
/* 256 */ }
/* 257 */ }
/* 258 */ },callLater:function(fn,_50){
/* 259 */ var _51=function(){
/* 260 */ fn();
/* 261 */ };
/* 262 */ window.setTimeout(_51,_50);
/* 263 */ },setTop:function(){
/* 264 */ var _52=AJS.forceArray(arguments);
/* 265 */ _52.splice(_52.length-1,0,"top");
/* 266 */ AJS.setStyle.apply(null,_52);
/* 267 */ },_createDomShortcuts:function(){
/* 268 */ var _53=["ul","li","td","tr","th","tbody","table","input","span","b","a","div","img","button","h1","h2","h3","h4","h5","h6","br","textarea","form","p","select","option","optgroup","iframe","script","center","dl","dt","dd","small","pre","i"];
/* 269 */ var _54=function(elm){
/* 270 */ AJS[elm.toUpperCase()]=function(){
/* 271 */ return AJS.createDOM.apply(null,[elm,arguments]);
/* 272 */ };
/* 273 */ };
/* 274 */ AJS.map(_53,_54);
/* 275 */ AJS.TN=function(_56){
/* 276 */ return document.createTextNode(_56);
/* 277 */ };
/* 278 */ },addCallback:function(fn){
/* 279 */ this.callbacks.unshift(fn);
/* 280 */ },bindMethods:function(_58){
/* 281 */ for(var k in _58){
/* 282 */ var _5a=_58[k];
/* 283 */ if(typeof (_5a)=="function"){
/* 284 */ _58[k]=AJS.$b(_5a,_58);
/* 285 */ }
/* 286 */ }
/* 287 */ },partial:function(fn){
/* 288 */ var _5c=AJS.$FA(arguments);
/* 289 */ _5c.shift();
/* 290 */ return function(){
/* 291 */ _5c=_5c.concat(AJS.$FA(arguments));
/* 292 */ return fn.apply(window,_5c);
/* 293 */ };
/* 294 */ },isNumber:function(obj){
/* 295 */ return (typeof obj=="number");
/* 296 */ },getCssDim:function(dim){
/* 297 */ if(AJS.isString(dim)){
/* 298 */ return dim;
/* 299 */ }else{
/* 300 */ return dim+"px";

/* AJS.js */

/* 301 */ }
/* 302 */ },isIe:function(){
/* 303 */ return (navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1);
/* 304 */ },removeClass:function(){
/* 305 */ var _5f=AJS.forceArray(arguments);
/* 306 */ var cls=_5f.pop();
/* 307 */ var _61=function(o){
/* 308 */ o.className=o.className.replace(new RegExp("\\s?"+cls,"g"),"");
/* 309 */ };
/* 310 */ AJS.map(_5f,function(elm){
/* 311 */ _61(elm);
/* 312 */ });
/* 313 */ },setHTML:function(elm,_65){
/* 314 */ elm.innerHTML=_65;
/* 315 */ return elm;
/* 316 */ },map:function(_66,fn,_68,_69){
/* 317 */ var i=0,l=_66.length;
/* 318 */ if(_68){
/* 319 */ i=_68;
/* 320 */ }
/* 321 */ if(_69){
/* 322 */ l=_69;
/* 323 */ }
/* 324 */ for(i;i<l;i++){
/* 325 */ var val=fn(_66[i],i);
/* 326 */ if(val!=undefined){
/* 327 */ return val;
/* 328 */ }
/* 329 */ }
/* 330 */ },addEventListener:function(elm,_6e,fn,_70,_71){
/* 331 */ var _72="ajsl_"+_6e+fn;
/* 332 */ if(!_71){
/* 333 */ _71=false;
/* 334 */ }
/* 335 */ AJS.listeners=AJS.$A(AJS.listeners);
/* 336 */ if(AJS.isIn(_6e,["keypress","keydown","keyup","click"])){
/* 337 */ var _73=fn;
/* 338 */ fn=function(e){
/* 339 */ AJS.setEventKey(e);
/* 340 */ return _73.apply(window,arguments);
/* 341 */ };
/* 342 */ }
/* 343 */ var _75=AJS.isIn(_6e,["submit","load","scroll","resize"]);
/* 344 */ var _76=AJS.$A(elm);
/* 345 */ AJS.map(_76,function(_77){
/* 346 */ if(_70){
/* 347 */ var _78=fn;
/* 348 */ fn=function(e){
/* 349 */ AJS.REV(_77,_6e,fn);
/* 350 */ return _78.apply(window,arguments);

/* AJS.js */

/* 351 */ };
/* 352 */ }
/* 353 */ if(_75){
/* 354 */ var _7a=_77["on"+_6e];
/* 355 */ var _7b=function(){
/* 356 */ if(_7a){
/* 357 */ fn(arguments);
/* 358 */ return _7a(arguments);
/* 359 */ }else{
/* 360 */ return fn(arguments);
/* 361 */ }
/* 362 */ };
/* 363 */ _77[_72]=_7b;
/* 364 */ _77[_72+"old"]=_7a;
/* 365 */ elm["on"+_6e]=_7b;
/* 366 */ }else{
/* 367 */ _77[_72]=fn;
/* 368 */ if(_77.attachEvent){
/* 369 */ _77.attachEvent("on"+_6e,fn);
/* 370 */ }else{
/* 371 */ if(_77.addEventListener){
/* 372 */ _77.addEventListener(_6e,fn,_71);
/* 373 */ }
/* 374 */ }
/* 375 */ AJS.listeners.push([_77,_6e,fn]);
/* 376 */ }
/* 377 */ });
/* 378 */ },preloadImages:function(){
/* 379 */ AJS.AEV(window,"load",AJS.$p(function(_7c){
/* 380 */ AJS.map(_7c,function(src){
/* 381 */ var pic=new Image();
/* 382 */ pic.src=src;
/* 383 */ });
/* 384 */ },arguments));
/* 385 */ },forceArray:function(_7f){
/* 386 */ var r=[];
/* 387 */ AJS.map(_7f,function(elm){
/* 388 */ r.push(elm);
/* 389 */ });
/* 390 */ return r;
/* 391 */ },update:function(l1,l2){
/* 392 */ for(var i in l2){
/* 393 */ l1[i]=l2[i];
/* 394 */ }
/* 395 */ return l1;
/* 396 */ },getBody:function(){
/* 397 */ return AJS.$bytc("body")[0];
/* 398 */ },HTML2DOM:function(_85,_86){
/* 399 */ var d=AJS.DIV();
/* 400 */ d.innerHTML=_85;

/* AJS.js */

/* 401 */ if(_86){
/* 402 */ return d.childNodes[0];
/* 403 */ }else{
/* 404 */ return d;
/* 405 */ }
/* 406 */ },getElement:function(id){
/* 407 */ if(AJS.isString(id)||AJS.isNumber(id)){
/* 408 */ return document.getElementById(id);
/* 409 */ }else{
/* 410 */ return id;
/* 411 */ }
/* 412 */ },showElement:function(){
/* 413 */ var _89=AJS.forceArray(arguments);
/* 414 */ AJS.map(_89,function(elm){
/* 415 */ elm.style.display="";
/* 416 */ });
/* 417 */ },bind:function(fn,_8c,_8d){
/* 418 */ fn._cscope=_8c;
/* 419 */ return AJS._getRealScope(fn,_8d);
/* 420 */ },createDOM:function(_8e,_8f){
/* 421 */ var i=0,_91;
/* 422 */ var elm=document.createElement(_8e);
/* 423 */ var _93=_8f[0];
/* 424 */ if(AJS.isDict(_8f[i])){
/* 425 */ for(k in _93){
/* 426 */ _91=_93[k];
/* 427 */ if(k=="style"||k=="s"){
/* 428 */ elm.style.cssText=_91;
/* 429 */ }else{
/* 430 */ if(k=="c"||k=="class"||k=="className"){
/* 431 */ elm.className=_91;
/* 432 */ }else{
/* 433 */ elm.setAttribute(k,_91);
/* 434 */ }
/* 435 */ }
/* 436 */ }
/* 437 */ i++;
/* 438 */ }
/* 439 */ if(_93==null){
/* 440 */ i=1;
/* 441 */ }
/* 442 */ for(var j=i;j<_8f.length;j++){
/* 443 */ var _91=_8f[j];
/* 444 */ if(_91){
/* 445 */ var _95=typeof (_91);
/* 446 */ if(_95=="string"||_95=="number"){
/* 447 */ _91=AJS.TN(_91);
/* 448 */ }
/* 449 */ elm.appendChild(_91);
/* 450 */ }

/* AJS.js */

/* 451 */ }
/* 452 */ return elm;
/* 453 */ },swapDOM:function(_96,src){
/* 454 */ _96=AJS.getElement(_96);
/* 455 */ var _98=_96.parentNode;
/* 456 */ if(src){
/* 457 */ src=AJS.getElement(src);
/* 458 */ _98.replaceChild(src,_96);
/* 459 */ }else{
/* 460 */ _98.removeChild(_96);
/* 461 */ }
/* 462 */ return src;
/* 463 */ },isDefined:function(o){
/* 464 */ return (o!="undefined"&&o!=null);
/* 465 */ }};
/* 466 */ AJS.$=AJS.getElement;
/* 467 */ AJS.$$=AJS.getElements;
/* 468 */ AJS.$f=AJS.getFormElement;
/* 469 */ AJS.$p=AJS.partial;
/* 470 */ AJS.$b=AJS.bind;
/* 471 */ AJS.$A=AJS.createArray;
/* 472 */ AJS.DI=AJS.documentInsert;
/* 473 */ AJS.ACN=AJS.appendChildNodes;
/* 474 */ AJS.RCN=AJS.replaceChildNodes;
/* 475 */ AJS.AEV=AJS.addEventListener;
/* 476 */ AJS.REV=AJS.removeEventListener;
/* 477 */ AJS.$bytc=AJS.getElementsByTagAndClassName;
/* 478 */ AJS.$AP=AJS.absolutePosition;
/* 479 */ AJS.$FA=AJS.forceArray;
/* 480 */ AJS.addEventListener(window,"unload",AJS._unloadListeners);
/* 481 */ AJS._createDomShortcuts();
/* 482 */ AJS.Class=function(_9a){
/* 483 */ var fn=function(){
/* 484 */ if(arguments[0]!="no_init"){
/* 485 */ return this.init.apply(this,arguments);
/* 486 */ }
/* 487 */ };
/* 488 */ fn.prototype=_9a;
/* 489 */ AJS.update(fn,AJS.Class.prototype);
/* 490 */ return fn;
/* 491 */ };
/* 492 */ AJS.Class.prototype={extend:function(_9c){
/* 493 */ var _9d=new this("no_init");
/* 494 */ for(k in _9c){
/* 495 */ var _9e=_9d[k];
/* 496 */ var cur=_9c[k];
/* 497 */ if(_9e&&_9e!=cur&&typeof cur=="function"){
/* 498 */ cur=this._parentize(cur,_9e);
/* 499 */ }
/* 500 */ _9d[k]=cur;

/* AJS.js */

/* 501 */ }
/* 502 */ return new AJS.Class(_9d);
/* 503 */ },implement:function(_a0){
/* 504 */ AJS.update(this.prototype,_a0);
/* 505 */ },_parentize:function(cur,_a2){
/* 506 */ return function(){
/* 507 */ this.parent=_a2;
/* 508 */ return cur.apply(this,arguments);
/* 509 */ };
/* 510 */ }};
/* 511 */ script_loaded=true;
/* 512 */ 
/* 513 */ 
/* 514 */ script_loaded=true;

;
/* AJS_fx.js */

/* 1   */ AJS.fx={_shades:{0:"ffffff",1:"ffffee",2:"ffffdd",3:"ffffcc",4:"ffffbb",5:"ffffaa",6:"ffff99"},highlight:function(_1,_2){
/* 2   */ var _3=new AJS.fx.Base();
/* 3   */ _3.elm=AJS.$(_1);
/* 4   */ _3.options.duration=600;
/* 5   */ _3.setOptions(_2);
/* 6   */ AJS.update(_3,{increase:function(){
/* 7   */ if(this.now==7){
/* 8   */ _1.style.backgroundColor="#fff";
/* 9   */ }else{
/* 10  */ _1.style.backgroundColor="#"+AJS.fx._shades[Math.floor(this.now)];
/* 11  */ }
/* 12  */ }});
/* 13  */ return _3.custom(6,0);
/* 14  */ },fadeIn:function(_4,_5){
/* 15  */ _5=_5||{};
/* 16  */ if(!_5.from){
/* 17  */ _5.from=0;
/* 18  */ AJS.setOpacity(_4,0);
/* 19  */ }
/* 20  */ if(!_5.to){
/* 21  */ _5.to=1;
/* 22  */ }
/* 23  */ var s=new AJS.fx.Style(_4,"opacity",_5);
/* 24  */ return s.custom(_5.from,_5.to);
/* 25  */ },fadeOut:function(_7,_8){
/* 26  */ _8=_8||{};
/* 27  */ if(!_8.from){
/* 28  */ _8.from=1;
/* 29  */ }
/* 30  */ if(!_8.to){
/* 31  */ _8.to=0;
/* 32  */ }
/* 33  */ _8.duration=300;
/* 34  */ var s=new AJS.fx.Style(_7,"opacity",_8);
/* 35  */ return s.custom(_8.from,_8.to);
/* 36  */ },setWidth:function(_a,_b){
/* 37  */ var s=new AJS.fx.Style(_a,"width",_b);
/* 38  */ return s.custom(_b.from,_b.to);
/* 39  */ },setHeight:function(_d,_e){
/* 40  */ var s=new AJS.fx.Style(_d,"height",_e);
/* 41  */ return s.custom(_e.from,_e.to);
/* 42  */ }};
/* 43  */ AJS.fx.Base=new AJS.Class({init:function(_10){
/* 44  */ this.options={onStart:function(){
/* 45  */ },onComplete:function(){
/* 46  */ },transition:AJS.fx.Transitions.sineInOut,duration:500,wait:true,fps:50};
/* 47  */ AJS.update(this.options,_10);
/* 48  */ AJS.bindMethods(this);
/* 49  */ },setOptions:function(_11){
/* 50  */ AJS.update(this.options,_11);

/* AJS_fx.js */

/* 51  */ },step:function(){
/* 52  */ var _12=new Date().getTime();
/* 53  */ if(_12<this.time+this.options.duration){
/* 54  */ this.cTime=_12-this.time;
/* 55  */ this.setNow();
/* 56  */ }else{
/* 57  */ setTimeout(AJS.$b(this.options.onComplete,this,[this.elm]),10);
/* 58  */ this.clearTimer();
/* 59  */ this.now=this.to;
/* 60  */ }
/* 61  */ this.increase();
/* 62  */ },setNow:function(){
/* 63  */ this.now=this.compute(this.from,this.to);
/* 64  */ },compute:function(_13,to){
/* 65  */ var _15=to-_13;
/* 66  */ return this.options.transition(this.cTime,_13,_15,this.options.duration);
/* 67  */ },clearTimer:function(){
/* 68  */ clearInterval(this.timer);
/* 69  */ this.timer=null;
/* 70  */ return this;
/* 71  */ },_start:function(_16,to){
/* 72  */ if(!this.options.wait){
/* 73  */ this.clearTimer();
/* 74  */ }
/* 75  */ if(this.timer){
/* 76  */ return;
/* 77  */ }
/* 78  */ setTimeout(AJS.$p(this.options.onStart,this.elm),10);
/* 79  */ this.from=_16;
/* 80  */ this.to=to;
/* 81  */ this.time=new Date().getTime();
/* 82  */ this.timer=setInterval(this.step,Math.round(1000/this.options.fps));
/* 83  */ return this;
/* 84  */ },custom:function(_18,to){
/* 85  */ return this._start(_18,to);
/* 86  */ },set:function(to){
/* 87  */ this.now=to;
/* 88  */ this.increase();
/* 89  */ return this;
/* 90  */ },setStyle:function(elm,_1c,val){
/* 91  */ if(this.property=="opacity"){
/* 92  */ AJS.setOpacity(elm,val);
/* 93  */ }else{
/* 94  */ AJS.setStyle(elm,_1c,val);
/* 95  */ }
/* 96  */ }});
/* 97  */ AJS.fx.Style=AJS.fx.Base.extend({init:function(elm,_1f,_20){
/* 98  */ this.parent();
/* 99  */ this.elm=elm;
/* 100 */ this.setOptions(_20);

/* AJS_fx.js */

/* 101 */ this.property=_1f;
/* 102 */ },increase:function(){
/* 103 */ this.setStyle(this.elm,this.property,this.now);
/* 104 */ }});
/* 105 */ AJS.fx.Styles=AJS.fx.Base.extend({init:function(elm,_22){
/* 106 */ this.parent();
/* 107 */ this.elm=AJS.$(elm);
/* 108 */ this.setOptions(_22);
/* 109 */ this.now={};
/* 110 */ },setNow:function(){
/* 111 */ for(p in this.from){
/* 112 */ this.now[p]=this.compute(this.from[p],this.to[p]);
/* 113 */ }
/* 114 */ },custom:function(obj){
/* 115 */ if(this.timer&&this.options.wait){
/* 116 */ return;
/* 117 */ }
/* 118 */ var _24={};
/* 119 */ var to={};
/* 120 */ for(p in obj){
/* 121 */ _24[p]=obj[p][0];
/* 122 */ to[p]=obj[p][1];
/* 123 */ }
/* 124 */ return this._start(_24,to);
/* 125 */ },increase:function(){
/* 126 */ for(var p in this.now){
/* 127 */ this.setStyle(this.elm,p,this.now[p]);
/* 128 */ }
/* 129 */ }});
/* 130 */ AJS.fx.Transitions={linear:function(t,b,c,d){
/* 131 */ return c*t/d+b;
/* 132 */ },sineInOut:function(t,b,c,d){
/* 133 */ return -c/2*(Math.cos(Math.PI*t/d)-1)+b;
/* 134 */ }};
/* 135 */ script_loaded=true;
/* 136 */ 
/* 137 */ 
/* 138 */ script_loaded=true;

;
/* gb_scripts.js */

/* 1   */ var GB_CURRENT=null;
/* 2   */ GB_hide=function(cb){
/* 3   */ GB_CURRENT.hide(cb);
/* 4   */ };
/* 5   */ GreyBox=new AJS.Class({init:function(_2){
/* 6   */ this.use_fx=AJS.fx;
/* 7   */ this.type="page";
/* 8   */ this.overlay_click_close=true;
/* 9   */ this.salt=0;
/* 10  */ this.root_dir=GB_ROOT_DIR;
/* 11  */ this.callback_fns=[];
/* 12  */ this.reload_on_close=false;
/* 13  */ this.src_loader=this.root_dir+"loader_frame.html";
/* 14  */ var _3=window.location.hostname.indexOf("www");
/* 15  */ var _4=this.src_loader.indexOf("www");
/* 16  */ if(_3!=-1&&_4==-1){
/* 17  */ this.src_loader=this.src_loader.replace("://","://www.");
/* 18  */ }
/* 19  */ if(_3==-1&&_4!=-1){
/* 20  */ this.src_loader=this.src_loader.replace("://www.","://");
/* 21  */ }
/* 22  */ this.show_loading=true;
/* 23  */ AJS.update(this,_2);
/* 24  */ },addCallback:function(fn){
/* 25  */ if(fn){
/* 26  */ this.callback_fns.push(fn);
/* 27  */ }
/* 28  */ },show:function(_6){
/* 29  */ GB_CURRENT=this;
/* 30  */ this.url=_6;
/* 31  */ var _7=[AJS.$bytc("object"),AJS.$bytc("select")];
/* 32  */ AJS.map(AJS.flattenList(_7),function(_8){
/* 33  */ _8.style.visibility="hidden";
/* 34  */ });
/* 35  */ this.createElements();
/* 36  */ return false;
/* 37  */ },hide:function(cb){
/* 38  */ var me=this;
/* 39  */ AJS.callLater(function(){
/* 40  */ var _b=me.callback_fns;
/* 41  */ if(_b!=[]){
/* 42  */ AJS.map(_b,function(fn){
/* 43  */ fn();
/* 44  */ });
/* 45  */ }
/* 46  */ me.onHide();
/* 47  */ if(me.use_fx){
/* 48  */ var _d=me.overlay;
/* 49  */ AJS.fx.fadeOut(me.overlay,{onComplete:function(){
/* 50  */ AJS.removeElement(_d);

/* gb_scripts.js */

/* 51  */ _d=null;
/* 52  */ },duration:300});
/* 53  */ AJS.removeElement(me.g_window);
/* 54  */ }else{
/* 55  */ AJS.removeElement(me.g_window,me.overlay);
/* 56  */ }
/* 57  */ me.removeFrame();
/* 58  */ AJS.REV(window,"scroll",_GB_setOverlayDimension);
/* 59  */ AJS.REV(window,"resize",_GB_update);
/* 60  */ var _e=[AJS.$bytc("object"),AJS.$bytc("select")];
/* 61  */ AJS.map(AJS.flattenList(_e),function(_f){
/* 62  */ _f.style.visibility="visible";
/* 63  */ });
/* 64  */ GB_CURRENT=null;
/* 65  */ if(me.reload_on_close){
/* 66  */ window.location.reload();
/* 67  */ }
/* 68  */ if(AJS.isFunction(cb)){
/* 69  */ cb();
/* 70  */ }
/* 71  */ },10);
/* 72  */ },update:function(){
/* 73  */ this.setOverlayDimension();
/* 74  */ this.setFrameSize();
/* 75  */ this.setWindowPosition();
/* 76  */ },createElements:function(){
/* 77  */ this.initOverlay();
/* 78  */ this.g_window=AJS.DIV({"id":"GB_window"});
/* 79  */ AJS.hideElement(this.g_window);
/* 80  */ AJS.getBody().insertBefore(this.g_window,this.overlay.nextSibling);
/* 81  */ this.initFrame();
/* 82  */ this.initHook();
/* 83  */ this.update();
/* 84  */ var me=this;
/* 85  */ if(this.use_fx){
/* 86  */ AJS.fx.fadeIn(this.overlay,{duration:300,to:0.7,onComplete:function(){
/* 87  */ me.onShow();
/* 88  */ AJS.showElement(me.g_window);
/* 89  */ me.startLoading();
/* 90  */ }});
/* 91  */ }else{
/* 92  */ AJS.setOpacity(this.overlay,0.7);
/* 93  */ AJS.showElement(this.g_window);
/* 94  */ this.onShow();
/* 95  */ this.startLoading();
/* 96  */ }
/* 97  */ AJS.AEV(window,"scroll",_GB_setOverlayDimension);
/* 98  */ AJS.AEV(window,"resize",_GB_update);
/* 99  */ },removeFrame:function(){
/* 100 */ try{

/* gb_scripts.js */

/* 101 */ AJS.removeElement(this.iframe);
/* 102 */ }
/* 103 */ catch(e){
/* 104 */ }
/* 105 */ this.iframe=null;
/* 106 */ },startLoading:function(){
/* 107 */ this.iframe.src=this.src_loader+"?s="+this.salt++;
/* 108 */ AJS.showElement(this.iframe);
/* 109 */ },setOverlayDimension:function(){
/* 110 */ var _11=AJS.getWindowSize();
/* 111 */ if(AJS.isMozilla()||AJS.isOpera()){
/* 112 */ AJS.setWidth(this.overlay,"100%");
/* 113 */ }else{
/* 114 */ AJS.setWidth(this.overlay,_11.w);
/* 115 */ }
/* 116 */ var _12=Math.max(AJS.getScrollTop()+_11.h,AJS.getScrollTop()+this.height);
/* 117 */ if(_12<AJS.getScrollTop()){
/* 118 */ AJS.setHeight(this.overlay,_12);
/* 119 */ }else{
/* 120 */ AJS.setHeight(this.overlay,AJS.getScrollTop()+_11.h);
/* 121 */ }
/* 122 */ },initOverlay:function(){
/* 123 */ this.overlay=AJS.DIV({"id":"GB_overlay"});
/* 124 */ if(this.overlay_click_close){
/* 125 */ AJS.AEV(this.overlay,"click",GB_hide);
/* 126 */ }
/* 127 */ AJS.setOpacity(this.overlay,0);
/* 128 */ AJS.getBody().insertBefore(this.overlay,AJS.getBody().firstChild);
/* 129 */ },initFrame:function(){
/* 130 */ if(!this.iframe){
/* 131 */ var d={"name":"GB_frame","class":"GB_frame","frameBorder":0};
/* 132 */ if(AJS.isIe()){
/* 133 */ d.src="javascript:false;document.write(\"\");";
/* 134 */ }
/* 135 */ this.iframe=AJS.IFRAME(d);
/* 136 */ this.middle_cnt=AJS.DIV({"class":"content"},this.iframe);
/* 137 */ this.top_cnt=AJS.DIV();
/* 138 */ this.bottom_cnt=AJS.DIV();
/* 139 */ AJS.ACN(this.g_window,this.top_cnt,this.middle_cnt,this.bottom_cnt);
/* 140 */ }
/* 141 */ },onHide:function(){
/* 142 */ },onShow:function(){
/* 143 */ },setFrameSize:function(){
/* 144 */ },setWindowPosition:function(){
/* 145 */ },initHook:function(){
/* 146 */ }});
/* 147 */ _GB_update=function(){
/* 148 */ if(GB_CURRENT){
/* 149 */ GB_CURRENT.update();
/* 150 */ }

/* gb_scripts.js */

/* 151 */ };
/* 152 */ _GB_setOverlayDimension=function(){
/* 153 */ if(GB_CURRENT){
/* 154 */ GB_CURRENT.setOverlayDimension();
/* 155 */ }
/* 156 */ };
/* 157 */ AJS.preloadImages(GB_ROOT_DIR+"indicator.gif");
/* 158 */ script_loaded=true;
/* 159 */ var GB_SETS={};
/* 160 */ function decoGreyboxLinks(){
/* 161 */ var as=AJS.$bytc("a");
/* 162 */ AJS.map(as,function(a){
/* 163 */ if(a.getAttribute("href")&&a.getAttribute("rel")){
/* 164 */ var rel=a.getAttribute("rel");
/* 165 */ if(rel.indexOf("gb_")==0){
/* 166 */ var _17=rel.match(/\w+/)[0];
/* 167 */ var _18=rel.match(/\[(.*)\]/)[1];
/* 168 */ var _19=0;
/* 169 */ var _1a={"caption":a.title||"","url":a.href};
/* 170 */ if(_17=="gb_pageset"||_17=="gb_imageset"){
/* 171 */ if(!GB_SETS[_18]){
/* 172 */ GB_SETS[_18]=[];
/* 173 */ }
/* 174 */ GB_SETS[_18].push(_1a);
/* 175 */ _19=GB_SETS[_18].length;
/* 176 */ }
/* 177 */ if(_17=="gb_pageset"){
/* 178 */ a.onclick=function(){
/* 179 */ GB_showFullScreenSet(GB_SETS[_18],_19);
/* 180 */ return false;
/* 181 */ };
/* 182 */ }
/* 183 */ if(_17=="gb_imageset"){
/* 184 */ a.onclick=function(){
/* 185 */ GB_showImageSet(GB_SETS[_18],_19);
/* 186 */ return false;
/* 187 */ };
/* 188 */ }
/* 189 */ if(_17=="gb_image"){
/* 190 */ a.onclick=function(){
/* 191 */ GB_showImage(_1a.caption,_1a.url);
/* 192 */ return false;
/* 193 */ };
/* 194 */ }
/* 195 */ if(_17=="gb_page"){
/* 196 */ a.onclick=function(){
/* 197 */ var sp=_18.split(/, ?/);
/* 198 */ GB_show(_1a.caption,_1a.url,parseInt(sp[1]),parseInt(sp[0]));
/* 199 */ return false;
/* 200 */ };

/* gb_scripts.js */

/* 201 */ }
/* 202 */ if(_17=="gb_page_fs"){
/* 203 */ a.onclick=function(){
/* 204 */ GB_showFullScreen(_1a.caption,_1a.url);
/* 205 */ return false;
/* 206 */ };
/* 207 */ }
/* 208 */ if(_17=="gb_page_center"){
/* 209 */ a.onclick=function(){
/* 210 */ var sp=_18.split(/, ?/);
/* 211 */ GB_showCenter(_1a.caption,_1a.url,parseInt(sp[1]),parseInt(sp[0]));
/* 212 */ return false;
/* 213 */ };
/* 214 */ }
/* 215 */ }
/* 216 */ }
/* 217 */ });
/* 218 */ }
/* 219 */ AJS.AEV(window,"load",decoGreyboxLinks);
/* 220 */ GB_showImage=function(_1d,url,_1f){
/* 221 */ var _20={width:300,height:300,type:"image",fullscreen:false,center_win:true,caption:_1d,callback_fn:_1f};
/* 222 */ var win=new GB_Gallery(_20);
/* 223 */ return win.show(url);
/* 224 */ };
/* 225 */ GB_showPage=function(_22,url,_24){
/* 226 */ var _25={type:"page",caption:_22,callback_fn:_24,fullscreen:true,center_win:false};
/* 227 */ var win=new GB_Gallery(_25);
/* 228 */ return win.show(url);
/* 229 */ };
/* 230 */ GB_Gallery=GreyBox.extend({init:function(_27){
/* 231 */ this.parent({});
/* 232 */ this.img_close=this.root_dir+"g_close.gif";
/* 233 */ AJS.update(this,_27);
/* 234 */ this.addCallback(this.callback_fn);
/* 235 */ },initHook:function(){
/* 236 */ AJS.addClass(this.g_window,"GB_Gallery");
/* 237 */ var _28=AJS.DIV({"class":"inner"});
/* 238 */ this.header=AJS.DIV({"class":"GB_header"},_28);
/* 239 */ AJS.setOpacity(this.header,0);
/* 240 */ AJS.getBody().insertBefore(this.header,this.overlay.nextSibling);
/* 241 */ var _29=AJS.TD({"id":"GB_caption","class":"caption","width":"40%"},this.caption);
/* 242 */ var _2a=AJS.TD({"id":"GB_middle","class":"middle","width":"20%"});
/* 243 */ var _2b=AJS.IMG({"src":this.img_close,"title":"STOP"});
/* 244 */ AJS.AEV(_2b,"click",GB_hide);
/* 245 */ var _2c=AJS.TD({"class":"close","width":"40%"},_2b);
/* 246 */ var _2d=AJS.TBODY(AJS.TR(_29,_2a,_2c));
/* 247 */ var _2e=AJS.TABLE({"cellspacing":"0","cellpadding":0,"border":0},_2d);
/* 248 */ AJS.ACN(_28,_2e);
/* 249 */ if(this.fullscreen){
/* 250 */ AJS.AEV(window,"scroll",AJS.$b(this.setWindowPosition,this));

/* gb_scripts.js */

/* 251 */ }else{
/* 252 */ AJS.AEV(window,"scroll",AJS.$b(this._setHeaderPos,this));
/* 253 */ }
/* 254 */ },setFrameSize:function(){
/* 255 */ var _2f=this.overlay.offsetWidth;
/* 256 */ var _30=AJS.getWindowSize();
/* 257 */ if(this.fullscreen){
/* 258 */ this.width=_2f-40;
/* 259 */ this.height=_30.h-80;
/* 260 */ }
/* 261 */ AJS.setWidth(this.iframe,this.width);
/* 262 */ AJS.setHeight(this.iframe,this.height);
/* 263 */ AJS.setWidth(this.header,_2f);
/* 264 */ },_setHeaderPos:function(){
/* 265 */ AJS.setTop(this.header,AJS.getScrollTop()+10);
/* 266 */ },setWindowPosition:function(){
/* 267 */ var _31=this.overlay.offsetWidth;
/* 268 */ var _32=AJS.getWindowSize();
/* 269 */ AJS.setLeft(this.g_window,((_31-50-this.width)/2));
/* 270 */ var _33=AJS.getScrollTop()+55;
/* 271 */ if(!this.center_win){
/* 272 */ AJS.setTop(this.g_window,_33);
/* 273 */ }else{
/* 274 */ var fl=((_32.h-this.height)/2)+20+AJS.getScrollTop();
/* 275 */ if(fl<0){
/* 276 */ fl=0;
/* 277 */ }
/* 278 */ if(_33>fl){
/* 279 */ fl=_33;
/* 280 */ }
/* 281 */ AJS.setTop(this.g_window,fl);
/* 282 */ }
/* 283 */ this._setHeaderPos();
/* 284 */ },onHide:function(){
/* 285 */ AJS.removeElement(this.header);
/* 286 */ AJS.removeClass(this.g_window,"GB_Gallery");
/* 287 */ },onShow:function(){
/* 288 */ if(this.use_fx){
/* 289 */ AJS.fx.fadeIn(this.header,{to:1});
/* 290 */ }else{
/* 291 */ AJS.setOpacity(this.header,1);
/* 292 */ }
/* 293 */ }});
/* 294 */ AJS.preloadImages(GB_ROOT_DIR+"g_close.gif");
/* 295 */ GB_showFullScreenSet=function(set,_36,_37){
/* 296 */ var _38={type:"page",fullscreen:true,center_win:false};
/* 297 */ var _39=new GB_Sets(_38,set);
/* 298 */ _39.addCallback(_37);
/* 299 */ _39.showSet(_36-1);
/* 300 */ return false;

/* gb_scripts.js */

/* 301 */ };
/* 302 */ GB_showImageSet=function(set,_3b,_3c){
/* 303 */ if(GB_CURRENT==null){
/* 304 */ var _3d={type:"image",fullscreen:false,center_win:true,width:300,height:300};
/* 305 */ var _3e=new GB_Sets(_3d,set);
/* 306 */ _3e.addCallback(_3c);
/* 307 */ _3e.showSet(_3b-1);
/* 308 */ return false;
/* 309 */ }
/* 310 */ };
/* 311 */ GB_Sets=GB_Gallery.extend({init:function(_3f,set){
/* 312 */ this.parent(_3f);
/* 313 */ if(!this.img_next){
/* 314 */ this.img_next=this.root_dir+"next.gif";
/* 315 */ }
/* 316 */ if(!this.img_prev){
/* 317 */ this.img_prev=this.root_dir+"prev.gif";
/* 318 */ }
/* 319 */ this.current_set=set;
/* 320 */ },showSet:function(_41){
/* 321 */ this.current_index=_41;
/* 322 */ var _42=this.current_set[this.current_index];
/* 323 */ this.show(_42.url);
/* 324 */ this._setCaption(_42.caption);
/* 325 */ this.btn_prev=AJS.IMG({"class":"left",src:this.img_prev});
/* 326 */ this.btn_next=AJS.IMG({"class":"right",src:this.img_next});
/* 327 */ AJS.AEV(this.btn_prev,"click",AJS.$b(this.switchPrev,this));
/* 328 */ AJS.AEV(this.btn_next,"click",AJS.$b(this.switchNext,this));
/* 329 */ AJS.AEV(document,"keydown",AJS.$b(this.Taste,this));
/* 330 */ GB_STATUS=AJS.SPAN({"class":"GB_navStatus"});
/* 331 */ AJS.ACN(AJS.$("GB_middle"),this.btn_prev,GB_STATUS,this.btn_next);
/* 332 */ this.updateStatus();
/* 333 */ },updateStatus:function(){
/* 334 */ AJS.setHTML(GB_STATUS,(this.current_index+1)+" / "+this.current_set.length);
/* 335 */ if(this.current_index==0){
/* 336 */ AJS.addClass(this.btn_prev,"disabled");
/* 337 */ }else{
/* 338 */ AJS.removeClass(this.btn_prev,"disabled");
/* 339 */ }
/* 340 */ if(this.current_index==this.current_set.length-1){
/* 341 */ AJS.addClass(this.btn_next,"disabled");
/* 342 */ }else{
/* 343 */ AJS.removeClass(this.btn_next,"disabled");
/* 344 */ }
/* 345 */ },_setCaption:function(_43){
/* 346 */ AJS.setHTML(AJS.$("GB_caption"),_43);
/* 347 */ },updateFrame:function(){
/* 348 */ var _44=this.current_set[this.current_index];
/* 349 */ this._setCaption(_44.caption);
/* 350 */ this.url=_44.url;

/* gb_scripts.js */

/* 351 */ this.startLoading();
/* 352 */ },switchPrev:function(){
/* 353 */ if(this.current_index!=0){
/* 354 */ this.current_index--;
/* 355 */ this.updateFrame();
/* 356 */ this.updateStatus();
/* 357 */ }
/* 358 */ },switchNext:function(){
/* 359 */ if(this.current_index!=this.current_set.length-1){
/* 360 */ this.current_index++;
/* 361 */ this.updateFrame();
/* 362 */ this.updateStatus();
/* 363 */ }
/* 364 */ },Taste:function(e){
/* 365 */ var _46=e.keyCode;
/* 366 */ if((_46==19)||(_46==27)){
/* 367 */ GB_hide();
/* 368 */ }else{
/* 369 */ if((_46==33)||(_46==37)){
/* 370 */ if(this.current_index!=0){
/* 371 */ this.current_index--;
/* 372 */ this.updateFrame();
/* 373 */ this.updateStatus();
/* 374 */ }
/* 375 */ }else{
/* 376 */ if((_46==34)||(_46==39)){
/* 377 */ if(this.current_index!=this.current_set.length-1){
/* 378 */ this.current_index++;
/* 379 */ this.updateFrame();
/* 380 */ this.updateStatus();
/* 381 */ }
/* 382 */ }else{
/* 383 */ if(_46==36){
/* 384 */ if(this.current_index!=0){
/* 385 */ this.current_index=0;
/* 386 */ this.updateFrame();
/* 387 */ this.updateStatus();
/* 388 */ }
/* 389 */ }else{
/* 390 */ if(_46==35){
/* 391 */ if(this.current_index!=this.current_set.length-1){
/* 392 */ this.current_index=this.current_set.length-1;
/* 393 */ this.updateFrame();
/* 394 */ this.updateStatus();
/* 395 */ }
/* 396 */ }
/* 397 */ }
/* 398 */ }
/* 399 */ }
/* 400 */ }

/* gb_scripts.js */

/* 401 */ }});
/* 402 */ AJS.AEV(window,"load",function(){
/* 403 */ AJS.preloadImages(GB_ROOT_DIR+"next.gif",GB_ROOT_DIR+"prev.gif");
/* 404 */ });
/* 405 */ GB_show=function(_47,url,_49,_4a,_4b){
/* 406 */ var _4c={caption:_47,height:_49||500,width:_4a||500,fullscreen:false,callback_fn:_4b};
/* 407 */ var win=new GB_Window(_4c);
/* 408 */ return win.show(url);
/* 409 */ };
/* 410 */ GB_showCenter=function(_4e,url,_50,_51,_52){
/* 411 */ var _53={caption:_4e,center_win:true,height:_50||500,width:_51||500,fullscreen:false,callback_fn:_52};
/* 412 */ var win=new GB_Window(_53);
/* 413 */ return win.show(url);
/* 414 */ };
/* 415 */ GB_showFullScreen=function(_55,url,_57){
/* 416 */ var _58={caption:_55,fullscreen:true,callback_fn:_57};
/* 417 */ var win=new GB_Window(_58);
/* 418 */ return win.show(url);
/* 419 */ };
/* 420 */ GB_Window=GreyBox.extend({init:function(_5a){
/* 421 */ this.parent({});
/* 422 */ this.img_header=this.root_dir+"header_bg.gif";
/* 423 */ this.img_close=this.root_dir+"w_close.gif";
/* 424 */ this.show_close_img=true;
/* 425 */ AJS.update(this,_5a);
/* 426 */ this.addCallback(this.callback_fn);
/* 427 */ },initHook:function(){
/* 428 */ AJS.addClass(this.g_window,"GB_Window");
/* 429 */ this.header=AJS.TABLE({"class":"header"});
/* 430 */ this.header.style.backgroundImage="url("+this.img_header+")";
/* 431 */ var _5b=AJS.TD({"class":"caption"},this.caption);
/* 432 */ var _5c=AJS.TD({"class":"close"});
/* 433 */ if(this.show_close_img){
/* 434 */ var _5d=AJS.IMG({"src":this.img_close});
/* 435 */ var _5e=AJS.SPAN("Close");
/* 436 */ var btn=AJS.DIV(_5d,_5e);
/* 437 */ AJS.AEV([_5d,_5e],"mouseover",function(){
/* 438 */ AJS.addClass(_5e,"on");
/* 439 */ });
/* 440 */ AJS.AEV([_5d,_5e],"mouseout",function(){
/* 441 */ AJS.removeClass(_5e,"on");
/* 442 */ });
/* 443 */ AJS.AEV([_5d,_5e],"mousedown",function(){
/* 444 */ AJS.addClass(_5e,"click");
/* 445 */ });
/* 446 */ AJS.AEV([_5d,_5e],"mouseup",function(){
/* 447 */ AJS.removeClass(_5e,"click");
/* 448 */ });
/* 449 */ AJS.AEV([_5d,_5e],"click",GB_hide);
/* 450 */ AJS.ACN(_5c,btn);

/* gb_scripts.js */

/* 451 */ }
/* 452 */ tbody_header=AJS.TBODY();
/* 453 */ AJS.ACN(tbody_header,AJS.TR(_5b,_5c));
/* 454 */ AJS.ACN(this.header,tbody_header);
/* 455 */ AJS.ACN(this.top_cnt,this.header);
/* 456 */ if(this.fullscreen){
/* 457 */ AJS.AEV(window,"scroll",AJS.$b(this.setWindowPosition,this));
/* 458 */ }
/* 459 */ },setFrameSize:function(){
/* 460 */ if(this.fullscreen){
/* 461 */ var _60=AJS.getWindowSize();
/* 462 */ overlay_h=_60.h;
/* 463 */ this.width=Math.round(this.overlay.offsetWidth-(this.overlay.offsetWidth/100)*10);
/* 464 */ this.height=Math.round(overlay_h-(overlay_h/100)*10);
/* 465 */ }
/* 466 */ AJS.setWidth(this.header,this.width+6);
/* 467 */ AJS.setWidth(this.iframe,this.width);
/* 468 */ AJS.setHeight(this.iframe,this.height);
/* 469 */ },setWindowPosition:function(){
/* 470 */ var _61=AJS.getWindowSize();
/* 471 */ AJS.setLeft(this.g_window,((_61.w-this.width)/2)-13);
/* 472 */ if(!this.center_win){
/* 473 */ AJS.setTop(this.g_window,AJS.getScrollTop());
/* 474 */ }else{
/* 475 */ var fl=((_61.h-this.height)/2)-20+AJS.getScrollTop();
/* 476 */ if(fl<0){
/* 477 */ fl=0;
/* 478 */ }
/* 479 */ AJS.setTop(this.g_window,fl);
/* 480 */ }
/* 481 */ }});
/* 482 */ AJS.preloadImages(GB_ROOT_DIR+"w_close.gif",GB_ROOT_DIR+"header_bg.gif");
/* 483 */ 
/* 484 */ 
/* 485 */ script_loaded=true;

;
/* webkit-focusfix.js */

/* 1  */ /**
/* 2  *|  * "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
/* 3  *|  *
/* 4  *|  * (en) Workaround for Webkit browser to fix focus problems when using skiplinks
/* 5  *|  * (de) Workaround für Webkit-Browser, um den Focus zu korrigieren, bei Verwendung von Skiplinks
/* 6  *|  *
/* 7  *|  * @note			inspired by Paul Ratcliffe's article 
/* 8  *|  *					http://www.communis.co.uk/blog/2009-06-02-skip-links-chrome-safari-and-added-wai-aria
/* 9  *|  *
/* 10 *|  * @copyright       Copyright 2005-2009, Dirk Jesse
/* 11 *|  * @license         CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
/* 12 *|  *                  YAML-C (http://www.yaml.de/en/license/license-conditions.html)
/* 13 *|  * @link            http://www.yaml.de
/* 14 *|  * @package         yaml
/* 15 *|  * @version         3.2
/* 16 *|  * @revision        $Revision: 430 $
/* 17 *|  * @lastmodified    $Date: 2009-10-27 21:15:57 +0100 (Di, 27. Okt 2009) $
/* 18 *|  */
/* 19 */  
/* 20 */ var is_webkit = navigator.userAgent.toLowerCase().indexOf('webkit') > -1;
/* 21 */ 
/* 22 */ if(is_webkit) 
/* 23 */ {
/* 24 */ 	var i;
/* 25 */ 	var skiplinks = []
/* 26 */ 	
/* 27 */ 	if ( document.getElementsByClassName !== undefined) {
/* 28 */ 		skiplinks = document.getElementsByClassName('skip');
/* 29 */ 
/* 30 */ 		for (i=0; i<skiplinks.length; i++) {
/* 31 */ 			var target = skiplinks[i].href.substr(skiplinks[i].href.indexOf('#')+1);
/* 32 */ 			var targetElement = document.getElementById(target);
/* 33 */ 	
/* 34 */ 			targetElement.href = '#'+target;
/* 35 */ 			targetElement.setAttribute("tabindex", "0");
/* 36 */ 	
/* 37 */ 			skiplinks[i].setAttribute("onclick", "document.getElementById('"+target+"').focus();");
/* 38 */ 		}
/* 39 */ 	}	
/* 40 */ }
