function copyTexBox(obj, idDest){
	if(autoPopulate)
		document.getElementById(idDest).value = obj.value;
}

function copySelect(x, idDiv){
	document.getElementById(idDiv).value = x.options[x.selectedIndex].value;
}

function trimHTTP(x) {
	var temp = new String(document.getElementById(x).value);
	temp = temp.replace('http://','');
	document.getElementById(x).value = temp;
}

function copyTexBoxIfNotEmpty(x, idDiv){
	if(document.getElementById(idDiv).value == '')
		document.getElementById(idDiv).value = document.getElementById(x).value;
}

function includeCopyTextBox() {
	/*copyTexBoxIfNotEmpty('comp_address_line1', 'address');
	copyTexBoxIfNotEmpty('comp_address_line2', 'address2');
	copyTexBoxIfNotEmpty('comp_zip', 'zip');
	copyTexBoxIfNotEmpty('comp_email', 'email');
	copyTexBoxIfNotEmpty('comp_phone1', 'phone');
	copyTexBoxIfNotEmpty('comp_fax', 'fax');*/
}