if($.browser.msie){
var addhtmlbody = {
	tafaddbd : function (){
	htmtext = '<div class="addthis_toolbox addthis_default_style" style="text-align:right"> <a href="http://www.addthis.com/bookmark.php?v=250&amp;pub=thaitaf" class="addthis_button_compact">แชร์เนื้อหา หรือส่งต่อให้เพื่อน</a> <span class="addthis_separator">|</span> <a class="addthis_button_email"><img src="../../images/sendPic.jpg" width="30" height="17" border="0" /></a> <span class="addthis_separator">|</span> <a class="addthis_button_print"></a>' +
 		'<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pub=thaitaf"></script>' +
  		'</div>'; return htmtext;
	}
}

}else{
var addhtmlbody = {
	tafaddbd : function (){
	htmtext = '<table width="100%" border="0" cellspacing="0" cellpadding="0" class="Taho13"><tr>  <td width="84%" align="right" valign="top">แชร์เนื้อหา:</td>'+
	  '<td width="8%" align="center" valign="top" class="background7"><a href="http://www.facebook.com/share.php?u='+encodeURIComponent(document.location.href)+'&t='+encodeURIComponent($("title").html())+'" target="_blank" class="tahoma10"><img src="../../images/img_ico/openid-facebook.png" alt="Facebook" width="25" height="25" border="0"> <br>Facebook</a></td>'+
	  '<td width="8%" align="center" valign="top" class="background7">&nbsp;<a href="http://twitter.com/home?status='+encodeURIComponent($("title").html())+'" target="_blank" class="tahoma10"><img src="../../images/img_ico/openid-twitter.png" alt="Twitter" width="25" height="25" border="0"> <br>Twitter</a></td></tr></table>';
	return htmtext;
	}
}
}
function surl(){
 $.ajax({ 
		type: "GET", 
		url: "../../includes/s_url.inc.php",  
		data: "url="+document.location.href, 
		success: function(msg){ 
		return msg; 
		}  });
}