//footer scripts

//Show the blocks of text/html that are only for a certain customer
try{Show_Hidden_Info();}catch(e){document.title=e.description;}

//make search term sticky (reappear in search field)
try{if(typeof($_GET["search"])=='string') document.getElementById("searchField").value=unescape($_GET["search"].replace(/\+/," "));}catch(e){}

//Set the Customer Type field for the invoice
try{setCustomerTypeField(Which_Prefs());}catch(e){}

//change accessories titles where needed
try{changeAccessoriesName();}catch(e){};

//Start Highslide conversion
if (Enable_Photo_Gallery_For_Product_Photos) {setProductPhotosToGallery()}