	
	var is_ie6 = false;
	var is_ie7 = false;
	var is_ie8 = false;
	jQuery.each(jQuery.browser, function(i, val) {
		if(i=="msie" && jQuery.browser.version.substr(0,3)=="6.0"){is_ie6 = true;}
		if(i=="msie" && jQuery.browser.version.substr(0,3)=="7.0"){is_ie7 = true;}
		if(i=="msie" && jQuery.browser.version.substr(0,3)=="8.0"){is_ie8 = true;}
	});
	
	
	// Auto hide/show label on text field
	$(document).ready(function() {
		$('.autolabel').focus(function () {
			if ($(this).attr('defaultValue') && $(this).attr('defaultValue') == $(this).val()) {
				$(this).val('')
			}
		});
		$('.autolabel').blur(function () {
			if ($(this).attr('defaultValue') && $(this).val() == '') {
				$(this).val($(this).attr('defaultValue'));
			}
		});
	});
