$(document).ready(function(){
// Copyright (c) 2007 42 Answers Creative Internet Studio. All rights reserved.
// No reproduction or republication without exclusive written permission from owner.
// http://42answers.com/

  //  opens [rel=external] links in new window
  $("a[@rel=external]").each(function(i){
    this.target="_blank";
  });
  $("a.linkExternal]").each(function(i){
    this.target="_blank";
  });

	$("table.zebra").find("tr:nth-child(even)").each(
		function(i) {
			if( 0 == $(this).find("th").length ) {
				$(this).addClass("even");
			}
		}
	);

	$("table.zebra").find("tr:nth-child(odd)").each(
		function(i) {
			if( 0 == $(this).find("th").length ) {
				$(this).addClass("odd");
			}
		}
	);

	$(".scrollToTop").click(
		function() {
			$("#pageWrapper").ScrollTo(1900)
			return false;
		}
	);

});




