	
    var text=[], timer=[]
	var posY=0, posX=0
	var println
	
    // text array [INDEX,"TITLE","ADDRESS"]
	text[0]=[0,"",""]
	text[1]=[1,"ENGINEERED PROCESS CONTROLS LLC","Alaska, Washington, Oregon, N. Idaho<BR>All Industries<BR>16613 226th Avenue, N.E.<BR>Woodinville, WA 98077<BR>Phone: (425) 844-8901<BR>Fax:   (425) 844-8904<BR>Website: <a target='_blank' href='http://www.engineeredprocess.com'>www.engineeredprocess.com</a>"]
	text[2]=[2,"CTi CONTROLTECH","All Industries<BR>N. California, Nevada <BR>14 Beta Court<br>San Ramon, CA 94583<BR>Phone: (925) 208 - 4250<BR>Fax:    (925) 208 - 4251<BR>Website: <a target='_blank' href='http://www.cti-ct.com'>www.cti-ct.com</a>"]
	text[3]=[3,"SYLDON CORPORATION","All Industries<BR>S. California, S.W. Nevada<BR>P. O. Box 789<BR>Seal Beach, CA 90740-0789<BR>Phone: 714-969-5050<BR>Fax: 714-960-5540"]
	text[4]=[4,"ADAMS VALVES - USA","12303 Cutten Rd.<BR>Houston, TX 77043<BR>Phone: 281-453-3750<BR>Fax: 281-453-3749<BR>Website: <a target='_blank' href='http://www.adamsvalves-usa.com'>www.adamsvalves-usa.com</a>"]
	text[5]=[5,"ADAMS VALVES - USA","12303 Cutten Rd.<BR>Houston, TX 77043<BR>Phone: 281-453-3750<BR>Fax: 281-453-3749<BR>Website: <a target='_blank' href='http://www.adamsvalves-usa.com'>www.adamsvalves-usa.com</a>"]
	text[6]=[6,"TAVCO SALES & SERVICE, CO.","All Industries<BR>Arizona, W. New Mexico<BR>526 E. Juanita Ave., Suite #6<BR>Mesa, AZ 85204<BR>Phone: 480-892-7816<BR>Fax: 480-892-5264<BR><a target='_blank' href='http://www.tavco-inc.com'>www.tavco-inc.com</a>"]
	text[7]=[7,"",""]
	text[8]=[8,"SWANSON FLO-SYSTEMS CO.","All Industries<BR>N. & S. Dakota, Minnesota<BR>151 Cheshire Lane North, Suite 700<BR>Plymouth, MN 55441<BR>Phone: 763-383-4700<BR>Fax: 763-383-4772<BR>Website: <a target='_blank' href='http://www.swanflo.com'>www.swanflo.com</a>"]
	text[9]=[9,"FLUID TECHNOLOGY CORPORATION","All Industries<BR>       Nebraksa, Iowa <BR> 1631 N.E. 55th Avenue <BR>Des Moines, IA 50313<BR>Phone: 515-263-9210 <BR>Fax: 515-263-9224<BR> Website: <a target='_blank' href='http://www.fluidtechcorp.com'>www.fluidtechcorp.com</a>"]
	text[10]=[10,"KANSAS CITY EQUIPMENT COMPANY","All Industries<BR>Missouri, Kansas<BR>6731 West 121st Street<BR>Overland Park, KS 66209 <BR>Phone: 913-338-0500<BR>Fax: 913-338-0566<BR>Website: <a target='_blank' href='http://www.kansascityequipment.com/'>www.kansascityequipment.com</a>"]
	text[11]=[11,"ADAMS VALVES - USA","12303 Cutten Rd.<BR>Houston, TX 77043<BR>Phone: 281-453-3750<BR>Fax: 281-453-3749<BR>Website: <a target='_blank' href='http://www.adamsvalves-usa.com'>www.adamsvalves-usa.com</a>"]
	text[12]=[12,"BARO CONTROLS, INC.","All Industries<BR>S.E. Texas <BR>4655 Wright Road, Suite 200<BR> Central Texas Stafford, TX 77477<BR> Phone: (281) 561 -0900<BR>Fax: (281) 561 -0826 <BR>Website: <a target='_blank' href='http://www.barocompanies.com'>www.barocompanies.com</a>"]
    text[13]=[13,"DESSELLE-MAGGARD CORPORATION","All Industries<BR>S.E. Texas, Louisiana, Arkansas, Mississippi, Tennessee, W. Kentucky<BR>19151 Highland Rd.<BR>Baton Rouge, LA 70879<BR>Phone: 225-753-3290<BR>Fax: 225-751-5545<BR>Website: <a target='_blank' href='http://www.dmcincontrol.com>www.dmcincontrol.com</a>"]
    text[14]=[14,"THORCO USA","All Industries<BR>Illinois, S. Wisconsin, E. Missouri, N. Indiana<BR>600 Territorial Drive, Unit F<BR>Bolingbrook, IL 60440 <BR>Phone: 630-759-2100<BR>Fax: 630-225-5308"]
    text[15]=[15,"",""]
    text[16]=[16,"NORVAC  VALVE  EXPRESS","All Industries<BR>Ohio, Indiana, E. Kentucky<BR>334 Grove Avenue<BR>Cincinnati, OH 45215-2214<BR>Phone: 513-821-7660<BR>Fax: 	513-821-7669<BR>Website: <a target='_blank' href='http://www.norvacvalveexpress.com'>www.norvacvalveexpress.com</a>"]
    text[17]=[17,"ADAMS VALVES - USA","12303 Cutten Rd.<BR>Houston, TX 77043<BR>Phone: 281-453-3750<BR>Fax: 281-453-3749<BR>Website: <a target='_blank' href='http://www.adamsvalves-usa.com'>www.adamsvalves-usa.com</a>"]
    text[18]=[18,"",""]
    text[19]=[19,"CPI CONTROLS","All Industries except Municipal Water & Waste Water<BR>New England States<BR>29 Mendon Avenue<BR>Pawtucket, RI 02861<BR>Phone: 401-722-5900<BR>Fax: 401-723-5270<BR>Website: <a target='_blank' href='http://www.cpicontrols.com'>www.cpicontro1s.com</a>"] 
	text[20]=[19,"ATLANTIC FLUID TECHNOLOGY, INC.","Water & Waste Water<BR>New England States<BR>354 West Boylston St., Suite 221<BR>West Boylston, MA  01583-2342<BR>Phone: 508-755-0440<BR>Fax: 508-755-9589<BR> Website: <a target='_blank' href='http://www.aftinc.com'>www.aftinc.com</a>"]
	text[21]=[20,"TRI-FLOW CORP.","All Industries<BR>E.Pennsylvania, NewJersey, Maryland,Delaware, Washington D.C., Virgina <BR>150 Cooper Road, A1<BR>W.Belin, N.J. 08091<BR>P.O. Box 2036<BR>Medford, NJ 08055-7036<BR>Phone: 856-768-7159<BR>Toll Free: 800-678-4908<BR>Fax: 856-768-2013<BR>Website: <a target='_blank' href='http://www.triflowcorp.com'>www.triflowcorp.com</a>"]
	text[22]=[21,"C. G. POWERTECH, INC.","All Industries except Municipal Water & Waste Water<BR> New York City,  N. New Jersey<BR>216 Newark Pompton Turnpike<BR>P. O. Box 368 <BR>Pequannock,NJ 07440<BR>Phone: 973-628-0777<BR>Fax: 973-628-0990<BR>After hrs pager: 201-662-5336<BR>Websiste: <a target='_blank' href='http://www.cgpowertech.com'>www.cgpowertech.com</a>"]
	text[23]=[22,"TRI-FLOW CORP.","All Industries<BR>E.Pennsylvania, NewJersey, Maryland,Delaware, Washington D.C., Virgina <BR>150 Cooper Road, A1<BR>W.Belin, N.J. 08091<BR>P.O. Box 2036<BR>Medford, NJ 08055-7036<BR>Phone: 856-768-7159<BR>Toll Free: 800-678-4908<BR>Fax: 856-768-2013<BR>Website: <a target='_blank' href='http://www.triflowcorp.com'>www.triflowcorp.com</a>"]
	text[24]=[23,"THE MASSEY COMPANY, INC.","All Industries<BR>North Carolina, South Carolina, Georgia (except power - see #24 for GA power)<BR> 500 East Central Avenue<BR>Mt. Holly, NC 28120<BR>Phone: 704-827-9661<BR>Fax: 704-827-8979<BR>Website: <a target='_blank' href='http://www.themasseycompany.com'>www.themasseycompany.com</a>"]
	text[25]=[24,"SEVERE SERVICE SPECIALISTS, INC","All Industries<BR>Florida, Alabama, Georgia (power only, see #23 for GA other industries<BR>4251 Praytor Way, Suite 121<BR>Trussville, AL 35173<BR>Phone: 205-655-1163<BR>Fax: 205-655-1164<BR>Website: <a target='_blank' href='http://www.sssvalve.com'>www.sssvalve.com</a>"]
	text[26]=[25,"SEVERE SERVICE SPECIALISTS, INC","All Industries<BR>Florida, Alabama, Georgia (power only, see #23 for GA other industries<BR>4251 Praytor Way, Suite 121<BR>Trussville, AL 35173<BR>Phone: 205-655-1163<BR>Fax: 205-655-1164<BR>Website: <a target='_blank' href='http://www.sssvalve.com'>www.sssvalve.com</a>"]
	text[27]=[26,"PROCESS SYSTEMS LIMITED","All Industries<BR>Trinidad <BR>Lot #8 IDC Industrial Estate<BR>Harmony Hall, Marabella<BR>Trinidad, West Indies<BR>Phone: 868-658-5682<BR>Fax: 868-658-5686"]
	text[28]=[27,"C G INDUSTRIAL SPECIALTIES LTD","2812 Ellwood Drive SW Edmonton<BR>Alberta T6X OA9 Canada<BR>Phone: 780-462-1014<BR>Fax: 780-462-7953<BR>Website: <a target='_blank' href='http://www.cgis.ca'>www.cgis.ca</a>"]
	text[29]=[27,"C G INDUSTRIAL SPECIALTIES LTD","8980 Oak Street<BR>Vancouver, BC V6P 4B7 Canada<BR>Phone: 604-263-1671<BR>Fax: 604-263-0947<BR>Website: <a target='_blank' href='http://www.cgis.ca'>www.cgis.ca</a>"]
	text[30]=[28,"QIP EQUIPMENT, LTD.","5100 South Service Road, Unit 8<BR>Burlinton, Ontario L7L 6A5<BR>Phone: 905-548-7200<BR>Fax: 905-631-8623<BR>"]
	text[31]=[29,"PIPING PRODUCTS COMPANY","Process & Power<BR>Upstate New York<BR>3241 Far Reach Dr.<BR>Baldwinsville, New York 13027<BR>Phone: 315-638-1181<BR>Fax: 315-638-8440"]
	document.onmousemove = setPosition;

    function setPosition(evt) {posX=event.x;posY=event.y;}

	function hideBallon() {Balloon.style.visibility='hidden';}

	function showBalloon(index) {
		hideBallon();
		
		var head="";
		var body="";
		var foot="";
		var prin="";
		println="";
		var i=0;
		for(i=0; i<text.length; i++ ) {
			
		   if(text[i][0]==index) {

			   head="<TABLE WIDTH='100%' BORDER='0' CELLPADDING='0' CELLSPACING='0'><TR><TD><FONT SIZE='1' FACE='Verdana,Arial,Helvetica' COLOR='black'><B>"+text[i][1]+"</B></FONT></TD>"
               prin="<TABLE WIDTH='100%' BORDER='0' CELLPADDING='0' CELLSPACING='0'><TR><TD><FONT SIZE='2' FACE='Verdana,Arial,Helvetica' COLOR='black'><B>"+text[i][1]+"</B></FONT></TD>" 
			   
			    if(body.length==0) {
				   head=head+"<TD ALIGN='right'><IMG id='close' SRC='close.png' ALT='Close' hspace='2' onclick='javascript:hideBallon();'></TD>"
			   } else {
				   body=body+"<BR>"
				   println=println+"<BR>"
			   }
			   
			   head=head+"</TR></TABLE>"
			   prin=prin+"</TR></TABLE>"
			   
	           body=body+head+"<TABLE WIDTH='100%' BORDER='0' CELLPADDING='2' CELLSPACING='0' BGCOLOR='white'><TR><TD VALIGN='top'><FONT SIZE='1' FACE='Verdana,Arial,Helvetica' COLOR='black'>"+text[i][2]+"</FONT></TD></TR></TABLE>"
	           println=println+prin+"<TABLE WIDTH='100%' BORDER='0' CELLPADDING='2' CELLSPACING='0' BGCOLOR='white'><TR><TD VALIGN='top'><FONT SIZE='2' FACE='Verdana,Arial,Helvetica' COLOR='black'>"+text[i][2]+"</FONT></TD></TR></TABLE>"
		   }
		}
		
		if(body.length>0) {
			
		    foot="<TABLE WIDTH='100%' BORDER='0' CELLPADDING='0' CELLSPACING='0'>" +
			 "    <TR>" +
			 "        <TD ALIGN='right'>" +
		     "            <FONT SIZE='1' FACE='Verdana,Arial,Helvetica'>" +
		     "                <A HREF='#' ONCLICK='javascript:regionPrint();' style='text-decoration:none;color:black'><B>[Print]</B></A>" +
		     "            </FONT>" +
		     "        </TD>"+				 
			 "    </TR>" +
			 "</TABLE>"
	   }	

	   Balloon.innerHTML="<TABLE  BORDER='0' CELLPADDING='2' CELLSPACING='0' BGCOLOR='white'><TR><TD>"+body+"<TR><TD>"+foot+"</TD></TR></TD></TR></TABLE>"

	   
		tarea = {Xpos:10, Ypos:10, Width:parseInt(Balloon.offsetWidth+4)}
		var Xaxis=posX+document.body.scrollLeft+tarea.Xpos
		var Yaxis=posY+document.body.scrollTop+tarea.Ypos
		if(posY+Balloon.offsetHeight > document.body.clientHeight) 
			Yaxis = Yaxis - (((posY+Balloon.offsetHeight)-document.body.clientHeight)+20)
		Balloon.style.left=Xaxis;
		Balloon.style.top=Yaxis;
	    Balloon.style.visibility='visible'
			
	}
	
    function regionPrint() {
	   hideBallon();
       var pw = window.open("about:blank", "_new");
       pw.document.open();
       pw.document.write(pageToPrint());
       pw.document.close();
    }	

    function pageToPrint() {
       return "<HTML>" +
              "   <HEAD>" +
              "      <TITLE></TITLE>" +
              "      <SCRIPT>" +
              "         function loadPage() {" +
              "            setTimeout('printAndClose()', 20);" +
              "         }" +
              "         function printAndClose() {" +
              "            window.print();" +
              "            window.close();" +
              "         }" +
              "      </SCR"+"IPT>" +
              "   </HEAD>" +
              "   <BODY onLoad='loadPage()'>" +
                      println + 
              "   </BODY>" +
              "</HTML>";
    }	

