var program, option;
var isOptionOpen=false;
var isNS4, isIE4;
isNS4=(document.layers)?true:false;
isIE4=(document.all)?true:false;
imageA=new Image();
imageA.src="images/optionoff.png"
imageB=new Image();
imageB.src="images/optionon.png"
function ProgramConstructor(name,url,cgi,helpPage,id,method,encoding){
this.name=name;
this.url=url;
this.help=helpPage;
//this.cgi=cgi;
this.id=id;
this.method=method;
this.encoding=encoding;
this.action=cgi;
//this.action=makeurl;
//this.openResultWindow=openresult;
return this;
}
//function makeurl(){
// u=this.url+this.cgi;
// return u;
// }
function makeOption(name){
this.name=name;
this.css=(isNS4)?eval('document.'+name):eval('document.all.'+name+'.style');
this.f=(isNS4)?eval('document.'+name+'.document.'+name+'form'):eval('document.'+name+'form');
//lert("before des");
//var m=name+'description';
//alert(m);
//this.d=(isNS4)?eval('document.'+m):eval('document.all.'+name+'description.style');
this.hideit=hideit;
this.showit=showit;
this.vis=vis;
return this;
}
function showit(){
this.css.visibility="visible"
//this.d.visibility="visible";
}
function hideit(){
this.css.visibility="hidden"
//this.d.visibility="hidden"
}
function vis(){
if(this.css.visibility=="hidden"||this.css.visibility=="hide") return true;
}
function makeDescription(name){
//alert("within description");
this.name=name+'description';
this.css=(isNS4)?eval('document.'+name+'description'):eval('document.all.'+name+'description.style');
//alert(this.css);
this.hideit=hideit;
this.showit=showit;
this.vis=vis;
return this;
}
function whichProgram(){
name=(document.programchoice.program[document.programchoice.program.selectedIndex].value);
for(var i=0;i '
v +=program[index].name
//v+="
| \n | \n\n | ';
v+=''+theprogram.name+'\n'; v+=''+theprogram.url+''
v+='Generated by SeWeR: Sequence Analysis using Web Resources Save this page on your computer. Please update this page regularly. Any change in the target service will cause a wrong-request to the server, that might cause server-overloading. Generate this page by SeWeR as frequently as possible.' v+=' | \n
| Customized for '
v+=''
for(i=1;i | \n||
| \n Copyright © 2000 Malay K Basu curiouser@ccmb.ap.nic.in | \n