/* No-CONFILCT MODE */
// comment out this line if we are not using other js libraries
jQuery.noConflict();

/* WEISS UNIVERSAL JS FUNCTIONS */

/* AUTHENTICATION FORM */

//Hide logout div / no commments message
jQuery(document).ready(function(){
	jQuery('.to_comments').hide();
	jQuery('.comments_closed').hide();
});

//Validation
jQuery(document).ready(function(){
  if (jQuery("#member-login").length > 0 ) {
	  //jQuery("#member-login").validate();
  }
});
  

/* FORGOT EMAIL PASSWORD FORM */
function clearText(thefield){
	if (thefield.defaultValue==thefield.value){
		thefield.value = "";
	}
}

function addText(thefield){
	if (thefield.value==""){
		thefield.value = "e-mail address";
	}
}

/* SMS FORM */
function clearTextSMS(thefield){
	if (thefield.defaultValue==thefield.value){
		thefield.value = "";
	}
}

function addTextSMS(thefield){
	if (thefield.value==""){
		thefield.value = "enter mobile number (xxx) xxx-xxxx";
	}
}


