$(function() {
	// removes IE anchor focus borders
	$('a').focus(
		function(){
		$(this).attr("hideFocus", "hidefocus");
		});
	// turns off jQuery AJAX caching	
	$.ajaxSetup ({cache: false}); 
	
	//checkbox-radiobutton replacement
	$('input').checkBox();
	
	//main menu
	mainMenu = new SDMenu("main_menu");
	mainMenu.init();

	//watermark inputs 
	$('.watermark').click(
		function() {if (this.value == this.defaultValue) {this.value = '';}}
	);
	$('.watermark').blur(
		function() {if (this.value == '') {this.value = this.defaultValue;}}
	);
	
})

window.onload = function() {
};

window.onscroll = function() {
};


window.onresize = function() {
};




