

function getXMLHTTPRequest() {
var req
try {
  req= new XMLHttpRequest();
} catch(err1) {
  try {
  req = new ActiveXObject("Msxml2.XMLHTTP");
  } catch (err2) {
    try {
    req = new ActiveXObject("Microsoft.XMLHTTP");
    } catch (err3) {
      req = false;
    }
  }
}
return req;
}
var http= getXMLHTTPRequest();
function getviewsearch(val)
{

var v = val;

var url = "viewsearch.php?val="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getnextnews(val)
{

var v = val;

var url = "news.php?id="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getnextnotice(val)
{

var v = val;

var url = "notices.php?nid="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getnextpoll(val)
{

var v = val;

var url = "poll.php?nid="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getnextprgcon(val)
{

var v = val;

var url = "program.php?nid="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  function getviewsearchfromnews(val)
{

var v = val;

var url = "viewsearchfromnews.php?val="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getviewsearchfromnotice(val)
{

var v = val;

var url = "viewsearchfromnotice.php?val="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function gettry(val1,val2)
{

var v = val1;
var v1 = val2;

var url = "1.php?val="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
function getmessfromprincipal()
{

var url = "messfromprincipal.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getforgotpasssword(val)
{
var v=val	

var url = "forgetpassword.php?id="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getemailauthenication(val1)
{

var v=val1	
var v1
v1=document.frmpassword.email.value
if(v1=="")
{
	document.getElementById('responseitem1').innerHTML="<font color='Red' face='Verdana,Helvetica, sans-serif' size='2'>Email field is Empty.</font>";
	}
	else
	{
		
var url = "forgotpasswordact1.php?vid="+v+"~"+v1;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
}
  function getgraduates()
{

var url = "graduates.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  
   function getfacultylist()
{
var v1,v2,v3
v1=document.faculty.year.value
v2=document.faculty.semester.value
v3=document.faculty.facultyname.value

var url = "searchfaculty.php?id="+v1+"~"+v2+"~"+v3;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getstudentpoll()
{

var url = "poll.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getpublication()
{

var url = "publication.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getcollegeprospectus()
{

var url = "prospectus.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getinformationcenter()
{

var url = "information.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
function getshout()
{

var url = "shout.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }


  function getphotogallery(val1,val2)
{

var v1=val1;
var v2=val2;
var url = "viewgalleryact1.php?id="+val1+"~"+val2;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getselectednews(val)
{
var v = val;

var url = "newsacessfromindexpage.php?neid="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getselectednotices(val)
{
var v = val;

var url = "noticeacessfromindexpage.php?noid="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getnews()
{

var url = "news.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getsearch()
{
var searchfor
searchfor=searchto.searchfor.value

var url = "search.php?search="+searchfor;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  function getsearchstudentprofile()
{
var v1,v2,v3,v4,v5,v6,v7,v8
v1=document.searchform1.name.value
v2=document.searchform1.faculty.value
v3=document.searchform1.batch.value
v4=document.searchform1.age.value
v5=document.searchform1.sex.value
v6=document.searchform1.email.value
v7=document.searchform1.address.value
v8=document.searchform1.phoneno.value


var url = "searchprofileact1.php?id="+v1+"~"+v2+"~"+v3+"~"+v4+"~"+v5+"~"+v6+"~"+v7+"~"+v8;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getnotices()
{

var url = "notices.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getchangeteacherpassword()
{

var url = "changeteacherpassword.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getchangeteacherpasswordact()
{
var v1,v2
v1=document.formchangeteacherpasswordact.oldpass.value
	v2=document.formchangeteacherpasswordact.newpass.value

var url = "changeteacherpassword_act1.php?id="+v1+"~"+v2;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
function getinternational()
{

var url = "internationallinkage.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getaboutcollege()
{

var url = "aboutcollege.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getaboutcollege()
{

var url = "aboutcollege.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getmgmtcommitee()
{

var url = "mgmt.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getacecalendar()
{

var url = "calendar.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getclasscomm()
{

var url = "commencement.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getjobopp()
{

var url = "job.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getupdatestudentimage()
{

var url = "modifystudentimage.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  function getpurbanchaluni()
{

var url = "purbanchaluni.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  function getcontact()
{

var url = "contact.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getthecirriculum()
{
var url = "thecurriculum.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
     function getlibrary()
{
var url = "library.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getcoursecycle()
{
var url = "coursecycle.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getsubcommitee()
{
var url = "subjectcommitee.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getadminphotogallery()
{

var url = "albumindex.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getcoursestructure()
{
var url = "coursestructure.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getmarkdis()
{
var url = "marksystem.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getmessfromvc()
{
var url = "messfromvc.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getprogramconducted()
{
var url = "program.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  function getparticipation()
{
var url = "participations.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getfaculty()
{

var url = "faculty.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }

 function getadvisory()
{

var url = "advisorycommitee.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
   function getteacherprofile()
{
var url = "teacherprofile.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getsearchteacherprofile()
{
var url = "searchteacherprofile.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  function getsearchteacherprofileact1()
{
	var v1,v2,v3,v4,v5,v6,v7,v8,v9
v1=document.searchform12.name.value
v2=document.searchform12.faculty.value
v3=document.searchform12.designation.value
v4=document.searchform12.qualification.value
v5=document.searchform12.age.value
v6=document.searchform12.sex.value
v7=document.searchform12.email.value
v8=document.searchform12.address.value
v9=document.searchform12.phoneno.value




var url = "searchteacherprofileact1.php?id12="+v1+"~"+v2+"~"+v3+"~"+v4+"~"+v5+"~"+v6+"~"+v7+"~"+v8;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function geteditteacherprofile()
{
var url = "editteacherprofile.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
   function getstudentinformationwithimage(val1,val2)
{
	var v1=val1
	var v2=val2
var url = "studentinformationwithimage.php?id11="+v1+"~"+v2;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  
   function getviewprofile()
{
var url = "viewstudentprofile.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getlocation()
{

var url = "location.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
function getscholar()
{

var url = "scholoarship.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
function getcarreer()
{

var url = "career.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }

function getaward()
{

var url = "award.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getadmission()
{

var url = "admission.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   
   function checksearchfor()
{
var searchfor
	searchfor=searchform1.selectby.value
	alert(searchfor);
	document.location.href="searchby.php?id=2";
  }
   
   function getsearchprofile()
{

var url = "searchprofile.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
  function getassignmentdownloadbystudent()
{

var url = "viewuplaodedassignment.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getdownloadbystudent()
{

var url = "downloadsbystudent.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
function getchangepassword()
{

var url = "changestudentpassword.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
 function getchangestupass()
{
var v1,v2
v1=document.stupass.oldpass.value
	v2=document.stupass.newpass.value

var url = "changestudentpassword_act1.php?id="+v1+"~"+v2;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
 

  function admissionForm()
{

var url = "admissionform.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
function getalbumimage()
{

var url = "viewalbumimageact1.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  
function getcreativegallery()
{

var url = "creative gallery/admin/index.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getcreatealbumincreativegallery()
{

var url = "creative gallery/admin/add-album.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
function getstudentbook()
{

var url = "studentbook.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getguestbook()
{

var url = "guestbook.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }

function getloadsearchby()
{
var selectfor
selectfor=search.selectby.value
var url = "aboutcollege.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
function getnamunainmedia()
{

var url = "namunainmedia.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
 
  function getreseachcentre()
{

var url = "researchcentre.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getuploadassignmment(val)
{
	var v=val
var url = "uploadassignment.php?nid="+val;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
}
 function getuploadassignmentact1()
{
var v1,v2,v3
	v1=document.formuploadassignmentact1.subjectname.value
	v2=document.formuploadassignmentact1.MAX_FILE_SIZE.value	
	v3=document.formuploadassignmentact1.userfile.value
	alert(v3);
var url = "uploadassignmentact1.php?val="+v1+"~"+v2+"~"+v3;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
}
 function getbook()
{
	
var url = "book.php?id=1";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
}
function getbook1()
{
	
var url = "book.php?id=2";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
}

function getphotogallerybyteacher()
{
	
var url = "viewgallery.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
}
function getcreativegallerybyteacher()
{
	
var url = "viewcreativegallerybyteacher.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
}
function getchangeadminpassword()
	{
	
	var url = "changeadminpassword.php";
   myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
	}
	function getsavechangeadminpassword()
	{
	var v1,v2,v3
	v1=document.changeadminpass.oldpass.value
	v2=document.changeadminpass.newpass.value
	v3=document.changeadminpass.conpass.value
	if(v2!=v3)
	{
		document.getElementById('responseeffect').innerHTML="<font color='Red' face='Verdana,Helvetica, sans-serif' size='2'>New Password and Confirm Password Do'nt Matched</font>";
		}
	if(v2==v3)
	{
	var url = "savechangeadminpassword.php?val="+v1+"~"+v2+"~"+v3;
   myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
	}
	}
function getacedemicprogram()
{
	
var url = "academicprogram.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
}
function getprojectprofile()
{
	
var url = "projectprofile.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
}
  function getmorepublication(val)
{
var v=val
var url = "publicationmore.php?id="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getmorestudentpoll(val)
{
var v=val
var url = "studentpollmore.php?id="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function getmoreprogramconduct(val)
{
var v=val
var url = "programconductmore.php?id="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function getmoreparticipation(val)
{
var v=val
var url = "participationmore.php?id="+v;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function geteditprofile()
{

var url = "editstudentprofile.php";
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function editstudentprofileact1edit()
{
var v1,v2,v3,v4,v5,v6
v1=document.editstudentprofileact11.age.value
v2=document.editstudentprofileact11.sex.value
v3=document.editstudentprofileact11.email.value
v4=document.editstudentprofileact11.address.value
v5=document.editstudentprofileact11.phoneno.value
v6='0'
var url = "editstudentprofileact1.php?val="+v1+"~"+v2+"~"+v3+"~"+v4+"~"+v5+"~"+v6;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
   function editstudentprofileact1add()
{
var v1,v2,v3,v4,v5,v6
v1=document.editstudentprofileact12.age.value
v2=document.editstudentprofileact12.sex.value
v3=document.editstudentprofileact12.email.value
v4=document.editstudentprofileact12.address.value
v5=document.editstudentprofileact12.phoneno.value
v6='1'

var url = "editstudentprofileact1.php?val="+v1+"~"+v2+"~"+v3+"~"+v4+"~"+v5+"~"+v6;
myRand = parseInt(Math.random()*999999999999999);
  var modurl = url+"?rand="+myRand;
  http.open("GET", modurl, true);
  http.onreadystatechange = useHttpResponse;
  http.send(null);
  }
  function useHttpResponse()
{
	if(http.readyState==4){
	if(http.status==200){
	var timeValue=http.responseText;
	document.getElementById('responseitem').innerHTML=timeValue;
	}
	}
	else{
	document.getElementById('responseitem').innerHTML="<font color='#555555' face='Verdana,Helvetica, sans-serif' size='2'>Working on Your Request..</font>";
	}
}
