//swap reference service detail image
function swapImage(imageId,newPath){
		document.getElementById(imageId).src = newPath;	
}

//swap reference service description
function swapDescription(descriptionId,newDescription){
		document.getElementById(descriptionId).innerHTML = newDescription;	
}

////swap reference service detail image alt text
function swapAlt(altId,newAlt){
		document.getElementById(altId).alt = newAlt;	
}

//swap reference service fulle image
function swapFull(imageId,newPath){
		document.getElementById(imageId).href = newPath;	
}

//collapes&expand sevice
menu_status = new Array();
function showHide(theid,iconid){
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);

        if(menu_status[theid] != 'show') {
           switch_id.className = 'show';
           menu_status[theid] = 'show';
           document.getElementById(iconid).src = 'assets/images/icons/expand.gif';
        }else{
           switch_id.className = 'hide';
           menu_status[theid] = 'hide'
           document.getElementById(iconid).src = 'assets/images/icons/collapes.gif';
        }
    }
}