why not just put the 2 javascript together in one file in sep functions..
this would go in body tag or head tag
Code:
<script src=detect.js></script>
<script>
var browser_type=navigator.appName
var browser_version=parseInt(navigator.appVersion)
//if IE 4+
if (browser_type=="Microsoft Internet Explorer"&&browser_version>=4){
document.write("- press any keyboard key to skip to the next picture -<br>");
ie();
}
else
{
notie();
}
</script>
This would go inside detect.js
Code:
function ie() {
alert('Your using internet explorer');
}
function notie() {
alert('Your not using internet explorer');
}