// ottodv.com script

function select(e) {
	if (e.ctrlKey || e.shiftKey) {
		return true;
	} else {
		var psel = window.getSelection().toString();
		window.getSelection().selectAllChildren(this);
		var nsel = window.getSelection().toString();
		if (psel == nsel) {
			return true;
		} else {
			return false;
		}
	}
}

function init() {
	var alla = document.getElementsByTagName('a');
	for (var i=0;i<alla.length;i++) {
		alla[i].onclick = select;
	}
}

window.onload = init;

// TIAF!

