
//detect and redirect to respective page depending on javascript availability
function detectBrowser(page){

	var url = '2point1/';
	switch(page){
		case 'main':
		url += 'index.html';
		break;

		case 'browse':
		url += 'products.html';
		break;

		case 'gallery':
		url += 'gallery.html';
		break;

		case 'faq':
		url += 'faq.html';
		break;

		case 'cat':
		url += 'contact.html';
		break;

		case 'tech':
		url += 'techdocs.html';
		break;

		default:
		url += 'index.html';

	}

	window.location = url;
}
