// JavaScript Document
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function GP_popupConfirmMsg(msg) { //v1.0
  document.MM_returnValue = confirm(msg);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_openBrWindowADV(theURL,winName,w,h,scrollbars) { 
  LeftPosition=(screen.width)?(screen.width-w)/2:100;
  TopPosition=(screen.height)?(screen.height-h)/2:100;
  settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scrollbars+',location=no,directories=no,status=0,menubar=no,toolbar=no,resizable=no';
  myURL = theURL;
  window.open(myURL,winName,settings);
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MK_dynamicForm() { //v4.0 
  var obj,l,args=MK_dynamicForm.arguments; val=document.MM_returnValue; val=(val==null)?true:val;
  if(val){obj=MM_findObj(args[0]);l=args.length; if(obj){if(l>2){for (i=2; i<(l-1); i+=2)
  {eval("obj."+args[i]+"='"+args[i+1]+"';")}} eval("obj."+args[1]+"();");}}
  document.MM_returnValue = false;
}

function KW_submitOnce(obj){ // Copyright 2004 Kaosweaver
	d=document; if (d.getElementById) {for (i=0;i<obj.length;i++){var fObj=obj.elements[i];
	fObj.disabled=(fObj.type.toLowerCase()=="submit"||fObj.type.toLowerCase()=="reset")}}
}

function disableButton() {
	document.form1.Submit.disabled = true;
	document.form1.Submit.enabled = false;
}

function decision(message, url){
	if(confirm(message)) location.href = url;
}

function displayTarget(trigger,target,input) {
	var parent = document.getElementById(trigger); //menu trigger
	var child = document.getElementById(target); //id target
	var subchild = document.getElementById(input); //input target
	if (parseInt(parent.options[parent.selectedIndex].value) > 0) {
		child.style.display = "";
	} else {
		child.style.display = "none";
		subchild.value = "";
	}
}
//-->