function displayReferAFriend()
{
  var pageUrl=escape(document.URL);
  var pageTitle=document.title;
  remoteWin = window.open('/refer_a_friend.php?pageTitle='+pageTitle+'&pageUrl='+pageUrl,"",'width=700,height=500,resizable=yes,scrollbars=yes;toolbar=yes');
}
document.write(
'<!-- CONTACT DETAILS CONTAINER -->'+
'<div>&nbsp;</div>'+
'<table border="0" cellspacing="0" cellpadding="0" class="ContactOuter">'+
  '<!-- REFER-A-FRIEND TABLE ROW -->'+
  '<tr>'+
    '<td>'+
      '<table border="0" cellspacing="0" cellpadding="0" class="Social">'+
        '<tr>'+
          '<td class="nowrap" valign="bottom">'+
            '<a class="refer" href="javascript:displayReferAFriend();">Refer this page to a friend...</a>'+
          '</td>'+
		  '<td style="padding-left:20px;"><div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.facebook.com/Resene" send="false" layout="button_count" width="90" show_faces="false" font="arial"></fb:like></td>'+
		  '<td style="padding-left:10px;"><div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=219711351399712&amp;xfbml=1"></script><fb:like href="" send="true" layout="button_count" width="90" show_faces="false" action="recommend" font="arial"></fb:like></td>'+
		  '<td style="padding-left:5px;text-align:right"><a href="http://www.facebook.com/resene"><img src="http://www.resene.co.nz/picts/Find-us-on-facebook_logo.jpg" width="106" height="32" alt="Visit Resene on Facebook"></</td>'+
		  '<td style="padding-left:2px;width:100%;" valign="middle"><!-- AddThis Button BEGIN -->'+
'<div class="addthis_toolbox addthis_32x32_style addthis_default_style">'+
    '<a class="addthis_button_facebook"></a>'+
    '<a class="addthis_button_twitter"></a>'+
    '<a class="addthis_button_email"></a>'+
    '<a class="addthis_button_google"></a>'+
    '<a class="addthis_button_compact"></a>'+
'</div>'+
'<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c44d6f60cf04e22"></script>'+
'<!-- AddThis Button END -->'+
'</td><td><a href="/videos.htm"><img src="/picts/video-icon.gif" width="80" height="32" alt="View Videos" title="View Videos"></a></td>'+
        '</tr>'+
      '</table>'+
    '</td>'+
  '</tr>'+
'</table>'+
'<!-- END OF CONTACT DETAILS CONTAINER -->');
