  var ary_attrs = [
[799,2,0,0,0,1,1,6,2,20,320,2048,'http://amdimg.mezimedia.com/product/75x75/27877206/HP-TouchSmart-300-1015uk-(VG254AA#ABU)-AMD-Athlon-II-X2-235e-2048MB-RAM-320GB-HD-Windows-7-Home-Premium-+-20-in.-LCD.jpg ','HP TouchSmart 300-1015uk (VG254AA#ABU) AMD Athlon II X2 235e 2048MB RAM 320GB HD Windows 7 Home Premium + 20 in. LCD','http://www.amazon.co.uk/TouchSmart-300-1015uk-Desktop-Enabled-Processor/dp/B002RT8XPQ/ref=sr_1_27?ie=UTF8&m=A3P5ROKL5A1OLE&s=electronics&qid=1258848470&sr=1-27','30000763','prodinfo/30000763.html?price_tab','prodinfo/30000763.html?info_tab','1',28857],
[498,2,0,0,0,2,1,6,2,0,320,2048,'http://amdimg.mezimedia.com/product/75x75/27877207/HP-Pavilion-All-in-One-MS215uk-(VG256AA#ABU)-AMD-Athlon-X2-3250e-2048MB-RAM-320GB-HD-Windows-7-Home-Premium.jpg ','HP Pavilion All-in-One MS215uk (VG256AA#ABU) AMD Athlon X2 3250e 2048MB RAM 320GB HD Windows 7 Home Premium','http://www.amazon.co.uk/Pavilion-MS215uk-Desktop-Windows-Processor/dp/B002R8L6OW/ref=sr_1_6?ie=UTF8&m=A3P5ROKL5A1OLE&s=electronics&qid=1258848468&sr=1-6','30000764','prodinfo/30000764.html?price_tab','prodinfo/30000764.html?info_tab','2',28857],
[479,2,0,0,0,2,1,6,2,18,320,2048,'http://amdimg.mezimedia.com/product/75x75/27877211/HP-Pavilion-All-in-One-MS215UK-(VG256AA)-AMD-Athlon-X2-3250e-2048MB-RAM-320GB-HD-Windows-7-Home-Premium-64-Bit.jpg ','HP Pavilion All-in-One MS215UK (VG256AA) AMD Athlon X2 3250e 2048MB RAM 320GB HD Windows 7 Home Premium 64-Bit','http://www.play.com/PC/PCs/-/656/863/-/12123742/Hewlett-Packard-Pavilion-All-in-One-MS215UK-AMD-Athlon-X2-3250e-1-5GHz-2GB-320GB-20-DVD-SM-Windows-7-Home-Premium-64Bit-Desktop-PC/Product.html?searchtype=genre','30000769','prodinfo/30000769.html?price_tab','prodinfo/30000769.html?info_tab','1',28868],
[425,3,0,3,0,7,0,0,3,0,320,2048,'http://amdimg.mezimedia.com/product/75x75/25593151/Lenovo-ThinkCentre-A62-(SCA71UK)-AMD-Athlon-64-X2-5400+-2048MB-RAM-320GB-HD-Windows-Vista-Business.jpg ','Lenovo ThinkCentre A62 (SCA71UK) AMD Athlon 64 X2 5400+ 2048MB RAM 320GB HD Windows Vista Business','http://www.misco.co.uk/applications/SearchTools/item-details.asp?EdpNo=341806&CatId=0','1170143','prodinfo/1170143.html?price_tab','prodinfo/1170143.html?info_tab','1',26677],
[407,2,0,3,0,6,1,5,3,0,250,2048,'http://amdimg.mezimedia.com/product/75x75/25597814/HP-DC5850-MCT-(KV568ET#ABD)-AMD-Athlon-64-X2-5000+-2048MB-RAM-250GB-HD-Windows-Vista-Business.jpg ','HP DC5850 MCT (KV568ET#ABD) AMD Athlon 64 X2 5000+ 2048MB RAM 250GB HD Windows Vista Business','http://www.ebuyer.com/product/167237','1242026','prodinfo/1242026.html?price_tab','prodinfo/1242026.html?info_tab','1',28861],
[399,0,0,0,0,0,4,2,1,0,1000,4096,'images/amd_sm.jpg','Acer Aspire X1301-5F7R (98.X5F7R.CPN) AMD Athlon X2 215 4096MB RAM 1000GB HD Windows 7 Home Premium','http://www.amazon.co.uk/Acer-Desktop-dual-core-processor-Windows/dp/B002N5VJ82/ref=sr_1_17?ie=UTF8&m=A3P5ROKL5A1OLE&s=electronics&qid=1258848497&sr=1-17','30000524','prodinfo/30000524.html?price_tab','prodinfo/30000524.html?info_tab','1',28857],
[399,0,0,0,0,0,4,0,1,19,500,3072,'http://amdimg.mezimedia.com/product/75x75/27877190/Acer-Aspire-X1301-AMD-Athlon-X2-215-3072MB-RAM-500GB-HD-Windows-7-Home-Premium.jpg ','Acer Aspire X1301 AMD Athlon X2 215 3072MB RAM 500GB HD Windows 7 Home Premium','http://direct.tesco.com/q/R.207-9729.aspx','30000753','prodinfo/30000753.html?price_tab','prodinfo/30000753.html?info_tab','1',28692],
[379,0,0,0,0,3,4,1,3,0,320,2048,'http://amdimg.mezimedia.com/product/75x75/27877199/Acer-Veriton-L410-(P1.17E9Z.M7S)-AMD-Athlon-X2-4400+-2048MB-RAM-320GB-HD-Windows-Vista-Business.jpg ','Acer Veriton L410 (P1.17E9Z.M7S) AMD Athlon X2 4400+ 2048MB RAM 320GB HD Windows Vista Business','http://www.misco.co.uk/applications/SearchTools/item-details.asp?EdpNo=363922&CatId=3110','30000756','prodinfo/30000756.html?price_tab','prodinfo/30000756.html?info_tab','2',26677],
[365,0,0,2,0,3,3,4,3,0,320,2048,'images/amd_sm.jpg','Acer L410 X2 (PS.L41C1.U91) AMD Athlon X2 4400+ 2048MB RAM 320GB HD Windows Vista Business','http://www.amazon.co.uk/Acer-Veriton-Desktop-Athlon-Dual-Core/dp/B0025D0ZLE/ref=sr_1_64?ie=UTF8&m=A3P5ROKL5A1OLE&s=electronics&qid=1258848474&sr=1-64','1232839','prodinfo/1232839.html?price_tab','prodinfo/1232839.html?info_tab','3',28857],
[349,0,0,4,0,8,2,3,4,19,640,3072,'http://amdimg.mezimedia.com/product/75x75/25593282/Acer-ASX3200-AMD-Athlon-64-X2-8450-3072MB-RAM-640GB-HD-Windows-Vista-Home-Premium.jpg ','Acer ASX3200 AMD Athlon 64 X2 8450 3072MB RAM 640GB HD Windows Vista Home Premium','http://www.argos.co.uk/static/Product/partNumber/5070657/c_1/1%7Ccategory_root%7COffice%2C+PCs+and+phones%7C14418968/c_2/3%7C15701344%7CComputers+and+monitors%7C14419111/c_3/4%7Ccat_14419111%7CDesktop+computers%7C14419114.htm','1187315','prodinfo/1187315.html?price_tab','prodinfo/1187315.html?info_tab','1',29877],
[349,2,0,1,0,4,2,3,4,0,320,2048,'http://amdimg.mezimedia.com/product/75x75/25592890/HP-s3734uk-(NC051AA)-AMD-Athlon-X2-4450E-2048MB-RAM-320GB-HD-Windows-Vista-Home-Premium.jpg ','HP s3734uk (NC051AA) AMD Athlon X2 4450E 2048MB RAM 320GB HD Windows Vista Home Premium','http://direct.tesco.com/q/R.205-6922.aspx','1223203','prodinfo/1223203.html?price_tab','prodinfo/1223203.html?info_tab','1',28692],
[206,1,0,0,0,5,5,3,0,0,500,2048,'http://amdimg.mezimedia.com/product/75x75/27882130/ASUS-AWD-IT-HPC07-AMD-Athlon-X2-4800+-2048MB-RAM-500GB-HD-No-OS.jpg ','ASUS AWD-IT HPC07 AMD Athlon X2 4800+ 2048MB RAM 500GB HD No OS','http://www.awd-it.co.uk/scripts/prodView.asp?idproduct=4307','30000759','prodinfo/30000759.html?price_tab','prodinfo/30000759.html?info_tab','1',32145]
  ];

  var ary_cats = [
  { 'name':'Best Price',
    'cmp':'range',
    'active':false,
    'bot':206,
    'top':799,
    'pass_top':1000000,
    'pass_bot':0
  },
  { 'name'    : 'Manufacturer',
    'cmp'     : 'eq',
    'options' : [
      { 'name':'Acer','status':true },
      { 'name':'ASUS','status':true },
      { 'name':'HP','status':true },
      { 'name':'Lenovo','status':true }
    ]
  },
  { 'name'    : 'System Type',
    'cmp'     : 'eq',
    'options' : [
      { 'name':'Desktop','status':true }
    ]
  },
  { 'name'    : 'Form Factor',
    'cmp'     : 'eq',
    'options' : [
      { 'name':'Unknown','status':true },
      { 'name':'Desktop','status':true },
      { 'name':'Small Form Factor (SFF)','status':true },
      { 'name':'Small Tower','status':true },
      { 'name':'Tower','status':true }
    ]
  },
  { 'name'    : 'Processor',
    'cmp'     : 'eq',
    'options' : [
      { 'name':'AMD Athlon&#153; X2 Dual-Core','status':true }
    ]
  },
  { 'name'    : 'Processor Model',
    'cmp'     : 'eq',
    'options' : [
      { 'name':'215','status':true },
      { 'name':'235e','status':true },
      { 'name':'3250e','status':true },
      { 'name':'4400+','status':true },
      { 'name':'4450E','status':true },
      { 'name':'4800+','status':true },
      { 'name':'5000+','status':true },
      { 'name':'5400+','status':true },
      { 'name':'8450','status':true }
    ]
  },
  { 'name'    : 'Graphics Card Manufacturer',
    'cmp'     : 'eq',
    'options' : [
      { 'name':'Unknown','status':true },
      { 'name':'ATI','status':true },
      { 'name':'Integrated','status':true },
      { 'name':'Not Specified','status':true },
      { 'name':'NVIDIA','status':true },
      { 'name':'VIA','status':true }
    ]
  },
  { 'name'    : 'Graphics Card',
    'cmp'     : 'eq',
    'options' : [
      { 'name':'Unknown','status':true },
      { 'name':'GeForce 7050','status':true },
      { 'name':'GeForce GT 220','status':true },
      { 'name':'Integrated','status':true },
      { 'name':'Not Specified','status':true },
      { 'name':'Radeon 3100','status':true },
      { 'name':'Radeon HD 3200','status':true }
    ]
  },
  { 'name'    : 'Operating System',
    'cmp'     : 'eq',
    'options' : [
      { 'name':'No OS','status':true },
      { 'name':'Windows 7 Home Premium','status':true },
      { 'name':'Windows 7 Home Premium 64-Bit','status':true },
      { 'name':'Windows Vista Business','status':true },
      { 'name':'Windows Vista Home Premium','status':true }
    ]
  },
  { 'name'    : 'Display Size',
    'cmp'     : 'ge',
    'opt_unit': '"',
    'options' : [
      { 'name':'Any','value':0,'status':true },
      { 'name':'At least 12"','value':12,'status':true },
      { 'name':'At least 13"','value':13,'status':true },
      { 'name':'At least 14"','value':14,'status':true },
      { 'name':'At least 15"','value':15,'status':true },
      { 'name':'At least 16"','value':16,'status':true },
      { 'name':'At least 17"','value':17,'status':true },
      { 'name':'At least 18"','value':18,'status':true },
      { 'name':'At least 19"','value':19,'status':true },
      { 'name':'At least 20"','value':20,'status':true }
    ]
  },
  { 'name'    : 'Hard Drive',
    'cmp'     : 'ge',
    'opt_unit': 'GB',
    'options' : [
      { 'name':'At least 200GB','value':200,'status':true },
      { 'name':'At least 300GB','value':300,'status':true },
      { 'name':'At least 400GB','value':400,'status':true },
      { 'name':'At least 500GB','value':500,'status':true }
    ]
  },
  { 'name'    : 'Internal Memory',
    'cmp'     : 'ge',
    'opt_unit': 'MB',
    'options' : [
      { 'name':'At least 1024MB','value':1024,'status':true },
      { 'name':'At least 2048MB','value':2048,'status':true },
      { 'name':'At least 4096MB','value':4096,'status':true }
    ]
  }
  ];
  var divs_per_page = 10;
