/* 
	init.js
	Page initialization functionality. 

	:AUTHOR: James Green
	:CREATED: June 11, 2008
	
	:UPDATED:
	JG 06/11/2008 - Initial setup.
	
	:DEPENDENCIES: 
	/lib/jquery-1.2.*.js
	/lib/Date.js
*/

$(document).ready(function() {
	var today = new Date();
	var lockPos = 0;
	$("#copyright-yr").text(today.formatAs("yyyy"));
	$("input[type='text']").addClass("text-field");
	$("input[type='password']").addClass("text-field");
	lockPos = $("input[type='password']").width() + 20;
	$(".secure").css("background-position", lockPos.toString() + "px 18px");
	$("#band-general-navigation li:first").css("background-image", "none");	
	$("a#help").click(function() {
		window.open("/webhelp/index.htm", "Help", "width=600,height=400,location=no,menubar=no,toolbar=no,scrollbars=yes,top=0,left=160,resizable=yes,screenX=0,screenY=0", false);
		return false;
	});
	/*$("#slider-gallery ul").css("width","auto");*/
});
