//Wait for the DOM to be fully Loaded
addLoadEvent(function(){
	
		
	//Home Page Hotbutton Onclicks
	
	$("#btnNewToUNB").colorbox({width:"620px", height:"450px", href:"/its/hotbuttons/new-to-unb.html"});
	
		
	$("#btnBuySoftware").colorbox({width:"620px",height:"450px", href:"/its/hotbuttons/buy-software.html"});
	

//*************Students Hotbutton Onclicks*************************
	
	$("#btnStudentsNewToUNB").colorbox({width:"620px", height:"450px", href:"/its/students/hotbuttons/new-to-unb.html"});
	
	
	$("#btnStudentsReplacePhotoID").colorbox({width:"620px",height:"450px",  href:"/its/students/hotbuttons/replace-photoid.html"});
	
	
	$("#btnStudentsLaptopSupport").colorbox({width:"620px",height:"450px", href:"/its/students/hotbuttons/laptop-support.html"});
	   

//*****************Staff Hotbutton Onclicks***********************
	
	
	$("#btnStaffRepairComputerEquipment").colorbox({width:"620px", height:"450px",  href:"/its/faculty-staff/hotbuttons/repair-hardware.html"});
	
	

/*Bits Comics*/

	$("a[rel='BiTS']").colorbox({slideshow:true,slideshowSpeed:60000});
	
//Request Help Form Functions

	$("#btnSubmit").click(function() {
		$("#errormessageholder").hide();
		//var flag=0;
		ValidateRequestHelpForm();
		//RequestHelpCaptchaTest();
	});
	$("#btnSTFSubmit").click(function() {
		//$("#errormessageholder").hide();
		//ValidateForm();
		STFCaptchaTest();
	});
	
	//Fredericton only New Server to Network
	$("#campus").change(function(){
		
		var testcampus = $("#campus").val();
		if(testcampus=='Fredericton'){
			$("#problem_area option[value='Reallocated Computer']").remove();
			$("#problem_area option[value='New Computer Setup']").remove();
			var theoption = $("#association_type").val();
			
			if (theoption=='Staff/Faculty'){
				$("#problem_area").append('<option value="Add Server to Network">Add Server to Network</option>');
				//sort the list alpha
				
				//$("ul#problem_area>li").tsort();
				
				// get the select
				var $dd = $('#problem_area');
				if ($dd.length > 0) { // make sure we found the select we were looking for
				
				    // save the selected value
				    var selectedVal = $dd.val();
				
				    // get the options and loop through them
				    var $options = $('option', $dd);
				    var arrVals = [];
				    $options.each(function(){
				        // push each option value and text into an array
				        arrVals.push({
				            val: $(this).val(),
				            text: $(this).text()
				        });
				    });
				
				    // sort the array by the value (change val to text to sort by text instead)
				    //arrVals.sort(function(a, b){
				        //return a.val - b.val;
				   // });
				    
				    arrVals.sort(function(a, b){
					    if(a.val>b.val){
					        return 1;
					    }
					    else if (a.val==b.val){
					        return 0;
					    }
					    else {
					        return -1;
					    }
				});

				    
				
				    // loop through the sorted array and set the text/values to the options
				    for (var i = 0, l = arrVals.length; i < l; i++) {
				        $($options[i]).val(arrVals[i].val).text(arrVals[i].text);
				    }
				
				    // set the selected value back
				    $dd.val(selectedVal);
				}


			}
			//$("#problem_area").append('<option value="New Server on Network">New Server on Network</option>');
		}else{
			//$("#problem_area option[value='New Server on Network']").remove();
			$("#problem_area option[value='Add Server to Network']").remove();
			//$("ul#problem_area>li").tsort();
				
				// get the select
				var $dd = $('#problem_area');
				if ($dd.length > 0) { // make sure we found the select we were looking for
				
				    // save the selected value
				    var selectedVal = $dd.val();
				
				    // get the options and loop through them
				    var $options = $('option', $dd);
				    var arrVals = [];
				    $options.each(function(){
				        // push each option value and text into an array
				        arrVals.push({
				            val: $(this).val(),
				            text: $(this).text()
				        });
				    });
				
				    // sort the array by the value (change val to text to sort by text instead)
				    //arrVals.sort(function(a, b){
				        //return a.val - b.val;
				   // });
				    
				    arrVals.sort(function(a, b){
					    if(a.val>b.val){
					        return 1;
					    }
					    else if (a.val==b.val){
					        return 0;
					    }
					    else {
					        return -1;
					    }
				});

				    
				
				    // loop through the sorted array and set the text/values to the options
				    for (var i = 0, l = arrVals.length; i < l; i++) {
				        $($options[i]).val(arrVals[i].val).text(arrVals[i].text);
				    }
				
				    // set the selected value back
				    $dd.val(selectedVal);
				}

			
		}
	});
	
	$("#association_type").change(function(){
		var theoption = $("#association_type").val();
		//alert(theoption);		
		if(theoption == "Other"){
			
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#PinPasswordHolder").hide();	
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#StaffFacultyStudentsHolder").hide();
			$("#DetailsHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#OtherHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Staff/Faculty"|| theoption == "Undergraduate Student" ||theoption == "Graduate Student" || theoption == "Alumni"){
			$("#OtherHolder").hide();
			$("#SubmitHolder").hide();
			$("#StaffFacultyStudentsHolder").slideDown("slow");
		}
		//campus = sj, and Staff/Faculty or grad show form option else remove
		var testcampus=$("#campus").val();
		//alert(testcampus);
		var testassociation_type=$("#association_type").val();
		if(testcampus=='Saint John' && testassociation_type=='Staff/Faculty' ||testassociation_type=='Graduate Student'){
			$("#problem_area option[value='Reallocated Computer']").remove();
			$("#problem_area option[value='New Computer Setup']").remove();
			$("#problem_area").append('<option value="Reallocated Computer">Reallocated Computer</option>');
			$("#problem_area").append('<option value="New Computer Setup">New Computer Setup</option>');
			
			$("#problem_area option[value='Add Server to Network']").remove();
			//sort the list alpha
			//$("ul#problem_area>li").tsort();
				
				// get the select
				var $dd = $('#problem_area');
				if ($dd.length > 0) { // make sure we found the select we were looking for
				
				    // save the selected value
				    var selectedVal = $dd.val();
				
				    // get the options and loop through them
				    var $options = $('option', $dd);
				    var arrVals = [];
				    $options.each(function(){
				        // push each option value and text into an array
				        arrVals.push({
				            val: $(this).val(),
				            text: $(this).text()
				        });
				    });
				
				    // sort the array by the value (change val to text to sort by text instead)
				    //arrVals.sort(function(a, b){
				        //return a.val - b.val;
				   // });
				    
				    arrVals.sort(function(a, b){
					    if(a.val>b.val){
					        return 1;
					    }
					    else if (a.val==b.val){
					        return 0;
					    }
					    else {
					        return -1;
					    }
				});

				    
				
				    // loop through the sorted array and set the text/values to the options
				    for (var i = 0, l = arrVals.length; i < l; i++) {
				        $($options[i]).val(arrVals[i].val).text(arrVals[i].text);
				    }
				
				    // set the selected value back
				    $dd.val(selectedVal);
				}

		}else{
			$("#problem_area option[value='Reallocated Computer']").remove();
			$("#problem_area option[value='New Computer Setup']").remove();
			//sort the list alpha
			//$("ul#problem_area>li").tsort();
				
				// get the select
				var $dd = $('#problem_area');
				if ($dd.length > 0) { // make sure we found the select we were looking for
				
				    // save the selected value
				    var selectedVal = $dd.val();
				
				    // get the options and loop through them
				    var $options = $('option', $dd);
				    var arrVals = [];
				    $options.each(function(){
				        // push each option value and text into an array
				        arrVals.push({
				            val: $(this).val(),
				            text: $(this).text()
				        });
				    });
				
				    // sort the array by the value (change val to text to sort by text instead)
				    //arrVals.sort(function(a, b){
				        //return a.val - b.val;
				   // });
				    
				    arrVals.sort(function(a, b){
					    if(a.val>b.val){
					        return 1;
					    }
					    else if (a.val==b.val){
					        return 0;
					    }
					    else {
					        return -1;
					    }
				});

				    
				
				    // loop through the sorted array and set the text/values to the options
				    for (var i = 0, l = arrVals.length; i < l; i++) {
				        $($options[i]).val(arrVals[i].val).text(arrVals[i].text);
				    }
				
				    // set the selected value back
				    $dd.val(selectedVal);
				}

				
		}
		if(testcampus=='Fredericton'){
			$("#problem_area option[value='Reallocated Computer']").remove();
			$("#problem_area option[value='New Computer Setup']").remove();
			//sort the list alpha
			//$("ul#problem_area>li").tsort();
				
				// get the select
				var $dd = $('#problem_area');
				if ($dd.length > 0) { // make sure we found the select we were looking for
				
				    // save the selected value
				    var selectedVal = $dd.val();
				
				    // get the options and loop through them
				    var $options = $('option', $dd);
				    var arrVals = [];
				    $options.each(function(){
				        // push each option value and text into an array
				        arrVals.push({
				            val: $(this).val(),
				            text: $(this).text()
				        });
				    });
				
				    // sort the array by the value (change val to text to sort by text instead)
				    //arrVals.sort(function(a, b){
				        //return a.val - b.val;
				   // });
				    
				    arrVals.sort(function(a, b){
					    if(a.val>b.val){
					        return 1;
					    }
					    else if (a.val==b.val){
					        return 0;
					    }
					    else {
					        return -1;
					    }
				});

				    
				
				    // loop through the sorted array and set the text/values to the options
				    for (var i = 0, l = arrVals.length; i < l; i++) {
				        $($options[i]).val(arrVals[i].val).text(arrVals[i].text);
				    }
				
				    // set the selected value back
				    $dd.val(selectedVal);
				}

	
		}
		
		
		// New Server on Network Form
		//Fredericton and Fac/Staff Only
		if(testcampus=='Fredericton' && testassociation_type=='Staff/Faculty'){
			$("#problem_area").append('<option value="Add Server to Network">Add Server to Network</option>');
			//sort the list alpha
			//$("ul#problem_area>li").tsort();
				
				// get the select
				var $dd = $('#problem_area');
				if ($dd.length > 0) { // make sure we found the select we were looking for
				
				    // save the selected value
				    var selectedVal = $dd.val();
				
				    // get the options and loop through them
				    var $options = $('option', $dd);
				    var arrVals = [];
				    $options.each(function(){
				        // push each option value and text into an array
				        arrVals.push({
				            val: $(this).val(),
				            text: $(this).text()
				        });
				    });
				
				    // sort the array by the value (change val to text to sort by text instead)
				    //arrVals.sort(function(a, b){
				        //return a.val - b.val;
				   // });
				    
				    arrVals.sort(function(a, b){
					    if(a.val>b.val){
					        return 1;
					    }
					    else if (a.val==b.val){
					        return 0;
					    }
					    else {
					        return -1;
					    }
				});

				    
				
				    // loop through the sorted array and set the text/values to the options
				    for (var i = 0, l = arrVals.length; i < l; i++) {
				        $($options[i]).val(arrVals[i].val).text(arrVals[i].text);
				    }
				
				    // set the selected value back
				    $dd.val(selectedVal);
				}

		}
		
		if(theoption == "none"){
			$("#OtherHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#PinPasswordHolder").hide();	
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#StaffFacultyStudentsHolder").hide();
			$("#DetailsHolder").hide();
			$("#RegistrationHolder").hide();
			$("#OtherHolder").hide();
			$("#SubmitHolder").hide();
			$("#EmailHolder").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
		}
	
	});
	
	$("#problem_area").change(function(){
		var theoption = $("#problem_area").val();
				
		if(theoption == "Pin/Password"){
			
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#PinPasswordHolder").show();	
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		if(theoption == "Accounts/Access"){
			
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#PinPasswordHolder").hide();	
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Email"){
			
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#PinPasswordHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#EmailHolder").show();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Learning@UNB - Blackboard"){
			
			$("#PinPasswordHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#BlackboardHolder").show();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Printing"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#PrintingHolder").show();	
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Feedback"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Complaint"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Computer Lab"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#ComputerLabHolder").show();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Datatel"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Hardware Repairs/Purchases"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#InternetHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Laptop Support"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Internet/Wireless/Network"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#InternetHolder").show();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Novell"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#NovellHolder").show();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Online Course Registration"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#ResNetHolder").hide();
			$("#NovellHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#RegistrationHolder").show();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		
		if(theoption == "ResNet"){
			
			$("#PinPasswordHolder").hide();
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#ResNetHolder").show();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		if(theoption == "Other"){
			
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#PinPasswordHolder").hide();	
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		if(theoption == "Reallocated Computer"){
			
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#PinPasswordHolder").hide();	
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").hide();
			$("#ReallocatedComputer").show();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
		//NewComputerHolder
		if(theoption == "New Computer Setup"){
			
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#PinPasswordHolder").hide();	
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewServerNetwork").hide();
			$("#NewComputerHolder").show();
			$("#chosencontact").show();
			$("#networkemail").hide();
			$("#networkphone").hide();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		//New Server on Network
		if(theoption == "Add Server to Network"){
			
			$("#BlackboardHolder").hide();
			$("#PrintingHolder").hide();
			$("#PinPasswordHolder").hide();	
			$("#ComputerLabHolder").hide();
			$("#InternetHolder").hide();
			$("#NovellHolder").hide();
			$("#ResNetHolder").hide();
			$("#RegistrationHolder").hide();
			$("#EmailHolder").hide();
			$("#ReallocatedComputer").hide();
			$("#NewComputerHolder").hide();
			$("#NewServerNetwork").show();
			$("#chosencontact").hide();
			$("#networkemail").show();
			$("#networkphone").show();
			$("#DetailsHolder").slideDown("slow");
			$("#SubmitHolder").slideDown("slow");
		}
		
	
	});


	


	
});


