/**
 * This script requires jquery, and the jquery cookie plugin found here: http://plugins.jquery.com/project/Cookie
 * Reference this script after both of the above have been referenced.
 * @param mobile {string} The URL of the mobile site
 * @param full_site {string}  The URL of the full_site
*/

var mobileDetection = {
	
	detect: function (mobile, full_site, cookie_name) {
	
		if(screen.width < 480){

			if( $.cookie(cookie_name) == null ) { 

			  var answer = confirm("View our mobile website?")
				var now = new Date();


				if (answer){
					$.cookie(cookie_name, 1, { path: '/'});
					window.location = mobile;
				}
				else {
					$.cookie(cookie_name, 2, { path: '/' });
				}
			}
		}
	},
	
	/* Delete cookie and set to full site */
	boom: function (cookie_name) {



		/* Set to full site */

		$.cookie(cookie_name, 2, { path: '/' });
