
	// BRW note: 
	// I know that hideAgentChat isn't needed here as the table row containing the Agent Chat links
	// is already hidden.  I include it for completeness as, sometime soon, someone is probably going to ask
	// for something else to be shown if agents are not available - a 'click here to email us' link
	// for example.  In that case, simply build the row with the call to 'email us' and make that visible
	// via the 'hideAgentChat' routine.
	
	
	// Note that 'forceAgentChat' is a demo thing only.  At time of writing, Live Agents were never
	// available so using ?mode=9999 forced the Agent Chat icon to be displayed.
	
	

	function showAgentChat(){
		var e = document.getElementById("chatRow")
		e.className = "";
	}

	function hideAgentChat(){
		var e = document.getElementById("chatRow")
		e.className = "hiddenRow";
	}
	
  if(!forceAgentChat){
		document.write('<img src="http://rs.instantservice.com/resources/smartbutton/5982/37689/available.gif?' + Math.floor(Math.random()*10001) + '" style="width:0;height:0;visibility:hidden;position:absolute;" onLoad="showAgentChat()" onError="hideAgentChat()">');
	} else {
		showAgentChat();
	}

