
document.write("<link href='http://qwisk.com/sbmedia/css/blog_widget.css' rel='stylesheet'");

document.write("<div id='qwisk-container' style='width:200px'><div id='qwisk-header'></div><div id='qwisk-content'></div><div id='qwisk-footer'></div></div>");

var bob = 'Startup Enthusiasts';
var group_url = 'http://qwisk.com//groups/1816/';
var orig_transactions = [{"index": 0, "sharer_id": 2506, "sender_id": 1816, "app_id": 1, "display": 1, "to_id": null, "template": "<table border='0' width='100%' {.section data}type='{type}' {.section sharer} group='{sender_id}' {.end}{.end} >\r\n  <tr>\r\n    <td rowspan='2' valign='top' width='35px'>\r\n    {.section data}\r\n      {.section type_sharer_user}\r\n        <a href='{sender_profile}'><img src='{sender_pic}' title='{sender_name}' class='icon_profile'/></a>\r\n        <br />\r\n        <img src='/sbmedia/images/users/tiny/{up_id}.png' class='icon_app'/>\r\n      {.end}\r\n      {.section sharer}\r\n          <a href='/surfer/{id}/'><img src='{pic}' title='{name}' class='icon_profile'/></a>\r\n          <br />\r\n             <a href='{sender_profile}'><img src='{sender_pic}' class='icon_app' title='{sender_name} Group' /></a>\r\n        {.end}\r\n    {.end}\r\n    </td>\r\n    <td>\r\n      {.section data}\r\n        {.section del}\r\n         <div class='delete_tran' style='float:right;background:url(http://bruwser.com/sbmedia/images/inner/delete.png) no-repeat;height:9px;width:9px;position:relative;top:-2px;cursor:pointer;' href='/transactions/delete/{id}/'></div>\r\n         {.end}\r\n         {.section type_link }\r\n            <a href = '{url}' title='{title}'>{title|etc}</a>\r\n         {.end}\r\n         {.section type_img }\r\n             <a href='{url}' title='{title}'>{title|etc}</a><br />\r\n             <a href='{url}' >\r\n               <div style='max-height: 135px; overflow: hidden;padding: 3px;'>\r\n         <img style='border: 1px solid rgb(204, 213, 224);background: #FFF;' src='{src}' border='0' width='135px'  />\r\n               </div>\r\n   </a>\r\n         {.end}\r\n         {.section type_direct}\r\n            <a href='{url}' onclick=\"top.Sbrowse.applications.apps.socialbrowse.app.Menu.open('{url}', {chat_id}, '{title}'); return false\" style='color:#3B9CCE'><img src='/sbmedia/images/feed/message.png' class='feed_icon' />Direct Message</a> about:\r\n           <div><a href = '{url}' title='{title}' chat_id='{chat_id}' class='chat_title'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section type_video }\r\n             <a href='{url}' >{title}</a>\r\n     <div>{object}</div>\r\n         {.end}         \r\n         {.section type_comment}\r\n              <div><a href = '{url}' title='{title}'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section comment}\r\n            <a href = '{url}' style='color: #777; font-style: italic;'><img src='http://qwisk.com/sbmedia/images/feed/comment.png' class='feed_icon' />\"{comment|etc}\"</a>          \r\n         {.end}\r\n          {.section type_fan }\r\n            <a href = '{url}' title='{title}'>{title}</a>\r\n         {.end}\r\n      {.end}\r\n     </td>\r\n  </tr>\r\n  <tr><td class='feed_item_details'>\r\n     <div class='feed_item_ts'>{date|pretty-date}\r\n        {.section delete }<a href=\"/transactions/delete/{id}/\">delete</a>{.end}\r\n</div>\r\n        <div class='feed_item_ic_reply' />\r\n        </td></tr>\r\n</table>", "date": "July 20, 2010 21:37:21", "data": {"comment": "", "type_comment": 1, "title": "Vending Spree - Talkin' Snack", "url": "http://www.vendingspree.com/", "sharer": {"pic": "http://qwisk.com/sbmedia/images/users/tiny/2506.png?ts=20-07-10::20:19:24", "id": 2506, "ts": "20-07-10::20:19:24", "name": "Sinuhe"}, "expandable": 1, "type": "comment", "stack": "group_1816"}, "id": 12367}, {"index": 0, "sharer_id": 3, "sender_id": 1816, "app_id": 1, "display": 1, "to_id": null, "template": "<table border='0' width='100%' {.section data}type='{type}' {.section sharer} group='{sender_id}' {.end}{.end} >\r\n  <tr>\r\n    <td rowspan='2' valign='top' width='35px'>\r\n    {.section data}\r\n      {.section type_sharer_user}\r\n        <a href='{sender_profile}'><img src='{sender_pic}' title='{sender_name}' class='icon_profile'/></a>\r\n        <br />\r\n        <img src='/sbmedia/images/users/tiny/{up_id}.png' class='icon_app'/>\r\n      {.end}\r\n      {.section sharer}\r\n          <a href='/surfer/{id}/'><img src='{pic}' title='{name}' class='icon_profile'/></a>\r\n          <br />\r\n             <a href='{sender_profile}'><img src='{sender_pic}' class='icon_app' title='{sender_name} Group' /></a>\r\n        {.end}\r\n    {.end}\r\n    </td>\r\n    <td>\r\n      {.section data}\r\n        {.section del}\r\n         <div class='delete_tran' style='float:right;background:url(http://bruwser.com/sbmedia/images/inner/delete.png) no-repeat;height:9px;width:9px;position:relative;top:-2px;cursor:pointer;' href='/transactions/delete/{id}/'></div>\r\n         {.end}\r\n         {.section type_link }\r\n            <a href = '{url}' title='{title}'>{title|etc}</a>\r\n         {.end}\r\n         {.section type_img }\r\n             <a href='{url}' title='{title}'>{title|etc}</a><br />\r\n             <a href='{url}' >\r\n               <div style='max-height: 135px; overflow: hidden;padding: 3px;'>\r\n         <img style='border: 1px solid rgb(204, 213, 224);background: #FFF;' src='{src}' border='0' width='135px'  />\r\n               </div>\r\n   </a>\r\n         {.end}\r\n         {.section type_direct}\r\n            <a href='{url}' onclick=\"top.Sbrowse.applications.apps.socialbrowse.app.Menu.open('{url}', {chat_id}, '{title}'); return false\" style='color:#3B9CCE'><img src='/sbmedia/images/feed/message.png' class='feed_icon' />Direct Message</a> about:\r\n           <div><a href = '{url}' title='{title}' chat_id='{chat_id}' class='chat_title'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section type_video }\r\n             <a href='{url}' >{title}</a>\r\n     <div>{object}</div>\r\n         {.end}         \r\n         {.section type_comment}\r\n              <div><a href = '{url}' title='{title}'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section comment}\r\n            <a href = '{url}' style='color: #777; font-style: italic;'><img src='http://qwisk.com/sbmedia/images/feed/comment.png' class='feed_icon' />\"{comment|etc}\"</a>          \r\n         {.end}\r\n          {.section type_fan }\r\n            <a href = '{url}' title='{title}'>{title}</a>\r\n         {.end}\r\n      {.end}\r\n     </td>\r\n  </tr>\r\n  <tr><td class='feed_item_details'>\r\n     <div class='feed_item_ts'>{date|pretty-date}\r\n        {.section delete }<a href=\"/transactions/delete/{id}/\">delete</a>{.end}\r\n</div>\r\n        <div class='feed_item_ic_reply' />\r\n        </td></tr>\r\n</table>", "date": "May 20, 2010 19:46:17", "data": {"comment": "", "type_comment": 1, "title": "Google Code Blog: Introducing the Google Font API & Google Font Directory", "url": "http://googlecode.blogspot.com/2010/05/introducing-google-font-api-google-font.html", "sharer": {"pic": "http://qwisk.com/sbmedia/images/users/tiny/3.png?ts=20-05-10::19:32:51", "id": 3, "ts": "20-05-10::19:32:51", "name": "Chris Kundinger"}, "expandable": 1, "type": "comment", "stack": "group_1816"}, "id": 11883}, {"index": 0, "sharer_id": 1, "sender_id": 1816, "app_id": 1, "display": 1, "to_id": null, "template": "<table border='0' width='100%' {.section data}type='{type}' {.section sharer} group='{sender_id}' {.end}{.end} >\r\n  <tr>\r\n    <td rowspan='2' valign='top' width='35px'>\r\n    {.section data}\r\n      {.section type_sharer_user}\r\n        <a href='{sender_profile}'><img src='{sender_pic}' title='{sender_name}' class='icon_profile'/></a>\r\n        <br />\r\n        <img src='/sbmedia/images/users/tiny/{up_id}.png' class='icon_app'/>\r\n      {.end}\r\n      {.section sharer}\r\n          <a href='/surfer/{id}/'><img src='{pic}' title='{name}' class='icon_profile'/></a>\r\n          <br />\r\n             <a href='{sender_profile}'><img src='{sender_pic}' class='icon_app' title='{sender_name} Group' /></a>\r\n        {.end}\r\n    {.end}\r\n    </td>\r\n    <td>\r\n      {.section data}\r\n        {.section del}\r\n         <div class='delete_tran' style='float:right;background:url(http://bruwser.com/sbmedia/images/inner/delete.png) no-repeat;height:9px;width:9px;position:relative;top:-2px;cursor:pointer;' href='/transactions/delete/{id}/'></div>\r\n         {.end}\r\n         {.section type_link }\r\n            <a href = '{url}' title='{title}'>{title|etc}</a>\r\n         {.end}\r\n         {.section type_img }\r\n             <a href='{url}' title='{title}'>{title|etc}</a><br />\r\n             <a href='{url}' >\r\n               <div style='max-height: 135px; overflow: hidden;padding: 3px;'>\r\n         <img style='border: 1px solid rgb(204, 213, 224);background: #FFF;' src='{src}' border='0' width='135px'  />\r\n               </div>\r\n   </a>\r\n         {.end}\r\n         {.section type_direct}\r\n            <a href='{url}' onclick=\"top.Sbrowse.applications.apps.socialbrowse.app.Menu.open('{url}', {chat_id}, '{title}'); return false\" style='color:#3B9CCE'><img src='/sbmedia/images/feed/message.png' class='feed_icon' />Direct Message</a> about:\r\n           <div><a href = '{url}' title='{title}' chat_id='{chat_id}' class='chat_title'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section type_video }\r\n             <a href='{url}' >{title}</a>\r\n     <div>{object}</div>\r\n         {.end}         \r\n         {.section type_comment}\r\n              <div><a href = '{url}' title='{title}'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section comment}\r\n            <a href = '{url}' style='color: #777; font-style: italic;'><img src='http://qwisk.com/sbmedia/images/feed/comment.png' class='feed_icon' />\"{comment|etc}\"</a>          \r\n         {.end}\r\n          {.section type_fan }\r\n            <a href = '{url}' title='{title}'>{title}</a>\r\n         {.end}\r\n      {.end}\r\n     </td>\r\n  </tr>\r\n  <tr><td class='feed_item_details'>\r\n     <div class='feed_item_ts'>{date|pretty-date}\r\n        {.section delete }<a href=\"/transactions/delete/{id}/\">delete</a>{.end}\r\n</div>\r\n        <div class='feed_item_ic_reply' />\r\n        </td></tr>\r\n</table>", "date": "May 07, 2010 03:07:45", "data": {"comment": "", "type_comment": 1, "title": "Django | Weblog | Django 1.2 release candidate available", "url": "http://www.djangoproject.com/weblog/2010/may/05/12-rc-1/", "sharer": {"pic": "http://qwisk.com/sbmedia/images/users/tiny/1.png?ts=07-05-10::03:04:39", "id": 1, "ts": "07-05-10::03:04:39", "name": "Zack Garbow"}, "expandable": 1, "type": "comment", "stack": "group_1816"}, "id": 11723}, {"index": 0, "sharer_id": 3, "sender_id": 1816, "app_id": 1, "display": 1, "to_id": null, "template": "<table border='0' width='100%' {.section data}type='{type}' {.section sharer} group='{sender_id}' {.end}{.end} >\r\n  <tr>\r\n    <td rowspan='2' valign='top' width='35px'>\r\n    {.section data}\r\n      {.section type_sharer_user}\r\n        <a href='{sender_profile}'><img src='{sender_pic}' title='{sender_name}' class='icon_profile'/></a>\r\n        <br />\r\n        <img src='/sbmedia/images/users/tiny/{up_id}.png' class='icon_app'/>\r\n      {.end}\r\n      {.section sharer}\r\n          <a href='/surfer/{id}/'><img src='{pic}' title='{name}' class='icon_profile'/></a>\r\n          <br />\r\n             <a href='{sender_profile}'><img src='{sender_pic}' class='icon_app' title='{sender_name} Group' /></a>\r\n        {.end}\r\n    {.end}\r\n    </td>\r\n    <td>\r\n      {.section data}\r\n        {.section del}\r\n         <div class='delete_tran' style='float:right;background:url(http://bruwser.com/sbmedia/images/inner/delete.png) no-repeat;height:9px;width:9px;position:relative;top:-2px;cursor:pointer;' href='/transactions/delete/{id}/'></div>\r\n         {.end}\r\n         {.section type_link }\r\n            <a href = '{url}' title='{title}'>{title|etc}</a>\r\n         {.end}\r\n         {.section type_img }\r\n             <a href='{url}' title='{title}'>{title|etc}</a><br />\r\n             <a href='{url}' >\r\n               <div style='max-height: 135px; overflow: hidden;padding: 3px;'>\r\n         <img style='border: 1px solid rgb(204, 213, 224);background: #FFF;' src='{src}' border='0' width='135px'  />\r\n               </div>\r\n   </a>\r\n         {.end}\r\n         {.section type_direct}\r\n            <a href='{url}' onclick=\"top.Sbrowse.applications.apps.socialbrowse.app.Menu.open('{url}', {chat_id}, '{title}'); return false\" style='color:#3B9CCE'><img src='/sbmedia/images/feed/message.png' class='feed_icon' />Direct Message</a> about:\r\n           <div><a href = '{url}' title='{title}' chat_id='{chat_id}' class='chat_title'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section type_video }\r\n             <a href='{url}' >{title}</a>\r\n     <div>{object}</div>\r\n         {.end}         \r\n         {.section type_comment}\r\n              <div><a href = '{url}' title='{title}'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section comment}\r\n            <a href = '{url}' style='color: #777; font-style: italic;'><img src='http://qwisk.com/sbmedia/images/feed/comment.png' class='feed_icon' />\"{comment|etc}\"</a>          \r\n         {.end}\r\n          {.section type_fan }\r\n            <a href = '{url}' title='{title}'>{title}</a>\r\n         {.end}\r\n      {.end}\r\n     </td>\r\n  </tr>\r\n  <tr><td class='feed_item_details'>\r\n     <div class='feed_item_ts'>{date|pretty-date}\r\n        {.section delete }<a href=\"/transactions/delete/{id}/\">delete</a>{.end}\r\n</div>\r\n        <div class='feed_item_ic_reply' />\r\n        </td></tr>\r\n</table>", "date": "May 04, 2010 17:42:52", "data": {"comment": "", "type_comment": 1, "title": "The Impostor Syndrome - When Fear Blocks Success", "url": "http://www.inc.com/marla-tabaka/the-impostor-syndrome-when-fear-blocks-success.html", "sharer": {"pic": "http://qwisk.com/sbmedia/images/users/tiny/3.png?ts=25-04-10::14:26:36", "id": 3, "ts": "25-04-10::14:26:36", "name": "Chris Kundinger"}, "expandable": 1, "type": "comment", "stack": "group_1816"}, "id": 11663}, {"index": 0, "sharer_id": 1923, "sender_id": 1816, "app_id": 1, "display": 1, "to_id": null, "template": "<table border='0' width='100%' {.section data}type='{type}' {.section sharer} group='{sender_id}' {.end}{.end} >\r\n  <tr>\r\n    <td rowspan='2' valign='top' width='35px'>\r\n    {.section data}\r\n      {.section type_sharer_user}\r\n        <a href='{sender_profile}'><img src='{sender_pic}' title='{sender_name}' class='icon_profile'/></a>\r\n        <br />\r\n        <img src='/sbmedia/images/users/tiny/{up_id}.png' class='icon_app'/>\r\n      {.end}\r\n      {.section sharer}\r\n          <a href='/surfer/{id}/'><img src='{pic}' title='{name}' class='icon_profile'/></a>\r\n          <br />\r\n             <a href='{sender_profile}'><img src='{sender_pic}' class='icon_app' title='{sender_name} Group' /></a>\r\n        {.end}\r\n    {.end}\r\n    </td>\r\n    <td>\r\n      {.section data}\r\n        {.section del}\r\n         <div class='delete_tran' style='float:right;background:url(http://bruwser.com/sbmedia/images/inner/delete.png) no-repeat;height:9px;width:9px;position:relative;top:-2px;cursor:pointer;' href='/transactions/delete/{id}/'></div>\r\n         {.end}\r\n         {.section type_link }\r\n            <a href = '{url}' title='{title}'>{title|etc}</a>\r\n         {.end}\r\n         {.section type_img }\r\n             <a href='{url}' title='{title}'>{title|etc}</a><br />\r\n             <a href='{url}' >\r\n               <div style='max-height: 135px; overflow: hidden;padding: 3px;'>\r\n         <img style='border: 1px solid rgb(204, 213, 224);background: #FFF;' src='{src}' border='0' width='135px'  />\r\n               </div>\r\n   </a>\r\n         {.end}\r\n         {.section type_direct}\r\n            <a href='{url}' onclick=\"top.Sbrowse.applications.apps.socialbrowse.app.Menu.open('{url}', {chat_id}, '{title}'); return false\" style='color:#3B9CCE'><img src='/sbmedia/images/feed/message.png' class='feed_icon' />Direct Message</a> about:\r\n           <div><a href = '{url}' title='{title}' chat_id='{chat_id}' class='chat_title'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section type_video }\r\n             <a href='{url}' >{title}</a>\r\n     <div>{object}</div>\r\n         {.end}         \r\n         {.section type_comment}\r\n              <div><a href = '{url}' title='{title}'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section comment}\r\n            <a href = '{url}' style='color: #777; font-style: italic;'><img src='http://qwisk.com/sbmedia/images/feed/comment.png' class='feed_icon' />\"{comment|etc}\"</a>          \r\n         {.end}\r\n          {.section type_fan }\r\n            <a href = '{url}' title='{title}'>{title}</a>\r\n         {.end}\r\n      {.end}\r\n     </td>\r\n  </tr>\r\n  <tr><td class='feed_item_details'>\r\n     <div class='feed_item_ts'>{date|pretty-date}\r\n        {.section delete }<a href=\"/transactions/delete/{id}/\">delete</a>{.end}\r\n</div>\r\n        <div class='feed_item_ic_reply' />\r\n        </td></tr>\r\n</table>", "date": "April 30, 2010 05:38:12", "data": {"comment": "", "type_comment": 1, "title": "The Impostor Syndrome - When Fear Blocks Success", "url": "http://www.inc.com/marla-tabaka/the-impostor-syndrome-when-fear-blocks-success.html", "sharer": {"pic": "http://qwisk.com/sbmedia/images/users/tiny/1923.png?ts=24-04-10::16:05:07", "id": 1923, "ts": "24-04-10::16:05:07", "name": "Mike Kalmbach"}, "expandable": 1, "type": "comment", "stack": "group_1816"}, "id": 11636}, {"index": 0, "sharer_id": 1923, "sender_id": 1816, "app_id": 1, "display": 1, "to_id": null, "template": "<table border='0' width='100%' {.section data}type='{type}' {.section sharer} group='{sender_id}' {.end}{.end} >\r\n  <tr>\r\n    <td rowspan='2' valign='top' width='35px'>\r\n    {.section data}\r\n      {.section type_sharer_user}\r\n        <a href='{sender_profile}'><img src='{sender_pic}' title='{sender_name}' class='icon_profile'/></a>\r\n        <br />\r\n        <img src='/sbmedia/images/users/tiny/{up_id}.png' class='icon_app'/>\r\n      {.end}\r\n      {.section sharer}\r\n          <a href='/surfer/{id}/'><img src='{pic}' title='{name}' class='icon_profile'/></a>\r\n          <br />\r\n             <a href='{sender_profile}'><img src='{sender_pic}' class='icon_app' title='{sender_name} Group' /></a>\r\n        {.end}\r\n    {.end}\r\n    </td>\r\n    <td>\r\n      {.section data}\r\n        {.section del}\r\n         <div class='delete_tran' style='float:right;background:url(http://bruwser.com/sbmedia/images/inner/delete.png) no-repeat;height:9px;width:9px;position:relative;top:-2px;cursor:pointer;' href='/transactions/delete/{id}/'></div>\r\n         {.end}\r\n         {.section type_link }\r\n            <a href = '{url}' title='{title}'>{title|etc}</a>\r\n         {.end}\r\n         {.section type_img }\r\n             <a href='{url}' title='{title}'>{title|etc}</a><br />\r\n             <a href='{url}' >\r\n               <div style='max-height: 135px; overflow: hidden;padding: 3px;'>\r\n         <img style='border: 1px solid rgb(204, 213, 224);background: #FFF;' src='{src}' border='0' width='135px'  />\r\n               </div>\r\n   </a>\r\n         {.end}\r\n         {.section type_direct}\r\n            <a href='{url}' onclick=\"top.Sbrowse.applications.apps.socialbrowse.app.Menu.open('{url}', {chat_id}, '{title}'); return false\" style='color:#3B9CCE'><img src='/sbmedia/images/feed/message.png' class='feed_icon' />Direct Message</a> about:\r\n           <div><a href = '{url}' title='{title}' chat_id='{chat_id}' class='chat_title'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section type_video }\r\n             <a href='{url}' >{title}</a>\r\n     <div>{object}</div>\r\n         {.end}         \r\n         {.section type_comment}\r\n              <div><a href = '{url}' title='{title}'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section comment}\r\n            <a href = '{url}' style='color: #777; font-style: italic;'><img src='http://qwisk.com/sbmedia/images/feed/comment.png' class='feed_icon' />\"{comment|etc}\"</a>          \r\n         {.end}\r\n          {.section type_fan }\r\n            <a href = '{url}' title='{title}'>{title}</a>\r\n         {.end}\r\n      {.end}\r\n     </td>\r\n  </tr>\r\n  <tr><td class='feed_item_details'>\r\n     <div class='feed_item_ts'>{date|pretty-date}\r\n        {.section delete }<a href=\"/transactions/delete/{id}/\">delete</a>{.end}\r\n</div>\r\n        <div class='feed_item_ic_reply' />\r\n        </td></tr>\r\n</table>", "date": "April 24, 2010 20:22:34", "data": {"comment": "", "type_comment": 1, "title": "Why do we work so much? \u2014 Pop Economics", "url": "http://www.popeconomics.com/2010/04/10/why-do-we-work-so-much/", "sharer": {"pic": "http://qwisk.com/sbmedia/images/users/tiny/1923.png?ts=24-04-10::16:05:07", "id": 1923, "ts": "24-04-10::16:05:07", "name": "Mike Kalmbach"}, "expandable": 1, "type": "comment", "stack": "group_1816"}, "id": 11522}, {"index": 0, "sharer_id": 1923, "sender_id": 1816, "app_id": 1, "display": 1, "to_id": null, "template": "<table border='0' width='100%' {.section data}type='{type}' {.section sharer} group='{sender_id}' {.end}{.end} >\r\n  <tr>\r\n    <td rowspan='2' valign='top' width='35px'>\r\n    {.section data}\r\n      {.section type_sharer_user}\r\n        <a href='{sender_profile}'><img src='{sender_pic}' title='{sender_name}' class='icon_profile'/></a>\r\n        <br />\r\n        <img src='/sbmedia/images/users/tiny/{up_id}.png' class='icon_app'/>\r\n      {.end}\r\n      {.section sharer}\r\n          <a href='/surfer/{id}/'><img src='{pic}' title='{name}' class='icon_profile'/></a>\r\n          <br />\r\n             <a href='{sender_profile}'><img src='{sender_pic}' class='icon_app' title='{sender_name} Group' /></a>\r\n        {.end}\r\n    {.end}\r\n    </td>\r\n    <td>\r\n      {.section data}\r\n        {.section del}\r\n         <div class='delete_tran' style='float:right;background:url(http://bruwser.com/sbmedia/images/inner/delete.png) no-repeat;height:9px;width:9px;position:relative;top:-2px;cursor:pointer;' href='/transactions/delete/{id}/'></div>\r\n         {.end}\r\n         {.section type_link }\r\n            <a href = '{url}' title='{title}'>{title|etc}</a>\r\n         {.end}\r\n         {.section type_img }\r\n             <a href='{url}' title='{title}'>{title|etc}</a><br />\r\n             <a href='{url}' >\r\n               <div style='max-height: 135px; overflow: hidden;padding: 3px;'>\r\n         <img style='border: 1px solid rgb(204, 213, 224);background: #FFF;' src='{src}' border='0' width='135px'  />\r\n               </div>\r\n   </a>\r\n         {.end}\r\n         {.section type_direct}\r\n            <a href='{url}' onclick=\"top.Sbrowse.applications.apps.socialbrowse.app.Menu.open('{url}', {chat_id}, '{title}'); return false\" style='color:#3B9CCE'><img src='/sbmedia/images/feed/message.png' class='feed_icon' />Direct Message</a> about:\r\n           <div><a href = '{url}' title='{title}' chat_id='{chat_id}' class='chat_title'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section type_video }\r\n             <a href='{url}' >{title}</a>\r\n     <div>{object}</div>\r\n         {.end}         \r\n         {.section type_comment}\r\n              <div><a href = '{url}' title='{title}'>{title|etc}</a></div>\r\n         {.end}\r\n         {.section comment}\r\n            <a href = '{url}' style='color: #777; font-style: italic;'><img src='http://qwisk.com/sbmedia/images/feed/comment.png' class='feed_icon' />\"{comment|etc}\"</a>          \r\n         {.end}\r\n          {.section type_fan }\r\n            <a href = '{url}' title='{title}'>{title}</a>\r\n         {.end}\r\n      {.end}\r\n     </td>\r\n  </tr>\r\n  <tr><td class='feed_item_details'>\r\n     <div class='feed_item_ts'>{date|pretty-date}\r\n        {.section delete }<a href=\"/transactions/delete/{id}/\">delete</a>{.end}\r\n</div>\r\n        <div class='feed_item_ic_reply' />\r\n        </td></tr>\r\n</table>", "date": "April 24, 2010 19:41:16", "data": {"comment": "", "type_comment": 1, "title": "How To Work Less and Still Impress | Marc and Angel Hack Life", "url": "http://www.marcandangel.com/2008/07/10/how-to-work-less-and-still-impress/", "sharer": {"pic": "http://qwisk.com/sbmedia/images/users/tiny/1923.png?ts=24-04-10::16:05:07", "id": 1923, "ts": "24-04-10::16:05:07", "name": "Mike Kalmbach"}, "expandable": 1, "type": "comment", "stack": "group_1816"}, "id": 11521}];
var site_url = 'http://qwisk.com/';
site_url = site_url.slice(0, site_url.length-1);
var proxy_url = 'http://qwisk.com/#url=';
var v = new Date();;
var div = document.getElementById('qwisk-content');

document.getElementById('qwisk-header').innerHTML = "<a href='" + group_url + "'>" + bob + " on Qwisk</a>";
document.getElementById('qwisk-footer').innerHTML = "<span id='qwisk-join'><a href='http://qwisk.com/?users=1,2,1816#url=http://qwisk.com//surfer/1816/?login=true'>Join the discussion!</span></span>"


function renderTransactions(tl) {
    var n = tl.length;

    div.innerHTML = "";
if (n > 0) {

	while (n--) {
		var t = tl[n];
		
		t.date = new Date(t.date);
		var template = jsontemplate.Template(t.template, {
			'undefined_str': ""
		});
		
		try {
			var rendered_item = template.expand(t);
		} 
		catch (err) {
		}
		// Append the transaction to the list
		div.innerHTML = rendered_item + div.innerHTML;
		
	}
	
	var links = div.getElementsByTagName('a');
	n = links.length;
	while (n--) {
		var link = links[n];
		var href = link.getAttribute('href');
		link.setAttribute('href', proxy_url + href);
		link.setAttribute('target', '_blank');
	}
	
	var images = div.getElementsByTagName('img');
	n = images.length;
	while (n--) {
		var image = images[n];
		var src = image.getAttribute('src');
		if (src && src.slice(0, 4) != 'http') {
			// This is a relative link
			image.setAttribute('src', site_url + src);
		}
	}
}else {
	div.innerHTML="<a href='http://qwisk.com//surfer/1816/' target='_blank'><img src='http://qwisk.com/sbmedia/images/misc/widget_default.png' border='0'/></a>";
}

}

    function getAndRender() {

	function sendRequest(url,callback,postData) {
	    var req = createXMLHTTPObject();
	    if (!req) return;
	    var method = (postData) ? "POST" : "GET";
	    req.open(method,url,true);
	    req.setRequestHeader('User-Agent','XMLHTTP/1.0');
	    if (postData)
		req.setRequestHeader('Content-type','application/x-www-form-urlencoded');
	    req.onreadystatechange = function () {
		if (req.readyState != 4) return;
		if (req.status != 200 && req.status != 304) {
		    //alert('HTTP error ' + req.status);
		    return;
		}
		callback(req);
	    }
	    if (req.readyState == 4) return;
	    req.send(postData);
	}

var XMLHttpFactories = [
			function () {return new XMLHttpRequest()},
			function () {return new ActiveXObject("Msxml2.XMLHTTP")},
			function () {return new ActiveXObject("Msxml3.XMLHTTP")},
			function () {return new ActiveXObject("Microsoft.XMLHTTP")}
			];

function createXMLHTTPObject() {
    var xmlhttp = false;
    for (var i=0;i<XMLHttpFactories.length;i++) {
	try {
	    xmlhttp = XMLHttpFactories[i]();
	}
	catch (e) {
	    continue;
	}
	break;
    }
    return xmlhttp;
}

         sendRequest('http://qwisk.com//surfer/widget/transactions/1816/', function(o) { 
		renderTransactions(eval(o.responseText));
	     });
    }

renderTransactions(orig_transactions);


// Poll for transactions every 5 minutes
setInterval('getAndRender()', 300000);
