		function browserFail(){
			$("#accept").fadeTo("fast",0.20);
			$("#accept").attr('href','#');
			$(".accepttext").html('<strong>Sorry, your browser is not supported yet.</strong><br />yolink currently supports the following browsers:<br />Mozilla Firefox (Mac and Windows)<br />Internet Explorer (Windows)');
		}
		
		function buildDownloadLink(platform,browser,version){
			$("#accept").attr('href','?p='+platform+'&b='+browser+'&v='+version);
		}
		
		function showFFDialog(ver){
			//different instrunctions for FF2
			if(ver <= 2){ $("#pointer").attr('src','im/ff2_pointer.gif'); }
			$("#install_help").slideDown("slow");
		}
		
		function downloadYolink(loc){
			window.location = loc;
		}
		
		function nav_overs(elem)
		{
			var pnav = document.getElementById(elem);
			if(pnav != null)
			{
			var nav_items = pnav.getElementsByTagName('li');
			if(nav_items != null)
			{
			for(i=0;i<nav_items.length;i++){
				//dont try to make rollovers for images with no_rollover class
				if(nav_items[i].className != 'act'){
					nav_items[i].onmouseover=function(){this.className = 'act';}
					nav_items[i].onmouseout=function(){this.className = '';}
				}				
				
			}
			}
			
			}
		}
		
		timer = null;

		function fadeIn(id){
		if(timer) clearTimeout(timer);
		$(id).fadeIn('fast');
		$('#treatments').addClass('act');
		}

		function fadeOut(id){
		timer = setTimeout("doFade('"+id+"')",100);
		}

		function doFade(id){
		$(id).fadeOut('fast');
		$('#treatments').removeClass('act');
		}

		window.onload=function(){
			nav_overs('nav');
		}