jQuery(document).ready(function() {
	var feed = jQuery(".TeamViewerslideOut"),
		img = feed.children("img"),
		formElems = feed.children("form, h3");
	
	feed.css("display", "block").data("showing", false);
	formElems.hide();
	
	img.click(function() {
		if(feed.data("showing") == true) {
			feed.data("showing", false)
				.animate({
					marginLeft: "-500px",
					height: "100px",
					marginTop: "0",
					padding: "0"
				});
			formElems.fadeOut("normal");
			jQuery(this).attr("src", "images/teamViewerSideShow.png").css("top", "0px");
		} else {
			feed.data("showing", true)
				.animate({
					marginLeft: "0",
					height: "300px",
					marginTop: "-100px",
					padding: "0px"
				});
			formElems.fadeIn("normal");
			jQuery(this).attr("src", "images/teamViewerSideHide.png").css("top", "-2px");
		}
	})
}); //end document ready



