function submit(objForm){
	objForm.submit();
}

function setActionSubmit(objForm, strAction){
	objForm.action = strAction;
	objForm.submit();
}

function setParam(obj, value) {
	obj.value = value;
}

function moveLocation(strUrl){
	location.href = strUrl;
}

function slide(id, id2){
  var value = document.getElementById(id).display;
  if (value != null) {
	  if (value == "none") {
	    document.getElementById(id).display = "block";
	  }
  }
  $(id2).slideToggle('slow');
  if (value != null) {
	  if (value == "block") {
	    document.getElementById(id).display = "none";
	  }
  }
}

function win01(URL,Winname,Wwidth,Wheight){
	var WIN;
	WIN = window.open(URL,Winname,"width="+Wwidth+",height="+Wheight+",scrollbars=yes,resizable=no,toolbar=no,location=no,directories=no,status=no");
	WIN.focus();
}

function imgChange(obj){
	document.getElementById("main").src = obj.src;
	document.getElementById("comment").innerText  = obj.id;
	document.getElementById("comment").textContent  = obj.id;
}


