function smFrm(formfield,hiddenfield,name){
	MM_findObj(hiddenfield).name = name;
	MM_findObj(hiddenfield).value = 'true';
	MM_findObj(formfield).submit();
}

function smFrm(formfield,hiddenfield,name,value){
	MM_findObj(hiddenfield).name = name;
	MM_findObj(hiddenfield).value = value;
	MM_findObj(formfield).submit();
}

function popupMessage(message){
	alert(message);
}

function openWindow(url, w, h) {
    var options = "width=" + w + ",height=" + h + ",";
    options += "resizable=yes,scrollbars=yes,status=yes,";
    options += "menubar=no,toolbar=no,location=no,directories=no";
    var newWin = window.open(url, 'newWin', options);
    newWin.focus();
}

function sitestat(ns_l){
	ns_l+="&ns__t="+(new Date()).getTime();
	ns_pixelUrl=ns_l;
	if(document.images){
		ns_1=new Image();
		ns_1.src=ns_l;
	}else
		document.write("<img src="+ns_l+" width=1 height=1>");
}

function optout(message, theurl){
	if(confirm(message)){
		window.location.href=theurl;
	}
}