Try this in your onLoad event. It just checks for the Browser type and runs the script based on whether it's in the Client or not...
if (window.navigator.appName == 'Lotus Notes') {
// dont put anything in here
alert('dont execute');
} else {
//put the code you want to run in here
alert('put code here');
}