// JavaScript Document
function checkiphone () {
	var ua = navigator['userAgent'];
	//alert(ua);
	if (ua.indexOf("iPhone") != -1) {
		ans = confirm("Hello iPhone User!\nIf you would like to use our unique Kemistry application on your iPhone please click 'OK'. Remember to add a bookmark to your Home Screen to save the page for next time. ");
		if (ans) location = "http://www.kemistry.co.uk/new1.php?iphone=true";
	}
	if (ua.indexOf("iPad") != -1) {
		ans = confirm("Hello iPad  User!\nIf you would like to use our unique Kemistry applicationon your iPhone please click 'OK'. Remember to add a bookmark to your Home Screen to save the page for next time. ");
		if (ans) location = "http://www.kemistry.co.uk/new1.php?ipad=true";
	}
	if (ua.indexOf("iPod") != -1) {
		ans = confirm("Hello iPod Touch User!\nIf you would like to use our unique Kemistry application on your iPhone please click 'OK'. Remember to add a bookmark to your Home Screen to save the page for next time. ");
		if (ans) location = "http://www.kemistry.co.uk/new1.php?ipod=true";
	}
}
//checkiphone();

