function popUp(a, b, c, d)
{
	var page = a;
	var lenX = b;
	var lenY = c;
	var name = 'POPUP';
	var scrl = d;
	var posX = parseInt((screen.width / 2) - (lenX / 2));
	var posY = parseInt((screen.height / 2) - (lenY / 2));
	var attr = 'width=' + lenX + ',height=' + lenY + ',left=' + posX + ',top=' + posY + ',scrollbars=' + scrl;
	window.open(page, name, attr);
	void(0);
}

function printMe()
{
	window.print();
	void(0);
}

function PopUpEnviaAmigo(id)
{
	janela=window.open('wp-content/themes/default/enviar_amigo_form.php?id='+id, 'question','width=400,height=360,status=no,toolbar=no,scrollbars=no,resizable=no,directory=no,location=no');
	void(0);
}
function PopUpPrint(id)
{
	janela=window.open('wp-content/themes/default/print.php?id='+id, 'question','width=600,height=500,status=no,toolbar=no,scrollbars=no,resizable=yes,directory=no,location=no');
	void(0);
}