JavaScript Execute Code na página Carregar
<html>
<body onload="loaded();"></body>
<script>
function loaded() {
alert('Page is loaded');
}
</script>
</html>
Darkvent