function changeItem (image,text) {
    if(image){
        $('mainimage').src = image;
    }
    if(text){
        $('maintext').innerHTML = text
    }
}
function borderBottom (item) {
    if($(item)){
        for (var i = 0; i < allitems.length; ++i){
            $('iteminner_' + allitems[i]).style.borderBottom = "0";
        }
        $(item).style.borderBottom = "#666666 solid 10px";
    }
}
