// Created and Owned by Concept Red, LLC.
// 
// http://www.conceptred.net



detection.init();




//- DETECTS MOBILE ACCESS TO THE PAGE -//
var detection = {
	
	isMobile : false,
	appleMobile : false,
	symbianMobile : false,
	android : false,
	winMobile : false,
	blackberry : false,
	
	
	init : function()
	{
		// Detect Apple devices
		if( (navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i)) ) {
			appleMobile = true;
		}
		
		// Detect Symbian devices (Nokia, etc)
		if( (navigator.userAgent.match(/series60/i)) || (navigator.userAgent.match(/symbian/i)) ) {
			symbianMobile = true;
		}
		
		// Detect Android devices
		if( (navigator.userAgent.match(/android/i)) ) {
			android = true;
		}
		
		// Detect WinMobile devices
		if( (navigator.userAgent.match(/windows ce/i)) ) {
			winMobile = true;
		}
		
		// Detect Blackberry devices
		if( (navigator.userAgent.match(/blackberry/i)) ) {
			blackberry = true;
		}
		
		if(this.appleMobile || this.symbianMobile || this.android || this.winMobile || this.blackberry )
		{
			isMobile = true;
		}
	},
	
	// 
	traceProperties : function()
	{
		var output = "BROWSER INFO:\n";
		for(var p in navigator)
		{
			output += p + ": " + navigator[p] + "\n";
		}
		alert(output);
	}


} // detection





//- PASSWORD PROTECTION FOR DEV SITES -//
var loginPanel = {



}



