<!-- GALERIA  -->
function changePic(id, pic, num) {

	parent.leftFrame.location = 'Galeria1.php?id='+id+'&pic='+pic+'&num='+num;

}

function Galeria(id, pic, type) {

	var width = '800';
	var height = '600';
	window.open("Galeria.php?id="+id+"&pic="+pic+"&type="+type, '', 'toolbar=0,menubar=0,location=0,scrollbars=1,resizable=1,width='+width+',height='+height+',left=0,top=0,status=no');
}
<!-- FIM GALERIA  -->


