﻿/// <reference path="jquery.min.js" />

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1981843-18']);
_gaq.push(['_trackPageview']);
(function () {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

$(document).ready(function () {
	product = "mw,fmsc,lw".split(",");
	for (x = 0; x < product.length; x++) {
		$("#link-" + product[x]).live({
			mouseenter: function () {
				$("#content-" + this.id.substr(this.id.indexOf("-") + 1)).show();
			},
			mouseleave: function () {
				$("#content-" + this.id.substr(this.id.indexOf("-") + 1)).hide();
			}
		});
	}
});
