// David Aug 4th 2008
// using links to submit form...




function getaction ( selectedtype )
{
  document.actionform.actiontype.value = selectedtype ;
  document.actionform.submit() ;
}

function selectAll(x) 
{
	for(var i=0,l=x.form.length; i<l; i++)
	if(x.form[i].type == 'checkbox' && x.form[i].name != 'sAll')
	x.form[i].checked=x.form[i].checked?false:true
}

function doClear(theText) {
    if (theText.value == theText.defaultValue)
{
        theText.value = ""
    }
}

 function doFill(theText) {
    if (theText.value == "")
{
        theText.value = "Search JISC CETIS"
    }
}
