﻿//Pass Panel Actions
var flashMap;


function passClick(caller) {	    
    var passId = caller.id.substr(1,2);
    if (passId > 0) {
        window.location = "http://localhost/swf/?passID=" + passId;
    }
}

function passOver(caller) {    
    if(navigator.appName.indexOf("Microsoft") != -1) {
        flashMap = document.getElementById('mymovie');
    }else {
        flashMap = window.document.mymovie;
    }
    flashMap.setCurrentPass(caller.id);
}

function regionClick(caller) {
    var regionId = caller.id.substr(1,2);
    if (regionId >= 0)
        window.location = "http://localhost/swf/?regionID=" + regionId;
}