function CopyFromShipping() {
	if (document.registerform.x_copy_bill.checked) {
		document.registerform.ssn.value = document.registerform.firstname.value + ' ' + document.registerform.lastname.value;
	    copyField(document.registerform.phone, document.registerform.s_phone);
	    copyField(document.registerform.b_address, document.registerform.s_address);
	    copyField(document.registerform.b_city, document.registerform.s_city);
	    copyField(document.registerform.b_state, document.registerform.s_state);
	    copyField(document.registerform.b_zipcode, document.registerform.s_zipcode);
	    copyField(document.registerform.b_country, document.registerform.s_country);
	}
}

function copyField(from, to) {
	if (typeof(from)  != 'undefined') {
		if (typeof(to) != 'undefined') {
    		to.value = from.value;
    	}
	}
}

// JavaScript Document for visible sections
function viewSection(vID){
	var tabObj,sctObj,i,imgSrc,tmpObj;
	for (i=1;i<=10;i++){
		sctObj = "sctCont"+i;
		tabObj = "sctTab"+i;
		if (document.getElementById(sctObj)){
			tmpObj = document.getElementById(tabObj);
			imgSrc = tmpObj.className;
			if (vID==i){
				tmpObj.className = imgSrc.replace("off","on")
				showPageObj(sctObj);

			}
			else
			{
				tmpObj.className = imgSrc.replace("on","off")
				hidePageObj(sctObj);
			}
		}
	}
}
function showPageObj(item)
{
	obj = document.getElementById(item);
	obj.style.display = 'block';
}
function hidePageObj(item)
{
	obj = document.getElementById(item);
	obj.style.display = 'none';
}

<!--//--><![CDATA[//><!--

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]>