﻿// Simply Social Widget - AlexWhinfield.com
document.write("<style type=\"text\/css\">#simplysocialcon { position: relative; }");
document.write("#simplysocialbox { left: ");
document.write(ss_fromleft);
document.write("px; position: absolute; width:80px; }");
document.write("#simplysocial {position: absolute; top: ");
document.write(ss_fromtop);
document.write("px; background-color:#fff; width:68px; margin-top: ");
document.write(ss_statictop);
document.write("px;");
document.write("border:1px solid ");
document.write(ss_border_color);
document.write("; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; }");
document.write("#simplysocial.fixed { position: fixed; top:0;}");
document.write("#simplysocial .smedia {margin:7px}");
document.write("div.spacer {background-color:#f3f3f3; height:1px; width:50px; margin:5px auto;}");
document.write("div.bottom {height:1px; width:35px; margin:15px auto;}<\/style>");
document.write("<script>");
document.write("	$(function () {");
document.write("	  var msie6 = $.browser == 'msie' && $.browser.version < 7;");
document.write("	  if (!msie6) {");
document.write("		var top = $('#simplysocial').offset().top - parseFloat($('#simplysocial').css('margin-top').replace(\/auto\/, 0));");
document.write("		$(window).scroll(function (event) {");
document.write("		  var y = $(this).scrollTop();");
document.write("		  if (y >= top) {");
document.write("			$('#simplysocial').addClass('fixed');");
document.write("		  } else {");
document.write("			$('#simplysocial').removeClass('fixed');");
document.write("		  }");
document.write("		});");
document.write("	  }  ");
document.write("	});");
document.write("	<\/script><div id=\"simplysocialcon\"><div id=\"simplysocialbox\"><div id=\"simplysocial\"><div class=\"smedia\">");
document.write("<script type=\"text\/javascript\" src=\"http:\/\/tweetmeme.com\/i\/scripts\/button.js\"><\/script><\/div><div class=\"spacer\"><\/div><div class=\"smedia\"><a name=\"fb_share\" type=\"button\" href=\"http:\/\/www.facebook.com\/sharer.php\">Like<\/a><script src=\"http:\/\/static.ak.fbcdn.net\/connect.php\/js\/FB.Share\" type=\"text\/javascript\"><\/script><\/div><\/div><\/div><\/div>");
