//
// Cursor functions
//
function changeCursor( valIn ) {
  // possible values auto,pointer,crosshair,help,move,text,default,wait
  if (ie4)
    document.body.style.cursor = valIn;
  else if (w3DOM)
    document.getElementById('img1').style.cursor = valIn;
}
function changeCursor2( objID, cursorVal ) {
  // possible values auto,pointer,crosshair,help,move,text,default,wait
  if (document.getElementById){
    document.getElementById( objID ).style.cursor = cursorVal;
  }
}

//
// String functions
//
function trim(stringToTrim) {
 return stringToTrim.replace(/^\s+|\s+$/g,"");
}//END: trim

