function adjustSize() {
	s_left = document.getElementById('left');
	s_main = document.getElementById('main');

	if(s_left.offsetHeight > s_main.offsetHeight) {
		s_main.style.height = s_left.offsetHeight + "px";
	} else if(s_left.offsetHeight < s_main.offsetHeight) {
		s_left.style.height = s_main.offsetHeight + "px";
	}
}

function popwin(url, width, height) {
	newwindow = window.open(url, 'compara', 'height=' + height + ',width=' + width + ',toolbar=no,scrollbars=yes');
	
	if (window.focus) {
		newwindow.focus();
	}
	
	return false;
}

function openerLocation(newUrl) {
	window.opener.focus();
	window.opener.location.href = newUrl;
}

/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

/* Modified to support Opera */
function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}