

function breakOut(fileName) {
    if (self != top) {
	document.write('<P><SMALL><BR \/><B>Search engine users please note:</B><BR \/>');
	document.write('<I>The website is <B><A href="');
	targetHref='http://www.bracknellreelclub.org.uk/';
	if (fileName != 'index') {
	    targetHref = targetHef + fileName + '.html';
	}
	document.write(targetHref);
	document.write('">www.bracknellreelclub.org.uk</A></B>, ');
	document.write('please click this link before bookmarking or to ');
	document.write('get out of a frame.</I></SMALL></P>');
    }
}

function writeDeObscure(contact,text) {
    document.write('"javascript:deObscure(this,\'');
    document.write(contact);
    document.write('\',\'');
    document.write(!text?'Bracknell Reel Club:':text); 
    document.write('\')"');
}

function writeObscure(contact,text) {
    document.write('<A href="contact2.php" onClick=');
    writeDeObscure(contact,text);
    document.write(', onMouseover=');
    writeDeObscure(contact,text);
    document.write('>');
    if (contact) {
	document.write(contact);
	document.write(' at bracknell reel club');
    }
    document.write('</A>');
}

function deObscure(obj,contact,subject) {
    var address;
    if (trapObscure || !contact) {
	trapObscure = true;
	address = 'contact2.php';
	obj.href = address;
	obj.firstChild.nodeValue = address;
    } else {
	address = contact+'@brac'+'knellre'+'elclub.o'+'rg.u'+'k';
	obj.href = 'mai'+'lto:'+address+'?subject='+subject;
	obj.firstChild.nodeValue = address;
    }
    address
}

var trapObscure = false;