/**
 *  Wsm Info Detail Component, version 1.0.0
 *  (c) 2007 Arturo La Monaca <artlam74@gmail.com>
 */

function showInfoFile(codInfo, nomeFile, type, baseURL) {
	// type: A = Allegato, F = File multimediale
	var w = 800;
	var h = 600;
	var winStats = "toolbar=no,location=no,directories=no,menubar=yes,";
	winStats += "scrollbars=auto, status=no,width=" + w + ",height=" + h;
 	if (navigator.appName.indexOf("Microsoft") >= 0)
		winStats += ",left=110,top=40";
	else
	    winStats += ",screenX=110,screenY=40";
 
	window.open(baseURL + "/ebase.ShowInfoFile.act?codiceInfo=" + codInfo + "&nomeFile=" + nomeFile + "&tipoFile=" + type, null, winStats);
}