var query = window.location.search.substring(1);
var bFull = false;
var pos = query.indexOf('=');
var redirectURL = "/m/mobileindex.html";

if (pos > 0) {
    var key = query.substring(0,pos);
    var val = query.substring(pos+1);
    if (key == 'skip' && val == 'yes') {
     	bFull = true;
     }
}


if (!bFull) {   

	if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
	  			 location.replace(redirectURL);
	}
	
	if ((navigator.userAgent.match(/android/i))) {
	  			 location.replace(redirectURL);
	}
	
	if ((navigator.userAgent.match(/blackberry/i))) {
	  			 location.replace(redirectURL);
	}
	
	if ((navigator.userAgent.match(/symbian/i))) {
  			 location.replace(redirectURL);
	}
}


