document.write('');
var linkexists = document.getElementById('bbcomreviewstyle');
if (linkexists == null)
{
var headTag = document.getElementsByTagName('head')[0];
var style = document.createElement('link');
style.type = "text/css";
style.rel = "stylesheet";
style.id = "bbcomreviewstyle";
style.href = "http://www.bedandbreakfast.com/inns/reviewDisplays/reviewStyles.css";
headTag.appendChild(style);
}
document.write('');document.write('');document.write('
');document.write('
');document.write('
');document.write('');
var tracklink = 'http://www.bedandbreakfast.com/inns/reviewDisplays/TrackWidgetClicks.aspx';
function tc(pid, mode) {
var url = tracklink + "?pid=" + pid + "&t=" + mode + "&rnd=" + Math.floor(Math.random() * 5000000);
var atLoadImage = new Image;
atLoadImage.src = url;
}
function titleClick()
{
tc(650809,'t')
}
function applyClickthrough(el)
{
var test;
var localCount;
for(localCount=0;localCount < el.childNodes.length;localCount++)
{
test = el.childNodes[localCount];
if (test.nodeName=="A")
{
test.onclick = titleClick;
test.target = '_blank';
}
applyClickthrough(test);
}
}
try
{
var content = document.getElementById('tblWidgetMain');
if (content == null)
{
content = document.getElementById('widgetDetails');
}
if (content != null)
{
var outside = content.parentNode;
var x;
var test;
for(x=0;x < outside.childNodes.length;x++)
{
test = outside.childNodes[x];
if (test.className=="revTitleBar" || test.className=="revTitleBarBig")
{
applyClickthrough(test);
}
}
}
}
catch(e){}