/**
	==================================================
	==================How To Install==================
	==================================================

	1) Create your links that will be used for your tabs
				<a href="javascript:openTab('tab-features');" rel="tab-features">Features</a>
				<a href="javascript:openTab('tab-specs');" rel="tab-specs">Specs</a>	
				
				Note: "rel" must start with "tab-" in order for the script to understand it's part of a tab block.
				
				Note: Classes are automatically created based on the value in "rel", example if the value is "tab-features"
					  then two classes are created: "tab-features" and "tab-features-selected". This is so you can style
					  the tabs.
							
	2) Edit this file (tabs.settings.js) to change the default configuration for the tabs
	
	3) Include the following files after the links or at the very bottom of the page:
				<script language="javascript" type="text/javascript" src="/js/tabs.js"></script>
				<script language="javascript" type="text/javascript" src="/js/tabs.settings.js"></script>
				
				Note: The value inside "loadTabs" is for the default selected tab. For this example we are automatically
					  loading the "tab-features" link.	
					  
	AJAX Functionality:
		Below you can change the default location of the file Javascript will call to get tab information. Right now it passes along the tab name
		(as defined under "rel") along with any other URL variable.
		
		Example:
			If you're on "http://www.domain.com/Products.asp?id=1&page=home" then the page that's requested will be:
			"TabRequest.asp?tab=tab-features&id=1&page=home".

	=================================================
**/

var ajaxURL		= '/page_includes/FAQRequest.asp'; //The URL where the script will request information - will send as a GET request and send the value from the "rel" under the variable "tab"
var loadTab		= 'tab-info'; //The DIV ID where the AJAX content will be displayed
var defaultTab	= 'tab-general'; //The default tab (from the "rel" tag) that will be loaded when the page loads.

//DO NOT EDIT BELOW THIS LINE
loadTabs(defaultTab);