// Google Internal Site Search script II- By JavaScriptKit.com (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// This notice must stay intact for use

function Gsitesearch(curobj){
var domainroot="http://www.clta.edu.au/"
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}



function clearInput( theinput ) {
	theinput.value = '';
}

function defaultInput( theinput ) {
	if(theinput.value == ''){
		theinput.value = theinput.defaultValue;
	}
}

// -------------
function changeCurrentStyle(currentTag){
var currentSubIndex = "<li id=\"current2\">Consititution/Executive</li>";
var currentSubIndex1 ="<li id=\"current2\">Professional Development</li>";
	if (currentTag=='1'){
	document.getElementsByTagName('li')[5].setAttribute('id','current2');
	document.getElementsByTagName('li')[5].innerHTML ="Consititution/Executive";
	//alert(document.getElementsByTagName('li')[5].innerHTML);
	
		}
	}
	
	
function resetStyle(){
	document.getElementsByTagName('li')[5].setAttribute('id','');
	document.getElementsByTagName('li')[5].innerHTML ="<a href=\"#\" onclick=\"changeCurrentStyle(\'1\')\">Consititution/Executive</a>";
	
	//alert(document.getElementsByTagName('li')[5].innerHTML);
	}