
  var pc_siteLocation = {rewriteOn : true,
   cart: '/ShoppingCart/',
   CartPaypal: '/ShoppingCart/PayPal/',
   checkoutLogin: '/checkout/LoginOption/',
   checkoutShipping: '/checkout/shipping/',
   checkoutBilling: '/checkout/billing/',
   checkoutReview: '/checkout/review/',
   checkoutFinal: '/checkout/ThankYou/',
   search: '/Search/',
   home: '/',
   memberLogin : '/member/login',
   memberHome : '/member/home',
   memberRegistration: '/member/register',
   orgRegistration : '/organization/register'}
   
  pc_siteLocation.prepTitle = function(titleString) 
  {
    var returnString = titleString.replace(/ /g,'_')
    return encodeURIComponent(returnString.replace(/-/g,''));
  } 
 
  pc_siteLocation.genProductLocation = function(pid, namestring){return '\/item\/' + this.prepTitle(namestring) + '\/' + pid}
  pc_siteLocation.genGroupLocation = function(gid, namestring){return '\/category\/' + this.prepTitle(namestring) + '\/' + gid}
  pc_siteLocation.genPageLocation = function(cpid, titlestring){return '\/Page\/' + this.prepTitle(titlestring) + '\/' + cpid}
  pc_siteLocation.genManufacturerLocation = function(mfid, namestring){return '\/manufacturer\/' + this.prepTitle(namestring) + '\/' + mfid}
  pc_siteLocation.genEmailItemLocation = function(pid, namestring){return '\/item\/email\/' + this.prepTitle(namestring) + '\/' + pid}
  pc_siteLocation.genNewsItemLocation = function(newsitemid, headline){return '\/news\/item\/' + (headline != '' ? this.prepTitle(headline) + '\/' : '' )  + newsitemid}
  pc_siteLocation.genNewsListLocation = function(listmode,newsgroupid,newsgroupname)
    {
      var returnString = '\/News/'
      if(listmode.match(/recent|all|archive/i)) {returnString += listmode + '\/'}
      else returnString += 'recent\/';
      if(newsgroupid && parseInt(newsgroupid) == newsgroupid)
        {
          if(newsgroupname != '') {returnString +=  this.prepTitle(newsgroupname) + '\/'}          
          returnString +=  newsgroupid;
        }
      return returnString;
    }
  
    
 //generated February 22, 2012 12:07:00 AM EST 
