$(function(){  $("table.tiger-stripe tr:even").addClass("oddrow");});





function ValidateUserForm(){
	
	
	
	if( $("#firstName").val() == '' || 
		$("#lastName").val() == ''  ||
		$("#emailAddress").val() == '' 
		
		){
	
	alert("Please fill in all required fields");
	return false;
	
	}else{
return true;	
	}
	
	
}


function changeValue(input,value){
	
	
$(input).val(value);	
}



function redirectTo(url){
	
window.location = url;	
}


function projectDetailChangeDel(){


	var selcted = $('#projectStatusID').val();
	
	if(selcted == 0){
		
		 if (confirm('Deleting a project will lose all of its data. Are you sure you want to do this?')) {
  
  }else{
	 $('#projectStatusID option:nth(2)').attr("selected","selected");   
  }
		
		
	}else{
		
	}
}



function confirmDelete(delUrl, Message) {
  if (confirm(Message)) {
    document.location = delUrl;
  }
}

function Toggle(div){
	
	
	   $(div).slideToggle("slow");

	
}

function Close(div){
	
	
	   $(div).slideUp("slow");

	
}

function Open(div){
	
	
	   $(div).slideDown("slow");

	
}
