function OpenDialog(Title,Introduction,Text)
{
    try
    {
        ver=navigator.appVersion.split(";");
        if(ver[1].match("5.")|ver[1].match("6."))
            rt=window.showModalDialog("../Include/Dialog.aspx?Title="+Title+"&Introduction="+Introduction+"&Text="+Text,null,"dialogWidth:430px;dialogHeight:280px;center:1;scroll:0;help:0;status:0");
        else
            rt=window.showModalDialog("../Include/Dialog.aspx?Title="+Title+"&Introduction="+Introduction+"&Text="+Text,null,"dialogWidth:430px;dialogHeight:300px;center:1;scroll:0;help:0");
    }
    catch(e)
    {
        alert(e.description);
        return -1;
    }
    return rt;
}
function OpenDialogPrintable(Title,Introduction,Text)
{
    try
    {
        ver=navigator.appVersion.split(";");
        if(ver[1].match("5.")|ver[1].match("6."))
            rt=window.showModalDialog("../Include/DialogPrintable.aspx?Title="+Title+"&Introduction="+Introduction+"&Text="+Text,null,"dialogWidth:430px;dialogHeight:280px;center:1;scroll:0;help:0;status:0");
        else
            rt=window.showModalDialog("../Include/DialogPrintable.aspx?Title="+Title+"&Introduction="+Introduction+"&Text="+Text,null,"dialogWidth:430px;dialogHeight:300px;center:1;scroll:0;help:0");
    }
    catch(e)
    {
        alert(e.description);
        return -1;
    }
    return rt;
}
function OpenConfirmDialog(Title,Introduction,Text)
{
    try
    {
        ver=navigator.appVersion.split(";");
        if(ver[1].match("5.")|ver[1].match("6."))
            rt=window.showModalDialog("../Include/Confirm.aspx?Title="+Title+"&Introduction="+Introduction+"&Text="+Text,null,"dialogWidth:430px;dialogHeight:280px;center:1;scroll:0;help:0;status:0");
        else
            rt=window.showModalDialog("../Include/Confirm.aspx?Title="+Title+"&Introduction="+Introduction+"&Text="+Text,null,"dialogWidth:430px;dialogHeight:300px;center:1;scroll:0;help:0");
    }
    catch(e)
    {
        alert(e.description);
        return -1;
    }
    return rt;
}
