﻿/*Controls submit processing behavior*/
function onBeginRequest(sender,args){
    $get('fyc_ctrl_progress').style.display = 'block';
    $get('fyc_ctrl_submit_container').style.display = 'none';
}
/*Controls submit processing behavior*/
function onEndRequest(sender,args){
    $get('fyc_ctrl_progress').style.display = 'none';
    $get('fyc_ctrl_submit_container').style.display = 'block';
}
/* Controls tooltip behavior, needs mt_tips js api */
function mooToolsTip() {
var dTip = new Tips($$('.dTip'), {
initialize:function(){
this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);},
onShow: function(toolTip) {
this.fx.start(1);
},
onHide: function(toolTip) {
this.fx.start(0);
}
});
}

