$(document).ready(function() {
	var ctkd = window.ctkd;
	var controls = ctkd.controls;

	var signin = new controls.SignInStatus($('#signInStatus'));
	
	if (!ctkd.user) {
		var c_signUpHtml ="<div id='signup'>" +
				"<form name='signup' action='account/signup.php' method='post'>" +
					"<input type='text' name='su_first' placeholder='First Name' /><br />" +
					"<input type='text' name='su_last' placeholder='Last Name' /><br />" +
					"<input type='text' name='su_username' placeholder='Username' /><br />" +
					"<input type='password' name='su_passwordA' placeholder='Password' /><br />" +
					"<input type='password' name='su_passwordB' placeholder='Confirm Password' /><br />" +
					"<input type='submit' value='Sign Up'  />" +
				"</form>" +
			"</div>";

		var $signup = $('#signup').html(c_signUpHtml);
	}
	else {
		var contackedList = new controls.ContackedList($('#contackedList'));
	}
});

