/*--------------------------------------------------------------

Frogz.hu javascriptek. Ha kellene valamilyen script, szólj, segítünk!

Focus 1.

--------------------------------------------------------------*/

AJS={BASE_URL:"",drag_obj:null,drag_elm:null,_drop_zones:[],_cur_pos:null,_unloadListeners:function(){
if(AJS.listeners){
AJS.map(AJS.listeners,function(_1,_2,fn){
AJS.removeEventListener(_1,_2,fn);
});
}
AJS.listeners=[];
},setLeft:function(){
var _4=AJS.flattenList(arguments);
var l=_4.pop();
AJS.map(_4,function(_6){
_6.style.left=AJS.getCssDim(l);
});
},getScrollTop:function(){
var t;
if(document.documentElement&&document.documentElement.scrollTop){
t=document.documentElement.scrollTop;
}else{
if(document.body){
t=document.body.scrollTop;
}
}
return t;
},preventDefault:function(e){
if(AJS.isIe()){
window.event.returnValue=false;
}else{
e.preventDefault();
}
},isArray:function(_9){
return _9 instanceof Array;
},removeElement:function(){
var _a=AJS.flattenList(arguments);
AJS.map(_a,function(_b){
AJS.swapDOM(_b,null);
});
},isDict:function(o){
var _d=String(o);
return _d.indexOf(" Object")!=-1;
},isString:function(_e){
return (typeof _e=="string");
},getIndex:function(_f,_10,_11){
for(var i=0;i<_10.length;i++){
if(_11&&_11(_10[i])||_f==_10[i]){
return i;
}
}
return -1;
},createDOM:function(_13,_14){
var i=0,_16;
elm=document.createElement(_13);
if(AJS.isDict(_14[i])){
for(k in _14[0]){
_16=_14[0][k];
if(k=="style"){
elm.style.cssText=_16;
}else{
if(k=="class"||k=="className"){
elm.className=_16;
}else{
elm.setAttribute(k,_16);
}
}
}
i++;
}
if(_14[0]==null){
i=1;
}
AJS.map(_14,function(n){
if(n){
if(AJS.isString(n)||AJS.isNumber(n)){
n=AJS.TN(n);
}
elm.appendChild(n);
}
},i);
return elm;
},isIe:function(){
return (navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1);
},addEventListener:function(elm,_19,fn,_1b,_1c){
if(!_1c){
_1c=false;
}
var _1d=AJS.$A(elm);
AJS.map(_1d,function(_1e){
if(_1b){
fn=AJS._listenOnce(_1e,_19,fn);
}
if(AJS.isIn(_19,["submit","load","scroll","resize"])){
var old=elm["on"+_19];
elm["on"+_19]=function(){
if(old){
fn(arguments);
return old(arguments);
}else{
return fn(arguments);
}
};
return;
}
if(AJS.isIn(_19,["keypress","keydown","keyup"])){
var _20=fn;
fn=function(e){
e.key=e.keyCode?e.keyCode:e.charCode;
switch(e.key){
case 63232:
e.key=38;
break;
case 63233:
e.key=40;
break;
case 63235:
e.key=39;
break;
case 63234:
e.key=37;
break;
}
return _20.apply(null,arguments);
};
}
if(_1e.attachEvent){
_1e.attachEvent("on"+_19,fn);
}else{
if(_1e.addEventListener){
_1e.addEventListener(_19,fn,_1c);
}
}
AJS.listeners=AJS.$A(AJS.listeners);
AJS.listeners.push([_1e,_19,fn]);
});
},getElement:function(id){
if(AJS.isString(id)||AJS.isNumber(id)){
return document.getElementById(id);
}else{
return id;
}
},addClass:function(){
var _23=AJS.flattenList(arguments);
var cls=_23.pop();
var _25=function(o){
if(!new RegExp("(^|\\s)"+cls+"(\\s|$)").test(o.className)){
o.className+=(o.className?" ":"")+cls;
}
};
AJS.map(_23,function(elm){
_25(elm);
});
},setWidth:function(){
var _28=AJS.flattenList(arguments);
var w=_28.pop();
AJS.map(_28,function(elm){
elm.style.width=AJS.getCssDim(w);
});
},swapDOM:function(_2b,src){
_2b=AJS.getElement(_2b);
var _2d=_2b.parentNode;
if(src){
src=AJS.getElement(src);
_2d.replaceChild(src,_2b);
}else{
_2d.removeChild(_2b);
}
return src;
},setHeight:function(){
var _2e=AJS.flattenList(arguments);
var h=_2e.pop();
AJS.map(_2e,function(elm){
elm.style.height=AJS.getCssDim(h);
});
},bindMethods:function(_31){
for(var k in _31){
var _33=_31[k];
if(typeof (_33)=="function"){
_31[k]=AJS.$b(_33,_31);
}
}
},getElementsByTagAndClassName:function(_34,_35,_36){
var _37=[];
if(!AJS.isDefined(_36)){
_36=document;
}
if(!AJS.isDefined(_34)){
_34="*";
}
var els=_36.getElementsByTagName(_34);
var _39=els.length;
var _3a=new RegExp("(^|\\s)"+_35+"(\\s|$)");
for(i=0,j=0;i<_39;i++){
if(_3a.test(els[i].className)||_35==null){
_37[j]=els[i];
j++;
}
}
return _37;
},setHTML:function(elm,_3c){
elm.innerHTML=_3c;
return elm;
},map:function(_3d,fn,_3f,_40){
var i=0,l=_3d.length;
if(_3f){
i=_3f;
}
if(_40){
l=_40;
}
for(i;i<l;i++){
fn.apply(null,[_3d[i],i]);
}
},isOpera:function(){
return (navigator.userAgent.toLowerCase().indexOf("opera")!=-1);
},isMozilla:function(){
return (navigator.userAgent.toLowerCase().indexOf("gecko")!=-1&&navigator.productSub>=20030210);
},getBody:function(){
return AJS.$bytc("body")[0];
},removeClass:function(){
var _43=AJS.flattenList(arguments);
var cls=_43.pop();
var _45=function(o){
o.className=o.className.replace(new RegExp("\\s?"+cls),"");
};
AJS.map(_43,function(elm){
_45(elm);
});
},getWindowSize:function(){
var _48,_49;
if(self.innerHeight){
_48=self.innerWidth;
_49=self.innerHeight;
}else{
if(document.documentElement&&document.documentElement.clientHeight){
_48=document.documentElement.clientWidth;
_49=document.documentElement.clientHeight;
}else{
if(document.body){
_48=document.body.clientWidth;
_49=document.body.clientHeight;
}
}
}
return {"w":_48,"h":_49};
},showElement:function(){
var _4a=AJS.flattenList(arguments);
AJS.map(_4a,function(elm){
elm.style.display="";
});
},removeEventListener:function(elm,_4d,fn,_4f){
if(!_4f){
_4f=false;
}
if(elm.removeEventListener){
elm.removeEventListener(_4d,fn,_4f);
if(AJS.isOpera()){
elm.removeEventListener(_4d,fn,!_4f);
}
}else{
if(elm.detachEvent){
elm.detachEvent("on"+_4d,fn);
}
}
},_getRealScope:function(fn,_51,_52,_53){
var _54=window;
_51=AJS.$A(_51);
if(fn._cscope){
_54=fn._cscope;
}
return function(){
var _55=[];
var i=0;
if(_52){
i=1;
}
AJS.map(arguments,function(arg){
_55.push(arg);
},i);
_55=_55.concat(_51);
if(_53){
_55=_55.reverse();
}
return fn.apply(_54,_55);
};
},setTop:function(){
var _58=AJS.flattenList(arguments);
var t=_58.pop();
AJS.map(_58,function(elm){
elm.style.top=AJS.getCssDim(t);
});
},isNumber:function(obj){
return (typeof obj=="number");
},bind:function(fn,_5d,_5e,_5f,_60){
fn._cscope=_5d;
return AJS._getRealScope(fn,_5e,_5f,_60);
},log:function(o){
if(AJS.isMozilla()){
console.log(o);
}else{
var div=AJS.DIV({"style":"color: green"});
AJS.ACN(AJS.getBody(),AJS.setHTML(div,""+o));
}
},appendChildNodes:function(elm){
if(arguments.length>=2){
AJS.map(arguments,function(n){
if(AJS.isString(n)){
n=AJS.TN(n);
}
if(AJS.isDefined(n)){
elm.appendChild(n);
}
},1);
}
return elm;
},isDefined:function(o){
return (o!="undefined"&&o!=null);
},insertBefore:function(elm,_67){
_67.parentNode.insertBefore(elm,_67);
return elm;
},isIn:function(elm,_69){
var i=AJS.getIndex(elm,_69);
if(i!=-1){
return true;
}else{
return false;
}
},hideElement:function(elm){
var _6c=AJS.flattenList(arguments);
AJS.map(_6c,function(elm){
elm.style.display="none";
});
},createArray:function(v){
if(AJS.isArray(v)&&!AJS.isString(v)){
return v;
}else{
if(!v){
return [];
}else{
return [v];
}
}
},getCssDim:function(dim){
if(AJS.isString(dim)){
return dim;
}else{
return dim+"px";
}
},_listenOnce:function(elm,_71,fn){
var _73=function(){
AJS.removeEventListener(elm,_71,_73);
fn(arguments);
};
return _73;
},flattenList:function(_74){
var r=[];
var _76=function(r,l){
AJS.map(l,function(o){
if(AJS.isArray(o)){
_76(r,o);
}else{
r.push(o);
}
});
};
_76(r,_74);
return r;
},_createDomShortcuts:function(){
var _7a=["ul","li","td","tr","th","tbody","table","input","span","b","a","div","img","button","h1","h2","h3","br","textarea","form","p","select","option","iframe","script","center","dl","dt","dd","small","pre"];
var _7b=function(elm){
var _7d="return AJS.createDOM.apply(null, ['"+elm+"', arguments]);";
var _7e="function() { "+_7d+"  }";
eval("AJS."+elm.toUpperCase()+"="+_7e);
};
AJS.map(_7a,_7b);
AJS.TN=function(_7f){
return document.createTextNode(_7f);
};
}};
AJS.$=AJS.getElement;
AJS.$$=AJS.getElements;
AJS.$f=AJS.getFormElement;
AJS.$b=AJS.bind;
AJS.$A=AJS.createArray;
AJS.DI=AJS.documentInsert;
AJS.ACN=AJS.appendChildNodes;
AJS.RCN=AJS.replaceChildNodes;
AJS.AEV=AJS.addEventListener;
AJS.REV=AJS.removeEventListener;
AJS.$bytc=AJS.getElementsByTagAndClassName;
AJS.addEventListener(window,"unload",AJS._unloadListeners);
AJS._createDomShortcuts();
script_loaded=true;

/*

Focus 2.

*/
var GB_CURRENT=null;
var GB_ONLY_ONE=null;
GB_initOneIfNeeded=function(){
if(!GB_ONLY_ONE){
GB_ONLY_ONE=new GreyBox();
}
};
GB_show=function(_1,_2,_3,_4,_5){
GB_initOneIfNeeded();
GB_ONLY_ONE.defaultSize();
GB_ONLY_ONE.setFullScreen(false);
GB_ONLY_ONE.setType("page");
GB_ONLY_ONE.setCallback(_5);
GB_ONLY_ONE.setDimension(_4,_3);
GB_ONLY_ONE.show(_1,_2);
return false;
};
GB_showFullScreen=function(_6,_7,_8){
GB_initOneIfNeeded();
GB_ONLY_ONE.defaultSize();
GB_ONLY_ONE.setType("page");
GB_ONLY_ONE.setCallback(_8);
GB_ONLY_ONE.setFullScreen(true);
GB_ONLY_ONE.show(_6,_7);
return false;
};
GB_showImage=function(_9,_a){
GB_initOneIfNeeded();
GB_ONLY_ONE.defaultSize();
GB_ONLY_ONE.setFullScreen(false);
GB_ONLY_ONE.setType("image");
GB_ONLY_ONE.show(_9,_a);
return false;
};
GB_hide=function(){
GB_CURRENT.hide();
};
function GreyBox(){
this.type="page";
this.overlay_click_close=true;
if(GB_IMG_DIR){
this.img_dir=GB_IMG_DIR;
}else{
this.img_dir="greybox/";
}
this.overlay_color="dark";
this.center_window=false;
this.defaultSize();
this.showCloseImage(true);
this.url="";
this.caption="";
this.callback_fn=[];
this.reload_on_close=false;
}
GreyBox.prototype={setDimension:function(_b,_c){
this.height=_c;
this.width=_b;
},setFullScreen:function(_d){
this.full_screen=_d;
},setType:function(_e){
this.type=_e;
},setCenterWindow:function(_f){
this.center_window=_f;
},setImageDir:function(dir){
this.img_dir=dir;
},showCloseImage:function(_11){
this.show_close_img=_11;
},setOverlayCloseClick:function(_12){
this.overlay_click_close=_12;
},setOverlayColor:function(_13){
this.overlay_color=_13;
},setCallback:function(fn){
if(fn){
this.callback_fn.push(fn);
}
},show:function(_15,url){
GB_CURRENT=this;
this.url=url;
this.caption=_15;
AJS.map(AJS.$bytc("div","GB_dummy"),function(elm){
AJS.removeElement(elm);
});
AJS.map(AJS.$bytc("div","GB_loader"),function(elm){
AJS.removeElement(elm);
});
var _19=[AJS.$bytc("object"),AJS.$bytc("embed")];
if(AJS.isIe()){
_19.push(AJS.$bytc("select"));
}
AJS.map(AJS.flattenList(_19),function(elm){
elm.style.visibility="hidden";
AJS.log(elm);
});
this.initOverlayIfNeeded();
this.setOverlayDimension();
AJS.showElement(this.overlay);
this.setFullScreenOption();
this.initIfNeeded();
AJS.hideElement(this.g_window);
if(_15==""){
_15="&nbsp;";
}
this.div_caption.innerHTML=_15;
this.setVerticalPosition();
this.setWidthNHeight();
this.setTopNLeft();
AJS.showElement(this.g_window);
GB_CURRENT.startLoading();
return false;
},hide:function(){
AJS.hideElement(this.g_window,this.overlay);
this.destroyIframe();
if(this.type=="image"){
this.width=200;
this.height=200;
}
if(AJS.isIe()){
AJS.map(AJS.$bytc("select"),function(elm){
elm.style.visibility="visible";
});
}
AJS.map(AJS.$bytc("object"),function(elm){
elm.style.visibility="visible";
});
var _1d=GB_CURRENT.callback_fn;
if(_1d!=[]){
AJS.map(_1d,function(fn){
fn();
});
}
GB_CURRENT=null;
if(this.reload_on_close){
window.location.reload();
}
},init:function(){
this.g_window=AJS.DIV({"id":"GB_window"});
var _1f=AJS.TABLE({"class":"GB_t_frame","frameborder":0});
var _20=AJS.TBODY();
AJS.ACN(_1f,_20);
var _21=AJS.TD({"class":"GB_content"});
this.td_middle_m=_21;
AJS.ACN(_20,AJS.TR(_21));
var _22=AJS.TABLE({"class":"GB_header"});
this.header=_22;
var _23=AJS.TD({"class":"GB_caption"});
this.div_caption=_23;
_22.style.backgroundImage="url("+this.img_dir+"header_bg.gif)";
tbody_header=AJS.TBODY();
this.nav_bar=AJS.TD({"class":"GB_nav"});
if(AJS.isOpera()){
this.nav_bar.style.paddingTop="3px";
this.nav_bar.style.paddingBottom="5px";
}
if(this.show_close_img){
var btn=this.createNavButton("Bezár",this.img_dir+"close.gif",GB_hide);
AJS.ACN(this.nav_bar,btn);
}
AJS.ACN(tbody_header,AJS.TR(_23,this.nav_bar));
AJS.ACN(_22,tbody_header);
AJS.ACN(_21,_22);
this.g_container=AJS.DIV({"class":"GB_container"});
AJS.ACN(_21,this.g_container);
AJS.ACN(this.g_window,_1f);
AJS.getBody().insertBefore(this.g_window,this.overlay.nextSibling);
},initIfNeeded:function(){
this.init();
this.setWidthNHeight=AJS.$b(this.setWidthNHeight,this);
this.setTopNLeft=AJS.$b(this.setTopNLeft,this);
this.setFullScreenOption=AJS.$b(this.setFullScreenOption,this);
this.setOverlayDimension=AJS.$b(this.setOverlayDimension,this);
this.g_container.style.marginBottom="-3px";
var fn=function(){
this.setFullScreenOption();
this.setOverlayDimension();
this.setVerticalPosition();
this.setTopNLeft();
this.setWidthNHeight();
};
AJS.AEV(window,"scroll",AJS.$b(fn,this));
AJS.AEV(window,"resize",AJS.$b(fn,this));
this.initIframe();
},initOverlayIfNeeded:function(){
this.overlay=AJS.DIV({"id":"GB_overlay"});
if(AJS.isIe()){
this.overlay.style.backgroundColor="#000000";
this.overlay.style.backgroundColor="transparent";
this.overlay.style.backgroundImage="url("+this.img_dir+"blank.gif)";
this.overlay.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.img_dir+this.getOverlayImage()+"',sizingMethod='scale')";
}else{
this.overlay.style.backgroundImage="url("+this.img_dir+this.getOverlayImage()+")";
}
if(this.overlay_click_close){
AJS.AEV(this.overlay,"click",GB_hide);
}
AJS.getBody().insertBefore(this.overlay,AJS.getBody().firstChild);
},initIframe:function(){
if(!this.iframe){
var _26;
var d={"name":"GB_frame","class":"GB_frame","frameBorder":0};
_26=AJS.IFRAME(d);
this.iframe=_26;
AJS.hideElement(this.iframe);
AJS.ACN(this.g_container,this.iframe);
this.setIframeWidthNHeight();
}
},getOverlayImage:function(){
return "overlay_"+this.overlay_color+".png";
},createNavButton:function(_28,_29,_2a,_2b){
var btn=AJS.SPAN({"class":"GB_navItem"});
var _2d=AJS.IMG({"src":_29});
var _2e=AJS.SPAN(_28);
AJS.ACN(btn,_2d,_2e);
if(!_2b){
_2b=function(){
return true;
};
}
AJS.AEV(btn,"click",function(e){
AJS.preventDefault(e);
if(_2b(btn)){
_2a(e);
AJS.removeClass(_2e,"GB_navClick");
}
});
AJS.AEV(btn,"mousedown",function(e){
if(_2b(btn)){
AJS.addClass(_2e,"GB_navClick");
}
});
AJS.AEV(btn,"mouseover",function(e){
if(_2b(btn)){
AJS.addClass(_2e,"GB_navOver");
}
});
AJS.AEV(btn,"mouseout",function(e){
if(_2b(btn)){
AJS.removeClass(_2e,"GB_navOver");
}
});
return btn;
},destroyIframe:function(){
try{
AJS.removeElement(this.iframe);
}
catch(e){
}
this.iframe=null;
},startLoading:function(){
this.iframe.src=this.img_dir+"loader_frame.html";
AJS.showElement(this.iframe);
},setIframeWidthNHeight:function(){
try{
AJS.setWidth(this.iframe,this.width);
if(AJS.isMozilla()||AJS.isOpera()){
AJS.setHeight(this.iframe,this.height-3);
}else{
AJS.setHeight(this.iframe,this.height);
}
}
catch(e){
}
},setOverlayDimension:function(){
var _33=AJS.getWindowSize();
if((navigator.userAgent.toLowerCase().indexOf("firefox")!=-1)){
AJS.setWidth(this.overlay,"100%");
}else{
AJS.setWidth(this.overlay,_33.w);
}
var _34=Math.max(AJS.getScrollTop()+_33.h,AJS.getScrollTop()+this.height);
if(_34<AJS.getScrollTop()){
AJS.setHeight(this.overlay,_34);
}else{
AJS.setHeight(this.overlay,AJS.getScrollTop()+_33.h);
}
},setWidthNHeight:function(){
AJS.setWidth(this.g_window,this.width);
AJS.setHeight(this.g_window,this.height);
AJS.setWidth(this.g_container,this.width);
AJS.setHeight(this.g_container,this.height);
AJS.setWidth(this.td_middle_m,this.width+10);
this.setIframeWidthNHeight();
},setTopNLeft:function(){
var _35=AJS.getWindowSize();
AJS.setLeft(this.g_window,((_35.w-this.width)/2)-13);
if(this.center_window){
var fl=((_35.h-this.height)/2)-15+AJS.getScrollTop();
AJS.setTop(this.g_window,fl);
}else{
if(this.g_window.offsetHeight<_35.h){
AJS.setTop(this.g_window,AJS.getScrollTop());
}
}
},setVerticalPosition:function(){
var _37=AJS.getWindowSize();
var st=AJS.getScrollTop();
if(this.g_window.offsetWidth<=_37.h||st<=this.g_window.offsetTop){
AJS.setTop(this.g_window,st);
}
},setFullScreenOption:function(){
if(this.full_screen){
var _39=AJS.getWindowSize();
overlay_h=_39.h;
this.width=Math.round(this.overlay.offsetWidth-(this.overlay.offsetWidth/100)*10);
this.height=Math.round(overlay_h-(overlay_h/100)*10);
}
},defaultSize:function(){
this.width=300;
this.height=300;
}};
GreyBox.preloadGreyBoxImages=function(_3a){
var _3b=[];
if(!_3a){
_3a=GB_IMG_DIR;
}
var fn=function(_3d){
var pic=new Image();
pic.src=GB_IMG_DIR+_3d;
_3b.push(pic);
};
AJS.map(["indicator.gif","blank.gif","close.gif","header_bg.gif","overlay_light.png","overlay_dark.png"],AJS.$b(fn,this));
};
script_loaded=true;

/*
Focus 3.
*/

GB_showFullScreenSet=function(_1,_2,_3){
var _4=new GreyBox.Sets(_1,_3);
_4.GB.setFullScreen(true);
_4.GB.setType("page");
_4.show(_2-1);
return false;
};
GB_showImageSet=function(_5,_6,_7){
var _8=new GreyBox.Sets(_5,_7);
_8.GB.setCenterWindow(true);
_8.GB.setFullScreen(false);
_8.GB.setType("image");
_8.show(_6-1);
return false;
};
GreyBox.Sets=function(_9,_a){
GB_ONLY_ONE=null;
GB_initOneIfNeeded();
this.GB=GB_ONLY_ONE;
this.callback_fn=_a;
this.current_set=_9;
AJS.bindMethods(this);
};
GreyBox.Sets.prototype={show:function(_b){
this.current_index=_b;
var _c=this.current_set[this.current_index];
this.GB.setCallback(this.callback_fn);
this.GB.show(_c.caption,_c.url);
this.btn_prev=this.GB.createNavButton("Previous",this.GB.img_dir+"prev.gif",this.switchPrev,this.checkPrev);
this.btn_next=this.GB.createNavButton("Next",this.GB.img_dir+"next.gif",this.switchNext,this.checkNext);
AJS.insertBefore(this.btn_next,this.GB.nav_bar.childNodes[0]);
AJS.insertBefore(this.btn_prev,this.GB.nav_bar.childNodes[0]);
GB_STATUS=AJS.SPAN({"class":"GB_navStatus"});
this.updateStatus();
AJS.insertBefore(GB_STATUS,this.GB.nav_bar.childNodes[0]);
},updateStatus:function(){
AJS.setHTML(GB_STATUS,(this.current_index+1)+" out of "+this.current_set.length);
if(this.current_index==0){
AJS.addClass(this.btn_prev,"GB_navDisabled");
AJS.removeClass(AJS.$bytc("span",null,this.btn_prev)[0],"GB_navOver");
}else{
AJS.removeClass(this.btn_prev,"GB_navDisabled");
}
if(this.current_index==this.current_set.length-1){
AJS.addClass(this.btn_next,"GB_navDisabled");
AJS.removeClass(AJS.$bytc("span",null,this.btn_next)[0],"GB_navOver");
}else{
AJS.removeClass(this.btn_next,"GB_navDisabled");
}
},updateFrame:function(){
var _d=this.current_set[this.current_index];
GB_ONLY_ONE.caption=_d.caption;
AJS.setHTML(GB_ONLY_ONE.div_caption,_d.caption);
GB_ONLY_ONE.url=_d.url;
GB_ONLY_ONE.destroyIframe();
GB_ONLY_ONE.initIframe();
GB_ONLY_ONE.startLoading();
},switchPrev:function(){
this.current_index--;
this.updateFrame();
this.updateStatus();
},switchNext:function(){
this.current_index++;
this.updateFrame();
this.updateStatus();
},checkPrev:function(){
return this.current_index!=0;
},checkNext:function(){
return this.current_index!=this.current_set.length-1;
}};
script_loaded=true;

/*
Bubble
http://www.macridesweb.com/oltest/
*/


var OLloaded=0,pmCnt=1,pMtr=new Array(),OLcmdLine=new Array(),OLrunTime=new Array(),OLv,OLudf,
OLpct=new Array("83%","67%","83%","100%","117%","150%","200%","267%"),OLrefXY,
OLbubblePI=0,OLcrossframePI=0,OLdebugPI=0,OLdraggablePI=0,OLexclusivePI=0,OLfilterPI=0,
OLfunctionPI=0,OLhidePI=0,OLiframePI=0,OLovertwoPI=0,OLscrollPI=0,OLshadowPI=0,OLprintPI=0;
if(typeof OLgateOK=='undefined')var OLgateOK=1;
var OLp1or2c='inarray,caparray,caption,closetext,right,left,center,autostatuscap,padx,pady,'
+'below,above,vcenter,donothing',OLp1or2co='nofollow,background,offsetx,offsety,fgcolor,'
+'bgcolor,cgcolor,textcolor,capcolor,width,wrap,wrapmax,height,border,base,status,autostatus,'
+'snapx,snapy,fixx,fixy,relx,rely,midx,midy,ref,refc,refp,refx,refy,fgbackground,bgbackground,'
+'cgbackground,fullhtml,capicon,textfont,captionfont,textsize,captionsize,timeout,delay,hauto,'
+'vauto,nojustx,nojusty,fgclass,bgclass,cgclass,capbelow,textpadding,textfontclass,'
+'captionpadding,captionfontclass,sticky,noclose,mouseoff,offdelay,closecolor,closefont,'
+'closesize,closeclick,closetitle,closefontclass,decode',OLp1or2o='text,cap,close,hpos,vpos,'
+'padxl,padxr,padyt,padyb',OLp1co='label',OLp1or2=OLp1or2co+','+OLp1or2o,OLp1=OLp1co+','+'frame';
OLregCmds(OLp1or2c+','+OLp1or2co+','+OLp1co);
function OLud(v){return eval('typeof ol_'+v+'=="undefined"')?1:0;}


if(OLud('fgcolor'))var ol_fgcolor="#C7EAC2"; // ahol a szöveg van háttérszín
if(OLud('bgcolor'))var ol_bgcolor="#000000";  //keret
if(OLud('cgcolor'))var ol_cgcolor="#ff3399";  //fejléc
if(OLud('textcolor'))var ol_textcolor="#145A17";  //szöveg
if(OLud('capcolor'))var ol_capcolor="#ffffff";
if(OLud('closecolor'))var ol_closecolor="#eeeeff";
if(OLud('textfont'))var ol_textfont="Verdana,Arial,Helvetica";
if(OLud('captionfont'))var ol_captionfont="Verdana,Arial,Helvetica";
if(OLud('closefont'))var ol_closefont="Verdana,Arial,Helvetica";
if(OLud('textsize'))var ol_textsize=3;
if(OLud('captionsize'))var ol_captionsize=3;
if(OLud('closesize'))var ol_closesize=1;
if(OLud('fgclass'))var ol_fgclass="";
if(OLud('bgclass'))var ol_bgclass="";
if(OLud('cgclass'))var ol_cgclass="";
if(OLud('textpadding'))var ol_textpadding=2;
if(OLud('textfontclass'))var ol_textfontclass="";
if(OLud('captionpadding'))var ol_captionpadding=2;
if(OLud('captionfontclass'))var ol_captionfontclass="";
if(OLud('closefontclass'))var ol_closefontclass="";
if(OLud('close'))var ol_close="Close";
if(OLud('closeclick'))var ol_closeclick=0;
if(OLud('closetitle'))var ol_closetitle="Click to Close";
if(OLud('text'))var ol_text="Default Text";
if(OLud('cap'))var ol_cap="";
if(OLud('capbelow'))var ol_capbelow=0;
if(OLud('background'))var ol_background="";
if(OLud('width'))var ol_width=200;
if(OLud('wrap'))var ol_wrap=0;
if(OLud('wrapmax'))var ol_wrapmax=0;
if(OLud('height'))var ol_height= -1;
if(OLud('border'))var ol_border=1;
if(OLud('base'))var ol_base=0;
if(OLud('offsetx'))var ol_offsetx=10;
if(OLud('offsety'))var ol_offsety=10;
if(OLud('sticky'))var ol_sticky=0;
if(OLud('nofollow'))var ol_nofollow=0;
if(OLud('noclose'))var ol_noclose=0;
if(OLud('mouseoff'))var ol_mouseoff=0;
if(OLud('offdelay'))var ol_offdelay=300;
if(OLud('hpos'))var ol_hpos=RIGHT;
if(OLud('vpos'))var ol_vpos=BELOW;
if(OLud('status'))var ol_status="";
if(OLud('autostatus'))var ol_autostatus=0;
if(OLud('snapx'))var ol_snapx=0;
if(OLud('snapy'))var ol_snapy=0;
if(OLud('fixx'))var ol_fixx= -1;
if(OLud('fixy'))var ol_fixy= -1;
if(OLud('relx'))var ol_relx=null;
if(OLud('rely'))var ol_rely=null;
if(OLud('midx'))var ol_midx=null;
if(OLud('midy'))var ol_midy=null;
if(OLud('ref'))var ol_ref="";
if(OLud('refc'))var ol_refc='UL';
if(OLud('refp'))var ol_refp='UL';
if(OLud('refx'))var ol_refx=0;
if(OLud('refy'))var ol_refy=0;
if(OLud('fgbackground'))var ol_fgbackground="";
if(OLud('bgbackground'))var ol_bgbackground="";
if(OLud('cgbackground'))var ol_cgbackground="";
if(OLud('padxl'))var ol_padxl=1;
if(OLud('padxr'))var ol_padxr=1;
if(OLud('padyt'))var ol_padyt=1;
if(OLud('padyb'))var ol_padyb=1;
if(OLud('fullhtml'))var ol_fullhtml=0;
if(OLud('capicon'))var ol_capicon="";
if(OLud('frame'))var ol_frame=self;
if(OLud('timeout'))var ol_timeout=0;
if(OLud('delay'))var ol_delay=0;
if(OLud('hauto'))var ol_hauto=0;
if(OLud('vauto'))var ol_vauto=0;
if(OLud('nojustx'))var ol_nojustx=0;
if(OLud('nojusty'))var ol_nojusty=0;
if(OLud('label'))var ol_label="";
if(OLud('decode'))var ol_decode=0;
if(OLud('texts'))var ol_texts=new Array("Text 0","Text 1");
if(OLud('caps'))var ol_caps=new Array("Caption 0","Caption 1");

var o3_text="",o3_cap="",o3_sticky=0,o3_nofollow=0,o3_background="",o3_noclose=0,o3_mouseoff=0,
o3_offdelay=300,o3_hpos=RIGHT,o3_offsetx=10,o3_offsety=10,o3_fgcolor="",o3_bgcolor="",
o3_cgcolor="",o3_textcolor="",o3_capcolor="",o3_closecolor="",o3_width=200,o3_wrap=0,
o3_wrapmax=0,o3_height= -1,o3_border=1,o3_base=0,o3_status="",o3_autostatus=0,o3_snapx=0,
o3_snapy=0,o3_fixx= -1,o3_fixy= -1,o3_relx=null,o3_rely=null,o3_midx=null,o3_midy=null,o3_ref="",
o3_refc='UL',o3_refp='UL',o3_refx=0,o3_refy=0,o3_fgbackground="",o3_bgbackground="",
o3_cgbackground="",o3_padxl=0,o3_padxr=0,o3_padyt=0,o3_padyb=0,o3_fullhtml=0,o3_vpos=BELOW,
o3_capicon="",o3_textfont="Verdana,Arial,Helvetica",o3_captionfont="",o3_closefont="",
o3_textsize=1,o3_captionsize=1,o3_closesize=1,o3_frame=self,o3_timeout=0,o3_delay=0,o3_hauto=0,
o3_vauto=0,o3_nojustx=0,o3_nojusty=0,o3_close="",o3_closeclick=0,o3_closetitle="",o3_fgclass="",
o3_bgclass="",o3_cgclass="",o3_textpadding=2,o3_textfontclass="",o3_captionpadding=2,
o3_captionfontclass="",o3_closefontclass="",o3_capbelow=0,o3_label="",o3_decode=0,
CSSOFF=DONOTHING,CSSCLASS=DONOTHING,OLdelayid=0,OLtimerid=0,OLshowid=0,OLndt=0,over=null,
OLfnRef="",OLhover=0,OLx=0,OLy=0,OLshowingsticky=0,OLallowmove=0,OLcC=null,
OLua=navigator.userAgent.toLowerCase(),
OLns4=(navigator.appName=='Netscape'&&parseInt(navigator.appVersion)==4),
OLns6=(document.getElementById)?1:0,
OLie4=(document.all)?1:0,
OLgek=(OLv=OLua.match(/gecko\/(\d{8})/i))?parseInt(OLv[1]):0,
OLmac=(OLua.indexOf('mac')>=0)?1:0,
OLsaf=(OLua.indexOf('safari')>=0)?1:0,
OLkon=(OLua.indexOf('konqueror')>=0)?1:0,
OLkht=(OLsaf||OLkon)?1:0,
OLopr=(OLua.indexOf('opera')>=0)?1:0,
OLop7=(OLopr&&document.createTextNode)?1:0;
if(OLopr){OLns4=OLns6=0;if(!OLop7)OLie4=0;}
var OLieM=((OLie4&&OLmac)&&!(OLkht||OLopr))?1:0,
OLie5=0,OLie55=0;if(OLie4&&!OLop7){
if((OLv=OLua.match(/msie (\d\.\d+)\.*/i))&&(OLv=parseFloat(OLv[1]))>=5.0){
OLie5=1;OLns6=0;if(OLv>=5.5)OLie55=1;}if(OLns6)OLie4=0;}
if(OLns4)window.onresize=function(){location.reload();}
var OLchkMh=1,OLdw;
if(OLns4||OLie4||OLns6)OLmh();
else{overlib=nd=cClick=OLpageDefaults=no_overlib;}


function overlib(){
if(!(OLloaded&&OLgateOK))return;
if((OLexclusivePI)&&OLisExclusive(arguments))return true;
if(OLchkMh)OLmh();
if(OLndt&&!OLtimerid)OLndt=0;if(over)cClick();
OLload(OLp1or2);OLload(OLp1);
OLfnRef="";OLhover=0;
OLsetRunTimeVar();
OLparseTokens('o3_',arguments);
if(!(over=OLmkLyr()))return false;
if(o3_decode)OLdecode();
if(OLprintPI)OLchkPrint();
if(OLbubblePI)OLchkForBubbleEffect();
if(OLdebugPI)OLsetDebugCanShow();
if(OLshadowPI)OLinitShadow();
if(OLiframePI)OLinitIfs();
if(OLfilterPI)OLinitFilterLyr();
if(OLexclusivePI&&o3_exclusive&&o3_exclusivestatus!="")o3_status=o3_exclusivestatus;
else if(o3_autostatus==2&&o3_cap!="")o3_status=o3_cap;
else if(o3_autostatus==1&&o3_text!="")o3_status=o3_text;
if(!o3_delay){return OLmain();
}else{OLdelayid=setTimeout("OLmain()",o3_delay);
if(o3_status!=""){self.status=o3_status;return true;}
else if(!(OLop7&&event&&event.type=='mouseover'))return false;}
}

// Clears popups if appropriate
function nd(time){
if(OLloaded&&OLgateOK){if(!((OLexclusivePI)&&OLisExclusive())){
if(time&&over&&!o3_delay){if(OLtimerid>0)clearTimeout(OLtimerid);
OLtimerid=(OLhover&&o3_frame==self&&!OLcursorOff())?0:
setTimeout("cClick()",(o3_timeout=OLndt=time));}else{
if(!OLshowingsticky){OLallowmove=0;if(over)OLhideObject(over);}}}}
return false;
}

// Close function for stickies
function cClick(){
if(OLloaded&&OLgateOK){OLhover=0;if(over){
if(OLovertwoPI&&over==over2)cClick2();OLhideObject(over);OLshowingsticky=0;}}
return false;
}

// Sets page-specific defaults.
function OLpageDefaults(){
OLparseTokens('ol_',arguments);
}

// Gets object referenced by its id or name
function OLgetRef(l,d){var r=OLgetRefById(l,d);return (r)?r:OLgetRefByName(l,d);}

// For unsupported browsers.
function no_overlib(){return false;}

/*
 OVERLIB MAIN FUNCTION SET
*/
function OLmain(){
o3_delay=0;
if(o3_frame==self){if(o3_noclose)OLoptMOUSEOFF(0);else if(o3_mouseoff)OLoptMOUSEOFF(1);}
if(o3_sticky)OLshowingsticky=1;OLdoLyr();OLallowmove=0;if(o3_timeout>0){
if(OLtimerid>0)clearTimeout(OLtimerid);OLtimerid=setTimeout("cClick()",o3_timeout);}
if(o3_ref){OLrefXY=OLgetRefXY(o3_ref);if(OLrefXY[0]==null){o3_ref="";o3_midx=0;o3_midy=0;}}
OLdisp(o3_status);if(OLdraggablePI)OLcheckDrag();
if(o3_status!="")return true;else if(!(OLop7&&event&&event.type=='mouseover'))return false;
}

// Loads o3_ variables
function OLload(c){var i,m=c.split(',');for(i=0;i<m.length;i++)eval('o3_'+m[i]+'=ol_'+m[i]);}

// Chooses LGF 
function OLdoLGF(){
return (o3_background!=''||o3_fullhtml)?OLcontentBackground(o3_text,o3_background,o3_fullhtml):
(o3_cap=="")?OLcontentSimple(o3_text):
(o3_sticky)?OLcontentCaption(o3_text,o3_cap,o3_close):OLcontentCaption(o3_text,o3_cap,'');
}

// Makes Layer
function OLmkLyr(id,f,z){
id=(id||'overDiv');f=(f||o3_frame);z=(z||1000);var fd=f.document,d=OLgetRefById(id,fd);
if(!d){if(OLns4)d=fd.layers[id]=new Layer(1024,f);else if(OLie4&&!document.getElementById){
fd.body.insertAdjacentHTML('BeforeEnd','<div id="'+id+'"></div>');d=fd.all[id];
}else{d=fd.createElement('div');if(d){d.id=id;fd.body.appendChild(d);}}if(!d)return null;
if(OLns4)d.zIndex=z;else{var o=d.style;o.position='absolute';o.visibility='hidden';o.zIndex=z;}}
return d;
}

// Creates and writes layer content
if(OLop7)var OLopCnt=0;
function OLdoLyr(){
if(o3_sticky&&OLtimerid>0){clearTimeout(OLtimerid);OLtimerid=0;}
if(o3_background==''&&!o3_fullhtml){
if(o3_fgbackground!='')o3_fgbackground=' background="'+o3_fgbackground+'"';
if(o3_bgbackground!='')o3_bgbackground=' background="'+o3_bgbackground+'"';
if(o3_cgbackground!='')o3_cgbackground=' background="'+o3_cgbackground+'"';
if(o3_fgcolor!='')o3_fgcolor=' bgcolor="'+o3_fgcolor+'"';
if(o3_bgcolor!='')o3_bgcolor=' bgcolor="'+o3_bgcolor+'"';
if(o3_cgcolor!='')o3_cgcolor=' bgcolor="'+o3_cgcolor+'"';
if(o3_height>0)o3_height=' height="'+o3_height+'"';else o3_height='';}
if(!OLns4)OLrepositionTo(over,(OLns6?20:0),0);var lyrHtml=OLdoLGF();if(o3_wrap&&!o3_fullhtml){
if(OLop7){var ov=(OLovertwoPI&&over==over2)?over2:over,od='overTmp'+OLopCnt++,
oo=(OLovertwoPI&&over==over2)?OLmkLyr(od,o3_frame,over2.style.zIndex):OLmkLyr(od);over=oo;}
OLlayerWrite(lyrHtml);o3_width=(OLns4?over.clip.width:over.offsetWidth);
if(o3_wrapmax<1&&o3_frame.innerWidth)o3_wrapmax=o3_frame.innerWidth-40;
if(o3_wrapmax>0&&o3_width>o3_wrapmax)o3_width=o3_wrapmax;
if(OLop7)over=ov;o3_wrap=0;lyrHtml=OLdoLGF();}
OLlayerWrite(lyrHtml);o3_width=(OLns4?over.clip.width:over.offsetWidth);
if(OLbubblePI)OLgenerateBubble(lyrHtml);
}

/*
 LAYER GENERATION FUNCTIONS
*/
// Makes simple table without caption
function OLcontentSimple(txt){
var t=OLbgLGF()+OLfgLGF(txt)+OLbaseLGF();
OLsetBackground('');return t;
}

// Makes table with caption and optional close link
function OLcontentCaption(txt,title,close){
var closing=(OLprintPI?OLprintCapLGF():''),closeevent='onmouseover',caption,t,
cC='javascript:return '+OLfnRef+(OLovertwoPI&&over==over2?'cClick2();':'cClick();');
if(o3_closeclick)closeevent=(o3_closetitle?'title="'+o3_closetitle+'" ':'')+'onclick';
if(o3_capicon!='')o3_capicon='<img src="lool.jpg" /> ';
if(close){closing+='<td align="right"><a href="'+cC+'" '+closeevent+'="'+cC+'"'
+(o3_closefontclass?' class="'+o3_closefontclass+'">':'>'
+OLlgfUtil(0,1,'','span',o3_closecolor,o3_closefont,o3_closesize))+close
+(o3_closefontclass?'':OLlgfUtil(1,1,'','span'))+'</a></td>';}
caption='<table id="overCap'+(OLovertwoPI&&over==over2?'2':'')+'"'+OLwd(0)
+' border="0" cellpadding="'+o3_captionpadding+'" cellspacing="0"'+(o3_cgclass?' class="'
+o3_cgclass+'"':o3_cgcolor+o3_cgbackground)+'><tr><td'+OLwd(0)+(o3_cgclass?' class="'
+o3_cgclass+'">':'>')+(o3_captionfontclass?'<div class="'
+o3_captionfontclass+'">':OLlgfUtil(0,1,'','div',o3_capcolor,o3_captionfont,
o3_captionsize))+o3_capicon+title+OLlgfUtil(1,1,'','div')+'</td>'+closing+'</tr></table>';
t=OLbgLGF()+(o3_capbelow?OLfgLGF(txt)+caption:caption+OLfgLGF(txt))+OLbaseLGF();
OLsetBackground('');return t;
}

// For BACKGROUND and FULLHTML commands
function OLcontentBackground(txt, image, hasfullhtml){
var t;if(hasfullhtml){t=txt;}else{t='<table'+OLwd(1)
+' border="0" cellpadding="0" cellspacing="0" '+'height="'+o3_height
+'"><tr><td colspan="3" height="'+o3_padyt+'"></td></tr><tr><td width="'
+o3_padxl+'"></td><td valign="top"'+OLwd(2)+'>'
+OLlgfUtil(0,0,o3_textfontclass,'div',o3_textcolor,o3_textfont,o3_textsize)+txt+
OLlgfUtil(1,0,'','div')+'</td><td width="'+o3_padxr+'"></td></tr><tr><td colspan="3" height="'
+o3_padyb+'"></td></tr></table>';}
OLsetBackground(image);return t;
}

// LGF utilities
function OLbgLGF(){
return '<table'+OLwd(1)+o3_height+' border="0" cellpadding="'+o3_border+'" cellspacing="0"'
+(o3_bgclass?' class="'+o3_bgclass+'"':o3_bgcolor+o3_bgbackground)+'><tr><td>';
}
function OLfgLGF(t){
return '<table'+OLwd(0)+o3_height+' border="0" cellpadding="'+o3_textpadding
+'" cellspacing="0"'+(o3_fgclass?' class="'+o3_fgclass+'"':o3_fgcolor+o3_fgbackground)
+'><tr><td valign="top"'+(o3_fgclass?' class="'+o3_fgclass+'"':'')+'>'
+OLlgfUtil(0,0,o3_textfontclass,'div',o3_textcolor,o3_textfont,o3_textsize)+t
+(OLprintPI?OLprintFgLGF():'')+OLlgfUtil(1,0,'','div')+'</td></tr></table>';
}
function OLlgfUtil(end,stg,tfc,ele,col,fac,siz){
if(end)return ('</'+(OLns4?'font'+(stg?'></strong':''):ele)+'>');else return (tfc?'<div '
+'class="' +tfc +'">':('<'+(OLns4?(stg?'strong><':'')+'font color="'+col+'" face="'
+OLquoteMultiNameFonts(fac)+'" size="'+siz:ele+' style="color:'+col
+(stg?';font-weight:bold':'')+';font-family:'+OLquoteMultiNameFonts(fac)+';font-size:'
+siz+';'+(ele=='span'?'text-decoration:underline;':''))+'">'));
}
function OLquoteMultiNameFonts(f){
var i,v,pM=f.split(',');
for(i=0;i<pM.length;i++){v=pM[i];v=v.replace(/^\s+/,'').replace(/\s+$/,'');
if(/\s/.test(v) && !/['"]/.test(v)){v="\'"+v+"\'";pM[i]=v;}}
return pM.join();
}
function OLbaseLGF(){
return ((o3_base>0&&!o3_wrap)?('<table width="100%" border="0" cellpadding="0" cellspacing="0"'
+(o3_bgclass?' class="'+o3_bgclass+'"':'')+'><tr><td height="'+o3_base
+'"></td></tr></table>'):'')+'</td></tr></table>';
}
function OLwd(a){
return(o3_wrap?'':' width="'+(!a?'100%':(a==1?o3_width:(o3_width-o3_padxl-o3_padxr)))+'"');
}

// Loads image into the div.
function OLsetBackground(i){
if(i==''){if(OLns4)over.background.src=null;
else{if(OLns6)over.style.width='';over.style.backgroundImage='none';}
}else{if(OLns4)over.background.src=i;
else{if(OLns6)over.style.width=o3_width+'px';over.style.backgroundImage='url('+i+')';}}
}

/*
 HANDLING FUNCTIONS
*/
// Displays layer
function OLdisp(s){
if(!OLallowmove){if(OLshadowPI)OLdispShadow();if(OLiframePI)OLdispIfs();OLplaceLayer();
if(OLndt)OLshowObject(over);else OLshowid=setTimeout("OLshowObject(over)",1);
OLallowmove=(o3_sticky||o3_nofollow)?0:1;}OLndt=0;if(s!="")self.status=s;
}

// Decides placement of layer.
function OLplaceLayer(){
var snp,X,Y,pgLeft,pgTop,pWd=o3_width,pHt,iWd=100,iHt=100,SB=0,LM=0,CX=0,TM=0,BM=0,CY=0,
o=OLfd(),nsb=(OLgek>=20010505&&!o3_frame.scrollbars.visible)?1:0;
if(!OLkht&&o&&o.clientWidth)iWd=o.clientWidth;
else if(o3_frame.innerWidth){SB=Math.ceil(1.4*(o3_frame.outerWidth-o3_frame.innerWidth));
if(SB>20)SB=20;iWd=o3_frame.innerWidth;}
pgLeft=(OLie4)?o.scrollLeft:o3_frame.pageXOffset;
if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow)SB=CX=5;else
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){SB+=((o3_shadowx>0)?o3_shadowx:0);
LM=((o3_shadowx<0)?Math.abs(o3_shadowx):0);CX=Math.abs(o3_shadowx);}
if(o3_ref!=""||o3_fixx> -1||o3_relx!=null||o3_midx!=null){
if(o3_ref!=""){X=OLrefXY[0];if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow){
if(o3_refp=='UR'||o3_refp=='LR')X-=5;}
else if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){
if(o3_shadowx<0&&(o3_refp=='UL'||o3_refp=='LL'))X-=o3_shadowx;else
if(o3_shadowx>0&&(o3_refp=='UR'||o3_refp=='LR'))X-=o3_shadowx;}
}else{if(o3_midx!=null){
X=parseInt(pgLeft+((iWd-pWd-SB-LM)/2)+o3_midx);
}else{if(o3_relx!=null){
if(o3_relx>=0)X=pgLeft+o3_relx+LM;else X=pgLeft+o3_relx+iWd-pWd-SB;
}else{X=o3_fixx+LM;}}}
}else{
if(o3_hauto){
if(o3_hpos==LEFT&&OLx-pgLeft<iWd/2&&OLx-pWd-o3_offsetx<pgLeft+LM)o3_hpos=RIGHT;else
if(o3_hpos==RIGHT&&OLx-pgLeft>iWd/2&&OLx+pWd+o3_offsetx>pgLeft+iWd-SB)o3_hpos=LEFT;}
X=(o3_hpos==CENTER)?parseInt(OLx-((pWd+CX)/2)+o3_offsetx):
(o3_hpos==LEFT)?OLx-o3_offsetx-pWd:OLx+o3_offsetx;
if(o3_snapx>1){
snp=X % o3_snapx;
if(o3_hpos==LEFT){X=X-(o3_snapx+snp);}else{X=X+(o3_snapx-snp);}}}
if(!o3_nojustx&&X+pWd>pgLeft+iWd-SB)
X=iWd+pgLeft-pWd-SB;if(!o3_nojustx&&X-LM<pgLeft)X=pgLeft+LM;
pgTop=OLie4?o.scrollTop:o3_frame.pageYOffset;
if(!OLkht&&!nsb&&o&&o.clientHeight)iHt=o.clientHeight;
else if(o3_frame.innerHeight)iHt=o3_frame.innerHeight;
if(OLbubblePI&&o3_bubble)pHt=OLbubbleHt;else pHt=OLns4?over.clip.height:over.offsetHeight;
if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){TM=(o3_shadowy<0)?Math.abs(o3_shadowy):0;
if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow)BM=CY=5;else
BM=(o3_shadowy>0)?o3_shadowy:0;CY=Math.abs(o3_shadowy);}
if(o3_ref!=""||o3_fixy> -1||o3_rely!=null||o3_midy!=null){
if(o3_ref!=""){Y=OLrefXY[1];if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow){
if(o3_refp=='LL'||o3_refp=='LR')Y-=5;}else if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){
if(o3_shadowy<0&&(o3_refp=='UL'||o3_refp=='UR'))Y-=o3_shadowy;else
if(o3_shadowy>0&&(o3_refp=='LL'||o3_refp=='LR'))Y-=o3_shadowy;}
}else{if(o3_midy!=null){
Y=parseInt(pgTop+((iHt-pHt-CY)/2)+o3_midy);
}else{if(o3_rely!=null){
if(o3_rely>=0)Y=pgTop+o3_rely+TM;else Y=pgTop+o3_rely+iHt-pHt-BM;}else{
Y=o3_fixy+TM;}}}
}else{
if(o3_vauto){
if(o3_vpos==ABOVE&&OLy-pgTop<iHt/2&&OLy-pHt-o3_offsety<pgTop)o3_vpos=BELOW;else
if(o3_vpos==BELOW&&OLy-pgTop>iHt/2&&OLy+pHt+o3_offsety+((OLns4||OLkht)?17:0)>pgTop+iHt-BM)
o3_vpos=ABOVE;}Y=(o3_vpos==VCENTER)?parseInt(OLy-((pHt+CY)/2)+o3_offsety):
(o3_vpos==ABOVE)?OLy-(pHt+o3_offsety+BM):OLy+o3_offsety+TM;
if(o3_snapy>1){
snp=Y % o3_snapy;
if(pHt>0&&o3_vpos==ABOVE){Y=Y-(o3_snapy+snp);}else{Y=Y+(o3_snapy-snp);}}}
if(!o3_nojusty&&Y+pHt+BM>pgTop+iHt)Y=pgTop+iHt-pHt-BM;if(!o3_nojusty&&Y-TM<pgTop)Y=pgTop+TM;
OLrepositionTo(over,X,Y);
if(OLshadowPI)OLrepositionShadow(X,Y);if(OLiframePI)OLrepositionIfs(X,Y);
if(OLns6&&o3_frame.innerHeight){iHt=o3_frame.innerHeight;OLrepositionTo(over,X,Y);}
if(OLscrollPI)OLchkScroll(X-pgLeft,Y-pgTop);
}

// Chooses body or documentElement
function OLfd(f){
var fd=((f)?f:o3_frame).document,fdc=fd.compatMode,fdd=fd.documentElement;
return (!OLop7&&fdc&&fdc!='BackCompat'&&fdd&&fdd.clientWidth)?fd.documentElement:fd.body;
}

// Gets location of REFerence object
function OLgetRefXY(r,d){
var o=OLgetRef(r,d),ob=o,rXY=[o3_refx,o3_refy],of;
if(!o)return [null,null];
if(OLns4){if(typeof o.length!='undefined'&&o.length>1){
ob=o[0];rXY[0]+=o[0].x+o[1].pageX;rXY[1]+=o[0].y+o[1].pageY;
}else{if((o.toString().indexOf('Image')!= -1)||(o.toString().indexOf('Anchor')!= -1)){
rXY[0]+=o.x;rXY[1]+=o.y;}else{rXY[0]+=o.pageX;rXY[1]+=o.pageY;}}
}else{rXY[0]+=OLpageLoc(o,'Left');rXY[1]+=OLpageLoc(o,'Top');}
of=OLgetRefOffsets(ob);rXY[0]+=of[0];rXY[1]+=of[1];
return rXY;
}

// Seeks REFerence by id
function OLgetRefById(l,d){
l=(l||'overDiv');d=(d||o3_frame.document);var j,r;
if(OLie4&&d.all)return d.all[l];if(d.getElementById)return d.getElementById(l);
if(d.layers&&d.layers.length>0){if(d.layers[l])return d.layers[l];
for(j=0;j<d.layers.length;j++){r=OLgetRefById(l,d.layers[j].document);if(r)return r;}}
return null;
}

// Seeks REFerence by name
function OLgetRefByName(l,d){
d=(d||o3_frame.document);var j,r,v=OLie4?d.all.tags('iframe'):
OLns6?d.getElementsByTagName('iframe'):null;
if(typeof d.images!='undefined'&&d.images[l])return d.images[l];
if(typeof d.anchors!='undefined'&&d.anchors[l])return d.anchors[l];
if(v)for(j=0;j<v.length;j++)if(v[j].name==l)return v[j];
if(d.layers&&d.layers.length>0)for(j=0;j<d.layers.length;j++){
r=OLgetRefByName(l,d.layers[j].document);
if(r&&r.length>0)return r;else if(r)return [r,d.layers[j]];}
return null;
}

// Gets layer vs REFerence offsets
function OLgetRefOffsets(o){
var c=o3_refc.toUpperCase(),p=o3_refp.toUpperCase(),W=0,H=0,pW=0,pH=0,of=[0,0];
pW=(OLbubblePI&&o3_bubble)?o3_width:OLns4?over.clip.width:over.offsetWidth;
pH=(OLbubblePI&&o3_bubble)?OLbubbleHt:OLns4?over.clip.height:over.offsetHeight;
if((!OLop7)&&o.toString().indexOf('Image')!= -1){W=o.width;H=o.height;
}else if((!OLop7)&&o.toString().indexOf('Anchor')!= -1){c=o3_refc='UL';}else{
W=(OLns4)?o.clip.width:o.offsetWidth;H=(OLns4)?o.clip.height:o.offsetHeight;}
if((OLns4||(OLns6&&OLgek))&&o.border){W+=2*parseInt(o.border);H+=2*parseInt(o.border);}
if(c=='UL'){of=(p=='UR')?[-pW,0]:(p=='LL')?[0,-pH]:(p=='LR')?[-pW,-pH]:[0,0];
}else if(c=='UR'){of=(p=='UR')?[W-pW,0]:(p=='LL')?[W,-pH]:(p=='LR')?[W-pW,-pH]:[W,0];
}else if(c=='LL'){of=(p=='UR')?[-pW,H]:(p=='LL')?[0,H-pH]:(p=='LR')?[-pW,H-pH]:[0,H];
}else if(c=='LR'){of=(p=='UR')?[W-pW,H]:(p=='LL')?[W,H-pH]:(p=='LR')?[W-pW,H-pH]:[W,H];}
return of;
}

// Gets x or y location of object
function OLpageLoc(o,t){
var l=0;while(o.offsetParent&&o.offsetParent.tagName.toLowerCase()!='html'){
l+=o['offset'+t];o=o.offsetParent;}l+=o['offset'+t];
return l;
} 

// Moves layer
function OLmouseMove(e){
var e=(e||event);
OLcC=(OLovertwoPI&&over2&&over==over2?cClick2:cClick);
OLx=(e.pageX||e.clientX+OLfd().scrollLeft);OLy=(e.pageY||e.clientY+OLfd().scrollTop);
if((OLallowmove&&over)&&(o3_frame==self||over==OLgetRefById()
||(OLovertwoPI&&over2==over&&over==OLgetRefById('overDiv2')))){
OLplaceLayer();if(OLhidePI)OLhideUtil(0,1,1,0,0,0);}
if(OLhover&&over&&o3_frame==self&&OLcursorOff())if(o3_offdelay<1)OLcC();else
{if(OLtimerid>0)clearTimeout(OLtimerid);OLtimerid=setTimeout("OLcC()",o3_offdelay);}
}

// Capture mouse and chain other scripts.
function OLmh(){
var fN,f,j,k,s,mh=OLmouseMove,w=(OLns4&&window.onmousemove),re=/function[ ]*(\w*)\(/;
OLdw=document;if(document.onmousemove||w){if(w)OLdw=window;f=OLdw.onmousemove.toString();
fN=f.match(re);if(!fN||fN[1]=='anonymous'||fN[1]=='OLmouseMove'){OLchkMh=0;return;}
if(fN[1])s=fN[1]+'(e)';else{j=f.indexOf('{');k=f.lastIndexOf('}')+1;s=f.substring(j,k);}
s+=';OLmouseMove(e);';mh=new Function('e',s);}
OLdw.onmousemove=mh;if(OLns4)OLdw.captureEvents(Event.MOUSEMOVE);
}

/*
 PARSING
*/
function OLparseTokens(pf,ar){
var i,v,md= -1,par=(pf!='ol_'),p=OLpar,q=OLparQuo,t=OLtoggle;OLudf=(par&&!ar.length?1:0);
for(i=0;i< ar.length;i++){if(md<0){if(typeof ar[i]=='number'){OLudf=(par?1:0);i--;}
else{switch(pf){case 'ol_':ol_text=ar[i];break;default:o3_text=ar[i];}}md=0;
}else{
if(ar[i]==INARRAY){OLudf=0;eval(pf+'text=ol_texts['+ar[++i]+']');continue;}
if(ar[i]==CAPARRAY){eval(pf+'cap=ol_caps['+ar[++i]+']');continue;}
if(ar[i]==CAPTION){q(ar[++i],pf+'cap');continue;}
if(Math.abs(ar[i])==STICKY){t(ar[i],pf+'sticky');continue;}
if(Math.abs(ar[i])==NOFOLLOW){t(ar[i],pf+'nofollow');continue;}
if(ar[i]==BACKGROUND){q(ar[++i],pf+'background');continue;}
if(Math.abs(ar[i])==NOCLOSE){t(ar[i],pf+'noclose');continue;}
if(Math.abs(ar[i])==MOUSEOFF){t(ar[i],pf+'mouseoff');continue;}
if(ar[i]==OFFDELAY){p(ar[++i],pf+'offdelay');continue;}
if(ar[i]==RIGHT||ar[i]==LEFT||ar[i]==CENTER){p(ar[i],pf+'hpos');continue;}
if(ar[i]==OFFSETX){p(ar[++i],pf+'offsetx');continue;}
if(ar[i]==OFFSETY){p(ar[++i],pf+'offsety');continue;}
if(ar[i]==FGCOLOR){q(ar[++i],pf+'fgcolor');continue;}
if(ar[i]==BGCOLOR){q(ar[++i],pf+'bgcolor');continue;}
if(ar[i]==CGCOLOR){q(ar[++i],pf+'cgcolor');continue;}
if(ar[i]==TEXTCOLOR){q(ar[++i],pf+'textcolor');continue;}
if(ar[i]==CAPCOLOR){q(ar[++i],pf+'capcolor');continue;}
if(ar[i]==CLOSECOLOR){q(ar[++i],pf+'closecolor');continue;}
if(ar[i]==WIDTH){p(ar[++i],pf+'width');continue;}
if(Math.abs(ar[i])==WRAP){t(ar[i],pf+'wrap');continue;}
if(ar[i]==WRAPMAX){p(ar[++i],pf+'wrapmax');continue;}
if(ar[i]==HEIGHT){p(ar[++i],pf+'height');continue;}
if(ar[i]==BORDER){p(ar[++i],pf+'border');continue;}
if(ar[i]==BASE){p(ar[++i],pf+'base');continue;}
if(ar[i]==STATUS){q(ar[++i],pf+'status');continue;}
if(Math.abs(ar[i])==AUTOSTATUS){v=pf+'autostatus';
eval(v+'=('+ar[i]+'<0)?('+v+'==2?2:0):('+v+'==1?0:1)');continue;}
if(Math.abs(ar[i])==AUTOSTATUSCAP){v=pf+'autostatus';
eval(v+'=('+ar[i]+'<0)?('+v+'==1?1:0):('+v+'==2?0:2)');continue;}
if(ar[i]==CLOSETEXT){q(ar[++i],pf+'close');continue;}
if(ar[i]==SNAPX){p(ar[++i],pf+'snapx');continue;}
if(ar[i]==SNAPY){p(ar[++i],pf+'snapy');continue;}
if(ar[i]==FIXX){p(ar[++i],pf+'fixx');continue;}
if(ar[i]==FIXY){p(ar[++i],pf+'fixy');continue;}
if(ar[i]==RELX){p(ar[++i],pf+'relx');continue;}
if(ar[i]==RELY){p(ar[++i],pf+'rely');continue;}
if(ar[i]==MIDX){p(ar[++i],pf+'midx');continue;}
if(ar[i]==MIDY){p(ar[++i],pf+'midy');continue;}
if(ar[i]==REF){q(ar[++i],pf+'ref');continue;}
if(ar[i]==REFC){q(ar[++i],pf+'refc');continue;}
if(ar[i]==REFP){q(ar[++i],pf+'refp');continue;}
if(ar[i]==REFX){p(ar[++i],pf+'refx');continue;}
if(ar[i]==REFY){p(ar[++i],pf+'refy');continue;}
if(ar[i]==FGBACKGROUND){q(ar[++i],pf+'fgbackground');continue;}
if(ar[i]==BGBACKGROUND){q(ar[++i],pf+'bgbackground');continue;}
if(ar[i]==CGBACKGROUND){q(ar[++i],pf+'cgbackground');continue;}
if(ar[i]==PADX){p(ar[++i],pf+'padxl');p(ar[++i],pf+'padxr');continue;}
if(ar[i]==PADY){p(ar[++i],pf+'padyt');p(ar[++i],pf+'padyb');continue;}
if(Math.abs(ar[i])==FULLHTML){t(ar[i],pf+'fullhtml');continue;}
if(ar[i]==BELOW||ar[i]==ABOVE||ar[i]==VCENTER){p(ar[i],pf+'vpos');continue;}
if(ar[i]==CAPICON){q(ar[++i],pf+'capicon');continue;}
if(ar[i]==TEXTFONT){q(ar[++i],pf+'textfont');continue;}
if(ar[i]==CAPTIONFONT){q(ar[++i],pf+'captionfont');continue;}
if(ar[i]==CLOSEFONT){q(ar[++i],pf+'closefont');continue;}
if(ar[i]==TEXTSIZE){q(ar[++i],pf+'textsize');continue;}
if(ar[i]==CAPTIONSIZE){q(ar[++i],pf+'captionsize');continue;}
if(ar[i]==CLOSESIZE){q(ar[++i],pf+'closesize');continue;}
if(ar[i]==TIMEOUT){p(ar[++i],pf+'timeout');continue;}
if(ar[i]==DELAY){p(ar[++i],pf+'delay');continue;}
if(Math.abs(ar[i])==HAUTO){t(ar[i],pf+'hauto');continue;}
if(Math.abs(ar[i])==VAUTO){t(ar[i],pf+'vauto');continue;}
if(Math.abs(ar[i])==NOJUSTX){t(ar[i],pf+'nojustx');continue;}
if(Math.abs(ar[i])==NOJUSTY){t(ar[i],pf+'nojusty');continue;}
if(Math.abs(ar[i])==CLOSECLICK){t(ar[i],pf+'closeclick');continue;}
if(ar[i]==CLOSETITLE){q(ar[++i],pf+'closetitle');continue;}
if(ar[i]==FGCLASS){q(ar[++i],pf+'fgclass');continue;}
if(ar[i]==BGCLASS){q(ar[++i],pf+'bgclass');continue;}
if(ar[i]==CGCLASS){q(ar[++i],pf+'cgclass');continue;}
if(ar[i]==TEXTPADDING){p(ar[++i],pf+'textpadding');continue;}
if(ar[i]==TEXTFONTCLASS){q(ar[++i],pf+'textfontclass');continue;}
if(ar[i]==CAPTIONPADDING){p(ar[++i],pf+'captionpadding');continue;}
if(ar[i]==CAPTIONFONTCLASS){q(ar[++i],pf+'captionfontclass');continue;}
if(ar[i]==CLOSEFONTCLASS){q(ar[++i],pf+'closefontclass');continue;}
if(Math.abs(ar[i])==CAPBELOW){t(ar[i],pf+'capbelow');continue;}
if(ar[i]==LABEL){q(ar[++i],pf+'label');continue;}
if(Math.abs(ar[i])==DECODE){t(ar[i],pf+'decode');continue;}
if(ar[i]==DONOTHING){continue;}
i=OLparseCmdLine(pf,i,ar);}}
if((OLfunctionPI)&&OLudf&&o3_function)o3_text=o3_function();
if(pf=='o3_')OLfontSize();
}
function OLpar(a,v){eval(v+'='+a);}
function OLparQuo(a,v){eval(v+"='"+OLescSglQt(a)+"'");}
function OLescSglQt(s){return s.toString().replace(/'/g,"\\'");}
function OLtoggle(a,v){eval(v+'=('+v+'==0&&'+a+'>=0)?1:0');}
function OLhasDims(s){return /[%\-a-z]+$/.test(s);}
function OLfontSize(){
var i;if(OLhasDims(o3_textsize)){if(OLns4)o3_textsize="2";}else
if(!OLns4){i=parseInt(o3_textsize);o3_textsize=(i>0&&i<8)?OLpct[i]:OLpct[0];}
if(OLhasDims(o3_captionsize)){if(OLns4)o3_captionsize="2";}else
if(!OLns4){i=parseInt(o3_captionsize);o3_captionsize=(i>0&&i<8)?OLpct[i]:OLpct[0];}
if(OLhasDims(o3_closesize)){if(OLns4)o3_closesize="2";}else
if(!OLns4){i=parseInt(o3_closesize);o3_closesize=(i>0&&i<8)?OLpct[i]:OLpct[0];}
if(OLprintPI)OLprintDims();
}
function OLdecode(){
var re=/%[0-9A-Fa-f]{2,}/,t=o3_text,c=o3_cap,u=unescape,d=!OLns4&&(!OLgek||OLgek>=20020826)
&&typeof decodeURIComponent?decodeURIComponent:u;if(typeof(window.TypeError)=='function'){
if(re.test(t)){eval(new Array('try{','o3_text=d(t);','}catch(e){','o3_text=u(t);',
'}').join('\n'))};if(c&&re.test(c)){eval(new Array('try{','o3_cap=d(c);','}catch(e){',
'o3_cap=u(c);','}').join('\n'))}}else{if(re.test(t))o3_text=u(t);if(c&&re.test(c))o3_cap=u(c);}
}

/*
 LAYER FUNCTIONS
*/
// Writes to layer
function OLlayerWrite(t){
t+="\n";if(OLns4){over.document.write(t);over.document.close();}
else if(typeof over.innerHTML!='undefined'){if(OLieM)over.innerHTML='';over.innerHTML=t;
}else{var range=o3_frame.document.createRange();range.setStartAfter(over);
var domfrag=range.createContextualFragment(t);while(over.hasChildNodes()){
over.removeChild(over.lastChild);}over.appendChild(domfrag);}
if(OLprintPI)over.print=o3_print?t:null;
}

// Makes object visible
function OLshowObject(o){
OLshowid=0;o=(OLns4)?o:o.style;
if(((OLfilterPI)&&!OLchkFilter(o))||!OLfilterPI)o.visibility="visible";
if(OLshadowPI)OLshowShadow();if(OLiframePI)OLshowIfs();if(OLhidePI)OLhideUtil(1,1,0);
}

// Hides object
function OLhideObject(o){
if(OLshowid>0){clearTimeout(OLshowid);OLshowid=0;}
if(OLtimerid>0)clearTimeout(OLtimerid);if(OLdelayid>0)clearTimeout(OLdelayid);
OLtimerid=0;OLdelayid=0;self.status="";o3_label=ol_label;
if(o3_frame!=self)o=OLgetRefById();
if(o){if(o.onmouseover)o.onmouseover=null;
if(OLscrollPI&&o==over)OLclearScroll();
if(OLdraggablePI)OLclearDrag();
if(OLfilterPI)OLcleanupFilter(o);if(OLshadowPI)OLhideShadow();
var os=(OLns4)?o:o.style;os.visibility="hidden";
if(OLhidePI&&o==over)OLhideUtil(0,0,1);if(OLiframePI)OLhideIfs(o);}
}

// Moves layer
function OLrepositionTo(o,xL,yL){
o=(OLns4)?o:o.style;
o.left=(OLns4?xL:xL+'px');
o.top=(OLns4?yL:yL+'px');
}

// Handle NOCLOSE-MOUSEOFF
function OLoptMOUSEOFF(c){
if(!c)o3_close="";
over.onmouseover=function(){OLhover=1;if(OLtimerid>0){clearTimeout(OLtimerid);OLtimerid=0;}}
}
function OLcursorOff(){
var o=(OLns4?over:over.style),pHt=OLns4?over.clip.height:over.offsetHeight,
left=parseInt(o.left),top=parseInt(o.top),
right=left+o3_width,bottom=top+((OLbubblePI&&o3_bubble)?OLbubbleHt:pHt);
if(OLx<left||OLx>right||OLy<top||OLy>bottom)return true;
return false;
}

/*
 REGISTRATION
*/
function OLsetRunTimeVar(){
if(OLrunTime.length)for(var k=0;k<OLrunTime.length;k++)OLrunTime[k]();
}
function OLparseCmdLine(pf,i,ar){
if(OLcmdLine.length){for(var k=0;k<OLcmdLine.length;k++){
var j=OLcmdLine[k](pf,i,ar);if(j>-1){i=j;break;}}}
return i;
}
function OLregCmds(c){
if(typeof c!='string')return;
var pM=c.split(',');pMtr=pMtr.concat(pM);
for(var i=0;i<pM.length;i++)eval(pM[i].toUpperCase()+'='+pmCnt++);
}
function OLregRunTimeFunc(f){
if(typeof f=='object')OLrunTime=OLrunTime.concat(f);
else OLrunTime[OLrunTime.length++]=f;
}
function OLregCmdLineFunc(f){
if(typeof f=='object')OLcmdLine=OLcmdLine.concat(f);
else OLcmdLine[OLcmdLine.length++]=f;
}

OLloaded=1;

/*
Preload
*/
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

/*
Picture Opacity
*/


var baseopacity=30

function slowhigh(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
highlighting=setInterval("gradualfade(imgobj)",50)
}

function slowlow(which2){
cleartimer()
instantset(baseopacity)
}

function instantset(degree){
if (browserdetect=="mozilla")
imgobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
imgobj.filters.alpha.opacity=degree
}

function cleartimer(){
if (window.highlighting) clearInterval(highlighting)
}

function gradualfade(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.1, 0.99)
else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}


/*
gbox
*/
    var greybox_anim = new GreyBox();
    greybox_anim.setCenterWindow(true);
    greybox_anim.setDimension(640, 400);
    var GB_IMG_DIR = "include/";
    GreyBox.preloadGreyBoxImages();


/*
Egyebek
*/

function load(){
	MM_preloadImages('images/top.gif','images/h1_bg.gif','images/h2_bg.gif','images/background.jpg','images/menu/Menu_1.jpg','images/menu/Menu_2.jpg','images/menu/Menu_3.jpg','images/menu/Menu_11.jpg','images/menu/Menu_22.jpg','images/menu/Menu_33.jpg','images/ref1.jpg','images/ref11.jpg','images/ref2.jpg','images/ref22.jpg','images/ref3.jpg','images/ref33.jpg','images/ref4.jpg','images/ref44.jpg','images/ajanlatkero.jpg','images/mail.jpg','domain/images/1-1.jpg','domain/images/1b.jpg','domain/images/1c.jpg','domain/images/compinf.jpg','domain/images/hostp.jpg','domain/images/latestn.jpg');
}
	

function link1() {
return GB_show('Ajánlatkérés - www.frogz.hu', '../mail/ajanlat.php', 500, 500);
}

function jonnymail() {
return GB_show('Üzenet küldése - Nagy Gergő', '../mail/jonny/jonny.php', 500, 500);
}

function vaximail() {
return GB_show('Üzenet küldése - Varga Péter', '../mail/vaxi/vaxi.php', 500, 500);
}

function szoveg1() {
return overlib('Amennyiben felkeltettük érdeklődését,<br> kérem kattintson ide az ajánlatkéréshez!<br>Köszönöm!', AUTOSTATUS, WRAP);
}

function mail() {
return overlib('Üzenet küldéséhez kérem kattintson a képre!', AUTOSTATUS, WRAP);
}

function flashintro() {
return GB_show('Flash intro - www.frogz.hu', '../demo/flashintro/index.html', 650, 850);
}

function flashmenu() {
return GB_show('Flash menü - www.frogz.hu', '../demo/flashmenu/index.html', 500, 500);
}

function grafika() {
return GB_show('Grafika - www.frogz.hu', '../demo/grafika/logofrogz.jpg', 450, 580);
}

function html() {
return GB_show('Egyszerű HTML oldal - www.frogz.hu', '../demo/html/index.html', 680, 800);
}

function banner() {
return GB_show('Banner - www.frogz.hu', '../demo/banner/index.html', 250, 520);
}

function domainreg() {
return GB_show('Domain regisztráció - www.frogz.hu', '/domain/index.html', 600, 600);
}


