Javascript References:
Basic format:
<script><!--function funcName(var1,var2,...) { var3 = var1; do stuff here;}--></script>
Tips and Tricks: