function toggleSchool(){var a,b;a=document.getElementById("affil").value;b=document.getElementById("school");if(a=="student@utdallas.edu"||a=="All"){b.style.display=""}else{b.style.display="none";b.value="All"}}function createRequestObj(){try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){xmlhttp=false}}if(!xmlhttp&&typeof XMLHttpRequest!="undefined"){try{xmlhttp=new XMLHttpRequest()}catch(b){xmlhttp=false}}if(!xmlhttp&&window.createRequest){try{xmlhttp=window.createRequest()}catch(b){xmlhttp=false}}return xmlhttp}function restoreOrig(a){a.innerHTML=""}var counter=0;function showMore(e){var a,g,c,f,b,d;a=e.getAttribute("id");g=document.getElementById(a);c=document.getElementById("r"+a);if(counter!=0){c.innerHTML=" <span style='color:red'>Please wait until your previous request loads.</span>";setTimeout(function(){restoreOrig(c)},2000);return}counter++;b=createRequestObj();e.parentNode.removeChild(e);c.innerHTML="<span class='wait'>Loading. Please wait.</span>";b.open("GET","includes/response.php?f="+a,true);b.onreadystatechange=function(){if(b.readyState==4){f=b.responseText;c.innerHTML=decode(f);counter--}};b.send(null)}var END_OF_INPUT=-1;var Chars=new Array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/");var reverseChars=new Array();for(var i=0;i<Chars.length;i++){reverseChars[Chars[i]]=i}var Str;var Count;function setStr(a){Str=a;Count=0}function read(){if(!Str){return END_OF_INPUT}if(Count>=Str.length){return END_OF_INPUT}var a=Str.charCodeAt(Count)&255;Count++;return a}function encode(e){setStr(e);var a="";var d=new Array(3);var c=0;var b=false;while(!b&&(d[0]=read())!=END_OF_INPUT){d[1]=read();d[2]=read();a+=(Chars[d[0]>>2]);if(d[1]!=END_OF_INPUT){a+=(Chars[((d[0]<<4)&48)|(d[1]>>4)]);if(d[2]!=END_OF_INPUT){a+=(Chars[((d[1]<<2)&60)|(d[2]>>6)]);a+=(Chars[d[2]&63])}else{a+=(Chars[((d[1]<<2)&60)]);a+=("=");b=true}}else{a+=(Chars[((d[0]<<4)&48)]);a+=("=");a+=("=");b=true}c+=4;if(c>=76){a+=("\n");c=0}}return a}function readReverse(){if(!Str){return END_OF_INPUT}while(true){if(Count>=Str.length){return END_OF_INPUT}var a=Str.charAt(Count);Count++;if(reverseChars[a]){return reverseChars[a]}if(a=="A"){return 0}}return END_OF_INPUT}function ntos(a){a=a.toString(16);if(a.length==1){a="0"+a}a="%"+a;return unescape(a)}function decode(d){setStr(d);var a="";var c=new Array(4);var b=false;while(!b&&(c[0]=readReverse())!=END_OF_INPUT&&(c[1]=readReverse())!=END_OF_INPUT){c[2]=readReverse();c[3]=readReverse();a+=ntos((((c[0]<<2)&255)|c[1]>>4));if(c[2]!=END_OF_INPUT){a+=ntos((((c[1]<<4)&255)|c[2]>>2));if(c[3]!=END_OF_INPUT){a+=ntos((((c[2]<<6)&255)|c[3]))}else{b=true}}else{b=true}}return a};