//scroller width
var swidth=100

//scroller height
var sheight=101


//scroller's speed;
var sspeed=1 

function start(unc){
if (document.all) return
loadMenus(unc)
if (document.getElementById){
document.getElementById("slider").style.visibility="show"
ns6marquee(document.getElementById('slider'))
}
else if(document.layers){
document.slider1.visibility="show"
ns4marquee(document.slider1.document.slider2)
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
ns4layer.document.write(scrollmessage)
ns4layer.document.close()
sizeup=ns4layer.document.height
ns4layer.top-=sizeup
ns4slide()
}
function ns4slide(){
if (ns4layer.top>=sizeup*(-1)){
ns4layer.top-=sspeed
setTimeout("ns4slide()",50)
}
else{
ns4layer.top=sheight-50
ns4slide()
}
}

function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
ns6div.innerHTML=scrollmessage
ns6div.style.top=sheight
sizeup=sheight
ns6slide()

}
function ns6slide(){
if (parseInt(ns6div.style.top)>=sizeup*(-1)){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6slide()",100)
}
else{
ns6div.style.top=sheight
ns6slide()
}
}

function openPopUp(FILENAME){var press = window.open(FILENAME, "popupwin", "width=700,height=470,scrollbars=yes,toolbar=no,menubar=no")}


function printIt(){  
if (window.print) {
    window.print() ;  
} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    WebBrowser1.outerHTML = "";  
}
}

function mailPage()
{
  mail_str = "mailto:?subject= " +document.title;
  mail_str += "&body= Article : "+document.title;
  mail_str += ". URL : " + location.href; 
  location.href = mail_str;
}

function sendFeedback()
{
  mail_str = "mailto:webmaster@mtginc.com&subject= " +document.title;
  location.href = mail_str;
}

topImgs=new Array("images/revimage1.gif",									   
"images/revimage2.gif",									   
"images/revimage3.gif",									   
"images/revimage4.gif",									   
"images/revimage5.gif")									   
thisImage=0									   
imgCt= topImgs.length									   

function rotateImgs(){									   
	if (document.images){									   
		randomNum=Math.floor((Math.random()*imgCt))									   
		thisImage=randomNum									   
		if (thisImage==imgCt){									   
		thisImage=0									   
		}									   

		document.blueImgs.src= topImgs[thisImage]									   
		setTimeout("rotateImgs()", 12 * 1000)									   
		}									   
}									   

var randomNum
randomNum=Math.floor(Math.random()*8) + 1;
function GetRandomImage(imageNameBase, imgType, w) {
	var imgTag
	imgTag = "<img src=\"images/" + imageNameBase + randomNum +"." + imgType + "\" width=\""+ w +"\" border=\"0\" />";
	document.write(imgTag);
}

function MM_swapImage() { //v3.0
   var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

/*
  Menu 0.8 990602
  by gary smith, July 1997
  Copyright (c) 1997-1999 Netscape Communications Corp.
  Netscape grants you a royalty free license to use or modify this
  software provided that this copyright notice appears on all copies.
  This software is provided "AS IS," without a warranty of any kind.
*/

function Menu(label) {
    this.version = "0.8 [menu.js; Menu; 990602]";
    this.type = "Menu";
    this.fontSize = 12;
    this.fontWeight = "plain";
    this.fontFamily = "arial,helvetica,espy,sans-serif";
    this.fontColor = "#666699";
    this.fontColorHilite = "#000000";
    this.bgColor = "#cccccc";
    this.menuBorder = 1;
    this.menuItemBorder = 1;
    this.menuItemBgColor = "#ffffff";
    this.menuLiteBgColor = "#ffffff";
    this.menuBorderBgColor = "#777777";
    this.menuHiliteBgColor = "#73A373";
    this.menuContainerBgColor = "#cccccc";
    this.childMenuIcon = "images/arrows.gif";
    this.childMenuIconHilite = "images/arrows2.gif";
    this.items = new Array();
    this.actions = new Array();
    this.colors = new Array();
    this.mouseovers = new Array();
    this.mouseouts = new Array();
    this.childMenus = new Array();

    this.addMenuItem = addMenuItem;
    this.addMenuSeparator = addMenuSeparator;
    this.writeMenus = writeMenus;
    this.showMenu = showMenu;
    this.onMenuItemOver = onMenuItemOver;
    this.onMenuItemOut = onMenuItemOut;
    this.onMenuItemDown = onMenuItemDown;
    this.onMenuItemAction = onMenuItemAction;
    this.hideMenu = hideMenu;
    this.hideChildMenu = hideChildMenu;
    this.mouseTracker = mouseTracker;
    this.setMouseTracker = setMouseTracker;

    if (!window.menus) window.menus = new Array();
    this.label = label || "menuLabel" + window.menus.length;
    window.menus[this.label] = this;
    window.menus[window.menus.length] = this;
    if (!window.activeMenus) window.activeMenus = new Array();
    if (!window.menuContainers) window.menuContainers = new Array();
    if (!window.mDrag) {
        window.mDrag    = new Object();
        mDrag.startMenuDrag = startMenuDrag;
        mDrag.doMenuDrag    = doMenuDrag;
        this.setMouseTracker();
    }
    if (window.MenuAPI) MenuAPI(this);
}

function addMenuItem(label, action, color, mouseover, mouseout) {
    this.items[this.items.length] = label;
    this.actions[this.actions.length] = action;
    this.colors[this.colors.length] = color;
    this.mouseovers[this.mouseovers.length] = mouseover;
    this.mouseouts[this.mouseouts.length] = mouseout;
}

function addMenuSeparator() {
    this.items[this.items.length] = "separator";
    this.actions[this.actions.length] = "";
    this.menuItemBorder = 0;
}

function writeMenus(container) {
    if (!container && document.layers) {
        if (eval("document.width")) 
            container = new Layer(1000);
    } else if (!container && document.all) {
        if (!document.all["menuContainer"]) 
            document.writeln('<SPAN ID="menuContainer"></SPAN>');
        container = document.all["menuContainer"];
    }
    if (!container && !window.delayWriteMenus) {
        window.delayWriteMenus = this.writeMenus;
        window.menuContainerBgColor = this.menuContainerBgColor;
        setTimeout('delayWriteMenus()', 1000);
        return;
    }
    container.isContainer = "menuContainer" + menuContainers.length;
    menuContainers[menuContainers.length] = container;
    container.menus = new Array();
    for (var i=0; i<window.menus.length; i++) 
        container.menus[i] = window.menus[i];
    window.menus.length = 0;
    var countMenus = 0;
    var countItems = 0;
    var top = 0;
    var content = '';
    var proto;
    for (var i=0; i<container.menus.length; i++, countMenus++) {
        var menu = container.menus[i];
        proto = menu.prototypeStyles || this.prototypeStyles || menu;
        content += ''+
        '<DIV ID="menuLayer'+ countMenus +'" STYLE="position:absolute;left:10;top:'+ (i * 100) +';visibility:hidden;">\n'+
        '  <DIV ID="menuLite'+ countMenus +'" STYLE="position:absolute;left:'+ proto.menuBorder +';top:'+ proto.menuBorder +';visibility:hide;" onMouseOut="hideMenu(this);">\n'+
        '    <DIV ID="menuFg'+ countMenus +'" STYLE="position:absolute;left:1;top:1;visibility:hide;">\n'+
        '';
        var x=i;
        for (var i=0; i<menu.items.length; i++) {
            var item = menu.items[i];
            var childMenu = false;
            var defaultHeight = 20;
            var defaultIndent = 5;
            if (item.label) {
                item = item.label;
                childMenu = true;
            } else if (item.indexOf(".gif") != -1 && item.indexOf("<IMG") == -1) {
                item = '<IMG SRC="' + item + '" NAME="menuItem'+ countItems +'Img">';
                defaultIndent = 0;
                if (document.layers) {
                    defaultHeight = null;
                }
            }
            proto.menuItemHeight = proto.menuItemHeight || defaultHeight;
            proto.menuItemIndent = proto.menuItemIndent || defaultIndent;
            var itemProps = 'visibility:hide;font-Family:' + proto.fontFamily +';font-Weight:' + proto.fontWeight + ';fontSize:' + proto.fontSize + ';';
            if (document.all) 
                itemProps += 'font-size:' + proto.fontSize + ';" onMouseOver="onMenuItemOver(null,this);" onMouseOut="onMenuItemOut(null,this);" onClick="onMenuItemAction(null,this);';
            var dTag    = '<DIV ID="menuItem'+ countItems +'" STYLE="position:absolute;left:0;top:'+ (i * proto.menuItemHeight) +';'+ itemProps +'">';
            var dText   = '<DIV ID="menuItemText'+ countItems +'" STYLE="position:absolute;left:' + proto.menuItemIndent + ';top:0;color:'+ proto.fontColor +';">'+ item +'</DIV>\n<DIV ID="menuItemHilite'+ countItems +'" STYLE="position:absolute;left:' + proto.menuItemIndent + ';top:0;color:'+ proto.fontColorHilite +';visibility:hidden;">'+ item +'</DIV>';
            if (item == "separator") {
                content += ( dTag + '<DIV ID="menuSeparator'+ countItems +'" STYLE="position:absolute;left:1;top:2;"></DIV>\n<DIV ID="menuSeparatorLite'+ countItems +'" STYLE="position:absolute;left:1;top:2;"></DIV>\n</DIV>');
            } else if (childMenu) {
                content += ( dTag + dText + '<DIV ID="childMenu'+ countItems +'" STYLE="position:absolute;left:0;top:3;'+ itemProps +'"><IMG SRC="'+ proto.childMenuIcon +'"></DIV>\n</DIV>');
            } else {
                content += ( dTag + dText + '</DIV>');
            }
            countItems++;
        }
        content += '      <DIV ID="focusItem'+ countMenus +'" STYLE="position:absolute;left:0;top:0;visibility:hide;" onClick="onMenuItemAction(null,this);">&nbsp;</DIV>\n';
        content += '   </DIV>\n  </DIV>\n</DIV>\n';
        i=x;
    }
    if (!container) return;
    if (container.innerHTML) {
        container.innerHTML=content;
    } else {
        container.document.open("text/html");
        container.document.writeln(content);
        container.document.close();
    }
    proto = null;
    if (container.document.layers) {
        container.clip.width = window.innerWidth;
        container.clip.height = window.innerHeight;
        container.onmouseout = this.hideMenu;
        container.menuContainerBgColor = this.menuContainerBgColor;
        for (var i=0; i<container.document.layers.length; i++) {
            proto = container.menus[i].prototypeStyles || this.prototypeStyles || container.menus[i];
            var menu = container.document.layers[i];
            container.menus[i].menuLayer = menu;
            container.menus[i].menuLayer.Menu = container.menus[i];
            container.menus[i].menuLayer.Menu.container = container;
            var body = menu.document.layers[0].document.layers[0];
            body.clip.width = proto.menuWidth || body.clip.width;
            body.clip.height = proto.menuHeight || body.clip.height;
            for (var n=0; n<body.document.layers.length-1; n++) {
                var l = body.document.layers[n];
                l.Menu = container.menus[i];
                l.menuHiliteBgColor = proto.menuHiliteBgColor;
                l.document.bgColor = proto.menuItemBgColor;
                l.saveColor = proto.menuItemBgColor;
                l.mouseout  = l.Menu.mouseouts[n];
                l.mouseover = l.Menu.mouseovers[n];
                l.onmouseover = proto.onMenuItemOver;
                l.onclick = proto.onMenuItemAction;
                l.action = container.menus[i].actions[n];
                l.focusItem = body.document.layers[body.document.layers.length-1];
                l.clip.width = proto.menuItemWidth || body.clip.width + proto.menuItemIndent;
                l.clip.height = proto.menuItemHeight || l.clip.height;
                if (n>0) l.top = body.document.layers[n-1].top + body.document.layers[n-1].clip.height + proto.menuItemBorder;
                l.hilite = l.document.layers[1];
                l.document.layers[1].isHilite = true;
                if (l.document.layers[0].id.indexOf("menuSeparator") != -1) {
                    l.hilite = null;
                    l.clip.height -= l.clip.height / 2;
                    l.document.layers[0].document.bgColor = proto.bgColor;
                    l.document.layers[0].clip.width = l.clip.width -2;
                    l.document.layers[0].clip.height = 1;
                    l.document.layers[1].document.bgColor = proto.menuLiteBgColor;
                    l.document.layers[1].clip.width = l.clip.width -2;
                    l.document.layers[1].clip.height = 1;
                    l.document.layers[1].top = l.document.layers[0].top + 1;
                } else if (l.document.layers.length > 2) {
                    l.childMenu = container.menus[i].items[n].menuLayer;
                    l.icon = proto.childMenuIcon;
                    l.iconHilite = proto.childMenuIconHilite;
                    l.document.layers[2].left = l.clip.width -13;
                    l.document.layers[2].top = (l.clip.height / 2) -4;
                    l.document.layers[2].clip.left += 3;
                    l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
                }
            }
            body.document.bgColor = proto.bgColor;
            body.clip.width  = l.clip.width +1;
            body.clip.height = l.top + l.clip.height +1;
            body.document.layers[n].clip.width = body.clip.width;
            body.document.layers[n].captureEvents(Event.MOUSEDOWN);
            body.document.layers[n].onmousedown = proto.onMenuItemDown;
            //body.document.layers[n].onfocus = proto.onMenuItemDown;
            body.document.layers[n].onmouseout = proto.onMenuItemOut;
            body.document.layers[n].Menu = l.Menu;
            body.document.layers[n].top = -30;
            menu.document.bgColor = proto.menuBorderBgColor;
            menu.document.layers[0].document.bgColor = proto.menuLiteBgColor;
            menu.document.layers[0].clip.width = body.clip.width +1;
            menu.document.layers[0].clip.height = body.clip.height +1;
            menu.clip.width = body.clip.width + (proto.menuBorder * 2) +1;
            menu.clip.height = body.clip.height + (proto.menuBorder * 2) +1;
            if (menu.Menu.enableTracker) {
                menu.Menu.disableHide = true;
                setMenuTracker(menu.Menu);
            }
        }
    } else if (container.document.all) {
        var menuCount = 0;
        for (var x=0; x<container.menus.length; x++) {
            var menu = container.document.all("menuLayer" + x);
            container.menus[x].menuLayer = menu;
            container.menus[x].menuLayer.Menu = container.menus[x];
            container.menus[x].menuLayer.Menu.container = menu;
            proto = container.menus[x].prototypeStyles || this.prototypeStyles || container.menus[x];
            proto.menuItemWidth = proto.menuItemWidth || 150;
            menu.style.backgroundColor = proto.menuBorderBgColor;
            for (var i=0; i<container.menus[x].items.length; i++) {
                var l = container.document.all["menuItem" + menuCount];
                l.Menu = container.menus[x];
                proto = container.menus[x].prototypeStyles || this.prototypeStyles || container.menus[x];
                l.style.pixelWidth = proto.menuItemWidth;
                l.style.pixelHeight = proto.menuItemHeight;
                if (i>0) l.style.pixelTop = container.document.all["menuItem" + (menuCount -1)].style.pixelTop + container.document.all["menuItem" + (menuCount -1)].style.pixelHeight + proto.menuItemBorder;
                l.style.fontSize = proto.fontSize;
                l.style.backgroundColor = proto.menuItemBgColor;
                l.style.visibility = "inherit";
                l.saveColor = proto.menuItemBgColor;
                l.menuHiliteBgColor = proto.menuHiliteBgColor;
                l.action = container.menus[x].actions[i];
                l.hilite = container.document.all["menuItemHilite" + menuCount];
                l.focusItem = container.document.all["focusItem" + x];
                l.focusItem.style.pixelTop = -30;
                l.mouseover = l.Menu.mouseovers[x];
                l.mouseout  = l.Menu.mouseouts[x];
                var childItem = container.document.all["childMenu" + menuCount];
                if (childItem) {
                    l.childMenu = container.menus[x].items[i].menuLayer;
                    childItem.style.pixelLeft = l.style.pixelWidth -11;
                    childItem.style.pixelTop = (l.style.pixelHeight /2) -4;
                    childItem.style.pixelWidth = 30 || 7;
                    childItem.style.clip = "rect(0 7 7 3)";
                    l.Menu.childMenus[l.Menu.childMenus.length] = l.childMenu;
                }
                var sep = container.document.all["menuSeparator" + menuCount];
                if (sep) {
                    sep.style.clip = "rect(0 " + (proto.menuItemWidth - 3) + " 1 0)";
                    sep.style.backgroundColor = proto.bgColor;
                    sep = container.document.all["menuSeparatorLite" + menuCount];
                    sep.style.clip = "rect(1 " + (proto.menuItemWidth - 3) + " 2 0)";
                    sep.style.backgroundColor = proto.menuLiteBgColor;
                    l.style.pixelHeight = proto.menuItemHeight/2;
                    l.isSeparator = true
                }
                menuCount++;
            }
            proto.menuHeight = (l.style.pixelTop + l.style.pixelHeight);
            var lite = container.document.all["menuLite" + x];
            lite.style.pixelHeight = proto.menuHeight +2;
            lite.style.pixelWidth = proto.menuItemWidth + 2;
            lite.style.backgroundColor = proto.menuLiteBgColor;
            var body = container.document.all["menuFg" + x];
            body.style.pixelHeight = proto.menuHeight + 1;
            body.style.pixelWidth = proto.menuItemWidth + 1;
            body.style.backgroundColor = proto.bgColor;
            container.menus[x].menuLayer.style.pixelWidth  = proto.menuWidth || proto.menuItemWidth + (proto.menuBorder * 2) +2;
            container.menus[x].menuLayer.style.pixelHeight = proto.menuHeight + (proto.menuBorder * 2) +2;
            if (menu.Menu.enableTracker) {
                menu.Menu.disableHide = true;
                setMenuTracker(menu.Menu);
            }
        }
        container.document.all("menuContainer").style.backgroundColor = container.menus[0].menuContainerBgColor;
        container.document.saveBgColor = container.document.bgColor;
    }
    window.wroteMenu = true;
}

function onMenuItemOver(e, l, a) {
    l = l || this;
    a = a || window.ActiveMenuItem;
    if (document.layers) {
        if (a) {
            a.document.bgColor = a.saveColor;
            if (a.hilite) a.hilite.visibility = "hidden";
            if (a.childMenu) a.document.layers[1].document.images[0].src = a.icon;
        } else {
            a = new Object();
        }
        if (this.mouseover && this.id != a.id) {
            if (this.mouseover.length > 4) {
                var ext = this.mouseover.substring(this.mouseover.length-4);
                if (ext == ".gif" || ext == ".jpg") {
                    this.document.layers[1].document.images[0].src = this.mouseover;
                } else {
                    eval("" + this.mouseover);
                }
            }
        }
        if (l.hilite) {
            l.document.bgColor = l.menuHiliteBgColor;
            l.zIndex = 1;
            l.hilite.visibility = "inherit";
            l.hilite.zIndex = 2;
            l.document.layers[1].zIndex = 1;
            l.focusItem.zIndex = this.zIndex +2;
        }
        l.focusItem.top = this.top;
        l.Menu.hideChildMenu(l);
    } else if (l.style) {
        document.onmousedown=l.Menu.onMenuItemDown;
        if (a) {
            a.style.backgroundColor = a.saveColor;
            if (a.hilite) a.hilite.style.visibility = "hidden";
        } else {
            a = new Object();
		}
        if (l.mouseover && l.id != a.id) {
            if (l.mouseover.length > 4) {
                var ext = l.mouseover.substring(l.mouseover.length-4);
                if (ext == ".gif" || ext == ".jpg") {
                    l.document.images[l.id + "Img"].src = l.mouseover;
                } else {
                    eval("" + l.mouseover);
                }
            }
        }
		if (l.isSeparator) return;
        l.style.backgroundColor = l.menuHiliteBgColor;
        if (l.hilite) {
            l.style.backgroundColor = l.menuHiliteBgColor;
            l.hilite.style.visibility = "inherit";
        }
        l.focusItem.style.pixelTop = l.style.pixelTop;
        l.focusItem.style.zIndex = l.zIndex +1;
        l.zIndex = 1;
        l.Menu.hideChildMenu(l);
    }
    window.ActiveMenuItem = l;
}

function onMenuItemOut(e, l, a) {
    l = l || this;
	a = a || window.ActiveMenuItem;
    if (l.id.indexOf("focusItem")) {
        if (a && l.top) {
            l.top = -30;
			if (a.mouseout && a.id != l.id) {
				if (a.mouseout.length > 4) {
					var ext = a.mouseout.substring(a.mouseout.length-4);
					if (ext == ".gif" || ext == ".jpg") {
						a.document.layers[1].document.images[0].src = a.mouseout;
					} else {
						eval("" + a.mouseout);
					}
				}
			}
        } else if (a && l.style) {
            document.onmousedown=null;
            window.event.cancelBubble=true;
	        if (l.mouseout) {
				if (l.mouseout.length > 4) {
					var ext = l.mouseout.substring(l.mouseout.length-4);
					if (ext == ".gif" || ext == ".jpg") {
						l.document.images[l.id + "Img"].src = l.mouseout;
					} else {
						eval("" + l.mouseout);
					}
				}
			}
        }
    }
}

function onMenuItemAction(e, l) {
    l = window.ActiveMenuItem;
    if (!l) return;
    if (!ActiveMenu.Menu.disableHide) hideActiveMenus(ActiveMenu.menuLayer);
    if (l.action) {
        eval("" + l.action);
    }
}

function showMenu(menu, x, y, child) {

  
    if (!window.wroteMenu) return;

    if (document.layers) {
	if (menu) {
            var l = menu.menuLayer || menu;
            if (typeof(menu) == "string") {
                for (var n=0; n < menuContainers.length; n++) {
                    l = menuContainers[n].menus[menu];
                    for (var i=0; i<menuContainers[n].menus.length; i++) {
                        if (menu == menuContainers[n].menus[i].label) l = menuContainers[n].menus[i].menuLayer;
                        if (l) break;
                    }
                }
				if (!l) return;
            }
            l.Menu.container.document.bgColor = null;
            l.left = 1;
            l.top = 1;
            hideActiveMenus(l);
            if (this.visibility) l = this;
            window.ActiveMenu = l;
            window.releaseEvents(Event.MOUSEMOVE|Event.MOUSEUP);
            setTimeout('if(window.ActiveMenu)window.ActiveMenu.Menu.setMouseTracker();', 100);
        } else {
            var l = child;
        }
        if (!l) return;
        for (var i=0; i<l.layers.length; i++) {                
            if (!l.layers[i].isHilite) 
                l.layers[i].visibility = "inherit";
            if (l.layers[i].document.layers.length > 0) 
                showMenu(null, "relative", "relative", l.layers[i]);
        }
        if (l.parentLayer) {
            if (x != "relative") 
                l.parentLayer.left = 135 || window.pageX;
            if (l.parentLayer.left + l.clip.width > window.innerWidth) 
                l.parentLayer.left -= (l.parentLayer.left + l.clip.width - window.innerWidth);
            if (y != "relative") 
                l.parentLayer.top = y || window.pageY;
            if (l.parentLayer.isContainer) {
                l.Menu.xOffset = window.pageXOffset;
                l.Menu.yOffset = window.pageYOffset;
                l.parentLayer.clip.width = window.ActiveMenu.clip.width +2;
                l.parentLayer.clip.height = window.ActiveMenu.clip.height +2;
                if (l.parentLayer.menuContainerBgColor) l.parentLayer.document.bgColor = l.parentLayer.menuContainerBgColor;
            }
        }
        l.visibility = "inherit";
	if (l.Menu) l.Menu.container.visibility = "inherit";
    } else if (document.all) {
	  x = 135;
        var l = menu.menuLayer || menu;
        hideActiveMenus(l);
        if (typeof(menu) == "string") {
            l = document.all[menu];
            for (var n=0; n < menuContainers.length; n++) {
                l = menuContainers[n].menus[menu];
                for (var i=0; i<menuContainers[n].menus.length; i++) {
                    if (menu == menuContainers[n].menus[i].label) l = menuContainers[n].menus[i].menuLayer;
                    if (l) break;
                }
            }
        }
        window.ActiveMenu = l;
        l.style.visibility = "inherit";
	l.style.cursor="hand";
        if (x != "relative") 
            l.style.pixelLeft = x || (window.pageX + document.body.scrollLeft) || 0;
        if (y != "relative") 
            l.style.pixelTop = y || window.pageY + document.body.scrollTop ;
        l.Menu.xOffset = document.body.scrollLeft;
        l.Menu.yOffset = 0;
    }
    if (menu) {
        window.activeMenus[window.activeMenus.length] = l;
    }

}

function hideMenu(e) {
    var l = e || window.ActiveMenu;
    if (!l) return true;
    if (l.menuLayer) {
        l = l.menuLayer;
    } else if (this.visibility) {
        l = this;
    }
    if (l.menuLayer) {
        l = l.menuLayer;
    }
    var a = window.ActiveMenuItem;
    document.saveMousemove = document.onmousemove;
    document.onmousemove = mouseTracker;
    if (a && document.layers) {
        a.document.bgColor = a.saveColor;
        a.focusItem.top = -30;
        if (a.hilite) a.hilite.visibility = "hidden";
        if (a.childMenu) a.document.layers[1].document.images[0].src = a.icon;
        if (mDrag.oldX <= e.pageX+3 && mDrag.oldX >= e.pageX-3 && mDrag.oldY <= e.pageY+3 && mDrag.oldY >= e.pageY-3) {
            if (a.action && window.ActiveMenu) setTimeout('window.ActiveMenu.Menu.onMenuItemAction();', 1);
        } else if (document.saveMousemove == mDrag.doMenuDrag) {
            if (window.ActiveMenu) return true;
        }
    } else if (window.ActiveMenu && document.all) {
	document.onmousedown=null;
        if (a) {
            a.style.backgroundColor = a.saveColor;
	    if (a.hilite) a.hilite.style.visibility = "hidden";
        }
        if (document.saveMousemove == mDrag.doMenuDrag) {
            return true;
        }
	}
    if (window.ActiveMenu) {
        if (window.ActiveMenu.Menu) {
            if (window.ActiveMenu.Menu.disableHide) return true;
            e = window.event || e;
            if (!window.ActiveMenu.Menu.enableHideOnMouseOut && e.type == "mouseout") return true;
        }
    }
    hideActiveMenus(l);
    return true;
}

function hideChildMenu(menuLayer) {
    var l = menuLayer || this;
    for (var i=0; i < l.Menu.childMenus.length; i++) {
        if (document.layers) {
            l.Menu.childMenus[i].visibility = "hidden";
        } else if (document.all) {
            l.Menu.childMenus[i].style.visibility = "hidden";
        }
        l.Menu.childMenus[i].Menu.hideChildMenu(l.Menu.childMenus[i]);
    }
    if (l.childMenu) {
        if (document.layers) {
            l.Menu.container.document.bgColor = null;
            l.Menu.showMenu(null,null,null,l.childMenu.layers[0]);
            l.childMenu.zIndex = l.parentLayer.zIndex +1;
            l.childMenu.top = l.top + l.parentLayer.top + l.Menu.menuLayer.top;
            if (l.childMenu.left + l.childMenu.clip.width > window.innerWidth) {
                l.childMenu.left = l.parentLayer.left - l.childMenu.clip.width + l.Menu.menuLayer.top + 15;
                l.Menu.container.clip.left -= l.childMenu.clip.width;
            } else if (l.Menu.childMenuDirection == "left") {
                l.childMenu.left = l.parentLayer.left - l.parentLayer.clip.width;
                l.Menu.container.clip.left -= l.childMenu.clip.width;
            } else {
                l.childMenu.left = l.parentLayer.left + l.parentLayer.clip.width  + l.Menu.menuLayer.left -5;
            }
            l.Menu.container.clip.width += l.childMenu.clip.width +100;
            l.Menu.container.clip.height += l.childMenu.clip.height;
            l.document.layers[1].zIndex = 0;
            l.document.layers[1].document.images[0].src = l.iconHilite;
            l.childMenu.visibility = "inherit";
        } else if (document.all) {
            l.childMenu.style.zIndex = l.Menu.menuLayer.style.zIndex +1;
            l.childMenu.style.pixelTop = l.style.pixelTop + l.Menu.menuLayer.style.pixelTop;
            if (l.childMenu.style.pixelLeft + l.childMenu.style.pixelWidth > document.width) {
                l.childMenu.style.pixelLeft = l.childMenu.style.pixelWidth + l.Menu.menuLayer.style.pixelTop + 15;
            } else if (l.Menu.childMenuDirection == "left") {
                //l.childMenu.style.pixelLeft = l.parentLayer.left - l.parentLayer.clip.width;
            } else {
                l.childMenu.style.pixelLeft = l.Menu.menuLayer.style.pixelWidth + l.Menu.menuLayer.style.pixelLeft -5;
            }
            l.childMenu.style.visibility = "inherit";
        }
        if (!l.childMenu.disableHide) 
            window.activeMenus[window.activeMenus.length] = l.childMenu;
    }
}

function hideActiveMenus(l) {
    if (!window.activeMenus) return;
    for (var i=0; i < window.activeMenus.length; i++) {
    if (!activeMenus[i]) return;
        if (activeMenus[i].visibility && activeMenus[i].Menu) {
            activeMenus[i].visibility = "hidden";
            activeMenus[i].Menu.container.visibility = "hidden";
            activeMenus[i].Menu.container.clip.left = 0;
        } else if (activeMenus[i].style) {
            activeMenus[i].style.visibility = "hidden";
        }
    }
    document.onmousemove = mouseTracker;
    window.activeMenus.length = 0;
}

function mouseTracker(e) {
    e = e || window.Event || window.event;
    window.pageX = e.pageX || e.clientX;
    window.pageY = e.pageY || e.clientY;
}

function setMouseTracker() {
    if (document.captureEvents) {
        document.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP);
    }
    document.onmousemove = this.mouseTracker;
    document.onmouseup = this.hideMenu;
}

function setMenuTracker(menu) {
    if (!window.menuTrackers) window.menuTrackers = new Array();
    menuTrackers[menuTrackers.length] = menu;
    window.menuTrackerID = setInterval('menuTracker()',10);
}

function menuTracker() {
    for (var i=0; i < menuTrackers.length; i++) {
        if (!isNaN(menuTrackers[i].xOffset) && document.layers) {
            var off = parseInt((menuTrackers[i].xOffset - window.pageXOffset) / 10);
            if (isNaN(off)) off = 0;
            if (off < 0) {
                menuTrackers[i].container.left += -off;
                menuTrackers[i].xOffset += -off;
            } else if (off > 0) {
                menuTrackers[i].container.left += -off;
                menuTrackers[i].xOffset += -off;
            }
        }
        if (!isNaN(menuTrackers[i].yOffset) && document.layers) {
            var off = parseInt((menuTrackers[i].yOffset - window.pageYOffset) / 10);
            if (isNaN(off)) off = 0;
            if (off < 0) {
                menuTrackers[i].container.top += -off;
                menuTrackers[i].yOffset += -off;
            } else if (off > 0) {
                menuTrackers[i].container.top += -off;
                menuTrackers[i].yOffset += -off;
            }
        }
        if (!isNaN(menuTrackers[i].xOffset) && document.body) {
            var off = parseInt((menuTrackers[i].xOffset - document.body.scrollLeft) / 10);
            if (isNaN(off)) off = 0;
            if (off < 0) {
                menuTrackers[i].menuLayer.style.pixelLeft += -off;
                menuTrackers[i].xOffset += -off;
            } else if (off > 0) {
                menuTrackers[i].menuLayer.style.pixelLeft += -off;
                menuTrackers[i].xOffset += -off;
            }
        }
        if (!isNaN(menuTrackers[i].yOffset) && document.body) {
            var off = parseInt((menuTrackers[i].yOffset - document.body.scrollTop) / 10);
            if (isNaN(off)) off = 0;
            if (off < 0) {
                menuTrackers[i].menuLayer.style.pixelTop += -off;
                menuTrackers[i].yOffset += -off;
            } else if (off > 0) {
                menuTrackers[i].menuLayer.style.pixelTop += -off;
                menuTrackers[i].yOffset += -off;
            }
        }
    }
}

function onMenuItemDown(e, l) {
    l = l || window.ActiveMenuItem || this;
    if (!l.Menu) {
    } else {
        if (document.layers) {
            mDrag.dragLayer = l.Menu.container;
            mDrag.startMenuDrag(e);
        } else {
            mDrag.dragLayer = l.Menu.container.style;
            mDrag.startMenuDrag(e);
            window.event.cancelBubble=true;
        }
    }
}

function startMenuDrag(e) {
    if (document.layers) {
        if (e.which > 1) {
            if (window.ActiveMenu) ActiveMenu.Menu.container.visibility = "hidden";
            window.ActiveMenu = null;
            return true;
        }
        document.captureEvents(Event.MOUSEMOVE);
        var x = e.pageX;
        var y = e.pageY;
    } else {
        var x = window.event.clientX;
        var y = window.event.clientY;
    }
    mDrag.offX = x;
    mDrag.offY = y;
    mDrag.oldX = x;
    mDrag.oldY = y;
    if (!ActiveMenu.Menu.disableDrag) document.onmousemove = mDrag.doMenuDrag;
    return false;
}

function doMenuDrag(e) {
    if (document.layers) {
        mDrag.dragLayer.moveBy(e.pageX-mDrag.offX,e.pageY-mDrag.offY);
        mDrag.offX = e.pageX;
        mDrag.offY = e.pageY;
    } else {
        mDrag.dragLayer.pixelLeft = window.event.offsetX;
        mDrag.dragLayer.pixelTop  = window.event.offsetY;
        return false; //for IE
    }
}

function setPointer() { 
      if (document.all) document.body.style.cursor = 'wait';
}


function GoToCourse(mCourse)  {
	setPointer(); 
	var version = parseInt(navigator.appVersion);
	var mimagex = 570;
	var mimagey = 330;
	var mZoom=0;
	var mCenterX=0;
	var mCenterY=0;


	if (mCourse == "Oglebay_Resort")  {
		mZoom = .918;
		mCenterX=-80.64865;
		mCenterY=40.115;
	}
	else if (mCourse == "St_James")  {
		mZoom = 1;
		mCenterX=-84.56187;
		mCenterY=29.90305;
	}
	else if (mCourse == "Granite_Links_Golf_Club")  {
		mZoom = 1;
		mCenterX=-71.05789;
		mCenterY=42.24327;
	}
	else if (mCourse == "Thunderbirds_Golf_Club")  {
		mZoom = .75;
		mCenterX=-112.0589;
		mCenterY=33.36049;
	}
	else if (mCourse == "Indian_Lakes_Resort")  {
		mZoom = 1;
		mCenterX=-88.09637;
		mCenterY=41.94594;
	}
	else if (mCourse == "International_World_Tour")  {
		mZoom = 1.45;
		mCenterX=-78.90880;
		mCenterY=33.73356;
	}
	else if (mCourse == "Malibu_Country_Club")  {
		mZoom = 1.03;
		mCenterX=-118.85188;
		mCenterY=34.0943;
	}
	else if (mCourse == "Boulder_Creek_Golf_Club")  {
		mZoom = 1.32;
		mCenterX=-114.856;
		mCenterY=35.95820;
	}
	else if (mCourse == "Forest_City_National")  {
		mZoom = 1.75;
		mCenterX=-81.16739;
		mCenterY=43.04907;
	}
	else if (mCourse == "Southwood_Golf_Club")  {
		mZoom = 1.3;
		mCenterX=-84.22110;
		mCenterY=30.40219;
	}
	else if (mCourse == "River_Towne_Country_Club")  {
		mZoom = 1.65;
		mCenterX=-79.822;
		mCenterY=32.8793;
	}
	else if (mCourse == "Talega_Golf_Club")  {
		mZoom = 1.75;
		mCenterX=-117.58981;
		mCenterY=33.4687;
	}
	else if (mCourse == "Shell_Point")  {
		mZoom = 1.636;
		mCenterX=-81.98432;
		mCenterY=26.50043;
	}
	else if (mCourse == "The_Polo_Club_Boca_Raton")  {
		mZoom = 1.65;
		mCenterX=-80.13380;
		mCenterY=26.4200;
	}
	else if (mCourse == "Quail_Creek_Golf_Club")  {
		mZoom = 1;
		mCenterX=-90.38285;
		mCenterY=38.468;
	}
	else if (mCourse == "The_Creeks_at_Ellington")  {
		mZoom = .95;
		mCenterX=-88.53282;
		mCenterY=44.3741;
	}
	else if (mCourse == "The_Club_at_Genoa_Lakes")  {
		mZoom = 1.35;
		mCenterX=-119.83205;
		mCenterY=39.01474;
	}
	else if (mCourse == "PGA_S_California")  {
		mZoom = 1.7;
		mCenterX=-117.03661;
		mCenterY=33.9511;
	}
	else if (mCourse == "The_Marshes_Golf_Club")  {
		mZoom = .918;
		mCenterX=-75.90808;
		mCenterY=45.3505;
	}
	else if (mCourse == "Oak_Marsh_Golf_Club")  {
		mZoom = .92;
		mCenterX=-92.94253;
		mCenterY=44.95669;
	}
	else if (mCourse == "Greystone_Golf_Club")  {
		mZoom = .95;
		mCenterX=-87.33724;
		mCenterY=36.09313;
	}
	else if (mCourse == "Belmar_Golf_Club")  {
		mZoom = 0.7757;
		mCenterX=-97.42846;
		mCenterY=35.29433;
	}
	else if (mCourse == "AH_Blank")  {
		mZoom = 1.05;
		mCenterX=-93.6160;
		mCenterY=41.51754;
	}
	else if (mCourse == "The_Arboretum_Club")  {
		mZoom = 1.15;
		mCenterX=-87.96806;
		mCenterY=42.19739;
	}
	else if (mCourse == "Barona_Creek_CA")  {
		mZoom = 1.1;
		mCenterX=-116.87205;
		mCenterY=32.94605;
	}
	else if (mCourse == "Bethpage_State_Park_Black_Course")  {
		mZoom = 2;
		mCenterX=-73.4470;
		mCenterY=40.7481;
	}
	else if (mCourse == "Conklin_Players_Club_NY")  {
		mZoom = 0.85;
		mCenterX=-75.80383;
		mCenterY=42.02208;
	}
	else if (mCourse == "Hyatt")  {
		mZoom = 2;
		mCenterX=-66.30150;
		mCenterY=18.4683;
	}
	else if (mCourse == "Lake_Merced")  {
		mZoom = 1;
		mCenterX=-122.47618;
		mCenterY=37.6988;
	}
	else if (mCourse == "Lakewood_Country_Club")  {
		mZoom = 0.8;
		mCenterX=-105.07080;
		mCenterY=39.72941;
	}
	else if (mCourse == "Mission_Hills_Country_Club")  {
		mZoom = 1.38;
		mCenterX=-116.42752;
		mCenterY=33.79245;
	}
	else if (mCourse == "Monterey_Peninsula_Country_club")  {
		mZoom = 3;
		mCenterX=-121.94744;
		mCenterY=36.60482;
	}
	else if (mCourse == "Oakmont_PA")  {
		mZoom = 1.4;
		mCenterX=-79.81744;
		mCenterY=40.5292;
	}
	else if (mCourse == "Olympia_Fields")  {
		mZoom = 1.25;
		mCenterX=-87.68614;
		mCenterY=41.51705;
	}
	else if (mCourse == "Pebble_Beach_Golf_Links")  {
		mZoom = 1.5;
		mCenterX=-121.94037;
		mCenterY=36.56429;
	}
	else if (mCourse == "Plantation_Golf")  {
		mZoom = 1.3;
		mCenterX=-116.22943;
		mCenterY=33.678932;
	}
	else if (mCourse == "Poppy_Hills_Golf_Course")  {
		mZoom = 1.4;
		mCenterX=-121.94012;
		mCenterY=36.58464;
	}
	else if (mCourse == "Spyglass_Hill_Golf_Course")  {
		mZoom = 1.1;
		mCenterX=-121.9561;
		mCenterY=36.58504;
	}
	else if (mCourse == "The_Springhouse_Golf_Club")  {
		mZoom = 0.38;
		mCenterX=-86.67974;
		mCenterY=36.21945;
	}
	else if (mCourse == "Stonebridge_Golf")  {
		mZoom = 1.1;
		mCenterX=-85.19179;
		mCenterY=34.34137;
	}
	else if (mCourse == "The_Club_at_Thornapple_Point")  {
		mZoom = 0.82;
		mCenterX=-85.4848;
		mCenterY=42.88209;
	}
	else if (mCourse == "The_Pointe_Hilton_Tapatio_Cliffs")  {
		mZoom = 1.9;
		mCenterX=-112.7102;
		mCenterY=33.6046;
	}
	else if (mCourse == "Vail_Copper")  {
		mZoom = 1.5;
		mCenterX=-106.14426;
		mCenterY=39.49891;
	}
	else if (mCourse == "Vintage")  {
		mZoom = 1.3;
		mCenterX=-130.52482;
		mCenterY=28.33914;
	}
	else if (mCourse == "Vista_Ridge_Golf_Club")  {
		mZoom = 1.29;
		mCenterX=-105.02247;
		mCenterY=40.0074;
	}
	else if (mCourse == "Vistoso_Golf_Club")  {
		mZoom = 1.35;
		mCenterX=-110.98301;
		mCenterY=32.453;
	}
	else if (mCourse == "Wilmington_Country_Club")  {
		mZoom = 1.1;
		mCenterX=-75.59817;
		mCenterY=39.79558;
	}
	else if (mCourse == "Winged_Foot")  {
		mZoom = 1;
		mCenterX=-73.75438;
		mCenterY=40.96331;
	}	
	else if (mCourse == "White_Columns_Golf_Club")  {
		mZoom = 1;
		mCenterX=-84.33005;
		mCenterY=34.14737;
	}

	else if (mCourse == "Quick_Silver")  {
		mZoom = 1;
		mCenterX=-80.29260;
		mCenterY=40.38958;
	}

	
	else if (mCourse == "Mount_Washington")  {
		mZoom = 1;
		mCenterX=-71.43980;
		mCenterY=44.25396;
	}

	else if (mCourse == "Boulder_Pointe")  {
		mZoom = 1;
		mCenterX=-114.85609;
		mCenterY=35.95908;
	}


	if (version >= 4)
		{mimagey = window.screen.availHeight;
		 mimagex = window.screen.availWidth;}
	if (mimagex <= 880) mimagex = 550;
   	else mimagex = mimagex - 330;
	if (mimagey <= 650) mimagey = 330;
	else mimagey = Math.ceil(mimagex * .61);

	location.href="/scripts/hsrun.exe/Single/SportsMapping/MapXtreme.htx;start=HS_Handler?mCourse="
	+ mCourse + "&mZoomType=ZoomIn&mimagex=" + mimagex + "&mimagey=" +
	mimagey + "&mzoom="+mZoom+"&mcenterx=" + mCenterX + "&mcentery=" + mCenterY;

}

// For fly throughs

function open_window() 
{ 

		var dataWin2;
		var w = window.screen.availWidth;
		h = window.screen.availHeight;
				
		if (dataWin2!=null) dataWin2.close();
		dataWin2=window.open('http://66.77.122.13/Columbine/index.html','dataWindow','resizable=yes, scrollbars=no, toolbar=no, location=no, directories=no, status=no, menubar=no,top=0,width='+w+', height='+h+',left=0')
		
}





var scrollmessage='<P><FONT face=verdana size=1 ><A class="scrolllinks" href="/news_items/news_item_1.htm" target="_self"> <b>IntraSearch Inc., Denver has formed a Sports Mapping division that combines its aerial mapping and digital imaging expertise with GroundLinkx L.L.C</a></P>'+ '<p> <A class="scrolllinks" href="/news_items/news_item_1.htm" target=_self>The division is a one-stop mapping and GIS source for golf courses and sporting organizations, according to Michael Platt, IntraSearch president. Customers are offered IntraSearch\'s high-resolution aerial mapping and 3D topographic imagery of sports and entertainment venues.</A></p>'+ '<P> <A class="scrolllinks" href="/news_items/news_item_1.htm" target=_self>These \'smart maps\' can eliminate inaccuracy and improve communications throughout the management of a course or venue.</A></P>'

function loadMenus() {
    
    	window.smMenu = new Menu();
    
    	smMenu.addMenuItem("companyProfileMenu");
	smMenu.addMenuItem("groundlinkxMenu");
	smMenu.addMenuItem("aerialMenu");
	smMenu.addMenuItem("topoMenu");
	smMenu.addMenuItem("featureMenu");
	smMenu.addMenuItem("threedMenu");
	smMenu.addMenuItem("irrigationMenu");
	smMenu.addMenuItem("gpsMenu");
	smMenu.addMenuItem("successStoriesMenu");
	smMenu.addMenuItem("flythroughMenu");
    	smMenu.addMenuItem("contactUsMenu");
	
	
	window.companyProfileMenu = new Menu();   //Company Profile
    	companyProfileMenu.addMenuItem("About Us", "location='/sportsMappingold/Company_profile/about_us.htm'");
    	
       	window.groundlinkxMenu = new Menu();     //Groundlinkx
	groundlinkxMenu.addMenuItem("About GroundLinkx", "location='/sportsMappingold/GroundLinkx/about_groundlinkx.htm'");  
    	groundlinkxMenu.addMenuItem("The Software ", "location='/sportsMappingold/GroundLinkx/5d_course_vision.htm'");
	groundlinkxMenu.addMenuItem("Ground Maintenance", "location='/sportsMappingold/GroundLinkx/ground_maintenance.htm'");
	groundlinkxMenu.addMenuItem("Turf Care", "location='/sportsMappingold/GroundLinkx/turf_care.htm'");
	groundlinkxMenu.addMenuItem("Pin Sheet", "location='/sportsMappingold/GroundLinkx/pin_sheet.htm'");
	groundlinkxMenu.addMenuItem("Irrigation Management", "location='/sportsMappingold/GroundLinkx/irrigation_management.htm'");
	groundlinkxMenu.addMenuItem("Habitat Management", "location='/sportsMappingold/GroundLinkx/habitat_management.htm'");
	groundlinkxMenu.addMenuItem("Tree Inventory & Care", "location='/sportsMappingold/GroundLinkx/tree_inventory.htm'");	
	
       	window.aerialMenu = new Menu();        //Aerial Photography  
    	aerialMenu.addMenuItem("Vertical Imagery", "location='/sportsMappingold/Aerial_Photography/aerial_photography.htm#Verical'");
	aerialMenu.addMenuItem("Oblique Photography","location='/sportsMappingold/Aerial_Photography/aerial_photography.htm#Oblique'");
	aerialMenu.addMenuItem("Photo Enlargements", "location='/sportsMappingold/Aerial_Photography/aerial_photography.htm#Enlargements'");

	window.topoMenu = new Menu();        //Topographic Mapping  
    	topoMenu.addMenuItem("As-built Mapping", "location='/sportsMappingold/Topographic_Mapping/as_built_mapping.htm'");
	topoMenu.addMenuItem("Construction Mapping", "location='/sportsMappingold/Topographic_Mapping/construction_mapping.htm'");

	window.featureMenu = new Menu();        //Feature Mapping  
    	featureMenu.addMenuItem("Course Features", "location='/sportsMappingold/Feature_Mapping/course_features.htm'");
	featureMenu.addMenuItem("Gated Community", "location='/sportsMappingold/Feature_Mapping/gated_community.htm'");
		
	window.threedMenu = new Menu();        //3D Surface Mapping  
    	threedMenu.addMenuItem("3D Surface Mapping", "location='/sportsMappingold/3D_Surface_Mapping/3d_surface_mapping.htm'");

	window.irrigationMenu = new Menu();        //Irrigation Mapping  
   	irrigationMenu.addMenuItem("Irrigation Mapping", "location='/sportsMappingold/Irrigation_Mapping/irrigation_mapping.htm'");

	window.gpsMenu = new Menu();        //GPS 
    	gpsMenu.addMenuItem("GPS", "location='/GPS/gps.htm'");

	window.flythroughMenu = new Menu();        //Fly Through
    	flythroughMenu.addMenuItem("Golf Fly-Throughs", "location='/sportsMappingold/flythrough/flythrough.htm'");
	
	window.successStoriesMenu = new Menu();     //Success Stories  
    	successStoriesMenu.addMenuItem("Belmar Golf Club", "location='/sportsMappingold/G_C_Mapped/Belmar_Golf_Club.htm'");
    	successStoriesMenu.addMenuItem("Greystone Golf Club", "location='/sportsMappingold/G_C_Mapped/Greystone_Golf_Club.htm'");
    	successStoriesMenu.addMenuItem("Hyatt Cerromar Beaches", "location='/sportsMappingold/G_C_Mapped/Hyatt_Cerromar_Dorando_Beaches.htm'");
    	successStoriesMenu.addMenuItem("Malibu Country Club", "location='/sportsMappingold/G_C_Mapped/Malibu_Country_Club.htm'");
    	successStoriesMenu.addMenuItem("Oglebay Resort", "location='/sportsMappingold/G_C_Mapped/Oglebay_Resort.htm'");
    	successStoriesMenu.addMenuItem("Wilmington Country Club", "location='/sportsMappingold/G_C_Mapped/Wilmington_Country_Club.htm'");

    	window.contactUsMenu = new Menu();     //Contact
    	contactUsMenu.addMenuItem("Contact Info", "location='/sportsMappingold/Contact/contact_info.htm'");
	contactUsMenu.addMenuItem("Location", "location='/sportsMappingold/Contact/location.htm'");
    	contactUsMenu.addMenuItem("Driving Directions", "location='/sportsMappingold/Contact/driving_directions.htm'");
    	smMenu.writeMenus();
}



