function popUpSiti(pPage,nPage) {
  self.name = "fabrizio";
  var winOpts = 'resizeable=yes,scrollbars=no,width=168,height=470';
popUpWin = window.open(pPage,nPage,winOpts);
}

function addbmark(pagina,titolo){
	if (is.platform=='win32'){
		if (is.ns6||is.ns)
			alert ('ctrl-D per aggiungere ai preferiti');
		else
			window.external.AddFavorite(pagina,titolo);
	}
	else if (is.platform=='mac'){
		if (is.ns6||is.ns||is.ie)
			alert ('mela-D per aggiungere ai preferiti');
		else if (is.opera)
			alert ('mela-T per aggiungere ai preferiti');
	}


}
// Browser check Function
function Browser() {
	var b=navigator.appName;
	if (b=="Netscape") this.b="ns";
	else if (navigator.userAgent.indexOf("Opera")>0) this.b = "opera";
	else if (b=="Microsoft Internet Explorer") this.b="ie";
	if (!b) alert('Unidentified browser./nThis browser is not supported,');
	this.version=navigator.appVersion;
	this.v=parseInt(this.version);
	this.ns6=(this.v>=5 && this.b=='ns')
	this.ns=(this.b=="ns" && this.v>=4);
	this.ie=(this.b=="ie" && this.v>=4);
	var ua=navigator.userAgent.toLowerCase();
	if (ua.indexOf("win")>-1) this.platform="win32";
	else if (ua.indexOf("mac")>-1) this.platform="mac";
	else this.platform="other";
}
is  = new Browser();
// Function to write style sheet dependng on browser
	if (is.ns)	{
		if (is.platform=='mac')	{
			document.write('<link rel="stylesheet" href="../includes/header/css/Mcom_nsmac.css">');
		}
		if (is.platform=='win32')	{
			if (is.ns6)	{
					document.write('<link rel="stylesheet" href="../includes/header/css/Mcom_ns6.css">');
			} else {
					document.write('<link rel="stylesheet" href="../includes/header/css/Mcom_ns.css">');
			}
		}
	} else {
		document.write('<link rel="stylesheet" href="../includes/header/css/Mcom_ie.css">');
	}
