<!--
var browser

if(navigator.appName == "Netscape" && document.layers != null && navigator.appVersion.charAt(0)=="4"){browser="N";}
else if(navigator.appName == "Microsoft Internet Explorer" && document.all != null){browser="IE";}
else if(navigator.appName == "Netscape" && document.getElementById != null && navigator.appVersion.charAt(0)=="5"){browser="IE";}
else{browser=null}

function getAppVersion() {
   appname= navigator.appName;
   appversion = navigator.appVersion;
   majorver = appversion.substring(0, 1);
   if ( (appname == "Netscape") && ( majorver >= 3 ) ) return 1;
   if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ) return 1;
   return 0;
   }

imgsrc = new Array();
// Email Mouseover
imgsrc[0] = 'http://www.torok.com/images/' + sTheme + '/b-email.gif';
imgsrc[1] = 'http://www.torok.com/images/' + sTheme + '/b2-email.gif';

// Menu - Home + Search
imgsrc[6] = 'http://www.torok.com/images/' + sTheme + '/b-srch.gif';
imgsrc[7] = 'http://www.torok.com/images/' + sTheme + '/b2-srch.gif';
imgsrc[8] = 'http://www.torok.com/images/' + sTheme + '/b-02.gif';
imgsrc[9] = 'http://www.torok.com/images/' + sTheme + '/b2-02.gif';
imgsrc[10] = 'http://www.torok.com/images/' + sTheme + '/b-03.gif';
imgsrc[11] = 'http://www.torok.com/images/' + sTheme + '/b2-03.gif';
imgsrc[12] = 'http://www.torok.com/images/' + sTheme + '/b-04.gif';
imgsrc[13] = 'http://www.torok.com/images/' + sTheme + '/b2-04.gif';
imgsrc[14] = 'http://www.torok.com/images/' + sTheme + '/b-05.gif';
imgsrc[15] = 'http://www.torok.com/images/' + sTheme + '/b2-05.gif';
imgsrc[16] = 'http://www.torok.com/images/' + sTheme + '/b-06.gif';
imgsrc[17] = 'http://www.torok.com/images/' + sTheme + '/b2-06.gif';
imgsrc[18] = 'http://www.torok.com/images/' + sTheme + '/b-07.gif';
imgsrc[19] = 'http://www.torok.com/images/' + sTheme + '/b2-07.gif';
imgsrc[20] = 'http://www.torok.com/images/' + sTheme + '/b-08.gif';
imgsrc[21] = 'http://www.torok.com/images/' + sTheme + '/b2-08.gif';
imgsrc[22] = 'http://www.torok.com/images/' + sTheme + '/b-09.gif';
imgsrc[23] = 'http://www.torok.com/images/' + sTheme + '/b2-09.gif';
imgsrc[24] = 'http://www.torok.com/images/' + sTheme + '/b-10.gif';
imgsrc[25] = 'http://www.torok.com/images/' + sTheme + '/b2-10.gif';
imgsrc[26] = 'http://www.torok.com/images/' + sTheme + '/b-contact.gif';
imgsrc[27] = 'http://www.torok.com/images/' + sTheme + '/b2-contact.gif';

if (getAppVersion()) {
   img = new Array();
   for (i = 0; i < imgsrc.length; i++) {
      img[i] = new Image();
      img[i].src = imgsrc[i];
      }
   }

function chgImg(myNum, myName) {
   if (getAppVersion()) {
      document[myName].src = img[myNum].src;
      }
   }

//-->
