function checkSearchCTAS() {var doc = window.document.forms["utk_seek"];var found;found="False";	with (window.document.forms["utk_seek"]) {		if (doc.qtype.selectedIndex != 0) {			if (doc.qtype.options[doc.qtype.selectedIndex].value == "ctas") {					//window.location.href = "http://ctas-notes.ips.utk.edu/public/web/CTASsearch2007.nsf/SearchResults?SearchDomain&Query=(%5BDbCategories%5D%20CONTAINS%20(%22ctaswebsite%22))%20AND%20" + doc.qt.value + "%20and%20(AOWEB)&SearchOrder=1&SearchWV=TRUE&SearchThesaurus=FALSE&SearchFuzzy=TRUE&Start=1&Count=20&SearchEntry=ResultEntry&Scope=1";                         window.location.href = "http://ctas-notes.ips.utk.edu/public/web/ctassearch.nsf/SearchResults?SearchDomain&Query=(%5BDbCategories%5D%20CONTAINS%20(%22Ctaswebsite%22))%20AND%20" + doc.qt.value + "%20and%20(AOWEB)&SearchOrder=1&SearchWV=TRUE&SearchThesaurus=FALSE&SearchFuzzy=TRUE&Start=1&Count=100&SearchEntry=ResultEntry&Scope=1";								found="True";			}			if (doc.qtype.options[doc.qtype.selectedIndex].value == "Campus") {					window.location.href = "http://search.tennessee.edu/query.html?col=utk+utia+utips&qt=" + doc.qt.value;					found="True";			}			if (doc.qtype.options[doc.qtype.selectedIndex].value == "ldap") {					window.location.href = "http://directory.utk.edu/search.jsp?query=" + doc.qt.value;					found="True";			}			if (doc.qtype.options[doc.qtype.selectedIndex].value == "system") {					window.location.href = "http://search.tennessee.edu/query.html?col=utk+utmem+utm+utc+utsi+utsa+utia+utips&qt=" + doc.qt.value;					found="True";			}		}	}	if (found== "False") {		//just do a system search for everything with the query		//window.location.href = "http://ctas-notes.ips.utk.edu/public/web/CTASsearch2007.nsf/SearchResults?SearchDomain&Query=(%5BDbCategories%5D%20CONTAINS%20(%22ctaswebsite%22))%20AND%20" + doc.qt.value + "%20and%20(AOWEB)&SearchOrder=1&SearchWV=TRUE&SearchThesaurus=FALSE&SearchFuzzy=TRUE&Start=1&Count=20&SearchEntry=ResultEntry&Scope=1";		window.location.href = "http://ctas-notes.ips.utk.edu/public/web/ctassearch.nsf/SearchResults?SearchDomain&Query=(%5BDbCategories%5D%20CONTAINS%20(%22Ctaswebsite%22))%20AND%20" + doc.qt.value + "%20and%20(AOWEB)&SearchOrder=1&SearchWV=TRUE&SearchThesaurus=FALSE&SearchFuzzy=TRUE&Start=1&Count=100&SearchEntry=ResultEntry&Scope=1";									}}