/*************************************************************************
  This code is from Dynamic Web Coding at dyn-web.com
  Copyright 2003-5 by Sharon Paine 
  See Terms of Use at www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/

// adjust horizontal and vertical offsets here
// (distance from mouseover event which activates tooltip)

Tooltip.offX = 4;  
Tooltip.offY = 4;
Tooltip.followMouse = false;  // must be turned off for hover-tip

// tooltip content variables

var moreSidebar = '<p class="case-study">There are tradeoffs to implementing sustainable features into an older structure: difficulty securing design approval for historic properties, inflated cost figures, and the need for third party checks. These tradeoffs exist but can be overcome with proper information and skilled professionals.</p>';

var syn1 = '<p class="case-study"><em>Preservation is simply having the good sense to <strong>hold on to things that are well designed</strong>, that link us with our past in a meaningful way</em>. Before modern technologies, homes were designed to work with their natural environment, not against. Design practices highlighted natural ventilation, day lighting, and spatial relationships that worked together to optimize natural energy in a structure. Older buildings tend to display a <strong>higher caliber of craftsmanship</strong> and <strong>durable materials</strong>. These features make older structures desirable to preserve for future generations.</p><p><em>Good building practices featured in Upstate Forever:</em></p><ul class="case-study"><li>Large windows and transom design utilizes daylight for over 75% of interior space.</li><li>High ceilings and windows optimize ventilation and airflow in the home.</li><li>Southern-facing axis optimizes natural daylight hours which enables passive solar heating during winter months.</li><li>Quality craftsmanship in original trim, staircase, and windows recognized and reused in rehabilitation.</li><li>Durable materials like old-growth wood and bricks in original structure reduce the need for new materials.</li><li>Upstate Forever received LEED credits for daylighting and views, controllability of lighting systems, and resource reuse.</li></ul>';

var syn2 = '<p class="case-study"><em>An immediate advantage of older buildings is that a building already exists</em>. Preserving a structure, rather than building new, reduces the need for new materials. Reusing materials original to a structure <strong>recognizes and embodies resources</strong> and energy already expended. A sound infrastructure eliminates the need to excavate new land and lay a new building foundation. The U.S. Green Building council recognizes this preservation benefit through a Building Reuse Credit in their Leadership in Energy and Environmental Design (LEED) certification. Forty percent of waste that reaches a landfill is construction waste. Restoring older homes ensures less demolition and construction debris. Choosing to sort and recycle rehabilitation debris can result in significant reductions in final landfill waste. Finding new ways to repurpose, recycle, and reuse existing materials diverts already excavated materials from reaching a landfill and reduces the amount of new materials required for a building project.</p><p><em>Retention of original building stock in Upstate Forever:</em></p><ul class="case-study"><li>96% of the original structure area was reused in the Upstate Forever rehabilitation.</li><li>Repurposed materials include bricks used as new building material in exterior walkway, original windows as office partitions, and plumbing fixtures.</li><li>Original trim and staircase were recognized and reused in the rehabilitation. The trim was removed during construction, refurbished, and reinstalled.</li><li>Recycled materials were selected for carpet, cabinets, flooring, and furniture, totaling 10% of new material costs.</li><li>75% of construction waste was diverted from a landfill, a whopping 75 tons.</li><li>Upstate Forever received LEED credits for building reuse, resource reuse, and recycled content.</li></ul>';

var syn3 = '<p class="case-study"><em>Preservation and environmentalism share a common goal: <strong>conserving natural and cultural resources for future generations</strong></em>. Retention of history and authenticity is the goal of historic preservation projects. Preservation focuses on existing neighborhoods and infrastructure that can link a community to its roots in a sustainable way. Reusing land that has already been cleared prevents new land from excavation. This efficient land use reduces the depletion of natural and cultural resources and prevents urban sprawl. Older structures are generally centrally located. Revitalizing these properties encourages the redevelopment of compact, walkable communities. Bike racks, showers, and accesses to public transit are initiatives highlighted by LEED to encourage the rehabilitation of centrally located properties and for occupants to take advantage of alternative commuting. Adaptive reuse can rejuvenate abandoned buildings and revitalize historic urban centers.</p><p><em>Cultural ties strengthened by Upstate Forever project:</em></p><ul class="case-study"><li>Upstate Forever is an adaptive reuse project in the historic Pettigrew District. The project turned a residential structure built in 1916 into modern office space for Upstate Forever.</li><li>The home was in such poor condition that the purchasing price of the lot deducted the cost to tear down the existing structure. The rehabilitation prevented the building from destruction and repurposed it for office space.</li><li>The reuse of the original infrastructure eliminated the need for a new excavation site, preserving precious upstate land resources.</li><li>The building is located within biking distance of downtown Greenville. Bike racks were installed to encourage bike commuters.</li><li>Green technologies were implemented into the home with approval from the Greenville Historic Preservation Commission. Local approval reaffirmed that the added features do not compromise the historic character the older building and set a new standard for sustainable preservation projects in the area.</li><li>Upstate Forever received LEED credits for development density and community connectivity, and alternative transportation.</li></ul>';

var syn4 = '<p class="case-study">Rehabilitating an older building requires <strong>creative and flexible planning</strong> from every contributor in the project&rsquo;s cycle. Full spectrum participation empowers building owners, designers, contractors, and construction workers at each point in the building process to get creative in formulating unique solutions to financial, political, design, and construction obstacles. Historic property design guidelines are set forth nationally by the Secretary of the Interior and interpreted locally by preservation boards. Working within such guidelines requires unique and innovative solutions to maintain a structure&rsquo;s authenticity and integrity while integrating sustainable design elements. Modeling non-invasive, sustainable features can elevate the importance of preserving the environment and cultural resources simultaneously for future generations. Most importantly, adding green technologies to historic properties it can redefine the standard of a building&rsquo;s integrity. When the original use for a building is no longer viable, a creative <strong>adaptive reuse can offer an economic model for preservation</strong>. For example, abandoned industrial textile buildings can be repurposed for commercial and residential uses, and, in the case of Upstate Forever, a residential building that is now in a commercial district can be repurposed for office.</p><p><em>Innovative design featured in Upstate Forever:</em></p><ul class="case-study"><li>Minimally visible solar panels were added to roof of the structure, providing energy for water heating and over 25% of electrical power.</li><li>Modular green roof system features provides sound insulation, reduced water runoff and heat island reduction in structure.</li><li>Rain barrels collect rainwater to meet 100% of irrigation needs for native plants and green roof.</li><li>Sealed crawl space provides a clean and semi-conditioned space for ductwork. This reduces HVAC load and promotes indoor air quality</li><li>Residential building was adapted for commercial office space for Upstate Forever.</li><li>Upstate Forever received LEED credits for reducing heat-island effect, water efficient landscaping, and green power.</li></ul>';

var tra1 = '<p class="case-study">Local design guidelines for historic renovations are designed to maintain the historical significance and the physical integrity of a property. <strong>Two specific guidelines are at disjunction with sustainable retrofitting</strong>: avoid the addition of non-traditional elements and preserve the integrity of the building in its proper time period. Many sustainable design technologies could violate these standards. Features like solar panel technology, green roofs, and rain irrigation systems are visible from a structure&rsquo;s exterior. Aesthetically, these modern additions could compromise the architectural style and historical visage of a property. If a structure is on the national historic register or located within a historic district, design plans must be approved by a local historic preservation board. Projects including green features could be vetoed depending on the board&rsquo;s level of conservatism and traditionalism.</p><p><em>Design features in question for Upstate Forever:</em></p><ul class="case-study"><li>Upstate Forever wished to implement rooftop solar technologies in the rehabilitation.</li><li>Architect team from Johnston Design Group presented several solar technology options from to Greenville Historic Preservation board for review. The options modeled minimally invasive and more complex models.</li><li>The least visible solar panel option was considered in a vote. Tied at four against four, an undecided board member elected to pass the solar retrofit.</li><li>This vote recognizes the hesitation of historic boards to allow the addition of green technologies to historic properties. Simultaneously, it displays willingness to compromise with creative and flexible use of minimally invasive models.</li></ul>';

var tra2 = '<p class="case-study">There are two main polluters to indoor air quality: biological contaminates, like mold, dust, and debris, and chemical contaminates, like volatile compounds, asbestos, and formaldehydes. Preservation projects run into most indoor air quality setbacks as a result of biological contaminates. The HVAC system is often the source of air contamination because of moisture presence and subsequent mold growth. Ductwork in older homes is usually housed in an unsealed space, resulting in an environment for air exchange filled with dust and debris. This air is filtered inside of the building and compromises air quality.  Testing potential sites of contamination, cleaning and replacing problem spots, and off-gassing new materials in construction project can be costly and time consuming in a rehabilitation project.</p><p><em>Indoor air quality setbacks in Upstate Forever:</em></p><ul class="case-study"><li>Tests were performed on any potential asbestos or lead based paint. Any hazardous materials were removed from structure.</li><li>Mold analysis identified and removed any excess mold growth from the building.</li><li>Sources for potential new mold growth were removed (primarily water).</li><li>Crawlspace sealed and band joist was insulated to create a clean, semi-conditioned space for air exchange.</li><li>Air conditioning ducts were thoroughly cleaned and replaced were necessary.</li><li>Mold resistant (paperless) drywall was selected at exterior walls to prevent future water accumulation and mold growth.</li><li>Low VOC paints and formaldehyde-free finishes were installed in the building&rsquo;s interior.</li><li>Full building flush-out introduced fresh air into structure to off-gas new materials added in construction.</li><li>Air quality inspection was performed upon project completion.</li></ul>';

var tra3 = '<p class="case-study">Developing an open and trustful relationship between suppliers, architects, contractors, supervisors, construction workers, and end use customer is essential to a green initiative&rsquo;s success.  The use of third-party checks can ensure accountability at all project levels.  Building commissioners and Leadership in Energy and Environmental Design (LEED) certification are third-party checks specific to green building. Building commissioning provides documented confirmation that building systems function according to criteria set forth in the project documents to satisfy the owner&rsquo;s operational needs. For green building, this primarily focuses on achieving desired energy and water efficiency requirements set forth by the owner through. LEED is an internationally recognized green building certification system, providing third-party verification that a building or community was designed and built using strategies aimed at improving performance across all the metrics that matter most: energy savings, water efficiency, CO2 emissions reduction, improved indoor environmental quality, and stewardship of resources and sensitivity to their impacts. The added time and money of third-party checks is a tradeoff to sustainable design, but it ensures that the owner&rsquo;s goal of a green project is achieved.</p><p><em>Third-party checks used in Upstate Forever:</em></p><ul class="case-study"><li>A building commissioner was hired at project onset. The commissioner devised a strategy for achieving owner project requirements, ensured that architect and engineer were working to meet building requirements, and tested building systems upon project completion to make sure owner&rsquo;s goals green initiatives were met.</li><li>Johnston Design Group was contracted for construction administration. They held twice monthly progress meetings and reviewed submittals for water, energy, and air quality design. </li><li>The project achieved LEED platinum certification. The certification process provided guidelines for achieving a whole-building approach to sustainable building focusing on five areas: sustainable site development, water savings, energy savings, material selection, and indoor air quality.</li></ul>';

var tra4 = '<p class="case-study">There is an up-front cost premium for going green. However, the premium doesn&rsquo;t necessarily result from going &ldquo;green&rdquo; but rather from the scope that green project entail. <strong>Sustainable projects are more detailed and rigorous which results in a higher design fee</strong>. There are two strategies for green rehabilitation: a more natural approach, which optimizes embodied energy in a building, and a technological approach, which implements green technologies into a structure. The natural approach shouldn&rsquo;t cost more to design; you shouldn&rsquo;t pay extra for a project of comparable scope. High up-front costs attached to green technologies result from the cost of materials and the extra effort invested into implementing the feature. Costs can be curbed by a myriad of <strong>tax incentives and energy savings</strong>. This information is widely available and helps to calculate project payback and environmental impact helping to gauge whether a project makes economical sense. Buying locally sourced, rapidly renewable, recycled, and recyclable materials are responsible purchasing strategies for rehabilitation projects.</p><p><em>Overcoming the green cost premium in Upstate Forever:</em></p><ul class="case-study"><li>Upstate Forever uses 57% less energy than a conventional building.</li><li>Reuse of existing materials cut new materials cost by 22.5%.</li><li>Nearly 50% of purchased materials were made locally reducing shipping costs and aiding local economy.</li></ul>';


function doTooltip(e, msg) {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.clearTimer();
  var tip = document.getElementById? document.getElementById(Tooltip.tipID): null;
  if ( tip && tip.onmouseout == null ) {
      tip.onmouseout = Tooltip.tipOutCheck;
      tip.onmouseover = Tooltip.clearTimer;
  }
  Tooltip.show(e, msg);
}

function hideTip() {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.timerId = setTimeout("Tooltip.hide()", 300);
}

Tooltip.tipOutCheck = function(e) {
  e = dw_event.DOMit(e);
  // is element moused into contained by tooltip?
  var toEl = e.relatedTarget? e.relatedTarget: e.toElement;
  if ( this != toEl && !contained(toEl, this) ) Tooltip.hide();
}

// returns true of oNode is contained by oCont (container)
function contained(oNode, oCont) {
  if (!oNode) return; // in case alt-tab away while hovering (prevent error)
  while ( oNode = oNode.parentNode ) if ( oNode == oCont ) return true;
  return false;
}

Tooltip.timerId = 0;
Tooltip.clearTimer = function() {
  if (Tooltip.timerId) { clearTimeout(Tooltip.timerId); Tooltip.timerId = 0; }
}

Tooltip.unHookHover = function () {
    var tip = document.getElementById? document.getElementById(Tooltip.tipID): null;
    if (tip) {
        tip.onmouseover = null; 
        tip.onmouseout = null;
        tip = null;
    }
}

dw_event.add(window, "unload", Tooltip.unHookHover, true);

