function lightup(imageobject, opacity) {
	if (navigator.appName.indexOf("Netscape")!=-1&&parseInt(navigator.appVersion)>=5)
		imageobject.style.MozOpacity=opacity/100;
	else if (navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4)
		imageobject.filters.alpha.opacity=opacity;
}

/**
 * Codes pour les Digg-like
 * Par TOMHTML - Contenu sous licence Zorgloob
 */
var showurl;
function digg() {
	showurl = encodeURIComponent(location.href);
	window.open("http://digg.com/submit?phase=2&amp;url=" + showurl, "digg", "width=500,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1"); 
}
function delicious() {
	showurl = encodeURIComponent(location.href);
	window.open("http://del.icio.us/post?url=" + showurl, "digg", "width=500,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1"); 
}
function facebook() {
	showurl = encodeURIComponent(location.href);
	window.open("http://www.facebook.com/share.php?u=" + showurl, "facebook", "width=500,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1"); 
}
function myspace() {
	showurl = encodeURIComponent(location.href);
	window.open("http://www.myspace.com/Modules/PostTo/Pages/?u=" + showurl + "&amp;t=" + document.title + "&amp;c=" + document.title + "&amp;l=3"); 
}
function wikio() {
	showurl = encodeURIComponent(location.href);
	window.open("http://www.wikio.fr/vote?url=" + showurl, "Wikio", "width=500,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1");
}
function scoopeo() {
	showurl = encodeURIComponent(location.href);
	window.open("http://www.scoopeo.com/scoop/new?newurl=" + showurl + "&title="+encodeURIComponent(document.title), "Scoopeo", "width=500,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1");
}
function twitter() {
	showurl = encodeURIComponent(location.href);
	window.open("http://twitter.com/home?status=" + encodeURIComponent("Lu sur Zorgloob : "+document.title+" ") + showurl, "Twitter", "width=500,height=452,status=1,toolbar=1,location=1,scrollbars=1,menubar=1,resizable=1");
}
function google_reader() {
	var b=document.body;
	var GR________bookmarklet_domain='http://www.google.com';
	if(b&&!document.xmlVersion){
		void(z=document.createElement('script'));
		void(z.src='http://www.google.com/reader/ui/link-bookmarklet.js');
		void(b.appendChild(z));
	}
	else{}
}