

if(location.href.indexOf("test.g3.com") > 0){ 
 var base = "http://test.g3.com/smartbt/";
}else{ 
 var base = "http://www.smartbuildingtec.com/";
} 


var quotes = new Array(
"Smart is the ability to integrate tenant services into your Building Management Systems (sub-metering, tenant overtime, critical systems monitoring, and more).",
"Smart is integrating all devices to form a seamless and interoperable network of Building Services.",
"Smart is hiring the right systems integrator to maximize legacy-building systems without sacrificing the latest features and functionality.",
"Smart is making decisions with future integration capabilities in mind.",
"Smart is equipping your buildings with Energy Efficiency systems that provide savings for owners and tenants.",
"Smart is procuring Variable Frequency Drives that include a contractor who can provide and install VFDs with the proper control sequence.",
"Smart is making decisions on BAS installations with future expansion and technologies in mind.",
"Smart is when building owners demand intelligent building systems that provide managers and engineers the data necessary to make strategic operating decisions.",
"Smart is using advancing technologies, such as wireless and power line carrier communication.",
"Smart is using technology that allows for discrete data to be compiled into meaningful reports that can be used for making solid business decisions."
);

var l = quotes.length;

var rnd_no = Math.floor(l*Math.random());

function showQuote(){document.write(quotes[rnd_no]+" <a href='"+base+"getsmart/index.htm' class='nobreak'>read more</a>");}

var insights = new Array(
"38% of total energy consumption&#8212;across all major fuels: gas, electricity, other&#8212;is dedicated to lighting.",
"45% of all buildings are lit when closed.",
//"In the Greater Washington DC region alone, 136,000 buildings are over 50%&#8212;and up to 100%&#8212;lit when closed. And nearly two million buildings in the area are between 1% and 50% lit when closed.", 
"Floor space lit when closed accounted for about $6 billion in waste in the Greater Washington DC region.", 
"49.4% of all buildings are 100% lit when open.",
"The average commercial building (14,400 sq. ft.) consumes 3,037 trillion Btu in a single year, and spends $15,700 annually on electricity.", 
"Less than 2% of existing buildings in the US & Canada have modern lighting control."

);

var l2 = insights.length;

var rnd_no2 = Math.floor(l2*Math.random());

function showInsight(){document.write(insights[rnd_no2]+" <a href='"+base+"insights/index.htm' class='nobreak'>read more</a>");}


function showServices(){
	document.write('<li><a href="'+base+'services/bas.htm">Building Automation Systems</a></li>'+
                   '<li><a href="'+base+'services/ems.htm">Energy Management System</a></li>'+
                   '<li><a href="'+base+'services/tsm.htm">Tenant Services System</a></li>'+
                   '<li><a href="'+base+'services/csm.htm">Critical Systems Monitoring</a></li>'+
				   '<li><a href="'+base+'services/sls.htm">Smart Lighting Solutions</a></li>'+
                   '<li class="head"><a href="'+base+'services/other.htm">Other Products &amp; Services</a></li>'+
                   '<li><a href="'+base+'services/other.htm?show=vfd">Variable Frequency Drives</a></li>'+
                   '<li><a href="'+base+'services/other.htm?show=lc">Lighting Control</a></li>'+
                   '<li><a href="'+base+'services/other.htm?show=es#es1">Energy Services</a></li>'+
                   '<li><a href="'+base+'services/other.htm?show=bt#bt1">BT Direct</a></li>')
};

function showWhySmart(){
	document.write('<li><a href="'+base+'whysmart/whatwedo.htm">What We Do</a></li>'+
                   '<li><a href="'+base+'whysmart/ourhistory.htm">Our History</a></li>'+
                   '<li><a href="'+base+'whysmart/executives.htm">Smart Executives</a></li>')
};

function showNews(){
	document.write('<li><a href="'+base+'news/Y_Wire_Announcement_000.htm">SmartBT Partners with Y-Wire for Lighting Solutions</a></li>'+
				   '<li><a href="'+base+'news/20100312.htm">SmartBT Attended Tridium Conference in May</a></li>'+
				   '<li><a href="'+base+'news/20100405.htm">SmartBT Partners with CORE Energy Solutions</a></li>'+
				   '<li><a href="'+base+'news/20100401.htm">CommBT Announces New Name: SmartBT</a></li>'+				   
				   '<li><a href="'+base+'news/20100205.htm">SmartBT Entertains At ASHRAE</a></li>')
};


