if (document.referrer.indexOf('google.com') > -1)
    $var = '<h4 align="center"><strong>Piping Technology &amp; Products (PT&amp;P)</strong>, along with its wholly  owned subsidiaries, manufacture a variety of <a href="http://www.pipingtech.com/products/index.html">high-quality engineered pipe supports</a>.&nbsp;From <a href="http://www.pipingtech.com/products/pipe_supports.htm">pipe supports</a>, <a href="http://www.pipingtech.com/products/exp_joints.htm">expansion joints</a>, <a href="http://www.pipingtech.com/products/coldhot_shoes.htm">pre-insulated supports</a>, <a href="http://www.pipingtech.com/products/ptpcat/misc/instrument.htm">instrument supports</a>, and <a href="http://www.pipingtech.com/products/fabricated.htm">miscellaneous fabrication</a> to <a href="http://www.pipingtech.com/services/drafting.htm">various engineering</a> and <a href="http://www.pipingtech.com/technical/index.html">technical services</a>, PT&amp;P has  decades of experience providing products and services for all your engineering  and construction needs.<br /><button>Hide</button></h4>';
else if (document.referrer.indexOf('yahoo.com') > -1)
    $var = '<h4 align="center"><strong>Piping Technology &amp; Products (PT&amp;P)</strong>, along with its wholly  owned subsidiaries, manufacture a variety of <a href="http://www.pipingtech.com/products/index.html">high-quality engineered pipe supports</a>.&nbsp;From <a href="http://www.pipingtech.com/products/pipe_supports.htm">pipe supports</a>, <a href="http://www.pipingtech.com/products/exp_joints.htm">expansion joints</a>, <a href="http://www.pipingtech.com/products/coldhot_shoes.htm">pre-insulated supports</a>, <a href="http://www.pipingtech.com/products/ptpcat/misc/instrument.htm">instrument supports</a>, and <a href="http://www.pipingtech.com/products/fabricated.htm">miscellaneous fabrication</a> to <a href="http://www.pipingtech.com/services/drafting.htm">various engineering</a> and <a href="http://www.pipingtech.com/technical/index.html">technical services</a>, PT&amp;P has  decades of experience providing products and services for all your engineering  and construction needs.<br /><button>Hide</button></h4>';
else 
   $var = '';
