function Download(url, w, h){ if(!url) return;
	var JanDownload;
	mso = (url.search(/.ppt|.xls|.doc|.rtf|.txt/) > 0);

	W = !w? 650 : w;	// se for omitido o valor 'w', assume o valor 600 como padrão
	H = !h? 430 : h;	// se for omitido o valor 'h', assume o valor 430 como padrão

	L = ((screen.availWidth - W) / 2);
	T = ((screen.availHeight - H) / 2) + ((mso)? -40 : 0);
	
	if(navigator.appName == "Netscape" || url.indexOf(".zip") >= 0 || url.indexOf(".exe") >= 0) window.location = url;
	else{
		JanDownload = window.open(url, "_blank", "resizable=yes,scrollbars=yes,width=" + W + ",left=" + L + ",height=" + H + ",top=" + T + ",menubar=" + ((mso)? "yes" : "no"));
		JanDownload.focus();
	}
}


function abre_slide(URL,features) {
	var browser = navigator.appName;		
	if (browser == "Microsoft Internet Explorer") {
		window.open (URL,"_blank","scrollbars=yes,resizable=yes",features)
		return;
	}
	if (browser == "Netscape") {	
		window.open (URL,"_self")
	}
}

//Função para abrir outras janelas popups

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


