//NOTE:
//this code requires the include at
//"http://mobileesp.googlecode.com/svn/JavaScript/mdetect.js"

var devices;
var i;

//this is an array of function pointers that take no arguments and return a boolean
devices = new Array();

//ideally, these are in descending order of popularity for performance reasons
devices.push(DetectTierIphone);////////////Most General Category
devices.push(DetectIphoneOrIpod);//////////Apple Devices
devices.push(DetectAndroid);///////////////Android
devices.push(DetectBlackBerry);////////////BlackBerry
devices.push(DetectWindowsPhone7);/////////Windows
devices.push(DetectWindowsMobile);/////////
devices.push(DetectPalmWebOS);/////////////Palm
devices.push(DetectS60OssBrowser);/////////Nokia

//call each function, and as soon as one returns true, redirect			
for(i=0; i<devices.length; i++)
{
	if(devices[i]())
		window.location = "http://m.providenceiscalling.jobs";
}
