﻿function clearText(control)                                             // Clears the text from a control
{
	document.getElementById(control).innerText = '';
}
function ModelDeleteWarning()
{
    return((confirm('Click OK to Delete the Model or \nCancel to abort the deletion.')) == false);
}
function OptionDeleteWarning()
{
    return((confirm('Click OK to Delete the Option or \nCancel to abort the deletion.')) == false);
}
function PhotoDeleteWarning()
{
    return((confirm('Click OK to Delete the Photo or \nCancel to abort the deletion.')) == false);
}
function SubClassDeleteWarning()
{
    return((confirm('Click OK to Delete the Sub-Class or \nCancel to abort the deletion.')) == false);
}
function ToUpper(control)
{
    var ctl = document.getElementById(control);
    ctl.value = ctl.value.toUpperCase();
}
