function btn_Selector_Click()
{
	if (document.all["DivSectors"].style.display == 'block')
	{
		document.all["DivSectors"].style.display = 'none';
		document.all["SectorBtn"].src = '/Trojan_Horse/Images/Arrow_Down.gif';
	} else {
		document.all["DivSectors"].style.display = 'block';
		document.all["SectorBtn"].src = '/Trojan_Horse/Images/Arrow_Up.gif';
	}
}


function setSector( strSector )
{
	btn_Selector_Click();
	document.all["SectorTxt"].value = strSector;
	window.location = "/TH_Other_Sectors.htm";
}

// Script used to show a larger version of the TH Message Image
var newwindow = '';
function showLargeMessageImage( url )
{
	if (!newwindow.closed && newwindow.location) {
		newwindow.location.href = url;
	}
	else {
		newwindow=window.open(url,'ImageWindow','width=535,height=395,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,copyhistory=no,resizable=yes');
		if (!newwindow.opener) newwindow.opener = self;
	}
	if (window.focus) {newwindow.focus()}
	return false;
}

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="Sorry, right-click is disabled.\nThis Site is Copyright The SCI 2008";

///////////////////////////////////

function copyProtect(){
	if (document.layers){
		document.captureEvents(Event.MOUSEDOWN);
		document.onmousedown=clickNS4;
	}
	else if (document.all&&!document.getElementById){
		document.onmousedown=clickIE4;
	}

	document.oncontextmenu=new Function("alert(message);return false")
}

function clickIE4(){
	if (event.button==2){
		alert(message);
		return false;
	}
}

function clickNS4(e){
	if (document.layers||document.getElementById&&!document.all){
		if (e.which==2||e.which==3){
			alert(message);
			return false;
		}
	}
}
