<div id="topsoc">
   <a href="<?php $twitt = get_option('swt_twitt'); echo $twitt; ?>"><img src="<?php bloginfo('template_directory'); ?>/images/twitter.png" class="tweet" alt="Follow us on Twitter" /></a>
   <a href="<?php $rss = get_option('swt_rss'); echo $rss; ?>"><img src="<?php bloginfo('template_directory'); ?>/images/rsssocial.png" class="rss" alt="Subscribe to RSS" /></a>
   <a href="mailto:<?php $email = get_option('swt_email'); echo $email; ?>"><img src="<?php bloginfo('template_directory'); ?>/images/mail.jpg" class="mail" alt="Contact us" /></a>
</div>