// javascript includes
    
function submit_form(formname, formaction, misc1, misc2, misc3)
{
if (formaction)
{
document[formname].elements.ACTION.value=formaction;
}
if (misc1)
{
document[formname].elements.MISC1.value=misc1;
}
if (misc2)
{
document[formname].elements.MISC2.value=misc2;
}
if (misc3)
{
document[formname].elements.MISC3.value=misc3;
}
document[formname].submit();
}
    
function update_form(theformname)
{
document.forms.main.elements.GROUP.value=theformname;
document.main.submit();
}
    
function send_form(theformname)
{
document.forms.main.action=theformname;
document.main.submit();
}

function mOvr(src,clrOver)
{
if (!src.contains(event.fromElement))
{
src.style.cursor = 'hand'; src.bgColor = clrOver;
}
}

function mOut(src,clrIn)
{
if (!src.contains(event.toElement))
{
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}

function mClk(src)
{
if(event.srcElement.tagName=='TD')
{
src.children.tags('A')[0].click();
}
}

function MouseHandle(img, fm, msg)
{
if(document.images)
{
document.images[fm].src=img;
}
window.status = msg
return true;
}

function go1()
{
if (document.lookup1.product.options[document.lookup1.product.selectedIndex].value != "")
{
parent.location = document.lookup1.product.options[document.lookup1.product.selectedIndex].value
}
}

function go2()
{
if (document.lookup2.product.options[document.lookup2.product.selectedIndex].value != "")
{
parent.location = document.lookup2.product.options[document.lookup2.product.selectedIndex].value
}
}

function go3()
{
if (document.lookup3.product.options[document.lookup3.product.selectedIndex].value != "")
{
parent.location = document.lookup3.product.options[document.lookup3.product.selectedIndex].value
}
}

function openpage(page,w,h)
{
var options = 'width='+w+',height='+h;
colleges = window.open(page,"colleges",options);
colleges.window.focus();
}

