/* cached (type 2) @ Sat, 11 Feb 2012 20:25:50 GMT, sid=15  */
			//JS object: objectid=23771065 datasource=chesterchronicle method=javascript_default
document.write('\n\t\n\t<div class=\"span-31 last box lm-text-ads\" id=\"holds-businessWidget_4CEE9260\">\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_4CEE9260\">\n\t\t\t\t\t\n\t\t\t\t\t<noscript><div><h5><a href=\'http://www.localmole.co.uk/Business/sindydoll\'>Sindy Dolls Elite Escorts</a></h5><p><a href=\'http://www.localmole.co.uk/Business/sindydoll\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Chester/Companion+and+Escort+Agency\'>More Companion and Escort Agency in Chester </a></p></div><div><h5><a href=\'http://www.localmole.co.uk/Business/sindydoll\'>Sindy Dolls Elite Escorts</a></h5><p><a href=\'http://www.localmole.co.uk/Business/sindydoll\'> Contact details </a></p><p><a href=\'http://www.localmole.co.uk/Find-business/Chester/Companion+and+Escort+Agency\'>More Companion and Escort Agency in Chester </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 z4CEE9261 = new Object();\n\t\tvar CentIndBusDir = new Object();\n\t\tvar moreURL = \'\';\n\t\t\n\t\tz4CEE9261.numDisplayResults = 20;\n\t\t\n\t\t\n\t\tz4CEE9261.premiumBusArray = [];\n\t\tz4CEE9261.enhancedBusArray = [];\n\t\tz4CEE9261.basicBusArray = [{\"LOCATION\":\"Chester\",\"NAME\":\"Sindy Dolls Elite Escorts\",\"ADDRESS\":\"Chester Centre, Chester, CH1\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Chester\\/Companion+and+Escort+Agency\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-2.88698415026245\",\"WEBCARDID\":\"8c775f492d68883742baf9c641d6e43e\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/sindydoll\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Companion and Escort Agency\",\"LATITUDE\":\"53.1933883017891\"},{\"LOCATION\":\"Chester\",\"NAME\":\"Sindy Dolls Elite Escorts\",\"ADDRESS\":\"Chester Centre, Chester, CH1\",\"LISTINGLEVEL\":\"FREE\",\"MORELIKETHISURL\":\"http:\\/\\/www.localmole.co.uk\\/Find-business\\/Chester\\/Companion+and+Escort+Agency\",\"IMAGEURL\":\"http:\\/\\/www.localmole.co.uk\\/content\\/images\\/common\\/thumb-fake-ad.jpg\",\"LONGITUDE\":\"-2.88698415026245\",\"WEBCARDID\":\"8c775f492d68883742baf9c641d6e43e\",\"URL\":\"http:\\/\\/www.localmole.co.uk\\/Business\\/sindydoll\",\"MOREURL\":\"http:\\/\\/www.localmole.co.uk\",\"BUSTYPE\":\"Companion and Escort Agency\",\"LATITUDE\":\"53.1933883017891\"}];\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_4CEE9260\");\n\t\t\tvar widgetParentDiv = document.getElementById(\"holds-businessWidget_4CEE9260\");\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(z4CEE9261, z4CEE9261.numDisplayResults);\n\t//]]>\n\t</script>\n');
