//Map Area Images
var maparea = new Array();
maparea["Saskatchewan"] = "area_saskatchewan.png:60:102:130:-120:Saskatchewan";
maparea["Alberta"] = "area_alberta.png:64:104:117:-157:Alberta";
maparea["BritishColumbia"] = "area_britishcolumbia.png:64:135:80:-199:British Columbia";
maparea["YukonTerritory"] = "area_yukon.png:64:96:14:-201:Yukon Territory";
maparea["NorthwestTerritories"] = "area_northwestterritories.png:105:136:1:-155:Northwest Territories";
maparea["Nunavut"] = "area_nunavut.gif:198:130:9:-103:Nunavut";
maparea["Manitoba"] = "area_manitoba.png:70:98:137:-72:Manitoba";
maparea["Ontario"] = "area_ontario.png:126:126:169:-37:Ontario";
maparea["Quebec"] = "area_quebec.png:124:148:113:39:Quebec";
maparea["NewBrunswick"] = "area_newbrunswick.png:28:43:211:108:New Brunswick";
maparea["Newfoundland"] = "area_newfoundland.png:102:95:120:98:Newfoundland";
maparea["NovaScotia"] = "area_novascotia.png:53:40:221:116:Nova Scotia";
maparea["PEI"] = "area_pei.png:14:7:227:141:PEI";

//Roll-overs statements
function mapareaover(area){
	var img = dhtml.getById('mapareaelement');
	var prop = maparea[area].split(":");
	img.width = prop[1];
	img.height = prop[2];
	img.style.top = prop[3];
	img.style.left = prop[4];
	if (dhtml.Opera) 
		img.style.top = img.style.top.replace("px","") - 1;
	if (dhtml.IE){
		//Explorer
		img.runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/' + prop[0] + '", sizingMethod="crop")'
	} else {
		//other PNG compatibility browsers
		img.style.backgroundImage = "url(images/" + prop[0] + ")";
	}
	img.style.display = "";
	//window.status = 'Click for search in '+prop[5];
	return false;
}

function mapareaout(){
	var img = dhtml.getById('mapareaelement');
	img.style.display = "none";
	//window.status = '';
	return false;
}
function EnterKeywords(kword) {
	document.forms['QuickSearch'].elements['Keywords'].value=kword;
	document.forms['QuickSearch'].submit();
}