var o = window.onload;

window.onload = function(e) {
	var inputs = document.getElementsByTagName('input');
alert(inputs[0].name);
	if(o) o(e);
}

