

function preferiti()		{
			var url="http://www.vespaclubcomo.com/" 
			var titolo="Vespa Club Como" 
			if (document.all) {window.external.AddFavorite(url,titolo);}
			} 

function paginaIniziale()	{
			document.body.style.behavior='url(#default#homepage)';
			document.body.setHomePage('http://www.vespaclubcomo.com/');
			}

function makevisible(cur,which)	{
			if (which==0)cur.filters.alpha.opacity=100
			else cur.filters.alpha.opacity=50
			}


function ApriImmagini(file)	{
      			var prop = "top=100, left=100";
      			window.open(file, null, prop);
    			}


function Imm(file)	{
      			var prop = "top=100, left=100, width=l, height=h";
      			window.open(file, null, prop);
    			}


function ultagg()		{
			var LastModDate = new Date(document.lastModified);
			document.write("ULTIMO AGGIORNAMENTO:  ");
			document.write(LastModDate.getDate(),".",(LastModDate.getMonth()+1),".",(LastModDate.getYear()));
			}


function winOpen(URL, windowName, width, height, left, top, resizable, location, menubar, scrollbars, status, toolbar, directories){
			var windowFeatures;
			windowFeatures = '';
			if (width != '')
			windowFeatures = windowFeatures+'width='+width+',';
			if (height != '')
			windowFeatures = windowFeatures+'height='+height+',';
			if (left != '')
			windowFeatures = windowFeatures+'height='+height+',';
			if (top != '')
			windowFeatures = windowFeatures+'height='+height+',';
			if (resizable)
			windowFeatures = windowFeatures+'resizable,';
			if (location)
			windowFeatures = windowFeatures+'location,';
			if (menubar)
			windowFeatures = windowFeatures+'menubar,';
			if (scrollbars)
			windowFeatures = windowFeatures+'scrollbars,';
			if (status)
			windowFeatures = windowFeatures+'status,';
			if (toolbar)
			windowFeatures = windowFeatures+'toolbar,';
			if (directories)
			windowFeatures = windowFeatures+'directories,';
			window.open(URL, windowName, windowFeatures);
			}

