function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function AbreXanela(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function abreXanela(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function Center(w,h)
{
	window.parent.focus();
	w2 = w + 10;
	h2 = h + 29;
	x=(screen.width)?(screen.width-w2)/2:100;
	y=(screen.height)?(screen.height-h2)/2:100;
	resizeTo(w2,h2);
	moveTo(x,y);
	//alert(x +',' + y + ',' + w2 +',' + h2);

}

function openCenter(theURL,winName,w,h,scroll)
{
	w2 = w + 10;
	h2 = h + 29;
	x=(screen.width!=0)?(screen.width-w2)/2:100;
	y=(screen.height!=0)?(screen.height-h2)/2:100;
	features = 'width=' + w + ',height=' + h + ',top=' + y + ',left=' + x;
	if (scroll) features = features + ',scrollbars=yes';
	
	window.open(theURL,winName,features);
	//alert(features);
}

function scon() {
	if (window.opener)
		if (window.opener.document)
			if (window.opener.document.startSound)
					window.opener.document.startSound();
}

window.onunload = scon;

