var Cyclobe = 
{	
  arrPPforms:null,
  arrPPimgs:null,
  arrPPimgButtons:null,	
  arrPPsubmitters:null,
  addLoadEvent:function(func)
  {
	  var oldonload = window.onload;
	  if (typeof window.onload != 'function') {
	    window.onload = func;
	  } else {
	    window.onload = function() {
	      if (oldonload) {
	        oldonload();
	      }
	      func();
	    }
	  }
  },
  resetFormsEls:function()
  {
		this.arrPPforms = document.forms;
		var arrPPformsLEN = arrPPforms.length;
		for (var i = 0; i < arrPPformsLEN; i++)
		{
		  this.arrPPimgs =  arrPPforms[i].getElementsByTagName("img");
		  var arrPPimgsLEN = arrPPimgs.length;
		  for (var q = 0; q < arrPPimgsLEN; q++)
		  {
			  arrPPimgs[q].style.display = 'none';
		  }
		  this.arrPPimgButtons =  arrPPforms[i].getElementsByTagName("input");
		  var arrPPimgButtonsLEN = arrPPimgButtons.length;
		  for (var w = 0; w < arrPPimgButtonsLEN; w++)
		  {
			  arrPPimgButtons[w].style.display = 'none';
		  }
		
		  this.arrPPsubmitters =  arrPPforms[i].getElementsByTagName("a");
		  var arrPPsubmittersLEN = arrPPsubmitters.length;
		  for (var z = 0; z < arrPPsubmittersLEN; z++)
		  {
			  arrPPsubmitters[z].onclick = function()
			  {
				  var DOMreferencedForm = this.parentNode;
				  DOMreferencedForm.submit(); 
			  }
		  }
	   }
	}
}