jQuery("a[@href^='http']").addClass("thickbox").click(function(event){ // add the thickbox class to all anchors with target blank
jQuery('#leavingSiteHref').attr({ 
           href: this.href, // pass the href of the clicked link to the lightbox
           target: "_blank" 
         });
	jQuery(this).attr("href",this.href + '#TB_inline?height=400&width=300&inlineId=leavingSite'); // append the thickbox string to the clicked link
 });	

// exceptions for the lightbox speedbump. duplicate this line as often as necessary with domains that you don't want to trigger the lightbox
jQuery("a[@href^='https://www.achievacu.com/']").removeClass("thickbox").unbind("click");
jQuery("a[@href^='https://loans.achievacu.com/']").removeClass("thickbox").unbind("click");
jQuery("a[@href^='https://www.regulation-e.com/']").removeClass("thickbox").unbind("click");
jQuery("a[@href^='http://www.operationbluewave.com/']").removeClass("thickbox").unbind("click");
jQuery("a[@href^='https://secureauth.achievacu.com/']").removeClass("thickbox").unbind("click");
jQuery("a[@href^='https://secure.andera.com/index.cfm?fiid=11A994D341ED4E3280DE170971C1FAE8']").removeClass("thickbox").unbind("click");

var sm;
var over;

jQuery('img.btn').mouseover(function() {
	sm = this["src"];
	over = sm.replace('sm', 'over');
	jQuery(this).attr('src',over);
}).mouseout(function() {
		jQuery(this).attr('src',sm);
	});
	
// jQuery('img.btn[src*="btn_open-now"]').mouseover(function() {
// 	jQuery(this).attr('src','/App_Themes/achieva/i/btn_open-now_over.jpg');
// }).mouseout(function() {
// 		jQuery(this).attr('src','/App_Themes/achieva/i/btn_open-now_sm.jpg');
// 	});
// 	
// jQuery('img.btn[src*="btn_submit"]').mouseover(function() {
// 	jQuery(this).attr('src','/App_Themes/achieva/i/btn_submit_over.png');
// }).mouseout(function() {
// 		jQuery(this).attr('src','/App_Themes/achieva/i/btn_submit_sm.png');
// 	});
// 	
// jQuery('img.btn[src*="btn_register"]').mouseover(function() {
// 	jQuery(this).attr('src','/App_Themes/achieva/i/btn_register_over.png');
// }).mouseout(function() {
// 		jQuery(this).attr('src','/App_Themes/achieva/i/btn_register_sm.png');
// 	});
// 	
// jQuery('img.btn[src*="btn_back"]').mouseover(function() {
// 	jQuery(this).attr('src','/App_Themes/achieva/i/btn_back_over.png');
// }).mouseout(function() {
// 		jQuery(this).attr('src','/App_Themes/achieva/i/btn_back_sm.png');
// 	});



// this is for ie6 since it doesn't recognize css '+' selectors
jQuery(".RadMenu .selectedItem").next(".rmSlide").css({ display:"block", overflow:"visible", top:"31px" });
jQuery(".RadMenu .selectedItem").next(".rmSlide").children(".rmGroup").css({ display:"block", overflow:"visible", top:"0px"});