var counterPS = 0;
function morePShares(cc)
{
	//counterPS++;
	//for(i=0;i<=5;i++)
	//{
		if (document.getElementById('trans_read'+cc) != null)
			document.getElementById('trans_read'+cc).style.display = 'block';
		
	//}
}
/*	var newField = newFields.childNodes;
	for (var i=0;i<newField.length;i++)
	{
		var theName = newField[i].name
		if (theName)
			newField[i].name = theName + counterPS;
	}
	var insertHere = document.getElementById('trans_write');
	insertHere.parentNode.insertBefore(newFields,insertHere);
}*/


function addOnloadEvent(fnc){
  if ( typeof window.addEventListener != "undefined" )
  {
    window.addEventListener( "load", fnc, false );
}
  else if ( typeof window.attachEvent != "undefined" ) {
    window.attachEvent( "onload", fnc );
  }
  else {
    if ( window.onload != null ) {
      var oldOnload = window.onload;
      window.onload = function ( e ) {
        oldOnload( e );
        window[fnc]();
      };
    }
    else
      window.onload = fnc;
  }
}
addOnloadEvent(morePShares);


