// VirtualHref Class



VirtualHref = function( elem, href, title )
{
	var t = this

	this.element = elem
	this.href = href

	// Make up element
	this.element.style.cursor = 'pointer'
	this.element.title = title

	// Event handlers
	this.element.onclick = function(){ t.onclick() }
}


VirtualHref.prototype.onclick = function()
{
	window.location.href = this.href
}

