﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title></title>
  </head>
  <body>
    /*! * JS Redirection Mobile * * Copyright (c) 2010 Sebastiano Armeli-Battana (http://sebarmeli.com) * MIT Licensed: http://www.opensource.org/licenses/mit-license.php * @link http://github.com/sebarmeli/JS-Redirection-Mobile-Site/ * @version 0.5 */ if(!window.SA){window.SA={};}SA.redirection_mobile=function(config){var addTimeToDate=function(msec){var exdate=new Date();exdate.setTime(exdate.getTime()+msec);return exdate;};var agent=navigator.userAgent.toLowerCase(),TRUE="true",param=config.param||"isStandardSite",mobile_prefix=config.mobile_prefix||"m",mobile_url=config.mobile_url,mobile_protocol=config.mobile_scheme?config.mobile_scheme+":":document.location.protocol,host=document.location.host,mobile_host=mobile_url||(mobile_prefix+"."+(!!host.match(/^www\./i)?host.substring(4):host)),cookie_hours=config.cookie_hours||1,isUAMobile=!!(agent.match(/(iPhone|iPod|iPad|blackberry|android|htc|kindle|lg|midp|mmp|mobile|nokia|opera mini|palm|pocket|psp|sgh|smartphone|symbian|treo mini|Playstation Portable|SonyEricsson|Samsung|MobileExplorer|PalmSource|Benq|Windows Phone)/i));if(document.referrer.indexOf(mobile_host)&gt;=0){if(window.sessionStorage){window.sessionStorage.setItem(param,TRUE);}else{document.cookie=param+"="+TRUE+";expires="+addTimeToDate(3600*1000*cookie_hours).toUTCString();}}var isSessionStorage=(window.sessionStorage)?(window.sessionStorage.getItem(param)===TRUE):false,isCookieSet=document.cookie?(document.cookie.indexOf(param)&gt;=0):false;if(isUAMobile&amp;&amp;!(isCookieSet||isSessionStorage)){document.location.href=mobile_protocol+"//"+mobile_host;}} var path = window.location.host + window.location.pathname; url = path.substring(0,path.lastIndexOf('/')+1)+"mobile.html"; SA.redirection_mobile({param: "isStandardSite", mobile_url:url});
  </body>
</html>

