﻿// JScript File

function SetSession(section,id)
{
  var xmlHttp;
  try
  {   
      xmlHttp=new XMLHttpRequest();
  }
  catch (e)
  {
         try
		 {
		      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		 }
		 catch (e)
		 {       
		   try
           {   
              xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
           }
           catch (e)
           { 
                alert("Your browser does not support AJAX!");
                return false;
           }
        }
  }
  xmlHttp.onreadystatechange=function()
  {
      if(xmlHttp.readyState==4)
      {
        
      }
  }  
  xmlHttp.open("GET","/setparam.aspx?section=" + section + "&id=" + id,true);
  xmlHttp.send(null); 
  return false;
}
function openFeaturePop(val)
{
    newwindow2=window.open('/Features.aspx?id='+val,'name','toolbar=0,menubar=0,status=0,height=500,width=400,left=400,top=100');  
    return false;
}

function ResetForm()
{
    document.forms[0].reset();
    return false;
}