rem: var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);  if (prefs.getPrefType(this._prefLatitude) == prefs.PREF_INT){ this._latitude = prefs.getIntPref(this._prefLatitude); }  if (prefs.getPrefType(this._prefLatitudeNorthSouth) == prefs.PREF_STRING){ var northSouth = prefs.getCharPref(this._prefLatitudeNorthSouth); if ("south" == northSouth) { this._latitude = -this._latitude; } } 
add: var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);  try { this._latitude = prefs.getIntPref(this._prefLatitude); }	catch(ex) { dump(ex + "\n"); } finally { dump("latitude: " + this._latitude + "\n"); }  try { this._longitude = prefs.getIntPref(this._prefLongitude); }	catch(ex) { dump(ex + "\n"); } finally { dump("longitude: " + this._longitude + "\n"); } 
context: 	readPreferences: function() {	  var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);		  if (prefs.getPrefType(this._prefLatitude) == prefs.PREF_INT){	    this._latitude = prefs.getIntPref(this._prefLatitude);	  }			  if (prefs.getPrefType(this._prefLatitudeNorthSouth) == prefs.PREF_STRING){	    var northSouth = prefs.getCharPref(this._prefLatitudeNorthSouth);	    if ("south" == northSouth) {	    	this._latitude = -this._latitude;	    	}	  }	  if (prefs.getPrefType(this._prefLongitude) == prefs.PREF_INT){	    this._longitude = prefs.getIntPref(this._prefLongitude);	  }	  if (prefs.getPrefType(this._prefLongitudeEastWest) == prefs.PREF_STRING){	    var eastWest = prefs.getCharPref(this._prefLongitudeEastWest);	    if ("west" == eastWest) {	    	this._longitude = -this._longitude;	    	}	  }	},
meta: 2362	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2362/c381908e78348dc5a721ac8528f90a9c035b67ae/overlay.js/clean/suncult-src/content/suncult/overlay.js