


function myJ(obj)
{
    jQuery(document).ready(function(){
    jQuery(obj).hover(
    function(){	jQuery(obj + " p").slideDown("fast");},
    function(){jQuery(obj + " p").slideUp("fast");});
    });
}


var myOverlay;

function OpenOverlay(objName)
{
    document.getElementById(objName).style.visibility = 'visible';
    
    
    
    myOverlay.show();
}

function SetOverlay(objName)
{
    if (document.getElementById(objName))
    
    myOverlay = new glow.widgets.Overlay("#"+objName, {
      mask: new glow.widgets.Mask({color:"#343942"}),
      modal: true,
      anim: "fade"
    });
    
    
    
}



function OpenCalendar(sValue)
{
    var sDialog = "dialogWidth:205px;dialogHeight:330px;scroll:no;status:no;";
    var sRet = showModalDialog("../Pages/wfCalendar.aspx", sValue, sDialog);
    return sRet;
}

function OpenWindow(sPath)
{
    window.open(sPath,'', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=700,height=400,left = 280,top = 150');
    return false;
}
