﻿function GetConfirm(obj , e, message)
{
    if(window.confirm(message))
    {
        return true;
    }
    return false;
}


function show(elementid)
{
document.getElementById(elementid).style.display = '';
}

function hide(elementid)
{
document.getElementById(elementid).style.display = 'none';
}


function ismaxlength(obj){
var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""
if (obj.getAttribute && obj.value.length>mlength)
obj.value=obj.value.substring(0,mlength)
}