    var leftCol = new Array();
    var mFlag=0,bThread,bInterval=1,bAcc=0,sumHeight;
    var moreTxt1="less [-]",moreTxt2="more [+]";
    var bsp=15,mJump=1,hPercent=5.8; 
    var doingthemore=0;     
    function moreBrands(objIn,moreIn){//initialise more slider engine        
        if(!doingthemore){
        var hf=document.getElementById(objIn);        
        var getId=hf.getAttribute("id");
        var passHeight;
        if(getId=="side_brand"){passHeight=leftCol[1];}
        else if(getId=="side_type"){passHeight=leftCol[2];}
        else if(getId=="side_colour"){passHeight=leftCol[3];}
        else if(getId=="side_size"){passHeight=leftCol[4];}
        else if(getId=="side_price"){passHeight=leftCol[5];}       
        //passHeight+=35;
        //re-initialise for huoge offset
        if(hf.scrollHeight>2000){hPercent=40;bsp=60;}else if(hf.scrollHeight>1000){hPercent=20;bsp=30;}else{hPercent=5.8;bsp=15;}
        if(hf.scrollHeight>hf.offsetHeight){mFlag=0;}else{mFlag=1;}
        if(!mFlag){doingthemore=1;bThread=window.setInterval("doBrands('"+objIn+"',mFlag,'"+moreIn+"','"+passHeight+"');",bInterval);}
        else{doingthemore=1;bThread=window.setInterval("doBrands('"+objIn+"',mFlag,'"+moreIn+"','"+passHeight+"');",bInterval);}}}    
    function doBrands(objIn,dFlag,moreInp,passHeight){//more slider engine
        var setHeight=parseInt(passHeight);
        var moreIn=document.getElementById(moreInp);
        var obj=document.getElementById(objIn);
        var currHeight=obj.offsetHeight;
        var maxHeight=obj.scrollHeight;   
        var decHeight=maxHeight-currHeight;
        var accHeight=setHeight+(Math.round(maxHeight/hPercent));
        if(!dFlag){
            if(currHeight<maxHeight){               
                if((currHeight<accHeight)&&(bAcc<bsp)){bAcc+=mJump;}
                if((decHeight<Math.round(maxHeight/hPercent))&&(bAcc>mJump)){bAcc-=mJump;}               
                sumHeight=currHeight+bAcc;
                obj.style.height=sumHeight+'px';}
            else{bThread=window.clearInterval(bThread);doingthemore=0;bAcc=0;writeLess(moreTxt1,moreInp);}}
        if(dFlag){
            if(currHeight>setHeight){          
                if((currHeight<accHeight)&&(bAcc>mJump)){bAcc-=mJump;}
                if((decHeight<Math.round(maxHeight/hPercent))&&(bAcc<bsp)){bAcc+=mJump;}
                sumHeight=currHeight-bAcc;
                obj.style.height=sumHeight+'px';}
            else{bThread=window.clearInterval(bThread);doingthemore=0;bAcc=0;    
            /*HFGBB*/if(currHeight<setHeight){obj.style.height=setHeight+'px';}writeMore(moreTxt2,moreInp);}}}
    function writeLess(moretxtin,moreInp){//sets less text
        var moreIn=document.getElementById(moreInp);
        while(moreIn.firstChild)moreIn.removeChild(moreIn.firstChild); 
        moreIn.appendChild(document.createTextNode(moretxtin));}
    function writeMore(moretxtin,moreInp){//sets more text
        var moreIn=document.getElementById(moreInp);
        while(moreIn.firstChild)moreIn.removeChild(moreIn.firstChild); 
        moreIn.appendChild(document.createTextNode(moreTxt2));}