/* cached (type 2) @ Fri, 10 Feb 2012 20:28:25 GMT, sid=14  */
			//JS object: objectid=23976902 datasource=hamiltonadv method=javascript_default
document.write('\n\t\n\t<div class=\"span-31 last box lm-text-ads\" id=\"holds-businessWidget_198695C9\">\n\t\t\n\t\t<div class=\"three-col\">\n\t\t\n\t\t\t\n\t\t\t<h4 class=\"list-head-colour1\">Local Businesses</h4>\n\t\t\t\n\t\t\t\n\t\t\t<div id=\"top-widget-listview\" style=\"display: block;\">\n\t\t\t\t<div class=\"text-ads last\" id=\"businessWidget_198695C9\">\n\t\t\t\t\t\n\t\t\t\t\t<noscript><div><h5><a href=\'http://www.localmole.co.uk/Business/5228509\'>Andi Drain</a></h5><p><a href=\'http://www.localmole.co.uk/Business/5228509\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/5497463\'>Drainage Centre</a></h5><p><a href=\'http://www.localmole.co.uk/Business/5497463\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drain+Unblocking+Equipment\'>More Drain Unblocking Equipment in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/5029331\'>Adc Services</a></h5><p><a href=\'http://www.localmole.co.uk/Business/5029331\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/3866772\'>Underground Inspection Services</a></h5><p><a href=\'http://www.localmole.co.uk/Business/3866772\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/4793380\'>W C Tanker &amp; Drainage Services</a></h5><p><a href=\'http://www.localmole.co.uk/Business/4793380\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/Metro_Rod_ML4_3NP\'>Metro Rod</a></h5><p><a href=\'http://www.localmole.co.uk/Business/Metro_Rod_ML4_3NP\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/5382274\'>Able Cleaning Services</a></h5><p><a href=\'http://www.localmole.co.uk/Business/5382274\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/4764908\'>Dyno Rod</a></h5><p><a href=\'http://www.localmole.co.uk/Business/4764908\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/5228509\'>Andi Drain</a></h5><p><a href=\'http://www.localmole.co.uk/Business/5228509\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/5029331\'>Adc Services</a></h5><p><a href=\'http://www.localmole.co.uk/Business/5029331\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/3866772\'>Underground Inspection Services</a></h5><p><a href=\'http://www.localmole.co.uk/Business/3866772\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/4793380\'>W C Tanker &amp; Drainage Services</a></h5><p><a href=\'http://www.localmole.co.uk/Business/4793380\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/Metro_Rod_ML4_3NP\'>Metro Rod</a></h5><p><a href=\'http://www.localmole.co.uk/Business/Metro_Rod_ML4_3NP\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/5382274\'>Able Cleaning Services</a></h5><p><a href=\'http://www.localmole.co.uk/Business/5382274\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/4764908\'>Dyno Rod</a></h5><p><a href=\'http://www.localmole.co.uk/Business/4764908\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Hamilton/Drains+and+Sewers\'>More Drains and Sewers in Hamilton </a></p></div><div><a href=\'http://www.localmole.co.uk\'> Search LocalMole.co.uk Now </a></div></noscript>\n\t\t\t\t\t\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\n\t\t</div>\n\t\t\n\t</div>\n\t\n\t<script type=\"text/javascript\">\n\t//<![CDATA[\n\n\t\t\n\t\tvar z198695CA = new Object();\n\t\tvar CentIndBusDir = new Object();\n\t\tvar moreURL = \'\';\n\t\t\n\t\tz198695CA.numDisplayResults = 20;\n\t\t\n\t\t\n\t\tz198695CA.premiumBusArray = [];\n\t\tz198695CA.enhancedBusArray = [];\n\t\tz198695CA.basicBusArray = [{\"LOCATION\":\"Hamilton\",\"NAME\":\"Andi Drain\",\"ADDRESS\":\"71 Carron Place, Glasgow, G75 0YL\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.17057\",\"WEBCARDID\":\"33957674a939d14db802e58c0d27ea79\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/5228509\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.7459\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Drainage Centre\",\"ADDRESS\":\"Argyle Crescent, Hamilton, ML3 9EG\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drain+Unblocking+Equipment\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.06935\",\"WEBCARDID\":\"3d05ca26b288179f4790e440b531cd5a\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/5497463\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drain Unblocking Equipment\",\"LATITUDE\":\"55.7776\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Adc Services\",\"ADDRESS\":\"Unit 3 Parkburn Industrial Estate, Hamilton, ML3 0QQ\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.0739\",\"WEBCARDID\":\"b67d0b00b33d942087bd3214ac4e2acb\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/5029331\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.7869\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Underground Inspection Services\",\"ADDRESS\":\"Block 15 West Avenue, Blantyre Ind Est, Blantyre, , ML3 9HT\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.07536\",\"WEBCARDID\":\"6b3cd5619a8bc29714788bdf2062b05a\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/3866772\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.7809\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"W C Tanker & Drainage Services\",\"ADDRESS\":\"Unit 6 Argyle Crescent, Hamilton, ML3 9BH\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.07412\",\"WEBCARDID\":\"96c26b22e8fb82b076f49364734242b8\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/4793380\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.775\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Metro Rod\",\"ADDRESS\":\"Unit 5, Evans Business Centre, Belgrave Street, Bellshill Industrail Estate, Bellshill, Lanarkshire, , ML4 3NP\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.03256\",\"WEBCARDID\":\"805f87cbbf3efac98dea57147b8192d9\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/Metro_Rod_ML4_3NP\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.8258\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Able Cleaning Services\",\"ADDRESS\":\"9 Rochsolloch Road, Airdrie, ML6 9BB\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.00218\",\"WEBCARDID\":\"560aae45a58ae9153be4757d4c6ae456\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/5382274\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.8614\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Dyno Rod\",\"ADDRESS\":\"Unit 6, Clock 15, Clydesmill Industrial Estate, Cambuslang, Glasgow, Lanarkshire, , G32 8RG\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.16934\",\"WEBCARDID\":\"7f4d8f248c7ee03867f39e7b82cae055\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/4764908\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.826\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Andi Drain\",\"ADDRESS\":\"71 Carron Place, Glasgow, G75 0YL\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.17057\",\"WEBCARDID\":\"33957674a939d14db802e58c0d27ea79\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/5228509\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.7459\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Adc Services\",\"ADDRESS\":\"Unit 3 Parkburn Industrial Estate, Hamilton, ML3 0QQ\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.0739\",\"WEBCARDID\":\"b67d0b00b33d942087bd3214ac4e2acb\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/5029331\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.7869\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Underground Inspection Services\",\"ADDRESS\":\"Block 15 West Avenue, Blantyre Ind Est, Blantyre, , ML3 9HT\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.07536\",\"WEBCARDID\":\"6b3cd5619a8bc29714788bdf2062b05a\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/3866772\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.7809\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"W C Tanker & Drainage Services\",\"ADDRESS\":\"Unit 6 Argyle Crescent, Hamilton, ML3 9BH\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.07412\",\"WEBCARDID\":\"96c26b22e8fb82b076f49364734242b8\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/4793380\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.775\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Metro Rod\",\"ADDRESS\":\"Unit 5, Evans Business Centre, Belgrave Street, Bellshill Industrail Estate, Bellshill, Lanarkshire, , ML4 3NP\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.03256\",\"WEBCARDID\":\"805f87cbbf3efac98dea57147b8192d9\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/Metro_Rod_ML4_3NP\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.8258\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Able Cleaning Services\",\"ADDRESS\":\"9 Rochsolloch Road, Airdrie, ML6 9BB\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.00218\",\"WEBCARDID\":\"560aae45a58ae9153be4757d4c6ae456\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/5382274\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.8614\"},{\"LOCATION\":\"Hamilton\",\"NAME\":\"Dyno Rod\",\"ADDRESS\":\"Unit 6, Clock 15, Clydesmill Industrial Estate, Cambuslang, Glasgow, Lanarkshire, , G32 8RG\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Hamilton\\/Drains+and+Sewers\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-4.16934\",\"WEBCARDID\":\"7f4d8f248c7ee03867f39e7b82cae055\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/4764908\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Drains and Sewers\",\"LATITUDE\":\"55.826\"}];\n\t\n\t\t\n\t\tCentIndBusDir.getSelectionIndexes = function(numToSelect, totalNum){\n\t\t\t\n\t\t\tif(numToSelect-1 > totalNum)\n\t\t\t\tthrow(\"Attempting to select \" + numToSelect + \" unique numbers from \" \n\t\t\t\t\t+ totalNum + \".\");\n\t\t\t\n\t\t\t\n\t\t\tvar selArray = new Array();\n\n\t\t\t\n\t\t\tvar selMap = new Object();\n\t\t\t\n\t\t\t\n\t\t\twhile(selArray.length != numToSelect){\n\t\t\t\tvar ranNum = Math.random();\n\t\t\t\tranNum *= totalNum;\n\t\t\t\tranNum = Math.round(ranNum);\n\t\t\t\tif(selMap[ranNum] == undefined){\n\t\t\t\t\tselArray[selArray.length] = ranNum;\n\t\t\t\t\tselMap[ranNum] = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn selArray;\n\t\t}\n\n\n\t\t\n\t\tCentIndBusDir.displayBusinessResults = function(busResObj, numDispRes){\n\t\t\t\n\t\t\tvar widgetDiv = document.getElementById(\"businessWidget_198695C9\");\n\t\t\tvar widgetParentDiv = document.getElementById(\"holds-businessWidget_198695C9\");\n\t\t\t\n\t\t\t\n\t\t\tif(busResObj.premiumBusArray.length == 0\n\t\t\t\t\t\t\t&& busResObj.enhancedBusArray.length == 0 \n\t\t\t\t\t\t\t&& busResObj.basicBusArray.length == 0){\n\t\t\t\tthis.showEmptyResultsMessage(widgetDiv, widgetParentDiv);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tvar resultCount = this.addPremiumListings(busResObj.premiumBusArray, \n\t\t\t\t\t\t\t\t\twidgetDiv, numDispRes);\n\t\t\tresultCount += this.addEnhancedListings(busResObj.enhancedBusArray, \n\t\t\t\t\t\t\t\t\twidgetDiv, numDispRes - resultCount);\n\t\t\tthis.addBasicListings(busResObj.basicBusArray, widgetDiv, numDispRes - resultCount);\n\t\t\t\n\t\t\tCentIndBusDir.addMoreLink(widgetDiv);\n\t\t}\n\t\t\n\t\tCentIndBusDir.addMoreLink = function(divElem){\n\t\t\tdivElem.innerHTML += \"<div><a href=\'\" + moreURL \n\t\t\t\t\t\t\t\t+ \"\'> Search LocalMole.co.uk Now </a></div>\";\n\t\t}\n\t\t\n\t\tCentIndBusDir.addListingToMap = function(busObj){\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\tCentIndBusDir.addPremiumListings = function(busArray, divElem, numDispRes){\n\t\t\t\n\t\t\tif(busArray.length == 0 || numDispRes <= 0)\n\t\t\t\treturn 0;\n\t\t\t\n\t\t\t\n\t\t\tif(busArray.length < numDispRes){\n\t\t\t\t\n\t\t\t\tvar indArr = this.getSelectionIndexes(busArray.length, busArray.length-1);\n\t\t\t}\n\t\t\telse{\n\t\t\t\t\n\t\t\t\tvar indArr = this.getSelectionIndexes(numDispRes, busArray.length-1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tfor(var i=0; i<indArr.length; ++i){\n\t\t\t\tvar busObj = busArray[indArr[i]];\n\t\t\t\tvar htmlStr = \"<div>\";\n\t\t\t\t\n\t\t\t\t\thtmlStr += \"<a href=\'\" + busObj.URL + \n\t\t\t\t\t\t\"\'><img src=\'\" + busObj.IMAGEURL +   \n\t\t\t\t\t\t\"\' alt=\'\' width=\'60\' style=\'max-height:40px\' /></a>\";\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\thtmlStr += \"<h5><a href=\'\" + busObj.URL + \"\'>\" + busObj.NAME + \"</a></h5>\";\n\t\t\t\t\thtmlStr += \"<p><a href=\'\" + busObj.URL + \"\'> Contact details </a></p>\";\n\t\t\t\t\t\n\t\t\t\t\tif(busObj.BUSTYPE != undefined || busObj.LOCATION != undefined){\n\t\t\t\t\t\thtmlStr += \"<p><a href=\'\" + busObj.MORELIKETHISURL + \"\'>More \"; \n\t\t\t\t\t\thtmlStr += busObj.BUSTYPE + \" in \" + busObj.LOCATION + \" </a></p>\";\n\t\t\t\t\t}\n\t\t\t\t\thtmlStr += \"</div>\";\n\t\t\t\t\tdivElem.innerHTML += htmlStr;\n\t\t\t\t}\n\t\t\t\tif (moreURL == \'\'){\n\t\t\t\t\tmoreURL = busObj.MOREURL;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn indArr.length;\n\t\t\t}\n\t\t\n\t\t\tCentIndBusDir.addEnhancedListings = function(busArray, divElem, numDispRes){\n\t\t\t\n\t\t\tif(busArray.length == 0 || numDispRes <= 0)\n\t\t\t\treturn 0;\n\t\t\t\n\t\t\t\n\t\t\tif(busArray.length < numDispRes){\n\t\t\t\t\n\t\t\t\tvar indArr = this.getSelectionIndexes(busArray.length, busArray.length-1);\n\t\t\t}\n\t\t\telse{\n\t\t\t\t\n\t\t\t\tvar indArr = this.getSelectionIndexes(numDispRes, busArray.length-1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tfor(var i=0; i<indArr.length; ++i){\n\t\t\t\tvar busObj = busArray[indArr[i]];\n\t\t\t\tvar htmlStr = \"<div>\";\n\t\t\t\t\n\t\t\t\t\thtmlStr += \"<a href=\'\" + busObj.URL + \n\t\t\t\t\t\t\"\'><img src=\'\" + busObj.IMAGEURL +   \n\t\t\t\t\t\t\"\' alt=\'\' width=\'60\' style=\'max-height:40px\' /></a>\";\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\thtmlStr += \"<h5><a href=\'\" + busObj.URL + \"\'>\" + busObj.NAME + \"</a></h5>\";\n\t\t\t\t\thtmlStr += \"<p><a href=\'\" + busObj.URL + \"\'> Contact details </a></p>\";\n\t\t\t\t\t\n\t\t\t\t\tif(busObj.BUSTYPE != undefined || busObj.LOCATION != undefined){\n\t\t\t\t\t\thtmlStr += \"<p><a href=\'\" + busObj.MORELIKETHISURL + \"\'>More \"; \n\t\t\t\t\t\thtmlStr += busObj.BUSTYPE + \" in \" + busObj.LOCATION + \" </a></p>\";\n\t\t\t\t\t}\n\t\t\t\t\thtmlStr += \"</div>\";\n\t\t\t\t\tdivElem.innerHTML += htmlStr;\n\t\t\t\t}\n\t\t\t\tif (moreURL == \'\'){\n\t\t\t\t\tmoreURL = busObj.MOREURL;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn indArr.length;\n\t\t\t}\n\t\t\n\t\t\tCentIndBusDir.addBasicListings = function(busArray, divElem, numDispRes){\n\t\t\t\n\t\t\tif(busArray.length == 0 || numDispRes <= 0)\n\t\t\t\treturn 0;\n\t\t\t\n\t\t\t\n\t\t\tif(busArray.length < numDispRes){\n\t\t\t\t\n\t\t\t\tvar indArr = this.getSelectionIndexes(busArray.length, busArray.length-1);\n\t\t\t}\n\t\t\telse{\n\t\t\t\t\n\t\t\t\tvar indArr = this.getSelectionIndexes(numDispRes, busArray.length-1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tfor(var i=0; i<indArr.length; ++i){\n\t\t\t\tvar busObj = busArray[indArr[i]];\n\t\t\t\tvar htmlStr = \"<div>\";\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\thtmlStr += \"<h5><a href=\'\" + busObj.URL + \"\'>\" + busObj.NAME + \"</a></h5>\";\n\t\t\t\t\thtmlStr += \"<p><a href=\'\" + busObj.URL + \"\'> Contact details </a></p>\";\n\t\t\t\t\t\n\t\t\t\t\tif(busObj.BUSTYPE != undefined || busObj.LOCATION != undefined){\n\t\t\t\t\t\thtmlStr += \"<p><a href=\'\" + busObj.MORELIKETHISURL + \"\'>More \"; \n\t\t\t\t\t\thtmlStr += busObj.BUSTYPE + \" in \" + busObj.LOCATION + \" </a></p>\";\n\t\t\t\t\t}\n\t\t\t\t\thtmlStr += \"</div>\";\n\t\t\t\t\tdivElem.innerHTML += htmlStr;\n\t\t\t\t}\n\t\t\t\tif (moreURL == \'\'){\n\t\t\t\t\tmoreURL = busObj.MOREURL;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn indArr.length;\n\t\t\t}\n\t\t\n\t\t\t\t\t\n\t\t\n\t\tCentIndBusDir.showEmptyResultsMessage = function(widgetDiv, widgetParentDiv){\n\t\t\twidgetDiv.innerHTML = \"<p>Server connection down.</p>\";\n\t\t\t\n\t\t\twidgetParentDiv.className += \' lm-no-results\';\n\t\t}\n\t\t\n\t\t\n\t\tCentIndBusDir.displayBusinessResults(z198695CA, z198695CA.numDisplayResults);\n\t//]]>\n\t</script>\n');
