// Java Document

//Clear Search Textbox
function srch_clr() {
document.getElementById("search_txt").value = ""
}

function ResetF(){
	document.CntFrm.More_Info.value = ""
	document.CntFrm.email.value = ""
	document.CntFrm.phone.value = "" 
	document.CntFrm.zip.value = ""
	document.CntFrm.state.value  = ""
	document.CntFrm.city.value  = ""
	document.CntFrm.Address.value  = ""
	document.CntFrm.company.value  = ""
	document.CntFrm.title.value  = ""	
	document.CntFrm.Last_Name.value  = ""
	document.CntFrm.First_Name.value  = ""
	document.CntFrm.Contact_Me.checked = false
	document.CntFrm.Other_Info.checked = false
	}
	
	function ResetSrch(){
	document.SearchOS.keywords.value = ""
	document.SearchOS.State.value = "CA"
	document.SearchOS.KeyUse[0].checked = true
	document.SearchOS.issuer.value = "" 
	document.SearchOS.order.value = "Date"
	document.SearchOS.meth.value  = "[d]"
	document.SearchOS.within.value  = "All"
	}

//Open/Close CASTOFF Info
function CastToggleEC(cname) {
if (document.getElementById(cname).style.display == 'none'){
document.getElementById(cname).style.display = 'block';}
else{document.getElementById(cname).style.display = 'none';}
}

//Open/Close Summary Sheet
function toggleEC(cname, pid, minid) {
if (document.getElementById(cname).style.display == 'none'){
document.getElementById(cname).style.display = 'block';}
else{document.getElementById(cname).style.display = 'none';}
}

//Move to next page on Main Page
function MainNextpg(pgnum){
location.href = "default.asp?page="+pgnum
}
//Move to next page on OS Library Page
function OSNextpg(pgnum){
location.href = "Finals.asp?page="+pgnum
}
//Move to next page on GIC Page
function GICNextpg(pgnum){
location.href = "InvGICs.asp?page="+pgnum
}
//Move to next page on GIC Results Page
function GRNextpg(pgnum){

location.href = "Archives.asp?page="+pgnum
}