// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Core/Include/js/KUtil.js
function checkAttribute(_1,_2,_3,_4){
if(!_1.getAttribute(_2)){
if(_4){
alert("Control '"+_1.name+"' must define '"+_2+"' attribute");
}
return false;
}else{
if(_3&&_3!=_1.getAttribute(_2)){
if(_4){
alert("Control's '"+_1.name+"' attribute value differs from required. Attribute: '"+_2+"' required value: '"+_3+"', actual value: '"+_1.attributes[_2].value+"'");
}
return false;
}
}
return true;
}
function openRawWindow(_5,_6,_7,_8){
if(!_7){
_7=800;
}
if(!_8){
_8=600;
}
window.open(_5,_6,"directories=no,hotkeys=no,location=no,menubar=no,personalbar=no,resizable=yes,scrollbars=yes,toolbar=no,width="+_7+"px,height="+_8+"px");
}
function showLayer(_9,_a,_b){
var _c=document.getElementById(_9);
if(_c){
_c.style.display=(_a)?((_b)?"block":"inline"):"none";
}
}
function layerDisplay(_d,_e){
var _f=document.getElementById(_d);
if(_f){
if("table-row"==_e&&false){
_e="block";
}
_f.style.display=_e;
}
}
function layerVisibility(_10,_11){
var lay=document.getElementById(_10);
if(lay){
lay.style.visibility=(_11)?"visible":"hidden";
}
}
function toggleChb(_13,_14){
i=0;
while((chb=document.getElementById(_13+"_"+i))||i<5){
if(chb){
switch(_14){
case 0:
chb.checked=0;
break;
case 1:
chb.checked=1;
break;
case 2:
chb.checked=!chb.checked;
break;
}
}
i++;
}
}
function toggleLayer(_15,_16){
var lay=document.getElementById(_15);
if(lay){
switch(lay.style.display){
case "block":
case "inline":
lay.style.display="none";
break;
default:
lay.style.display=(_16?"inline":"block");
break;
}
}
}
function toggleVisibility(_18){
var lay=document.getElementById(_18);
if(lay){
switch(lay.style.visibility){
case "hidden":
lay.style.visibility="visible";
break;
default:
lay.style.visibility="hidden";
break;
}
}
}
function Okno(url,w,h,_1d){
var dim=getScreenDim();
_1d=_1d?_1d:{};
w=(w.toString().match(/[0-9]+\%/))?(parseInt(w)/100)*dim.w:w;
h=(h.toString().match(/[0-9]+\%/))?(parseInt(h)/100)*dim.h:h;
_1d["width"]=Math.round(w);
_1d["height"]=Math.round(h);
_1d["resizable"]=null==_1d["resizable"]?"yes":_1d["resizable"];
_1d["menubar"]=null==_1d["menubar"]?0:_1d["menubar"];
_1d["toolbar"]=null==_1d["toolbar"]?0:_1d["toolbar"];
_1d["location"]=null==_1d["location"]?0:_1d["location"];
_1d["directories"]=null==_1d["directories"]?0:_1d["directories"];
_1d["status"]=null==_1d["status"]?0:_1d["status"];
_1d["scrollbars"]=null==_1d["scrollbars"]?0:_1d["scrollbars"];
var o="";
for(var key in _1d){
o+=key+"="+_1d[key]+",";
}
o=o.substr(0,o.length-1);
win=window.open(url,"dialog",o);
}
function OknoBar(_21,w,h){
win=window.open(_21,"dialog","width="+w+",height="+h+",resizable=0,menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=1");
}
function popupWindow(url,_25,_26,_27){
wnd=window.open("",_26,_27);
wnd.document.write("<head>");
wnd.document.write("<title>"+_25+"</title>");
wnd.document.write("</head>");
wnd.document.write("<frameset rows=\"0, 100%\">");
wnd.document.write("<frame frameborder=\"0\" noresize=\"true\">");
wnd.document.write("<frame frameborder=\"0\" noresize=\"true\" src=\""+url+"\">");
wnd.document.write("</frameset>");
wnd.document.title=_25;
}
function addEvent(elm,_29,fn,_2b){
if(elm.addEventListener){
elm.addEventListener(_29,fn,_2b);
return true;
}else{
if(elm.attachEvent){
var r=elm.attachEvent("on"+_29,fn);
return r;
}else{
elm["on"+_29]=fn;
}
}
}
function removeEvent(elm,_2e,fn,_30){
if(elm.removeEventListener){
elm.removeEventListener(_2e,fn,_30);
return true;
}else{
if(elm.detachEvent){
var r=elm.detachEvent("on"+_2e,fn);
return r;
}else{
elm["on"+_2e]=null;
}
}
}
function getElementsByClass(_32,_33,tag){
var _35=new Array();
if(_33==null){
_33=document;
}
if(tag==null){
tag="*";
}
var els=_33.getElementsByTagName(tag);
var _37=els.length;
var _38=new RegExp("(^|\\s)"+_32+"(\\s|$)");
for(i=0,j=0;i<_37;i++){
if(_38.test(els[i].className)){
_35[j]=els[i];
j++;
}
}
return _35;
}
function getEventTarget(e){
if(!e){
var e=window.event;
}
if(e.target){
targ=e.target;
}else{
if(e.srcElement){
targ=e.srcElement;
}
}
return targ;
}
function stopBubbling(e){
if(!e&&window.event){
var e=window.event;
}else{
if(!e){
return false;
}
}
e.cancelBubble=true;
if(e.stopPropagation){
e.stopPropagation();
}
}
function getScreenDim(){
var r={};
if(self.innerWidth){
r.w=self.innerWidth;
r.h=self.innerHeight;
}else{
if(document.documentElement&&document.documentElement.clientWidth){
r.w=document.documentElement.clientWidth;
r.h=document.documentElement.clientHeight;
}else{
if(document.body){
r.w=document.body.clientWidth;
r.h=document.body.clientHeight;
}
}
}
return r;
}
function centerLayer(_3c){
var lay=document.getElementById(_3c);
var _3e=0;
var _3f=0;
var h=0;
var w=0;
var dim=getScreenDim();
if(lay.offsetWidth){
w=lay.offsetWidth;
h=lay.offsetHeight;
}else{
if(lay.element.pixelWidth){
w=lay.pixelWidth;
h=lay.pixelHeight;
}
}
if(lay){
lay.style.left=dim.w/2-w/2+"px";
lay.style.top=dim.h/2-h/2+"px";
}
}
function copyToClipboard(_43){
if(window.clipboardData){
window.clipboardData.setData("Text",_43);
}else{
if(window.netscape){
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var _44=Components.classes["@mozilla.org/widget/clipboard;1"].createInstance(Components.interfaces.nsIClipboard);
if(!_44){
return;
}
var _45=Components.classes["@mozilla.org/widget/transferable;1"].createInstance(Components.interfaces.nsITransferable);
if(!_45){
return;
}
_45.addDataFlavor("text/unicode");
var str=new Object();
var len=new Object();
var str=Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
var _48=_43;
str.data=_48;
_45.setTransferData("text/unicode",str,_48.length*2);
var _49=Components.interfaces.nsIClipboard;
if(!_44){
return false;
}
_44.setData(_45,null,_49.kGlobalClipboard);
}
}
return false;
}
function insertTextAtCaret(_4a,_4b){
var obj=document.getElementById(_4a);
if(obj.createTextRange){
obj.focus();
var sel=document.selection;
var rng=sel.createRange();
rng.colapse;
if((sel.type=="Text"||sel.type=="None")&&rng!=null){
rng.text=_4b;
}
}else{
if(obj.selectionEnd){
var ss=obj.selectionStart;
var st=obj.scrollTop;
var es=obj.selectionEnd;
if(es<=2){
es=obj.textLength;
}
var _52=(obj.value).substring(0,ss);
var _53=(obj.value).substring(ss,es);
var end=(obj.value).substring(es,obj.textLength);
if(obj.selectionEnd-obj.selectionStart>0){
_53=_4b;
}else{
_53=_53+_4b;
}
obj.value=_52+_53+end;
var _55=ss+(_53.length);
obj.selectionStart=_55;
obj.selectionEnd=_55;
obj.scrollTop=st;
}else{
obj.value+=_4b;
}
}
obj.focus();
return true;
}
function submitByButton(_56,id,_58,btn,_5a){
KShade.show(true);
if(!_56){
_56=btn;
while((_56=_56.parentNode)&&_56&&_56.tagName!="FORM"){
}
}else{
if("string"==typeof (_56)){
_56=document.forms[_56];
}
}
if(!_56){
return false;
}
var hdn=document.createElement("input");
hdn.type="hidden";
hdn.value=(_58?_58:"1");
hdn.id=id;
hdn.name=_5a?_5a:id;
_56.appendChild(hdn);
_56.submit();
}
function multipleSelectAll(id){
var box=document.getElementById(id);
if(box){
for(var i=0;i<box.options.length;i++){
box.options[i].selected=true;
}
}
return true;
}
function tooltip(el,_60,_61){
return domTT_activate(el,_60,"content",_61,"trail",false,"fade","both");
}
function findPos(obj){
var _63=curtop=0;
if(obj.offsetParent){
_63=obj.offsetLeft;
curtop=obj.offsetTop;
while((obj=obj.offsetParent)){
_63+=obj.offsetLeft;
curtop+=obj.offsetTop;
}
}
return [_63,curtop];
}
function addslashes(str){
if("string"==typeof (str)){
str=str.replace(/\\/g,"\\\\");
str=str.replace(/\'/g,"\\'");
str=str.replace(/\"/g,"\\\"");
str=str.replace(/\0/g,"\\0");
return str;
}else{
if("object"==typeof (str)){
for(i=0;i<str.length;i++){
str[i]=addslashes(str[i]);
}
return str;
}
}
}
function stripslashes(str){
if("string"==typeof (str)){
str=str.replace(/\\'/g,"'");
str=str.replace(/\\"/g,"\"");
str=str.replace(/\\\\/g,"\\");
str=str.replace(/\\0/g,"\x00");
return str;
}else{
if("object"==typeof (str)){
for(i=0;i<str.length;i++){
str[i]=stripslashes(str[i]);
}
return str;
}
}
}
function utrans(val){
return null!=(res=val.match(/(\d+)/))?Number(res[0]):0;
}
function arrangeCols(mh){
var agt=navigator.userAgent.toLowerCase();
var moz=(agt.indexOf("gecko")!=-1);
if(moz){
btns=document.getElementsByTagName("table");
for(i=0;i<btns.length;i++){
if("btnInline"==btns[i].parentNode.className){
btns[i].firstChild.style.display="none";
}
}
}
var o=eval(arguments[1]);
var el=null;
var _6c=null;
var _6d=null;
var ms=[];
var max=0;
i=0;
for(var col in o){
el=document.getElementById(o[col]["id"]);
_6c=document.getElementById(o[col]["id"]+"BI");
_6d=document.getElementById(o[col]["id"]+"BD");
if(!_6c){
continue;
}
var m=0;
if(_6c.currentStyle){
ms[i]=utrans(_6c.currentStyle["marginTop"]);
ms[i]+=utrans(_6c.currentStyle["marginBottom"]);
}else{
ms[i]=utrans(document.defaultView.getComputedStyle(_6c,null).getPropertyValue("margin-top"));
ms[i]+=utrans(document.defaultView.getComputedStyle(_6c,null).getPropertyValue("margin-bottom"));
}
max=Math.max(max,el.offsetHeight+ms[i]);
i++;
}
if(null!=mh){
if(window.innerHeight){
max=max<window.innerHeight-mh?window.innerHeight-mh:max;
}else{
if(document.documentElement&&document.documentElement.clientHeight){
max=max<document.documentElement.clientHeight-mh?document.documentElement.clientHeight-mh:max;
}
}
}
for(var i in o){
if(el=document.getElementById(o[i].id+"BD")){
if(el.currentStyle){
el.style.height=(max-o[i].fr)+"px";
}else{
el.style["minHeight"]=(max-o[i].fr)+"px";
}
}else{
if(el=document.getElementById(o[i].id+"BI")){
if(el.currentStyle){
el.style.height=(max-o[i].fr)+"px";
}else{
el.style["minHeight"]=(max-o[i].fr)+"px";
}
}
}
}
if(moz){
setTimeout("_arrangeCols()",1);
}
}
function _arrangeCols(){
btns=document.getElementsByTagName("table");
for(i=0;i<btns.length;i++){
if("btnInline"==btns[i].parentNode.className){
var _73=btns[i].parentNode.cloneNode(true);
_73.firstChild.firstChild.style.display="table-header-group";
btns[i].parentNode.parentNode.replaceChild(_73,btns[i].parentNode);
}
}
}
function reloadImage(_74){
img=document.getElementById(_74);
if(img){
d=new Date();
img.src=img.src+(img.src.indexOf("?")?"&":"?")+d.getTime();
}
}
function showIFrame(_75,_76,dir,_78){
if(!dir){
dir="scripts/";
}
if(!_78){
KShade.show();
}
var frm=document.createElement("iframe");
var _7a=window.location.protocol+"//"+window.location.host+"/"+dir+_75+".php";
op="?";
for(var n in _76){
_7a+=op+n+"="+_76[n];
op="&";
}
frm.src=_7a;
frm.id=_75;
frm.style.position="absolute";
frm.style.width="70%";
frm.style.height="630px";
frm.style.textAlign="center";
frm.style.zIndex="30000";
if(window.XMLHttpRequest){
frm.allowTransparency="true";
}else{
frm.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
}
frm.frameBorder="0";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
frm.style.left="15%";
frm.style.top=(document.documentElement.scrollTop+140)+"px";
document.body.appendChild(frm);
}
function getKey(e){
var key="";
if(window.event){
key=String.fromCharCode(e.keyCode);
}else{
if(e.which){
key=String.fromCharCode(e.which);
}
}
return key;
}
function fixFlicker(){
}
addEvent(window,"load",fixFlicker);



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Core/Include/js/KBtn.js
var KBtn=new function(){
var _1=null;
this.hvr=function(_2){
if(this.hovEl){
this.uHvr(this.hovEl);
}
if(_2){
suffix=_2.className.substr(_2.className.length-4);
if("_sel"==suffix){
_2.className=_2.className.substr(0,_2.className.length-4)+"_slh";
}else{
if("_hov"!=suffix&&"_slh"!=suffix){
_2.className=_2.className+"_hov";
}
}
this.hovEl=_2;
}
};
this.uHvr=function(_3){
if(_3){
suffix=_3.className.substr(_3.className.length-4);
if("_slh"==suffix){
_3.className=_3.className.substr(0,_3.className.length-4)+"_sel";
this.hovEl=null;
}else{
if("_hov"==suffix){
_3.className=_3.className.substr(0,_3.className.length-4);
this.hovEl=null;
}
}
}
};
this.follow=function(_4){
if(a=_4.getElementsByTagName("a")[0]){
switch(tgt=a.target?a.target:a.rel){
case "_blank":
case "external":
window.open(a.href);
break;
case "_parent":
parent.window.location(a.href);
break;
case "_self":
window.location=a.href;
break;
case "_top":
window.open(a.href);
break;
case "":
window.location=a.href;
break;
default:
window.open(a.href,a.target);
break;
}
}
};
this.submit=function(_5,e,_7,_8){
if(!_8){
_8=_5;
while((_8=_8.parentNode)&&_8&&_8.tagName!="FORM"){
}
}else{
if("string"==typeof (_8)){
_8=document.forms[_8];
}
}
if(!_8){
return false;
}
var _9=document.createElement("input");
_9.type="hidden";
_9.value=_7;
_9.name=_5.name?_5.name:(_5.summary?_5.summary:_5.id);
_8.appendChild(_9);
_8.submit();
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Core/Include/js/externalLinks.js
function externalLinks(){
if(!document.getElementsByTagName){
return;
}
var _1=document.getElementsByTagName("a");
for(var i=0;i<_1.length;i++){
var _3=_1[i];
if(_3.getAttribute("href")&&_3.getAttribute("rel")=="external"){
_3.target="_blank";
}
}
}
addEvent(window,"load",externalLinks,false);



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/3rdparty/domTT/domLib.js
var domLib_userAgent=navigator.userAgent.toLowerCase();
var domLib_isMac=navigator.appVersion.indexOf("Mac")!=-1;
var domLib_isWin=domLib_userAgent.indexOf("windows")!=-1;
var domLib_isOpera=domLib_userAgent.indexOf("opera")!=-1;
var domLib_isOpera7up=domLib_userAgent.match(/opera.(7|8)/i);
var domLib_isSafari=domLib_userAgent.indexOf("safari")!=-1;
var domLib_isKonq=domLib_userAgent.indexOf("konqueror")!=-1;
var domLib_isKHTML=(domLib_isKonq||domLib_isSafari||domLib_userAgent.indexOf("khtml")!=-1);
var domLib_isIE=(!domLib_isKHTML&&!domLib_isOpera&&(domLib_userAgent.indexOf("msie 5")!=-1||domLib_userAgent.indexOf("msie 6")!=-1||domLib_userAgent.indexOf("msie 7")!=-1));
var domLib_isIE5up=domLib_isIE;
var domLib_isIE50=(domLib_isIE&&domLib_userAgent.indexOf("msie 5.0")!=-1);
var domLib_isIE55=(domLib_isIE&&domLib_userAgent.indexOf("msie 5.5")!=-1);
var domLib_isIE5=(domLib_isIE50||domLib_isIE55);
var domLib_isGecko=domLib_userAgent.indexOf("gecko/")!=-1;
var domLib_isMacIE=(domLib_isIE&&domLib_isMac);
var domLib_isIE55up=domLib_isIE5up&&!domLib_isIE50&&!domLib_isMacIE;
var domLib_isIE6up=domLib_isIE55up&&!domLib_isIE55;
var domLib_standardsMode=(document.compatMode&&document.compatMode=="CSS1Compat");
var domLib_useLibrary=(domLib_isOpera7up||domLib_isKHTML||domLib_isIE5up||domLib_isGecko||domLib_isMacIE||document.defaultView);
var domLib_hasBrokenTimeout=(domLib_isMacIE||(domLib_isKonq&&domLib_userAgent.match(/konqueror\/3.([2-9])/)==null));
var domLib_canFade=(domLib_isGecko||domLib_isIE||domLib_isSafari||domLib_isOpera);
var domLib_canDrawOverSelect=(domLib_isMac||domLib_isOpera||domLib_isGecko);
var domLib_canDrawOverFlash=(domLib_isMac||domLib_isWin);
var domLib_eventTarget=domLib_isIE?"srcElement":"currentTarget";
var domLib_eventButton=domLib_isIE?"button":"which";
var domLib_eventTo=domLib_isIE?"toElement":"relatedTarget";
var domLib_stylePointer=domLib_isIE?"hand":"pointer";
var domLib_styleNoMaxWidth=domLib_isOpera?"10000px":"none";
var domLib_hidePosition="-1000px";
var domLib_scrollbarWidth=14;
var domLib_autoId=1;
var domLib_zIndex=1000000;
var domLib_collisionElements;
var domLib_collisionsCached=false;
var domLib_timeoutStateId=0;
var domLib_timeoutStates=new domTT_Hash();
if(!document.ELEMENT_NODE){
document.ELEMENT_NODE=1;
document.ATTRIBUTE_NODE=2;
document.TEXT_NODE=3;
document.DOCUMENT_NODE=9;
document.DOCUMENT_FRAGMENT_NODE=11;
}
function domLib_clone(_1){
var _2={};
for(var i in _1){
var _4=_1[i];
try{
if(_4!=null&&typeof (_4)=="object"&&_4!=window&&!_4.nodeType){
_2[i]=domLib_clone(_4);
}else{
_2[i]=_4;
}
}
catch(e){
_2[i]=_4;
}
}
return _2;
}
function domTT_Hash(){
this.length=0;
this.numericLength=0;
this.elementData=[];
for(var i=0;i<arguments.length;i+=2){
if(typeof (arguments[i+1])!="undefined"){
this.elementData[arguments[i]]=arguments[i+1];
this.length++;
if(arguments[i]==parseInt(arguments[i])){
this.numericLength++;
}
}
}
}
domTT_Hash.prototype.get=function(_6){
if(typeof (this.elementData[_6])!="undefined"){
return this.elementData[_6];
}
return null;
};
domTT_Hash.prototype.set=function(_7,_8){
if(typeof (_8)!="undefined"){
if(typeof (this.elementData[_7])=="undefined"){
this.length++;
if(_7==parseInt(_7)){
this.numericLength++;
}
}
return this.elementData[_7]=_8;
}
return false;
};
domTT_Hash.prototype.remove=function(_9){
var _a;
if(typeof (this.elementData[_9])!="undefined"){
this.length--;
if(_9==parseInt(_9)){
this.numericLength--;
}
_a=this.elementData[_9];
delete this.elementData[_9];
}
return _a;
};
domTT_Hash.prototype.size=function(){
return this.length;
};
domTT_Hash.prototype.has=function(_b){
return typeof (this.elementData[_b])!="undefined";
};
domTT_Hash.prototype.find=function(_c){
for(var _d in this.elementData){
if(this.elementData[_d]==_c){
return _d;
}
}
return null;
};
domTT_Hash.prototype.merge=function(_e){
for(var _f in _e.elementData){
if(typeof (this.elementData[_f])=="undefined"){
this.length++;
if(_f==parseInt(_f)){
this.numericLength++;
}
}
this.elementData[_f]=_e.elementData[_f];
}
};
domTT_Hash.prototype.compare=function(_10){
if(this.length!=_10.length){
return false;
}
for(var _11 in this.elementData){
if(this.elementData[_11]!=_10.elementData[_11]){
return false;
}
}
return true;
};
function domLib_isDescendantOf(_12,_13,_14){
if(_12==null){
return false;
}
if(_12==_13){
return true;
}
try{
if(typeof (_14)!="undefined"&&(","+_14.join(",")+",").indexOf(","+_12.tagName+",")!=-1){
return false;
}
}
catch(e){
return false;
}
while(_12!=document.documentElement){
try{
if((tmp_object=_12.offsetParent)&&tmp_object==_13){
return true;
}else{
if((tmp_object=_12.parentNode)==_13){
return true;
}else{
_12=tmp_object;
}
}
}
catch(e){
return false;
}
}
return false;
}
function domLib_detectCollisions(_15,_16,_17){
if(!domLib_collisionsCached){
var _18=[];
if(!domLib_canDrawOverFlash){
_18[_18.length]="object";
}
if(!domLib_canDrawOverSelect){
_18[_18.length]="select";
}
domLib_collisionElements=domLib_getElementsByTagNames(_18,true);
domLib_collisionsCached=_17;
}
if(_16){
for(var cnt=0;cnt<domLib_collisionElements.length;cnt++){
var _1a=domLib_collisionElements[cnt];
if(!_1a.hideList){
_1a.hideList=new domTT_Hash();
}
_1a.hideList.remove(_15.id);
if(!_1a.hideList.length){
domLib_collisionElements[cnt].style.visibility="visible";
if(domLib_isKonq){
domLib_collisionElements[cnt].style.display="";
}
}
}
return;
}else{
if(domLib_collisionElements.length==0){
return;
}
}
var _1b=domLib_getOffsets(_15);
for(var cnt=0;cnt<domLib_collisionElements.length;cnt++){
var _1a=domLib_collisionElements[cnt];
if(domLib_isDescendantOf(_1a,_15)){
continue;
}
try{
if(domLib_isKonq&&_1a.tagName=="SELECT"&&(_1a.size<=1&&!_1a.multiple)){
continue;
}
}
catch(e){
continue;
}
if(!_1a.hideList){
_1a.hideList=new domTT_Hash();
}
var _1c=domLib_getOffsets(_1a);
var _1d=Math.sqrt(Math.pow(_1c.get("leftCenter")-_1b.get("leftCenter"),2)+Math.pow(_1c.get("topCenter")-_1b.get("topCenter"),2));
var _1e=_1c.get("radius")+_1b.get("radius");
if(_1d<_1e){
if((_1b.get("leftCenter")<=_1c.get("leftCenter")&&_1b.get("right")<_1c.get("left"))||(_1b.get("leftCenter")>_1c.get("leftCenter")&&_1b.get("left")>_1c.get("right"))||(_1b.get("topCenter")<=_1c.get("topCenter")&&_1b.get("bottom")<_1c.get("top"))||(_1b.get("topCenter")>_1c.get("topCenter")&&_1b.get("top")>_1c.get("bottom"))){
_1a.hideList.remove(_15.id);
if(!_1a.hideList.length){
_1a.style.visibility="visible";
if(domLib_isKonq){
_1a.style.display="";
}
}
}else{
_1a.hideList.set(_15.id,true);
_1a.style.visibility="hidden";
if(domLib_isKonq){
_1a.style.display="none";
}
}
}
}
}
function domLib_getOffsets(_1f,_20){
if(typeof (_20)=="undefined"){
_20=false;
}
var _21=_1f;
var _22=_1f.offsetWidth;
var _23=_1f.offsetHeight;
var _24=0;
var _25=0;
while(_1f){
_24+=_1f.offsetLeft;
_25+=_1f.offsetTop;
_1f=_1f.offsetParent;
if(_1f&&!_20){
_24-=_1f.scrollLeft;
_25-=_1f.scrollTop;
}
}
if(domLib_isMacIE){
_24+=10;
_25+=10;
}
return new domTT_Hash("left",_24,"top",_25,"right",_24+_22,"bottom",_25+_23,"leftCenter",_24+_22/2,"topCenter",_25+_23/2,"radius",Math.max(_22,_23));
}
function domLib_setTimeout(_26,_27,_28){
if(typeof (_28)=="undefined"){
_28=[];
}
if(_27==-1){
return 0;
}else{
if(_27==0){
_26(_28);
return 0;
}
}
var _29=domLib_clone(_28);
if(!domLib_hasBrokenTimeout){
return setTimeout(function(){
_26(_29);
},_27);
}else{
var id=domLib_timeoutStateId++;
var _2b=new domTT_Hash();
_2b.set("function",_26);
_2b.set("args",_29);
domLib_timeoutStates.set(id,_2b);
_2b.set("timeoutId",setTimeout("domLib_timeoutStates.get("+id+").get('function')(domLib_timeoutStates.get("+id+").get('args')); domLib_timeoutStates.remove("+id+");",_27));
return id;
}
}
function domLib_clearTimeout(_2c){
if(!domLib_hasBrokenTimeout){
if(_2c>0){
clearTimeout(_2c);
}
}else{
if(domLib_timeoutStates.has(_2c)){
clearTimeout(domLib_timeoutStates.get(_2c).get("timeoutId"));
domLib_timeoutStates.remove(_2c);
}
}
}
function domLib_getEventPosition(_2d){
var _2e=new domTT_Hash("x",0,"y",0,"scrollX",0,"scrollY",0);
if(domLib_isIE){
var doc=(domLib_standardsMode?document.documentElement:document.body);
if(doc){
_2e.set("x",_2d.clientX+doc.scrollLeft);
_2e.set("y",_2d.clientY+doc.scrollTop);
_2e.set("scrollX",doc.scrollLeft);
_2e.set("scrollY",doc.scrollTop);
}
}else{
_2e.set("x",_2d.pageX);
_2e.set("y",_2d.pageY);
_2e.set("scrollX",_2d.pageX-_2d.clientX);
_2e.set("scrollY",_2d.pageY-_2d.clientY);
}
return _2e;
}
function domLib_cancelBubble(_30){
var _31=_30?_30:window.event;
_31.cancelBubble=true;
}
function domLib_getIFrameReference(_32){
if(domLib_isGecko||domLib_isIE){
return _32.frameElement;
}else{
var _33=_32.name;
if(!_33||!_32.parent){
return null;
}
var _34=_32.parent.document.getElementsByTagName("iframe");
for(var i=0;i<_34.length;i++){
if(_34[i].name==_33){
return _34[i];
}
}
return null;
}
}
function domLib_getElementsByClass(_36){
var _37=domLib_isIE5?document.all:document.getElementsByTagName("*");
var _38=[];
var cnt=0;
for(var i=0;i<_37.length;i++){
if((" "+_37[i].className+" ").indexOf(" "+_36+" ")!=-1){
_38[cnt++]=_37[i];
}
}
return _38;
}
function domLib_getElementsByTagNames(_3b,_3c){
var _3d=[];
for(var i=0;i<_3b.length;i++){
var _3f=document.getElementsByTagName(_3b[i]);
for(var j=0;j<_3f.length;j++){
try{
if(_3f[j].tagName=="OBJECT"&&domLib_isGecko){
var _41=_3f[j].childNodes;
var _42=false;
for(var k=0;k<_41.length;k++){
if(_41[k].tagName=="EMBED"){
_42=true;
break;
}
}
if(_42){
continue;
}
}
}
catch(e){
continue;
}
if(_3c&&domLib_getComputedStyle(_3f[j],"visibility")=="hidden"){
continue;
}
_3d[_3d.length]=_3f[j];
}
}
return _3d;
}
function domLib_getComputedStyle(_44,_45){
if(domLib_isIE){
var _46=_45.replace(/-(.)/,function(a,b){
return b.toUpperCase();
});
return eval("in_obj.currentStyle."+_46);
}else{
if(domLib_isKonq){
return eval("in_obj.style."+_45);
}else{
return document.defaultView.getComputedStyle(_44,null).getPropertyValue(_45);
}
}
}
function makeTrue(){
return true;
}
function makeFalse(){
return false;
}



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/3rdparty/domTT/domTT.js
var domTT_offsetX=(domLib_isIE?-2:0);
var domTT_offsetY=(domLib_isIE?4:2);
var domTT_direction="southeast";
var domTT_mouseHeight=domLib_isIE?13:19;
var domTT_closeLink="X";
var domTT_closeAction="hide";
var domTT_activateDelay=500;
var domTT_maxWidth=false;
var domTT_styleClass="domTT";
var domTT_fade="neither";
var domTT_lifetime=0;
var domTT_grid=0;
var domTT_trailDelay=200;
var domTT_useGlobalMousePosition=true;
var domTT_postponeActivation=false;
var domTT_tooltipIdPrefix="[domTT]";
var domTT_screenEdgeDetection=true;
var domTT_screenEdgePadding=4;
var domTT_oneOnly=true;
var domTT_cloneNodes=false;
var domTT_detectCollisions=true;
var domTT_bannedTags=["OPTION"];
var domTT_draggable=false;
if(typeof (domTT_dragEnabled)=="undefined"){
domTT_dragEnabled=false;
}
var domTT_predefined=new domTT_Hash();
var domTT_tooltips=new domTT_Hash();
var domTT_lastOpened=0;
var domTT_documentLoaded=false;
var domTT_mousePosition=null;
if(domLib_useLibrary&&domTT_useGlobalMousePosition){
document.onmousemove=function(_1){
if(typeof (_1)=="undefined"){
_1=window.event;
}
domTT_mousePosition=domLib_getEventPosition(_1);
if(domTT_dragEnabled&&domTT_dragMouseDown){
domTT_dragUpdate(_1);
}
};
}
function domTT_activate(_2,_3){
if(!domLib_useLibrary||(domTT_postponeActivation&&!domTT_documentLoaded)){
return false;
}
if(typeof (_3)=="undefined"){
_3=window.event;
}
if(_3!=null){
var _4=_3.srcElement?_3.srcElement:_3.target;
try{
if(_4!=null&&(","+domTT_bannedTags.join(",")+",").indexOf(","+_4.tagName+",")!=-1){
return false;
}
}
catch(e){
return false;
}
}
var _5=document.body;
if(_3!=null&&_3.type.match(/key|mouse|click|contextmenu/i)){
if(_2.nodeType&&_2.nodeType!=document.DOCUMENT_NODE){
_5=_2;
}
}else{
if(typeof (_2)!="object"&&!(_5=domTT_tooltips.get(_2))){
var _6=document.createElement("div");
_5=document.body.appendChild(_6);
_5.style.display="none";
_5.id=_2;
}
}
if(!_5.id){
_5.id="__autoId"+domLib_autoId++;
}
if(domTT_oneOnly&&domTT_lastOpened){
domTT_deactivate(domTT_lastOpened);
}
domTT_lastOpened=_5.id;
var _7=domTT_tooltips.get(_5.id);
if(_7){
if(_7.get("eventType")!=_3.type){
if(_7.get("type")=="greasy"){
_7.set("closeAction","destroy");
domTT_deactivate(_5.id);
}else{
if(_7.get("status")!="inactive"){
return _5.id;
}
}
}else{
if(_7.get("status")=="inactive"){
_7.set("status","pending");
_7.set("activateTimeout",domLib_setTimeout(domTT_runShow,_7.get("delay"),[_5.id,_3]));
return _5.id;
}else{
return _5.id;
}
}
}
var _8=new domTT_Hash("caption","","content","","clearMouse",true,"closeAction",domTT_closeAction,"closeLink",domTT_closeLink,"delay",domTT_activateDelay,"direction",domTT_direction,"draggable",domTT_draggable,"fade",domTT_fade,"fadeMax",100,"grid",domTT_grid,"id",domTT_tooltipIdPrefix+_5.id,"inframe",false,"lifetime",domTT_lifetime,"offsetX",domTT_offsetX,"offsetY",domTT_offsetY,"parent",document.body,"position","absolute","styleClass",domTT_styleClass,"type","greasy","trail",false,"lazy",false);
for(var i=2;i<arguments.length;i+=2){
if(arguments[i]=="predefined"){
var _a=domTT_predefined.get(arguments[i+1]);
for(var j in _a.elementData){
_8.set(j,_a.get(j));
}
}else{
_8.set(arguments[i],arguments[i+1]);
}
}
_8.set("eventType",_3!=null?_3.type:null);
if(_8.has("statusText")){
try{
window.status=_8.get("statusText");
}
catch(e){
}
}
if(!_8.has("content")||_8.get("content")==""||_8.get("content")==null){
if(typeof (_5.onmouseout)!="function"){
_5.onmouseout=function(_c){
domTT_mouseout(this,_c);
};
}
return _5.id;
}
_8.set("owner",_5);
domTT_create(_8);
_8.set("delay",(_3!=null&&_3.type.match(/click|mousedown|contextmenu/i))?0:parseInt(_8.get("delay")));
domTT_tooltips.set(_5.id,_8);
domTT_tooltips.set(_8.get("id"),_8);
_8.set("status","pending");
_8.set("activateTimeout",domLib_setTimeout(domTT_runShow,_8.get("delay"),[_5.id,_3]));
return _5.id;
}
function domTT_create(_d){
var _e=_d.get("owner");
var _f=_d.get("parent");
var _10=_f.ownerDocument||_f.document;
var _11=_10.createElement("div");
var _12=_f.appendChild(_11);
_12.style.position="absolute";
_12.style.left="0px";
_12.style.top="0px";
_12.style.visibility="hidden";
_12.id=_d.get("id");
_12.className=_d.get("styleClass");
var _13;
var _14=false;
if(_d.get("caption")||(_d.get("type")=="sticky"&&_d.get("caption")!==false)){
_14=true;
var _15=_12.appendChild(_10.createElement("table"));
_15.style.borderCollapse="collapse";
if(domLib_isKHTML){
_15.cellSpacing=0;
}
var _16=_15.appendChild(_10.createElement("tbody"));
var _17=0;
var _18=_16.appendChild(_10.createElement("tr"));
var _19=_18.appendChild(_10.createElement("td"));
_19.style.padding="0px";
var _1a=_19.appendChild(_10.createElement("div"));
_1a.className="caption";
if(domLib_isIE50){
_1a.style.height="100%";
}
if(_d.get("caption").nodeType){
_1a.appendChild(domTT_cloneNodes?_d.get("caption").cloneNode(1):_d.get("caption"));
}else{
_1a.innerHTML=_d.get("caption");
}
if(_d.get("type")=="sticky"){
var _17=2;
var _1b=_18.appendChild(_10.createElement("td"));
_1b.style.padding="0px";
var _1c=_1b.appendChild(_10.createElement("div"));
_1c.className="caption";
if(domLib_isIE50){
_1c.style.height="100%";
}
_1c.style.textAlign="right";
_1c.style.cursor=domLib_stylePointer;
_1c.style.borderLeftWidth=_1a.style.borderRightWidth="0px";
_1c.style.paddingLeft=_1a.style.paddingRight="0px";
_1c.style.marginLeft=_1a.style.marginRight="0px";
if(_d.get("closeLink").nodeType){
_1c.appendChild(_d.get("closeLink").cloneNode(1));
}else{
_1c.innerHTML=_d.get("closeLink");
}
_1c.onclick=function(){
domTT_deactivate(_e.id);
};
_1c.onmousedown=function(_1d){
if(typeof (_1d)=="undefined"){
_1d=window.event;
}
_1d.cancelBubble=true;
};
if(domLib_isMacIE){
_1b.appendChild(_10.createTextNode("\n"));
}
}
if(domLib_isMacIE){
_19.appendChild(_10.createTextNode("\n"));
}
var _1e=_16.appendChild(_10.createElement("tr"));
var _1f=_1e.appendChild(_10.createElement("td"));
_1f.style.padding="0px";
if(_17){
if(domLib_isIE||domLib_isOpera){
_1f.colSpan=_17;
}else{
_1f.setAttribute("colspan",_17);
}
}
_13=_1f.appendChild(_10.createElement("div"));
if(domLib_isIE50){
_13.style.height="100%";
}
}else{
_13=_12.appendChild(_10.createElement("div"));
}
_13.className="contents";
var _20=_d.get("content");
if(typeof (_20)=="function"){
_20=_20(_d.get("id"));
}
if(_20!=null&&_20.nodeType){
_13.appendChild(domTT_cloneNodes?_20.cloneNode(1):_20);
}else{
_13.innerHTML=_20;
}
if(_d.has("width")){
_12.style.width=parseInt(_d.get("width"))+"px";
}
var _21=domTT_maxWidth;
if(_d.has("maxWidth")){
if((_21=_d.get("maxWidth"))===false){
_12.style.maxWidth=domLib_styleNoMaxWidth;
}else{
_21=parseInt(_d.get("maxWidth"));
_12.style.maxWidth=_21+"px";
}
}
if(_21!==false&&(domLib_isIE||domLib_isKHTML)&&_12.offsetWidth>_21){
_12.style.width=_21+"px";
}
_d.set("offsetWidth",_12.offsetWidth);
_d.set("offsetHeight",_12.offsetHeight);
if(domLib_isKonq&&_14&&!_12.style.width){
var _22=document.defaultView.getComputedStyle(_12,"").getPropertyValue("border-left-width");
var _23=document.defaultView.getComputedStyle(_12,"").getPropertyValue("border-right-width");
_22=_22.substring(_22.indexOf(":")+2,_22.indexOf(";"));
_23=_23.substring(_23.indexOf(":")+2,_23.indexOf(";"));
var _24=2*((_22?parseInt(_22):0)+(_23?parseInt(_23):0));
_12.style.width=(_12.offsetWidth-_24)+"px";
}
if(domLib_isIE||domLib_isOpera){
if(!_12.style.width){
_12.style.width=(_12.offsetWidth-2)+"px";
}
_12.style.height=(_12.offsetHeight-2)+"px";
}
var _25,offsetY;
if(_d.get("position")=="absolute"&&!(_d.has("x")&&_d.has("y"))){
switch(_d.get("direction")){
case "northeast":
_25=_d.get("offsetX");
offsetY=0-_12.offsetHeight-_d.get("offsetY");
break;
case "northwest":
_25=0-_12.offsetWidth-_d.get("offsetX");
offsetY=0-_12.offsetHeight-_d.get("offsetY");
break;
case "north":
_25=0-parseInt(_12.offsetWidth/2);
offsetY=0-_12.offsetHeight-_d.get("offsetY");
break;
case "southwest":
_25=0-_12.offsetWidth-_d.get("offsetX");
offsetY=_d.get("offsetY");
break;
case "southeast":
_25=_d.get("offsetX");
offsetY=_d.get("offsetY");
break;
case "south":
_25=0-parseInt(_12.offsetWidth/2);
offsetY=_d.get("offsetY");
break;
}
if(_d.get("inframe")){
var _26=domLib_getIFrameReference(window);
if(_26){
var _27=domLib_getOffsets(_26);
_25+=_27.get("left");
offsetY+=_27.get("top");
}
}
}else{
_25=0;
offsetY=0;
_d.set("trail",false);
}
_d.set("offsetX",_25);
_d.set("offsetY",offsetY);
if(_d.get("clearMouse")&&_d.get("direction").indexOf("south")!=-1){
_d.set("mouseOffset",domTT_mouseHeight);
}else{
_d.set("mouseOffset",0);
}
if(domLib_canFade&&typeof (Fadomatic)=="function"){
if(_d.get("fade")!="neither"){
var _28=new Fadomatic(_12,10,0,0,_d.get("fadeMax"));
_d.set("fadeHandler",_28);
}
}else{
_d.set("fade","neither");
}
if(_d.get("trail")&&typeof (_e.onmousemove)!="function"){
_e.onmousemove=function(_29){
domTT_mousemove(this,_29);
};
}
if(typeof (_e.onmouseout)!="function"){
_e.onmouseout=function(_2a){
domTT_mouseout(this,_2a);
};
}
if(_d.get("type")=="sticky"){
if(_d.get("position")=="absolute"&&domTT_dragEnabled&&_d.get("draggable")){
if(domLib_isIE){
_18.onselectstart=function(){
return false;
};
}
_18.onmousedown=function(_2b){
domTT_dragStart(_12,_2b);
};
_18.onmousemove=function(_2c){
domTT_dragUpdate(_2c);
};
_18.onmouseup=function(){
domTT_dragStop();
};
}
}else{
if(_d.get("type")=="velcro"){
_12.onmouseout=function(_2d){
if(typeof (_2d)=="undefined"){
_2d=window.event;
}
if(!domLib_isDescendantOf(_2d[domLib_eventTo],_12,domTT_bannedTags)){
domTT_deactivate(_e.id);
}
};
_12.onclick=function(_2e){
domTT_deactivate(_e.id);
};
}
}
if(_d.get("position")=="relative"){
_12.style.position="relative";
}
_d.set("node",_12);
_d.set("status","inactive");
}
function domTT_show(_2f,_30){
var _31=domTT_tooltips.get(_2f);
var _32=_31.get("status");
var _33=_31.get("node");
if(_31.get("position")=="absolute"){
var _34,mouseY;
if(_31.has("x")&&_31.has("y")){
_34=_31.get("x");
mouseY=_31.get("y");
}else{
if(!domTT_useGlobalMousePosition||domTT_mousePosition==null||_32=="active"||_31.get("delay")==0){
var _35=domLib_getEventPosition(_30);
var _36=_35.get("x");
var _37=_35.get("y");
if(_31.get("inframe")){
_36-=_35.get("scrollX");
_37-=_35.get("scrollY");
}
if(_32=="active"&&_31.get("trail")!==true){
var _38=_31.get("trail");
if(_38=="x"){
_34=_36;
mouseY=_31.get("mouseY");
}else{
if(_38=="y"){
_34=_31.get("mouseX");
mouseY=_37;
}
}
}else{
_34=_36;
mouseY=_37;
}
}else{
_34=domTT_mousePosition.get("x");
mouseY=domTT_mousePosition.get("y");
if(_31.get("inframe")){
_34-=domTT_mousePosition.get("scrollX");
mouseY-=domTT_mousePosition.get("scrollY");
}
}
}
if(_31.get("grid")){
if(_30.type!="mousemove"||(_32=="active"&&(Math.abs(_31.get("lastX")-_34)>_31.get("grid")||Math.abs(_31.get("lastY")-mouseY)>_31.get("grid")))){
_31.set("lastX",_34);
_31.set("lastY",mouseY);
}else{
return false;
}
}
_31.set("mouseX",_34);
_31.set("mouseY",mouseY);
var _39;
if(domTT_screenEdgeDetection){
_39=domTT_correctEdgeBleed(_31.get("offsetWidth"),_31.get("offsetHeight"),_34,mouseY,_31.get("offsetX"),_31.get("offsetY"),_31.get("mouseOffset"),_31.get("inframe")?window.parent:window);
}else{
_39={"x":_34+_31.get("offsetX"),"y":mouseY+_31.get("offsetY")+_31.get("mouseOffset")};
}
_33.style.left=_39.x+"px";
_33.style.top=_39.y+"px";
_33.style.zIndex=domLib_zIndex++;
}
if(_32=="pending"){
_31.set("status","active");
_33.style.display="";
_33.style.visibility="visible";
var _3a=_31.get("fade");
if(_3a!="neither"){
var _3b=_31.get("fadeHandler");
if(_3a=="out"||_3a=="both"){
_3b.haltFade();
if(_3a=="out"){
_3b.halt();
}
}
if(_3a=="in"||_3a=="both"){
_3b.fadeIn();
}
}
if(_31.get("type")=="greasy"&&_31.get("lifetime")!=0){
_31.set("lifetimeTimeout",domLib_setTimeout(domTT_runDeactivate,_31.get("lifetime"),[_33.id]));
}
}
if(_31.get("position")=="absolute"&&domTT_detectCollisions){
domLib_detectCollisions(_33,false,true);
}
}
function domTT_close(_3c){
var id;
if(typeof (_3c)=="object"&&_3c.nodeType){
var obj=_3c;
while(!obj.id||!domTT_tooltips.get(obj.id)){
obj=obj.parentNode;
if(obj.nodeType!=document.ELEMENT_NODE){
return;
}
}
id=obj.id;
}else{
id=_3c;
}
domTT_deactivate(id);
}
function domTT_closeAll(){
for(var id in domTT_tooltips.elementData){
domTT_close(id);
}
}
function domTT_deactivate(_40){
var _41=domTT_tooltips.get(_40);
if(_41){
var _42=_41.get("status");
if(_42=="pending"){
domLib_clearTimeout(_41.get("activateTimeout"));
_41.set("status","inactive");
}else{
if(_42=="active"){
if(_41.get("lifetime")){
domLib_clearTimeout(_41.get("lifetimeTimeout"));
}
var _43=_41.get("node");
if(_41.get("closeAction")=="hide"){
var _44=_41.get("fade");
if(_44!="neither"){
var _45=_41.get("fadeHandler");
if(_44=="out"||_44=="both"){
_45.fadeOut();
}else{
_45.hide();
}
}else{
_43.style.display="none";
}
}else{
_41.get("parent").removeChild(_43);
domTT_tooltips.remove(_41.get("owner").id);
domTT_tooltips.remove(_41.get("id"));
}
_41.set("status","inactive");
if(domTT_detectCollisions){
domLib_detectCollisions(_43,true,true);
}
}
}
}
}
function domTT_mouseout(_46,_47){
if(!domLib_useLibrary){
return false;
}
if(typeof (_47)=="undefined"){
_47=window.event;
}
var _48=domLib_isDescendantOf(_47[domLib_eventTo],_46,domTT_bannedTags);
var _49=domTT_tooltips.get(_46.id);
if(_49&&(_49.get("type")=="greasy"||_49.get("status")!="active")){
if(!_48){
domTT_deactivate(_46.id);
try{
window.status=window.defaultStatus;
}
catch(e){
}
}
}else{
if(!_48){
try{
window.status=window.defaultStatus;
}
catch(e){
}
}
}
}
function domTT_mousemove(_4a,_4b){
if(!domLib_useLibrary){
return false;
}
if(typeof (_4b)=="undefined"){
_4b=window.event;
}
var _4c=domTT_tooltips.get(_4a.id);
if(_4c&&_4c.get("trail")&&_4c.get("status")=="active"){
if(_4c.get("lazy")){
domLib_setTimeout(domTT_runShow,domTT_trailDelay,[_4a.id,_4b]);
}else{
domTT_show(_4a.id,_4b);
}
}
}
function domTT_addPredefined(_4d){
var _4e=new domTT_Hash();
for(var i=1;i<arguments.length;i+=2){
_4e.set(arguments[i],arguments[i+1]);
}
domTT_predefined.set(_4d,_4e);
}
function domTT_correctEdgeBleed(_50,_51,_52,_53,_54,_55,_56,_57){
var win,doc;
var _59,bleedBottom;
var _5a,pageWidth,pageYOffset,pageXOffset;
var x=_52+_54;
var y=_53+_55+_56;
win=(typeof (_57)=="undefined"?window:_57);
doc=((domLib_standardsMode&&(domLib_isIE||domLib_isGecko))?win.document.documentElement:win.document.body);
if(domLib_isIE){
_5a=doc.clientHeight;
pageWidth=doc.clientWidth;
pageYOffset=doc.scrollTop;
pageXOffset=doc.scrollLeft;
}else{
_5a=doc.clientHeight;
pageWidth=doc.clientWidth;
if(domLib_isKHTML){
_5a=win.innerHeight;
}
pageYOffset=win.pageYOffset;
pageXOffset=win.pageXOffset;
}
if((_59=(x-pageXOffset)+_50-(pageWidth-domTT_screenEdgePadding))>0){
x-=_59;
}
if((x-pageXOffset)<domTT_screenEdgePadding){
x=domTT_screenEdgePadding+pageXOffset;
}
if((bleedBottom=(y-pageYOffset)+_51-(_5a-domTT_screenEdgePadding))>0){
y=_53-_51-_55;
}
if((y-pageYOffset)<domTT_screenEdgePadding){
y=_53+domTT_mouseHeight+_55;
}
return {"x":x,"y":y};
}
function domTT_isActive(_5d){
var _5e=domTT_tooltips.get(_5d);
if(!_5e||_5e.get("status")!="active"){
return false;
}else{
return true;
}
}
function domTT_runDeactivate(_5f){
domTT_deactivate(_5f[0]);
}
function domTT_runShow(_60){
domTT_show(_60[0],_60[1]);
}
function domTT_replaceTitles(_61){
var _62=domLib_getElementsByClass("tooltip");
for(var i=0;i<_62.length;i++){
if(_62[i].title){
var _64;
if(typeof (_61)=="function"){
_64=_61(_62[i]);
}else{
_64=_62[i].title;
}
_64=_64.replace(new RegExp("'","g"),"\\'");
_62[i].onmouseover=new Function("in_event","domTT_activate(this, in_event, 'content', '"+_64+"')");
_62[i].title="";
}
}
}
function domTT_update(_65,_66,_67){
if(typeof (_67)=="undefined"){
_67="content";
}
var tip=domTT_tooltips.get(_65);
if(!tip){
return;
}
var _69=tip.get("node");
var _6a;
if(_67=="content"){
_6a=_69.firstChild;
if(_6a.className!="contents"){
_6a=_6a.firstChild.firstChild.nextSibling.firstChild.firstChild;
}
}else{
_6a=_69.firstChild;
if(_6a.className=="contents"){
return;
}
_6a=_6a.firstChild.firstChild.firstChild.firstChild;
}
_6a.innerHTML=_66;
}



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/3rdparty/domTT/fadomatic.js
Fadomatic.INTERVAL_MILLIS=50;
function Fadomatic(_1,_2,_3,_4,_5){
this._element=_1;
this._intervalId=null;
this._rate=_2;
this._isFadeOut=true;
this._minOpacity=0;
this._maxOpacity=99;
this._opacity=99;
if(typeof _4!="undefined"){
if(_4<0){
this._minOpacity=0;
}else{
if(_4>99){
this._minOpacity=99;
}else{
this._minOpacity=_4;
}
}
}
if(typeof _5!="undefined"){
if(_5<0){
this._maxOpacity=0;
}else{
if(_5>99){
this._maxOpacity=99;
}else{
this._maxOpacity=_5;
}
}
if(this._maxOpacity<this._minOpacity){
this._maxOpacity=this._minOpacity;
}
}
if(typeof _3!="undefined"){
if(_3>this._maxOpacity){
this._opacity=this._maxOpacity;
}else{
if(_3<this._minOpacity){
this._opacity=this._minOpacity;
}else{
this._opacity=_3;
}
}
}
if(typeof _1.style.opacity!="undefined"){
this._updateOpacity=this._updateOpacityW3c;
}else{
if(typeof _1.style.filter!="undefined"){
if(_1.style.filter.indexOf("alpha")==-1){
var _6="";
if(_1.style.filter){
_6=_1.style.filter+" ";
}
_1.style.filter=_6+"alpha(opacity="+this._opacity+")";
}
this._updateOpacity=this._updateOpacityMSIE;
}else{
this._updateOpacity=this._updateVisibility;
}
}
this._updateOpacity();
}
Fadomatic.prototype.fadeOut=function(){
this._isFadeOut=true;
this._beginFade();
};
Fadomatic.prototype.fadeIn=function(){
this._isFadeOut=false;
this._beginFade();
};
Fadomatic.prototype.show=function(){
this.haltFade();
this._opacity=this._maxOpacity;
this._updateOpacity();
};
Fadomatic.prototype.hide=function(){
this.haltFade();
this._opacity=0;
this._updateOpacity();
};
Fadomatic.prototype.haltFade=function(){
clearInterval(this._intervalId);
};
Fadomatic.prototype.resumeFade=function(){
this._beginFade();
};
Fadomatic.prototype._beginFade=function(){
this.haltFade();
var _7=this;
this._intervalId=setInterval(function(){
_7._tickFade();
},Fadomatic.INTERVAL_MILLIS);
};
Fadomatic.prototype._tickFade=function(){
if(this._isFadeOut){
this._opacity-=this._rate;
if(this._opacity<this._minOpacity){
this._opacity=this._minOpacity;
this.haltFade();
}
}else{
this._opacity+=this._rate;
if(this._opacity>this._maxOpacity){
this._opacity=this._maxOpacity;
this.haltFade();
}
}
this._updateOpacity();
};
Fadomatic.prototype._updateVisibility=function(){
if(this._opacity>0){
this._element.style.visibility="visible";
}else{
this._element.style.visibility="hidden";
}
};
Fadomatic.prototype._updateOpacityW3c=function(){
this._element.style.opacity=this._opacity/100;
this._updateVisibility();
};
Fadomatic.prototype._updateOpacityMSIE=function(){
this._updateVisibility();
};
Fadomatic.prototype._updateOpacity=null;



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Presentation/EditableView/EVIPage.js
function showPhotoGallery(w,h,_3,_4){
KShade.show();
var _5=document.createElement("iframe");
_5.src=window.location.protocol+"//"+window.location.host+"/scripts/photoGallery.php?w="+w+"&h="+h+((""!=_3)?("&idcms="+_3):"")+((""!=_4)?("&go="+_4):"");
_5.id="MMEEditor";
_5.style.position="absolute";
_5.style.width="90%";
_5.style.height="90%";
_5.style.textAlign="center";
_5.style.zIndex="30000";
_5.style.backgroundColor="#ffffff";
_5.allowTransparency="true";
_5.frameBorder="0";
_5.style.border="4px solid #444";
_5.style.borderTop="4px solid #aaa";
_5.style.borderLeft="4px solid #aaa";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
_5.style.left="5%";
_5.style.top=(document.documentElement.scrollTop+20)+"px";
document.body.appendChild(_5);
}
function showDBPhotoGallery(w,h,_8,_9){
KShade.show();
var _a=document.createElement("iframe");
_a.src=window.location.protocol+"//"+window.location.host+"/scripts/DBphotoGallery.php?w="+w+"&h="+h+((""!=_8)?("&idcms="+_8):"")+((""!=_9)?("&go="+_9):"");
_a.id="MMEEditor";
_a.style.position="absolute";
_a.style.width="90%";
_a.style.height="90%";
_a.style.textAlign="center";
_a.style.zIndex="30000";
_a.style.backgroundColor="#ffffff";
_a.allowTransparency="true";
_a.frameBorder="0";
_a.style.border="4px solid #444";
_a.style.borderTop="4px solid #aaa";
_a.style.borderLeft="4px solid #aaa";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
_a.style.left="5%";
_a.style.top=(document.documentElement.scrollTop+20)+"px";
document.body.appendChild(_a);
}
function showFTP(w,h,_d){
KShade.show();
var _e=document.createElement("iframe");
_e.src=_d;
_e.id="iFTP";
_e.style.position="absolute";
_e.style.width="70%";
_e.style.height="720px";
_e.style.textAlign="center";
_e.style.zIndex="30000";
_e.style.backgroundColor="#ffffff";
_e.allowTransparency="true";
_e.frameBorder="0";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
_e.style.left="15%";
_e.style.top=(document.documentElement.scrollTop+100)+"px";
document.body.appendChild(_e);
}



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Core/Include/js/KMenu.js
function KMenu(id,_2,_3,_4,_5,_6){
this.div=document.createElement("div");
this.div.id="mp"+id;
this.id=id;
this.submenuAlign=_6?_6:this.ALIGN_RIGHT;
this.iconsWidth=_5?_5:0;
this.vertical=_2;
this.div.ul=document.getElementById(id+"Ul");
if(!this.div.ul){
return false;
}
this.div.ul.div=this.div;
this.clickBehaviour=_4;
this.setupMenu(this.div.ul,0);
this.div.onmousemove=document.getElementById(id).onmousemove=function(e){
stopBubbling(e);
};
var _8=this;
if(this.clickBehaviour){
document.getElementById(id).onclick=function(_9){
stopBubbling(_9);
};
}else{
addEvent(document,"mousemove",function(e){
clearTimeout(_8.timeout);
_8.hideChildrenAt(document.getElementById(id+"Ul"),_3);
});
}
document.body.appendChild(this.div);
}
KMenu.prototype=new function(){
this.ALIGN_LEFT=1;
this.ALIGN_RIGHT=0;
this.id=null;
this.div=null;
this.overlayX=0;
this.overlayY=0;
this.clickBehaviour=false;
this.vertical=false;
this.clicked=false;
this.iconsWidth=0;
var _b=null;
this.hideChildrenAt=function(el,_d){
var m=this;
m.timeout=window.setTimeout(function(){
m.hideChildren(0,el);
},_d);
};
this.hideChildren=function(_f,ex){
if(ex==null){
var ex=this;
}
if(_f>=1){
ex.style.display="none";
}
if(ex.childMenus){
for(var i=0;i<ex.childMenus.length;i++){
this.hideChildren(_f+1,ex.childMenus[i]);
}
}
};
this.lineupLevel=function(c){
if(!c.processed){
c.style.visibility="hidden";
}
if(c.currentStyle){
c.style.display="block";
}else{
c.style.display="inline";
}
c.style.zIndex=c.zindex;
if(!c.processed){
var max=0;
for(i=0;i<c.childNodes.length;i++){
if(c.childNodes[i].nodeName=="LI"){
max=c.childNodes[i].offsetWidth>max?c.childNodes[i].offsetWidth:max;
}
}
c.style.width=(max+this.iconsWidth)+"px";
var ar=c.getElementsByTagName("table");
for(var i=0;i<ar.length;i++){
ar[i].className="stretch "+ar[i].className;
}
c.style.visibility="visible";
c.processed=true;
}
};
this.showNoSub=function(mi){
if(mi.submenu.parentMenu){
this.hideChildren(0,mi.submenu.parentMenu);
}
clearTimeout(this.div.timeout);
};
this.showSub=function(mi,_18){
if(this.clickBehaviour){
if(!this.clicked){
return false;
}
}
KMenuManager.activate(this);
ae=[];
for(var i=0;i<mi.childNodes.length;i++){
if("TABLE"==mi.childNodes[i].nodeName||"DIV"==mi.childNodes[i].nodeName||"INPUT"==mi.childNodes[i].nodeName){
var ae=findPos(mi.childNodes[i]);
var b=mi.childNodes[i];
break;
}
}
mi.submenu.style.position="absolute";
if(ae.length>0){
if(mi.submenu.currentStyle){
if(this.ALIGN_RIGHT==this.submenuAlign){
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?-("auto"==b.currentStyle.marginLeft?0:parseInt(b.currentStyle.marginLeft)):(b.offsetWidth-this.overlayX)))+"px";
}
mi.submenu.style.top=(ae[1]+(0==_18&&!this.vertical?b.offsetHeight+("auto"==b.currentStyle.marginLeft?0:parseInt(b.currentStyle.marginBottom)):-this.overlayY))+"px";
}else{
if(this.ALIGN_RIGHT==this.submenuAlign){
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?0:b.offsetWidth-this.overlayX))+"px";
}
mi.submenu.style.top=(ae[1]+(0==_18&&!this.vertical?b.offsetHeight:-this.overlayY))+"px";
}
}else{
var ae=findPos(mi);
var b=mi;
if(mi.submenu.currentStyle){
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?0:b.offsetWidth-this.overlayX-20))+"px";
}else{
var _1c=0;
if(-1!=b.className.indexOf("right")){
if(!mi.submenu.offsetWidth){
mi.submenu.style.display="block";
}
_1c=-mi.submenu.offsetWidth+b.offsetWidth;
}
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?_1c:b.offsetWidth-this.overlayX))+"px";
}
mi.submenu.style.top=(ae[1]+(0==_18&&!this.vertical?b.offsetHeight:-this.overlayY))+"px";
}
if(mi.submenu.parentMenu){
this.hideChildren(0,mi.submenu.parentMenu);
}
clearTimeout(this.div.timeout);
this.lineupLevel(mi.submenu);
if(this.ALIGN_LEFT==this.submenuAlign){
if(mi.submenu.currentStyle){
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?-("auto"==b.currentStyle.marginLeft?0:parseInt(b.currentStyle.marginLeft)):(-mi.submenu.offsetWidth-this.overlayX)))+"px";
}else{
mi.submenu.style.left=(ae[0]+(0==_18&&!this.vertical?0:-mi.submenu.offsetWidth-this.overlayX))+"px";
}
}
};
this.setupMenu=function(el,_1e){
var e=null;
var _20=this;
el.childMenus=[];
addEvent(el,"mouseover",function(ev){
clearTimeout(_20.timeout);
});
if("TABLE"==el.nodeName){
for(var i=0;i<el.childNodes.length;i++){
if("TBODY"==el.childNodes[i].nodeName){
for(var j=0;j<el.childNodes[i].childNodes.length;j++){
if("TR"==el.childNodes[i].childNodes[j].nodeName){
var par=el.childNodes[i].childNodes[j];
break;
}
}
}
}
}else{
var par=el;
}
for(var ei=0;ei<par.childNodes.length;ei++){
e=par.childNodes[ei];
if("LI"==e.nodeName||"TD"==e.nodeName){
var c=null;
var _27=null;
var _28=null;
for(var ci=0;ci<e.childNodes.length;ci++){
var c=e.childNodes[ci];
if(3==c.nodeType){
continue;
}
e.submenu=c;
c.parentMenu=el;
if("UL"==c.nodeName){
_27=c;
break;
}else{
if("DIV"==c.nodeName||"TABLE"==c.nodeName){
_28=c;
}
}
}
if(_27){
this.setupMenu(_27,_1e+1);
el.childMenus[el.childMenus.length]=_27;
e.submenu.zindex=100+_1e;
addEvent(e,"mouseover",new function(ev){
this.e=e;
var m=this;
return function(){
_20.showSub(m.e,_1e);
};
});
if(this.clickBehaviour){
addEvent(e,"click",new function(ev){
this.e=e;
var m=this;
return function(){
_20.clicked=!_20.clicked;
addEvent(document,"click",KMenuManager.deactivate);
if(_20.clicked){
_20.showSub(m.e,_1e);
}else{
_20.hideChildren(0,el);
}
};
});
}
addEvent(e,"mousemove",function(ev){
clearTimeout(_20.timeout);
});
e.removeChild(_27);
this.div.appendChild(_27);
}else{
if(_28){
addEvent(e,"mouseover",new function(ev){
this.e=e;
var m=this;
return function(){
_20.showNoSub(m.e);
};
});
}
}
}
}
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Core/Include/js/KMenuManager.js
var KMenuManager=new function(){
var _1=null;
var _2=[];
this.activate=function(_3){
if(!_3){
return false;
}
if(_1==_3||!_1){
_1=_3;
return true;
}
if(_3.hideChildren){
this.deactivate();
}
_1=_3;
};
this.deactivate=function(_4){
if(!_4||!_4.hideChildren){
var _4=_1;
}
if(_4&&_4.hideChildren){
_4.hideChildren(0,document.getElementById(_4.id+"Ul"));
_4.clicked=false;
}else{
return false;
}
};
this.createMenu=function(id,_6,_7,_8,_9,_a){
return _2[_2.length]=new KMenu(id,_6,_7,_8,_9,_a);
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Core/Include/js/KShade.js
var KShade=new function(){
this.instance=0;
this.show=function(_1,_2){
var _3=document.getElementById(_2?"preloaderDiv2":"preloaderEDiv2");
if(_1&&_3){
_3.style.display="block";
totalW=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;
totalH=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;
_3.style.left=(totalW/2-250/2)+"px";
_3.style.top=(totalH/2-140/2)+"px";
}else{
if(_3){
_3.style.display="none";
}
}
var el=document.getElementById(_2?"preloaderDiv":"preloaderEDiv");
if(el){
el.style.display="block";
}
this.instance++;
return true;
};
this.hide=function(p,_6){
if(null==p){
p=window;
}
this.instance--;
if(this.instance>0){
return false;
}
var _7=p.document.getElementById("preloaderDiv");
if(_7){
_7.style.display="none";
}
_7=p.document.getElementById("preloaderEDiv");
if(_7){
_7.style.display="none";
}
return true;
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Core/Include/js/KPopup.js
var KPopup=new function(){
var _1=[];
this.show=function(_2,_3,_4){
KShade.show(false,true);
var _5=document.createElement("div");
_5.id="popupMessage";
_5.className="popupMessage";
_5.style.position="absolute";
_5.style.visibility="hidden";
var _6=document.createElement("div");
_6.id="popupMessageBox";
if(_2){
var _7=document.createElement("div");
_7.id="popupIconBox";
_7.className="popupIconBox popupIcon_"+_2;
_6.className="popupMessageBox";
_5.appendChild(_7);
}else{
_6.className="popupMessageFullBox";
}
_6.innerHTML="<div class=\"inner\"><p>"+_4+"</p></div>";
_5.appendChild(_6);
var _8=document.createElement("input");
_8.id="popupMessageBtn";
_8.className="buttonStandard";
_8.type="button";
_8.value=_3;
addEvent(_8,"click",this.hide,false);
_5.appendChild(_8);
window.document.body.appendChild(_5);
centerLayer("popupMessage");
_5.style.visibility="visible";
};
this.showOnLoad=function(_9,_a,_b){
var k=this;
addEvent(window,"load",function(){
k.show(_9,_a,_b);
},false);
};
this.hide=function(){
KShade.hide();
var _d=document.getElementById("popupMessage");
if(_d){
par=_d.parentNode;
if(par){
par.removeChild(_d);
}
}
};
};



// INCLUDED SOURCE FILE /var/www/volos2/apps/.app-2_20_30/src/Core/Include/js/KTooltip.js
var KTooltip=new function(){
this.showImg=function(el,_2,_3,w,h,_6){
return domTT_activate(el,_2,"content","<img src=\""+_3+"\" "+(w?"width=\""+w:"")+(h?" height=\""+h:"")+(_6?" class=\""+_6:"class=\"ttImage\"")+"\"/>","trail",false,"fade","both");
};
};




