/**
 * Sergio Guerrero
 *
 * @copyright  Copyright (c) 2010 - SG Team
 */
 
/**
 * 
 */
function popupSizedWindow(url, new_width, new_height, screenX, screenY, top, left) {
	if (screenX == undefined) { screenX = 150; }
	if (screenY == undefined) { screenY = 150; }
	if (top == undefined) { top = 150; }
	if (left == undefined) { left = 150; }
	
	window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width='+ new_width +',height=' + new_height + ',screenX=' + screenX + ',screenY=' + screenY + ',top=' + top + ',left=' + left);
}
function featured_category_description (id, show) {
	var category_element = $(id);
	
	if (show == true) {
		category_element.style.visibility = 'visible';
	} else {
		category_element.style.visibility = 'hidden';
	}
}

