//the General Properties object
   // bg property (collection of discovered files) -- contents <array> created in jqfrmwk.markup with data collected by php

var gp = {
   trackedforms : new Array() ,

   btc : {
     ft : 'btTrkfrm' ,
     hvr : '.regHvr' ,
     blur : '.regBlur' ,
     sf : 'regShowform' ,
     xpnow : '.btXpostnow' ,
     xpltr : '.btXpostltr' 
   } ,

   ie : false ,
   gel : '/gel/' ,
   ieimgsub : '/gel/imgplaceholder.png' ,
   alphaloader : 'DXImageTransform.Microsoft.AlphaImageLoader' ,
   BGtracking : false ,
   bgdir : '/gel/tile/' ,
   
   trackthisform : function(name) {
     this.trackedforms.push(new this.trackedform(name)) ;
   } ,
   
   trackedform : function(formname) {
     this.name = formname ;
     this.active = null ;
     this.submitted = false ;
   } 
}



String.prototype.extract = function(chunk){
  var sep = '' ;
  if ( this.indexOf('-') != -1 ) {
   sep = '-' ;
  } else if (this.indexOf('_') != -1) {
   sep = '_' ;
  }
  var chunks = this.split(sep) ;
  return chunks[chunk] ;
}



