function CheckBrowser(url)
{
	bname=navigator.appName;
	if (bname != "Microsoft Internet Explorer") 
	{   
		var	warningITA="<p><h2>Per visualizzare correttamente il contenuto di questo sito è consigliato l\' uso di Explorer 5.0 o successivo. Potresti incontrare problemi nella visualizzazione degli stili CSS  e nella visualizzazione dei cursori</h2></p>  <p>Appena ho tempo li sistemo...</p> <p align=\"center\" ><a href=\""+url+"\"> Continua  </a> </p> <p align=\"center\"><a href=\"http://www.microsoft.com/downloads/release.asp?releaseid=23078 \"> Scarica Internet Explorer </a><p>";
		var warningENG="<p><h2>This site is best viewed with Internet Explorer 5.0 or newer. With different browser you might encouter problems while displaying style sheets and cursors</h2></p><p>I'm gonna fix this..</p>  <p> <p align=\"center\" ><a href=\""+url+"\"> Continue  </a> </p> <p align=\"center\"><a href=\"http://www.microsoft.com/downloads/release.asp?releaseid=23078 \"> Download Internet Explorer </a><p>";
		//alert("Potresti non vedere il cursore a forma di mano sui link se usi browser diversi da IE.--You may not see hand cursor with browser others than IE."); 
	}
	else
	{
		var	warningITA="";
		var warningENG="";
		
		
	}
	window.open('sito/pages/index.htm','_top');
	document.write("<p>SITO IN FASE DI TEST! </p>");
	document.write("<p>&nbsp;</p>");
	document.write("<p>Apertura in corso...</p>");
	document.write("<p> Se non dovesse aprirsi, clicca <a href=\""+url+"\">qui</a>, ma attenzione: se sei costretto a cliccare, &egrave; probabile che un software antivirus ti impedisca di utilizzare correttamente i collegamenti del mio sito bloccando i popup delle pagine.</p>");
	//document.write(warningITA);
	document.write("<hr  width=\"30%\" size=\"1\" align=\"left\">");
	document.write("<p>TESTING..! </p>");
	document.write("<p>&nbsp;</p>");
	document.write("<p>Opening...</p>");
	document.write("<p>Click  <a href=\""+url+"\">here</a> if not redirected. But if you need to click to procede, you might experience problems to popup my link. Probably a &quot;security&quot; software is doing so.. </p>");
	//document.write(warningENG);
	
}


function messaggio(txt) 
		{
			window.status=txt;
		}




function Preferiti(favTitle){
  if ((navigator.appVersion.indexOf("MSIE") > 0) && (parseInt(navigator.appVersion) >= 4)) {
    window.external.AddFavorite("http://guidomarche.altervista.org","Foto della Valle Scrivia e molto altro!");
  }
}


function set_table(height,nome)
{

document.getElementById(nome).height=height-5;
}

function IsToCheck(url)
{
	if (document.title=='Spedizione cartoline / Postcard post') return 0;	
	return 1;
}

function CheckFrame()
{

	if (IsToCheck())
		if (!parent.frames.length) //o path o menu
			window.open('http://guidomarche.altervista.org/sito/pages/index.php?url='+document.URL,'_parent');


	/*else
		MM_openBrWindow('top.htm','path','');	*/
}

function MM_setTextOfLayer(objName,x,newText) { //v3.0
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (navigator.appName=='Netscape') {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
} 



