// JavaScript Document

function share(text, lang, count, url, titre){
	var h = 25;
	var l = 64;
	
	if(count == 'top')
		h = h + 44;
		
	if(text == 'small'){
		l = 100;
		if(lang == 'en')
			l = 77;
	}
	if(text == 'long'){
		l = 179;
		if(lang == 'en')
			l = 154 ;
	}
	
	if(count == 'side')
		l = l + 60;
		
	document.write('<iframe frameborder="0"  scrolling="no" height="'+h+'" width="'+l+'" src="http://www.pixrider.com/plugins/share_plugin.php?text='+text+'&lang='+lang+'&count='+count+'&url='+url+'&titre='+titre+'" allowtransparency="true" ></iframe>');
	
	
}
