var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function contactmap_DoFSCommand(popupMessage, args) {
	var contactmapObj = isInternetExplorer ? document.all.contactmap : document.contactmap;
        switch (args)
        {
        case "region01":
          var to = "contact@one-gospel.org";
		  var cc = ""
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region02":
          var to = "jdhunter@gte.net";
		  var cc = "gdanger@shaw.ca"
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region03":
          var to = "phil@christadelphianals.com";
		  var cc = ""
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region04":
          var to = "rjfifield@aol.com";
		  var cc = ""
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region05":
          var to = "trevor@radbourne.fsbusiness.co.uk";
		  var cc = ""
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region06":
          var to = "geoff@chalkion.fsnet.co.uk";
		  var cc = ""
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region07":
          var to = "sandqat@qatar.net.qa";
		  var cc = ""
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region08":
          var to = "jon@cdelph.com";
		  var cc = "jonomwallace@yahoo.com.au"
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region09":
          var to = "jonno@thechristadelphians.org";
		  var cc = "dcaudery@optusnet.com.au"
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        case "region10":
          var to = "dcaudery@optusnet.com.au";
		  var cc = ""
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        default:
          var to = "contact@one-gospel.org";
		  var cc = ""
          var subject = "Response from The Gospel of Your Salvation Website";
          break
        }
	
	var doc = "mailto:" + to + "?subject=" + escape(subject) + "&cc=" + cc; 
        window.location = doc;
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub contactmap_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call contactmap_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
//-->