上一主题:湖南黑茶茶人:女性频
下一主题:黑茶史料:安化黑茶的
var getAmongPos = function(size,to){
var elpSize = $(to).getSize();
return {
\'top\':Math.abs((elpSize.y/2).toInt()-(size.height/2).toInt()+to.getPosition().y+elpSize.scroll.y),
\'left\':Math.abs((elpSize.x/2).toInt()-(size.width/2).toInt()+to.getPosition().x+elpSize.scroll.x)
};
};
$$(\'.grid .zoom a\').addEvent(\'click\',function(e){
e.stop();
if(this.retrieve(\'active\'))return;
var _this = this;
_this.store(\'active\',true);
var tpic = this.getParent(\'.items-gallery\').getElement(\'.goodpic img\');
var bpic_src = this.get(\'pic\');
var loading = new Element(\'div\',{
styles:{\'background\':\'#fff url(statics/loading.gif) no-repeat 50% 50%\',
\'width\':40,
\'height\':40,
\'border\':\'1px #e9e9e9 solid\',
\'opacity\