<script type="text/javascript">
// I'll go to hell for this
var isA = function(regex) { return navigator.userAgent.match(regex) };
<script type="text/javascript">
// I'll go to hell for this
var isA = function(regex) { return navigator.userAgent.match(regex) };