﻿// JavaScript Document


jQuery.noConflict();

jQuery(document).ready(function(){
	
	jQuery(".stripeMe tr:odd").addClass("alt");	
	
	jQuery('.swapMouseover').preload({
		find: '_off',
		replace: '_on'
	});					
	
	jQuery(".swapMouseover").hover(
	  function () {
		jQuery(this).attr("src", jQuery(this).attr("src").replace("_off", "_on"));
	  }, 
	  function () {
		jQuery(this).attr("src", jQuery(this).attr("src").replace("_on", "_off"));
	  }
	);   		
	jQuery(".colQuestionContent").hover(
		  function () {
			jQuery(this).children("a").children("img").attr("src", jQuery(this).children("a").children("img").attr("src").replace("_off", "_on"));
		  }, 
		  function () {
			jQuery(this).children("a").children("img").attr("src", jQuery(this).children("a").children("img").attr("src").replace("_on", "_off"));
		  }			  
	);   		
	
	jQuery(".colQuestionContent").click(function(){
		window.location = jQuery(this).children("a").attr("href");								   }
	); 

	//tooltip();

	jQuery("#demo img[title]").tooltip({
		tip: '#demotip', 
		offset: [22, 40] // the tooltip position					  
	}); 
	
});

