rem: gPGTranslate.enableTranslate(aLocation.asciiSpec); 
context: function PGTranslate() // lets initialise some of the variables that we are going to use{	/*	this.pref_theLanguage;	this.pref_displayContextMenu ;	this.pref_displayToolMenu ;	*/	this.translateBundle;  //holds variable found in translate.properties		this.PGTranslate_prefs = new PGTranslate_prefs();			this.myListener =           //listens for page refreshs, if the page refreshed is an image then translate is disabled	{		onStateChange:function(aProgress,aRequest,aFlag,aStatus){},		onLocationChange:function(aProgress,aRequest,aLocation)		{			gPGTranslate.enableTranslate(aLocation.asciiSpec);		},		onProgressChange:function(a,b,c,d,e,f){},		onStatusChange:function(a,b,c,d){},		onSecurityChange:function(a,b,c){},		onLinkIconAvailable:function(a){}	}		this.initPref(this.PGTranslate_prefs.PREF_CONTEXTMENU_ENABLED , "bool", true);    this.initPref(this.PGTranslate_prefs.PREF_TOOLMENU_ENABLED , "bool", true);    this.initPref(this.PGTranslate_prefs.PREF_LANGUAGE , "int", 0);}
meta: 9817	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9817/5ef45de1b7ad016102d93f8b0600eedee2a03b67/translate.js/buggy/tags/r_0_6_0/chrome/content/translate.js