/* iPhone detector & misc. tweaks */
var iPhone = false;
var dir="";
if ((window.location.toString()).match(/\/sidetone\//i)) dir="../";
if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) { 
	iPhone = true;
	var s = '<link rel="stylesheet" href="'+dir+'themes/default/iPhone.css" type="text/css" media="screen, projector" />';
	document.write(s);
}

