 var pos = str.indexOf('('); if (pos > -1) { pos++; tz = str.substring(pos, str.indexOf(')')); }  else{    var pat = /([A-Z\/]+) \d{4}$/; if((match = str.match(pat))) { tz = match[1]; }   else{ str = dateObject.toLocaleString();   pat = / ([A-Z\/]+)$/; if((match = str.match(pat))) { tz = match[1]; } } } 
 var pos = str.indexOf('('); if (pos > -1) { pos++; tz = str.substring(pos, str.indexOf(')')); }  else{    var pat = /([A-Z\/]+) \d{4}$/; if((match = str.match(pat))) { tz = match[1]; }   else{ str = dateObject.toLocaleString();   pat = / ([A-Z\/]+)$/; if((match = str.match(pat))) { tz = match[1]; } } } 
dojo.date.getTimezoneName = function(/*Date*/dateObject){// summary://  Get the user's time zone as provided by the browser//// dateObject: needed because the timezone may vary with time (daylight savings)//// description://  Try to get time zone info from toString or toLocaleString//  method of the Date object -- UTC offset is not a time zone.//  See http://www.twinsun.com/tz/tz-link.htm//  Note: results may be inconsistent across browsers.  var str = dateObject.toString(); // Start looking in toString  var tz = ''; // The result -- return empty string if nothing found  var match;  // First look for something in parentheses -- fast lookup, no regex  var pos = str.indexOf('(');  if (pos > -1) {    pos++;    tz = str.substring(pos, str.indexOf(')'));  }  // If at first you don't succeed ...  else{    // If IE knows about the TZ, it appears before the year    // Capital letters or slash before a 4-digit year    // at the end of string    var pat = /([A-Z\/]+) \d{4}$/;    if((match = str.match(pat))) {      tz = match[1];    }    // Some browsers (e.g. Safari) glue the TZ on the end    // of toLocaleString instead of putting it in toString    else{      str = dateObject.toLocaleString();      // Capital letters or slash -- end of string,      // after space      pat = / ([A-Z\/]+)$/;      if((match = str.match(pat))) {        tz = match[1];      }    }  }  // Make sure it doesn't somehow end up return AM or PM  return tz == 'AM' || tz == 'PM' ? '' : tz; //String}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js