// JavaScript Document
function Link(url)
{
	window.location.href=url;
}
function ScriviSocial(dove,variabile,larghezza,altezza)
{
		if(dove=="shareContenuti")
		{
			contenuto="<div class='share-lineare'><!-- Place this tag where you want the +1 button to render --><g:plusone></g:plusone></div><div class='share-lineare'><fb:like href='"+variabile+"' send='true' layout='button_count' width='100' show_faces='false'></fb:like></div><div class='share-largo'><fb:comments href='"+variabile+"' num_posts='2' width='"+larghezza+"'></fb:comments></div>";
		}
		if(dove=="shareFooter")
		{
			contenuto="<div class='share-lineare'><fb:like href='"+variabile+"' send='true' layout='button_count' width='200' show_faces='true' colorscheme='dark'></fb:like></div>";
		}
		if(dove=="shareLaterale")
		{
				contenuto="<div class='share-largo'><fb:like-box href='"+variabile+"' width='"+larghezza+"' height='"+altezza+"' show_faces='true' border_color='grey' stream='false' header='false'></fb:like-box></div>";
		}
		document.getElementById(dove).innerHTML=contenuto;
}
(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) {return;}
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1&amp;appId=218542894877901";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

