function $(fctId){
return document.getElementById(fctId);
}

function c$(fctId,fctClassName){
var varTempDivObj=$(fctId);
if(!varTempDivObj){
GetPyzyIframe("ifm"+fctId);
varTempDivObj=document.createElement("div");
varTempDivObj.id=fctId;
if(fctClassName && fctClassName!="")varTempDivObj.className=fctClassName;
document.body.appendChild(varTempDivObj);
}
return varTempDivObj;
}

function GetPyzyIframe(fctIfmId,fctVisibility,fctTop,fctLeft,fctWidth,fctHeight){
var varTempIfmObj=$(fctIfmId);

}

function getPosition(obj){
var top=0;
var left=0;
var width=obj.offsetWidth;
var height=obj.offsetHeight;
while(obj.offsetParent){
top+=obj.offsetTop;
left+=obj.offsetLeft;
obj=obj.offsetParent;
}
return{"top":top,"left":left,"width":width,"height":height};
}

function GetValueToInputObj(fctThisObj){
if(!fctThisObj)return null;
var varThisObjAutoInput=(fctThisObj.getAttributeNode("value_to_input")?fctThisObj.getAttributeNode("value_to_input").value:"");
if(varThisObjAutoInput=="")return null;
return $(varThisObjAutoInput);
}
function AutoNextInputAct(fctThisObj,fctAct){
var varNextInput=fctThisObj.getAttributeNode("nextinput");
if(varNextInput && varNextInput!=""){
if(document.all){
eval("$('"+varNextInput.value+"')."+fctAct+"()");
}else{
var evt = document.createEvent("MouseEvents");
evt.initEvent(fctAct,true,true);
$(varNextInput.value).dispatchEvent(evt);
}
$(varNextInput.value).focus();
}
}
function AddFunToObj(fctObj,fctAct,fctFunction){
if(fctObj.addEventListener){ 
fctObj.addEventListener(fctAct.replace("on",""),function(e){
e.cancelBubble=!eval(fctFunction);
},false);
}else if(fctObj.attachEvent){ 
fctObj.attachEvent(fctAct,function(){
return eval(fctFunction);
});
}
}

var file_url = new Array();
var file_url1 = new Array();