function OverlaySize() {
	if (window.innerHeight && window.scrollMaxY || window.innerWidth && window.scrollMaxX) {  
		yScroll = window.innerHeight + window.scrollMaxY;
		xScroll = window.innerWidth + window.scrollMaxX;
		var deff = document.documentElement;
		var wff = (deff&&deff.clientWidth) || document.body.clientWidth || window.innerWidth || self.innerWidth;
		var hff = (deff&&deff.clientHeight) || document.body.clientHeight || window.innerHeight || self.innerHeight;
		xScroll -= (window.innerWidth - wff);
		yScroll -= (window.innerHeight - hff);
	} else if (document.body.scrollHeight > document.body.offsetHeight || document.body.scrollWidth > document.body.offsetWidth){ // all but Explorer Mac
		yScroll = document.body.scrollHeight;
		xScroll = document.body.scrollWidth;
	} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
		yScroll = document.body.offsetHeight;
		xScroll = document.body.offsetWidth;
	}
	return {'x': xScroll, 'y': yScroll};
}

window.addEvent('domready', function() {
	if ($$('table.insTable tr:nth-child(1)')[0]) {
		$$('table.insTable tr:nth-child(1)')[0].addClass('insFirstRow')
	}
	if ($('heart')) {
		//I cry at nights when i have to do stuff like this
		if ($('heart').getNext().hasClass('next')) {
			$('heart').getNext().erase('class');
		}
	}
})