$(function(){
	if(!($.browser.msie && /6.0/.test(navigator.userAgent))){
		$('#tabs a').corner('10px tl tr');
		$("#tabs ul").superfish({ autoArrows: false	});
	}	
	if($.browser.msie && /6.0/.test(navigator.userAgent)){
		$("#tabs li a").hover(function(){
			$(this).parent().addClass("over");
			$(this).css("background-position-y", "-42px");
		},function(){
			$(this).parent().removeClass("over");
			$(this).css("background-position-y", "0px");
		});
		$("#tabs ul li ul").hover(function(){
			$(this).parent().children("a").css("background-position-y", "-42px");
		},function(){
			$(this).parent().children("a").css("background-position-y", "0px");
		});		
		$("#tabs ul").superfish({ autoArrows: false, delay: 0 });
	}
	$('#nopossums').crossSlide({
		sleep: 2, //in sec
		fade: 1   //in sec
	}, [
	  { src: '/img/nopossums.gif', href: '/index.cfm/1,10,0,0,html/Possums' },
	  { src: '/img/no-borer.gif', href: '/index.cfm/1,13,0,0,html/Borer' },
	  { src: '/img/no-bugs-super.gif', href: '/index.cfm/1,23,0,0,html/Booklice' },
	  { src: '/img/no-mice.gif', href: '/index.cfm/1,12,0,0,html/Mice' },
	  { src: '/img/no-wasps.gif', href: '/index.cfm/1,22,0,0,html/Wasps-and-Bees' },
	  { src: '/img/no-ants-outdoors.gif', href: '/index.cfm/1,16,0,0,html/Ants' }
	]);
});
var flashvars = {};
var params = {};
params.wmode = "transparent";
swfobject.embedSWF("/swf/header.swf", "header", "949", "183", "7.0.0",false,flashvars,params);