// Make form auto focus on page load
<!--
// $(document).ready(function() {
       // focus on the first text input field in the first field on the page
//        $("input[type='text']:first", document.forms[0]).focus();
//   });
//-->

// Expanding text function
<!--
var ie4 = false; 
if(document.all) {
	ie4 = true; 
}
function getObject(id) {
	if (ie4) { 
		return document.all[id]; 
	} 
	else { 
		return document.getElementById(id); 
	} 
}
function toggle(link, divId) {
	var lText = link.innerHTML; var d = getObject(divId);
 	if (lText == '+ more info') {
		link.innerHTML = '&#8722; less info'; d.style.display = 'block'; 
	 }
 	else {
		link.innerHTML = '+ more info'; d.style.display = 'none'; 
	} 
}
//-->

// Popup window function
<!--
function popitup(url)
{
	newwindow=window.open(url,'window1','height=220,width=760');
	if (window.focus) {newwindow.focus()}
	return false;
}

// -->
// Popup window function for Privacy Policy
<!--
function popitup2(url)
{
	newwindow=window.open(url,'window2','height=600,width=596');
	if (window.focus) {newwindow.focus()}
	return false;
}
// -->

// Popup window function for eContent
<!--
function popitup3(url)
{
	newwindow=window.open(url,'window3','height=500,width=760');
	if (window.focus) {newwindow.focus()}
	return false;
}
// -->

// Popup window function for Free Guide
<!--
function popitup4(url)
{
	newwindow=window.open(url,'window4','height=580,width=324');
	if (window.focus) {newwindow.focus()}
	return false;
}

// -->


// Open links in new window
<!--
function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;
// -->

//toolbar=0|1  Specifies whether to display the toolbar in the new window.  
//location=0|1  Specifies whether to display the address line in the new window.  
//directories=0|1  Specifies whether to display the Netscape directory buttons.  
//status=0|1  Specifies whether to display the browser status bar.  
//menubar=0|1  Specifies whether to display the browser menu bar.  
//scrollbars=0|1  Specifies whether the new window should have scrollbars.  
//resizable=0|1  Specifies whether the new window is resizable.  
//width=pixels  Specifies the width of the new window.  
//height=pixels  Specifies the height of the new window.  
//top=pixels  Specifies the Y coordinate of the top left corner of the new window. (Not supported in version 3 browsers.)  
//left=pixels  Specifies the X coordinate of the top left corner of the new window. (Not supported in version 3 browsers.)  

