﻿var title = document.title.split(' - ')[0];
/*if(document.location.href.indexOf('frontpage.html')>-1) document.title = 'Forside - ' + title;*/
if(document.location.href.indexOf('frontpage.html')>-1) document.title;
else if(document.location.href.indexOf('showbasket.html')>-1) document.title = 'Indkøbskurv - ' + title;
else if(document.location.href.indexOf('favorites.html')>-1) document.title = 'Dine Favoritter - ' + title;
else if(document.location.href.indexOf('order1.html')>-1) document.title = 'Bestil step 1 (Kunde login/oprettelse) - ' + title;
else if(document.location.href.indexOf('order2.html')>-1) document.title = 'Bestil step 2 (Betaling og forsendelse) - ' + title;
else if(document.location.href.indexOf('order3.html')>-1) document.title = 'Bestil step 3 (Godkend ordre) - ' + title;
else if(document.location.href.indexOf('order4.html')>-1) document.title = 'Bestil step 4 (Ordrebekræftelse) - ' + title;
else if(document.location.href.indexOf('securetunnel.html')>-1) document.title = 'Secure Tunnel - ' + title;
else if(document.location.href.indexOf('pg-dd.html')>-1) document.title = 'Kreditkort betalingsside - ' + title;
else if(document.location.href.indexOf('search-1.html')>-1) document.title = 'Søgning - ' + title;
else {}
