// These functions require prototype, which should be enabled site-wide.
/*
 * Note: the $ is redefined as $j in this file 
 */
 
function clearTextBox(id, msg)
{
    var text_value = $(id).value;
    if (msg == text_value)
    {
        $(id).value = '';
    }
    return;
}

function resetTextBox(id, msg)
{
    if ($(id).value == '')
    {
        $(id).value = msg;
    }
    return;
}

function detailImagesPopup(url)
{
    window.open(url, '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=638,height=596');
}



