\n');
}
//simple over-out functions using image name as source for change
function rollOver(imgName){
if (document.images){
document[imgName].src = eval(imgName + '_02.src');
}
}
function rollOut(imgName){
if (document.images){
document[imgName].src = eval(imgName + '_01.src');
}
}
function mClick(imgName){
if (document.images){
document[imgName].src = eval(imgName + '_03.src');
}
}
function doZoom(args){
// Zoom( percent ); Zoom(50) doubles the size of the objects in the view. Zoom(200) reduces the size of objects in the view by one half. Zoom(0) resets the view to 100%
window.document.polarMap.Zoom(args);
}
function doQuads(){
if (document.LAYERS.QUADACCESS.checked == true){
window.document.polarMap.TCallLabel("/scriptsL0", "quadsOn");
} else {
window.document.polarMap.TCallLabel("/scriptsL0", "quadsOff");
}
}
function doBath(){
if (document.LAYERS.BATHYMETRY.checked == true){
// TCallLabel( target, label )
// executes the action in the Flash Movie Clip frame label specified by label. The argument type for both arguments is string.
// movie.TCallLabel("/", "HandleScriptNotify");
window.document.polarMap.TCallLabel("/scriptsL0", "bathOn");
} else {
window.document.polarMap.TCallLabel("/scriptsL0", "bathOff");
}
}
function doGrid(){
if (document.LAYERS.GRID.checked == true){
window.document.polarMap.TCallLabel("/scriptsL0", "gridOn");
} else {
window.document.polarMap.TCallLabel("/scriptsL0", "gridOff");
}
}
function doText(){
if (document.LAYERS.MAPTEXT.checked == true){
window.document.polarMap.TCallLabel("/scriptsL0", "textOn");
} else {
window.document.polarMap.TCallLabel("/scriptsL0", "textOff");
}
}
function doRect(){
window.document.polarMap.TCallLabel("/scriptsL0", "rectOn");
}
function doRectOff(){
window.document.polarMap.TCallLabel("/scriptsL0", "rectOff");
}
function doCores(core){ //turns the correct core layers on or off
var on = core + "on";
var off = core + "off";
if (document.LAYERS.elements[core].checked == true){
window.document.polarMap.TCallLabel("/scriptsL0", on);
} else {
window.document.polarMap.TCallLabel("/scriptsL0", off);
}
}
function doMag(size){ // called by magnification select tool, this function call action script in frame label "callFrame"
magSize = size;
var callFrame = "mag" + magSize;
window.document.polarMap.TCallLabel("/scriptsL0", callFrame);
}
function doPolarMap(){
window.document.polarMap.TCallLabel("/scriptsL0", "goToPolarMap");
}
function doAllLayers(){
if (document.LAYERS.ALL_ON.checked == true){
for (i=5; i<42; i++){
document.LAYERS.elements[i].checked = true;
}
window.document.polarMap.TCallLabel("/scriptsL0", "allLayersOn");
//open clock window
loadWindow = window.open("loadingPrompt.html","loading","height=150,width=120,toolbar=false,status=false,menubar=false,scrollbars=false,resizable=false,copyhistory=false");
} else {
for (i=5; i<42; i++){
document.LAYERS.elements[i].checked = false;
}
if(loadWindow){loadWindow.close()};
window.document.polarMap.TCallLabel("/scriptsL0", "allLayersOff");
}
}
Core Search (Graphical) For Help, Information, or Platform Usability click the icon. If the graphic is not visible or is non-functional., please upgrade your Flash Player |
||||||