// JavaScript Document

function getCoText()
{ 
 	var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(38.812101, -104.754136), 15);

    var myIcon = new GIcon();
    myIcon.image = "graphics/dynetics_marker.png";
    myIcon.iconSize = new GSize(100, 36);
/*    myIcon.shadow = "graphics/dynetics_marker_shadow.png";
    myIcon.shadowSize = new GSize(100, 36);*/
    myIcon.iconAnchor = new GPoint(50, 36);
    myIcon.infoWindowAnchor = new GPoint(50, 0);
    myIcon.imageMap = [ 36,0, 0,0, 100,0, 100,36, 36,0 ];
    var markerOptions = { icon:myIcon };
   
    var marker = new GMarker(map.getCenter(), markerOptions);
/*	var html="<b>Address:</b><br/>" +
         "1450 Academy Park Loop Suite 290<br/>" +
         "Colorado Springs, CO 80910";
	GEvent.addListener(marker, "click", function () {
	      marker.openInfoWindowHtml(html);
        });*/
    map.addOverlay(marker);
	map.setUIToDefault();

	document.getElementById('locationInfo').innerHTML = "<h2>Colorado Springs, Colorado</h2><p><strong>1450 Academy Park Loop Suite 290, Colorado Springs, CO 80910<br>Phone (719) 884-0790<br>Fax (719) 884-0792</strong></p>" + "<p>The primary focus of the Dynetics Colorado Springs office is the oversight of the multiple Colorado Springs contracts on which Dynetics is either the prime or a subcontractor. These contracts include Space and Missile Defense Initiatives Support (SMDIS) II and III, Concepts and Operations for Space and Missile Defense Integration and Capabilities (COSMIC), and the C4ISR Operational Management, Engineering, and Technical Services (COMETS) contracts. These contracts enable Dynetics to remain a key partner in the U.S. Army Space and Missile Defense Command/Army Strategic Command's (SMDC/ARSTRAT's) quest to utilize space and missile defense technologies to create optimal solutions for warfighters.</p>" + "<p>The primary customer for these contracts is the U.S. Army SMDC/ARSTRAT, Peterson Air Force Base (AFB) Colorado. Significant work is also being performed for several other Department of Defense (DoD) organizations on these contracts.</p>" + "<p><a href='pdf/ColoradoSpringsColorado.pdf' target='_blank'>Click here for a Map to the Colorado Springs Office</a> (.pdf)</p>";
}

function getTxText()
{
	var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(29.485612, -98.569764), 15);

    var myIcon = new GIcon();
    myIcon.image = "graphics/dynetics_marker.png";
    myIcon.iconSize = new GSize(100, 36);
/*    myIcon.shadow = "graphics/dynetics_marker_shadow.png";
    myIcon.shadowSize = new GSize(100, 36);*/
    myIcon.iconAnchor = new GPoint(50, 36);
    myIcon.infoWindowAnchor = new GPoint(50, 0);
    myIcon.imageMap = [ 36,0, 0,0, 100,0, 100,36, 36,0 ];
    var markerOptions = { icon:myIcon };
   
    var marker = new GMarker(map.getCenter(), markerOptions);
/*	var html="<b>Address:</b><br/>" +
         "4242 Woodcock Drive Suite 260<br/>" +
         "San Antonio, TX 78228";
	GEvent.addListener(marker, "click", function () {
	      marker.openInfoWindowHtml(html);
        });*/
    map.addOverlay(marker);
	map.setUIToDefault();

	document.getElementById('locationInfo').innerHTML = "<h2>San Antonio, Texas</h2><p><strong>4242 Woodcock Drive Suite 260, San Antonio, TX 78228<br>Phone (210) 735-7200<br>Fax (210) 735-7255</strong></p>" + "<p>The Dynetics San Antonio office is a fully operational contractor facility with full reach-back capability to our corporate headquarters in Huntsville. Our team has extensive expertise in modeling and simulation, electronic warfare, test and evaluation, information operations (IO) analysis, information assurance (IA), program management, vulnerability assessments, and operations security (OPSEC). San Antonio Department of Defense (DoD) customers include the 453d Electronic Warfare (EW) Squadron, the Joint Information Operations Center (JIOC), and the Air Force Information Warfare Center (AFIWC).</p>" + "<p><a href='pdf/SanAntonioTexas.pdf' target='_blank'>Click here for a Map to the San Antonio Office</a> (.pdf)</p>";
}

function getMiText()
{
	var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(42.561084, -83.127856), 15);

    var myIcon = new GIcon();
    myIcon.image = "graphics/dynetics_marker.png";
    myIcon.iconSize = new GSize(100, 36);
/*    myIcon.shadow = "graphics/dynetics_marker_shadow.png";
    myIcon.shadowSize = new GSize(100, 36);*/
    myIcon.iconAnchor = new GPoint(50, 36);
    myIcon.infoWindowAnchor = new GPoint(50, 0);
    myIcon.imageMap = [ 36,0, 0,0, 100,0, 100,36, 36,0 ];
    var markerOptions = { icon:myIcon };
   
    var marker = new GMarker(map.getCenter(), markerOptions);
/*	var html="<b>Address:</b><br/>" +
         "1100 Owendale Dr Suite E<br/>" +
         "Troy, MI 48083";
	GEvent.addListener(marker, "click", function () {
	      marker.openInfoWindowHtml(html);
        });*/
    map.addOverlay(marker);
	map.setUIToDefault();

	document.getElementById('locationInfo').innerHTML = "<h2>Detroit, Michigan</h2>" + "<p><strong>1100 Owendale Dr Suite E, Troy, MI 48083<br>Phone (248) 619-1681<br>Fax (248) 852-4139</strong></p>" + "<p>Dynetics' Detroit office provides program management and support activities for all Dynetics' automotive hardware and software products. The office, which includes an indoor vehicle lab, is staffed by application engineers experienced in vehicle electrical testing; vehicle diagnostics; and automotive ECU configuration, test, and flash programming. Dynetics provides design and consulting services throughout the project or product life cycle.</p>" + 
"<p>Capabilities: Auto Plant Floor Vehicle Electrical Diagnostic, Configuration, and Test Systems, Vehicle Communications/Data Recorders, Vehicle Health Data Collection and Analysis Systems, Condition-Based Maintenance</p>" + "<p>Customers: Ford Motor Company, Chrysler, LLC, General Motors, Detroit Chassis, Honeywell, RS/JPO (subcontractor to SAIC)</p>";
}

function getOhText()
{
	var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(39.8269163, -84.0638549), 15);

    var myIcon = new GIcon();
    myIcon.image = "graphics/dynetics_marker.png";
    myIcon.iconSize = new GSize(100, 36);
/*    myIcon.shadow = "graphics/dynetics_marker_shadow.png";
    myIcon.shadowSize = new GSize(100, 36);*/
    myIcon.iconAnchor = new GPoint(50, 36);
    myIcon.infoWindowAnchor = new GPoint(50, 0);
    myIcon.imageMap = [ 36,0, 0,0, 100,0, 100,36, 36,0 ];
    var markerOptions = { icon:myIcon };
   
    var marker = new GMarker(map.getCenter(), markerOptions);
/*	var html="<b>Address:</b><br/>" +
         "5100 Springfield Pike, Suite 200<br/>" +
         "Dayton, OH 45431-1265";
	GEvent.addListener(marker, "click", function () {
	      marker.openInfoWindowHtml(html);
        });*/
    map.addOverlay(marker);
	map.setUIToDefault();

	document.getElementById('locationInfo').innerHTML = "<h2>Dayton, Ohio</h2><p><strong>5100 Springfield Pike, Suite 200, Dayton, OH 45431-1265<br>Phone (937) 254-6925<br>Fax (937) 281-6004</strong></p>" + "<p>The Dynetics Dayton office provides support to U.S. Air Force program offices and agencies at Wright-Patterson Air Force Base. Our team has extensive experience in the modeling, simulation, and analysis of airborne and ground-based threat weapon systems and sensors. We have developed innovative modeling and simulation technologies to provide high-fidelity models and analysis tools to Air Force engineers and analysts.</p>" + "<p>Dayton office activities focus primarily on support to the National Air and Space Intelligence Center (NASIC) in the modeling and simulation of threat airborne radar systems and integrated weapon systems, missile seeker exploitation and analysis, radar warning receiver modeling, ground-based radar modeling, and the development of simulation tools, environments, and architectures for complex simulations.</p>" + "<p><a href='pdf/DaytonOhio.pdf' target='_blank'>Click here for a Map to the Dayton Office</a> (.pdf)</p>";
}

function getAlText()
{
	var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(34.734736, -86.679828), 15);

    var myIcon = new GIcon();
    myIcon.image = "graphics/dynetics_marker.png";
    myIcon.iconSize = new GSize(100, 36);
/*    myIcon.shadow = "graphics/dynetics_marker_shadow.png";
    myIcon.shadowSize = new GSize(100, 36);*/
    myIcon.iconAnchor = new GPoint(50, 36);
    myIcon.infoWindowAnchor = new GPoint(50, 0);
    myIcon.imageMap = [ 36,0, 0,0, 100,0, 100,36, 36,0 ];
    var markerOptions = { icon:myIcon };
   
    var marker = new GMarker(map.getCenter(), markerOptions);
/*	var html="<b>Address:</b><br/>" +
         "1002 Explorer Blvd.<br/>" +
         "Huntsville, AL 35806";
	GEvent.addListener(marker, "click", function () {
	      marker.openInfoWindowHtml(html);
        });*/
    map.addOverlay(marker);
	map.setUIToDefault();

	document.getElementById('locationInfo').innerHTML = "<h2>Huntsville, Alabama (Headquarters)</h2>" + "<p><strong>1002 Explorer Blvd. Huntsville, AL 35806<br>Phone (256) 964-4000<br>(800) 964-4291<br>Fax (256) 922-9260</strong></p>" + "<p>More than 800 employees are located in Huntsville's Cummings Research Park, the second largest high-technology research park in the nation. Dynetics provides a wide range of support to the government offices on Redstone Arsenal (RSA), including the U.S. Army Aviation and Missile Command (AMCOM) and the Missile and Space Intelligence Center (MSIC), and NASA's Marshall Space Flight Center.</p>" + "<p>Dynetics' 160,000-square-foot corporate headquarters, completed in 2006, features special conference and training facilities, classified program analysis and computing areas, audio/video/teleconferencing capabilities, an expanded technical publications facility, a dedicated proposal development facility, and a fitness center.</p>" + "<p>Other Huntsville facilities include the Systems Building, Research and Development (R&D), and the Commercial Division. The Machining and Design Center in the R&D building contains specialized equipment including a Brown & Sharpe Coordinate Measuring Machine (CMM), a portable FARO arm for use in classified areas, CNC machines, and an overhead crane.</p>" + "<p><a href='pdf/HuntsvilleAlabama.pdf' target='_blank'>Click here for a Map to the Huntsville Offices</a> (.pdf)</p>";
}

function getFlText()
{
	var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(30.438885, -86.583934), 15);

    var myIcon = new GIcon();
    myIcon.image = "graphics/dynetics_marker.png";
    myIcon.iconSize = new GSize(100, 36);
/*    myIcon.shadow = "graphics/dynetics_marker_shadow.png";
    myIcon.shadowSize = new GSize(100, 36);*/
    myIcon.iconAnchor = new GPoint(50, 36);
    myIcon.infoWindowAnchor = new GPoint(50, 0);
    myIcon.imageMap = [ 36,0, 0,0, 100,0, 100,36, 36,0 ];
    var markerOptions = { icon:myIcon };
   
    var marker = new GMarker(map.getCenter(), markerOptions);
/*	var html="<b>Address:</b><br/>" +
         "2 Clifford Drive<br/>" +
         "Shalimar, FL 32579-1293";
	GEvent.addListener(marker, "click", function () {
	      marker.openInfoWindowHtml(html);
        });*/
    map.addOverlay(marker);
	map.setUIToDefault();

	document.getElementById('locationInfo').innerHTML = "<h2>Ft. Walton Beach, Florida</h2><p><strong>2 Clifford Drive, Shalimar, FL 32579-1293<br>Phone (850) 651-1048<br>Fax (850) 651-1645</strong></p>" + "<p>The Fort Walton Beach office initially concentrated solely on systems analysis and engineering support to the Advanced Medium-Range Air-to-Air Missile (AMRAAM) Program. The office supported the program during the initial validation phase under  the Air Force Research Laboratory's (AFRL's) purview and throughout all later phases.</p>" + "<p>This office is currently focused on conducting and transitioning government-funded research and development tools into the acquisition and test/training markets to include specialized hardware, software, and studies/analyses. Under the current CIMTIC III contract, Dynetics supports the 46TW at Eglin Air Force Base in development and modernization of test facilities and infrastructure required for test and training and evaluation of C4I and munitions systems.</p>" + "<p>The department has extensive capabilities in the areas of multi-sensor signature generation and projection, IR and RF scene projectors and generators, modeling and simulation, active and passive polarimetry, tactical Air Force sensor technology, and special operations surveillance equipment.</p>" + "<p><a href='pdf/FtWaltonBeachFlorida.pdf' target='_blank'>Click here for a Map to the Fort Walton Beach Office</a> (.pdf)</p>";
}

function getVaText()
{
		var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(38.8903896, -77.0841446), 15);

    var myIcon = new GIcon();
    myIcon.image = "graphics/dynetics_marker.png";
    myIcon.iconSize = new GSize(100, 36);
/*    myIcon.shadow = "graphics/dynetics_marker_shadow.png";
    myIcon.shadowSize = new GSize(100, 36);*/
    myIcon.iconAnchor = new GPoint(50, 36);
    myIcon.infoWindowAnchor = new GPoint(50, 0);
    myIcon.imageMap = [ 36,0, 0,0, 100,0, 100,36, 36,0 ];
    var markerOptions = { icon:myIcon };
   
    var marker = new GMarker(map.getCenter(), markerOptions);
/*	var html="<b>Address:</b><br/>" +
         "1235 South Clark St. Suite 1201, Crystal Gateway #1<br/>" +
         "Arlington, VA 22202-4340";
	GEvent.addListener(marker, "click", function () {
	      marker.openInfoWindowHtml(html);
        });*/
    map.addOverlay(marker);
	map.setUIToDefault();

	document.getElementById('locationInfo').innerHTML = "<h2>Arlington, Virginia</h2><p><strong>1235 South Clark St. Suite 1201, <br>Crystal Gateway #1, Arlington, VA 22202-4340<br>Phone (703) 414-5801<br>Fax (703) 414-5810</strong></p>" + "<p>Dynetics' Strategic Programs Division, located in Arlington, Virginia, supports National Capital Region (NCR) Department of Defense (DoD) customers with exceptional congressional affairs, strategic planning, systems acquisition, and program management services. The division also provides its technical services to customers in Ft. Belvoir, Virginia; Ft. Meade, Maryland; and Suffolk, Virginia.</p>" + "<p>The division's capabilities are focused on providing very experienced professionals to augment military headquarters staffs in several areas of program support.</p>" + "<p>The U.S. Army is our primary customer, but we also provide technical services to the Missile Defense Agency (MDA) and Joint Forces Command.</p>" + "<p><a href='pdf/ArlingtonVirginia.pdf' target='_blank'>Click here for a Map to the DC Office</a> (.pdf)</p>";
}

function getTnText()
{
		var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(35.364585, -86.062499), 15);

    var myIcon = new GIcon();
    myIcon.image = "graphics/dynetics_marker.png";
    myIcon.iconSize = new GSize(100, 36);
/*    myIcon.shadow = "graphics/dynetics_marker_shadow.png";
    myIcon.shadowSize = new GSize(100, 36);*/
    myIcon.iconAnchor = new GPoint(50, 36);
    myIcon.infoWindowAnchor = new GPoint(50, 0);
    myIcon.imageMap = [ 36,0, 0,0, 100,0, 100,36, 36,0 ];
    var markerOptions = { icon:myIcon };
   
    var marker = new GMarker(map.getCenter(), markerOptions);
/*	var html="<b>Address:</b><br/>" +
         "1235 South Clark St. Suite 1201, Crystal Gateway #1<br/>" +
         "Arlington, VA 22202-4340";
	GEvent.addListener(marker, "click", function () {
	      marker.openInfoWindowHtml(html);
        });*/
    map.addOverlay(marker);
	map.setUIToDefault();

	document.getElementById('locationInfo').innerHTML = "<h2>Tullahoma, Tennessee</h2><p><strong>1099 Avenue C<br>Arnold AFB, TN 37389-9013<br>Phone (931) 454-5762</strong></p>" + "<p>Dynetics' Strategic Programs Division, located in Arlington, Virginia, supports National Capital Region (NCR) Department of Defense (DoD) customers with exceptional congressional affairs, strategic planning, systems acquisition, and program management services. The division also provides its technical services to customers in Ft. Belvoir, Virginia; Ft. Meade, Maryland; and Suffolk, Virginia.</p>" + "<p>The division's capabilities are focused on providing very experienced professionals to augment military headquarters staffs in several areas of program support.</p>" + "<p>The U.S. Army is our primary customer, but we also provide technical services to the Missile Defense Agency (MDA) and Joint Forces Command.</p>" + "<p><a href='pdf/ArlingtonVirginia.pdf' target='_blank'>Click here for a Map to the DC Office</a> (.pdf)</p>";
}