function ManageVideoMenu(action,element) {
	if (action=="INIT") { current=eval('HRS'); return; };
	if (element==current) { return;}
	if (action=="MSE_OVR") { element.className="hm_hover"; return;}
	if (action=="MSE_OUT") { element.className="hm_item"; return; }
	if (action=="CLICK") {
		id=element.id;
		if (id=="ABS") { so.addVariable('file', 'ons abseiling.flv'); }
		if (id=="CAN") { so.addVariable('file', 'ons canoeing.flv'); }
		if (id=="CAV") { so.addVariable('file', 'ons caving.flv'); }
		if (id=="CFA") { so.addVariable('file', 'ons cfa training.flv'); }
		if (id=="GRA") { so.addVariable('file', 'ons graduation.flv'); }
		if (id=="HRS") { so.addVariable('file', 'ons horseriding.flv'); }
		if (id=="RSP") { so.addVariable('file', 'ons respect.flv'); }
		if (id=="SAI") { so.addVariable('file', 'ons sailing.flv'); }
		if (id=="SUR") { so.addVariable('file', 'ons surfing.flv'); }
		if (id=="TFE") { so.addVariable('file', 'ons tafe tasters.flv'); }
		if (id=="SOL") { so.addVariable('file', 'ons the solo.flv'); }
		element.className="inert";
		current.className="hm_item";
		current=element;
		so.write('flashcontent')
/*
ons abseiling.flv Abseiling
ons canoeing.flv Canoeing
ons caving.flv Caving
ons cfa training.flv Cfa training
ons graduation.flv Graduation
ons horseriding.flv Horseriding
ons respect.flv Respect
ons sailing.flv Sailing
ons surfing.flv Surfing
ons tafe tasters.flv Tafe Tasters
ons the solo.flv The Solo
*/
	}

//	alert("ManageVideoMenu Action="+action+" ID="+id);
//	alert("Current="+current);
//	alert("Element="+element);
//	alert("Action="+action);
//	alert("Status="+status+" Current="+current);
//   element.className="hm_item"; return;
//	if (element.className != "inert")	element.className=hm_hover;
//	alert("Status="+status);
}


function selectText(element,name) {
	if (element.className != "inert") {

		tempColl=document.all.tags("TD");
		for (i=0; i < tempColl.length; i++) {
			if (tempColl(i).className == "inert") {
				tempColl(i).className="hm_item";
			}
		}
    	expandText(name);
		element.className="inert";
	}
}

function init() {
	current="";
	tempColl=document.all.tags("DIV");
	for (i=0; i < tempColl.length; i++) {
		if (tempColl(i).className == "expandable") {
			tempColl(i).style.display="none";
		}
	}
    expandText("AboutUs");
}

function expandText(name) {

	target=eval(name);
	if (current && current != target) {
		current.style.display="none";
		current.isExpanded=false;
	}
	if (target.style.display != "block") {
		target.style.display="block";
		target.isExpanded=true;
		current=target;
	}
	else {
		target.style.display="none";
		target.isExpanded=false;
		current="";
	}
}

function imageset(element) {
	if (element) {
		if (document.images) {
			document.MainImg.src=element.src;
		}
	}
}

function bigWindow(newpage) {
window.open(newpage, 'bigWindow','width=785,height=500,toolbar=no,left=100,top=100, ,menubar=no,scrollbars=yes');
}