// Google Analytics
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25467234-1']);
  _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);
  })();


$(function(){

// rollover
	var aPreLoad = new Object();
	$("img.imgover, input.imgover").not("[@src*='_crt.']").each(function(i) {
		var tsrc = this.src;
		var ftype = this.src.lastIndexOf('.');
		var hsrc = this.src.substr(0, ftype) + '_o' + this.src.substr(ftype, 4);

		aPreLoad[this.src] = new Image();
		aPreLoad[this.src].src = hsrc;

		$(this).hover(
			function() { this.src = hsrc; },
			function() { this.src = tsrc; }
		);
	});


// zoom img
	$(".zoomimg dd").each(function() {
		$(this).children(".zoombox").append('<div class="closebtn"><a href="javascript:void(0);"><img src="/cmd/images/bt_close.gif" alt="close" width="56" height="23" /></a></div>');
	});

	$(".zoomimg dd").hide();
	$(".zoomimg dt a").click(function () {
		$(this).parents().next("dd").show();
	});
	$(".zoomimg dd a").click(function () {
		$(".zoomimg dd").hide();
	});


// rounded corners
	$(".corners, .textBtnA").each(function() {
		$(this).wrap('<div class="clearfix"></div>');
		$(this).wrapInner('<div class="bgin"><div class="bgb"></div></div>');
		$(this).children(".bgin").prepend('<div class="bgt"><div class="c"></div></div>');
	});


// stripe table
	$('.tableST tr:even').addClass('even');





});
