<% Dim objConn Dim objRS Dim strDSN Dim strSQL Dim tipContent Dim tipHead Const adOpenStatic = 3 Const adLockReadOnly = 1 Set objConn = Server.CreateObject("ADODB.Connection") Set objRS = Server.CreateObject("ADODB.Recordset") objConn.Open MM_TGM_STRING strSQL = "use TGM SELECT * FROM tips WHERE status = 1" objRS.Open strSQL, objConn, adOpenStatic,adLockReadOnly tipContent = "htmlcode += '" & objRS("tip") & "'" whichFN=server.mappath("script/tipsMonth.js") ' first, create the file out of thin air Set fstemp = server.CreateObject("Scripting.FileSystemObject") Set filetemp = fstemp.CreateTextFile(whichFN, true) ' true = file can be over-written if it exists ' false = file CANNOT be over-written if it exists tipHead = "htmlcode += ''") filetemp.WriteLine("htmlcode += '

Tip of the Month
'" filetemp.WriteLine("var htmlcode = ''") filetemp.WriteLine(tipHead) filetemp.WriteLine(tipContent) filetemp.WriteLine("htmlcode += '

'") filetemp.WriteLine("htmlcode += '

More Tips 
'") filetemp.WriteLine("document.write(htmlcode)") filetemp.Close set filetemp=nothing set fstemp=nothing %> TGM - Turbine Generator Maintenance, Inc.

On Line, On Time

Turbine Generator Maintenance, Inc. (TGM) performs turnkey inspections and repairs on steam turbines, combustion turbines, generators and associated equipment for the majority of segments within the utility and heavy industrial markets.

Quality and service, combined with integrity, have made TGM the OEM alternative for turbine and generator maintenance clients throughout the United States, South America and Caribbean for the last twenty years. Those who have worked with TGM know that they can expect technically proficient work - completed on time, in a professional manner and at a competitive price.

Fast Fact:  96% of our jobs are completed on time or sooner

COMBUSTION SERVICES DIVISION

TGM Combustion Services Division provides turnkey inspections and repairs for General Electric and Westinghouse frame combustion turbines, generators (1 – 300 MW) and balance of plant equipment.

 

STEAM SERVICES DIVISION

TGM Steam Services Division provides turnkey inspections for all manufacturer’s steam turbines, generators and balance of plant equipment for fossil units from 1 – 300 MW.