<!--//
function confirm_delete() {
	if(confirm("Are you sure you want to delete this record? Click 'OK' to delete, click 'Cancel' to do nothing.")) {
		return_value = true
	} else {
		return_value = false
	}
	
	return return_value
}

function changeData(formData) {
	document.forms[0].content_text.value = formData;
	return true;
}


function pop(link,thewidth,theheight){
	all_features = "menubar=no,scrollbars=yes,resizable=yes,top=0,left=20, width="+thewidth+", height="+theheight;
	window.open(link,'myWindow',all_features);
}

function send_box(do_open,top,left) {
	if (!top) var top = '10px';
	if (!left) var left = '929px';
	
	var sb = document.getElementById('send_box');
	if (do_open == 0) {
		sb.style.display = 'none';
		return;
	}
	sb.style.display = 'block';
	sb.style.position = 'absolute';
	sb.style.top = top;
	sb.style.left = left;
	document.getElementById('send_box_field').focus();
	document.getElementById('send_box_field').select();
}

function stretch(id,height) {
	document.getElementById(id).style.height=height;
}

function qf_validate() {
	var error_message = '';
	if (document.getElementById('name').value == '') {
		error_message += '* Please enter your Name'+"\n";
	}
	if (document.getElementById('email').value == '') {
		error_message += '* Please enter your Email Address'+"\n";
	}
	if (document.getElementById('dayphone').value == '') {
		error_message += '* Please enter a Contact Phone Number'+"\n";
	}
	if (error_message != '') {
		alert('To complete your enquiry ...'+"\n" + error_message);
		return false;
	} else {
		return true;
	}
}

//-->