<!--
function popup(winurl,winname,width,height) {
	var version, handle;
	handle = window.open(winurl,winname, 'width=' + width + ',height=' + height + ',resizable=0,scrollbars');
	version = navigator.appVersion.substring(0,1);
	if (version!="2") handle.focus();
}
function popup1(winurl,winname,width,height) {
	var version, handle;
	handle = window.open(winurl,winname, 'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no');
	version = navigator.appVersion.substring(0,1);
	if (version!="2") handle.focus();
}
function popup2(winurl,winname,width,height) {
	var version, handle;
	handle = window.open(winurl,winname, 'width=' + width + ',height=' + height + ',resizable=1,scrollbars=no');
	version = navigator.appVersion.substring(0,1);
	if (version!="2") handle.focus();
}
function clear_form_field(obj,fieldvalue) {
	if (obj.value == fieldvalue) {
		obj.value = '';
	}
}
function reset_form_field(obj,fieldvalue) {
	if (obj.value == '') {
		obj.value = fieldvalue;
	}
}
function showpic(filename) {
	if(document.all) {
		// IE way of doing it
		document.all.picimg.src = filename;
	}
	else if(document.getElementById){
		// Mozilla way of doing it
		document.getElementById('picimg').src = filename;
	}

}
function set_td_bg(obj,colour) {
	obj.style.background=colour;
}
//-->