function forumRunnerCookie(){var a=new Date();a.setTime(a.getTime()+90*1000*60*60*24);document.cookie="skip_fr_detect=false;expires="+a.toGMTString()}function forumRunnerDetect(){if(document.cookie.indexOf("skip_fr_detect=false")==-1){var f=navigator.userAgent.toLowerCase();var e;var d=(f.indexOf("opera")!=-1);var c="PbNation";if(f.indexOf("iphone")!=-1){e="iPhone"}else{if(f.indexOf("ipod")!=-1){e="iPod Touch"}else{if(f.indexOf("ipad")!=-1){e="iPad"}else{return}}}var b="This forum supports the "+e+' with an App!  Search for "Forum Runner" in the App Store to learn more about it.';var a="This forum supports the "+e+" with an App!  Tap OK to read more about Forum Runner for the "+e+".";if(c!=""){b=c+" offers an "+e+' App!  Search for "'+c+'" in the App Store to learn more about it.';a=c+" offers an "+e+" App!  Tap OK to download the app, or Cancel to dismiss this prompt indefinitely."}if(d){forumRunnerCookie();alert(b);return}if(confirm(a)){window.location="http://itunes.apple.com/us/app/forum-runner-vbulletin/id384478640?mt=8"}else{forumRunnerCookie()}}}forumRunnerDetect();
