        function Map_DoFSCommand(command, args) { 
            // Handles javascript commands issued by a Flash movie. 
            // This function must be named Movie_DoFSCommand, 
            // where "Movie" is both the ID attribute of the Object tag 
            // and the Name attribute of the Embed tag. 
            // For IE, requires a VBScript sub to pass the command. 
            // refer to http://www.moock.org/webdesign/flash/fscommand/  
          if (command == "showProvince") { 
            showHighlight('province.' + args);
  	        showProvince(args);
            }
         if (command == "hideProvince") {
            hideHighlight('province.' + args);
            hideProvince(args);
            hideAllProvinces();
            }
        }
                
        function showHighlight( targetId ){
          if (document.getElementById){
  		        target = document.getElementById( targetId );
			    target.className = "Hover";
  	        }
        }

        function hideHighlight( targetId ){
          if (document.getElementById){
  		        target = document.getElementById( targetId );
			    target.className = "";
  	        }
        }

          function movie () {
            // Safest way to reference a Flash object:
            // http://www.permadi.com/tutorial/flashGetObject/ 
                return document["Map"] 
            }   

        function out( targetMovieClip ){
            movie().TGotoFrame(targetMovieClip,0); // out
        }

        function over( targetMovieClip ){
            movie().TGotoFrame(targetMovieClip,1); // over
        }

        function down( targetMovieClip ){
            movie().TGotoFrame(targetMovieClip,2); // down
        }
  
  
		function showProvince(provinceID) {
			document.all["ProvinceInfo" + provinceID].style.display = "block"
		}
		
		function hideProvince(provinceID) {
			document.all["ProvinceInfo" + provinceID].style.display = "none"
		}
		
		
		function hideAllProvinces() {
			for (var provinceID=1001; provinceID<=provinceCount; provinceID+=1){
					document.all["ProvinceInfo" + provinceID].style.display = "none"
			}
		}
		
