function formSubmit(strform,msg){
	
	if( msg && !confirm(msg) ){
		return;
	}
	try{
		for(i=0; i<document.all.length; i++){
			if( document.all[i].type == "button" ){
				document.all[i].disabled = true;
			}
		}
	} catch(e) {
	}
	if( arguments.length > 2 ){
		for ( i = 2 ; i < arguments.length ; i++ ){
			var args = arguments[i].split("|");
			if( args.length == 1 ){
				document.forms[strform].elements[args[0]].value = "";
			}else{
				document.forms[strform].elements[args[0]].value = args[1];
			}
		}
	}
	document.forms[strform].submit();
}

function addBookmark(title, url)
{ 
	if (window.sidebar) {
		window.sidebar.addPanel(title, url,"");
	} else if( document.all ) {
		window.external.AddFavorite( url, title);
	} else if( window.opera && window.print ) {
	return true; 
	}
}
