var type = getCookie('template1'); var temsel = document.getElementById('temsel'); temsel.innerHTML ='