




if(typeof addEvent == "undefined")
	addEvent = function(o, evType, f, capture) {
	if(o == null) { return false; }
	if(o.addEventListener) {
		o.addEventListener(evType, f, capture);
		return true;
	} else if (o.attachEvent) {
		var r = o.attachEvent("on" + evType, f);
		return r;
	} else {
		try{ o["on" + evType] = f; }catch(e){}
	}
};


function goToLink(obj)
{
	window.location = obj.getElementsByTagName("a")[0].href;
}