//Created 11/20/01 Kenneth Fly http://hsc.usf.edu/~kfly
//The function is used to determine what browser the client is using
//and returns a number based on what type of browser is being used.
//returns 1 for IE, 2for N6,3 for N4 and others. The function does not
//require any variables to be passed to it.

function browserdetect(){
//returns 1 for IE, 2for N6,3 for N4 and others
if(navigator.appName=="Microsoft Internet Explorer"){return 1;}
else if(navigator.appName=="Netscape" && parseInt(navigator.appVersion)==5){return 2;}
else{return 3;}
}

whereclick = "Target"
// browser detection script for forms
if (document.layers){
var isNn4 = true
whereclick = "Link"
}

else if (document.all){
var isIE = true
}

else if ((document.getElementById) || (document.all)) {
var isNN6 = true
whereclick = "Link"
}
