function util_stepbystep(){
	var stepbystep_urls = new Array();
	stepbystep_urls['tty']			= "/services/tty_relay/standard_tty.php";
	stepbystep_urls['vrs'] 			= "/services/vrs_relay/how_to_make_a_call.php";
	stepbystep_urls['im'] 			= "/services/im_relay/how_to_imrelay.php";
	stepbystep_urls['ip'] 			= "/services/ip_relay/ip_howto_make_call.php";
	stepbystep_urls['vco_to_tty'] 	= "/support/step_by_step_instructions/vco_to_tty.php";
	stepbystep_urls['hco_to_tty'] 	= "/support/step_by_step_instructions/hco_tty.php";
	stepbystep_urls['basic_vco'] 	= "/support/step_by_step_instructions/basic_vco.php";
	stepbystep_urls['twoline_vco'] 	= "/support/step_by_step_instructions/two_line_vco.php";
	stepbystep_urls['vco_to_vco'] 	= "/support/step_by_step_instructions/vco_to_vco.php";
	stepbystep_urls['privacy_vco'] 	= "/support/step_by_step_instructions/privacy_vco.php";
	stepbystep_urls['basic_hco'] 	= "/support/step_by_step_instructions/basic_hco.php";
	stepbystep_urls['hco_to_hco'] 	= "/support/step_by_step_instructions/hco_to_hco.php";
	stepbystep_urls['privacy_hco']	= "/support/step_by_step_instructions/privacy_hco.php";
	stepbystep_urls['speech_to_speech'] = "/support/step_by_step_instructions/sts.php";
	stepbystep_urls['pay_per_call'] = "/support/step_by_step_instructions/pay_per_call.php";
	stepbystep_urls['telebraille'] 	= "/support/step_by_step_instructions/telebraille.php";
	if(jQuery("#util_stepbystep_instructions").attr('selectedIndex')>0){
		index = jQuery("#util_stepbystep_instructions").val();
		window.location = stepbystep_urls[index];
	}
	
}

function util_quick_link(){
	var quick_link_urls = new Array();
	quick_link_urls['vrs']			= "http://www.attvrs.com/";
	quick_link_urls['im_relay'] 			= "/services/im_relay.php";
	quick_link_urls['support'] 			= "/support.php";
	if(jQuery("#util_quick_links").attr('selectedIndex')>0){
		index = jQuery("#util_quick_links").val();
		window.location = quick_link_urls[index];
	}
	
}

function doprint(url){
	win=window.open(url+"?print_view=yes","print_window","left=100,top=100,width=740,height=500,resizable=yes,scrollbars=yes");
	if(win){
		win.focus();		
	}
	
	
}

jQuery(document).ready(function(){
							
							jQuery("#all_faq_toggler").bind("click", function(){
																			  if(jQuery(this).html()=="Open All"){
																				  jQuery(this).html("Close All");
																				  jQuery(".expand").removeClass("expand").addClass("collapse");
																				  jQuery(".question-text").css("display","block");
																			  }
																			  else{
																				  jQuery(this).html("Open All");
																				  jQuery(".collapse").removeClass("collapse").addClass("expand");
																				  jQuery(".question-text").css("display","none");
																			  }
																			  });
						   jQuery(".expand").bind("click",function(){
																   
																   if(jQuery(this).hasClass("expand")){
																	   jQuery(this).parent().siblings().css("display","block");
																	   jQuery(this).removeClass("expand").addClass("collapse");
																   }
																   else{
																	   jQuery(this).parent().siblings().css("display","none");
																	   jQuery(this).removeClass("collapse").addClass("expand");
																	   
																   }
																   });
						   
					   }
					   );