function bla3 (a) {
	window.alert(a);
}

function postwith (to,p) {
  //p can be in the form {name1:'value1',name2:'value2'}
  var myForm = document.createElement("form");
  myForm.method="post" ;
  myForm.target="_blank";
  myForm.action = to ;
  for (var k in p) {
    var myInput = document.createElement("input") ;
    myInput.setAttribute("name", k) ;
    myInput.setAttribute("value", p[k]);
    myForm.appendChild(myInput) ;
  }
  document.body.appendChild(myForm) ;
  myForm.submit() ;
  document.body.removeChild(myForm) ;
}

function openpopup(url) {	
	if (url) {
		//window.alert(url);
		window.open(url,"window2","location=1,status=1,scrollbars=1,,width=900,height=700");	
		}
		else
		{
		window.alert('nothing to open');	
		}
}

function showwait(hiddenvisible) {
  document.getElementById('pleasewaitScreen').style.visibility = hiddenvisible;
}