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;i1){ //alert("V greater than 1"+v.length); for(j=0;j\n" v+='\n\n'; v+='\n'; v+='\n\n\n\n\n' v+='\n'; v+='\n\n\n\n' v+='\n\n\n
\n '; v+='

'+theprogram.name+'

\n'; v+=''+theprogram.url+'

' v+='Generated by SeWeR: Sequence Analysis using Web Resources
' v+=''+vardate.toLocaleString()+'' v+='

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+='


Query
' v+='
' for(i=1;i\n' } v+='
Customized for

' v+='' for(i=1;i='+value[i]+'; ' } v+='

\n
Copyright © 2000 Malay K Basu
curiouser@ccmb.ap.nic.in
' v+='' with(resultWindow){ document.open() document.write(v); document.close(); } } function openResult(theprogram,n,value){ /*resultWindow=window.open("","resultwindow","menubar=1,resizable=1,scrollbars=1,width=650,height=400"); resultWindow.focus(); with(resultWindow){ document.write(program[pgindex].action())} for(i=0;i") resultWindow.document.write(value[i]) resultWindow.document.write("
") }*/ //alert("before writediv") v="
"; for(i=0;i") resultWindow.document.write(value[i]) resultWindow.document.write("
")*/ } for(i=0;i