Schnarchnase advanced shopping lib

forum thread:
http://forums.heroesofnewerth.com/showthread.php?498015-Advanced-Shopping-Submission