changeset 31:344cd76f6fd2

rename NCBI reference example
author Jan Kanis <jan.code@jankanis.nl>
date Thu, 15 May 2014 16:59:18 +0200
parents 2143f62809d0
children ce8f29efc0a1
files Blast output page example.html Blast output page example_files/1.gif Blast output page example_files/2.gif Blast output page example_files/3.gif Blast output page example_files/5.gif Blast output page example_files/6.gif Blast output page example_files/9.gif Blast output page example_files/InstrumentPageStarterJS.js Blast output page example_files/addOrg.jpg Blast output page example_files/black.gif Blast output page example_files/blast.js Blast output page example_files/blastReq.css Blast output page example_files/blastRes.css Blast output page example_files/dynFormatRes.css Blast output page example_files/firefox-descriptions.css Blast output page example_files/format.js Blast output page example_files/formatRes.js Blast output page example_files/helix.gif Blast output page example_files/jig.css Blast output page example_files/jig.js Blast output page example_files/jquery.css Blast output page example_files/jquery.js Blast output page example_files/jquery_002.css Blast output page example_files/jquery_002.js Blast output page example_files/jquery_003.css Blast output page example_files/jquery_003.js Blast output page example_files/jquery_004.css Blast output page example_files/jquery_004.js Blast output page example_files/jquery_005.css Blast output page example_files/jquery_005.js Blast output page example_files/jquery_006.css Blast output page example_files/jquery_006.js Blast output page example_files/jquery_007.css Blast output page example_files/jquery_007.js Blast output page example_files/jquery_008.css Blast output page example_files/jquery_008.js Blast output page example_files/jquery_009.js Blast output page example_files/main.css Blast output page example_files/myncbihelpicon.gif Blast output page example_files/plinkcgi.html Blast output page example_files/plinkcgi_002.html Blast output page example_files/plinkcgi_data/primerAd.png Blast output page example_files/print.css Blast output page example_files/query_no_scale.gif Blast output page example_files/reformat.jpg Blast output page example_files/remote_data_provider.js Blast output page example_files/results.css Blast output page example_files/results.js Blast output page example_files/scale.gif Blast output page example_files/score.gif Blast output page example_files/toggle.js Blast output page example_files/utils.js Blast output page example_files/white.gif NCBI Blast reference example.html NCBI Blast reference example_files/1.gif NCBI Blast reference example_files/2.gif NCBI Blast reference example_files/3.gif NCBI Blast reference example_files/5.gif NCBI Blast reference example_files/6.gif NCBI Blast reference example_files/9.gif NCBI Blast reference example_files/InstrumentPageStarterJS.js NCBI Blast reference example_files/addOrg.jpg NCBI Blast reference example_files/black.gif NCBI Blast reference example_files/blast.js NCBI Blast reference example_files/blastReq.css NCBI Blast reference example_files/blastRes.css NCBI Blast reference example_files/dynFormatRes.css NCBI Blast reference example_files/firefox-descriptions.css NCBI Blast reference example_files/format.js NCBI Blast reference example_files/formatRes.js NCBI Blast reference example_files/helix.gif NCBI Blast reference example_files/jig.css NCBI Blast reference example_files/jig.js NCBI Blast reference example_files/jquery.css NCBI Blast reference example_files/jquery.js NCBI Blast reference example_files/jquery_002.css NCBI Blast reference example_files/jquery_002.js NCBI Blast reference example_files/jquery_003.css NCBI Blast reference example_files/jquery_003.js NCBI Blast reference example_files/jquery_004.css NCBI Blast reference example_files/jquery_004.js NCBI Blast reference example_files/jquery_005.css NCBI Blast reference example_files/jquery_005.js NCBI Blast reference example_files/jquery_006.css NCBI Blast reference example_files/jquery_006.js NCBI Blast reference example_files/jquery_007.css NCBI Blast reference example_files/jquery_007.js NCBI Blast reference example_files/jquery_008.css NCBI Blast reference example_files/jquery_008.js NCBI Blast reference example_files/jquery_009.js NCBI Blast reference example_files/main.css NCBI Blast reference example_files/myncbihelpicon.gif NCBI Blast reference example_files/plinkcgi.html NCBI Blast reference example_files/plinkcgi_002.html NCBI Blast reference example_files/plinkcgi_data/primerAd.png NCBI Blast reference example_files/print.css NCBI Blast reference example_files/query_no_scale.gif NCBI Blast reference example_files/reformat.jpg NCBI Blast reference example_files/remote_data_provider.js NCBI Blast reference example_files/results.css NCBI Blast reference example_files/results.js NCBI Blast reference example_files/scale.gif NCBI Blast reference example_files/score.gif NCBI Blast reference example_files/toggle.js NCBI Blast reference example_files/utils.js NCBI Blast reference example_files/white.gif
diffstat 106 files changed, 9432 insertions(+), 9432 deletions(-) [+]
line wrap: on
line diff
--- a/Blast output page example.html	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2071 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><head>
-
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-<meta name="jig" content="ncbitoggler ncbiautocomplete ncbilocalnav ncbigrid ncbipopper">
-<meta name="ncbitoggler" content="animation:'none'">
-<meta name="ncbipopper" content="animation:'none',closeEvent: 'click',openEvent: 'click',destPosition: 'top right',triggerPosition: 'bottom right'">
-
-<meta name="ncbi_app" content="blast">
-<meta name="ncbi_pdid" content="blastresults">
-<meta name="ncbi_stat" content="false">
-<meta name="ncbi_sessionid" content="8A8E11EE2CABF371_0000SID">
-<meta name="ncbi_phid" content="5AAB74D7368F2C81000000000000C9C8">
-<script type="text/javascript"> var ncbi_startTime = new Date(); </script>
-<title>NCBI Blast:Nucleotide Sequence (16 letters)</title>
-<script type="text/javascript" src="Blast%20output%20page%20example_files/jig.js"></script><link rel="stylesheet" type="text/css" href="Blast%20output%20page%20example_files/jig.css"><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery_002.js"></script><link type="text/css" rel="stylesheet" href="Blast%20output%20page%20example_files/jquery_005.css"><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery_004.js"></script><link type="text/css" rel="stylesheet" href="Blast%20output%20page%20example_files/jquery_004.css"><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery_007.js"></script><link type="text/css" rel="stylesheet" href="Blast%20output%20page%20example_files/jquery_003.css"><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery.js"></script><link type="text/css" rel="stylesheet" href="Blast%20output%20page%20example_files/jquery_007.css"><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery_003.js"></script><link type="text/css" rel="stylesheet" href="Blast%20output%20page%20example_files/jquery_008.css"><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery_008.js"></script><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery_005.js"></script><link type="text/css" rel="stylesheet" href="Blast%20output%20page%20example_files/jquery.css"><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery_009.js"></script><link type="text/css" rel="stylesheet" href="Blast%20output%20page%20example_files/jquery_006.css"><script type="text/javascript" src="Blast%20output%20page%20example_files/jquery_006.js"></script><link type="text/css" rel="stylesheet" href="Blast%20output%20page%20example_files/jquery_002.css">
-<script type="text/javascript">    jQuery.getScript("/core/alerts/alerts.js", function() {
-        galert(['div#header', 'body > *:nth-child(1)'])
-    });</script>
-<link rel="stylesheet" type="text/css" href="Blast%20output%20page%20example_files/main.css" media="screen">
-<link rel="stylesheet" type="text/css" href="Blast%20output%20page%20example_files/blastRes.css" media="screen">
-<!--[if IE]>
-<link rel="stylesheet" type="text/css" href="css/descriptionsIE.css" media="screen" />
-<![endif]-->
-<link rel="stylesheet" type="text/css" href="Blast%20output%20page%20example_files/print.css" media="print">
-<!--[if lte IE 6]>
-<link rel="stylesheet" type="text/css" href="css/ie6_or_less.css" />
-<![endif]-->
-<link rel="stylesheet" type="text/css" href="Blast%20output%20page%20example_files/blastReq.css" media="screen">
-<link rel="stylesheet" type="text/css" href="Blast%20output%20page%20example_files/results.css" media="screen">
-<link rel="stylesheet" type="text/css" href="Blast%20output%20page%20example_files/dynFormatRes.css" media="screen">
-
-<style media="print" type="text/css">.print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }.print-log li { list-style-image: url('/stat?jsevent=print&ncbi_app=blast&ncbi_pdid=blastresults&ncbi_phid=5AAB74D7368F2C81000000000000C9C8'); }</style><style type="text/css">.print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }</style></head>
-
-<body id="type-a" class="noToggleCheck ">
-<div id="wrap">
-			<div id="header">	    
-		<div id="site-name"><a id="logolink" href="http://www.ncbi.nlm.nih.gov/" title="NCBI Home Page"><img src="Blast%20output%20page%20example_files/helix.gif" alt="NCBI Logo" title="Link to NCBI Home Page"></a>BLAST <span id="trdm"> ®</span><h1 class="desc">Basic Local Alignment Search Tool</h1>
-		</div>
-		<div id="search">
-		
-<div>
-<script language="JavaScript" type="text/javascript"><!--
-// --></script><table class="medium1" style="border:2px solid #336699;" id="myncbi_off" cellpadding="2" cellspacing="0"><tbody><tr><td align="left" bgcolor="#336699"><a href="http://www.ncbi.nlm.nih.gov/myncbi/?"><font color="#FFFFFF"><b>My NCBI</b></font></a></td><td align="right" bgcolor="#336699"><a href="http://www.ncbi.nlm.nih.gov/books/NBK3842/" title="My NCBI help"><img src="Blast%20output%20page%20example_files/myncbihelpicon.gif" alt="My NCBI help" border="0"></a></td></tr><tr><td colspan="2" nowrap="nowrap"><a href="http://www.ncbi.nlm.nih.gov/account/?back_url=http%3A%2F%2Fblast%2Encbi%2Enlm%2Enih%2Egov%2FBlast%2Ecgi%3FADJUSTED%5FFOR%5FSHORT%5FQUERY%3Don%26ALIGNMENTS%3D100%26ALIGNMENT%5FVIEW%3DPairwise%26BLAST%5FPROGRAMS%3Dblastn%26CLIENT%3Dweb%26CMD%3DGet%26COMPOSITION%5FBASED%5FSTATISTICS%3D0%26CONFIG%5FDESCR%3D2%2C3%2C4%2C5%2C6%2C7%2C8%26DATABASE%3Dpdb%26DBTYPE%3Dgc%26DEFAULT%5FPROG%3DmegaBlast%26DESCRIPTIONS%3D100%26DYNAMIC%5FFORMAT%3Don%26EQ%5FOP%3DAND%26EXPECT%3D1000%26FORMAT%5FNUM%5FORG%3D1%26FORMAT%5FOBJECT%3DAlignment%26FORMAT%5FTYPE%3DHTML%26FULL%5FDBNAME%3Dpdb%26GAPCOSTS%3D5%2B2%26GET%5FSEQUENCE%3Don%26HSP%5FRANGE%5FMAX%3D0%26JOB%5FTITLE%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26LAYOUT%3DOneWindow%26LINE%5FLENGTH%3D60%26MASK%5FCHAR%3D2%26MASK%5FCOLOR%3D1%26MATCH%5FSCORES%3D1%2C%2D3%26MAX%5FNUM%5FSEQ%3D100%26NUCL%5FPENALTY%3D%2D2%26NUCL%5FREWARD%3D1%26NUM%5FDIFFS%3D1%26NUM%5FOPTS%5FDIFFS%3D0%26NUM%5FORG%3D1%26NUM%5FOVERVIEW%3D100%26OLD%5FBLAST%3Dfalse%26OLD%5FVIEW%3Dfalse%26PAGE%3DNucleotides%26PAGE%5FTYPE%3DBlastSearch%26PROGRAM%3Dblastn%26QUERY%5FINFO%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26QUERY%5FLENGTH%3D16%26REPEATS%3Drepeat%5F9606%26RID%3DPHWP1JNZ014%26RTOE%3D42%26SEARCH%5FDB%5FSTATUS%3D42%26SELECTED%5FPROG%5FTYPE%3DmegaBlast%26SERVICE%3Dplain%26SHORT%5FQUERY%5FADJUST%3Don%26SHOW%5FLINKOUT%3Don%26SHOW%5FOVERVIEW%3Don%26USER%5FDEFAULT%5FMATCH%5FSCORES%3D0%26USER%5FDEFAULT%5FPROG%5FTYPE%3DmegaBlast%26USER%5FTYPE%3D2%26WORD%5FSIZE%3D7%26%5FPGR%3D1%26%5FPGR%3D1%26db%3Dnucleotide%26stype%3Dnucleotide" title="Click to sign in" onclick="MyNCBI_auto_submit('http://www.ncbi.nlm.nih.gov/account/?back_url=http%3A%2F%2Fblast%2Encbi%2Enlm%2Enih%2Egov%2FBlast%2Ecgi%3FADJUSTED%5FFOR%5FSHORT%5FQUERY%3Don%26ALIGNMENTS%3D100%26ALIGNMENT%5FVIEW%3DPairwise%26BLAST%5FPROGRAMS%3Dblastn%26CLIENT%3Dweb%26CMD%3DGet%26COMPOSITION%5FBASED%5FSTATISTICS%3D0%26CONFIG%5FDESCR%3D2%2C3%2C4%2C5%2C6%2C7%2C8%26DATABASE%3Dpdb%26DBTYPE%3Dgc%26DEFAULT%5FPROG%3DmegaBlast%26DESCRIPTIONS%3D100%26DYNAMIC%5FFORMAT%3Don%26EQ%5FOP%3DAND%26EXPECT%3D1000%26FORMAT%5FNUM%5FORG%3D1%26FORMAT%5FOBJECT%3DAlignment%26FORMAT%5FTYPE%3DHTML%26FULL%5FDBNAME%3Dpdb%26GAPCOSTS%3D5%2B2%26GET%5FSEQUENCE%3Don%26HSP%5FRANGE%5FMAX%3D0%26JOB%5FTITLE%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26LAYOUT%3DOneWindow%26LINE%5FLENGTH%3D60%26MASK%5FCHAR%3D2%26MASK%5FCOLOR%3D1%26MATCH%5FSCORES%3D1%2C%2D3%26MAX%5FNUM%5FSEQ%3D100%26NUCL%5FPENALTY%3D%2D2%26NUCL%5FREWARD%3D1%26NUM%5FDIFFS%3D1%26NUM%5FOPTS%5FDIFFS%3D0%26NUM%5FORG%3D1%26NUM%5FOVERVIEW%3D100%26OLD%5FBLAST%3Dfalse%26OLD%5FVIEW%3Dfalse%26PAGE%3DNucleotides%26PAGE%5FTYPE%3DBlastSearch%26PROGRAM%3Dblastn%26QUERY%5FINFO%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26QUERY%5FLENGTH%3D16%26REPEATS%3Drepeat%5F9606%26RID%3DPHWP1JNZ014%26RTOE%3D42%26SEARCH%5FDB%5FSTATUS%3D42%26SELECTED%5FPROG%5FTYPE%3DmegaBlast%26SERVICE%3Dplain%26SHORT%5FQUERY%5FADJUST%3Don%26SHOW%5FLINKOUT%3Don%26SHOW%5FOVERVIEW%3Don%26USER%5FDEFAULT%5FMATCH%5FSCORES%3D0%26USER%5FDEFAULT%5FPROG%5FTYPE%3DmegaBlast%26USER%5FTYPE%3D2%26WORD%5FSIZE%3D7%26%5FPGR%3D1%26%5FPGR%3D1%26db%3Dnucleotide%26stype%3Dnucleotide');return false;">[Sign In]</a> <a href="http://www.ncbi.nlm.nih.gov/account/register/?back_url=http%3A%2F%2Fblast%2Encbi%2Enlm%2Enih%2Egov%2FBlast%2Ecgi%3FADJUSTED%5FFOR%5FSHORT%5FQUERY%3Don%26ALIGNMENTS%3D100%26ALIGNMENT%5FVIEW%3DPairwise%26BLAST%5FPROGRAMS%3Dblastn%26CLIENT%3Dweb%26CMD%3DGet%26COMPOSITION%5FBASED%5FSTATISTICS%3D0%26CONFIG%5FDESCR%3D2%2C3%2C4%2C5%2C6%2C7%2C8%26DATABASE%3Dpdb%26DBTYPE%3Dgc%26DEFAULT%5FPROG%3DmegaBlast%26DESCRIPTIONS%3D100%26DYNAMIC%5FFORMAT%3Don%26EQ%5FOP%3DAND%26EXPECT%3D1000%26FORMAT%5FNUM%5FORG%3D1%26FORMAT%5FOBJECT%3DAlignment%26FORMAT%5FTYPE%3DHTML%26FULL%5FDBNAME%3Dpdb%26GAPCOSTS%3D5%2B2%26GET%5FSEQUENCE%3Don%26HSP%5FRANGE%5FMAX%3D0%26JOB%5FTITLE%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26LAYOUT%3DOneWindow%26LINE%5FLENGTH%3D60%26MASK%5FCHAR%3D2%26MASK%5FCOLOR%3D1%26MATCH%5FSCORES%3D1%2C%2D3%26MAX%5FNUM%5FSEQ%3D100%26NUCL%5FPENALTY%3D%2D2%26NUCL%5FREWARD%3D1%26NUM%5FDIFFS%3D1%26NUM%5FOPTS%5FDIFFS%3D0%26NUM%5FORG%3D1%26NUM%5FOVERVIEW%3D100%26OLD%5FBLAST%3Dfalse%26OLD%5FVIEW%3Dfalse%26PAGE%3DNucleotides%26PAGE%5FTYPE%3DBlastSearch%26PROGRAM%3Dblastn%26QUERY%5FINFO%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26QUERY%5FLENGTH%3D16%26REPEATS%3Drepeat%5F9606%26RID%3DPHWP1JNZ014%26RTOE%3D42%26SEARCH%5FDB%5FSTATUS%3D42%26SELECTED%5FPROG%5FTYPE%3DmegaBlast%26SERVICE%3Dplain%26SHORT%5FQUERY%5FADJUST%3Don%26SHOW%5FLINKOUT%3Don%26SHOW%5FOVERVIEW%3Don%26USER%5FDEFAULT%5FMATCH%5FSCORES%3D0%26USER%5FDEFAULT%5FPROG%5FTYPE%3DmegaBlast%26USER%5FTYPE%3D2%26WORD%5FSIZE%3D7%26%5FPGR%3D1%26%5FPGR%3D1%26db%3Dnucleotide%26stype%3Dnucleotide" title="Click to register for an account" onclick="MyNCBI_auto_submit('http://www.ncbi.nlm.nih.gov/account/register/?back_url=http%3A%2F%2Fblast%2Encbi%2Enlm%2Enih%2Egov%2FBlast%2Ecgi%3FADJUSTED%5FFOR%5FSHORT%5FQUERY%3Don%26ALIGNMENTS%3D100%26ALIGNMENT%5FVIEW%3DPairwise%26BLAST%5FPROGRAMS%3Dblastn%26CLIENT%3Dweb%26CMD%3DGet%26COMPOSITION%5FBASED%5FSTATISTICS%3D0%26CONFIG%5FDESCR%3D2%2C3%2C4%2C5%2C6%2C7%2C8%26DATABASE%3Dpdb%26DBTYPE%3Dgc%26DEFAULT%5FPROG%3DmegaBlast%26DESCRIPTIONS%3D100%26DYNAMIC%5FFORMAT%3Don%26EQ%5FOP%3DAND%26EXPECT%3D1000%26FORMAT%5FNUM%5FORG%3D1%26FORMAT%5FOBJECT%3DAlignment%26FORMAT%5FTYPE%3DHTML%26FULL%5FDBNAME%3Dpdb%26GAPCOSTS%3D5%2B2%26GET%5FSEQUENCE%3Don%26HSP%5FRANGE%5FMAX%3D0%26JOB%5FTITLE%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26LAYOUT%3DOneWindow%26LINE%5FLENGTH%3D60%26MASK%5FCHAR%3D2%26MASK%5FCOLOR%3D1%26MATCH%5FSCORES%3D1%2C%2D3%26MAX%5FNUM%5FSEQ%3D100%26NUCL%5FPENALTY%3D%2D2%26NUCL%5FREWARD%3D1%26NUM%5FDIFFS%3D1%26NUM%5FOPTS%5FDIFFS%3D0%26NUM%5FORG%3D1%26NUM%5FOVERVIEW%3D100%26OLD%5FBLAST%3Dfalse%26OLD%5FVIEW%3Dfalse%26PAGE%3DNucleotides%26PAGE%5FTYPE%3DBlastSearch%26PROGRAM%3Dblastn%26QUERY%5FINFO%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26QUERY%5FLENGTH%3D16%26REPEATS%3Drepeat%5F9606%26RID%3DPHWP1JNZ014%26RTOE%3D42%26SEARCH%5FDB%5FSTATUS%3D42%26SELECTED%5FPROG%5FTYPE%3DmegaBlast%26SERVICE%3Dplain%26SHORT%5FQUERY%5FADJUST%3Don%26SHOW%5FLINKOUT%3Don%26SHOW%5FOVERVIEW%3Don%26USER%5FDEFAULT%5FMATCH%5FSCORES%3D0%26USER%5FDEFAULT%5FPROG%5FTYPE%3DmegaBlast%26USER%5FTYPE%3D2%26WORD%5FSIZE%3D7%26%5FPGR%3D1%26%5FPGR%3D1%26db%3Dnucleotide%26stype%3Dnucleotide');return false;">[Register]</a></td></tr></tbody></table></div>
-		</div>
-		<a class="skp" href="#content-wrap">Jump to Page Content</a>		
-		<ul id="nav">
-                <li class="first "><a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastHome" title="BLAST Home">Home</a></li>
-                <li class="recent "><a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=GetSaved&amp;RECENT_RESULTS=on" title="Unexpired BLAST jobs">Recent Results</a></li>                
-                <li class="saved "><a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=GetSaved" title="Saved sets of BLAST search parameters">Saved Strategies</a></li>
-                <li class="last documentation "> <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs" title="BLAST documentation">Help</a></li>                
-                </ul>
-    </div>
-
-        <div id="content-wrap">
-
-                <div id="breadcrumb" class="inlineDiv">
-                   <a href="http://www.ncbi.nlm.nih.gov/">NCBI</a>/
-                   <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastHome">BLAST</a>/
-                   <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?PAGE=Nucleotides&amp;PROGRAM=blastn&amp;PAGE_TYPE=BlastSearch&amp;BLAST_SPEC=">blastn suite</a>/
-                   <strong>Formatting Results - PHWP1JNZ014</strong>                                
-                </div>
-                <div class="inlineDiv resHeader resPage">
-				   
-                </div>
-                <ul class="print-log-res"><li></li></ul>
-
-                <!-- CDD info for old design -->
-                
-                
-                
-
-
-                				
-				
-
-                <div id="content">                              		
-                                
-                <!--<ul id="msg" class="msg"><li class="info"><p class=""></p><p class=""></p><p class=""></p></li></ul>-->
-                <ul id="msg" class="msg"><li class="info"><p class="info">Your search parameters were adjusted to search for a short input sequence.</p></li></ul>                
-                <a href="#" class="resLink resPage" id="searchOptions" submitform="setSavedOptions">Edit and Resubmit</a>
-<a href="#" class="resLink resPage hidden" id="saveSearchOptions" submitform="saveOptions">Save Search Strategies</a>
-<span class="reslink  resPage">[Sign in above to save your search strategy]</span>	
-<a aria-expanded="false" role="button" aria-disabled="false" id="showFormat" class="resLink resPage resArrowLinkB ui-ncbitoggler jig-ncbitoggler ui-widget" data-ncbitoggler-toggles="FormatForm" href="#">
-<span class="ui-ncbitoggler-master-text">Formatting options </span>
-<span class="ui-icon ui-icon-triangle-1-e"></span>
-</a>
-<a aria-expanded="false" role="button" aria-disabled="false" id="showDownload" class="resLink resPage resArrowLinkB jig-ncbitoggler ui-ncbitoggler ui-widget" data-ncbitoggler-toggles="FormatDownload" href="#">
-<span class="ui-ncbitoggler-master-text">Download</span>
-<span class="ui-icon ui-icon-triangle-1-e"></span>
-</a>
-<span id="hnr">
-<a id="ytb" class="ytb " title="External link to YouTube" href="http://www.youtube.com/playlist?list=PLH-TjWpFfWrtjzMCIvUe-YbrlIeFQlKMq" target="lnkPHWP1JNZ014">How to read this page</a>
-<a id="brFtp" class="" title="Blast report description" href="ftp://ftp.ncbi.nlm.nih.gov/pub/factsheets/HowTo_NewBLAST.pdf" target="lnkPHWP1JNZ014">Blast report description</a>
-</span>
-                <form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="POST" id="results">
-                <input name="ADJUSTED_FOR_SHORT_QUERY" value="on" type="hidden"><input name="ALIGNMENTS" value="100" type="hidden"><input name="ALIGNMENT_VIEW" value="Pairwise" type="hidden"><input name="BLAST_PROGRAMS" value="blastn" type="hidden"><input name="CLIENT" value="web" type="hidden"><input name="COMPOSITION_BASED_STATISTICS" value="0" type="hidden"><input name="CONFIG_DESCR" value="2,3,4,5,6,7,8" type="hidden"><input name="DATABASE" value="pdb" type="hidden"><input name="DBTYPE" value="gc" type="hidden"><input name="DEFAULT_PROG" value="megaBlast" type="hidden"><input name="DESCRIPTIONS" value="100" type="hidden"><input name="DYNAMIC_FORMAT" value="on" type="hidden"><input name="EQ_OP" value="AND" type="hidden"><input name="EXPECT" value="1000" type="hidden"><input name="FORMAT_NUM_ORG" value="1" type="hidden"><input name="FORMAT_OBJECT" value="Alignment" type="hidden"><input name="FORMAT_TYPE" value="HTML" type="hidden"><input name="FULL_DBNAME" value="pdb" type="hidden"><input name="GAPCOSTS" value="5 2" type="hidden"><input name="GET_SEQUENCE" value="on" type="hidden"><input name="HSP_RANGE_MAX" value="0" type="hidden"><input name="JOB_TITLE" value="Nucleotide Sequence (16 letters)" type="hidden"><input name="LAYOUT" value="OneWindow" type="hidden"><input name="LINE_LENGTH" value="60" type="hidden"><input name="MASK_CHAR" value="2" type="hidden"><input name="MASK_COLOR" value="1" type="hidden"><input name="MATCH_SCORES" value="1,-3" type="hidden"><input name="MAX_NUM_SEQ" value="100" type="hidden"><input name="NUCL_PENALTY" value="-2" type="hidden"><input name="NUCL_REWARD" value="1" type="hidden"><input name="NUM_DIFFS" value="1" type="hidden"><input name="NUM_OPTS_DIFFS" value="0" type="hidden"><input name="NUM_ORG" value="1" type="hidden"><input name="NUM_OVERVIEW" value="100" type="hidden"><input name="OLD_BLAST" value="false" type="hidden"><input name="OLD_VIEW" value="false" type="hidden"><input name="PAGE" value="Nucleotides" type="hidden"><input name="PAGE_TYPE" value="BlastSearch" type="hidden"><input name="PROGRAM" value="blastn" type="hidden"><input name="QUERY_INFO" value="Nucleotide Sequence (16 letters)" type="hidden"><input name="QUERY_LENGTH" value="16" type="hidden"><input name="REPEATS" value="repeat_9606" type="hidden"><input name="RID" value="PHWP1JNZ014" type="hidden"><input name="RTOE" value="42" type="hidden"><input name="SEARCH_DB_STATUS" value="43" type="hidden"><input name="SELECTED_PROG_TYPE" value="megaBlast" type="hidden"><input name="SERVICE" value="plain" type="hidden"><input name="SHORT_QUERY_ADJUST" value="on" type="hidden"><input name="SHOW_LINKOUT" value="on" type="hidden"><input name="SHOW_OVERVIEW" value="on" type="hidden"><input name="USER_DEFAULT_MATCH_SCORES" value="0" type="hidden"><input name="USER_DEFAULT_PROG_TYPE" value="megaBlast" type="hidden"><input name="USER_TYPE" value="2" type="hidden"><input name="WORD_SIZE" value="7" type="hidden"><input name="_PGR" value="2" type="hidden"><input name="db" value="nucleotide" type="hidden"><input name="stype" value="nucleotide" type="hidden">
-                <input name="QUERY_INDEX" value="0" type="hidden">                
-                <input name="_PGR" value="2" type="hidden">
-                <input id="seqViewUrl" value="http://www.ncbi.nlm.nih.gov/projects/sviewer" type="hidden">
-                <input name="CMD" value="Get" type="hidden">                
-                </form>
-                <!-- Reformat and downlaod for new design -->
-                <div class="ui-helper-reset" aria-live="assertive">  
-<form aria-hidden="true" action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="post" name="FormatForm" id="FormatForm" class="resbox ui-ncbitoggler-slave  ui-ncbitoggler">
-<table class="options blastn ">
-<tbody><tr>
-<td class="frh" colspan="2">
-<div class="fi">
-<div class="tb">Formatting options</div>
-<input id="onPageReformat" src="Blast%20output%20page%20example_files/reformat.jpg" class="blastbutton" alt="Reformat" mouseovimg="css/images/reformatOver.jpg" mouseoutimg="css/images/reformat.jpg" mousedownimg="css/images/reformatDown.jpg" mouseupimg="css/images/reformatOver.jpg" border="0" type="image">
-</div>
-</td></tr>
-<tr class="paramSet xgl">
-<td class="hd"><label for="FORMAT_OBJECT">Show</label></td>
-<td>
-<div class="fi">
-<input id="FORMAT_OBJECT" value="Alignment" name="FORMAT_OBJECT" type="hidden">
-<label for="FORMAT_TYPE" id="nft">Alignment as</label>
-<select name="FORMAT_TYPE" id="FORMAT_TYPE" class="reset" defval="HTML">
-<option value="HTML" selected="selected">HTML</option>
-<option value="Text">Plain text</option>
-
-</select>
-
-<span id="advView" class="">
-<span class=""><input name="OLD_VIEW" id="OLD_VIEW" class="cb reset" defval="unchecked" false="" type="checkbox">
-<label for="OLD_VIEW">Old View</label></span>
-</span>
-<a class="resetAll" id="resetAll">Reset form to defaults</a>
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Alignments object formatting help" id="formatHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp1">
-These options control formatting of alignments in results pages. The
-default is HTML, but other formats (including plain text) are available.
-PSSM and PssmWithParameters are representations of Position Specific Scoring Matrices and are only available for PSI-BLAST. 
-The Advanced view option allows the database descriptions to be sorted by various indices in a table.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#format_object" target="helpWin" title="Additional alignments object formatting help">more...</a>
-</p>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>
-
-<tr class="odd paramSet">
-<td class="hd"><label for="ALIGNMENT_VIEW">Alignment View</label></td>
-<td>
-<div class="fi">
-<select name="ALIGNMENT_VIEW" id="ALIGNMENT_VIEW" defval="Pairwise" class="reset">
-<option value="Pairwise" selected="selected">Pairwise</option>
-<option value="PairwiseWithIdentities">Pairwise with dots for identities</option>
-<option value="QueryAnchored">Query-anchored with dots for identities</option>
-<option value="QueryAnchoredNoIdentities">Query-anchored with letters for identities</option>
-<option value="FlatQueryAnchored">Flat query-anchored with dots for identities</option>
-<option value="FlatQueryAnchoredNoIdentities">Flat query-anchored with letters for identities</option>
-
-</select>
-
-
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Alignments view options help" id="alnViewHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp2">
-Choose how to view alignments.
-The default "pairwise" view shows how each subject sequence aligns
-individually to the query sequence. The "query-anchored" view shows how
-all subject sequences align to the query sequence. For each view type,
-you can choose to show "identities" (matching residues) as letters or
-dots.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#alignment_view" target="helpWin" title="Additional alignments view options help">more...</a>
-</p>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>
-
-<tr class="paramSet">
-<td class="hd"><label>Display</label></td>
-<td class="cb">
-<div class="fi">
-<input name="SHOW_OVERVIEW" id="SHOW_OVERVIEW" class="cb reset" defval="checked" checked="checked" type="checkbox">
-<label class="rb" for="SHOW_OVERVIEW">Graphical Overview</label>
-
-<span class="hidden" id="shl">
-<input name="SHOW_LINKOUT" id="SHOW_LINKOUT" class="cb reset" defval="checked" checked="checked" type="checkbox">
-<label class="rb" for="SHOW_LINKOUT">Linkout</label>
-</span>
-<span class="hidden" id="gts">
-<input name="GET_SEQUENCE" id="GET_SEQUENCE" class="cb reset" defval="checked" checked="checked" type="checkbox">
-<label class="rb" for="GET_SEQUENCE">Sequence Retrieval</label>
-</span>
-
-<input name="NCBI_GI" id="NCBI_GI" class="cb reset" defval="unchecked" type="checkbox">
-<label class="rb" for="NCBI_GI">NCBI-gi</label>
-<span id="scf">
-<input name="SHOW_CDS_FEATURE" id="SHOW_CDS_FEATURE" class="cb reset blastn" defval="unchecked" type="checkbox">
-<label for="SHOW_CDS_FEATURE" class="blastn">CDS feature</label>
-</span>
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Alignments display options help" id="displayHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<ul aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp3">
-<li>Graphical Overview: Graphical Overview: Show graph of similar sequence regions aligned to  query.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#show_overview" target="helpWin" title="Graphical Overview help">more...</a>
-</li>
-<li>Database LinkOuts: Show links from matching sequences to entries in specialized NCBI databases.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#show_linkout" title="LinkOut help" target="helpWin">more...</a>
-</li>
-<li>Sequence Retrieval: Show buttons to download matching sequences.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#get_sequence" title="Sequence Retrieval help" target="helpWin">more...</a>
-</li>
-<li>NCBI-gi: Show NCBI gi identifiers.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#ncbi_gi" title="NCBI-gi help" target="helpWin">more...</a>
-</li>
-<li>CDS feature: Show annotated coding region and translation.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#show_cds_feature" title="CDS feature help" target="helpWin">more...</a>
-</li></ul>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>
-
-
-<tr class="paramSet odd xgl">
-<td class="hd"><label>Masking</label></td>
-<td>
-<div class="fi">
-<label for="MASK_CHAR"> Character: </label>
-<select name="MASK_CHAR" id="MASK_CHAR" class="reset" defval="2">
-<option value="0">X for protein, n for nucleotide</option>
-<option value="2" selected="selected">Lower Case</option>
-</select>
-<label for="MASK_COLOR"> Color:</label>
-<select name="MASK_COLOR" id="MASK_COLOR" class="reset" defval="1">
-<option value="0">Black
-</option>
-
-<option value="1" selected="selected">Grey
-</option>
-
-<option value="2">Red
-</option>
-
-</select>
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Alignments masking help" id="maskingHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<ul aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp4">
-<li>Masking Character: Display masked (filtered) sequence regions as 
-lower-case or as specific letters (N for nucleotide, P for protein).
-</li>
-<li>Masking Color: Display masked sequence regions in the given color.</li>
-</ul>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>
-
-
-<tr id="lr" class="paramSet xgl">
-<td class="hd"><label>Limit results</label></td>
-<td>
-<div class="fi">
-<label for="FRM_DESCRIPTIONS">Descriptions:</label>
-<select name="DESCRIPTIONS" id="FRM_DESCRIPTIONS" class="reset" defval="100">
-
-<option value="10">10</option>
-<option value="50">50</option>
-<option value="100" selected="selected">100</option>
-
-
-
-
-
-
-</select>
-
-<label for="FRM_NUM_OVERVIEW">Graphical overview:</label>
-<select name="NUM_OVERVIEW" id="FRM_NUM_OVERVIEW" class="reset" defval="100">
-<option value="0">0</option>
-<option value="10">10</option>
-<option value="50">50</option>
-<option value="100" selected="selected">100</option>
-
-
-
-</select>
-<span class="hidden" id="frmAln">
-<label for="FRM_ALIGNMENTS">Alignments:</label>
-<select name="ALIGNMENTS" id="FRM_ALIGNMENTS" class="reset" defval="100">
-<option value="0">0</option>
-<option value="10">10</option>
-<option value="50">50</option>
-<option value="100" selected="selected">100</option>
-
-
-
-
-
-
-</select>
-</span>
-<label for="FRM_LINE_LENGTH">Line length:</label>
-<select name="LINE_LENGTH" id="FRM_LINE_LENGTH" class="reset" defval="60">
-<option value="60" selected="selected">60</option>
-<option value="90">90</option>
-<option value="120">120</option>
-<option value="150">150</option>
-</select>
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit number of descriptions/alignments help" id="numHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<ul aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp5">
-<li>Descriptions: Show short descriptions for up to the given number of  sequences.</li> 
-<li>Alignments:  Show alignments for up to the given number of sequences, in order of statistical significance.</li>
-<li>Line lenghth:  ....</li>
-</ul>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>
-
-<tr class="paramSet odd xgl ">
-<td class="hd"></td>
-<td>
-<div class="">
-<label for="qorganism">Organism</label>
-<span class="instr">Type common name, binomial, taxid, or group name. Only 20 top taxa will be shown.</span><br>
-<input role="textbox" aria-autocomplete="list" aria-haspopup="true" title="Use up and down arrows to choose an item from the autocomplete." name="FORMAT_ORGANISM" size="55" id="qorganism" value="Enter organism name or id--completions will be suggested" data-jigconfig="dictionary:'taxids_sg'" autocomplete="off" class="jig-ncbiautocomplete reset orgHint" type="text">
-<input name="FORMAT_ORG_EXCLUDE" class="oExclR cb" id="orgExcl" type="checkbox">        
-<input value="1" name="FORMAT_NUM_ORG" id="numOrg" type="hidden">
-<label for="orgExcl" class="right">Exclude</label>
-<a href="#" title="Add organism" id="addOrg"><img src="Blast%20output%20page%20example_files/addOrg.jpg" id="addOrgIm" alt="Add organism" mouseovimg="css/images/addOrgOver.jpg" mouseoutimg="css/images/addOrg.jpg" mousedownimg="css/images/addOrgDown.jpg" mouseupimg="css/images/addOrgOver.jpg" border="0"></a>
-<div id="orgs">
-
-</div>
-<div class="fi">
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit results by organism help" id="organismHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp6">
-Show only sequences from the given organism.
-</p>
-</div><!-- ARIA -->
-</div>
-</div>
-</td>
-</tr>
-
-<tr class="paramSet xgl ">
-<td class="hd"></td>
-<td>
-<div class="fi">
-<label for="FORMAT_EQ_TEXT">Entrez query:</label>
-<input name="FORMAT_EQ_TEXT" id="FORMAT_EQ_TEXT" size="60" class="reset" type="text">
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit results by Entrez query help" id="entrezHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp7">
-Show only those sequences that match the given Entrez query.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#limit_result" target="helpWin" title="Additional limit results by Entrez query help">more...</a>
-</p>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>
-
-  
-<tr class="paramSet odd xgl">
-<td class="hd"></td>
-<td>
-<div class="fi">
-<label for="EXPECT_LOW">Expect Min:</label> <input name="EXPECT_LOW" id="EXPECT_LOW" size="10" class="reset" type="text">
-<label for="EXPECT_HIGH">Expect Max:</label> <input name="EXPECT_HIGH" id="EXPECT_HIGH" size="10" class="reset" type="text">
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit results by expect value range help" id="expectHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp8">
-Show only sequences with expect values in the given range.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#expect_range" target="helpWin" title="Additional limit results by expect value range help">more...</a>
-</p>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>
-<tr class="paramSet xgl">
-<td class="hd"></td>
-<td>
- <div class="fi">
-<label for="PERC_IDENT_LOW">Percent Identity Min:</label> <input name="PERC_IDENT_LOW" id="PERC_IDENT_LOW" size="10" class="reset" type="text">
-<label for="PERC_IDENT_HIGH">Percent Identity Max:</label> <input name="PERC_IDENT_HIGH" id="PERC_IDENT_HIGH" size="10" class="reset" type="text">
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit results by percent identity range help" id="percIdentHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp10">
- Show only sequences with percent identity values in the given range.  
-</p>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>      
-<tr class="psiBlast odd paramSet xgl">
-<td class="hd"><label>Format for</label></td>
-<td>
-<div class="fi">
-<input name="RUN_PSIBLAST_FORM" id="RUN_PSIBLAST" class="cb psiBlast" type="checkbox">
-<label class="rb psiBlast" for="RUN_PSIBLAST">PSI-BLAST</label>
-<label for="I_THRESH">with inclusion threshold:</label>
-<input name="I_THRESH" id="I_THRESH" size="10" defval="0.005" type="text">
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="PSI BLAST formatting help" id="psiHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-<div class="ui-helper-reset" aria-live="assertive">
-<ul aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp9">
-<li>Format for PSI-BLAST: The Position-Specific Iterated BLAST 
-(PSI-BLAST) program performs iterative searches with a protein query, 
-in which sequences found in one round of search are used to build a 
-custom score model for the next round.
-<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#psiblast" target="helpWin" title="Additional PSI BLAST formatting help">more...</a>
-</li>  
-<li>Inclusion Threshold: This sets the statistical significance threshold for including a sequence in the model used 
-by PSI-BLAST to create the PSSM on the next iteration.</li> 
-</ul>
-</div><!-- ARIA -->
-</div>
-</td>
-</tr>
-</tbody></table>
-
-
-<input name="ViewReport" value="ViewReport" type="hidden">
-<input name="REFORMAT_REPORT" value="shown" type="hidden">
-<input name="RID" value="PHWP1JNZ014" type="hidden">
-<input name="CDD_RID" value="" type="hidden">
-<input name="CDD_SEARCH_STATE" value="" type="hidden">
-
-<input name="STEP_NUMBER" value="" id="stepNumber" type="hidden">
-<input name="CMD" value="Get" type="hidden">
-<input name="FORMAT_EQ_OP" value="AND" type="hidden">
-<input name="RESULTS_PAGE_TARGET" id="resPageTarget" value="" type="hidden">
-<!-- <input name="QUERY_INFO" type="hidden" value="Nucleotide Sequence (16 letters)" /> -->	
-<!-- <input name="ENTREZ_QUERY" type="hidden" value="" /> -->	
-<input name="QUERY_INDEX" value="0" type="hidden">
-<input name="NUM_QUERIES" value="1" type="hidden">
-<input name="PHI_PTTRN_INDEX" value="" type="hidden">
-<input id="cfcDsSave" name="CONFIG_DESCR" value="2,3,4,5,6,7,8" type="hidden">
-<!-- Those params are set in the template (blastn.dat, blastp.dat etc. -->
-<input name="BLAST_PROGRAMS" value="blastn" type="hidden">
-<input name="PAGE" value="Nucleotides" type="hidden">
-<input name="PROGRAM" value="blastn" type="hidden">
-<input name="MEGABLAST" value="" type="hidden">
-<input name="RUN_PSIBLAST" value="" type="hidden">
-<input name="BLAST_SPEC" id="blastSpec" value="" type="hidden">
-
-
-<input name="QUERY" value="" type="hidden">
-<input name="JOB_TITLE" value="Nucleotide Sequence (16 letters)" type="hidden">
-<input name="QUERY_TO" value="" type="hidden">
-<input name="QUERY_FROM" value="" type="hidden">
-<input name="EQ_TEXT" value="" type="hidden">
-<input name="ORGN" value="" type="hidden">
-<input name="EQ_MENU" value="" type="hidden">
-<input name="ORG_EXCLUDE" value="" type="hidden">
-<input name="PHI_PATTERN" value="" type="hidden">
-<input name="EXPECT" value="1000" type="hidden">									
-<input name="DATABASE" value="pdb" type="hidden">
-<input name="DB_GROUP" value="" type="hidden">
-<input name="SUBGROUP_NAME" value="" type="hidden">
-
-<input name="GENETIC_CODE" value="" type="hidden">
-<input name="WORD_SIZE" value="7" type="hidden">
-<input name="MATCH_SCORES" value="1,-3" type="hidden">			
-<input name="MATRIX_NAME" value="" type="hidden">				
-<input name="GAPCOSTS" value="5 2" type="hidden">
-<input name="MAX_NUM_SEQ" id="maxNumSeq" value="100" type="hidden">					
-<input name="COMPOSITION_BASED_STATISTICS" value="0" type="hidden">			
-<input name="NEWWIN" value="" type="hidden">
-<input name="SHORT_QUERY_ADJUST" value="on" type="hidden">
-<input name="FILTER" value="" type="hidden">
-<input name="REPEATS" value="repeat_9606" type="hidden">
-<input name="ID_FOR_PSSM" value="" type="hidden">
-<input name="EXCLUDE_MODELS" value="" type="hidden">
-<input name="EXCLUDE_SEQ_UNCULT" value="" type="hidden">
-<input name="WP_PROTEINS" value="" type="hidden">
-<input name="SEQ_FROM_TYPE" value="" type="hidden">
-<input name="ENTREZ_QUERY_PRESET" value="" type="hidden">
-<input name="ENTREZ_QUERY_PRESET_EXCL" value="" type="hidden">
-<input name="NUM_ORG" value="1" type="hidden">
-
-<!-- PSSM -->
-<input name="LCASE_MASK" value="" type="hidden">
-<input name="TEMPLATE_TYPE" value="" type="hidden">
-<input name="TEMPLATE_LENGTH" value="" type="hidden">
-<input name="I_THRESH" value="" type="hidden">
-<input name="PSI_PSEUDOCOUNT" value="" type="hidden">
-<input name="DI_THRESH" id="diThresh" value="" type="hidden">
-<input name="HSP_RANGE_MAX" value="0" type="hidden">
-
-
-
-<input name="ADJUSTED_FOR_SHORT_QUERY" value="on" type="hidden">
-<input name="MIXED_QUERIES" value="" type="hidden">
-<input name="MIXED_DATABASE" id="mixedDb" value="" type="hidden">
-<input name="BUILD_NAME" value="" type="hidden">
-<input name="ORG_DBS" value="" type="hidden">
-
-</form>
-</div> <!-- aria -->
-                <div class="ui-helper-reset" aria-live="assertive">    
-<form aria-hidden="true" name="FormatDownload" id="FormatDownload" class="resbox ui-ncbitoggler-slave ui-ncbitoggler">
-<table class="options dwnl ">
-<tbody><tr><td class="frh" colspan="6"><div class="tb">Download</div></td></tr>
-<tr>
-<td id="tdal">
-<div class="dnHeader">Alignment</div>
-<div class="dnLinks">
-<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=Text&amp;FORMAT_OBJECT=Alignment&amp;DESCRIPTIONS=100&amp;ALIGNMENTS=100&amp;CMD=Get">Text</a>
-<a class="xgl" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=XML&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get">XML</a>
-<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=ASN.1&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get">ASN.1</a>
-<a id="hitText" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=Text&amp;FORMAT_OBJECT=Alignment&amp;ALIGNMENT_VIEW=Tabular&amp;CMD=Get">Hit Table(text)</a>
-<a id="hitCvs" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=CSV&amp;FORMAT_OBJECT=Alignment&amp;ALIGNMENT_VIEW=Tabular&amp;CMD=Get">Hit Table(csv)</a>
-</div>
-</td>
-<td class="dnl xgl">
-<div class="dnHeader">Search Strategies</div>
-<div class="dnLinks">
-<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=GetSaved&amp;RECENT_RESULTS=on&amp;RID=PHWP1JNZ014&amp;DOWNLOAD_OPTIONS=true">ASN.1</a>
-</div>
-</td>
-<td class="dnl hidden" id="dnPSSMPar">
-<div class="dnHeader">PssmWithParameters</div>
-<div class="dnLinks">
-<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=ASN.1&amp;FORMAT_OBJECT=PSSM_Scoremat&amp;CMD=Get">ASN.1</a>
-</div>
-</td>
-<td>
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink jig-ncbitoggler ui-ncbitoggler ui-widget" title="Download help" data-ncbitoggler-toggles="hlp11" id="dnHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-</td>
-</tr>
-</tbody></table>
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp11">
-  The Download link provides BLAST output that may be used as input to 
-another program.
-  This includes parseable formats such as the tabular report or XML as 
-well as the Search Strategy files read by the BLAST+ applications.
-  More details on the parseable (XML, tabular, and ASN.1) reports can be
- found at
-  <a href="http://www.ncbi.nlm.nih.gov/books/NBK21097/" target="helpWin">http://www.ncbi.nlm.nih.gov/books/NBK21097/</a><br>
-  <br>
-  The following formats are offered under the Alignment section:<br>  
-    1). "Text". Non-HTML standard BLAST report.<br>
-
-    2). "XML". XML report based upon the DTD at <a href="http://www.ncbi.nlm.nih.gov/data_specs/dtd/NCBI_BlastOutput.dtd" target="helpWin">http://www.ncbi.nlm.nih.gov/data_specs/dtd/NCBI_BlastOutput.dtd</a><br>
-    
-    3). "ASN.1" Alignment. This is the alignment written out in Abstract Syntax Notation 1.<br>
-
-    4). "Hit Table(text)". The tabular report as text.<br>
-
-    5). "Hit Table(csv)". The tabular report ready for import into spread-sheet programs like Excel.<br>
-  <br>
-  The following report is offered under the Search Strategy section:<br>
-  
-  1). "ASN.1" Search Strategy. A record of the parameters, query, and 
-database used in the search. This file can be used to start a 
-stand-alone BLAST search, see
-  <a href="http://www.ncbi.nlm.nih.gov/books/NBK1763/#CmdLineAppsManual.I455_BLAST_search_stra" target="helpWin">http://www.ncbi.nlm.nih.gov/books/NBK1763/#CmdLineAppsManual.I455_BLAST_search_stra</a>    
-</p>    
-</div><!-- ARIA -->
-</form>
-</div> <!-- aria -->                
-                <form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="POST" name="overview0">
-                <input name="ADJUSTED_FOR_SHORT_QUERY" value="on" type="hidden"><input name="ALIGNMENTS" value="100" type="hidden"><input name="ALIGNMENT_VIEW" value="Pairwise" type="hidden"><input name="BLAST_PROGRAMS" value="blastn" type="hidden"><input name="CLIENT" value="web" type="hidden"><input name="COMPOSITION_BASED_STATISTICS" value="0" type="hidden"><input name="CONFIG_DESCR" value="2,3,4,5,6,7,8" type="hidden"><input name="DATABASE" value="pdb" type="hidden"><input name="DBTYPE" value="gc" type="hidden"><input name="DEFAULT_PROG" value="megaBlast" type="hidden"><input name="DESCRIPTIONS" value="100" type="hidden"><input name="DYNAMIC_FORMAT" value="on" type="hidden"><input name="EQ_OP" value="AND" type="hidden"><input name="EXPECT" value="1000" type="hidden"><input name="FORMAT_NUM_ORG" value="1" type="hidden"><input name="FORMAT_OBJECT" value="Alignment" type="hidden"><input name="FORMAT_TYPE" value="HTML" type="hidden"><input name="FULL_DBNAME" value="pdb" type="hidden"><input name="GAPCOSTS" value="5 2" type="hidden"><input name="GET_SEQUENCE" value="on" type="hidden"><input name="HSP_RANGE_MAX" value="0" type="hidden"><input name="JOB_TITLE" value="Nucleotide Sequence (16 letters)" type="hidden"><input name="LAYOUT" value="OneWindow" type="hidden"><input name="LINE_LENGTH" value="60" type="hidden"><input name="MASK_CHAR" value="2" type="hidden"><input name="MASK_COLOR" value="1" type="hidden"><input name="MATCH_SCORES" value="1,-3" type="hidden"><input name="MAX_NUM_SEQ" value="100" type="hidden"><input name="NUCL_PENALTY" value="-2" type="hidden"><input name="NUCL_REWARD" value="1" type="hidden"><input name="NUM_DIFFS" value="1" type="hidden"><input name="NUM_OPTS_DIFFS" value="0" type="hidden"><input name="NUM_ORG" value="1" type="hidden"><input name="NUM_OVERVIEW" value="100" type="hidden"><input name="OLD_BLAST" value="false" type="hidden"><input name="OLD_VIEW" value="false" type="hidden"><input name="PAGE" value="Nucleotides" type="hidden"><input name="PAGE_TYPE" value="BlastSearch" type="hidden"><input name="PROGRAM" value="blastn" type="hidden"><input name="QUERY_INFO" value="Nucleotide Sequence (16 letters)" type="hidden"><input name="QUERY_LENGTH" value="16" type="hidden"><input name="REPEATS" value="repeat_9606" type="hidden"><input name="RID" value="PHWP1JNZ014" type="hidden"><input name="RTOE" value="42" type="hidden"><input name="SEARCH_DB_STATUS" value="43" type="hidden"><input name="SELECTED_PROG_TYPE" value="megaBlast" type="hidden"><input name="SERVICE" value="plain" type="hidden"><input name="SHORT_QUERY_ADJUST" value="on" type="hidden"><input name="SHOW_LINKOUT" value="on" type="hidden"><input name="SHOW_OVERVIEW" value="on" type="hidden"><input name="USER_DEFAULT_MATCH_SCORES" value="0" type="hidden"><input name="USER_DEFAULT_PROG_TYPE" value="megaBlast" type="hidden"><input name="USER_TYPE" value="2" type="hidden"><input name="WORD_SIZE" value="7" type="hidden"><input name="_PGR" value="2" type="hidden"><input name="db" value="nucleotide" type="hidden"><input name="stype" value="nucleotide" type="hidden">
-                <input name="CMD" value="Get" type="hidden">
-                <p id="qb"><!--
-QBlastInfoBegin
-	Status=READY
-QBlastInfoEnd
---></p>
-<div id="page">
-
-<div id="summary" class="">
-<div id="ht"></div>
-<h1>Nucleotide Sequence (16 letters) <span id="hdTitle" class="shownInl"></span></h1>
-<div>
-<div id="multipleSeqs" class="hidden">
-<label for="queryList">Results for:</label>
-<select id="queryList" name="queryList">
-<option value="0" selected="selected" class="">lcl|59987 None(16bp)</option>
-</select>
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink jig-ncbitoggler ui-ncbitoggler ui-widget" data-ncbitoggler-toggles="queryInfo" title="Multiple quries help" id="queryHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a>
-</div><!--/#multipleSeqs"-->
-
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" id="queryInfo" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler">
-Your BLAST job specified more than one input sequence.
-This box lets you choose which input sequence to show BLAST results for.
-</p>
-</div><!-- ARIA -->
-</div>
-<div id="summarylists">
-<dl>
-<dt>RID</dt>
-<dd>
-<a title="BLAST search request ID" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014">PHWP1JNZ014</a> (Expires on 05-07 22:33 pm)
-</dd>
-</dl>
-<div id="querysummary">
-<dl>
-<dt>Query ID</dt>
-<dd class="hidden">
-<a title="Find query in Entrez" href="http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=Search&amp;db=nucleotide&amp;term=59987&amp;dopt=GenBank" target="lnkPHWP1JNZ014">lcl|59987</a>
-</dd>
-<dd class="">lcl|59987</dd>
-<dt>Description</dt>
-<dd>None</dd>
-<dt>Molecule type</dt>
-<dd>nucleic acid</dd>
-<dt>Query Length</dt>
-<dd>16</dd>
-</dl>
-</div><!--/#querysummary-->
-
-<div id="dbsummary">
-<dl>
-<dt>   </dt><dd>   </dd>
-<dt>Database Name</dt>
-<dd>pdb</dd>
-<dt>Description</dt>
-<dd>PDB nucleotide database <a aria-expanded="false" role="button" aria-disabled="false" href="#" title="See multiple databases detailed information" class="jtg resArrowLinkB hidden  jig-ncbitoggler ui-ncbitoggler ui-widget" data-ncbitoggler-toggles="dbDetails" id="showDetails"><span class="ui-ncbitoggler-master-text">See details</span><span class="ui-icon ui-icon-triangle-1-e"></span></a></dd> <!-- -- Database or subject info ---->
-<dt class="xgl">Program</dt>
-<dd class="xgl">BLASTN 2.2.29+ <a aria-expanded="false" role="button" aria-disabled="false" href="#" title="How to cite BLAST in publications" class="resArrowLinkB hidden shown jig-ncbitoggler ui-ncbitoggler jtg ui-widget" data-ncbitoggler-toggles="refInfo" id="showRefs"><span class="ui-ncbitoggler-master-text">Citation</span><span class="ui-icon ui-icon-triangle-1-e"></span></a></dd>
-</dl>
-</div><!--/#dbsummary-->
-</div><!--/#summarylists -->
-<br>
-<div class="ui-helper-reset" aria-live="assertive">  
-<div aria-hidden="true" id="dbDetails" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler">
- <!-- multiple databases or subjects table -->
-</div>
-</div> <!-- aria end -->
-<div class="ui-helper-reset" aria-live="assertive">  
-<div aria-hidden="true" id="refInfo" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler"> 
-<a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=PubMed&amp;cmd=Retrieve&amp;list_uids=9254694&amp;dopt=Citation">Reference </a>
-<div>Stephen F. Altschul, Thomas L. Madden, Alejandro A. Schäffer, 
-Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997), 
-"Gapped BLAST and PSI-BLAST: a new generation of protein database search
- programs", Nucleic Acids Res. 25:3389-3402.</div>       
- </div>  <!-- refInfo -->
-</div> <!-- aria end -->
-
-<div id="seealso">
-<label>Other reports:</label>  
- <a aria-expanded="false" role="button" aria-disabled="false" href="#" title="Show statistics" class="resArrowLinkB jtg jig-ncbitoggler ui-ncbitoggler ui-widget" data-ncbitoggler-toggles="resStat" id="showStat"><span class="ui-ncbitoggler-master-text">Search Summary</span><span class="ui-icon ui-icon-triangle-1-e"></span></a>
- <span class="xgl">
- <a id="tax" class="hidden shown" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;RID=PHWP1JNZ014&amp;FORMAT_OBJECT=TaxBlast&amp;NCBI_GI=off&amp;DESCRIPTIONS=100&amp;ALIGNMENTS=100&amp;FORMAT_BLOCK_ON_RESPAGE=Top&amp;MASK_COLOR=1&amp;MASK_CHAR=2" target="lnkPHWP1JNZ014" title="See results arranged by taxonomy">[Taxonomy reports]</a>
- <a href="http://www.ncbi.nlm.nih.gov/blast/treeview/treeView.cgi?request=page&amp;blastRID=PHWP1JNZ014&amp;queryID=lcl%7C59987&amp;entrezLim=&amp;ex=&amp;exl=&amp;exh=&amp;ns=100" class="" id="TreeViewlcl|59987" onclick="ViewTree('TreeViewlcl|59987');return false;" target="lnkPHWP1JNZ014" title="See a distance tree of these pairwise comparisons">[Distance tree of results]</a>      
-   
-  
-  
- </span>
-</div> <!-- seealso -->
-   
-<div class="ui-helper-reset" aria-live="assertive">  
-<div aria-hidden="true" id="resStat" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler">    
- <table id="params" class="dbInfo"> 
- <caption>Search Parameters</caption> 
- <tbody><tr><th><div>Search parameter name</div></th><th><div>Search parameter value</div></th></tr> 
- <tr><td>Program</td><td>blastn</td></tr><tr><td>Word size</td><td>7</td></tr><tr><td>Expect value</td><td>1000</td></tr><tr><td>Hitlist size</td><td>100</td></tr><tr><td>Match/Mismatch scores</td><td>1,-3</td></tr><tr><td>Gapcosts</td><td>5,2</td></tr><tr><td>Filter string </td><td>F</td></tr><tr><td>Genetic Code</td><td>1</td></tr>  
- </tbody></table> 
-  <table id="dbStat" class="dbInfo">
- <caption>Database</caption>
- <tbody><tr><th><div>Database parameter name</div></th><th><div>Database parameter value</div></th></tr>
- <tr><td>Posted date</td><td>Apr 29, 2014  3:14 AM</td></tr>
- <tr><td>Number of letters</td><td>885,284</td></tr>
- <tr><td>Number of sequences</td><td>8,975</td></tr>
- <tr><td>Entrez query</td><td>none</td></tr> 
- </tbody></table>
-  
- <table id="Kappa" class="dbInfo show xgl"> 
-<caption>Karlin-Altschul statistics</caption> 
- <tbody><tr><th><div>Params</div></th><th><div>Ungapped</div></th><th><div>Gapped</div></th></tr>
- <tr><td>Lambda</td><td>1.37406</td><td>1.37406</td></tr>
- <tr><td>K</td><td>0.710603</td><td>0.710603</td></tr>
- <tr><td>H</td><td>1.30725</td><td>1.30725</td></tr> 
- 
- </tbody></table> 
- 
- 
- <table class="dbInfo show">
- <caption>Results Statistics</caption>
- <tbody><tr><th><div>Results Statistics parameter name</div></th><th><div>Results Statistics parameter value</div></th></tr>  
- <tr><td>Length adjustment</td><td> 11</td></tr><tr><td>Effective length of query</td><td> 5</td></tr><tr><td>Effective length of database</td><td> 786559</td></tr><tr><td>Effective search space</td><td> 3932795</td></tr><tr><td>Effective search space used</td><td> 3932795</td></tr>
- </tbody></table>
- <!-- Results statistics -->  
- </div>  <!-- resStat -->
- </div> <!-- aria end -->
-</div><!--/#summary-->
-</div><!--/#page-->
-<iframe id="RSIFrameDesc" class="ifrm shown" name="RSIFrame" noresize="noresize" border="0" cellspacing="0" scrolling="no" marginwidth="0" marginheight="0" src="Blast%20output%20page%20example_files/plinkcgi.html" title="Primer-BLAST ad" frameborder="0" align="middle"></iframe>
-
-<div id="grView" class="hidden shown">
-<h2 class="resArr">
-<a aria-expanded="true" role="button" aria-disabled="false" href="#" id="showGraphic" class="jig-ncbitoggler-open ui-ncbitoggler-open ui-widget" data-jigconfig="indicator: 'plus-minus-big'" data-ncbitoggler-toggles="graphicInfo" title="Show/hide Graphic Summary">
-<span class="ui-ncbitoggler-master-text">Graphic Summary</span>
-<span class="ui-icon ui-icon-plus-minus-big-open"></span>
-</a>
-</h2>
-<div class="ui-helper-reset" aria-live="assertive">
-<div aria-hidden="false" id="graphicInfo" class="resBox ui-ncbitoggler-slave-open ui-widget ui-ncbitoggler">
-
-
-<div id="graphic" class="hidden shown">
-<h3>Distribution of 45 Blast Hits on the Query Sequence
-<a aria-expanded="false" role="button" aria-disabled="false" class="helplink jig-ncbitoggler ui-ncbitoggler ui-widget" title="Graphic summary help" id="grHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
-<span class="ui-icon ui-icon-triangle-1-e"></span></a></h3>
-<div class="ui-helper-reset" aria-live="assertive">
-<p aria-hidden="true" id="ovrInfo" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler">
-An overview of the database sequences aligned to the query sequence is 
-shown. The score of each alignment is indicated by one of five 
-different colors, which divides the range of scores into five groups. 
-Multiple alignments on the same database sequence are connected 
-by a striped line. <span class="hl">Mousing over</span> a hit sequence causes the definition and score to be shown in the window at the top, 
-<span class="hl">clicking</span> on a hit sequence takes the user to the associated alignments.
-New:
-This graphic is an overview of database sequences aligned to the query sequence.
-Alignments are color-coded by score, within one of five score ranges.  
-Multiple alignments on the same database sequence are connected by a dashed line.
-<span class="hl">Mousing</span> over an alignment shows the alignment definition and score in the box at the top. 
-<span class="hl">Clicking</span> an alignment displays the alignment detail.
-</p>
-</div><!-- ARIA -->
-<center><input name="defline" size="85" value="Mouse-over to show defline and scores, click to show alignments" type="text"><table bordercolordark="#0000FF" bordercolorlight="#0000FF" border="1" cellpadding="10" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><table border="0" cellpadding="0" cellspacing="1"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/score.gif" height="40" width="500"></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="1"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/query_no_scale.gif" height="10" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="51"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/scale.gif" height="10" width="2"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="91"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/scale.gif" height="10" width="2"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="91"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/scale.gif" height="10" width="2"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="91"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/scale.gif" height="10" width="2"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="91"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/scale.gif" height="10" width="2"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="91"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/scale.gif" height="10" width="2"></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/1.gif" height="13" width="10"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="83"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/3.gif" height="13" width="10"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="83"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/6.gif" height="13" width="10"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="83"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/9.gif" height="13" width="10"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="73"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/1.gif" height="13" width="10"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/2.gif" height="13" width="10"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="73"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/1.gif" height="13" width="10"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/5.gif" height="13" width="10"></td>
-</tr></tbody></table>
-<br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#557804451" onclick='DisplayAlignFromGraphics("557804451",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J5A_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="500"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#557804395" onclick='DisplayAlignFromGraphics("557804395",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J58_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="500"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#557804339" onclick='DisplayAlignFromGraphics("557804339",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J56_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="500"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#557804283" onclick='DisplayAlignFromGraphics("557804283",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J54_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="500"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#557804227" onclick='DisplayAlignFromGraphics("557804227",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J52_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="500"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#557804195" onclick='DisplayAlignFromGraphics("557804195",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J51_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="500"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#557804163" onclick='DisplayAlignFromGraphics("557804163",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J50_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="500"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#557804083" onclick='DisplayAlignFromGraphics("557804083",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J4X_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="500"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#485601478" onclick='DisplayAlignFromGraphics("485601478",event)'><img alt="score 16" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3F_5 Chain 5, Structure Of The H. Sapiens 60s Rrna S=16 E=47'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="250"></a></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/black.gif" height="6" width="1"></td>
-<td align="LEFT" valign="CENTER"><a href="#485601478" onclick='DisplayAlignFromGraphics("485601478",event)'><img alt="score 18" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3F_5 Chain 5, Structure Of The H. Sapiens 60s Rrna S=18 E=12'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="124"></a></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/black.gif" height="6" width="1"></td>
-<td align="LEFT" valign="CENTER"><a href="#485601478" onclick='DisplayAlignFromGraphics("485601478",event)'><img alt="score 16" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3F_5 Chain 5, Structure Of The H. Sapiens 60s Rrna S=16 E=47'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="124"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><a href="#485601474" onclick='DisplayAlignFromGraphics("485601474",event)'><img alt="score 14" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3E_5 Chain 5, Structure Of The D. Melanogaster 60s Rrna S=14 E=1.9e+02'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="219"></a></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/black.gif" height="6" width="1"></td>
-<td align="LEFT" valign="CENTER"><a href="#485601474" onclick='DisplayAlignFromGraphics("485601474",event)'><img alt="score 18" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3E_5 Chain 5, Structure Of The D. Melanogaster 60s Rrna S=18 E=12'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="155"></a></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/black.gif" height="6" width="1"></td>
-<td align="LEFT" valign="CENTER"><a href="#485601474" onclick='DisplayAlignFromGraphics("485601474",event)'><img alt="score 16" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3E_5 Chain 5, Structure Of The D. Melanogaster 60s Rrna S=16 E=47'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="124"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="50"></td>
-<td align="LEFT" valign="CENTER"><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="94"></td>
-<td align="LEFT" valign="CENTER"><a href="#357380483" onclick='DisplayAlignFromGraphics("357380483",event)'><img alt="score 18" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J0O_8 Chain 8, Core Of Mammalian 80s Pre-Ribosome In Complex .. S=18 E=12'" src="Blast%20output%20page%20example_files/black.gif" height="4" border="0" width="281"></a></td>
-</tr></tbody></table>
-<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="Blast%20output%20page%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
-</td></tr></tbody></table>
-</center><hr>
-</div><!--/#graphic-->
-</div><!-- graphicInfo -->
-</div><!-- ARIA -->
-</div>
-<!--HITMATRIX_VIEW - only for bl2seq -->
-
-<div id="dscrView" class="hidden shown">
-<h2 class="resArr">
-<a aria-expanded="true" role="button" aria-disabled="false" href="#" id="showDescr" class="jig-ncbitoggler-open ui-ncbitoggler-open ui-widget" data-jigconfig="indicator: 'plus-minus-big'" data-ncbitoggler-toggles="descrInfo" title="Show/hide Descriptions">
-<span class="ui-ncbitoggler-master-text">Descriptions</span>
-<span class="ui-icon ui-icon-plus-minus-big-open"></span>
-</a>
-</h2>
-<div class="ui-helper-reset" aria-live="assertive">
-<div aria-hidden="false" id="descrInfo" class="resBox ui-ncbitoggler-slave-open ui-widget ui-ncbitoggler">
- <!-- legend to links to other resources -->
-<a name="sort_mark"></a>
-
-
-<div id="debug">, Reading indexes 1-5, displaying indexes 1-5</div>
-<input id="Rid" value="PHWP1JNZ014" type="hidden">
-<input id="useAlignDB" name="useAlignDB" value="" type="hidden">
-<input id="dbType" value="GenBank" type="hidden"><!-- Indicates genbank, etc -->
-<input id="serviceType" value="plain" type="hidden">
-<input id="clientType" value="web" type="hidden">
-<input id="currQuery" value="" type="hidden">
-<input id="minDispAlnLen" value="2000" type="hidden">
-<input id="maxDispAlnLen" value="20000" type="hidden">
-<div class="hidden" id="dynHspTmpl"><div class="alnParLinks moreHsps" id="@moreHspsID@"><a class="gbd toolsCtr navNext" title="Load matches @segs@ out of @totalHSP@ for @accs@" onmouseover="scan(this)" ref="range=@segs@&amp;currseq=@alnSeqGi@" onclick="ReadNextHSPSet(@argstring@);"><span>Load next set</span></a><a class="gbd toolsCtr navPrev" title="Go to previous match #@aln_prev_num@ for @accs@" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a></div></div>
-<div id="descriptions" class="blRes">
-<!--<pre> -->
-<div class="cap">Sequences producing significant alignments:</div>
-<a id="shcl" href="#" onclick="showAllCol(event,this)" class="shcl hidden">
-Show all columns <span class="accsb"> of the table presenting sequences producing significant alignments </span>
-</a>
-<span id="cntDesc">
-<span>Select:<a href="#" id="cntSelA" sel="all">All</a><a href="#" id="cntSelN" sel="n">None</a></span>
-<span>Selected:<span id="slcNum">0</span></span>
-</span>
-
-<div id="descTblCtrl" class="cnf">
-<a href="#alignInfo" id="alnNav" class="toolsCtr alnNav" title="Go to alignments"><span>Alignments</span></a>
-<a aria-haspopup="true" aria-expanded="false" role="button" href="#dsDownload" minslct="1" class="jig-ncbipopper toolsCtr dnld dialog " data-jigconfig="hasArrow:'true',arrowDirection:'top'" id="dscDwnld" disabled="disabled" title="Download information for selected sequences"><span>Download</span></a>
-
-<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dsDownload" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
-<div class=""><input name="dwn" checked="checked" id="dwFST" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST">FASTA (complete sequence)</label></div>
-<div class=""><input name="dwn" id="dwFSTAl" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl">FASTA (aligned sequences)</label></div>
-<div class=""><input name="dwn" id="dwGenBank" getgi="on" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class=" shownInl" for="dwGenBank">GenBank (complete sequence)</label></div>
-<div><input name="dwn" id="dwHitText" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=Text&amp;FORMAT_OBJECT=Alignment&amp;ALIGNMENT_VIEW=Tabular&amp;CMD=Get" type="radio"><label class="shownInl" for="dwHitText">Hit Table (text)</label></div>
-<div><input name="dwn" id="dwHitCsv" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=CSV&amp;FORMAT_OBJECT=Alignment&amp;ALIGNMENT_VIEW=Tabular&amp;CMD=Get" type="radio"><label class="shownInl" for="dwHitCsv">Hit Table (CSV)</label></div>
-<div><input name="dwn" id="dwText" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=Text&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get" type="radio"><label class="shownInl" for="dwText">Text</label></div>
-<div><input name="dwn" id="dwXML" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=XML&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get" type="radio"><label class="shownInl" for="dwXML">XML</label></div>
-<div><input name="dwn" id="dwASN" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=ASN.1&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get" type="radio"><label class="shownInl" for="dwASN">ASN.1</label></div>
-<div>
-<button class="cfg" id="dw_cont">Continue</button>
-<button class="cfg cnc">Cancel</button>
-</div>  
-</div> <!-- dsDownload -->
-
-
-
-
-
-<a href="#" class="toolsCtr" minslct="1" view="dflt" frm="submitterTop" seqlist="selSeqs" title="See genbank report for selected sequences" disabled="disabled">GenBank</a> <!-- genbank or Traces -->
-<a href="#" class="toolsCtr " minslct="1" view="graph" title="See graphic representation for selected sequences" disabled="disabled">Graphics</a>
-<a href="#" class="toolsCtr hidden shown" view="tree" minslct="1" frm="sbmtTreeView" seqlist="selSeqsTr" disabled="disabled" title="See a distance tree of pairwise comparisons for the selected sequences">Distance tree of results</a>
-<a href="#" class="toolsCtr hidden " view="dflt" minslct="2" frm="sbmtMultiAln" seqlist="selSeqsMl" disabled="disabled" title="See multple alignment of query and target sequences for the selected sequences with expect value better than 0.001">Multiple alignment</a>
-
-<a aria-haspopup="true" aria-expanded="false" role="button" class="jig-ncbipopper button_config" title="Show/hide columns" id="button_config" href="#dsConfig"><span class="accsb">Show/hide columns of the table presenting sequences producing significant alignments </span></a>
-
-<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dsConfig" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
-<div class="tl">Available columns</div>
-<input checked="checked" id="chkDs" value="2" type="checkbox"><label class="shownInl" for="chkDs">Description</label><br>
-<input checked="checked" id="chkMS" value="3" type="checkbox"><label class="shownInl" for="chkMs">Max Score</label><br>
-<input checked="checked" id="chkTS" value="4" type="checkbox"><label class="shownInl" for="chkTs">Total Score</label><br>
-<input checked="checked" id="chkCov" value="5" type="checkbox"><label class="shownInl" for="chkCov">Coverage</label><br>
-<input checked="checked" id="chkEval" value="6" type="checkbox"><label class="shownInl" for="chkEval">E-value</label><br>
-<input checked="checked" id="chkIdnt" value="7" type="checkbox"><label class="shownInl" for="chkIdnt"><span class="">Ident</span><span class="hidden">N</span></label><br>
-<input checked="checked" id="chkAcc" value="8" type="checkbox"><label class="shownInl" for="chkAcc">Accession</label><br>
-<button class="cfg rdf" id="dscRsDf">Restore Defaults</button>
-<button class="cfg" id="dscOk">Ok</button>
-<button class="cfg cnc" id="dscCnc">Cancel</button>
-</div> <!-- dsConfig -->       
-
-<input id="cfcDsInf" defval="2,3,4,5,6,7,8" value="2,3,4,5,6,7,8" type="hidden">
-</div>
-<div class="ui-ncbigrid-outer-div caption-exists">
-<div class="ui-ncbigrid-inner-div">
-<table id="dscTable" class="jig-ncbigrid  ui-ncbigrid" data-jigconfig="" cellpadding="0" cellspacing="0">
-<caption class="hdnHeader">Sequences producing significant alignments:</caption>  
-<thead>
-<tr class="first">  
-  <th class="c0" id="c0"><span>Select for downloading or viewing reports</span></th>  
-  <th class="dflnDth c2" id="c2">Description</th>
-  <th class=" c3" id="c3">
-
-  <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;OLD_VIEW=false&amp;DISPLAY_SORT=1&amp;HSP_SORT=1" class="dcs" title="Sort by max score">Max score</a>
-  </th>
-  <th class=" c4" id="c4">
-  <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;OLD_VIEW=false&amp;DISPLAY_SORT=2&amp;HSP_SORT=1" class="dcs" title="Sort by total score">Total score</a>
-  </th>
-  <th class=" c5" id="c5">
-  <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;OLD_VIEW=false&amp;DISPLAY_SORT=4&amp;HSP_SORT=0" class="dcs" title="Sort by query coverage">Query cover</a>
-  </th>
-  <th class="sel c6" id="c6">
-  <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;OLD_VIEW=false&amp;DISPLAY_SORT=0&amp;HSP_SORT=0" class="dcs" title="Sort by E value">E value</a>
-  </th>
-  <th class="c7" id="c7">
-<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;DISPLAY_SORT=3&amp;HSP_SORT=3" class="dcs" title="Sort by ident">Ident</a>
-</th>
-                
-  <th class="c1" id="c8">Accession</th>
-</tr>
-</thead>
-<tbody>
-<tr id="dtr_557804451" ind="1" class="odd dflLnk">
-<td class="l c0"><span class="ind">1</span><input id="chk_1" class="cb" name="getSeqGi" value="557804451" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_1" class="accsb">Select seq pdb|3J5A|A</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Post- Translocation State (post1, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="1" accs="pdb|3J5A|A" seqfsta="gi|557804451" gi="557804451" seqid="557804451" id="deflnDesc_1" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804451">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Post- Translocation State (post1, 50s Subunit)</a>
-</div>
-</td>
-<td class="c3">32.2</td>
-<td class="c4">77.3</td>
-<td class="c5">100%</td>
-<td class="c6">8e-04</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nucltop&amp;blast_rank=1&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J5A_A">3J5A_A</a>
-</td>
-</tr><tr id="dtr_557804395" ind="2" class="even dflLnk">
-<td class="l c0"><span class="ind">2</span><input id="chk_2" class="cb" name="getSeqGi" value="557804395" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_2" class="accsb">Select seq pdb|3J58|A</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5b, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="2" accs="pdb|3J58|A" seqfsta="gi|557804395" gi="557804395" seqid="557804395" id="deflnDesc_2" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804395">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5b, 50s Subunit)</a>
-</div>
-</td>
-<td class="c3">32.2</td>
-<td class="c4">77.3</td>
-<td class="c5">100%</td>
-<td class="c6">8e-04</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nucltop&amp;blast_rank=2&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J58_A">3J58_A</a>
-</td>
-</tr><tr id="dtr_557804339" ind="3" class="odd dflLnk">
-<td class="l c0"><span class="ind">3</span><input id="chk_3" class="cb" name="getSeqGi" value="557804339" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_3" class="accsb">Select seq pdb|3J56|A</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5a, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="3" accs="pdb|3J56|A" seqfsta="gi|557804339" gi="557804339" seqid="557804339" id="deflnDesc_3" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804339">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5a, 50s Subunit)</a>
-</div>
-</td>
-<td class="c3">32.2</td>
-<td class="c4">77.3</td>
-<td class="c5">100%</td>
-<td class="c6">8e-04</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nucltop&amp;blast_rank=3&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J56_A">3J56_A</a>
-</td>
-</tr><tr id="dtr_557804283" ind="4" class="even dflLnk">
-<td class="l c0"><span class="ind">4</span><input id="chk_4" class="cb" name="getSeqGi" value="557804283" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_4" class="accsb">Select seq pdb|3J54|A</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre4, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="4" accs="pdb|3J54|A" seqfsta="gi|557804283" gi="557804283" seqid="557804283" id="deflnDesc_4" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804283">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre4, 50s Subunit)</a>
-</div>
-</td>
-<td class="c3">32.2</td>
-<td class="c4">77.3</td>
-<td class="c5">100%</td>
-<td class="c6">8e-04</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nucltop&amp;blast_rank=4&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J54_A">3J54_A</a>
-</td>
-</tr><tr id="dtr_557804227" ind="5" class="odd dflLnk">
-<td class="l c0"><span class="ind">5</span><input id="chk_5" class="cb" name="getSeqGi" value="557804227" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_5" class="accsb">Select seq pdb|3J52|A</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1a, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="5" accs="pdb|3J52|A" seqfsta="gi|557804227" gi="557804227" seqid="557804227" id="deflnDesc_5" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804227">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1a, 50s Subunit)</a>
-</div>
-</td>
-<td class="c3">32.2</td>
-<td class="c4">77.3</td>
-<td class="c5">100%</td>
-<td class="c6">8e-04</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nucltop&amp;blast_rank=5&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J52_A">3J52_A</a>
-</td>
-</tr><tr id="dtr_557804195" ind="6" class="even dflLnk">
-<td class="l c0"><span class="ind">6</span><input id="chk_6" class="cb" name="getSeqGi" value="557804195" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_6" class="accsb">Select seq pdb|3J51|A</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Intermediate Pre- Translocation State (pre3, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="6" accs="pdb|3J51|A" seqfsta="gi|557804195" gi="557804195" seqid="557804195" id="deflnDesc_6" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804195">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Intermediate Pre- Translocation State (pre3, 50s Subunit)</a>
-</div>
-</td>
-<td class="c3">32.2</td>
-<td class="c4">77.3</td>
-<td class="c5">100%</td>
-<td class="c6">8e-04</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804195?report=genbank&amp;log$=nucltop&amp;blast_rank=6&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J51_A">3J51_A</a>
-</td>
-</tr><tr id="dtr_557804163" ind="7" class="odd dflLnk">
-<td class="l c0"><span class="ind">7</span><input id="chk_7" class="cb" name="getSeqGi" value="557804163" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_7" class="accsb">Select seq pdb|3J50|A</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Intermediate Pre- Translocation State (pre2, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="7" accs="pdb|3J50|A" seqfsta="gi|557804163" gi="557804163" seqid="557804163" id="deflnDesc_7" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804163">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Intermediate Pre- Translocation State (pre2, 50s Subunit)</a>
-</div>
-</td>
-<td class="c3">32.2</td>
-<td class="c4">77.3</td>
-<td class="c5">100%</td>
-<td class="c6">8e-04</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804163?report=genbank&amp;log$=nucltop&amp;blast_rank=7&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J50_A">3J50_A</a>
-</td>
-</tr><tr id="dtr_557804083" ind="8" class="even dflLnk">
-<td class="l c0"><span class="ind">8</span><input id="chk_8" class="cb" name="getSeqGi" value="557804083" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_8" class="accsb">Select seq pdb|3J4X|A</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1b, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="8" accs="pdb|3J4X|A" seqfsta="gi|557804083" gi="557804083" seqid="557804083" id="deflnDesc_8" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804083">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1b, 50s Subunit)</a>
-</div>
-</td>
-<td class="c3">32.2</td>
-<td class="c4">77.3</td>
-<td class="c5">100%</td>
-<td class="c6">8e-04</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804083?report=genbank&amp;log$=nucltop&amp;blast_rank=8&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J4X_A">3J4X_A</a>
-</td>
-</tr><tr id="dtr_485601478" ind="9" class="odd dflLnk">
-<td class="l c0"><span class="ind">9</span><input id="chk_9" class="cb" name="getSeqGi" value="485601478" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_9" class="accsb">Select seq pdb|3J3F|5</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a title="Go to alignment for Chain 5, Structure Of The H. Sapiens 60s Rrna" class="deflnDesc" hsp="8" len="63" ind="9" accs="pdb|3J3F|5" seqfsta="gi|485601478" gi="485601478" seqid="485601478" id="deflnDesc_9" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_485601478">Chain 5, Structure Of The H. Sapiens 60s Rrna</a>
-</div>
-</td>
-<td class="c3">18.3</td>
-<td class="c4">  128</td>
-<td class="c5">100%</td>
-<td class="c6">   12</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/485601478?report=genbank&amp;log$=nucltop&amp;blast_rank=9&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J3F_5">3J3F_5</a>
-</td>
-</tr><tr id="dtr_485601474" ind="10" class="even dflLnk">
-<td class="l c0"><span class="ind">10</span><input id="chk_10" class="cb" name="getSeqGi" value="485601474" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_10" class="accsb">Select seq pdb|3J3E|5</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a title="Go to alignment for Chain 5, Structure Of The D. Melanogaster 60s Rrna" class="deflnDesc" hsp="4" len="31" ind="10" accs="pdb|3J3E|5" seqfsta="gi|485601474" gi="485601474" seqid="485601474" id="deflnDesc_10" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_485601474">Chain 5, Structure Of The D. Melanogaster 60s Rrna</a>
-</div>
-</td>
-<td class="c3">18.3</td>
-<td class="c4">63.4</td>
-<td class="c5">100%</td>
-<td class="c6">   12</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/485601474?report=genbank&amp;log$=nucltop&amp;blast_rank=10&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J3E_5">3J3E_5</a>
-</td>
-</tr><tr id="dtr_357380483" ind="11" class="odd dflLnk">
-<td class="l c0"><span class="ind">11</span><input id="chk_11" class="cb" name="getSeqGi" value="357380483" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_11" class="accsb">Select seq pdb|3J0O|8</label></td>
-<td class="lim l c2">
-<div class="lim n">
-<a title="Go to alignment for Chain 8, Core Of Mammalian 80s Pre-Ribosome In Complex With Trnas Fitted To A 9a Cryo-Em Map: Classic Pre State 2" class="deflnDesc" hsp="1" len="9" ind="11" accs="pdb|3J0O|8" seqfsta="gi|357380483" gi="357380483" seqid="357380483" id="deflnDesc_11" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_357380483">Chain 8, Core Of Mammalian 80s Pre-Ribosome In Complex With Trnas Fitted To A 9a Cryo-Em Map: Classic Pre State 2</a>
-</div>
-</td>
-<td class="c3">18.3</td>
-<td class="c4">18.3</td>
-<td class="c5">56%</td>
-<td class="c6">   12</td><td class="c7">100%</td>
-<td class="c1 l lim">
-<a href="http://www.ncbi.nlm.nih.gov/nucleotide/357380483?report=genbank&amp;log$=nucltop&amp;blast_rank=11&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J0O_8">3J0O_8</a>
-</td>
-</tr>
-</tbody>
-</table>
-</div></div>
-<!--</pre>  -->
-</div><!--/#descriptions-->
-</div><!-- descrInfo -->
-</div><!--ARIA-->
-</div>
-</form><!-- this is the end tag for the <form in blastcgi templates -->
-<form id="dwdlSubmit" action="" method="post" class="getseq">
-<input name="" value="" id="selDnSeqs" type="hidden">
-</form>
-<form class="getseq" method="post" seqsform="getSeqAlignment1" action="http://www.ncbi.nlm.nih.gov/sites/entrez" target="lnkPHWP1JNZ014" id="submitterTop">
-<input name="db" value="Nucleotide" type="hidden">
-<input id="selSeqs" name="term" value="" type="hidden">
-<input name="doptcmdl" value="docsum" type="hidden">
-<input name="cmd" value="search" type="hidden">
-</form>
-<form class="getseq" method="get" action="http://www.ncbi.nlm.nih.gov/projects/sviewer/" target="lnkPHWP1JNZ014" id="sbmtGraphics">
-<input id="ridParam" value="PHWP1JNZ014" type="hidden">
-<input id="seqViewParams" name="RID" value="" type="hidden">
-<input name="appname" value="ncbiblast" type="hidden">
-<input name="link_loc" value="fromDescr" type="hidden">
-<input name="tracks" value="[key:sequence_track,ShowLabel:true]" type="hidden">  
-<input name="id" value="" type="hidden">    
-</form>
-<form class="getseq" method="post" action="http://www.ncbi.nlm.nih.gov/blast/treeview/treeView.cgi?request=page&amp;blastRID=PHWP1JNZ014&amp;queryID=lcl|59987&amp;entrezLim=&amp;ex=&amp;exl=&amp;exh=&amp;ns=100" id="sbmtTreeView" target="lnkPHWP1JNZ014">
-<input id="selSeqsTr" name="sequenceSet" value="" type="hidden">
-<input id="scrWidth" name="screenWidth" value="" type="hidden">
-<input id="scrHeight" name="screenHeight" value="" type="hidden">
-</form>
-<form class="getseq" method="post" action="?CMD=submit&amp;blastRID=PHWP1JNZ014&amp;queryID=lcl|59987&amp;numSeqs=100" id="sbmtMultiAln" target="lnkPHWP1JNZ014">
-<input id="selSeqsMl" name="sequenceSet" value="" type="hidden">
-</form>
-<form class="getseq" enctype="text/plain" method="post" action="http://blast.ncbi.nlm.nih.gov/blast/SEQDUMP/seqdump.cgi" id="sbmtFASTA">
-<input name="RID" value="PHWP1JNZ014" type="hidden">
-<input name="DATABASE" value="" type="hidden">
-<input name="ALIGNDB_BATCH_ID" value="" type="hidden">
-<input name="ALIGNDB_MASTER_ALIAS" value="" type="hidden">
-<input name="ALIGNDB_CGI_HOST" value="" type="hidden">
-<input name="ALIGNDB_CGI_PATH" value="" type="hidden">
-<input name="SERVICE_TYPE" value="plain" type="hidden">
-<input name="DBTYPE" value="nucl" type="hidden">
-<input name="DOWNLOAD_TYPE" value="" type="hidden">
-<input name="ALIGN_SEQ_LIST" value="" type="hidden">
-</form><!-- used in redesign -->
-<iframe id="RSIFrameAln" class="ifrm shown" name="RSIFrame" noresize="noresize" border="0" cellspacing="0" scrolling="no" marginwidth="0" marginheight="0" src="Blast%20output%20page%20example_files/plinkcgi_002.html" title="Primer-BLAST ad" frameborder="0" align="middle"></iframe>
-<div id="alignView" class=" ">
-<h2 class="resArr">
-<a aria-expanded="true" role="button" aria-disabled="false" href="#" id="showAlign" class="jig-ncbitoggler-open ui-ncbitoggler-open ui-widget" data-jigconfig="indicator: 'plus-minus-big'" data-ncbitoggler-toggles="alignInfo" title="Show/hide Alignments">
-<span class="ui-ncbitoggler-master-text">Alignments</span>
-<span class="ui-icon ui-icon-plus-minus-big-open"></span>
-</a>
-</h2>
-
-<div class="ui-helper-reset" aria-live="assertive">
-<div aria-hidden="false" id="alignInfo" class="resBox ui-ncbitoggler-slave-open ui-widget ui-ncbitoggler">
-<div id="alignments" class="blRes">
-<span id="alnStart"></span><div seqlist="gi|557804451,gi|557804395,gi|557804339,gi|557804283,gi|557804227" indexes="1-5" id="alnShow_1" class="alnMsg"><div class="alnMsgS hidden" id="alnMsg_1">Loading alignment...<span class="db"> for sequences gi|557804451,gi|557804395,gi|557804339,gi|557804283,gi|557804227 Reading indexes 1-5</span></div><div id="alnShowReal_1" class="alnMsgR"><form name="getSeqAlignment1">
-<div class="alnHdr cnf" id="alnHdr_557804451" seqid="557804451" accs="pdb|3J5A|A">
-<a name="557804451"></a>
-<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804451" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804451" title="Download information for pdb|3J5A|A"><span>Download</span></a>
-<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804451" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
-<div><input seqfsta="gi|557804451" name="dwn_557804451" checked="checked" id="dwFST_557804451" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804451">FASTA (complete sequence)</label></div>
-<div><input seqfsta="gi|557804451" name="dwn_557804451" id="dwFSTAl_557804451" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804451">FASTA (aligned sequences)</label></div>
-<div class=""><input name="dwn_557804451" id="dwGenBank_557804451" getgi="557804451" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804451">GenBank (complete sequence)</label></div>
-<div>
-<button class="cfg" id="dw_cont_557804451">Continue</button>
-<button class="cfg cnc">Cancel</button>
-</div>
-</div> <!-- dsDownload -->
-<span class="csLinks" id="csLinks_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics">Graphics</a></span>
-
-<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
-<select id="sa_557804451" onchange="SortHSPAlnSel(event,this)">
-<option selected="selected" value="0">E value</option>
-<option value="1"> Score</option>
-<option value="3">Percent identity</option>
-<option value="2">Query start position</option>
-<option value="4">Subject start position</option>
-</select>
-</div>
-<span class="alnSeqLinks">
-<a title="Go to next alignment for pdb|3J58|A" class="gbd toolsCtr navNext" ref="ordinalpos=1&amp;currseq=557804451" id="alnNxt_557804451" onclick="goToNextAlign('dtr_557804451',true);"><span>Next</span></a>
-<a disabled="disabled" class="gbd toolsCtr navPrev" ref="ordinalpos=1&amp;currseq=557804451" id="alnPrv_557804451" onclick="goToNextAlign('dtr_557804451',false);"><span>Previous</span></a>
-<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J5A|A" id="alnDsc_557804451" onclick="goToDefLine('dtr_557804451');" href="#dtr_557804451"><span>Descriptions</span></a>
-</span>
-</div>
-<div class="oneSeqAln" id="aln_557804451">
-<div id="dln_557804451">
-<div class="dlfRow">
-Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Post- Translocation State (post1, 50s Subunit)
-<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J5A|A">pdb|3J5A|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
-</div>
-</div>
-<div class="relInf" id="relInf_557804451"><label>Related Information</label></div>
-<!--
-<pre>
-<@aln_gene_info@>
-</pre>
--->
-<div class="alnAll" id="alnAll_557804451"><div id="hd_557804451_1">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
-<span id="hsp557804451_1" class="alnParLinks">
-<a init="on" class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804451" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804451" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack hidden" href="#hsp557804451_1" title="Go to first match for pdb|3J5A|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #1</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>32.2 bits(16)</td>
-<td>8e-04<span class="sumN ">()</span></td>
-<td>16/16(100%)</td>
-<td>0/16(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804451_1">
-<pre>Query  1    CGTCCGTCGTGAAGAG  16
-            ||||||||||||||||
-Sbjct  961  CGTCCGTCGTGAAGAG  976
-
-
-</pre>
-</div>
-<div id="hd_557804451_2">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
-<span id="hsp557804451_2" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804451" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804451" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804451_1" title="Go to first match for pdb|3J5A|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #2</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>16.4 bits(8)</td>
-<td>   47<span class="sumN ">()</span></td>
-<td>8/8(100%)</td>
-<td>0/8(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804451_2">
-<pre>Query  5     CGTCGTGA  12
-             ||||||||
-Sbjct  2591  CGTCGTGA  2598
-
-
-</pre>
-</div>
-<div id="hd_557804451_3">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
-<span id="hsp557804451_3" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804451" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804451" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804451_1" title="Go to first match for pdb|3J5A|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #3</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804451_3">
-<pre>Query  7    TCGTGAA  13
-            |||||||
-Sbjct  839  TCGTGAA  845
-
-
-</pre>
-</div>
-<div id="hd_557804451_4">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
-<span id="hsp557804451_4" class="alnParLinks">
-<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804451" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804451" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804451_1" title="Go to first match for pdb|3J5A|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #4</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804451_4">
-<pre>Query  9     GTGAAGA  15
-             |||||||
-Sbjct  2027  GTGAAGA  2033
-
-
-</pre>
-</div>
-</div> <!-- alnAll_557804451 -->
-</div> <!-- aln_557804451 -->
-<div class="alnHdr cnf" id="alnHdr_557804395" seqid="557804395" accs="pdb|3J58|A">
-<a name="557804395"></a>
-<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804395" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804395" title="Download information for pdb|3J58|A"><span>Download</span></a>
-<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804395" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
-<div><input seqfsta="gi|557804395" name="dwn_557804395" checked="checked" id="dwFST_557804395" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804395">FASTA (complete sequence)</label></div>
-<div><input seqfsta="gi|557804395" name="dwn_557804395" id="dwFSTAl_557804395" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804395">FASTA (aligned sequences)</label></div>
-<div class=""><input name="dwn_557804395" id="dwGenBank_557804395" getgi="557804395" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804395">GenBank (complete sequence)</label></div>
-<div>
-<button class="cfg" id="dw_cont_557804395">Continue</button>
-<button class="cfg cnc">Cancel</button>
-</div>
-</div> <!-- dsDownload -->
-<span class="csLinks" id="csLinks_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics">Graphics</a></span>
-
-<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
-<select id="sa_557804395" onchange="SortHSPAlnSel(event,this)">
-<option selected="selected" value="0">E value</option>
-<option value="1"> Score</option>
-<option value="3">Percent identity</option>
-<option value="2">Query start position</option>
-<option value="4">Subject start position</option>
-</select>
-</div>
-<span class="alnSeqLinks">
-<a title="Go to next alignment for pdb|3J56|A" class="gbd toolsCtr navNext" ref="ordinalpos=2&amp;currseq=557804395" id="alnNxt_557804395" onclick="goToNextAlign('dtr_557804395',true);"><span>Next</span></a>
-<a title="Go to previous alignment for pdb|3J5A|A" class="gbd toolsCtr navPrev" ref="ordinalpos=2&amp;currseq=557804395" id="alnPrv_557804395" onclick="goToNextAlign('dtr_557804395',false);"><span>Previous</span></a>
-<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J58|A" id="alnDsc_557804395" onclick="goToDefLine('dtr_557804395');" href="#dtr_557804395"><span>Descriptions</span></a>
-</span>
-</div>
-<div class="oneSeqAln" id="aln_557804395">
-<div id="dln_557804395">
-<div class="dlfRow">
-Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5b, 50s Subunit)
-<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J58|A">pdb|3J58|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
-</div>
-</div>
-<div class="relInf" id="relInf_557804395"><label>Related Information</label></div>
-<!--
-<pre>
-<@aln_gene_info@>
-</pre>
--->
-<div class="alnAll" id="alnAll_557804395"><div id="hd_557804395_1">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
-<span id="hsp557804395_1" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804395" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804395" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack hidden" href="#hsp557804395_1" title="Go to first match for pdb|3J58|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #1</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>32.2 bits(16)</td>
-<td>8e-04<span class="sumN ">()</span></td>
-<td>16/16(100%)</td>
-<td>0/16(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804395_1">
-<pre>Query  1    CGTCCGTCGTGAAGAG  16
-            ||||||||||||||||
-Sbjct  961  CGTCCGTCGTGAAGAG  976
-
-
-</pre>
-</div>
-<div id="hd_557804395_2">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
-<span id="hsp557804395_2" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804395" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804395" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804395_1" title="Go to first match for pdb|3J58|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #2</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>16.4 bits(8)</td>
-<td>   47<span class="sumN ">()</span></td>
-<td>8/8(100%)</td>
-<td>0/8(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804395_2">
-<pre>Query  5     CGTCGTGA  12
-             ||||||||
-Sbjct  2591  CGTCGTGA  2598
-
-
-</pre>
-</div>
-<div id="hd_557804395_3">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
-<span id="hsp557804395_3" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804395" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804395" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804395_1" title="Go to first match for pdb|3J58|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #3</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804395_3">
-<pre>Query  7    TCGTGAA  13
-            |||||||
-Sbjct  839  TCGTGAA  845
-
-
-</pre>
-</div>
-<div id="hd_557804395_4">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
-<span id="hsp557804395_4" class="alnParLinks">
-<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804395" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804395" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804395_1" title="Go to first match for pdb|3J58|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #4</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804395_4">
-<pre>Query  9     GTGAAGA  15
-             |||||||
-Sbjct  2027  GTGAAGA  2033
-
-
-</pre>
-</div>
-</div> <!-- alnAll_557804395 -->
-</div> <!-- aln_557804395 -->
-<div class="alnHdr cnf" id="alnHdr_557804339" seqid="557804339" accs="pdb|3J56|A">
-<a name="557804339"></a>
-<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804339" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804339" title="Download information for pdb|3J56|A"><span>Download</span></a>
-<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804339" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
-<div><input seqfsta="gi|557804339" name="dwn_557804339" checked="checked" id="dwFST_557804339" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804339">FASTA (complete sequence)</label></div>
-<div><input seqfsta="gi|557804339" name="dwn_557804339" id="dwFSTAl_557804339" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804339">FASTA (aligned sequences)</label></div>
-<div class=""><input name="dwn_557804339" id="dwGenBank_557804339" getgi="557804339" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804339">GenBank (complete sequence)</label></div>
-<div>
-<button class="cfg" id="dw_cont_557804339">Continue</button>
-<button class="cfg cnc">Cancel</button>
-</div>
-</div> <!-- dsDownload -->
-<span class="csLinks" id="csLinks_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics">Graphics</a></span>
-
-<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
-<select id="sa_557804339" onchange="SortHSPAlnSel(event,this)">
-<option selected="selected" value="0">E value</option>
-<option value="1"> Score</option>
-<option value="3">Percent identity</option>
-<option value="2">Query start position</option>
-<option value="4">Subject start position</option>
-</select>
-</div>
-<span class="alnSeqLinks">
-<a title="Go to next alignment for pdb|3J54|A" class="gbd toolsCtr navNext" ref="ordinalpos=3&amp;currseq=557804339" id="alnNxt_557804339" onclick="goToNextAlign('dtr_557804339',true);"><span>Next</span></a>
-<a title="Go to previous alignment for pdb|3J58|A" class="gbd toolsCtr navPrev" ref="ordinalpos=3&amp;currseq=557804339" id="alnPrv_557804339" onclick="goToNextAlign('dtr_557804339',false);"><span>Previous</span></a>
-<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J56|A" id="alnDsc_557804339" onclick="goToDefLine('dtr_557804339');" href="#dtr_557804339"><span>Descriptions</span></a>
-</span>
-</div>
-<div class="oneSeqAln" id="aln_557804339">
-<div id="dln_557804339">
-<div class="dlfRow">
-Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5a, 50s Subunit)
-<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J56|A">pdb|3J56|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
-</div>
-</div>
-<div class="relInf" id="relInf_557804339"><label>Related Information</label></div>
-<!--
-<pre>
-<@aln_gene_info@>
-</pre>
--->
-<div class="alnAll" id="alnAll_557804339"><div id="hd_557804339_1">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
-<span id="hsp557804339_1" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804339" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804339" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack hidden" href="#hsp557804339_1" title="Go to first match for pdb|3J56|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #1</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>32.2 bits(16)</td>
-<td>8e-04<span class="sumN ">()</span></td>
-<td>16/16(100%)</td>
-<td>0/16(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804339_1">
-<pre>Query  1    CGTCCGTCGTGAAGAG  16
-            ||||||||||||||||
-Sbjct  961  CGTCCGTCGTGAAGAG  976
-
-
-</pre>
-</div>
-<div id="hd_557804339_2">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
-<span id="hsp557804339_2" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804339" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804339" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804339_1" title="Go to first match for pdb|3J56|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #2</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>16.4 bits(8)</td>
-<td>   47<span class="sumN ">()</span></td>
-<td>8/8(100%)</td>
-<td>0/8(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804339_2">
-<pre>Query  5     CGTCGTGA  12
-             ||||||||
-Sbjct  2591  CGTCGTGA  2598
-
-
-</pre>
-</div>
-<div id="hd_557804339_3">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
-<span id="hsp557804339_3" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804339" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804339" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804339_1" title="Go to first match for pdb|3J56|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #3</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804339_3">
-<pre>Query  7    TCGTGAA  13
-            |||||||
-Sbjct  839  TCGTGAA  845
-
-
-</pre>
-</div>
-<div id="hd_557804339_4">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
-<span id="hsp557804339_4" class="alnParLinks">
-<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804339" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804339" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804339_1" title="Go to first match for pdb|3J56|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #4</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804339_4">
-<pre>Query  9     GTGAAGA  15
-             |||||||
-Sbjct  2027  GTGAAGA  2033
-
-
-</pre>
-</div>
-</div> <!-- alnAll_557804339 -->
-</div> <!-- aln_557804339 -->
-<div class="alnHdr cnf" id="alnHdr_557804283" seqid="557804283" accs="pdb|3J54|A">
-<a name="557804283"></a>
-<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804283" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804283" title="Download information for pdb|3J54|A"><span>Download</span></a>
-<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804283" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
-<div><input seqfsta="gi|557804283" name="dwn_557804283" checked="checked" id="dwFST_557804283" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804283">FASTA (complete sequence)</label></div>
-<div><input seqfsta="gi|557804283" name="dwn_557804283" id="dwFSTAl_557804283" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804283">FASTA (aligned sequences)</label></div>
-<div class=""><input name="dwn_557804283" id="dwGenBank_557804283" getgi="557804283" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804283">GenBank (complete sequence)</label></div>
-<div>
-<button class="cfg" id="dw_cont_557804283">Continue</button>
-<button class="cfg cnc">Cancel</button>
-</div>
-</div> <!-- dsDownload -->
-<span class="csLinks" id="csLinks_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics">Graphics</a></span>
-
-<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
-<select id="sa_557804283" onchange="SortHSPAlnSel(event,this)">
-<option selected="selected" value="0">E value</option>
-<option value="1"> Score</option>
-<option value="3">Percent identity</option>
-<option value="2">Query start position</option>
-<option value="4">Subject start position</option>
-</select>
-</div>
-<span class="alnSeqLinks">
-<a title="Go to next alignment for pdb|3J52|A" class="gbd toolsCtr navNext" ref="ordinalpos=4&amp;currseq=557804283" id="alnNxt_557804283" onclick="goToNextAlign('dtr_557804283',true);"><span>Next</span></a>
-<a title="Go to previous alignment for pdb|3J56|A" class="gbd toolsCtr navPrev" ref="ordinalpos=4&amp;currseq=557804283" id="alnPrv_557804283" onclick="goToNextAlign('dtr_557804283',false);"><span>Previous</span></a>
-<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J54|A" id="alnDsc_557804283" onclick="goToDefLine('dtr_557804283');" href="#dtr_557804283"><span>Descriptions</span></a>
-</span>
-</div>
-<div class="oneSeqAln" id="aln_557804283">
-<div id="dln_557804283">
-<div class="dlfRow">
-Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre4, 50s Subunit)
-<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J54|A">pdb|3J54|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
-</div>
-</div>
-<div class="relInf" id="relInf_557804283"><label>Related Information</label></div>
-<!--
-<pre>
-<@aln_gene_info@>
-</pre>
--->
-<div class="alnAll" id="alnAll_557804283"><div id="hd_557804283_1">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
-<span id="hsp557804283_1" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804283" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804283" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack hidden" href="#hsp557804283_1" title="Go to first match for pdb|3J54|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #1</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>32.2 bits(16)</td>
-<td>8e-04<span class="sumN ">()</span></td>
-<td>16/16(100%)</td>
-<td>0/16(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804283_1">
-<pre>Query  1    CGTCCGTCGTGAAGAG  16
-            ||||||||||||||||
-Sbjct  961  CGTCCGTCGTGAAGAG  976
-
-
-</pre>
-</div>
-<div id="hd_557804283_2">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
-<span id="hsp557804283_2" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804283" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804283" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804283_1" title="Go to first match for pdb|3J54|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #2</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>16.4 bits(8)</td>
-<td>   47<span class="sumN ">()</span></td>
-<td>8/8(100%)</td>
-<td>0/8(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804283_2">
-<pre>Query  5     CGTCGTGA  12
-             ||||||||
-Sbjct  2591  CGTCGTGA  2598
-
-
-</pre>
-</div>
-<div id="hd_557804283_3">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
-<span id="hsp557804283_3" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804283" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804283" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804283_1" title="Go to first match for pdb|3J54|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #3</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804283_3">
-<pre>Query  7    TCGTGAA  13
-            |||||||
-Sbjct  839  TCGTGAA  845
-
-
-</pre>
-</div>
-<div id="hd_557804283_4">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
-<span id="hsp557804283_4" class="alnParLinks">
-<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804283" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804283" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804283_1" title="Go to first match for pdb|3J54|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #4</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804283_4">
-<pre>Query  9     GTGAAGA  15
-             |||||||
-Sbjct  2027  GTGAAGA  2033
-
-
-</pre>
-</div>
-</div> <!-- alnAll_557804283 -->
-</div> <!-- aln_557804283 -->
-<div class="alnHdr cnf" id="alnHdr_557804227" seqid="557804227" accs="pdb|3J52|A">
-<a name="557804227"></a>
-<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804227" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804227" title="Download information for pdb|3J52|A"><span>Download</span></a>
-<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804227" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
-<div><input seqfsta="gi|557804227" name="dwn_557804227" checked="checked" id="dwFST_557804227" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804227">FASTA (complete sequence)</label></div>
-<div><input seqfsta="gi|557804227" name="dwn_557804227" id="dwFSTAl_557804227" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804227">FASTA (aligned sequences)</label></div>
-<div class=""><input name="dwn_557804227" id="dwGenBank_557804227" getgi="557804227" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804227">GenBank (complete sequence)</label></div>
-<div>
-<button class="cfg" id="dw_cont_557804227">Continue</button>
-<button class="cfg cnc">Cancel</button>
-</div>
-</div> <!-- dsDownload -->
-<span class="csLinks" id="csLinks_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics">Graphics</a></span>
-
-<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
-<select id="sa_557804227" onchange="SortHSPAlnSel(event,this)">
-<option selected="selected" value="0">E value</option>
-<option value="1"> Score</option>
-<option value="3">Percent identity</option>
-<option value="2">Query start position</option>
-<option value="4">Subject start position</option>
-</select>
-</div>
-<span class="alnSeqLinks">
-<a title="Go to next alignment for pdb|3J51|A" class="gbd toolsCtr navNext" ref="ordinalpos=5&amp;currseq=557804227" id="alnNxt_557804227" onclick="goToNextAlign('dtr_557804227',true);"><span>Next</span></a>
-<a title="Go to previous alignment for pdb|3J54|A" class="gbd toolsCtr navPrev" ref="ordinalpos=5&amp;currseq=557804227" id="alnPrv_557804227" onclick="goToNextAlign('dtr_557804227',false);"><span>Previous</span></a>
-<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J52|A" id="alnDsc_557804227" onclick="goToDefLine('dtr_557804227');" href="#dtr_557804227"><span>Descriptions</span></a>
-</span>
-</div>
-<div class="oneSeqAln" id="aln_557804227">
-<div id="dln_557804227">
-<div class="dlfRow">
-Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1a, 50s Subunit)
-<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J52|A">pdb|3J52|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
-</div>
-</div>
-<div class="relInf" id="relInf_557804227"><label>Related Information</label></div>
-<!--
-<pre>
-<@aln_gene_info@>
-</pre>
--->
-<div class="alnAll" id="alnAll_557804227"><div id="hd_557804227_1">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
-<span id="hsp557804227_1" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804227" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804227" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack hidden" href="#hsp557804227_1" title="Go to first match for pdb|3J52|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #1</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>32.2 bits(16)</td>
-<td>8e-04<span class="sumN ">()</span></td>
-<td>16/16(100%)</td>
-<td>0/16(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804227_1">
-<pre>Query  1    CGTCCGTCGTGAAGAG  16
-            ||||||||||||||||
-Sbjct  961  CGTCCGTCGTGAAGAG  976
-
-
-</pre>
-</div>
-<div id="hd_557804227_2">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
-<span id="hsp557804227_2" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804227" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804227" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804227_1" title="Go to first match for pdb|3J52|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #2</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>16.4 bits(8)</td>
-<td>   47<span class="sumN ">()</span></td>
-<td>8/8(100%)</td>
-<td>0/8(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804227_2">
-<pre>Query  5     CGTCGTGA  12
-             ||||||||
-Sbjct  2591  CGTCGTGA  2598
-
-
-</pre>
-</div>
-<div id="hd_557804227_3">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
-<span id="hsp557804227_3" class="alnParLinks">
-<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804227" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804227" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804227_1" title="Go to first match for pdb|3J52|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #3</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804227_3">
-<pre>Query  7    TCGTGAA  13
-            |||||||
-Sbjct  839  TCGTGAA  845
-
-
-</pre>
-</div>
-<div id="hd_557804227_4">
-<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
-<span id="hsp557804227_4" class="alnParLinks">
-<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804227" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
-<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804227" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
-<a class="gbd toolsCtr navBack " href="#hsp557804227_1" title="Go to first match for pdb|3J52|A"><span>First Match</span></a>
-</span>
-</div>
-<table class="alnParams">
-<caption class="hdnHeader">Alignment statistics for match #4</caption>
-<tbody><tr>
-<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
-</tr>
-<tr>
-<td>14.4 bits(7)</td>
-<td>  186<span class="sumN ">()</span></td>
-<td>7/7(100%)</td>
-<td>0/7(0%)</td>
-<td>Plus/Plus</td>
-<td class="aln_frame "></td>
-</tr></tbody></table>
-<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
-</div>
-<div id="ar_557804227_4">
-<pre>Query  9     GTGAAGA  15
-             |||||||
-Sbjct  2027  GTGAAGA  2033
-
-
-</pre>
-</div>
-</div> <!-- alnAll_557804227 -->
-</div> <!-- aln_557804227 -->
-</form>
-
-</div></div> 
-<pre>
-</pre>
-</div><!--/#alignments-->
-</div><!-- alignInfo -->
-</div><!--ARIA-->
-
-</div><!-- alignView -->
-<form><!-- this is the start tag for the </form in blastcgi templates - needs to be changed-->
-<!-- not used - verify -->
-<!-- not used - verify -->
-
-
-                </form>
-				</div><!-- /#content -->
-				<form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="post" name="reformat" id="reformat">				
-				   <input name="QUERY_INFO" value="Nucleotide Sequence (16 letters)" type="hidden">    				
-				   <input name="ENTREZ_QUERY" value="" type="hidden">
-                   <input name="CDD_RID" value="" type="hidden">
-                   <input name="CDD_SEARCH_STATE" value="" type="hidden">
-                   <input name="RID" value="PHWP1JNZ014" type="hidden">
-				   <input name="STEP_NUMBER" value="" type="hidden">
-				   <input name="CMD" value="Web" type="hidden">				
-				   <input name="PAGE_TYPE" value="BlastFormatting" type="hidden">
-				
-				   <!-- TO DO: test all of those changes -->				   	
-				   <!-- Psi blast params  PSI_BLAST_PARAMS - commented- using forms[0] from fromatter> -->
-				   <!-- Current Formatting options FORMATTING_OPTIONS- commented- using forms[0] from fromatter> -->
-				   <!-- Current Search options CURR_SAVED_OPTIONS - commented- using forms[0] from fromatter> -->
-                 </form>
-
-                 <form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="post" name="setSavedOptions" id="setSavedOptions">					
-					<input name="PAGE_TYPE" value="BlastSearch" type="hidden">
-					<input name="VIEW_SEARCH" value="true" type="hidden">
-					<input name="CMD" value="Web" type="hidden">					
-					<!-- Current Search options CURR_SAVED_OPTIONS - commented- using forms[0] from fromatter> -->
-				</form>
-				
-				<form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="post" name="saveOptions" id="saveOptions">					
-					<input name="SAVE" value="true" type="hidden">					
-					<input name="CMD" value="GetSaved" type="hidden">
-					<!-- Current Search options CURR_SAVED_OPTIONS - commented- using forms[0] from formatter> -->
-				</form>
-        </div><!-- /#content-wrap -->
-
-		    	
-<div id="footer">
-   <div id="rgs">BLAST is a registered trademark of the National Library of Medicine.</div> 
-   <p id="orgns">
-      <a href="http://www.ncbi.nlm.nih.gov/" title="National Center for Biotechnology Information">NCBI</a> |
-      <a href="http://www.nlm.nih.gov/" title="National Library of Medicine">NLM</a> |
-      <a href="http://www.nih.gov/" title="National Institutes of Health">NIH</a> |
-      <a href="http://www.hhs.gov/" title="US Department of Health and Human Services">DHHS</a>
-   </p>
-   
-   <p>
-      <a href="http://www.ncbi.nlm.nih.gov/About/disclaimer.html" title="NCBI intellectual property statement">Copyright</a> | 
-      <a href="http://www.ncbi.nlm.nih.gov/About/disclaimer.html#disclaimer" title="About liability, endorsements, external links, pop-up advertisements">Disclaimer</a> | 
-      <a href="http://www.nlm.nih.gov/privacy.html" title="NLM privacy policy">Privacy</a> | 
-      <a href="http://www.nlm.nih.gov/accessibility.html" title="About using NCBI resources with assistive technology">Accessibility</a> |
-      <a href="http://www.ncbi.nlm.nih.gov/About/glance/contact_info.html" title="How to get help, submit data, or provide feedback">Contact</a> |
-      <a href="mailto:blast-help@ncbi.nlm.nih.gov" title="How to get help, submit data, or provide feedback">Send feedback</a>      
-   </p>
-</div>	
-   </div><!--/#wrap-->
-
-<script type="text/javascript" src="Blast%20output%20page%20example_files/utils.js"></script>
-<script type="text/javascript" src="Blast%20output%20page%20example_files/toggle.js"></script>
-<script type="text/javascript" src="Blast%20output%20page%20example_files/remote_data_provider.js"></script>
-<script type="text/javascript" src="Blast%20output%20page%20example_files/results.js"></script><link rel="stylesheet" type="text/css" href="Blast%20output%20page%20example_files/firefox-descriptions.css" media="screen">
-<script type="text/javascript" src="Blast%20output%20page%20example_files/blast.js"></script>
-<script type="text/javascript" src="Blast%20output%20page%20example_files/format.js"></script>
-<script type="text/javascript" src="Blast%20output%20page%20example_files/formatRes.js"></script>   
-<script type="text/javascript" src="Blast%20output%20page%20example_files/InstrumentPageStarterJS.js"></script>
-
-
-
-<div class="ui-ncbiautocomplete-holder shadow" aria-live="assertive"><ul class="ui-ncbiautocomplete-options" role="listbox" aria-activedescendant=""></ul><div class="ui-ncbiautocomplete-actions shadow"><a href="#" class="ui-ncbiautocomplete-link-pref">Preferences</a><a href="#" class="ui-ncbiautocomplete-link-off">Turn off</a></div></div><ul class="print-log"><li></li></ul></body></html>
\ No newline at end of file
Binary file Blast output page example_files/1.gif has changed
Binary file Blast output page example_files/2.gif has changed
Binary file Blast output page example_files/3.gif has changed
Binary file Blast output page example_files/5.gif has changed
Binary file Blast output page example_files/6.gif has changed
Binary file Blast output page example_files/9.gif has changed
--- a/Blast output page example_files/InstrumentPageStarterJS.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-(function(){if(typeof ncbi==="undefined")ncbi={};if(ncbi.sg)typeof console!=="undefined"&&console.error&&console.error("The logging JavaScript was added twice in the document. Please include it one time.");else{ncbi.sg=function(){};ncbi.sg.getInstance=function(){if(!ncbi.sg._instance)ncbi.sg._instance=new ncbi.sg;return ncbi.sg._instance};ncbi.sg._instance=null;ncbi.sg._version="26";(function(){var a=navigator.cookieEnabled?true:false;if(typeof navigator.cookieEnabled==="undefined"&&!a){document.cookie=
-"testcookie";a=document.cookie.indexOf("testcookie")!==-1?true:false}ncbi.sg.isCookieEnabled=a})();ncbi.sg.appLogIgnore=["ncbi_sessionid","ncbi_clickdisabled"];ncbi.sg.prototype={init:function(){this.isProcessRunning=true;this._setUpMetaTagValues();this._setScrollingEnabled();if(this._cachedVals.ncbi_db&&this._cachedVals.ncbi_db.value.toLowerCase()=="pubmed"&&this._cachedVals.ncbi_report&&this._cachedVals.ncbi_report.value.toLowerCase()=="abstract"&&this._cachedVals.ncbi_resultcount&&this._cachedVals.ncbi_resultcount.value.toLowerCase()==
-"1"||this._cachedVals.ncbi_db&&this._cachedVals.ncbi_db.value.toLowerCase()=="pmc"&&this._cachedVals.ncbi_report&&this._cachedVals.ncbi_report.value.toLowerCase()=="record"&&this._cachedVals.ncbi_type&&this._cachedVals.ncbi_type.value.toLowerCase()=="fulltext")ncbi.sg.isHoverEnabled=true;this._setUpPathParts();this._setUpCustomProps();this._addOnScrollListeners();this._send("init");this._scheduleDOMReadyPing();this._sendPrev();this._addPrintPing();this._setBeforeScrollDetails()},_vals:{},_cachedVals:{},
-_hasInitRun:false,_readyPinged:false,_pathParts:{part1:"",part2:"",part3:"",part4:""},_scheduleDOMReadyPing:function(){var a=this,b=function(){return typeof jQuery!=="undefined"&&typeof jQuery.ui!=="undefined"&&typeof jQuery.ui.jig!=="undefined"?typeof jQuery.ui.jig.version!=="undefined"&&jQuery.ui.jig.version?jQuery.ui.jig.version:"unknown":"unknown"},d=function(){var k={},j=jQuery.ui.jig._foundWidgets;for(var t in j)k["jigWidget_"+t]=j[t];k.jigVersion=b();return k},c=function(){if(!a._readyPinged){var k=
-{};if(typeof jQuery!=="undefined"&&typeof jQuery.ui!=="undefined"&&typeof jQuery.ui.jig!=="undefined"&&typeof jQuery.ui.jig.scanned!=="undefined")if(jQuery.ui.jig.scanned){k=d();k.jsevent="domready";ncbi.sg._ping(k);a._readyPinged=true}else{if(typeof jQuery.ui.jig.scan!=="undefined"&&jQuery.ui.jig.scan){var j=jQuery.ui.jig.scan;jQuery.ui.jig.scan=function(){var t=j.apply(this,arguments);c();return t}}}else{k.jigVersion="nojig";k.jsevent="domready";ncbi.sg._ping(k);a._readyPinged=true}}};if(document.addEventListener){var e=
-function(){document.removeEventListener("DOMContentLoaded",e,false);c()};document.addEventListener("DOMContentLoaded",e)}else if(document.attachEvent){var g=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",g);c()}};document.attachEvent("onreadystatechange",g)}},_setScrollingEnabled:function(){try{ncbi.sg.isScrollingEnabled=false;var a=ncbi.sgAppsWithScrolling;if(typeof a!=="undefined")for(var b=0;b<a.length;b++){var d=true,c=a[b];for(var e in c)if(!this._cachedVals[e]||
-this._cachedVals[e].value.toLowerCase()!=c[e]){d=false;break}if(d){ncbi.sg.isScrollingEnabled=true;break}}}catch(g){ncbi.sg.getInstance().noteEventData("jserror",{jserror:g.toString(),SELF_URL:window.location.href},["ncbi_sessionid","ncbi_phid"])}},_setUpMetaTagValues:function(){for(var a=document.getElementsByTagName("meta"),b=0;b<a.length;b++){var d=a[b].name;d.indexOf("ncbi_")===0&&this.addEntry(d,a[b].content)}},_setUpCachedMetaTagValues:function(a){for(var b=0;b<a.length;b++){var d=this._cachedVals[a[b]];
-d&&this.addEntry(a[b],d.value)}},cachedNames:["ncbi_app","ncbi_db","ncbi_pcid","ncbi_pdid","ncbi_phid","ncbi_sessionid","ncbi_uidlist"],ignoreLengthRestrictions:["jserror","jserrorlocation"],addEntry:function(a,b){if(!(b===undefined||b.length===0)){if(b.length>100&&this.ignoreLengthRestrictions.indexOf(a)===-1)b=b.substr(0,100);this._cachedVals[a]={sProp:a,value:b}}},getVal:function(a){return typeof this._cachedVals[a]!=="undefined"&&this._cachedVals[a]&&typeof this._cachedVals[a].value!=="undefined"?
-this._cachedVals[a].value:null},removeAllEntries:function(){for(var a={},b=this.cachedNames.length,d=0;d<b;d++){var c=this.cachedNames[d],e=this._cachedVals[c];if(e)a[c]=e}this._cachedVals=a;for(var g in this._pathParts)this._pathParts[g]=""},_setUpCustomProps:function(){var a=this._pathParts.part1,b=this._pathParts.part2.length>0?":"+this._pathParts.part2:"",d=this._pathParts.part3.length>0?":"+this._pathParts.part3:"",c=this._pathParts.part4.length>0?":"+this._pathParts.part4:"";a={pagename:a+b+
-d,server:window.location.hostname,sitesect2:a+b,subsect3:a+b+d,subsect4:a+b+d+c,heir1:(a+b+d+c).replace(/:/g,"|")};for(var e in a)this.addEntry(e,a[e]);this._sessionIdCheck();this._staticPageCheck();this._prevHitCheck();this._browserConfigurationSettings();this._hashCheck()},_staticPageCheck:function(){this._cachedVals.ncbi_app&&this._cachedVals.ncbi_app.value.length>0||this.addEntry("ncbi_app","static");this._cachedVals.ncbi_pdid&&this._cachedVals.ncbi_pdid.value.length>0||this.addEntry("ncbi_pdid",
-(document.title||"unknown").replace(/\s+/g,""))},_sessionIdCheck:function(){if(!(this._cachedVals.ncbi_sessionid&&this._cachedVals.ncbi_sessionid.value.length>0)){var a="";if(a.length===0){var b=this.getCookie("WebCubbyUser")||this.getCookie("WebEnv");if(b.length>0){b=unescape(b).split("@");if(b.length>1)a=b[b.length-1]}}if(a.length===0)a="NOSESSIONID";this.addEntry("ncbi_sessionid",a)}},getBrowserWidthHeight:function(){var a=this.getViewportWidth(),b=this.getViewportHeight();return{width:a,height:b}},
-_browserConfigurationSettings:function(){var a=this.getBrowserWidthHeight();this.addEntry("browserwidth",a.width);this.addEntry("browserheight",a.height);this.addEntry("screenwidth",screen.width);this.addEntry("screenheight",screen.height);this.addEntry("screenavailwidth",screen.availWidth);this.addEntry("screenavailheight",screen.availHeight);if(document&&document.body){var b=document.body.scrollWidth,d=document.body.scrollHeight,c=d>a.height?"true":"false";this.addEntry("canscroll_x",b>a.width?
-"true":"false");this.addEntry("canscroll_y",c);this.addEntry("scrollwidth",b);this.addEntry("scrollheight",d)}if(screen.colorDepth)this.addEntry("colorDepth",screen.colorDepth);else screen.pixelDepth&&this.addEntry("colorDepth",screen.pixelDepth)},_hashCheck:function(){var a=window.location.hash;if(a){a=a.replace("#","");this.addEntry("urlhash",a)}(a=window.location.search.match(/[?&]campaign=([^&]*)/))&&this.addEntry("campaign",a[1])},_createPHID:function(){var a=this._cachedVals.ncbi_sessionid.value,
-b=a.substr(0,15)+"9"+(new Date).getTime().toString(),d=a.length;b+=a.substr(d-(32-b.length),d);a={value:b};this.addEntry("ncbi_phid",b);return a},currentPageHitId:null,_prevHitCheck:function(){var a=this.getCookie("ncbi_prevPHID"),b=this._cachedVals.ncbi_phid;a.length>0&&this.addEntry("prev_phid",a);if(!b||!b.value||b.value.length===0)b=this._createPHID();this.currentPageHitId=b.value;var d=this;ncbi.sg._hasFocus&&d.setCookie("ncbi_prevPHID",b.value);var c=window.onfocus;window.onfocus=function(e){d.getCookie("ncbi_prevPHID")!==
-b.value&&d.setCookie("ncbi_prevPHID",b.value);typeof c==="function"&&c(e)}},_setUpPathParts:function(){var a=this._cachedVals.ncbi_app,b=this._cachedVals.ncbi_db,d=this._cachedVals.ncbi_pdid,c=this._cachedVals.ncbi_pcid;this._pathParts.part1=a!==undefined?a.value:"";this._pathParts.part2=b!==undefined?b.value:"";this._pathParts.part3=d!==undefined?d.value:"";this._pathParts.part4=c!==undefined?c.value:""},getPerfStats:function(){var a=window.performance;if(!a)return{};var b=a.timing;if(b)b={dns:b.domainLookupEnd-
-b.domainLookupStart,connect:b.connectEnd-b.connectStart,ttfb:b.responseStart-b.connectEnd,basePage:b.responseEnd-b.responseStart,frontEnd:b.loadEventStart-b.responseEnd};else return{};if(a=a.navigation){b.navType=a.type;b.redirectCount=a.redirectCount}return b},setPerfStats:function(a,b){var d=this.getPerfStats();for(var c in d){var e=d[c];if(e>=0){var g="jsperf_"+c;if(b)a[g]=e;else a.push(g+"="+e)}}},getExtraRenderStats:function(){var a={SELF_URL:encodeURIComponent(window.location.href)};if(typeof document!==
-"undefined"&&typeof document.referrer!=="undefined")a.HTTP_REFERER=encodeURIComponent(document.referrer);return a},setExtraRenderStats:function(a){var b=this.getExtraRenderStats();for(var d in b)a.push(d+"="+b[d])},_send:function(a,b,d){if(typeof d==="undefined"||d===null)d=true;var c=[];if(a==="init"){c.push("jsevent=render");ncbi.sg.renderTime=new Date;if(typeof ncbi_startTime!=="undefined"){c.push("jsrendertime="+(ncbi.sg.renderTime-ncbi_startTime));ncbi.sg.loadTime&&c.push("jsloadtime="+(ncbi.sg.loadTime-
-ncbi_startTime))}this.setPerfStats(c);this.setExtraRenderStats(c);c.push("cookieenabled="+(ncbi.sg.isCookieEnabled?"true":"false"))}for(var e in this._cachedVals)ncbi.sg.appLogIgnore.indexOf(e)===-1&&c.push(e+"="+encodeURIComponent(this._cachedVals[e].value));this._sendAl(c.join("&"),b,true,d);this._hasInitRun=true;var g=this;setTimeout(function(){g.isProcessRunning=false;g.runSGProcess()},300)},send:function(a,b){this._send(a,b,false)},_sendPrev:function(){var a=ncbi.sg.getInstance(),b=a.getCookie("clicknext");
-if(b){ncbi.sg._ping(b);a.setCookie("clicknext","")}if(b=a.getCookie("prevsearch")){ncbi.sg._ping(b);a.setCookie("prevsearch","")}if(b=a.getCookie("unloadnext")){ncbi.sg._ping(b);a.setCookie("unloadnext","")}},_sendAl:function(a,b,d,c){if(typeof c==="undefined"||c===null)c=true;if(a.indexOf("jseventms")===-1)a+="&jseventms="+ncbi.sg.getInstance().getMillisecondsSinceSunday();a.match(/jsevent=search/i)&&this._storeNext("prevsearch",a.replace(/jsevent=search(next)?/i,"jsevent=searchnext"),null,c);a+=
-"&sgVersion="+ncbi.sg._version;if(a.indexOf("sgSource")===-1)a=this._setSgSource(a,c);c=window.location.port?":"+window.location.port:"";reqURL=typeof __ncbi_stat_url!=="undefined"?__ncbi_stat_url+"?"+a:window.location.protocol+"//"+window.location.hostname+c+"/stat?"+a;this.makeAjaxCall(reqURL,function(){typeof b==="function"&&b()},d)},sendAl:function(a,b,d){this._sendAl(a,b,d,false)},_processingQueue:[],isProcessRunning:false,addSGProcess:function(a){this._processingQueue.push(a)},getSGProcess:function(a){return this._processingQueue.shift(a)},
-runSGProcess:function(){if(this.isProcessRunning||this._processingQueue.length===0||!this._hasInitRun)return false;this.isProcessRunning=true;this.removeAllEntries();var a=this.getSGProcess();this._setUpCachedMetaTagValues(a.metadata);this.addEntry("jsevent",a.eventName);for(var b in a.props)this.addEntry(b,a.props[b]);this._send(a.eventName,a.callbackFnc);var d=this;setTimeout(function(){d.isProcessRunning=false;d.runSGProcess()},300)},noteEventData:function(a,b,d,c){this.addSGProcess({eventName:a,
-props:b,metadata:d,callback:c});this.runSGProcess()},setCookie:function(a,b,d){if(window.sessionStorage)try{sessionStorage.setItem(a,b)}catch(c){}var e=new Date;d!==null&&e.setDate(e.getDate()+d);document.cookie=a+"="+escape(b)+(d===null?"":"; expires="+e.toGMTString())+"; domain="+escape(".nih.gov")+"; path=/"},_setSgSource:function(a,b){a+="&sgSource="+(b?"native":"api");return a},_storeNext:function(a,b,d,c){if(typeof c==="undefined"||c===null)c=true;b=this._setSgSource(b,c);this.setCookie(a,b,
-d)},getCookie:function(a){var b;if(window.sessionStorage){try{b=sessionStorage.getItem(a)||""}catch(d){b=""}if(b.length>0)return b}if(document.cookie.length>0){b=document.cookie.indexOf(a+"=");if(b!==-1){b=b+a.length+1;a=document.cookie.indexOf(";",b);if(a===-1)a=document.cookie.length;return unescape(document.cookie.substring(b,a))}}return""},getTransport:function(){var a=null;if(window.XMLHttpRequest)try{a=new XMLHttpRequest;this.getTransport=function(){return new XMLHttpRequest}}catch(b){a=null}if(window.ActiveXObject&&
-a===null)try{a=new ActiveXObject("Msxml2.XMLHTTP");this.getTransport=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(d){try{a=new ActiveXObject("Microsoft.XMLHTTP");this.getTransport=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(c){a=false}}if(a===null)this.getTransport=function(){return null};return this.getTransport()},makeAjaxCall:function(a,b,d){var c=this.getTransport();c._ncbi_skipOverride=true;c.open("GET",a,d);if(d)c.onreadystatechange=function(){c.readyState===
-4&&b(c)};ncbi.sg.lastPing=c;c.send(null);return c},scrollDetails:{maxScroll_x:0,maxScroll_y:0,currScroll_x:0,currScroll_y:0,hasScrolled:false},scrollEventDetails:{xTenths:0,yTenths:0,xMax:0,yMax:0},_getScrollXYPx:function(){return[window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0]},_getScrollXY:function(){var a=this.getViewportHeight(),b=this.getViewportWidth(),d=document.body.scrollHeight,
-c=document.body.scrollWidth,e=this._getScrollXYPx(),g=Math.round(e[1]/a*10)/10;return{xRel:Math.round(e[0]/b*10)/10,yRel:g,viewportHeight:a,viewportWidth:b,pageHeight:d,pageWidth:c}},_addOnScrollListeners:function(){var a=window.onscroll,b=this;window.onscroll=function(){if(ncbi.sg.isScrollingEnabled){b._setScrollDetails();b.scrollDetails.hasScrolled=true;b._addScrollEvent()}else{b._setScrollDetails();b.scrollDetails.hasScrolled=true}if(typeof a==="function")return a()}},getViewportHeight:function(){return window.innerHeight?
-window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body!==null?document.body.clientHeight:"NA"},getViewportWidth:function(){return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body!==null?document.body.clientWidth:"NA"},_setScrollDetails:function(){this.scrollDetails.currScroll_y=window.pageYOffset||document.documentElement.scrollTop||
-document.body.scrollTop||0;this.scrollDetails.currScroll_x=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.getViewportWidth();this.getViewportHeight();if(this.scrollDetails.maxScroll_y<this.scrollDetails.currScroll_y)this.scrollDetails.maxScroll_y=this.scrollDetails.currScroll_y;if(this.scrollDetails.maxScroll_x<this.scrollDetails.currScroll_x)this.scrollDetails.maxScroll_x=this.scrollDetails.currScroll_x},isVisible:function(a){var b=this.findEffectiveStyleProperty(a,
-"visibility");a=this._isDisplayed(a);return b!="hidden"&&a},_isDisplayed:function(a){if(this.findEffectiveStyleProperty(a,"display")=="none")return false;if(a.parentNode.style)return this._isDisplayed(a.parentNode);return true},findEffectiveStyleProperty:function(a,b){var d=this.findEffectiveStyle(a)[b];if(d=="inherit"&&a.parentNode.style)return this.findEffectiveStyleProperty(a.parentNode,b);return d},findEffectiveStyle:function(a){if(a.style!=undefined){if(window.getComputedStyle)return window.getComputedStyle(a,
-null);if(a.currentStyle)return a.currentStyle;if(window.document.defaultView&&window.document.defaultView.getComputedStyle)return window.document.defaultView.getComputedStyle(a,null);return null}},findElementPos:function(a,b,d){var c=0,e=0;if(a.offsetLeft)c+=parseInt(a.offsetLeft);if(a.offsetTop)e+=parseInt(a.offsetTop);if(a.scrollTop&&a.scrollTop>0){e-=parseInt(a.scrollTop);d=true}if(a.scrollLeft&&a.scrollLeft>0){c-=parseInt(a.scrollLeft);b=true}if(a.offsetParent){b=this.findElementPos(a.offsetParent,
-b,d);if(b==-1)return-1;c+=b[0];e+=b[1]}else if(a.ownerDocument){var g=a.ownerDocument.defaultView;if(!g&&a.ownerDocument.parentWindow)g=a.ownerDocument.parentWindow;if(g){var k=g.pageXOffset!==undefined?g.pageXOffset:(a.document.documentElement||a.document.body.parentNode||a.document.body).scrollLeft;a=g.pageYOffset!==undefined?g.pageYOffset:(a.document.documentElement||a.document.body.parentNode||a.document.body).scrollTop;if(!d&&a&&a>0)e-=parseInt(a);if(!b&&k&&k>0)c-=parseInt(k);if(g.frameElement){b=
-this.findElementPos(g.frameElement);if(b==-1)return-1;c+=b[0];e+=b[1]}}}return[c,e]},addObjData:function(a,b){for(var d in b)a[d]=b[d]},getJoinedData:function(a){var b=[];for(var d in a)b.push(d+"="+encodeURIComponent(a[d]));return b.join("&")},addScrollHeadingData:function(a,b){var d=this.scrollEventDetails.headings;if(d){a["numHeadings."+this._scrollOrder+".scrollInfo"]=d.length;for(var c=0;c<d.length;c++){var e=d[c];if(e.visible){var g={};if(e.innerText)g["innerText."+e.index+".headings."+this._scrollOrder+
-".scrollInfo"]=e.innerText;if(e.id)g["id."+e.index+".headings."+this._scrollOrder+".scrollInfo"]=e.id;g["tagName."+e.index+".headings."+this._scrollOrder+".scrollInfo"]=e.tagName;b=b?b:1800;this.getJoinedData(a).length+this.getJoinedData(g).length<b&&this.addObjData(a,g)}}}return a},getVisibleHeadings:function(){for(var a=[],b=document.getElementsByTagName("*"),d=-1,c=0;c<b.length;c++){for(var e=b[c],g=false,k=e.tagName.toLowerCase(),j=0;j<7;j++)if(k=="h"+j)g=true;if(g){d+=1;j=this.findElementPos(e);
-g=j[1];j=j[0];var t=e.offsetHeight,y=e.offsetWidth,A=this.getViewportHeight(),B=this.getViewportWidth(),w={},v=e.getAttribute("id")||e.id;if(v)w.id=v;if(v=(e.getAttribute("innerText")||e.innerText||e.getAttribute("textContent")||e.textContent||"").replace(/^\s+|\s+$/g,""))w.innerText=v.substring(0,50);w.index=d;w.tagName=k;if(g+t>=0&&g<=A&&j+y>=0&&j<=B)if(this.isVisible(e)){w.visible=true;a.push(w)}}}return a},_setBeforeScrollDetails:function(a){this._lastScroll=a?a:null;a=this._getScrollXY();var b=
-a.yRel;this.scrollEventDetails.xTenths=Math.round(a.xRel*10);this.scrollEventDetails.yTenths=Math.round(b*10);this.scrollEventDetails.xMax=Math.max(this.scrollEventDetails.xTenths,this.scrollEventDetails.xMax);this.scrollEventDetails.yMax=Math.max(this.scrollEventDetails.yTenths,this.scrollEventDetails.yMax);this.scrollEventDetails.headings=this.getVisibleHeadings()},getScrollDetails:function(a,b){if(!ncbi.sg.isScrollingEnabled){this._setScrollDetails();return this.scrollDetails}var d=this.scrollEventDetails;
-d.tstamp=(new Date).getTime();var c=this._getScrollXY(),e=null;if(b||!this._lastScroll||d.tstamp-this._lastScroll>1E3){this._scrollOrder=this._scrollOrder!=undefined?this._scrollOrder+1:0;b="yTenths."+this._scrollOrder+".scrollInfo";e="xTenths."+this._scrollOrder+".scrollInfo";var g="maxXTenths."+this._scrollOrder+".scrollInfo",k="maxYTenths."+this._scrollOrder+".scrollInfo",j={};j["duration."+this._scrollOrder+".scrollInfo"]=this._lastScroll?d.tstamp-this._lastScroll:new Date-ncbi.sg.loadTime;j[e]=
-this.scrollEventDetails.xTenths;j[b]=this.scrollEventDetails.yTenths;j[g]=this.scrollEventDetails.xMax;j[k]=this.scrollEventDetails.yMax;j["viewportHeight."+this._scrollOrder+".scrollInfo"]=c.viewportHeight;j["viewportWidth."+this._scrollOrder+".scrollInfo"]=c.viewportWidth;j["maxPossibleScrollTenthsY."+this._scrollOrder+".scrollInfo"]=Math.round((c.pageHeight/c.viewportHeight-1)*10);j["maxPossibleScrollTenthsX."+this._scrollOrder+".scrollInfo"]=Math.round((c.pageWidth/c.viewportWidth-1)*10);e=j=
-this.addScrollHeadingData(j,a)}this._setBeforeScrollDetails(d.tstamp);return e},getScrollDetailsAr:function(a,b){var d=[];a=this.getScrollDetails(a,b);for(var c in a)d.push(c+"="+encodeURIComponent(a[c]));return d},addScrollDetailsAr:function(a,b,d){b=this.getScrollDetailsAr(b,d);for(d=0;d<b.length;d++)a.push(b[d])},addScrollDetails:function(a,b,d){b=this.getScrollDetails(b,d);for(var c in b)a[c]=b[c]},trimScrollDetails:function(){},_addScrollEvent:function(){try{var a=this.getScrollDetails();if(a){a.jsevent=
-"scroll";ncbi.sg._ping(a)}}catch(b){ncbi.sg.getInstance().noteEventData("jserror",{jserror:b.toString(),SELF_URL:window.location.href},["ncbi_sessionid","ncbi_phid"])}},_addPrintPing:function(){function a(){var c=document.createElement("style");c.type="text/css";var e=document.createElement("style");e.type="text/css";e.media="print";for(var g=["jsevent=print"],k=0;k<b.cachedNames.length;k++){var j=b.cachedNames[k],t=b._cachedVals[j];t&&j!=="ncbi_sessionid"&&g.push(j+"="+encodeURIComponent(t.value))}g=
-".print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }.print-log li { list-style-image: url('/stat?"+g.join("&")+"'); }";if(e.styleSheet){e.styleSheet.cssText=g;c.styleSheet.cssText=".print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }"}else{e.appendChild(document.createTextNode(g));c.appendChild(document.createTextNode(".print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }"))}g=
-document.getElementsByTagName("head")[0];g.appendChild(e);g.appendChild(c);c=document.createElement("ul");c.className="print-log";e=document.createElement("li");c.appendChild(e);document.body.appendChild(c)}var b=this;if(typeof jQuery!=="undefined")jQuery(a);else{var d=window.onload;window.onload=function(c){d&&d(c);a()}}},getMillisecondsSinceSunday:function(){var a=new Date,b=new Date;b.setDate(b.getDate()-b.getDay());b.setHours(0);b.setMinutes(0);b.setSeconds(0);b.setMilliseconds(0);return(a-b).toString(36)}};
-ncbi.sg.lastPing=null;ncbi.sg.hasNotedErrorEvent=false;(function(){function a(){ncbi.sg.getInstance().setCookie("ncbi_prevPHID",ncbi.sg.getInstance().currentPageHitId);if(y.length>0)for(;y.length>0;)d(y.pop());var f={jsevent:"unload",ncbi_pingaction:"unload"};if(typeof ncbi_startTime!=="undefined"){f.ncbi_timeonpage=new Date-ncbi_startTime;if(typeof ncbi_onloadTime!=="undefined"&&ncbi_onloadTime)f.ncbi_onloadTime=ncbi_onloadTime-ncbi_startTime}var i=ncbi.sg.getInstance();i.setPerfStats(f,true);i.addScrollDetails(f,
-1800-i.getJoinedData(f).length,true);if(!w){ncbi.sg._ping(f);var m="";for(var l in f)m+=l+"="+(l==="jsevent"?"unloadnext":f[l])+"&";m+="ncbi_phid="+i.currentPageHitId;i._storeNext("unloadnext",m,null)}w=true}function b(f){for(var i=y.length-1;i>=-1;i--)if(y[i]===f){y.slice(i,1);break}d(f)}function d(f,i){if(A.indexOf(f.tstamp)===-1){A.push(f.tstamp);B.push(f);c("click",f,i)}}function c(f,i,m,l){if(typeof l==="undefined"||l===null)l=true;var n=f==="click"?"link":"elem",h=i.link,o=i.evt,p=h.id||"",
-x=h.name||"",F=h.sid||"",G=h.href||"",C=h.innerText||h.textContent||"";if(C.length>50)C=C.substr(0,50);var H=h.getAttribute?h.getAttribute("ref")||h.ref||"":"",I=h.className?h.className.replace(/^\s?/,"").replace(/\s?$/,"").split(/\s/g).join(",")||"":"";i=[];var D=[],z=h.parentNode;if(z)for(var r=0;r<6&&z!==null;r++){(parId=z.id)&&i.push(parId);if(parClassName=z.className)D=D.concat(parClassName.split(/\s/));z=z.parentNode}z=ncbi.sg.getInstance();r=z.currentPageHitId||"";var q=[];p.length>0&&q.push(n+
-"_id="+encodeURIComponent(p));x.length>0&&q.push(n+"_name="+encodeURIComponent(x));F.length>0&&q.push(n+"_sid="+encodeURIComponent(F));G.length>0&&q.push(n+"_href="+encodeURIComponent(G));C.length>0&&q.push(n+"_text="+encodeURIComponent(C));I.length>0&&q.push(n+"_class="+encodeURIComponent(I));r=z.getBrowserWidthHeight();r.width!==null&&q.push("browserwidth="+encodeURIComponent(r.width));r.height!==null&&q.push("browserheight="+encodeURIComponent(r.height));for(var E in o){r=o[E];r!==undefined&&q.push(E.toLowerCase()+
-"="+r.toString())}q.push("jsevent="+f);H.length>0&&q.push(H);if(typeof jQuery!=="undefined")if(h=jQuery(h).attr("sg")){h=h.split(/\}\s*,\s*\{/);for(r=0;r<h.length;r++){o=h[r].match(/name\s*:\s*'(.+)',\s*selector\s*:\s*'(.+)'/);if(o.length===3){E="cust_"+o[1];o=jQuery(o[2]).val();q.push(E+"="+encodeURIComponent(o))}}}if(m&&m.length>0)for(;m.length>0;)q.push(m.shift());i.length>0&&q.push("ancestorId="+i.join(","));D.length>0&&q.push("ancestorClassName="+D.join(",").replace(/\s+/g," ").replace(/(^\s|\s$)/g,
-""));z.addScrollDetailsAr(q,1800-q.join("&").length,true);if(f==="click"){f=q.join("&").replace("jsevent=click","jsevent=clicknext");r=ncbi.sg.getInstance().currentPageHitId||"";f+="&ncbi_phid="+r;z._storeNext("clicknext",f,null,l)}ncbi.sg._ping(q,true,null,null,l)}function e(f){var i={};if(f){if(f.clientX||f.clientY){var m=ncbi.sg.getInstance()._getScrollXYPx();i.evt_coor_x=f.clientX+m[0];i.evt_coor_y=f.clientY+m[1]}else if(f.pageX||f.pageY){i.evt_coor_x=f.pageX;i.evt_coor_y=f.pageY}i.jseventms=
-ncbi.sg.getInstance().getMillisecondsSinceSunday()}return i}function g(f,i,m,l,n){var h={},o=null,p=null;if(typeof i==="string"){o=i;p=m}else{h=e(i);o=m;p=l}if(p){i=typeof p;if(i==="string")p=[p];else if(i==="object"&&!(p instanceof Array)){i=[];for(var x in p)i.push(x+"="+p[x]);p=i}}c(o,{link:f,evt:h},p,n)}function k(f,i,m){var l=[];if(typeof i==="undefined")i=true;if(typeof f==="object"&&!(f instanceof Array))for(var n in f)l.push(n+"="+encodeURIComponent(f[n]));else if(typeof f==="string")l.push(f);
-else l=f;f=ncbi.sg.getInstance().currentPageHitId||"";n=null;if(typeof ncbi.sg.loadTime!=="undefined")n=new Date-ncbi.sg.loadTime;var h=l.join("&");if(h.indexOf("jsevent=clicknext")!==-1||h.indexOf("jsevent=searchnext")!==-1||h.indexOf("jsevent=unloadnext")!==-1){f.length>0&&l.push("next_phid="+encodeURIComponent(f));n!==null&&l.push("next_ncbi_timesinceload="+n)}else{f.length>0&&l.push("ncbi_phid="+encodeURIComponent(f));n!==null&&l.push("ncbi_timesinceload="+n)}ncbi.sg.getInstance()._sendAl(l.join("&"),
-null,i,m)}var j=window.onerror;window.onerror=function(f,i,m){if(!ncbi.sg.hasNotedErrorEvent){ncbi.sg.getInstance().noteEventData("jserror",{jserror:f,jserrorlocation:i,jserrorline:m,SELF_URL:window.location.href},["ncbi_sessionid","ncbi_phid"]);ncbi.sg.hasNotedErrorEvent=true;if(typeof j==="function")return j(f,i,m)}};var t=window.onbeforeunload;window.onbeforeunload=function(f){a();if(typeof t==="function")return t(f)};var y=[],A=[],B=[],w=false;ncbi.sg.sendElementEvent=function(f,i,m){c(f,i,m,
-false)};ncbi.sg.clickTimers=[];if(typeof ncbi.sg.isClickEnabled==="undefined"){for(var v=document.getElementsByTagName("meta"),u=v.length-1,s=true;u>=0;){if(v[u].name.toLowerCase()==="ncbi_clickdisabled"){s=v[u].content.toLowerCase()==="false";break}u--}ncbi.sg.isClickEnabled=s}setClickEvent=function(){var f=function(h){return(h=typeof h.parentNode!=="undefined"?h.parentNode:null)?m(h)?h:f(h):false},i=function(h){h=h.target||h.srcElement;if(typeof h=="undefined"||h==null)return null;if(h.nodeType==
-3)h=target.parentNode;m(h)||(h=f(h));return h},m=function(h){var o=typeof h.tagName!=="undefined"?h.tagName.toLowerCase():null,p=false,x=false;if(typeof jQuery!=="undefined")p=jQuery(h).is("button, input[type=button], input[type=submit], input[type=reset]");else if(o==="input"){h=inp.type;p=h=="button"||h=="submit"||h=="reset"}else p=o==="button"?true:false;p||(x=o=="a"||o=="area");return x?"link":p?"button":null},l=function(h,o,p,x){if(!(x&&x=="click"&&h.which&&h.which==3))if(!(!o||m(o)==null)){ncbi.sg.getInstance().setCookie("ncbi_prevPHID",
-ncbi.sg.getInstance().currentPageHitId);h=e(h);h.iscontextmenu=x=="contextmenu"?"true":"false";o={evt:h,link:o,tstamp:(new Date).getTime(),floodTstamp:(new Date).getTime()};b(o);ncbi.sg.clickTimers&&window.clearTimeout(ncbi.sg.clickTimers);ncbi.sg.clickTimers=window.setTimeout(function(){ncbi.sg.clickTimers=null},300)}};if(window.addEventListener){window.addEventListener("click",function(h){l(h,i(h),[],"click")});window.addEventListener("contextmenu",function(h){l(h,i(h),[],"contextmenu")},false)}else if(window.attachEvent){document.attachEvent("onclick",
-function(h){l(h,i(h),[],"click")});document.attachEvent("oncontextmenu",function(h){l(h,i(h),[],"contextmenu")},false)}if(Event.prototype.stopPropagation){var n=Event.prototype.stopPropagation;Event.prototype.stopPropagation=function(){var h=i(this);if(m(h)!=null)if(this.type=="click")l(this,h,[],"click");else this.type=="contextmenu"&&l(this,h,[],"contextmenu");return n.apply(this,arguments)}}};setClickEvent();ncbi.sg.scanLinks=function(){};ncbi.sg._ping=function(f,i,m,l,n){if(typeof n==="undefined"||
-n===null)n=true;typeof f==="undefined"||f===null||(typeof f==="object"&&f.nodeName!==undefined?g(f,i,m,l,n):k(f,i,n))};ncbi.sg.ping=function(f,i,m,l){ncbi.sg._ping(f,i,m,l,false)};ncbi.sg.loadTime=new Date})();if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a,b){var d=this.length>>>0;b=Number(b)||0;b=b<0?Math.ceil(b):Math.floor(b);if(b<0)b+=d;for(;b<d;b++)if(b in this&&this[b]===a)return b;return-1};(function(){function a(){ncbi_onloadTime=new Date}ncbi_onloadTime=null;if(typeof jQuery!==
-"undefined")jQuery(window).load(a);else{var b=window.onload;window.onload=function(d){b&&b(d);a()}}})()}})();
-(function(){ncbi.sg._ajaxRequestIndex=1;if(typeof XMLHttpRequest!=="undefined"){var a,b=function(c,e,g,k){if(typeof a==="undefined"||!a)a=ncbi.sg.getInstance();e=(e=a.getVal(e))?e:"unknown";if(typeof k!=="undefined"&&k)e+=".0"+ncbi.sg._ajaxRequestIndex;c.setRequestHeader(g,e)},d=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(){var c=d.apply(this,arguments);if(!(typeof this._ncbi_skipOverride!=="undefined"&&this._ncbi_skipOverride)){b(this,"ncbi_phid","NCBI-PHID",true);b(this,
-"ncbi_sessionid","NCBI-SESSIONID",false);ncbi.sg._ajaxRequestIndex+=1}return c}}})();
-typeof jQuery!=="undefined"&&jQuery(function(){if(ncbi.sg.isHoverEnabled){var a=function(c,e,g){var k=[];if(typeof e==="undefined")e=true;if(typeof c==="object"&&!(c instanceof Array))for(var j in c)k.push(j+"="+encodeURIComponent(c[j]));else if(typeof c==="string")k.push(c);else k=c;c=ncbi.sg.getInstance().currentPageHitId||"";j=null;if(typeof ncbi.sg.loadTime!=="undefined")j=new Date-ncbi.sg.loadTime;k.join("&");c.length>0&&k.push("next_phid="+encodeURIComponent(c));j!==null&&k.push("next_ncbi_timesinceload="+
-j);ncbi.sg.getInstance()._sendAl(k.join("&"),null,e,g)},b=ncbi.sg.getInstance().getCookie("hovernext");if(b){a(b);ncbi.sg.getInstance().setCookie("hovernext","")}var d=function(c){var e={};if(c){if(c.clientX||c.clientY){var g=ncbi.sg.getInstance()._getScrollXYPx();e.evt_coor_x=c.clientX+g[0];e.evt_coor_y=c.clientY+g[1]}else if(c.pageX||c.pageY){e.evt_coor_x=c.pageX;e.evt_coor_y=c.pageY}e.jseventms=ncbi.sg.getInstance().getMillisecondsSinceSunday()}return e};jQuery(document).on("mousedown","a[ref*='itool=Abstract-nondef'], #disc_col a",
-function(c){c=c.originalEvent;var e=d(c);jQuery(c.target);(new Date).getTime();(new Date).getTime();var g=jQuery(c.target),k=g.id||"",j=g.name||"",t=g.sid||"",y=g.href||"",A=g.innerText||g.textContent||"";if(A.length>50)A=A.substr(0,50);var B=g.getAttribute?g.getAttribute("ref")||g.ref||"":"",w=g.className?g.className.replace(/^\s?/,"").replace(/\s?$/,"").split(/\s/g).join(",")||"":"";c=[];var v=[],u=g.parentNode;if(u)for(var s=0;s<6&&u!==null;s++){(parId=u.id)&&c.push(parId);if(parClassName=u.className)v=
-v.concat(parClassName.split(/\s/));u=u.parentNode}u=ncbi.sg.getInstance();var f=u.currentPageHitId||"";f=[];k.length>0&&f.push("link_id="+encodeURIComponent(k));j.length>0&&f.push("link_name="+encodeURIComponent(j));t.length>0&&f.push("link_sid="+encodeURIComponent(t));y.length>0&&f.push("link_href="+encodeURIComponent(y));A.length>0&&f.push("link_text="+encodeURIComponent(A));w.length>0&&f.push("link_class="+encodeURIComponent(w));s=u.getBrowserWidthHeight();s.width!==null&&f.push("browserwidth="+
-encodeURIComponent(s.width));s.height!==null&&f.push("browserheight="+encodeURIComponent(s.height));for(var i in e){s=e[i];s!==undefined&&f.push(i.toLowerCase()+"="+s.toString())}f.push("jsevent=hovernext");B.length>0&&f.push(B);if(typeof jQuery!=="undefined")if(e=jQuery(g).attr("sg")){e=e.split(/\}\s*,\s*\{/);for(s=0;s<e.length;s++){g=e[s].match(/name\s*:\s*'(.+)',\s*selector\s*:\s*'(.+)'/);if(g.length===3){i="cust_"+g[1];g=jQuery(g[2]).val();f.push(i+"="+encodeURIComponent(g))}}}c.length>0&&f.push("ancestorId="+
-c.join(","));v.length>0&&f.push("ancestorClassName="+v.join(",").replace(/\s+/g," ").replace(/(^\s|\s$)/g,""));u.addScrollDetailsAr(f,1800-f.join("&").length,true);c=f.join("&");f=ncbi.sg.getInstance().currentPageHitId||"";c+="&ncbi_phid="+f;ncbi.sg.getInstance()._storeNext("hovernext",c,null)});jQuery(document).on("mouseup mousedown",function(c){!jQuery(c.target).is("a[ref*='itool=Abstract-nondef']")&&jQuery(c.target).parents("a[ref*='itool=Abstract-nondef']").length==0&&!jQuery(c.target).is("#disc_col a")&&
-jQuery(c.target).parents("#disc_col a").length==0&&ncbi.sg.getInstance().setCookie("hovernext","")})}});
-
-;
-// This code creates window.console if it doesn't exist.
-// It also creates stub functions for those functions that are missing in window.console.
-// (Safari implements some but not all of the firebug window.console methods--this implements the rest.)
-(function() {
-    var names = [ "log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group",
-                  "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd" ];
-
-    if (typeof(console) === 'undefined' || typeof console === "function" ) {
-      //"typeof function" is needed see PP-769 
-      console = {};
-    }
-
-    for (var i = 0; i < names.length; ++i) {
-       if (typeof(console[names[i]]) === 'undefined') {
-          console[names[i]] = function() { return false; };
-       }
-    }
-    ncbi.sg.getInstance().init();                          
-})();
Binary file Blast output page example_files/addOrg.jpg has changed
Binary file Blast output page example_files/black.gif has changed
--- a/Blast output page example_files/blast.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,308 +0,0 @@
-
-function printfire()
-{
-    // Firefox
-    if (document.createEvent && window.dispatchEvent) {
-        printfire.args = arguments;
-        var ev = document.createEvent("Events");
-        ev.initEvent("printfire", false, true);
-        window.dispatchEvent(ev);
-    }
-}
-//This functions handle setting defaults for protein or nulcleotide suite  search page when
-//one of blast program radio buttons is clicked - not used now
-function AdjustMoreOptionsStyle()
-{
-	var optsEl = document.getElementById("moreopts");	
-	if(optsEl && optsEl.style.height != "0px") {
-		optsEl.style.height = optsEl.scrollHeight + "px";			
-	}
-}
-
-//Strip (taxid:XXX) from organism list selection
-//sgRunFunc="AdjustOrganism();" 
-function AdjustOrganism()
-{
-	var words = $("qorganism").value.split(" (taxid");
-	$("qorganism").value = words[0];		
-}
-
-
-/* JS Common to all BLAST pages */
-
-
-function setResultsTarget()
-{
-	//var newWin = $("newwin");	
-	var newWin = this;	
-	var searchFrm = $(newWin.getAttribute("form"));				
-	if(newWin && newWin.checked == true) {
-		if(newWin.getAttribute("winType") == "random") {		    
-			searchFrm.target = "Blast_Results_for_" + Math.floor(Math.pow(10,10) *Math.random());
-		}
-		else {
-			searchFrm.target = $("resPageTarget").value;		
-		}
-	}	
-	else {		
-		searchFrm.target = "";
-	}
-}
-
-function diffFromDefault(elem)
-{
-    var currentVal = "";
-    var ret = 0;
-
-    if (!(elem)) return;
-    var defVal = elem.getAttribute("defVal"); //Default value    
-    var elShowDiff = utils.getParent(elem);
-    if(!elem.type) {//div element for example
-        //Check if parent elem has "hide" class
-        if(utils.hasClass(utils.getParent(elem), "hide")) {
-            currentVal = "hide";
-        }
-        else {
-            currentVal = "show";
-        }   
-        elShowDiff = elem;
-    }
-    else if(elem.type == "select-one") {
-        if(elem[elem.selectedIndex].value) currentVal = elem[elem.selectedIndex].value;
-        //If Default value is not specified - the first one in the selection list is the default          
-        if (!defVal && elem[0].value) defVal = elem[0].value;  
-    }
-    else if(elem.type == "select-multiple") {
-	    currentVal = "";//for now
-    }
-    else if(elem.type == "checkbox") {
-        //alert("defVal1=" + elem.id + " " + defVal);
-        //var defVal = elem.defVal; //Default value
-        //alert("defVal2=" + defVal);
-        if(elem.checked == true) currentVal = "checked"
-        else  currentVal = "unchecked";        
-    }
-    else {
-        currentVal = elem.value;
-    }
-    
-    
-    var numdiff = parseInt($("NUM_DIFFS").value,10);    
-    var optsNumDiff = parseInt($("NUM_OPTS_DIFFS").value,10);    
-    if(defVal != currentVal) {        
-        if(!utils.hasClass(elShowDiff, "nondef")) {        
-            utils.addClass(elShowDiff, "nondef");            
-            numdiff++;            
-            if(utils.hasClass(elem,"opts")) optsNumDiff++;        
-        }     
-        ret = 1;        
-    }
-    else {        
-        if(utils.hasClass(elShowDiff, "nondef")) {
-            utils.removeClass(elShowDiff, "nondef");        
-            //alert("noDiff-" + elem.id);
-            if(numdiff != 0) numdiff--;       
-            if(utils.hasClass(elem,"opts")) optsNumDiff--; 
-        }         
-        ret=0;
-    }
-    $("NUM_DIFFS").value = numdiff;       
-    $("NUM_OPTS_DIFFS").value = optsNumDiff;       
-    if(numdiff > 0) {    
-        $("diffMes").style.display = "inline";          
-    }
-    else {
-        $("diffMes").style.display = "none";           
-    }      
-    //alert(elem.id + " " + $("NUM_DIFFS").value);
-    return ret;    
-}
-
-function setDefalValue(elem)
-{
-    var currentVal;    
-    var defVal = elem.getAttribute("defVal"); //Default value    
-    if(elem.type == "select-one") {
-        //If Default value is not specified - the first one in the selection list is the default          
-        if(!defVal) defVal = elem[0].value;  
-        for(j=0; j < elem.options.length; j++) {
-		    if(elem.options[j].value == defVal) {
-		        elem.options[j].selected = true;
-		        break;
-		    }
-        }       
-    }
-    else if(elem.type == "checkbox" || elem.type == "radio") {        
-        if(!defVal) defVal = "checked";
-        if(defVal == "checked") elem.checked = true        
-        else elem.checked = false;
-    }
-    else {
-        if(!defVal) defVal = "";
-        elem.value = defVal;
-    }
-    
-    var elShowDiff = utils.getParent(elem);    
-    if(utils.hasClass(elShowDiff, "nondef")) {
-        utils.removeClass(elShowDiff, "nondef");        
-    }            
-    //alert(elem.id + " " + $("NUM_DIFFS").value);    
-}
-
-function newResultsWinInit() {
-    jQuery("[class='newwin']").each(function(index) {
-        utils.addEvent(this, "click", setResultsTarget, false);
-    });
-}
-
-function resetOrganismSuggest(orgEntryElem) 
-{
-    //suggestHint is in the hidden field used for SRA
-    var defaultMessage = ($("suggestHint")) ? $("suggestHint").value : "Enter organism name or id--completions will be suggested";
-    var suggestHint = $("qorganism").getAttribute("suggestHint");
-    if(suggestHint) defaultMessage = suggestHint;
-    if(orgEntryElem.value == "") {
-        orgEntryElem.value = defaultMessage;
-    }
-    if(orgEntryElem.value == defaultMessage) {            
-        utils.addClass(orgEntryElem,"orgHint");
-    }
-}  
-
-function setupOrganismSuggest(orgEntryElem)
-{
-    resetOrganismSuggest(orgEntryElem); 
-    utils.addEvent(orgEntryElem, "focus", function() {
-        clearOrgSuggest(orgEntryElem);        
-     }, false);     
-}
-
-function clearOrgSuggest(orgEntryElem)
-{
-    if(utils.hasClass(orgEntryElem,"orgHint")) {
-        orgEntryElem.value="";            
-        utils.removeClass(orgEntryElem,"orgHint");
-    }
-}    
-
-function InitCustomButton(bn)
-{
-  utils.addEvent(bn, "mouseover", function() {this.src = this.getAttribute("mouseovImg");}, false);
-  utils.addEvent(bn, "mouseout", function() {this.src = this.getAttribute("mouseoutImg");}, false);
-  utils.addEvent(bn, "mousedown", function() {this.src = this.getAttribute("mousedownImg");}, false);
-  utils.addEvent(bn, "mouseup", function() {this.src = this.getAttribute("mouseupImg");}, false);    
-}
-
-function showHideElem(id,hide)
-{
-  if($(id)) {
-    if(hide) {
-	    if(!utils.hasClass($(id),"hidden")) utils.addClass($(id), "hidden");	    
-	}
-	else {
-	    if(utils.hasClass($(id),"hidden")) utils.removeClass($(id), "hidden");	    
-	}	
-  }
-}
-
-function resetOrganismControls(orgEntryElem) {
-    resetOrganismSuggest(orgEntryElem);
-    if ($("orgExcl")) $("orgExcl").checked = false;
-    utils.replaceInHtml("", $("orgs"));
-    if ($("frOrgs")) utils.replaceInHtml("", $("frOrgs"));
-    if ($("numOrg")) $("numOrg").value = 1;
-}
-
-function AddOrgRow(e,orgName,exclName) {
-    e = e || window.event;
-    utils.preventDefault(e);
-    var checkedExclude = new Array();
-    var orgDict = jQuery($($("qorganism"))).ncbiautocomplete("option","dictionary");
-    orgDict = (!orgDict || orgDict == "") ? "taxids_sg" : orgDict;
-    var len = $("qorganism").getAttribute("size");
-    
-    var newOrgFieldID = "qorganism" + $("numOrg").value;
-    var newOrgField = " <div><input name=\"" + orgName + $("numOrg").value + "\" size=\"" + len + "\" id=\"" + newOrgFieldID +
-                       "\" type=\"text\" data-jigconfig=\"dictionary:'" + orgDict + "'\" autocomplete=\"off\" class=\"jig-ncbiautocomplete multiOrg\" />";
-    if (exclName != "") {
-        newOrgField += "<span class=\"orgExcl\">" +
-                       "<input type=\"checkbox\" name=\"" + exclName + $("numOrg").value + "\" class=\"oExcl cb\" id=\"orgExcl" + $("numOrg").value + "\" />" +
-                       "<label for=\"orgExcl" + $("numOrg").value + "\" class=\"right oExclRl\">Exclude</label></span>";
-    }
-    newOrgField += "</div>";
-    if (navigator.userAgent.match(/ie/i)) {
-        for (i = 1; i < $("numOrg").value; i++) {
-            if ($("orgExcl" + i)) checkedExclude[i] = $("orgExcl" + i).checked;
-        }
-    }
-    if (!navigator.userAgent.match(/firefox/i)) {    
-        jQuery($($(orgs))).append(newOrgField,true);
-    }
-    else {
-        utils.insertInHtml(newOrgField, $("orgs"));
-    }
-
-    if (navigator.userAgent.match(/ie/i)) {
-        for (i = 1; i < $("numOrg").value; i++) {
-            if ($("orgExcl" + i)) $("orgExcl" + i).checked = checkedExclude[i];
-        }
-    }
-    setupOrganismSuggest($(newOrgFieldID));
-    jQuery($($(newOrgFieldID))).ncbiautocomplete();
-    $("numOrg").value++;    
-}
-
-function adjustOrgVal(orgEntryElem) 
-{
-    //if (utils.hasClass($("searchForm").EQ_MENU, "orgHint")) $("searchForm").EQ_MENU.value = "";
-    clearOrgSuggest(orgEntryElem);
-    if ($("numOrg")) {
-        for (i = 1; i < $("numOrg").value; i++) {
-            if ($("qorganism" + i)) {
-                clearOrgSuggest($("qorganism" + i));
-            }
-        }
-    }
-}
-
-function getUrlCompForEntryField(elem) {
-    var url = "";
-    if (elem && elem.value != "") {
-        url = "&" + elem.name + "=" + escape(elem.value);
-    }
-    return url;
-}
-
-
-function getUrlCompForCheckedField(elem) {
-    var url = "";
-    if (elem && elem.checked) {
-        url = "&" + elem.name + "=" + elem.value;
-    }
-    return url;
-
-}
-
-function getUrlCompForOptionsField(elem) {
-    var url = "";
-    if (elem) {
-        url = "&" + elem.name + "=" + elem[elem.selectedIndex].value;
-    }
-    return url;
-}
-
-function getUrlCompForMultiOptionsField(elem) {
-    var url = "";
-    if (elem) {
-        for (i = 0; i < elem.options.length; i++) {
-            if (elem.options[i].selected) {
-                url += "&" + elem.name + "=" + elem.options[i].value;
-            }
-        }
-    }
-    return url;
-}
-
-  
-utils.addEvent(window, 'load', newResultsWinInit, false);
-
--- a/Blast output page example_files/blastReq.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,332 +0,0 @@
-#msgR .info {
-background-color: #dfd;
-padding: 4px;
-border: solid 1px green;
-color: green;
-}
-
-dl.summary dt {
-float: left;
-width: 8em;
-clear:left;
-margin: 0;
-text-align: right;
-padding-right: 1em;
-color: #666;
-}
-
-dl.summary dd {
-padding-left: 0.5em;
-display: block;
-margin-left: 7em !important;
-margin: 0;
-}
-dl.summary dt, dl.summary dd {
-margin-bottom: 0.5em;
-}
-a.help 
-{
-float:right;	
-font-size: 110%;
-}
-
-dl.summary label {
-display: inline;
-}
-
-dl.summary tr th label {
-padding: 0;
-margin-right:0;
-}
-table.options {
-border: solid 1px #ccc;
-border-right: solid 1px #ccc;
-}
-
-table.options td,
-table.options td.frh {
-font-size: 90%;
-_font-size: 85%;
-}
-
-table.options label.rb {
-border-right: solid 1px #ccc;
-margin-right: 0.5em;
-padding-right: 2.0em;
-}
-
-table.options tr td {
-_font-size: 90%;
-padding-left: 0.5em;
-}
-
-table.options {
-/*border-collapse: collapse;*/
-margin-left: 0;
-padding-left: 0;
-width: 62em;
-}
-
-table.options td label {
-font-size: 90%;
-}
-
-table.options th label,
-table.options td label {
-margin-right: 0;
-_position: relative;
-_top: -0.1em;
-}
-
-table.options tr.hdr td,
-table.options tr.hdr th {
-padding: 2px;
-border: solid 1px #ccc;
-background-color: #ddd;
-}
-
-table.options td, table.options td.frh {
-padding: 0.25em 0;
-vertical-align: center;
-}
-
-table.options th {
-padding-right: 1em;
-text-align: right;
-padding-left: 1em;
-}
-
-/*
-*:focus{
-background-color: white !important;
-}
-*/
-
-table.options select,table.options input, #graphic input{
-border: solid 1px #888;
-padding: 1px;
-}
-
-select {
-font-size: 90%;
-}
-
-select option {
-padding-right: 0.5em;
-}
-
-input.cb, table.options input.cb {
-border: none;
-}
-
-select {
-margin-right:1em;
-}
-
-table.options tr {
-background-color: #eee;
-}
-
-table.options tr.odd {
-background-color: #e0e0e0;
-}
-
-table.options th {
-
-background-color: white;
-}
-
-table.options tr.paramSet td
-{
-	border-top: solid 2px white;		
-}
-
-
-
-
-.resetAll 
-{
-font-weight: normal;
-padding: 0.5em;
-font-size: 90%;
-margin-left:5em;
-}
-
-.button {
-background-color: #ccc;
-padding: 0.25em 0.25em;
-color: black;
-border: outset 3px #eee;
-_border: outset 3px #eee;
-font-size: 90%;
-_padding:0;
-font-weight: bold;
-height:25px;
-_height:22px;
-}
-
-.fbtn {
-margin-bottom: 0.5em;
-}
-
-.note {
-font-size: 80%;
-color: green;
-background-color: #ffc;
-margin-left: 2em;
-padding: 3px;
-}
-.instr {
-   margin-left: 1em;
-   color: #666;
-font-size: 90%;
-}
-.smaller {
-font-size: 90%;
-font-weight: normal;
-}
-
-/* Results Page styles */
-
-#ridRes 
-{
-	background-color: #FC9;	
-	padding:5px 5px;	
-}
-
-
-span dd.hidden,dt.hidden,dd.hidden span
-{
-	display:none;
-}
-
-dl.query .query,
-dl.title .title,
-dl.entrez .entrez,  
-dl.db .db  
-{
-	display:block;	
-}
-
-
-dl.entrez span.entrez
-{
-	display:inline;	
-}
-
-.hidden {
-display: none;
-}
-.hide {
-display: none;
-}
-.shown {
-display: block;
-}
-
-
-
-table.megaBlast tr.psiBlast,
-table.blastn tr.psiBlast,
-table.blastx tr.psiBlast,
-table.tblastn tr.psiBlast,
-table.tblastx tr.psiBlast,
-table.discoMegablast tr.psiBlast
-{
-display: none;
-}
-
-
-table.GlobalAln .xgl,
-body.GlobalAln div.xgl,
-body.GlobalAln dt.xgl,
-body.GlobalAln dd.xgl,
-body.GlobalAln span.xgl,
-body.GlobalAln table.xgl
-{
-display: none;
-}
-
-.dispType
-{
-	/*background-color:White;
-	border:solid 1px black;*/	
-	border-top:solid 2px gray;
-	border-left:solid 2px gray;	
-	font-size:90%;	
-	padding-left:2px;
-	
-}
-
-.newwin {
-border: none;
-}
-
-table.options .helplink
-{
-    font-weight:bold;
-    position:absolute;
-    right:0;
-}
-
-div#query label 
-{
-    display: inline;
-    font-weight:bold;
-    padding-right:1em;
-}
-#NEW_VIEW
-{
-    _margin-left:-2px;
-}
-
-
-table.blastp *.blastn,
-table.psiBlast *.blastn,
-table.phiBlast *.blastn,
-table.blastx *.blastn,
-table.tblastn *.blastn,
-table.tblastx *.blastn
-{
-display: none;
-}
-
-#formatTable th.col1 {
-width: 8em;
-vertical-align: top;
-}
-/*
-#formatTable .helplink span {
-position: relative;
-}
-*/
-#org
-{
-    margin-top:2em;      
-}
-#qorganism
-{
-    /*display:block;*/
-}    
-.fi
-{
-    position:relative;
-}
-
-a#organismHelp
-{
-    margin-top:-1.5em;
-}
-
-table.options tr.paramSet td.hd {
-padding-right: 1em;
-text-align: right;
-padding-left: 1em;
-background-color:White;
-font-weight:bold;
-border-top:none;
-}
-.oExcl
-{
-    margin-left:2px;
-}
--- a/Blast output page example_files/blastRes.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,262 +0,0 @@
-a#refPage
-{
-	margin-left:3em;	
-}
-
-a.resLink
-{
-	margin-left:1em;
-	display:none;
-}
-
-a.resLinkhidden 
-{
-	display:none;
-}
-
-
-#cddResults
-{
-	float:right;
-	margin-top:-2em;
-	margin-right:1em;
-	color:#336699;
-    font-size:100%;
-}
-
-#cddResults.showing { 
-   background-image: url(images/down.gif);   
-}
-
-
-
-div.inlineDiv
-{
-	display:inline;
-}	
-
-span.reslink
-{
-	display:none;
-}
-
-div.statPage *.statPage,
-div.resPage *.resPage
-{
-	display:inline;
-}
-
-div.resHeader *.hidden 
-{
-	display:none;
-}
-
-#cddInfo 
-{
-    text-align:center;
-}
-#cddDesc 
-{
-    font-weight:bold;
-}
-div#desctbl 
-{
-border: solid 1px #018aac;
-/*min-width: 1000px;*/
-margin: none;
-width: 100%;
-background-color:White;
-/*line-height:0;
-_line-height:0;*/
-}
-
-table#descs 
-{
-font-family: Verdana, Sans-Serif;
-font-size: 90%;
-_font-size: 86%;
-border-collapse: collapse;
-/*min-width: 600px;*/
-width: 100%;
-}
-
-table#descs th a {
-text-decoration: none;
-color: #00c;
-}
-
-table#descs th a:visited {
-color: #00c;
-}
-
-table#descs th a:hover {position: relative;
-text-decoration: underline;
-}
-
-table#descs tr th.l,
-table#descs tr td.l {
-text-align: left;
-}
-
-table#descs tr th.sp {
-background-color: #def;
-}
-
-table#descs tr th,
-table#descs tr td {
-text-align: center;
-padding: 1px 4px;
-}
-
-table#descs tr.first th {
-padding-left:18px;
-border-left: solid 1px #A0ceff;
-border-top: solid 1px #A0ceff;
-border-bottom: solid 1px #018aac;
-border-right: solid 1px #018aac;
-padding-right: 8px;
-/*background-color: #01d5ff;*/
-background-color: #9cf;
-/*font-size: 92%;*/
-white-space:normal;
-line-height: 1.2em
-}
-
-
-table#descs td {
-border: solid 1px #ccc;
-border-width: 0px 1px;
-white-space:nowrap;
-overflow: hidden;
-}
-
-.slink {
-font-size: 90%;
-font-weight: normal;
-}
-
-table#descs tr.first th.sel {
-background: #9cf url(images/up.gif) no-repeat center left;
-padding-left: 18px;
-padding-right: 18px;
-}
-
-div.lim 
-{    
-/*overflow: hidden;-this used to work in Firefox 2- comment for now and set the width */
-width: 35em;
-display: inline-block;
-height: 1.3em;
-}
-
-table#descs tr:hover {
-background-color: #def;
-}
-
-pre 
-{
-	font-size:110%;
-	_font-size:100%;	
-	line-height:1;
-}
-
-#msg 
-{
-    white-space:normal;
-    border-color:#cccccc;
-    padding:0;
-    margin: 0;   
-    margin-top:2px; 
-}
-#msg li 
-{
-    display:none;
-    padding:0;
-    margin: 0;
-    text-indent: 0;
-}
-#msg li.warning, #msg li.error ,#msg li.info 
-{
-    display:block;
-} 
-
-#msg ul
-{
-    margin:0;    
-    padding:0;    
-} 
-
-table#statInfo
-{
-    border: solid 1px #ccc;
-    background-color: #eee;
-    width: 100%;    
-}
-
-table#statInfo tr.odd {
-background-color: #e0e0e0;
-}
-
-.READY, .UNKNOWN 
-{
-    display:none;
-}
-
-p.WAITING 
-{
-    margin-top:1em;
-}
-
-#frmPage
-{
-	margin-left:1em;
-}
-
-span.Gene_PubMedLinks
-{
-    color: Green; font-weight: bold;
-}
-
-ul.msg li p
-{
-    display:none;
-}
-
-.msg li p.warning, .msg li p.error, .msg li p.success,.msg li p.info  
-{
-    display:block;
-} 
-
-.mdlbox
-{
-    white-space:pre;
-    background-color:Transparent;
-    border:none;
-}
-
-#blastErr
-{
-    white-space:normal;
-}
-
-
-
-#RSIFrameNoRes,#RSIFrameDesc,#RSIFrameAln
-{
-    border:none;
-    width:519px;
-    height:35px;    
-    margin:0px auto;
-}
-
-
-a.ui-ncbitoggler.hidden, a.ui-ncbitoggler-open.hidden
-{
-    display:none;
-}
-
-.smn {
-  display: inline-block;
-  height: 16px;
-  width: 16px;
-}
--- a/Blast output page example_files/dynFormatRes.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,623 +0,0 @@
-/* style changes for redesign begin*/
-a.gbd
-{
-    text-decoration:none;
-}
-
-tr.dflLnk td span
-{ 
-    font-size:78%; 
-    display:none;
-    text-align:center;
-}
-a.dflSeq
-{
-    color:#369;
-    text-decoration:underline;
-    width:auto;    
-}
-table.defln tr.dflLnk a
-{
-	margin-right:auto;	
-	padding-left:0;
-}
-
-.alnParLinks
-{
-    float:right;    
-}
-
-.alnSeqLinks
-{
-    float:right;
-    margin-right:1em;    
-}
-
-
-.seqlinks select
-{
-    padding:0;
-}
-
-.dlfRow div
-{
-    font-size:90%;
-}
-
-.dlfRow
-{
-    display:inline;
-    font-size:110%;
-}
-
-.dlfRow.hidden
-{
-    display:none;    
-}
-.dlfRow label
-{
-    font-size:87%;
-    display:inline;
-    color:#606060;
-    font-weight:bold;
-}
-
-.dlfRow span.r label
-{
-    padding-left:0.8em;
-}
-
-
-div.relInf
-{
-    font-family: Verdana, Sans-Serif;
-    font-size: 80%;
-    float:right;    
-    width:21%;
-    border-top:solid 2px gray;
-    margin-top:-1em;
-    margin-right:3.5em;
-    left:3em;
-    max-width:25em;    
-    padding-left:1em;
-    position:relative;    
-    white-space:normal;    
-}
-
-div.relInf a
-{
-    padding-right:0.2em;
-}
-
-.rlLink
-{
-    padding-left:0.2em;
-}
-.relInf label
-{
-    font-size:110%;
-    color:brown;
-    font-weight:bold;    
-}
-div#content
-{
-    min-width:70em;
-}
-
-.dflLnk a
-{
-	font-size:90%;
-}
-a.dflSeq
-{
-    width:auto;
-    font-weight:normal;
-}
-
-
-#cntDesc,#cntDesc_psiw  
-{
-    margin-bottom:0.2em;
-    display:inline-block;
-    width:20em;
-}
-#cntDesc span,#cntDesc_psiw span
-{
-    margin-right:0.5em;
-}
-
-#cntDesc a,#cntDesc input,#cntDesc_psiw a,#cntDesc_psiw input
-{
-    margin-left:0.5em;
-}
-
-#cntSelNone,#cntShAll
-{
-    margin-left:0.2em;
-}
-
-.toolsCtr
-{
-    color:Blue;    
-}
-
-table.ui-ncbigrid th span.slink a 
-{
-  display:inline;  
-  padding-right: 0;  
-}
-table.ui-ncbigrid th.sp
-{
-    font-weight:bold;
-}
-
-table.ui-ncbigrid th span.slink
-{
-    margin-left:0.2em;
-}
-
-table.ui-ncbigrid td {
- white-space:nowrap;
-}
-table.ui-ncbigrid td.c3
-{
-    /*padding-left:0.8em;*/
-}
-table.ui-ncbigrid caption
-{
-    font-size:0;
-    line-height:0;
-}
-#content h3.cap,#content h3.cap a.ui-ncbitoggler.ui-widget, #content h3.cap a.ui-ncbitoggler-open
-{
-    color:#4d4d4d;
-    text-align:left;
-    margin:0 0 0.5em 0;
-}
-
-#content div.cap,#content div.cap a.ui-ncbitoggler.ui-widget, #content div.cap a.ui-ncbitoggler-open
-{
-    color:#4d4d4d;
-    text-align:left;
-    margin:0 0 0.5em 0;
-    letter-spacing:-1px;
-    font-size:110%;
-    font-weight:bold;
-}
-
-#descriptions div.caption-exists {
-  margin: 0;
-}
-
-/**********decrition toolbar styles *********/
-
-div.cnf {
-  -moz-border-bottom-colors: none;
-  -moz-border-image: none;
-  -moz-border-left-colors: none;
-  -moz-border-right-colors: none;
-  -moz-border-top-colors: none;  
-  background: url("images/cnf.png") repeat scroll 0 0 transparent; 
-  border-style: solid none none;
-  border-width: 1px medium medium;
-  /*clear: left;*/
-  height: 22px;
-  /*overflow: auto;*/
-  width: 100%;
-}
-
-ul.ui-ncbilocalnav li.has-child a.button_config {
-  background: url("/portal/portal3rc.fcgi/3493904/img/81796") no-repeat scroll right center transparent !important;
-  width: 22px;
-  height:22px;
-  margin-left:12em;
-}
-
-#li-config
-{
-    float:right;
-    width:17em;
-}
-div#descTblCtrl ul.ui-ncbilocalnav li
-{
-    border-right:none;
-}
-
-
-.cfg
-{
-    font-size:90%;
-}
-
-
-.oneSeqAln .hsp label
-{
-    color:#606060;
-    font-size:95%;
-    padding-right:0.5em;
-}
-
-.oneSeqAln pre
-{
-    margin-top:0.5em;
-}
-
-.aln_feat label
-{
-  color: #606060;
-  font-size: 95%;
-  padding-right: 0.5em;  
-}
-.oneSeqAln .dflLnk.aln_feat
-{
-    padding-bottom:1em;
-}
-div.oneSeqAln h4
-{
-    border:none;
-    font-size:100%; 
-    font-weight:normal;
-    letter-spacing:normal;
-    margin:0;
-}
-    
-.oneSeqAln .dflLnk
-{
-    width:56em;
-}
-.aln_feat a
-{
-    margin-left:1em;
-    display:block;
-}
-.dflLnk.aln_feat div
-{
-  /*display:inline-block;  */
-  margin-left:5em;
-  margin-top:-1em;
-}
-.aln_frame.shown
-{
-    display:block;
-}
-/*align params styles change */
-
-table.alnParams
-{
-    border-left:none;        
-    border-right:none;        
-    margin-top:0.5em;
-    width:49em;
-}
-
-table.alnParams th
-{
-    background-color:Transparent;    
-    border:none;    
-    text-align:left;
-}
-
-table.alnParams td
-{
-   border:none;      
-}
-
-
-.alnAll
-{
-    line-height:normal;
-    margin-top:1em;
-}
-
-.alnAll div
-{
-    width:70%;
-}
-
-/**new config staff begin**/
-.popDl
-{
-    display:none;
-}
-.popDl div
-{
-    margin-top:0.5em;
-}
-.popDl div.tl
-{
-    margin-top:0;
-    font-weight:bold;
-}
-a.button_config {  
-  background: url("images/cnfButn.png") no-repeat scroll right center transparent !important;
-  width: 22px;
-  height:22px;
-  margin-left:12em;
-  float:right;
-}
-
-a.toolsCtr,span.csLinks a
-{
-    margin-left:8px;
-    float:left;
-    cursor:pointer;
-}
-
-a.toolsCtr[disabled] {
-  cursor: default;
-}
-
-
-a.toolsCtr SPAN
-{
-	color: #14376c;
-	/*line-height: 22px;*/
-	padding-left: 15px;
-	background-repeat: no-repeat;
-	background-position:left center;		
-}
-
-a.toolsCtr[disabled] SPAN,a.toolsCtr[disabled]
-{
-    color:#C2C2C2;
-}
-
-a.dnld span
-{
-	background-image: url("images/dndl.png");
-}
-
-a.dnld[disabled] span
-{
-	background-image: url("images/dndl_dsb.png");
-}
-
-a.dialog
-{
-	padding-right: 18px;
-	background:transparent url(images/dialog.png) no-repeat scroll right center;	
-	text-decoration:none;
-}
-
-a.dialog[disabled] {
-    background-image: url("images/dialog_dsb.png");
-}
-
-
-a.alnNav span
-{
-	background-image: url("images/align_Normal.png");
-}
-
-a.alnNav
-{
-    text-decoration:none;
-}
-
-
-a.navNext span
-{
-	background-image: url("images/next_Normal.png");
-}
-
-
-a.navNext[disabled] span
-{	
-	background-image: url("images/next_Inactive.png");
-}
-
-
-a.navPrev span
-{
-	background-image: url("images/prev_Normal.png");
-}
-
-
-a.navPrev[disabled] span
-{
-	background-image: url("images/prev_Inactive.png");
-}
-
-
-a.navBack span
-{
-	background-image: url("images/table_Normal.png");
-}
-
-.alnRn
-{
-    float:left;
-}
-
-
-/* styles to change per discusssion with Mark begin*/
-.dflLnk a
-{
-	padding-left:0;	
-}
-
-
-table.ui-ncbigrid th {
-  padding-left:0.3em;
-  padding-right:0;
-  text-align:center;  
-}
-
-table.ui-ncbigrid td {
-  padding-left:0.4em;
-  padding-right:0.4em;
-  text-align:center;  
-}
-
-table.ui-ncbigrid td.c2,table.ui-ncbigrid td.c1 {  
-  text-align:left;  
-}
-
-table.ui-ncbigrid td.c3{
-  padding:0.363em 0.25em;
-}
-
-
-table.ui-ncbigrid th a {
-  padding-right: 5px;
-}
-table.ui-ncbigrid th.c0
-{
-    width:25px;
-    padding:0;
-}
-
-.dflnDth
-{
-    width:100%;
-}
-div.lim { 
-  width: 14em;
-}
-
-table.ui-ncbigrid th.c8,table.ui-ncbigrid th.c9 {  
-  padding-right: 0.3em;  
-}
-.c8,.c9
-{
-    font-size:80%;
-}
-
-
-td.lim.l.c2,td.lim.l.c1 
-{
-    overflow:hidden;
-}
-a.spr
-{ 
-    border-right:none; 
-}
-
-
-.psiInp 
-{
-    margin-left:1em;
-    margin-top:0.5em;
-}
-
-
-.c8 input
-{
-    border:none;
-}
-table.ui-ncbigrid td.c8
-{
-    padding-left:1.5em;
-}
-
-tr.psi_new td
-{
-    background-color:#FFFF99;
-    border-top:solid 4px white;
-    border-spacing:3px;
-    border-collapse:collapse;
-    line-height:normal;
-}
-/* accessibility setting */
-tr.dflLnk td span.psiNw,tr.first th span,a.button_config span, a span.accsb,.dflLnk label.accsb
-{
-    display:inline;
-    position:absolute;
-    left:-9999px;
-}
-
-div.tgl
-{
-    margin-top:-1em;
-}
-.shcl
-{
-    float:right;
-}
-
-/* styles to change per discusssion with Mark end*/
-
-.alnRn a
-{
-    padding-right:1em;
-}
-.alnAll .moreHsps
-{
-    font-family: Verdana, Sans-Serif;
-    font-size: 75%;        
-    margin-top:-2.5em;
-    width:58%;
-}
-.erm
-{
-    background-color:#FFFFCC;
-    padding:0.5em;    
-}
-
-#debug,.ind,.alnMsgS .db,.erm .db
-{
-    display:none;
-}
-
-.tmsAln label
-{
-    font-size:93%;
-    display:inline;
-    color:#606060;
-    font-weight:bold;
-}
-.alnAll .tmsAln, .tmsAln div
-{
-    width:100%;
-    margin-bottom:-1em;
-}
-.tmsAlnPar
-{
-    margin-top:-1em;
-}
-/*debug info styles begin */
-
-
-/* use those styles only in debug version 
-
-.alnMsg
-{
-    border:solid 1px black;
-}
-
-.alnMsgS.hidden,.alnMsgS .db
-{
-    display:block;
-}
-
-.oneSeqAln
-{
-    border:1px solid #C8C8C8;
-}
-
-#debug,tr.dflLnk td span.ind
-{
-    display:inline;
-}
-.c0
-{
-    width:30px;
-}
-/*debug info styles end */
-
-
-
-/**new config staff end**/
-/*
-ul.ui-ncbilocalnav li, ul.ui-ncbilocalnav {
-  background-color: #F4F4F4;
-  background-image: -moz-linear-gradient(center top , #FFFFFF, #F4F4F4);
-}
-ul.ui-ncbilocalnav li {
-  border-right: 1px solid #C4C4C4;
-}
-*/
-/**********decrition toolbar styles end*********/
-
-
-/* style chenges for redesign end*/
--- a/Blast output page example_files/firefox-descriptions.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-table.dbInfo caption {    
- 
-}
\ No newline at end of file
--- a/Blast output page example_files/format.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,270 +0,0 @@
-
-function UpdateDisplayTypes(displayTypes) {	
-    dispMenu = displayTypes.options;		
-    for(i=0; i < dispMenu.length; i++) {
-	    //if(!utils.hasClass(displayTypes,"psiBlast") && !utils.hasClass(displayTypes,"phiBlast") ||
-	    if($("stepNumber").value == "" || $("stepNumber").value < 2) {	    	    
-			if(dispMenu[i].value.indexOf("PSSM") != -1) {
-				dispMenu[i--] = null;
-				//break;
-			}			
-		}		
-	}	    
-}
-
-function GetIndexByValue(selectElem,val) {	
-    var idx = 0;
-    var opts = selectElem.options;		
-    for(i=0; i < opts.length; i++) {
-        if(opts[i].value == val) {
-            idx = i;
-            break;
-        }
-    }	
-    return idx;	    
-}
-
-function resetAdvView(show)
-{
-    var advView = $("advView");    
-    if(show) {
-        if(utils.hasClass(advView, "hidden")) {
-            utils.removeClass(advView, "hidden");
-        }    
-    }
-    else {
-        utils.addClass(advView, "hidden");
-    }
-}
-
-
-function ShowOrHide(hide,elem)
-{
-    if(hide) {
-        if(!utils.hasClass(elem, "hidden")) {
-            utils.addClass(elem, "hidden");
-        }    
-    }
-    else {
-        if(utils.hasClass(elem, "hidden")) {
-            utils.removeClass(elem, "hidden");
-        }    
-    }
-}    
-
-function UpdateFormatTypes(form) {    
-    var selectedObjType = form.FORMAT_OBJECT[form.FORMAT_OBJECT.selectedIndex].value;
-    var hideAdvView = false;
-    bioseqFormatHide = true;
-    pssmFormatHide = true;
-    pssmScFormatHide = true;
-    formatTypeHide = true;
-	if (selectedObjType == "Alignment") {
-		formatObjectSelectedIndex = 0; //HTML		
-		formatTypeHide = false;		
-		hideAdvView = true;
-	}
-    if (selectedObjType == "PSSM") {		
-		formatObjectSelectedIndex = GetIndexByValue(form.FORMAT_TYPE,"Text");	
-		pssmFormatHide = false;		
-    }
-    if (selectedObjType == "PSSM_Scoremat") {		
-		formatObjectSelectedIndex = GetIndexByValue(form.FORMAT_TYPE,"ASN.1");		
-		pssmScFormatHide = false;		
-    }    
-    else if (selectedObjType == "Bioseq") {		
-		formatObjectSelectedIndex = GetIndexByValue(form.FORMAT_TYPE,"ASN.1");		
-		bioseqFormatHide = false;		
-    }
-    form.FORMAT_TYPE.selectedIndex = formatObjectSelectedIndex;     
-	ShowOrHide(formatTypeHide,form.FORMAT_TYPE);
-	if ($("bioseqFormat")) {
-	    ShowOrHide(bioseqFormatHide,$("bioseqFormat"));
-	    $("bioseqFormat").readOnly=true;		
-	}
-	if ($("pssmFormat")) {
-	    ShowOrHide(pssmFormatHide,$("pssmFormat"));
-	    $("pssmFormat").readOnly=true;	
-	}
-	if ($("pssmScFormat")) {
-	    ShowOrHide(pssmScFormatHide,$("pssmScFormat"));
-	    $("pssmScFormat").readOnly=true;	
-	}	
-	resetAdvView(hideAdvView);
-}	
-
-function ResetForm()
-{
-    //var defValNodes = cssQuery(".reset");	
-    defValNodes = $("FormatForm").elements;
-	for(i=0; i < defValNodes.length; i++) {	  	  
-	  if(utils.hasClass(defValNodes[i],"reset"))
-	                 setDefalValue(defValNodes[i]); 	  
-	}
-	if ($("FormatForm").FORMAT_OBJECT.type == "select-one") {
-	    UpdateFormatTypes($("FormatForm"));
-	    UpdateDisplayTypes($("FormatForm").FORMAT_OBJECT);
-	}
-	if($("FormatForm").RUN_PSIBLAST.checked) setDefalValue($("FormatForm").I_THRESH)
-	else $("FormatForm").I_THRESH.value="";
-	//resetOrganismSuggest($("FormatForm").FORMAT_ORGANISM);
-	resetOrganismControls($("FormatForm").FORMAT_ORGANISM);
-	//TO DO: add threshold
-}
-
-function LimitByHitlistSize(list)
-{
-    var listBreak = false;
-    var optSel = false;
-    for(i=0; i < list.options.length; i++) {    
-        var optVal = parseInt(list.options[i].value ,10);
-        var hitListSize = parseInt($("maxNumSeq").value ,10);                
-        if(list.options[i].selected) optSel = true;
-        if(optVal >= hitListSize)  {
-            if(!optSel) {list.options[i].selected = true;}
-            list.options.length = i + 1; 
-            break;
-        }                
-    }             
-}
-
-function AddFormatOrgField(e) {
-    AddOrgRow(e, "FORMAT_ORGANISM", "FORMAT_ORG_EXCLUDE");
-}
-
-function initSubmit() {
-
-
-}
-
-function adjustFormatOptions() 
-{
-    var alignView = $("FormatForm").ALIGNMENT_VIEW;
-    var formatType = $("FormatForm").FORMAT_TYPE;
-    var queryAnch =  formatType[formatType.selectedIndex].value == "HTML" && (alignView[alignView.selectedIndex].value != "Pairwise" && alignView[alignView.selectedIndex].value != "PairwiseWithIdentities");
-    var dynFormatQA = !$("FormatForm").OLD_VIEW.checked && queryAnch;
-    dynFormatPW = !$("FormatForm").OLD_VIEW.checked && formatType[formatType.selectedIndex].value == "HTML" && (alignView[alignView.selectedIndex].value == "Pairwise" || alignView[alignView.selectedIndex].value == "PairwiseWithIdentities");    
-    
-    UpdateDescriptions(dynFormatPW);
-    if (dynFormatPW) {
-        jQuery("#frmAln").addClass("hidden");
-        if (!utils.hasClass($("shl"), "hidden")) jQuery("#shl").addClass("hidden"); //hide SHOW_LINKOUT
-        jQuery("#gts").addClass("hidden"); //hide GET_SEQUENCE
-        jQuery("#scf").removeClass("hidden");//show CDS_FEAT
-        $("FormatForm").SHOW_LINKOUT.checked = true;        
-    }
-    else {
-        if(dynFormatQA) $("FRM_ALIGNMENTS").selectedIndex = $("FRM_DESCRIPTIONS").selectedIndex;
-        
-        jQuery("#frmAln").removeClass("hidden");
-        if (dynFormatQA) {
-            if (!utils.hasClass($("shl"), "hidden")) jQuery("#shl").addClass("hidden"); //hide SHOW_LINKOUT
-        }
-        else {
-            jQuery("#shl").removeClass("hidden");
-        } 
-        if (queryAnch) {
-            jQuery("#scf").addClass("hidden"); //hide CDS_FEAT
-        }
-        else {//pairwise old_view=false
-            jQuery("#scf").removeClass("hidden"); //hide CDS_FEAT
-        }
-        jQuery("#gts").removeClass("hidden"); //GET_SEQUENCE
-    }
-    if ($("blastSpec").value == "VecScreen") {
-        adjustVecscreen(dynFormatPW);
-    }
-}
-
-function adjustVecscreen(dynFormatPW) 
-{
-    var dfltDescrInd = 0; //0
-    var dfltDynDescrInd = 5; //1000
-    var dfltAlnInd = 6; //1000
-    if (dynFormatPW) {
-        utils.addClass($("lr"), "hidden");
-        $("FRM_DESCRIPTIONS").selectedIndex = dfltDynDescrInd;        
-    }
-    else {
-        utils.removeClass($("lr"), "hidden");
-        $("FRM_DESCRIPTIONS").selectedIndex = dfltDescrInd;
-    }
-    $("FRM_ALIGNMENTS").selectedIndex = dfltAlnInd;
-}
-
-
-function UpdateDescriptions(removeZero) 
-{
-    if (removeZero) {        
-        dispMenu = $("FormatForm").DESCRIPTIONS;
-        dispMenu.remove(0);
-    }
-    else {
-        dispMenu = $("FormatForm").DESCRIPTIONS;        
-        if (dispMenu.options[0].value != "0") {            
-            if (navigator.userAgent.match(/ie/i)) {
-                dispMenu.add(new Option("0", "0"), 0);
-            }
-            else {
-                dispMenu.add(new Option("0", "0"), dispMenu[0]);
-            }
-        }
-	}
-}
-
-function InitDynFormatOptions() 
-{
-    if ($("OLD_VIEW")) {
-        utils.addEvent($("FormatForm").OLD_VIEW, "click", adjustFormatOptions, false);
-        utils.addEvent($("FormatForm").ALIGNMENT_VIEW,"change", adjustFormatOptions, false);
-        utils.addEvent($("FormatForm").FORMAT_TYPE, "change", adjustFormatOptions, false);
-        adjustFormatOptions();
-    }
-}
-
-function InitFormatPage()
-{
-    if ($("FormatForm").FORMAT_OBJECT.type == "select-one") {
-        UpdateDisplayTypes($("FormatForm").FORMAT_OBJECT);    
-        UpdateFormatTypes($("FormatForm"));
-        list = $("FormatForm").FORMAT_OBJECT;
-        utils.addEvent(list, "change", function() {
-            UpdateFormatTypes($("FormatForm"));
-                               },
-	                           false);
-    }
-    utils.addEvent($("resetAll"), "click",  ResetForm, false);         
-    if($("maxNumSeq") != null) {
-    if($("maxNumSeq").value != "") {
-        LimitByHitlistSize($("FormatForm").DESCRIPTIONS);
-        LimitByHitlistSize($("FormatForm").ALIGNMENTS);
-        LimitByHitlistSize($("FormatForm").NUM_OVERVIEW);        
-    }
-    }    
-    setupOrganismSuggest($("FormatForm").FORMAT_ORGANISM);
-    utils.addEvent($("FormatForm"), "submit", function() {
-                            adjustOrgVal($("FormatForm").FORMAT_ORGANISM);},
-                    false);
-                    
-    if ($("addOrg")) utils.addEvent($("addOrg"), "click", AddFormatOrgField, false);
-    InitDynFormatOptions();    
-	/* add this code if decide image for View Report
-	var imgButtons = jQuery("[class='viewReport']");
-    for (var i = 0; i < imgButtons.length; i++) {
-      var l = imgButtons[i];
-      utils.addEvent(l, "click", function() {$("FormatForm").submit();}, false);          
-      utils.addEvent(l, "mouseover", function() {l.src = l.getAttribute("mouseovImg");}, false);
-      utils.addEvent(l, "mouseout", function() {l.src = l.getAttribute("mouseoutImg");}, false);
-      utils.addEvent(l, "mousedown", function() {l.src = l.getAttribute("mousedownImg");}, false);
-      utils.addEvent(l, "mouseup", function() {l.src = l.getAttribute("mouseupImg");}, false);
-   }  
-   */ 
-}
-
-utils.addEvent(window, 'load', InitFormatPage, false);
-
-
-
-
-
-
--- a/Blast output page example_files/formatRes.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1542 +0,0 @@
-// JScript source code
-/*************************new code begin *******************************************************/
-
-function getHiddenFieldVal(elemName) {
-    var val;
-    var elem = document.getElementsByName(elemName);
-    if (elem) {
-        val = (elem.length > 1) ? elem[0].value : elem.value;
-    }
-    return val;
-}
-
-function getHiddenFieldParamString(elemName) {
-    var ret = "";
-    var val = getHiddenFieldVal(elemName);
-    if (val) {
-        ret = "&" + elemName + "=" + val;
-    }
-    return ret;
-}
-
-function elementInViewport(el) {
-    if (!el) return;
-    var rect = el.getBoundingClientRect();
-
-    var myWidth = 0, myHeight = 0;
-    if (typeof (window.innerWidth) == 'number') {
-        //Non-IE
-        myWidth = window.innerWidth;
-        myHeight = window.innerHeight;
-    } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
-        //IE 6+ in 'standards compliant mode'
-        myWidth = document.documentElement.clientWidth;
-        myHeight = document.documentElement.clientHeight;
-    } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
-        //IE 4 compatible
-        myWidth = document.body.clientWidth;
-        myHeight = document.body.clientHeight;
-    }
-    //window.alert('Width = ' + myWidth);
-    //window.alert('Height = ' + myHeight);
-
-
-    //return (rect.top >= 0 && rect.left >= 0 && rect.bottom <= window.innerHeight && rect.right <= window.innerWidth)
-    //return (rect.top >= 0 && rect.left >= 0 && rect.bottom <= myHeight && rect.right <= myWidth)
-    return (rect.top >= 0 && rect.bottom <= myHeight);
-}
-
-function DisplayAlignFromDescription(elem) {
-    var alignView = $("FormatForm").ALIGNMENT_VIEW;
-    if (alignView[alignView.selectedIndex].value == "Pairwise" || alignView[alignView.selectedIndex].value == "PairwiseWithIdentities") {
-        DisplayDynamicAlign(elem);
-    }
-    else {
-        location.href = "#" + elem.getAttribute("seqID");        
-    }
-}	
-
-//<a class="deflnDesc" hsp=<hsp_num> ind="<index>" gi="<gi>" id="deflnDesc_gi" href="#AlnHdrgi">desc</a>
-//<div class="alnHdr" gi="<gi>" id="alnHdr_<index>">
-function DisplayDynamicAlign(elem) {
-    var currGi = elem.getAttribute("gi");
-    var currInd = elem.getAttribute("ind");
-    var stat = elem.getAttribute("stat");
-    if (!currInd || !currGi) return;
-    
-    if (!stat || stat == "") {
-        //Get 4(5) aligns before currInd and 4(5) aligns after
-        ReadCurrentSeqAligns(currInd, 5);        
-    }
-    else if (stat == "read") {
-        var indexes = getCurrIndexRange(currInd);
-        if (indexes) {
-            var msgID = "alnShow_" + indexes[0];
-            location.href = "#" + msgID;
-        }
-    }
-    else {
-        //error status handling        
-    }
-}
-
-
-function goToNextAlign(dtrID, next) {
-    var currInd = parseInt($(dtrID).getAttribute("ind"));
-    var rid = $("Rid").value;
-    nextInd = (next) ? currInd + 1 : currInd - 1;
-
-    if ($("deflnDesc_" + nextInd)) {
-        currGi = $("deflnDesc_" + nextInd).getAttribute("seqID");
-        scrollToGI = currGi;
-        if (!$("deflnDesc_" + nextInd).getAttribute("stat") || $("deflnDesc_" + nextInd).getAttribute("stat") == "") {
-
-            if (!next) {
-                ReadPrevSeqAligns(currInd, 5, scrollToGI);
-            }
-            else {
-                //Use this indexes = wasAlignRead(nextInd); to determine insertAfterID in ReadNextAligns!!!
-                ReadNextSeqAligns(currInd, 5, scrollToGI);
-            }
-
-        }
-        else {
-            location.href = "#" + scrollToGI;
-        }
-    }
-}
-
-function goToDefLine(dtrID) {
-    if ($("psiInp")) {
-        var tbl = jQuery($(dtrID)).parents(".jig-ncbigrid"); //parent table
-        togglerID = PsiBelowThresh(tbl[0].id) ? "showDescB1" : "showDescG1";
-        jQuery($(togglerID)).ncbitoggler("open");
-    }
-}
-
-/*
-readAln.rid = rid;
-readAln.startIndex = parseInt(currInd);
-readAln.numSeq = parseInt(maxNumAligns);
-
-readAln.insertAfterID = insertAfterID;
-readAln.seqList = giList;
-readAln.scrollToSeqID = scrollToGI;
-*/
-function ReadNextSeqAligns(currInd, maxNumAligns, scrollToGI) {
-    var lastDispIdx = 0;
-    var rid = $("Rid").value;
-
-    var readAln = new Object();
-    readAln.seqList = ""; //giList
-    readAln.rid = rid;
-
-    currInd = parseInt(currInd);
-
-    if (currInd != 0 && $("deflnDesc_" + currInd)) {
-        var par = utils.getParent($("aln_" + $("deflnDesc_" + currInd).getAttribute("seqID"))); //"alnShowReal_<ind>
-        //alert(par.id);
-        if (par) par = utils.getParent(par); //"alnShow_<ind>
-        //alert(par.id);
-        if (par) readAln.insertAfterID = par.id;
-    }
-    else {
-        readAln.insertAfterID = "alnStart";
-    }
-
-
-
-    readAln.startIndex = currInd + 1;
-    readAln.numSeq = maxNumAligns;
-        
-    checkIfAlnExceedsThreshold(readAln, currInd, maxNumAligns, "next");
-        
-    readAln.scrollToSeqID = (scrollToGI && scrollToGI != "") ? scrollToGI : "";
-    readAln.hspSort = 0;
-    ReadSeqAlignByIndex(readAln);
-}
-
-function ReadPrevSeqAligns(currInd, maxNumAligns, scrollToGI) {
-    var lastDispIdx = 0;
-    var rid = $("Rid").value;
-
-    var readAln = new Object();
-    readAln.seqList = ""; //giList
-    readAln.rid = rid;
-
-    currInd = parseInt(currInd);
-
-
-    //sets readAln.insertAfterID and returns lastDispIdx;
-    //Find the index of the previously displayed alignment
-    lastDispIdx = getPrevDisplyedAlignInfo(currInd, readAln);
-
-    readAln.startIndex = (currInd - lastDispIdx > maxNumAligns) ? (currInd - maxNumAligns) : lastDispIdx + 1;
-    readAln.numSeq = currInd - readAln.startIndex;    //stopIndex = currInd
-    
-    checkIfAlnExceedsThreshold(readAln, currInd, readAln.numSeq, "prev");
-        
-    readAln.scrollToSeqID = (scrollToGI && scrollToGI != "") ? scrollToGI : $("deflnDesc_" + (currInd)).getAttribute("seqID");
-    readAln.hspSort = 0;
-    ReadSeqAlignByIndex(readAln);
-}
-
-//When descriptions is clicked - display maxNumAligns before currInd and maxNumAligns after currInd
-function ReadCurrentSeqAligns(currInd, maxNumAligns) {
-    var rid = $("Rid").value;
-    var readAln = new Object();
-    readAln.seqList = ""; //giList
-    readAln.rid = rid;
-
-    currInd = parseInt(currInd);
-
-
-    //sets readAln.insertAfterID and returns lastDispIdx;
-    //Find the index of the previously displayed alignment
-    var lastDispIdx = getPrevDisplyedAlignInfo(currInd, readAln);
-
-    //lastDispIdx = parseInt(lastDispIdx);
-    readAln.startIndex = (currInd - lastDispIdx > maxNumAligns) ? (currInd - maxNumAligns) : lastDispIdx + 1;
-    readAln.numSeq = parseInt(maxNumAligns * 2);
-        
-    checkIfAlnExceedsThreshold(readAln, currInd, maxNumAligns, "curr");
-        
-    readAln.scrollToSeqID = $("deflnDesc_" + currInd).getAttribute("seqID");
-    readAln.hspSort = 0;
-    ReadSeqAlignByIndex(readAln);
-    g_DisableAutoCheck = true;
-    location.href = "#alnShow_" + readAln.startIndex;
-}
-
-
-
-
-function setupDynHSPParams(readAln) 
-{
-    var currSeqInd = readAln.startIndex;
-    hspNum = parseInt($("deflnDesc_" + currSeqInd).getAttribute("hsp"));
-    alnLen = parseInt($("deflnDesc_" + currSeqInd).getAttribute("len"));
-    var maxDispLen = parseInt($("maxDispAlnLen").value);//20000
-    var minDispLen = parseInt($("minDispAlnLen").value);//2000
-    if (alnLen > maxDispLen) {
-        var lenPerMatch = alnLen / hspNum;        
-        readAln.AlignDbPageSize = (lenPerMatch > minDispLen) ? 1 : Math.floor(minDispLen / lenPerMatch);
-        readAln.AlignDbPageNum = 0;
-        $("deflnDesc_" + currSeqInd).setAttribute("dynHsps", readAln.AlignDbPageSize);
-    }
-}
-
-
-
-function getCurrSeqsAlnLen(currSeqInd) 
-{
-    var alnLen = 0;
-    if ($("deflnDesc_" + currSeqInd) && (!$("deflnDesc_" + currSeqInd).getAttribute("stat") || $("deflnDesc_" + currSeqInd).getAttribute("stat") == "")) {
-        alnLen = $("deflnDesc_" + currSeqInd).getAttribute("len");            
-    }
-    alnLen = (alnLen) ? parseInt(alnLen) : 0;
-    return alnLen;
-}
-
-function checkTotalAlignLen(startIndex,stopIndex)
-{
-    var dispAlnLen = 0;
-    var maxDispLen = parseInt($("maxDispAlnLen").value);    
-    for (var i = startIndex; i <= stopIndex; i++) {
-        alnLen = getCurrSeqsAlnLen(i);
-        if (alnLen == 0) break;
-        dispAlnLen += alnLen;        
-    }
-    return dispAlnLen;
-}
-//Get total align length for seq currSeqInd and
-//"curr" surrounding countSeqs seqs + current, "prev" - previous countSeqs seqs, "next" - next countSeqs seqs
-function getTotalAlignLen(readAln, currSeqInd, countSeqs, dispType) 
-{
-    var startIndex = readAln.startIndex;
-    var stopIndex = readAln.startIndex + readAln.numSeq - 1;
-    if (dispType == "curr") {//checks countSeqs before and countSeqs after current, including current                
-        startIndex = Math.max(startIndex, currSeqInd - countSeqs);        
-        stopIndex = Math.min(stopIndex, currSeqInd + countSeqs);        
-    }
-    else if(dispType == "prev") {        
-        startIndex = Math.max(startIndex, currSeqInd - 1 - countSeqs);
-        stopIndex = currSeqInd - 1;        
-    }
-    else {//next                                
-        stopIndex = Math.min(stopIndex, currSeqInd + countSeqs + 1);
-    }
-    var totAlnLen = checkTotalAlignLen(startIndex,stopIndex);
-    return totAlnLen;
-}
-
-function checkIfAlnExceedsThreshold(readAln,currSeqInd,maxNumAligns, dispType) 
-{
-    var maxDispLen = parseInt($("maxDispAlnLen").value);
-    var totAlnLen = 0;
-    var exc = false;
-    for (var numSeq = 0; numSeq <= maxNumAligns; numSeq++) {
-        totAlnLen = getTotalAlignLen(readAln, currSeqInd, numSeq, dispType);
-        if(totAlnLen > maxDispLen) {
-            break;
-        }
-    }
-    if (totAlnLen > maxDispLen) {
-        if (numSeq != 0) numSeq--;      
-        if (dispType == "curr") {
-            readAln.startIndex = Math.max(readAln.startIndex, currSeqInd - numSeq);
-            //prev + 1(curr) + next            
-            readAln.numSeq = (currSeqInd - readAln.startIndex) + 1 + numSeq;
-        }
-        else if (dispType == "prev") {
-            readAln.startIndex = Math.max(readAln.startIndex, currSeqInd - 1 - numSeq);
-            readAln.numSeq = numSeq + 1;
-        }
-        else { //"next" - readAln.startIndex stays
-            readAln.numSeq = numSeq + 1;
-        }
-        
-        if (readAln.numSeq == 1 && $("useAlignDB") && $("useAlignDB").value == "true") {
-            setupDynHSPParams(readAln);            
-        } 
-                   
-        exc = true;   
-    }
-    return exc;
-}
-
-
-//readAln.startIndex, readAln.numSeq, readAln.scrollToSeqID,readAln.insertAfterID should be set
-function ReadSeqAlignByIndex(readAln) {
-    var numAligns = 0;
-    for (var i = readAln.startIndex; i < readAln.startIndex + readAln.numSeq; i++) {
-
-        if (!$("deflnDesc_" + i)) {
-            break;
-        }
-        if (!$("deflnDesc_" + i).getAttribute("stat") || $("deflnDesc_" + i).getAttribute("stat") == "") {            
-            currGi = $("deflnDesc_" + i).getAttribute("seqFSTA");
-            if (readAln.seqList != "") readAln.seqList += ",";
-            readAln.seqList += currGi;
-            numAligns++;
-        }
-        else {
-            break;
-        }
-    }
-    if (readAln.seqList != "") {        
-        readAln.numSeq = parseInt(numAligns);
-        ReadSeqAlignForSeqList(readAln);
-    }
-}
-
-
-var g_DisplayeAlignsRanges = ""; //String in the format start1-stop1,start2-stop2...
-//Find the range of indexes of displayed alignments for currAlnInd
-//Returns array of 2 startIndex, stopIndex
-function getCurrIndexRange(currAlinInd) {
-    var currRange;
-    var ranges = g_DisplayeAlignsRanges.split(",");
-    for (var i = 0; i < ranges.length; i++) {
-        var indexes = ranges[i].split("-");
-        if (currAlinInd >= parseInt(indexes[0]) && currAlinInd <= parseInt(indexes[1])) {
-            currRange = indexes;
-            break;
-        }
-    }
-    return currRange;
-}
-
-
-//Find the index of the previous  displayed alignment
-function getPrevDisplyedAlignInfo(currInd, readAln) {
-    readAln.insertAfterID = "alnStart";
-    lastDispIdx = 0;
-    for (var i = currInd - 1; i >= 1; i--) {
-        indexes = getCurrIndexRange(i);
-        if (indexes) {
-            lastDispIdx = indexes[1];
-            readAln.insertAfterID = "alnShow_" + indexes[0];
-            break;
-        }
-    }
-    return parseInt(lastDispIdx);
-}
-
-
-//setReadStatus
-function setSeqAlnReadStatus(readAln, status) {
-    for (var i = readAln.startIndex; i < readAln.startIndex + readAln.numSeq; i++) {
-        if ($("deflnDesc_" + i)) {
-            jQuery($($("deflnDesc_" + i))).attr("stat", status);
-            if (status == "disp") {
-                g_MaxDisplayedIndex = (i > g_MaxDisplayedIndex) ? i : g_MaxDisplayedIndex;
-            }
-        }
-    }
-}
-
-/*
-readAln.rid = rid;
-readAln.seqList = giList;
-readAln.startIndex = parseInt(idx);
-readAln.insertAfterID = insertAfterID;
-readAln.numSeq = parseInt(numSeq);
-readAln.scrollToSeqID = scrollToGI;
-*/
-function SendReadSeqAlinRequest(readAln) {        
-    blastUrl = "t2g.cgi";
-    
-    var rp = new RemoteDataProvider(blastUrl);
-
-
-    rp.onSuccess = function(obj) {
-        if ($("alignView")) utils.removeClass($("alignView"), "hidden");
-
-        if ($("alnShow_" + readAln.startIndex)) {
-            var moreHspsLink = getNextHspsLink(readAln);            
-            jQuery($($("alnShowReal_" + readAln.startIndex))).html(obj.responseText + moreHspsLink, {
-                'widgets': ['ncbipopper', 'ncbitoggler'],
-                'configs': {
-                    'ncbipopper': { hasArrow: true, arrowDirection: 'top' }
-                }
-            }); 
-            setSeqAlnReadStatus(readAln, "disp");
-            jQuery($("alnMsg_" + readAln.startIndex)).addClass("hidden");        
-            //Saves start and stop indexes of loaded alignments in global variables
-            saveIdxesForAutomaticLoad(readAln);
-            jQuery($($("alnShowReal_" + readAln.startIndex))).find(".alnHdr").each(function(index) {
-                var seqID = this.getAttribute("seqID");
-                if(seqID) initAlignBatch(seqID);
-            });
-
-        }
-
-        if (readAln.scrollToSeqID) {
-            location.href = "#" + readAln.scrollToSeqID;
-        }
-
-    };
-    rp.onError = function(obj) {        
-        if ($("alignView")) utils.removeClass($("alignView"), "hidden");
-        jQuery($("alnMsg_" + readAln.startIndex)).addClass("hidden");
-        $("alnShowReal_" + readAln.startIndex).innerHTML = "<div class=\"erm\" id=\"erm_" + readAln.startIndex + "\">Error loading alignment ...<span class=\"db\">requests:" + this.iActiveRequests + " status:" + obj.status +
-                          "</span><a class=\"gbd\" href=\"#\" onclick=\"ReSubmitReadSeqAligns(event," + readAln.startIndex + ")\">Try again<\a></div>";
-    }
-    var params = constructURLParams(readAln);
-    if (readAln.numSeq == 1) {
-        params += "&TOTAL_HSPS=" + $("deflnDesc_" + readAln.startIndex).getAttribute("hsp");
-    }
-    params += "&SEQ_LIST_START=" + readAln.startIndex;    
-    
-    var formatParams = constructFormatParams();
-    params += formatParams;    
-    
-    //alert(params);
-    rp.Request(params);
-}
-
-
-function constructURLParams(readAln) {
-    var params;
-
-    if ($("useAlignDB") && $("useAlignDB").value == "true") {
-
-        var alignDbParams = "&USE_ALIGNDB=true";
-        var batchID = document.getElementsByName("ALIGNDB_BATCH_ID");
-        if (batchID) {
-            alignDbParams += getHiddenFieldParamString("ALIGNDB_BATCH_ID");
-            alignDbParams += getHiddenFieldParamString("ALIGNDB_MASTER_ALIAS");
-            alignDbParams += getHiddenFieldParamString("ALIGNDB_CGI_HOST");
-            alignDbParams += getHiddenFieldParamString("ALIGNDB_CGI_PATH");
-        }
-        alignDbParams += "&ALIGN_SEQ_LIST=" + readAln.seqList;
-        alignDbParams += "&HSP_SORT=" + readAln.hspSort;
-
-        if (readAln.hasOwnProperty("AlignDbPageNum")) {
-            alignDbParams += "&ALIGNDB_PAGE_NUM=" + readAln.AlignDbPageNum;
-            alignDbParams += "&ALIGNDB_PAGE_SIZE=" + readAln.AlignDbPageSize;
-            alignDbParams += "&HSP_START=" + readAln.AlignDbPageSize * readAln.AlignDbPageNum;
-        }
-
-        params = "CMD=Get&RID=" + readAln.rid + "&OLD_BLAST=false&DESCRIPTIONS=0&NUM_OVERVIEW=0&DYNAMIC_FORMAT=on" + alignDbParams;
-    }
-    else {
-        params = "CMD=Get&RID=" + readAln.rid + "&OLD_BLAST=false&DESCRIPTIONS=0&NUM_OVERVIEW=0&GET_SEQUENCE=on&DYNAMIC_FORMAT=on&ALIGN_SEQ_LIST=" + readAln.seqList + "&HSP_SORT=" + readAln.hspSort;
-    }    
-    if ($("phiPtInd")) {
-        params += "&PHI_PTTRN_INDEX=" + $("phiPtInd")[$("phiPtInd").selectedIndex].value;
-    }
-    return params;
-}
-
-/*
-readAln.rid = rid;
-readAln.seqList = giList;
-readAln.startIndex = parseInt(idx);
-readAln.insertAfterID = insertAfterID;
-readAln.numSeq = parseInt(numSeq);
-readAln.scrollToSeqID = scrollToGI;
-*/
-/*1. Draw div with id="alnShow_index" class ="alnMsg" with the message listing gis nad indexes
-2. Insert another div with id="alnShowReal_index and class="alnMsgR"
-3. For "alnShow_index" set atrr indexes="startInd-stopInd"
-4. Set global g_MaxReadMessageIndex - max index of displayed seqalign ??? - check this 
-5. Add string "startInd-stopInd" to g_DisplayeAlignsRanges - comma separated indexes
-6. Send read request
-*/
-
-function ReadSeqAlignForSeqList(readAln) {
-    var text = "<div id=\"alnShow_" + readAln.startIndex + "\" class=\"alnMsg\"><div class=\"alnMsgS\" id=\"alnMsg_" + readAln.startIndex + "\">Loading alignment...<span class=\"db\"> for sequences " + readAln.seqList;
-    var stopIndex = readAln.startIndex + readAln.numSeq - 1;
-    var useAlignDB = ($("useAlignDB") && $("useAlignDB").value == "true") ? "AlignDB=on " : "";
-    text += " " + useAlignDB + "Reading indexes " + readAln.startIndex + "-" + stopIndex + "</span></div>";
-    text += "<div id=\"alnShowReal_" + readAln.startIndex + "\" class=\"alnMsgR\"></div></div>";
-    var debugControl = "<div id=\"debug\"></div>";
-    if (!$("debug")) {
-        jQuery($($("descriptions"))).before(debugControl);
-    }
-    if (!$("alnShow_" + readAln.startIndex)) {        
-        jQuery($($(readAln.insertAfterID))).after(text);
-        jQuery($($("alnShow_" + readAln.startIndex))).attr("indexes", readAln.startIndex + "-" + stopIndex);
-        jQuery($($("alnShow_" + readAln.startIndex))).attr("seqlist", readAln.seqList);
-        g_MaxReadMessageIndex = (readAln.startIndex > g_MaxReadMessageIndex) ? readAln.startIndex : g_MaxReadMessageIndex;
-        setSeqAlnReadStatus(readAln, "read");
-        $("debug").innerHTML += ", " + useAlignDB + "Reading indexes " + readAln.startIndex + "-" + stopIndex;
-
-        if (g_DisplayeAlignsRanges != "") g_DisplayeAlignsRanges += ",";
-        g_DisplayeAlignsRanges += readAln.startIndex + "-" + stopIndex;
-
-        SendReadSeqAlinRequest(readAln);
-    }
-    else if ($("alnShowReal_" + readAln.startIndex).innerHTML.indexOf("Error") != -1) {
-        jQuery($("alnMsg_" + readAln.startIndex)).removeClass("hidden");
-        jQuery($("erm_" + readAln.startIndex)).remove();        
-        SendReadSeqAlinRequest(readAln);
-    }
-}
-
-
-function ReSubmitReadSeqAligns(e,currInd) {
-    var rid = $("Rid").value;
-    if ($("alnShow_" + currInd)) {
-        var indexRange = jQuery($("alnShow_" + currInd)).attr("indexes");
-        var range = indexRange.split("-");
-
-
-        var readAln = new Object();
-        readAln.seqList = ""; //giList
-        readAln.rid = rid;
-        readAln.seqList = jQuery($("alnShow_" + currInd)).attr("seqlist");
-        readAln.startIndex = parseInt(range[0]);
-        readAln.numSeq = parseInt(range[1]) - parseInt(range[0]) + 1;
-        readAln.hspSort = 0;
-        ReadSeqAlignForSeqList(readAln);
-        utils.preventDefault(e);
-    }
-}
-
-
-var g_MaxReadMessageIndex = 0; //alnShow_idx with the message, deflnDesc_idx with stat="read"
-var g_MaxDisplayedIndex = 0; //deflnDesc_idx with stat="disp" - last one in the set of N
-var g_DisableAutoCheck = false;
-
-var g_autoStartIdx = new Array();
-var g_autoStopIdx = new Array();
-
-function saveIdxesForAutomaticLoad(readAln) {
-    var stopIndex = readAln.startIndex + readAln.numSeq - 1;
-    g_autoStartIdx.push(readAln.startIndex); //1,20,25
-    g_autoStopIdx.push(stopIndex);  //4,24,29    
-    $("debug").innerHTML += ", displaying indexes " + readAln.startIndex + "-" + stopIndex;
-}
-
-function getNextHspsLink(readAln)
-{
-    var moreHspsLink = ""
-    if (readAln.hasOwnProperty("AlignDbPageNum")) {
-        var nextPageNum = readAln.AlignDbPageNum + 1;
-        var currHspInd = readAln.AlignDbPageSize * nextPageNum;
-        var argstring = readAln.startIndex + "," + currHspInd;                
-        var currGi = $("deflnDesc_" + readAln.startIndex).getAttribute("seqId");
-        var accs = $("deflnDesc_" + readAln.startIndex).getAttribute("accs");        
-        var totalHsps = $("deflnDesc_" + readAln.startIndex).getAttribute("hsp");
-        var prevHspInd = readAln.AlignDbPageSize * nextPageNum;
-        var segs = (prevHspInd + 1) + "-" + (prevHspInd + readAln.AlignDbPageSize);        
-        var moreHspsID = "nxHsp" + currGi + "_" + (prevHspInd + 1);
-
-        moreHspsLink = $("dynHspTmpl").innerHTML.replace("@moreHspsID@", moreHspsID);        
-        moreHspsLink = moreHspsLink.replace(/@accs@/g, accs);
-        moreHspsLink = moreHspsLink.replace("@argstring@", argstring);
-        moreHspsLink = moreHspsLink.replace(/@segs@/g, segs);
-        moreHspsLink = moreHspsLink.replace("@totalHSP@", totalHsps);        
-        moreHspsLink = moreHspsLink.replace(/@alignDbPageSize@/g, readAln.AlignDbPageSize);
-        moreHspsLink = moreHspsLink.replace("@aln_prev_num@", prevHspInd);
-        moreHspsLink = moreHspsLink.replace("@alnSeqGi@", currGi);
-    }
-    return moreHspsLink;
-}
-
-
-function ReadNextHSPSet(currSeqInd, currHSPNum) {
-    var readAln = new Object();
-
-    readAln.rid = $("Rid").value;
-    readAln.seqList = $("deflnDesc_" + currSeqInd).getAttribute("seqFSTA");
-    readAln.gi = $("deflnDesc_" + currSeqInd).getAttribute("seqId");
-    dynHsps = $("deflnDesc_" + currSeqInd).getAttribute("dynHsps");
-    readAln.startIndex = currSeqInd;
-    readAln.numSeq = 1;
-    if (dynHsps) {
-        readAln.AlignDbPageNum = parseInt(currHSPNum) / parseInt(dynHsps);
-        readAln.AlignDbPageSize = parseInt(dynHsps); //number of HSps to retrieve
-    }
-    if (currHSPNum != 0) {
-        readAln.scrollToSeqID = "hsp" + +readAln.gi + "_" + (parseInt(currHSPNum) + 1);
-        readAln.insertAfterID = "ar_" + readAln.gi + "_" + currHSPNum;
-    }
-    var sortLink = $("sa_" + readAln.gi);
-    readAln.hspSort = (sortLink) ? parseInt(sortLink[sortLink.selectedIndex].value) : 0;
-    SendReadSeqAlinSortHSPRequest(readAln);
-}
-
-function ReadNextHSPSetEvt(e, currSeqInd, currHSPNum) {
-    ReadNextHSPSet(currSeqInd, currHSPNum);    
-    utils.preventDefault(e);
-}
-
-
-
-function checkAutoAlignArray() {
-    var stop = false;
-    var start = false;
-    var currAlignViewPos = $("alignView").getBoundingClientRect().top;
-    if (currAlignViewPos < g_alignViewPos) {//scrolling down
-        g_alignViewPos = currAlignViewPos;
-        if (g_DisableAutoCheck) {
-            g_DisableAutoCheck = false;
-            return;
-        }        
-        for (i = 0; i < g_autoStopIdx.length; i++) {
-            if (elementInViewport($("alnHdr_" + $("deflnDesc_" + g_autoStopIdx[i]).getAttribute("seqID")))) {
-                //alert("Reading more aligns scrolling down!");
-                var nextInd = parseInt(g_autoStopIdx[i] + 1);
-                var currInd = g_autoStopIdx[i];
-                if ($("deflnDesc_" + nextInd) && (!$("deflnDesc_" + nextInd).getAttribute("stat") || $("deflnDesc_" + nextInd).getAttribute("stat") == "")) {
-                    ReadNextSeqAligns(currInd, 5);
-                    stop = true;
-                    break;
-                }
-            }
-        }
-        if (stop) g_autoStopIdx.splice(i, 1); //delete index from the array
-    }
-    else if (currAlignViewPos > g_alignViewPos) {//scrolling up
-        g_alignViewPos = currAlignViewPos;
-        //here maybe return if autoStop found!!!
-        /* commenting automic read when scroll up */
-        for (i = 0; i < g_autoStartIdx.length; i++) {
-            if (elementInViewport($("alnHdr_" + $("deflnDesc_" + g_autoStartIdx[i]).getAttribute("seqID")))) {
-                //alert("Reading more aligns scrolling up!");
-                var currInd = g_autoStartIdx[i];
-                //Check for condition here if go there at all!!! Check if do the same thing as for ReadNext!!!!
-                if (currInd > 1) {
-                    ReadPrevSeqAligns(currInd, 5);
-                    start = true;
-                    break;
-                }
-            }
-        }
-        if (start) g_autoStartIdx.splice(i, 1);
-    }
-    /*end of comment*/
-}
-
-var g_alignViewPos = 0;
-
-function checkAutoAlignLoad() {
-
-
-    checkAutoAlignArray();
-
-    if (jQuery($($(window))).scrollTop() + jQuery($($(window))).height() >= jQuery($($(document))).height() - 100) {
-        //alert("bottom!");       
-
-        if ($("alnShowReal_" + g_MaxReadMessageIndex) && $("alnShowReal_" + g_MaxReadMessageIndex).innerHTML != "") {
-            //if(!$("alnShow_" + maxReadMessageIndex)) {//g_MaxReadMessageIndex
-            ReadNextSeqAligns(g_MaxDisplayedIndex, 5);
-        }
-    }
-}
-
-
-function GetPatternLocResults()
-{
-    form = $("results");
-    if (!form.PHI_PTTRN_INDEX) {
-        var el = document.createElement("input");
-        el.name = "PHI_PTTRN_INDEX";
-        el.value = $("phiPtInd")[$("phiPtInd").selectedIndex].value;
-        form.appendChild(el);
-    }
-    else {
-        form.PHI_PTTRN_INDEX.value = $("phiPtInd")[$("phiPtInd").selectedIndex].value;
-    }
-    form.submit();
-}
-
-function goToNextHSP(elem, next) {    
-    var par = jQuery(elem).parent(); //parent span with class="alnParLinks"
-    var parts = par[0].id.split("_"); //"hsp<seqid>_hspnum "hsp207524544_2"
-    if (parts[0].indexOf("nxHsp") != -1) {
-        parts[0] = parts[0].replace("nxHsp", "hsp");
-    }
-    nextID = (next) ? parts[0] + "_" + (parseInt(parts[1]) + 1) : parts[0] + "_" + (parseInt(parts[1]) - 1)
-    
-    gotoElem = jQuery($(nextID));
-    if (gotoElem[0]) {
-        a = jQuery(gotoElem).offset();
-        window.scroll(0, a.top);
-    }
-    
-    else {
-        retrieveNextHSP(parts[0],parts[1]);
-    }
-    
-}
-
-
-//parts[0]//hsp<seqid>,    parts[1] hspnum
-function retrieveNextHSP(currLinkID, currHSPNum) 
-{
-    var desLineID = currLinkID.replace("hsp", "dtr_"); //tr id
-    var currSeqInd, totalHsps;
-    jQuery($($(desLineID))).find(".deflnDesc").each(function(index) {
-        currSeqInd = parseInt(this.getAttribute("ind"));
-        totalHsps = parseInt(this.getAttribute("hsp"));
-        dynHsps = this.getAttribute("dynHsps");
-    });
-    currHSPNum = parseInt(currHSPNum);
-    if (currHSPNum < totalHsps && dynHsps) {        
-        ReadNextHSPSet(currSeqInd, currHSPNum);
-    }
-}
-/********Adding those functions back to formatRes.js to identify Uncaught ReferenceError: getUrlCompForCheckedField is not defined error********************************/
-function getUrlCompForEntryField(elem) {
-    var url = "";
-    if (elem && elem.value != "") {
-        url = "&" + elem.name + "=" + escape(elem.value);
-    }
-    return url;
-}
-
-
-function getUrlCompForCheckedField(elem) {
-    var url = "";
-    if (elem && elem.checked) {
-        url = "&" + elem.name + "=" + elem.value;
-    }
-    return url;
-
-}
-
-function getUrlCompForOptionsField(elem) {
-    var url = "";
-    if (elem) {
-        url = "&" + elem.name + "=" + elem[elem.selectedIndex].value;
-    }
-    return url;
-}
-/****************************************/
-
-function constructFormatParams() {
-    var formatParams = "";
-
-    if ($("queryList")) {
-        formatParams += "&QUERY_INDEX=" + $("queryList")[$("queryList").selectedIndex].value;
-    }
-
-    
-    formatParams += getUrlCompForCheckedField($("FormatForm").SHOW_LINKOUT);
-    formatParams += getUrlCompForCheckedField($("FormatForm").SHOW_CDS_FEATURE);
-    formatParams += getUrlCompForCheckedField($("FormatForm").NCBI_GI);
-    formatParams += getUrlCompForOptionsField($("FormatForm").ALIGNMENT_VIEW);
-    formatParams += getUrlCompForOptionsField($("FormatForm").MASK_CHAR);
-    formatParams += getUrlCompForOptionsField($("FormatForm").MASK_COLOR);    
-    formatParams += getUrlCompForEntryField($("FormatForm").EXPECT_LOW);
-    formatParams += getUrlCompForEntryField($("FormatForm").EXPECT_HIGH);
-    formatParams += getUrlCompForEntryField($("FormatForm").PERC_IDENT_LOW);
-    formatParams += getUrlCompForEntryField($("FormatForm").PERC_IDENT_HIGH);
-    formatParams += getUrlCompForEntryField($("FormatForm").LINE_LENGTH);
-    
-
-    formatParams += getHiddenFieldParamString("BUILD_NAME");
-    
-    var serviceType = "";
-    if ($("serviceType").value == "sra") {
-        serviceType = "sra";
-    }
-    else if ($("clientType").value == "TMSmart_restricted") {
-        serviceType = "restricted";
-    }
-    if (serviceType != "") {
-        formatParams += "&BOBJSRVC=" + serviceType;
-    }
-    if ($("currQuery").value != "") {
-        formatParams += "&CURR_QUERY_ID=" + $("currQuery").value;
-    }
-    
-    return formatParams;
-}
-
-//readAln.seqList contains one gi only for this
-function SendReadSeqAlinSortHSPRequest(readAln) {
-    blastUrl = "t2g.cgi";    
-    var rp = new RemoteDataProvider(blastUrl);
-
-
-    rp.onSuccess = function(obj) {
-        var moreHspsLink = (readAln.hasOwnProperty("AlignDbPageNum")) ? getNextHspsLink(readAln) : "";        
-        var alnHtml = obj.responseText + moreHspsLink;
-        initHSPRequest(readAln, obj.responseText + moreHspsLink,false);        
-        if (readAln.scrollToSeqID) {
-            location.href = "#" + readAln.scrollToSeqID;
-        }                
-    };
-    rp.onError = function(obj) {        
-        var currHspInd = (readAln.hasOwnProperty("AlignDbPageNum")) ? readAln.AlignDbPageSize * readAln.AlignDbPageNum : 0;
-        var msgID = "erm_" + readAln.gi + "_" + (currHspInd + 1);
-        if (!$(msgID)) {
-            var msg = "<div class=\"erm\" att=\"1\" id=\"" + msgID + "\">Error loading alignment ...<span class=\"db\">status:" + obj.status +
-                          "</span><a class=\"gbd\" href=\"#\" onclick=\"ReadNextHSPSetEvt(event," + readAln.startIndex + "," + currHspInd + 
-                          ")\">Try again <span class=\"attmt\"></span> <\a></div>";
-            initHSPRequest(readAln, msg, true);
-        }
-        else {
-            var attNum = parseInt($(msgID).getAttribute("att")) + 1;
-            $(msgID).setAttribute("att", attNum);
-            jQuery($(msgID)).find(".attmt").each(function(index) {
-                jQuery(this).html(", attempt " + attNum);
-            });
-        }
-    }
-    
-    var params = constructURLParams(readAln);
-    if (readAln.AlignDbPageSize) {    
-        params += "&TOTAL_HSPS=" + $("deflnDesc_" + readAln.startIndex).getAttribute("hsp");
-    }    
-    params += "&SORT_ONE_ALN=on";
-    var formatParams = constructFormatParams();
-        
-    params += formatParams;
-    
-    //alert(params);
-    rp.Request(params);
-}
-function initHSPRequest(readAln, alnHtml, err) {
-    var currHspInd = (readAln.hasOwnProperty("AlignDbPageNum")) ? readAln.AlignDbPageSize * readAln.AlignDbPageNum : 0;    
-    if (currHspInd != 0) {
-        readAln.insertAfterID = "ar_" + readAln.gi + "_" + currHspInd;
-        jQuery($(readAln.insertAfterID)).after(alnHtml);
-        moreHspsID = "nxHsp" + readAln.gi + "_" + (currHspInd + 1);
-        jQuery($(moreHspsID)).remove();
-        if (!err) {
-            errMsgID = "erm_" + readAln.gi + "_" + (currHspInd + 1);
-            jQuery($(errMsgID)).remove();            
-        }
-    }
-    else {
-        jQuery($("alnAll_" + readAln.gi)).html(alnHtml);
-    }    
-}
-
-function SortHSPAlnSel(e, sortLink) {//example id="sa_207524544"
-    var readAln = new Object();
-
-    
-    var desLineID = sortLink.id.replace("sa", "dtr"); //tr id
-    var seqInd;
-
-    jQuery($($(desLineID))).find(".deflnDesc").each(function(index) {        
-        seqInd = this.getAttribute("ind");
-    });    
-    
-    ReadNextHSPSet(parseInt(seqInd), 0);
-}
-
-
-function configDescriptions(e,btn,dlgId) 
-{
-    var suffix = PsiBelowThresh(dlgId);    
-    var colmnsInfId = "cfcDsInf" + suffix;
-    var tblID = "dscTable" + suffix; //"dscTable[_psiw]"
-    var showAllColId = "shcl" + suffix;    
-    var chkBoxes = $C("checkbox", "type", $(dlgId), "input");
-    if (!utils.hasClass(btn, "cnc")) $(colmnsInfId).value = "";    
-    for (i = 0; i < chkBoxes.length; i++) {
-        var check;
-        if (utils.hasClass(btn, "cnc")) {//cancel
-            if ($(colmnsInfId).value.indexOf(chkBoxes[i].value) != -1 && !chkBoxes[i].checked) {
-                check = true;
-            }
-            else if ($(colmnsInfId).value.indexOf(chkBoxes[i].value) == -1 && chkBoxes[i].checked) {
-                check = false;
-            }
-        }
-        else if (utils.hasClass(btn, "rdf") && !chkBoxes[i].checked) {
-            check = true;
-        }
-        if (typeof (check) != 'undefined') {
-            chkBoxes[i].checked = check;
-            showHideCol(tblID,parseInt(chkBoxes[i].value), !check);
-        }
-        if (!utils.hasClass(btn, "cnc")) {
-            if (chkBoxes[i].checked) { //OK
-                if ($(colmnsInfId).value != "") $(colmnsInfId).value += ",";
-                $(colmnsInfId).value += chkBoxes[i].value;
-            }
-        }
-    }
-    if ($(colmnsInfId).value != $(colmnsInfId).getAttribute("defval")) {//defval = "2,3,4,5,6,7,8"
-        jQuery($(showAllColId)).removeClass("hidden");
-    }
-    else {
-        jQuery($(showAllColId)).addClass("hidden");
-    }
-
-    var chConfig = $("cfcDsSave").value != $(colmnsInfId).value;
-    
-    var cfds = document.getElementsByName("CONFIG_DESCR");        
-    if (cfds) {
-        for (i = 0; i < cfds.length; i++) {
-            cfds[i].value = $(colmnsInfId).value;
-        }
-    }    
-    $("cfcDsSave").value = $(colmnsInfId).value;
-    if (chConfig) SaveConfigTable();
-    jQuery(document.body).click();
-    utils.preventDefault(e);
-}
-
-
-
-function initDescConfig() 
-{
-    initConfigColumns("dsConfig");
-    if ($("psiw") && utils.hasClass($("psiw"), "shown")) {
-        initConfigColumns("dsConfig_psiw");
-    }        
-}
-
-
-function initConfigColumns(cnfDlgID) 
-{
-    var suffix = PsiBelowThresh(cnfDlgID);
-    //cnfDlgID is "dsConfig[_psiw]"
-    var colmnsInfId = "cfcDsInf" + suffix;
-    var tblID = "dscTable" + suffix; //"dscTable[_psiw]"
-    var showAllColId = "shcl" + suffix;
-    
-    if (navigator.userAgent.match(/ie/i)) {
-        if ($("FormatForm").NCBI_GI.checked || $("serviceType").value == "sra") {        
-            jQuery($(tblID)).find("th.c1").each(function(index) {            
-                db = getHiddenFieldVal("DATABASE");
-                var width = (db.match(/WGS/i) || db.match(/Whole_Genome_Shotgun_contigs/i)) ? "16em" : "14em";
-                jQuery(this).css("width", width);
-            });        
-        }
-    }
-
-    jQuery($(tblID)).find("tr.first").each(function(index) {
-        jQuery(this).find("a.dcs").each(function(index) {        
-           jQuery(this).bind("click", function(e) { checkConfig(this); });           
-        });
-    });
-
-    jQuery($(cnfDlgID)).find("button").each(function(index) {
-        jQuery(this).bind("click", function(e) { configDescriptions(e, this, cnfDlgID); });
-    });
-
-        
-    jQuery($(cnfDlgID)).bind("click", function(e) { e.stopPropagation(); });
-
-    $(colmnsInfId).value = getHiddenFieldVal("CONFIG_DESCR");
-    if ($(colmnsInfId).value == "" || $(colmnsInfId).value == "undefined") {
-        $(colmnsInfId).value = $(colmnsInfId).getAttribute("defval");
-    }
-    if ($(colmnsInfId).value != $(colmnsInfId).getAttribute("defval")) {//defval = "2,3,4,5,6,7,8"
-        jQuery($(showAllColId)).removeClass("hidden");
-    }    
-    else {
-        jQuery($(showAllColId)).addClass("hidden");
-    }
-    var chkBoxes = $C("checkbox", "type", $(cnfDlgID), "input")
-    for (i = 0; i < chkBoxes.length; i++) {
-        jQuery(chkBoxes[i]).bind("click", configColumn);
-        if ($(colmnsInfId).value.indexOf(chkBoxes[i].value) != -1) {
-            chkBoxes[i].checked = true;
-        }
-        else {
-            //jQuery($(tblID)).ncbigrid("hideColumn", chkBoxes[i].value);
-            showHideCol($(tblID), chkBoxes[i].value, true); 
-        }
-    }
-}
-function showAllCol(e,elem) 
-{
-    var suffix = PsiBelowThresh(elem.id);
-    var rdf = "dscRsDf" + suffix;
-    jQuery($(rdf)).click();//click "restore defaults'
-    utils.preventDefault(e);
-}
-
-
-function configColumn() {
-    var suffix = PsiBelowThresh(this.id);
-    var tblID = "dscTable" + suffix; //"dscTable[_psiw]"
-    
-    cCls = "c" + this.value;
-    if (this.checked) {//show        
-        showHideCol(tblID,parseInt(this.value), false);        
-    }
-    else {
-        showHideCol(tblID,parseInt(this.value), true);        
-    }
-}
-
-function showHideCol(tblID, columnIndex, hide) {
-
-    if ($("Transcr")) {
-        colHidden = utils.hasClass($("c" + columnIndex), "ui-ncbigrid-column-hidden");
-        hide = hide && !colHidden;
-        show = !hide && colHidden;
-    }
-    else {
-        show = !hide;
-    }    
-    if (hide) {
-        jQuery($(tblID)).ncbigrid("hideColumn", columnIndex);        
-    }
-    else if (show) {
-        jQuery($(tblID)).ncbigrid("showColumn", columnIndex);    
-    }
-    if ($("Transcr") && (hide || show) ) {
-        var colsp = parseInt($("Transcr").getAttribute("colspan"));
-        colsp = (hide) ? colsp - 1 : colsp + 1;
-        $("Transcr").setAttribute("colSpan", colsp);
-        if ($("GnmSeq")) $("GnmSeq").setAttribute("colSpan", colsp);
-    }
-}
-
-function checkConfig(lnk) {
-    var cnfCol = "&CONFIG_DESCR=" + $("cfcDsSave").value;
-    lnk.href = lnk.href + cnfCol + "#sort_mark";    
-}
-
-function DisplayAlignFromGraphics(seqID,e) //SeqID = gi if exists
-{
-    var dflLineLinks = $C(seqID, "gi", document, "a");    
-    for (i = 0; i < dflLineLinks.length; i++) {
-        jQuery(dflLineLinks[i]).click();
-        break;
-    }    
-    location.href = dflLineLinks[i].href;
-}
-
-
-
-function initDescSelect() 
-{
-
-    jQuery("#cntDesc").find("a").each(function(index) {
-        jQuery(this).bind("click", configDescrSelect);
-    });
-    jQuery("#cntSelN").click();
-    jQuery("#descTblCtrl").find("a[view]").each(function(index) {
-        jQuery(this).bind("click", DisplaySelectedView);
-    });
-    if ($("psiw") && utils.hasClass($("psiw"), "shown")) {
-        jQuery("#cntDesc_psiw").find("a").each(function(index) {
-            jQuery(this).bind("click", configDescrSelect);
-        });
-        jQuery("#cntSelN_psiw").click();
-        jQuery("#descTblCtrl_psiw").find("a[view]").each(function(index) {
-            jQuery(this).bind("click", DisplaySelectedView);
-        });
-    }
-    
-    
-    //jQuery("#dsConfig").bind("click", function(e) { e.stopPropagation(); });??
-
-}
-
-function DisplaySelectedView(e) {
-    if (this.getAttribute("view") == "graph") {    //seqviewer
-        ViewSelectedSeqViewer(e,this);
-    }
-    else {
-        if (this.getAttribute("view") == "tree") {    //seqviewer
-            $("scrWidth").value = screen.width;
-            $("scrHeight").value = screen.height;
-        }
-        ViewSelectedSeqsEx(e, this);
-    }
-}
-
-function PsiBelowThresh(elemID) 
-{
-    var suffix = "";
-    if (elemID.indexOf("_psiw") != -1) {
-        suffix = "_psiw";
-    }
-    return suffix;
-}
-
-function ViewSelectedSeqsEx(e,elem) {
-    var sbmForm = elem.getAttribute("frm");
-    var seqList = elem.getAttribute("seqList");
-
-    var cnfElem = utils.getParent(elem); //.cnf div    
-    var suffix = PsiBelowThresh(cnfElem.id);
-    var tblID = "dscTable" + suffix;
-
-    $(seqList).value = createSelseqString(tblID,true);
-    $(seqList).value = $(seqList).value.replace(/ti:/g, ""); //For traces
-    if ($(seqList).value.indexOf("dbSNP") != -1) {
-        $(seqList).value = $(seqList).value.replace(/dbSNP:rs/g, ""); //For snp
-        elem.href = $(sbmForm).action + $(seqList).value;
-        elem.target = "new";
-    }
-    else {
-        $(sbmForm).submit();
-        utils.preventDefault(e);
-    }    
-}
-
-function ViewSelectedSeqsTree(e) {
-    $("scrWidth").value = screen.width;
-    $("scrHeight").value = screen.height;
-}
-
-function initSeqViewerGet(seqList) {
-    if (seqList.length >= 2000) {    
-        seqList = seqList.substr(0,2000);
-        lastComma = seqList.lastIndexOf(",");
-        seqList = seqList.substr(0,lastComma);             
-    }
-    $("seqViewParams").name = "RID";
-    $("seqViewParams").value = $("ridParam").value + "[" + seqList + "]";
-}
-
-function ViewSelectedSeqViewer(e, elem) 
-{
-    var cnfElem = utils.getParent(elem); //.cnf div    
-    var suffix = PsiBelowThresh(cnfElem.id);
-    var tblID = "dscTable" + suffix;
-
-    //change to false when new verison of seqVier is installed in production
-    var seqList = createSelseqString(tblID, false);
-    $("sbmtGraphics").action = $("seqViewUrl").value;
-    
-    var rp = new RemoteDataProvider("url2nc.cgi");
-    rp.onSuccess = function(obj) {
-        var jsnResp = JSON.parse(obj.responseText);
-        ncid = jsnResp.ncid;
-
-        if (ncid != "") {
-            $("seqViewParams").name = "rkey";
-            $("seqViewParams").value = ncid;
-        }
-        else {
-            initSeqViewerGet(seqList);
-        }
-        $("sbmtGraphics").submit();        
-    };
-    rp.onError = function(obj) {
-        initSeqViewerGet(seqList);
-        $("sbmtGraphics").submit();
-        utils.preventDefault(e);   
-    }
-    var params = $("ridParam").value + "[" + seqList + "]";    
-    rp.Request(params, "POST");
-    utils.preventDefault(e);   
-}
-
-function configDescrSelect(e) {    
-    var sel = this.getAttribute("sel");    
-    if (sel) {
-        var selNum = 0;
-        var check = (sel == "all") ? true : false;
-
-        var suffix = PsiBelowThresh(this.id);
-        var tblID = "dscTable" + suffix;
-        var toolbarID = "descTblCtrl" + suffix;
-        var selElID = "slcNum" + suffix;
-
-        jQuery($(tblID)).find("input[type='checkbox'].cb").each(function(index) {
-            jQuery(this)[0].checked = check;
-            if (check) selNum++;
-        });
-        enableDescrLinks(selNum, toolbarID, selElID);        
-    }     
-    utils.preventDefault(e);
-}
-
-
-
-function enableDescrLinks(selNum, toolbarID, selElID) {
-    jQuery($(toolbarID)).find("a[minSlct]").each(function(index) {
-        var minSelected = this.getAttribute("minSlct");
-        minSelected = parseInt(minSelected);
-        if (selNum >= minSelected) {
-            this.removeAttribute("disabled");
-        }
-        else {
-            this.setAttribute("disabled", "disabled");
-        }
-    });    
-    $(selElID).innerHTML = selNum;
-}
-
-
-
-function configDescrLinks(e, elem) 
-{
-
-    ncbi.sg.ping(elem, "click", elem.checked ? "checked=true" : "checked=false");     
-    var par = jQuery(elem).parents(".jig-ncbigrid");//parent table
-    if (par) {
-        var suffix = PsiBelowThresh(par[0].id);
-        var tblID = "dscTable" + suffix;
-        var toolbarID = "descTblCtrl" + suffix;
-        var selElID = "slcNum" + suffix;
-        
-        var currSelNum = parseInt($(selElID).innerHTML);
-        var selNum = elem.checked ? currSelNum + 1 : currSelNum - 1;
-        enableDescrLinks(selNum, toolbarID, selElID);
-    }
-}
-/***Download code begin****/
-
-function initDownLoadPopup(dwnDialog) {
-
-    jQuery(dwnDialog).find("button").each(function(index) {        
-        jQuery(this).bind("click", execDownLoad);        
-    });
-
-    jQuery(dwnDialog).bind("click", function(e) { e.stopPropagation(); });
-}
-
-function initDescDownLoad() {
-    initDownLoadPopup($("dsDownload"));
-
-    if ($("psiw") && utils.hasClass($("psiw"), "shown")) {
-        initDownLoadPopup($("dsDownload_psiw"));        
-    }
-}
-
-function initAlignDownLoad(navObj) 
-{
-    var seqID = navObj.seqID;
-    var dwnDialog = $("dlgDwnl_" + seqID);
-    jQuery(dwnDialog).find("button").each(function(index) {        
-        jQuery(this).bind("click", execDownLoad);        
-    });
-
-    var dwnFSTW = $("dwFST_" + seqID);//whole seq
-    var dwnFSTAl = $("dwFSTAl_" + seqID);//aligned regions
-    
-    if(dwnFSTW) dwnFSTW.setAttribute("seqfsta", navObj.currSeqID); 
-    if(dwnFSTAl) dwnFSTAl.setAttribute("seqfsta", navObj.currSeqID); 
-    
-    jQuery(dwnDialog).bind("click", function(e) { e.stopPropagation(); });    
-}
-
-    
-function execDownLoad(e) {
-    if (!utils.hasClass(this, "cnc")) {
-        par = utils.getParent(this);
-        dwnDialog = utils.getParent(par); //parent dialog with popDl class
-        var descr = (this.id == "dw_cont" || this.id == "dw_cont_psiw") ? true : false;
-        jQuery(dwnDialog).find("input").each(function(index) {
-            if (this.checked) {
-                submitDownLoad(this, descr);
-            }
-        });
-    }
-    jQuery(document.body).click();
-    utils.preventDefault(e);      
-}
-
-function submitDownLoad(radioElem, descr) {    
-    var toolURL = radioElem.getAttribute("url");
-    if (toolURL) {
-        if (descr) {
-            var getGi = radioElem.getAttribute("getGi");
-            getGi = (getGi) ? true : false;
-            
-            var tblID = "dscTable";
-            var suffix = PsiBelowThresh(radioElem.id);
-            tblID += suffix;
-
-            $("selDnSeqs").value = createSelseqString(tblID,getGi);
-        }
-        else {
-            var seqfsta = radioElem.getAttribute("seqfsta");
-            $("selDnSeqs").value = (seqfsta) ? seqfsta : radioElem.getAttribute("getGi");
-        }
-        var addParams = "";
-        if (radioElem.getAttribute("addParam")) {
-            addParams = addDwnlParams();
-        }
-        var submitName = radioElem.getAttribute("sbName")
-        $("selDnSeqs").name = (submitName) ? submitName : "ALIGN_SEQ_LIST";
-        $("dwdlSubmit").action = toolURL + addParams;
-        $("dwdlSubmit").submit();
-    }       
-    else {
-        var sbFunction = radioElem.getAttribute("sbFunc");        
-        if (sbFunction) {
-            eval(sbFunction + "(radioElem, descr)");
-        }        
-    }
-}
-
-
-function initDownLoadFSTA(radioElem, descr) 
-{
-    if (descr) {
-    
-        var tblID = "dscTable";
-        var suffix = PsiBelowThresh(radioElem.id);
-        tblID += suffix;
-
-        $("sbmtFASTA").ALIGN_SEQ_LIST.value = createSelseqString(tblID,false);
-    }
-    else {        
-        $("sbmtFASTA").ALIGN_SEQ_LIST.value = radioElem.getAttribute("seqfsta");
-    }
-    $("sbmtFASTA").DOWNLOAD_TYPE.value = radioElem.getAttribute("fstaDWType");
-    
-    $("sbmtFASTA").DATABASE.value = getHiddenFieldVal("DATABASE");
-    if ($("useAlignDB") && $("useAlignDB").value == "true") {//temp checkbox    
-        var batchID = document.getElementsByName("ALIGNDB_BATCH_ID");
-        if (batchID) {
-            $("sbmtFASTA").ALIGNDB_BATCH_ID.value = getHiddenFieldVal("ALIGNDB_BATCH_ID");
-            $("sbmtFASTA").ALIGNDB_MASTER_ALIAS.value = getHiddenFieldVal("ALIGNDB_MASTER_ALIAS");
-            $("sbmtFASTA").ALIGNDB_CGI_HOST.value = getHiddenFieldVal("ALIGNDB_CGI_HOST");
-            $("sbmtFASTA").ALIGNDB_CGI_PATH.value = getHiddenFieldVal("ALIGNDB_CGI_PATH");
-        }
-    }
-    $("sbmtFASTA").submit();    
-}
-
-function createSelseqString(tblID,getGi) {    
-    var selSeqs = "";
-    jQuery($(tblID)).find("input[type='checkbox'].cb").each(function(index) {
-        if (jQuery(this)[0].checked) {
-            if (selSeqs != "") selSeqs += ",";
-            if (getGi) {
-                selSeqs += jQuery(this)[0].value;
-            }
-            else {
-                var linkID = jQuery(this)[0].id.replace("chk", "deflnDesc");
-                selSeqs += $(linkID).getAttribute("seqFSTA");
-            }
-        }
-    });
-    return selSeqs;
-}
-
-/***Download code end****/
-
-/***Init navigation code begin **/
-
-function initNavigation(navObj) {    
-    initNextAlnLink(navObj, true);
-    initNextAlnLink(navObj, false);        
-}
-
-
-function initNavInfo(navObj) {
-    var currInd = parseInt($("dtr_" + navObj.seqID).getAttribute("ind"));
-    nextInd = currInd + 1;
-    prevInd = currInd - 1;
-    
-    navObj.currSeqID = "";
-    navObj.nextSeqID = "";
-    navObj.prevSeqID = "";
-        
-    if ($("deflnDesc_" + nextInd)) {
-        navObj.nextSeqID = $("deflnDesc_" + nextInd).getAttribute("accs");
-        if(navObj.nextSeqID =="") navObj.nextSeqID = $("deflnDesc_" + nextInd).getAttribute("seqFSTA");
-    }
-    if ($("deflnDesc_" + prevInd)) {
-        navObj.prevSeqID = $("deflnDesc_" + prevInd).getAttribute("accs");
-        if (navObj.prevSeqID == "") navObj.prevSeqID = $("deflnDesc_" + prevInd).getAttribute("seqFSTA");
-    }
-    if ($("deflnDesc_" + currInd)) {
-        navObj.currSeqID = $("deflnDesc_" + currInd).getAttribute("seqFSTA");        
-    }
-}
-
-
-function initNextAlnLink(navObj, next) {
-
-    var nextLinkEl = (next) ? $("alnNxt_" + navObj.seqID) : $("alnPrv_" + navObj.seqID);
-    var nextSeqid = (next) ? navObj.nextSeqID : navObj.prevSeqID;
-    
-    if (nextLinkEl) {
-        if (nextSeqid != "") {
-            var text = (next) ? "next" : "previous";
-            nextLinkEl.setAttribute("title", "Go to " + text + " alignment for " + nextSeqid);
-        }
-        else {
-            nextLinkEl.setAttribute("disabled", "disabled");
-        }
-    }
-}
-function scan(link) {
-    var init = link.getAttribute("init");
-    if (!init) {
-        ncbi.sg.scanLinks(link);
-        link.setAttribute("init","on");
-    }
-}
-
-function initWidth(seqID) {
-    var lineLengthElem = $("FormatForm").LINE_LENGTH;
-    var lineLength = parseInt(lineLengthElem[lineLengthElem.selectedIndex].value);
-    if (parseInt(lineLengthElem.getAttribute("defval")) == lineLength) return;
-    
-    var relWidth = (lineLength > 90) ? "12%" : "15%";
-    var charWidth = (navigator.userAgent.match(/ie/i)) ? 8 : 7;
-    lineLength = (lineLength + parseInt(17)) * charWidth;
-    var width = lineLength + "px";
-    jQuery($("alnAll_" + seqID)).find("div.dflLnk").each(function(index) {
-        jQuery(this).css("width", width);
-    });
-    jQuery($("alnAll_" + seqID)).find("table.alnParams").each(function(index) {
-        jQuery(this).css("width", width);
-    });    
-    jQuery($("relInf_" + seqID)).css("width", relWidth);
-}
-
-
-/***Init navigation code end **/
-function initAlignBatch(seqID)
-{
-    var navObj = new Object();
-    navObj.seqID = seqID;
-    initNavInfo(navObj);
-
-    initAlignDownLoad(navObj);
-    initNavigation(navObj);
-    ncbi.sg.scanLinks($("alnNxt_" + seqID));
-    ncbi.sg.scanLinks($("alnPrv_" + seqID));
-    if ($("serviceType").value == "vecscreen") {
-        utils.addClass($("alnDsc_" + seqID), "hidden");
-    }
-    ncbi.sg.scanLinks($("alnDwnld_" + seqID));
-    jQuery($("csLinks_" + seqID)).find("a").each(function(index) {
-        ncbi.sg.scanLinks(this);
-    });
-    jQuery($("relInf_" + seqID)).find("a").each(function(index) {
-        ncbi.sg.scanLinks(this);
-    });
-    jQuery($("rng_" + seqID)).find("a").each(function(index) {
-        ncbi.sg.scanLinks(this);
-    });
-    jQuery($("dln_" + seqID)).find("a").each(function(index) {
-        ncbi.sg.scanLinks(this);
-    });
-    initWidth(seqID); 
-/*        
-    jQuery($("alnHdr_" + seqID)).find("a").each(function(index) {
-        ncbi.sg.scanLinks(this);
-    });
-    jQuery($("aln_" + seqID)).find("a").each(function(index) {
-        ncbi.sg.scanLinks(this);
-    });
-*/    
-}
-
-function SaveConfigTable() {
-    blastUrl = "fmtsave.cgi";
-    
-
-    var rp = new RemoteDataProvider(blastUrl);
-
-
-    rp.onSuccess = function(obj) {
-        //alert("success");
-    };
-    rp.onError = function(obj) {
-        //alert("error");
-    }    
-
-    var program = getHiddenFieldVal("PROGRAM");
-    var rid = getHiddenFieldVal("RID");
-    var blastSpec = getHiddenFieldVal("BLAST_SPEC");
-    var params = "CMD=Get&RID=" + rid + "&ViewReport=on&PROGRAM=" + program + "&SAVE_INDV_FRM_OPTION=on&CONFIG_DESCR=" + $("cfcDsSave").value;
-    if(blastSpec) {
-        params += "&BLAST_SPEC=" + blastSpec;
-    }     
-    rp.Request(params,"POST");
-}
-
-function removeRID() {
-    var rid = document.getElementsByName("RID");
-    for (var i = 0; i <= rid.length; i++) {
-        jQuery(rid[i]).remove();        
-    }
-}
-
-function initAdvancedView()
-{
-    if ($("dsConfig")) {
-    
-        var alnView = getHiddenFieldVal("ALIGNMENT_VIEW");
-        if (alnView == "Pairwise" || alnView == "PairwiseWithIdentities") {
-            var rid = getHiddenFieldVal("RID");        
-            ReadNextSeqAligns(0, 5);            
-            g_alignViewPos = $("alignView").getBoundingClientRect().top;
-            utils.addEvent(window, "scroll", checkAutoAlignLoad, false);
-        }
-        list = $("phiPtInd");
-        if (list) {
-            utils.addEvent(list, "change", GetPatternLocResults, false);
-        }                
-        initDescConfig();
-        initDescSelect();
-        initDescDownLoad();
-        if ($("psiInp")) {
-            var nextIter = document.getElementsByName("NEXT_I");
-            for (var i = 0; i < nextIter.length; i++) {
-                utils.addEvent(nextIter[i], "click", removeRID, false);
-            }
-        }
-    }
-}
-
-//takes care of jQuery calls to elements that have dots in id like id= "SRA34456.3.4"
-function initjQry() 
-{
-    var oldCreate = jQuery.ui.ncbipopper.prototype._create;
-    jQuery.ui.ncbipopper.prototype._create = function() {
-        var destSelector = this.options.destSelector || this.options.sourceSelector || this.element.prop("hash");
-        this.options.destSelector = destSelector.replace(/\./g, "\\.");
-        oldCreate.apply(this, arguments);
-    }
-}
-utils.addEvent(window,
-				"load", initAdvancedView,
-				false);
-
-initjQry()
-
-/* If user agent has "safari" in it, include safari-specific stylesheet. */
-if (navigator.userAgent.match(/ie/i)) {
-    document.write("<link rel='stylesheet' type='text/css' href='css/ie-descriptions.css'  media='screen'/>");
-}
-/*****************************new code end*********************************************************************/
Binary file Blast output page example_files/helix.gif has changed
--- a/Blast output page example_files/jig.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-.ui-helper-hidden{display:none;}.ui-helper-hidden-accessible{position:absolute;left:-99999999px;}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none;}.ui-helper-clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.ui-helper-clearfix{display:inline-block;}/* required comment for clearfix to work in Opera \*/ * html .ui-helper-clearfix{height:1%;}.ui-helper-clearfix{display:block;}/* end clearfix */ .ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0);}.ui-state-disabled{cursor:default!important;}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget{font-size:1.1em;}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222;}.ui-widget-content a{color:#222;}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:bold;}.ui-widget-header a{color:#222;}.ui-state-default,.ui-widget-content .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555;}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none;}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus{border:1px solid #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-hover a,.ui-state-hover a:hover{color:#212121;text-decoration:none;}.ui-state-active,.ui-widget-content .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none;}.ui-state-highlight,.ui-widget-content .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636;}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a{color:#363636;}.ui-state-error,.ui-widget-content .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a;}.ui-state-error a,.ui-widget-content .ui-state-error a{color:#cd0a0a;}.ui-state-error-text,.ui-widget-content .ui-state-error-text{color:#cd0a0a;}.ui-priority-primary,.ui-widget-content .ui-priority-primary{font-weight:bold;}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal;}.ui-state-disabled,.ui-widget-content .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none;}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png);}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png);}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png);}.ui-icon-carat-1-n{background-position:0 0;}.ui-icon-carat-1-ne{background-position:-16px 0;}.ui-icon-carat-1-e{background-position:-32px 0;}.ui-icon-carat-1-se{background-position:-48px 0;}.ui-icon-carat-1-s{background-position:-64px 0;}.ui-icon-carat-1-sw{background-position:-80px 0;}.ui-icon-carat-1-w{background-position:-96px 0;}.ui-icon-carat-1-nw{background-position:-112px 0;}.ui-icon-carat-2-n-s{background-position:-128px 0;}.ui-icon-carat-2-e-w{background-position:-144px 0;}.ui-icon-triangle-1-n{background-position:0 -16px;}.ui-icon-triangle-1-ne{background-position:-16px -16px;}.ui-icon-triangle-1-e{background-position:-32px -16px;}.ui-icon-triangle-1-se{background-position:-48px -16px;}.ui-icon-triangle-1-s{background-position:-64px -16px;}.ui-icon-triangle-1-sw{background-position:-80px -16px;}.ui-icon-triangle-1-w{background-position:-96px -16px;}.ui-icon-triangle-1-nw{background-position:-112px -16px;}.ui-icon-triangle-2-n-s{background-position:-128px -16px;}.ui-icon-triangle-2-e-w{background-position:-144px -16px;}.ui-icon-arrow-1-n{background-position:0 -32px;}.ui-icon-arrow-1-ne{background-position:-16px -32px;}.ui-icon-arrow-1-e{background-position:-32px -32px;}.ui-icon-arrow-1-se{background-position:-48px -32px;}.ui-icon-arrow-1-s{background-position:-64px -32px;}.ui-icon-arrow-1-sw{background-position:-80px -32px;}.ui-icon-arrow-1-w{background-position:-96px -32px;}.ui-icon-arrow-1-nw{background-position:-112px -32px;}.ui-icon-arrow-2-n-s{background-position:-128px -32px;}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px;}.ui-icon-arrow-2-e-w{background-position:-160px -32px;}.ui-icon-arrow-2-se-nw{background-position:-176px -32px;}.ui-icon-arrowstop-1-n{background-position:-192px -32px;}.ui-icon-arrowstop-1-e{background-position:-208px -32px;}.ui-icon-arrowstop-1-s{background-position:-224px -32px;}.ui-icon-arrowstop-1-w{background-position:-240px -32px;}.ui-icon-arrowthick-1-n{background-position:0 -48px;}.ui-icon-arrowthick-1-ne{background-position:-16px -48px;}.ui-icon-arrowthick-1-e{background-position:-32px -48px;}.ui-icon-arrowthick-1-se{background-position:-48px -48px;}.ui-icon-arrowthick-1-s{background-position:-64px -48px;}.ui-icon-arrowthick-1-sw{background-position:-80px -48px;}.ui-icon-arrowthick-1-w{background-position:-96px -48px;}.ui-icon-arrowthick-1-nw{background-position:-112px -48px;}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px;}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px;}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px;}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px;}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px;}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px;}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px;}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px;}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px;}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px;}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px;}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px;}.ui-icon-arrowreturn-1-w{background-position:-64px -64px;}.ui-icon-arrowreturn-1-n{background-position:-80px -64px;}.ui-icon-arrowreturn-1-e{background-position:-96px -64px;}.ui-icon-arrowreturn-1-s{background-position:-112px -64px;}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px;}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px;}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px;}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px;}.ui-icon-arrow-4{background-position:0 -80px;}.ui-icon-arrow-4-diag{background-position:-16px -80px;}.ui-icon-extlink{background-position:-32px -80px;}.ui-icon-newwin{background-position:-48px -80px;}.ui-icon-refresh{background-position:-64px -80px;}.ui-icon-shuffle{background-position:-80px -80px;}.ui-icon-transfer-e-w{background-position:-96px -80px;}.ui-icon-transferthick-e-w{background-position:-112px -80px;}.ui-icon-folder-collapsed{background-position:0 -96px;}.ui-icon-folder-open{background-position:-16px -96px;}.ui-icon-document{background-position:-32px -96px;}.ui-icon-document-b{background-position:-48px -96px;}.ui-icon-note{background-position:-64px -96px;}.ui-icon-mail-closed{background-position:-80px -96px;}.ui-icon-mail-open{background-position:-96px -96px;}.ui-icon-suitcase{background-position:-112px -96px;}.ui-icon-comment{background-position:-128px -96px;}.ui-icon-person{background-position:-144px -96px;}.ui-icon-print{background-position:-160px -96px;}.ui-icon-trash{background-position:-176px -96px;}.ui-icon-locked{background-position:-192px -96px;}.ui-icon-unlocked{background-position:-208px -96px;}.ui-icon-bookmark{background-position:-224px -96px;}.ui-icon-tag{background-position:-240px -96px;}.ui-icon-home{background-position:0 -112px;}.ui-icon-flag{background-position:-16px -112px;}.ui-icon-calendar{background-position:-32px -112px;}.ui-icon-cart{background-position:-48px -112px;}.ui-icon-pencil{background-position:-64px -112px;}.ui-icon-clock{background-position:-80px -112px;}.ui-icon-disk{background-position:-96px -112px;}.ui-icon-calculator{background-position:-112px -112px;}.ui-icon-zoomin{background-position:-128px -112px;}.ui-icon-zoomout{background-position:-144px -112px;}.ui-icon-search{background-position:-160px -112px;}.ui-icon-wrench{background-position:-176px -112px;}.ui-icon-gear{background-position:-192px -112px;}.ui-icon-heart{background-position:-208px -112px;}.ui-icon-star{background-position:-224px -112px;}.ui-icon-link{background-position:-240px -112px;}.ui-icon-cancel{background-position:0 -128px;}.ui-icon-plus{background-position:-16px -128px;}.ui-icon-plusthick{background-position:-32px -128px;}.ui-icon-minus{background-position:-48px -128px;}.ui-icon-minusthick{background-position:-64px -128px;}.ui-icon-close{background-position:-80px -128px;}.ui-icon-closethick{background-position:-96px -128px;}.ui-icon-key{background-position:-112px -128px;}.ui-icon-lightbulb{background-position:-128px -128px;}.ui-icon-scissors{background-position:-144px -128px;}.ui-icon-clipboard{background-position:-160px -128px;}.ui-icon-copy{background-position:-176px -128px;}.ui-icon-contact{background-position:-192px -128px;}.ui-icon-image{background-position:-208px -128px;}.ui-icon-video{background-position:-224px -128px;}.ui-icon-script{background-position:-240px -128px;}.ui-icon-alert{background-position:0 -144px;}.ui-icon-info{background-position:-16px -144px;}.ui-icon-notice{background-position:-32px -144px;}.ui-icon-help{background-position:-48px -144px;}.ui-icon-check{background-position:-64px -144px;}.ui-icon-bullet{background-position:-80px -144px;}.ui-icon-radio-off{background-position:-96px -144px;}.ui-icon-radio-on{background-position:-112px -144px;}.ui-icon-pin-w{background-position:-128px -144px;}.ui-icon-pin-s{background-position:-144px -144px;}.ui-icon-play{background-position:0 -160px;}.ui-icon-pause{background-position:-16px -160px;}.ui-icon-seek-next{background-position:-32px -160px;}.ui-icon-seek-prev{background-position:-48px -160px;}.ui-icon-seek-end{background-position:-64px -160px;}.ui-icon-seek-start{background-position:-80px -160px;}.ui-icon-seek-first{background-position:-80px -160px;}.ui-icon-stop{background-position:-96px -160px;}.ui-icon-eject{background-position:-112px -160px;}.ui-icon-volume-off{background-position:-128px -160px;}.ui-icon-volume-on{background-position:-144px -160px;}.ui-icon-power{background-position:0 -176px;}.ui-icon-signal-diag{background-position:-16px -176px;}.ui-icon-signal{background-position:-32px -176px;}.ui-icon-battery-0{background-position:-48px -176px;}.ui-icon-battery-1{background-position:-64px -176px;}.ui-icon-battery-2{background-position:-80px -176px;}.ui-icon-battery-3{background-position:-96px -176px;}.ui-icon-circle-plus{background-position:0 -192px;}.ui-icon-circle-minus{background-position:-16px -192px;}.ui-icon-circle-close{background-position:-32px -192px;}.ui-icon-circle-triangle-e{background-position:-48px -192px;}.ui-icon-circle-triangle-s{background-position:-64px -192px;}.ui-icon-circle-triangle-w{background-position:-80px -192px;}.ui-icon-circle-triangle-n{background-position:-96px -192px;}.ui-icon-circle-arrow-e{background-position:-112px -192px;}.ui-icon-circle-arrow-s{background-position:-128px -192px;}.ui-icon-circle-arrow-w{background-position:-144px -192px;}.ui-icon-circle-arrow-n{background-position:-160px -192px;}.ui-icon-circle-zoomin{background-position:-176px -192px;}.ui-icon-circle-zoomout{background-position:-192px -192px;}.ui-icon-circle-check{background-position:-208px -192px;}.ui-icon-circlesmall-plus{background-position:0 -208px;}.ui-icon-circlesmall-minus{background-position:-16px -208px;}.ui-icon-circlesmall-close{background-position:-32px -208px;}.ui-icon-squaresmall-plus{background-position:-48px -208px;}.ui-icon-squaresmall-minus{background-position:-64px -208px;}.ui-icon-squaresmall-close{background-position:-80px -208px;}.ui-icon-grip-dotted-vertical{background-position:0 -224px;}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px;}.ui-icon-grip-solid-vertical{background-position:-32px -224px;}.ui-icon-grip-solid-horizontal{background-position:-48px -224px;}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px;}.ui-icon-grip-diagonal-se{background-position:-80px -224px;}.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;}.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;}.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;}.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-corner-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;}.ui-corner-bottom{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-corner-right{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-corner-left{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;}.ui-corner-all{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}.ui-widget{font-family:arial,"sans-serif"!important;font-size:100%;}.ui-helper-reset{font-size:100%!important;}iframe.ui-ncbi-iframe-fix{position:absolute;top:0;left:0;height:200px;z-index:3000;display:block;filter:alpha(opacity=1);}#ui-datepicker-div{display:none;}.ui-widget-content a{color:#2F4A8B;}.ui-helper-hidden-accessible{left:-10000000px!important;}#jig-ncbi_requires_login iframe{border:none;}
\ No newline at end of file
--- a/Blast output page example_files/jig.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,265 +0,0 @@
-(function(){function Ka(){var g=null,j=jQuery.cookie("WebCubbyUser");if(j)if(j.indexOf("logged-in=true")>-1)if(j=j.match(/my-name=([^;]+)/i))g=j[1];return g}function W(g){this.name=this.selector="";this.onPage=false;this.dependsOn=[];this.interactions=[];this.overrideDefaults={};this.addCss=function(){document.write('<link type="text/css" rel="stylesheet" href="'+pa+"css/jquery.ui."+this.name+La+'"/>')};this.addJs=function(){document.write('<script type="text/javascript" src="'+pa+"js/jquery.ui."+
-this.name+Ma+'"><\/script>')};this.addDependent=function(){for(var j=0;j<this.dependsOn.length;j++)qa[this.dependsOn[j]].addToPage()};this.addInteractions=function(){for(var j=0;j<this.interactions.length;j++)document.write('<script type="text/javascript" src="'+pa+"js/jquery.ui."+this.interactions[j]+Ma+'"><\/script>')};this.addToPage=function(){if(!this.onPage){this.addInteractions();this.addDependent();this.addJs();this.addCss();this.onPage=true}};Z.extend(this,g)}if(!(typeof jQuery!=="undefined"&&
-typeof jQuery.ui!=="undefined"&&typeof jQuery.ui.jig!=="undefined")){(function(g,j){function q(a){var b=Za[a]={},d,e;a=a.split(/\s+/);d=0;for(e=a.length;d<e;d++)b[a[d]]=true;return b}function v(a,b,d){if(d===j&&a.nodeType===1){d="data-"+b.replace(Gb,"-$1").toLowerCase();d=a.getAttribute(d);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:c.isNumeric(d)?parseFloat(d):Hb.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=j}return d}function p(a){for(var b in a)if(!(b===
-"data"&&c.isEmptyObject(a[b])))if(b!=="toJSON")return false;return true}function s(a,b,d){var e=b+"defer",f=b+"queue",h=b+"mark",l=c._data(a,e);if(l&&(d==="queue"||!c._data(a,f))&&(d==="mark"||!c._data(a,h)))setTimeout(function(){if(!c._data(a,f)&&!c._data(a,h)){c.removeData(a,e,true);l.fire()}},0)}function r(){return false}function x(){return true}function C(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function G(a,b,d){b=b||0;if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,
-h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Ib.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function I(a){var b=$a.split("|");a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a}function N(a){return c.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):
-a}function O(a,b){if(!(b.nodeType!==1||!c.hasData(a))){var d,e,f;e=c._data(a);a=c._data(b,e);var h=e.events;if(h){delete a.handle;a.events={};for(d in h){e=0;for(f=h[d].length;e<f;e++)c.event.add(b,d+(h[d][e].namespace?".":"")+h[d][e].namespace,h[d][e],h[d][e].data)}}if(a.data)a.data=c.extend({},a.data)}}function Q(a,b){var d;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);d=b.nodeName.toLowerCase();if(d==="object")b.outerHTML=a.outerHTML;else if(d===
-"input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)b.defaultChecked=b.checked=a.checked;if(b.value!==a.value)b.value=a.value}else if(d==="option")b.selected=a.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=a.defaultValue;b.removeAttribute(c.expando)}}function P(a){return typeof a.getElementsByTagName!=="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!=="undefined"?a.querySelectorAll("*"):[]}function R(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=
-a.checked}function ea(a){var b=(a.nodeName||"").toLowerCase();if(b==="input")R(a);else b!=="script"&&typeof a.getElementsByTagName!=="undefined"&&c.grep(a.getElementsByTagName("input"),R)}function ta(a){var b=L.createElement("div");ab.appendChild(b);b.innerHTML=a.outerHTML;return b.firstChild}function ua(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Jb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function va(a,b,
-d){var e=b==="width"?a.offsetWidth:a.offsetHeight,f=b==="width"?Kb:Lb,h=0,l=f.length;if(e>0){if(d!=="border")for(;h<l;h++){d||(e-=parseFloat(c.css(a,"padding"+f[h]))||0);if(d==="margin")e+=parseFloat(c.css(a,d+f[h]))||0;else e-=parseFloat(c.css(a,"border"+f[h]+"Width"))||0}return e+"px"}e=wa(a,b,b);if(e<0||e==null)e=a.style[b]||0;e=parseFloat(e)||0;if(d)for(;h<l;h++){e+=parseFloat(c.css(a,"padding"+f[h]))||0;if(d!=="padding")e+=parseFloat(c.css(a,"border"+f[h]+"Width"))||0;if(d==="margin")e+=parseFloat(c.css(a,
-d+f[h]))||0}return e+"px"}function Ea(a){return function(b,d){if(typeof b!=="string"){d=b;b="*"}if(c.isFunction(d)){b=b.toLowerCase().split(bb);for(var e=0,f=b.length,h,l;e<f;e++){h=b[e];if(l=/^\+/.test(h))h=h.substr(1)||"*";h=a[h]=a[h]||[];h[l?"unshift":"push"](d)}}}}function fa(a,b,d,e,f,h){f=f||b.dataTypes[0];h=h||{};h[f]=true;f=a[f];for(var l=0,m=f?f.length:0,n=a===Na,t;l<m&&(n||!t);l++){t=f[l](b,d,e);if(typeof t==="string")if(!n||h[t])t=j;else{b.dataTypes.unshift(t);t=fa(a,b,d,e,t,h)}}if((n||
-!t)&&!h["*"])t=fa(a,b,d,e,"*",h);return t}function Ba(a,b){var d,e,f=c.ajaxSettings.flatOptions||{};for(d in b)if(b[d]!==j)(f[d]?a:e||(e={}))[d]=b[d];e&&c.extend(true,a,e)}function xa(a,b,d,e){if(c.isArray(b))c.each(b,function(h,l){d||Mb.test(a)?e(a,l):xa(a+"["+(typeof l==="object"||c.isArray(l)?h:"")+"]",l,d,e)});else if(!d&&b!=null&&typeof b==="object")for(var f in b)xa(a+"["+f+"]",b[f],d,e);else e(a,b)}function Oa(a,b,d){var e=a.contents,f=a.dataTypes,h=a.responseFields,l,m,n,t;for(m in h)if(m in
-d)b[h[m]]=d[m];for(;f[0]==="*";){f.shift();if(l===j)l=a.mimeType||b.getResponseHeader("content-type")}if(l)for(m in e)if(e[m]&&e[m].test(l)){f.unshift(m);break}if(f[0]in d)n=f[0];else{for(m in d){if(!f[0]||a.converters[m+" "+f[0]]){n=m;break}t||(t=m)}n=n||t}if(n){n!==f[0]&&f.unshift(n);return d[n]}}function Nb(a,b){if(a.dataFilter)b=a.dataFilter(b,a.dataType);var d=a.dataTypes,e={},f,h,l=d.length,m,n=d[0],t,E,y,H,D;for(f=1;f<l;f++){if(f===1)for(h in a.converters)if(typeof h==="string")e[h.toLowerCase()]=
-a.converters[h];t=n;n=d[f];if(n==="*")n=t;else if(t!=="*"&&t!==n){E=t+" "+n;y=e[E]||e["* "+n];if(!y){D=j;for(H in e){m=H.split(" ");if(m[0]===t||m[0]==="*")if(D=e[m[1]+" "+n]){H=e[H];if(H===true)y=D;else if(D===true)y=H;break}}}y||D||c.error("No conversion from "+E.replace(" "," to "));if(y!==true)b=y?y(b):D(H(b))}}return b}function cb(){try{return new g.XMLHttpRequest}catch(a){}}function Ob(){try{return new g.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function db(){setTimeout(Pb,0);return Fa=
-c.now()}function Pb(){Fa=j}function ya(a,b){var d={};c.each(eb.concat.apply([],eb.slice(0,b)),function(){d[this]=a});return d}function fb(a){if(!Pa[a]){var b=L.body,d=c("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){if(!la){la=L.createElement("iframe");la.frameBorder=la.width=la.height=0}b.appendChild(la);if(!za||!la.createElement){za=(la.contentWindow||la.contentDocument).document;za.write((L.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");za.close()}d=
-za.createElement(a);za.body.appendChild(d);e=c.css(d,"display");b.removeChild(la)}Pa[a]=e}return Pa[a]}function Qa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var L=g.document,Qb=g.navigator,Rb=g.location,c=function(){function a(){if(!b.isReady){try{L.documentElement.doScroll("left")}catch(o){setTimeout(a,1);return}b.ready()}}var b=function(o,A){return new b.fn.init(o,A,f)},d=g.jQuery,e=g.$,f,h=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,l=/\S/,m=/^\s+/,n=/\s+$/,t=
-/^<(\w+)\s*\/?>(?:<\/\1>)?$/,E=/^[\],:{}\s]*$/,y=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,H=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,D=/(?:^|:|,)(?:\s*\[)+/g,S=/(webkit)[ \/]([\w.]+)/,$=/(opera)(?:.*version)?[ \/]([\w.]+)/,ba=/(msie) ([\w.]+)/,aa=/(mozilla)(?:.*? rv:([\w.]+))?/,na=/-([a-z]|[0-9])/ig,T=/^-ms-/,ma=function(o,A){return(A+"").toUpperCase()},ia=Qb.userAgent,i,k,u=Object.prototype.toString,w=Object.prototype.hasOwnProperty,z=Array.prototype.push,B=Array.prototype.slice,
-J=String.prototype.trim,M=Array.prototype.indexOf,V={};b.fn=b.prototype={constructor:b,init:function(o,A,K){var F;if(!o)return this;if(o.nodeType){this.context=this[0]=o;this.length=1;return this}if(o==="body"&&!A&&L.body){this.context=L;this[0]=L.body;this.selector=o;this.length=1;return this}if(typeof o==="string")if((F=o.charAt(0)==="<"&&o.charAt(o.length-1)===">"&&o.length>=3?[null,o,null]:h.exec(o))&&(F[1]||!A))if(F[1]){K=(A=A instanceof b?A[0]:A)?A.ownerDocument||A:L;if(o=t.exec(o))if(b.isPlainObject(A)){o=
-[L.createElement(o[1])];b.fn.attr.call(o,A,true)}else o=[K.createElement(o[1])];else{o=b.buildFragment([F[1]],[K]);o=(o.cacheable?b.clone(o.fragment):o.fragment).childNodes}return b.merge(this,o)}else{if((A=L.getElementById(F[2]))&&A.parentNode){if(A.id!==F[2])return K.find(o);this.length=1;this[0]=A}this.context=L;this.selector=o;return this}else return!A||A.jquery?(A||K).find(o):this.constructor(A).find(o);else if(b.isFunction(o))return K.ready(o);if(o.selector!==j){this.selector=o.selector;this.context=
-o.context}return b.makeArray(o,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return B.call(this,0)},get:function(o){return o==null?this.toArray():o<0?this[this.length+o]:this[o]},pushStack:function(o,A,K){var F=this.constructor();b.isArray(o)?z.apply(F,o):b.merge(F,o);F.prevObject=this;F.context=this.context;if(A==="find")F.selector=this.selector+(this.selector?" ":"")+K;else if(A)F.selector=this.selector+"."+A+"("+K+")";return F},each:function(o,
-A){return b.each(this,o,A)},ready:function(o){b.bindReady();i.add(o);return this},eq:function(o){o=+o;return o===-1?this.slice(o):this.slice(o,o+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(B.apply(this,arguments),"slice",B.call(arguments).join(","))},map:function(o){return this.pushStack(b.map(this,function(A,K){return o.call(A,K,A)}))},end:function(){return this.prevObject||this.constructor(null)},push:z,sort:[].sort,splice:[].splice};
-b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var o,A,K,F,X,U=arguments[0]||{},ca=1,da=arguments.length,Ra=false;if(typeof U==="boolean"){Ra=U;U=arguments[1]||{};ca=2}if(typeof U!=="object"&&!b.isFunction(U))U={};if(da===ca){U=this;--ca}for(;ca<da;ca++)if((o=arguments[ca])!=null)for(A in o){K=U[A];F=o[A];if(U!==F)if(Ra&&F&&(b.isPlainObject(F)||(X=b.isArray(F)))){if(X){X=false;K=K&&b.isArray(K)?K:[]}else K=K&&b.isPlainObject(K)?K:{};U[A]=b.extend(Ra,K,F)}else if(F!==j)U[A]=F}return U};b.extend({noConflict:function(o){if(g.$===
-b)g.$=e;if(o&&g.jQuery===b)g.jQuery=d;return b},isReady:false,readyWait:1,holdReady:function(o){if(o)b.readyWait++;else b.ready(true)},ready:function(o){if(o===true&&!--b.readyWait||o!==true&&!b.isReady){if(!L.body)return setTimeout(b.ready,1);b.isReady=true;if(!(o!==true&&--b.readyWait>0)){i.fireWith(L,[b]);b.fn.trigger&&b(L).trigger("ready").off("ready")}}},bindReady:function(){if(!i){i=b.Callbacks("once memory");if(L.readyState==="complete")return setTimeout(b.ready,1);if(L.addEventListener){L.addEventListener("DOMContentLoaded",
-k,false);g.addEventListener("load",b.ready,false)}else if(L.attachEvent){L.attachEvent("onreadystatechange",k);g.attachEvent("onload",b.ready);var o=false;try{o=g.frameElement==null}catch(A){}L.documentElement.doScroll&&o&&a()}}},isFunction:function(o){return b.type(o)==="function"},isArray:Array.isArray||function(o){return b.type(o)==="array"},isWindow:function(o){return o&&typeof o==="object"&&"setInterval"in o},isNumeric:function(o){return!isNaN(parseFloat(o))&&isFinite(o)},type:function(o){return o==
-null?String(o):V[u.call(o)]||"object"},isPlainObject:function(o){if(!o||b.type(o)!=="object"||o.nodeType||b.isWindow(o))return false;try{if(o.constructor&&!w.call(o,"constructor")&&!w.call(o.constructor.prototype,"isPrototypeOf"))return false}catch(A){return false}var K;for(K in o);return K===j||w.call(o,K)},isEmptyObject:function(o){for(var A in o)return false;return true},error:function(o){throw new Error(o);},parseJSON:function(o){if(typeof o!=="string"||!o)return null;o=b.trim(o);if(g.JSON&&g.JSON.parse)return g.JSON.parse(o);
-if(E.test(o.replace(y,"@").replace(H,"]").replace(D,"")))return(new Function("return "+o))();b.error("Invalid JSON: "+o)},parseXML:function(o){var A,K;try{if(g.DOMParser){K=new DOMParser;A=K.parseFromString(o,"text/xml")}else{A=new ActiveXObject("Microsoft.XMLDOM");A.async="false";A.loadXML(o)}}catch(F){A=j}if(!A||!A.documentElement||A.getElementsByTagName("parsererror").length)b.error("Invalid XML: "+o);return A},noop:function(){},globalEval:function(o){if(o&&l.test(o))(g.execScript||function(A){g.eval.call(g,
-A)})(o)},camelCase:function(o){return o.replace(T,"ms-").replace(na,ma)},nodeName:function(o,A){return o.nodeName&&o.nodeName.toUpperCase()===A.toUpperCase()},each:function(o,A,K){var F,X=0,U=o.length,ca=U===j||b.isFunction(o);if(K)if(ca)for(F in o){if(A.apply(o[F],K)===false)break}else for(;X<U;){if(A.apply(o[X++],K)===false)break}else if(ca)for(F in o){if(A.call(o[F],F,o[F])===false)break}else for(;X<U;)if(A.call(o[X],X,o[X++])===false)break;return o},trim:J?function(o){return o==null?"":J.call(o)}:
-function(o){return o==null?"":o.toString().replace(m,"").replace(n,"")},makeArray:function(o,A){A=A||[];if(o!=null){var K=b.type(o);o.length==null||K==="string"||K==="function"||K==="regexp"||b.isWindow(o)?z.call(A,o):b.merge(A,o)}return A},inArray:function(o,A,K){var F;if(A){if(M)return M.call(A,o,K);F=A.length;for(K=K?K<0?Math.max(0,F+K):K:0;K<F;K++)if(K in A&&A[K]===o)return K}return-1},merge:function(o,A){var K=o.length,F=0;if(typeof A.length==="number")for(var X=A.length;F<X;F++)o[K++]=A[F];
-else for(;A[F]!==j;)o[K++]=A[F++];o.length=K;return o},grep:function(o,A,K){var F=[],X;K=!!K;for(var U=0,ca=o.length;U<ca;U++){X=!!A(o[U],U);K!==X&&F.push(o[U])}return F},map:function(o,A,K){var F,X,U=[],ca=0,da=o.length;if(o instanceof b||da!==j&&typeof da==="number"&&(da>0&&o[0]&&o[da-1]||da===0||b.isArray(o)))for(;ca<da;ca++){F=A(o[ca],ca,K);if(F!=null)U[U.length]=F}else for(X in o){F=A(o[X],X,K);if(F!=null)U[U.length]=F}return U.concat.apply([],U)},guid:1,proxy:function(o,A){if(typeof A==="string"){var K=
-o[A];A=o;o=K}if(!b.isFunction(o))return j;var F=B.call(arguments,2);K=function(){return o.apply(A,F.concat(B.call(arguments)))};K.guid=o.guid=o.guid||K.guid||b.guid++;return K},access:function(o,A,K,F,X,U){var ca=o.length;if(typeof A==="object"){for(var da in A)b.access(o,da,A[da],F,X,K);return o}if(K!==j){F=!U&&F&&b.isFunction(K);for(da=0;da<ca;da++)X(o[da],A,F?K.call(o[da],da,X(o[da],A)):K,U);return o}return ca?X(o[0],A):j},now:function(){return(new Date).getTime()},uaMatch:function(o){o=o.toLowerCase();
-o=S.exec(o)||$.exec(o)||ba.exec(o)||o.indexOf("compatible")<0&&aa.exec(o)||[];return{browser:o[1]||"",version:o[2]||"0"}},sub:function(){function o(K,F){return new o.fn.init(K,F)}b.extend(true,o,this);o.superclass=this;o.fn=o.prototype=this();o.fn.constructor=o;o.sub=this.sub;o.fn.init=function(K,F){if(F&&F instanceof b&&!(F instanceof o))F=o(F);return b.fn.init.call(this,K,F,A)};o.fn.init.prototype=o.fn;var A=o(L);return o},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),
-function(o,A){V["[object "+A+"]"]=A.toLowerCase()});ia=b.uaMatch(ia);if(ia.browser){b.browser[ia.browser]=true;b.browser.version=ia.version}if(b.browser.webkit)b.browser.safari=true;if(l.test("\u00a0")){m=/^[\s\xA0]+/;n=/[\s\xA0]+$/}f=b(L);if(L.addEventListener)k=function(){L.removeEventListener("DOMContentLoaded",k,false);b.ready()};else if(L.attachEvent)k=function(){if(L.readyState==="complete"){L.detachEvent("onreadystatechange",k);b.ready()}};return b}(),Za={};c.Callbacks=function(a){a=a?Za[a]||
-q(a):{};var b=[],d=[],e,f,h,l,m,n=function(y){var H,D,S,$;H=0;for(D=y.length;H<D;H++){S=y[H];$=c.type(S);if($==="array")n(S);else if($==="function")if(!a.unique||!E.has(S))b.push(S)}},t=function(y,H){H=H||[];e=!a.memory||[y,H];f=true;m=h||0;h=0;for(l=b.length;b&&m<l;m++)if(b[m].apply(y,H)===false&&a.stopOnFalse){e=true;break}f=false;if(b)if(a.once)if(e===true)E.disable();else b=[];else if(d&&d.length){e=d.shift();E.fireWith(e[0],e[1])}},E={add:function(){if(b){var y=b.length;n(arguments);if(f)l=b.length;
-else if(e&&e!==true){h=y;t(e[0],e[1])}}return this},remove:function(){if(b)for(var y=arguments,H=0,D=y.length;H<D;H++)for(var S=0;S<b.length;S++)if(y[H]===b[S]){if(f)if(S<=l){l--;S<=m&&m--}b.splice(S--,1);if(a.unique)break}return this},has:function(y){if(b)for(var H=0,D=b.length;H<D;H++)if(y===b[H])return true;return false},empty:function(){b=[];return this},disable:function(){b=d=e=j;return this},disabled:function(){return!b},lock:function(){d=j;if(!e||e===true)E.disable();return this},locked:function(){return!d},
-fireWith:function(y,H){if(d)if(f)a.once||d.push([y,H]);else a.once&&e||t(y,H);return this},fire:function(){E.fireWith(this,arguments);return this},fired:function(){return!!e}};return E};var Sa=[].slice;c.extend({Deferred:function(a){var b=c.Callbacks("once memory"),d=c.Callbacks("once memory"),e=c.Callbacks("memory"),f="pending",h={resolve:b,reject:d,notify:e},l={done:b.add,fail:d.add,progress:e.add,state:function(){return f},isResolved:b.fired,isRejected:d.fired,then:function(t,E,y){m.done(t).fail(E).progress(y);
-return this},always:function(){m.done.apply(m,arguments).fail.apply(m,arguments);return this},pipe:function(t,E,y){return c.Deferred(function(H){c.each({done:[t,"resolve"],fail:[E,"reject"],progress:[y,"notify"]},function(D,S){var $=S[0],ba=S[1],aa;c.isFunction($)?m[D](function(){(aa=$.apply(this,arguments))&&c.isFunction(aa.promise)?aa.promise().then(H.resolve,H.reject,H.notify):H[ba+"With"](this===m?H:this,[aa])}):m[D](H[ba])})}).promise()},promise:function(t){if(t==null)t=l;else for(var E in l)t[E]=
-l[E];return t}},m=l.promise({}),n;for(n in h){m[n]=h[n].fire;m[n+"With"]=h[n].fireWith}m.done(function(){f="resolved"},d.disable,e.lock).fail(function(){f="rejected"},b.disable,e.lock);a&&a.call(m,m);return m},when:function(a){function b(E){return function(y){e[E]=arguments.length>1?Sa.call(arguments,0):y;--m||n.resolveWith(n,e)}}function d(E){return function(y){l[E]=arguments.length>1?Sa.call(arguments,0):y;n.notifyWith(t,l)}}var e=Sa.call(arguments,0),f=0,h=e.length,l=new Array(h),m=h,n=h<=1&&a&&
-c.isFunction(a.promise)?a:c.Deferred(),t=n.promise();if(h>1){for(;f<h;f++)if(e[f]&&e[f].promise&&c.isFunction(e[f].promise))e[f].promise().then(b(f),n.reject,d(f));else--m;m||n.resolveWith(n,e)}else if(n!==a)n.resolveWith(n,h?[a]:[]);return t}});c.support=function(){var a,b,d,e,f,h,l,m,n=L.createElement("div");n.setAttribute("className","t");n.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";b=n.getElementsByTagName("*");d=n.getElementsByTagName("a")[0];
-if(!b||!b.length||!d)return{};e=L.createElement("select");f=e.appendChild(L.createElement("option"));b=n.getElementsByTagName("input")[0];a={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.55/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:b.value==="on",optSelected:f.selected,getSetAttribute:n.className!==
-"t",enctype:!!L.createElement("form").enctype,html5Clone:L.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};b.checked=true;a.noCloneChecked=b.cloneNode(true).checked;e.disabled=true;a.optDisabled=!f.disabled;try{delete n.test}catch(t){a.deleteExpando=false}if(!n.addEventListener&&n.attachEvent&&n.fireEvent){n.attachEvent("onclick",
-function(){a.noCloneEvent=false});n.cloneNode(true).fireEvent("onclick")}b=L.createElement("input");b.value="t";b.setAttribute("type","radio");a.radioValue=b.value==="t";b.setAttribute("checked","checked");n.appendChild(b);d=L.createDocumentFragment();d.appendChild(n.lastChild);a.checkClone=d.cloneNode(true).cloneNode(true).lastChild.checked;a.appendChecked=b.checked;d.removeChild(b);d.appendChild(n);n.innerHTML="";if(g.getComputedStyle){b=L.createElement("div");b.style.width="0";b.style.marginRight=
-"0";n.style.width="2px";n.appendChild(b);a.reliableMarginRight=(parseInt((g.getComputedStyle(b,null)||{marginRight:0}).marginRight,10)||0)===0}if(n.attachEvent)for(l in{submit:1,change:1,focusin:1}){b="on"+l;m=b in n;if(!m){n.setAttribute(b,"return;");m=typeof n[b]==="function"}a[l+"Bubbles"]=m}d.removeChild(n);d=e=f=b=n=b=null;c(function(){var E,y,H,D,S=L.getElementsByTagName("body")[0];if(S){E=L.createElement("div");E.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";
-S.insertBefore(E,S.firstChild);n=L.createElement("div");E.appendChild(n);n.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";h=n.getElementsByTagName("td");m=h[0].offsetHeight===0;h[0].style.display="";h[1].style.display="none";a.reliableHiddenOffsets=m&&h[0].offsetHeight===0;n.innerHTML="";n.style.width=n.style.paddingLeft="1px";c.boxModel=a.boxModel=n.offsetWidth===2;if(typeof n.style.zoom!=="undefined"){n.style.display="inline";n.style.zoom=1;a.inlineBlockNeedsLayout=
-n.offsetWidth===2;n.style.display="";n.innerHTML="<div style='width:4px;'></div>";a.shrinkWrapBlocks=n.offsetWidth!==2}n.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;visibility:hidden;border:0;";n.innerHTML="<div style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;'><div></div></div><table style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
-y=n.firstChild;H=y.firstChild;D={doesNotAddBorder:H.offsetTop!==5,doesAddBorderForTableAndCells:y.nextSibling.firstChild.firstChild.offsetTop===5};H.style.position="fixed";H.style.top="20px";D.fixedPosition=H.offsetTop===20||H.offsetTop===15;H.style.position=H.style.top="";y.style.overflow="hidden";y.style.position="relative";D.subtractsBorderForOverflowNotVisible=H.offsetTop===-5;D.doesNotIncludeMarginInBodyOffset=S.offsetTop!==1;S.removeChild(E);n=null;c.extend(a,D)}});return a}();var Hb=/^(?:\{.*\}|\[.*\])$/,
-Gb=/([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!p(a)},data:function(a,b,d,e){if(c.acceptData(a)){var f;f=c.expando;var h=typeof b==="string",l=a.nodeType,m=l?c.cache:a,n=l?a[f]:a[f]&&f,t=b==="events";if(!((!n||!m[n]||!t&&!e&&!m[n].data)&&h&&d===j)){if(!n)if(l)a[f]=n=++c.uuid;else n=
-f;if(!m[n]){m[n]={};if(!l)m[n].toJSON=c.noop}if(typeof b==="object"||typeof b==="function")if(e)m[n]=c.extend(m[n],b);else m[n].data=c.extend(m[n].data,b);f=a=m[n];if(!e){if(!a.data)a.data={};a=a.data}if(d!==j)a[c.camelCase(b)]=d;if(t&&!a[b])return f.events;if(h){d=a[b];if(d==null)d=a[c.camelCase(b)]}else d=a;return d}}},removeData:function(a,b,d){if(c.acceptData(a)){var e,f,h,l=c.expando,m=a.nodeType,n=m?c.cache:a,t=m?a[l]:l;if(n[t]){if(b)if(e=d?n[t]:n[t].data){if(!c.isArray(b))if(b in e)b=[b];else{b=
-c.camelCase(b);b=b in e?[b]:b.split(" ")}f=0;for(h=b.length;f<h;f++)delete e[b[f]];if(!(d?p:c.isEmptyObject)(e))return}if(!d){delete n[t].data;if(!p(n[t]))return}if(c.support.deleteExpando||!n.setInterval)delete n[t];else n[t]=null;if(m)if(c.support.deleteExpando)delete a[l];else if(a.removeAttribute)a.removeAttribute(l);else a[l]=null}}},_data:function(a,b,d){return c.data(a,b,d,true)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==
-b)}return true}});c.fn.extend({data:function(a,b){var d,e,f,h=null;if(typeof a==="undefined"){if(this.length){h=c.data(this[0]);if(this[0].nodeType===1&&!c._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var l=0,m=e.length;l<m;l++){f=e[l].name;if(f.indexOf("data-")===0){f=c.camelCase(f.substring(5));v(this[0],f,h[f])}}c._data(this[0],"parsedAttrs",true)}}return h}else if(typeof a==="object")return this.each(function(){c.data(this,a)});d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===j){h=this.triggerHandler("getData"+
-d[1]+"!",[d[0]]);if(h===j&&this.length){h=c.data(this[0],a);h=v(this[0],a,h)}return h===j&&d[1]?this.data(d[0]):h}else return this.each(function(){var n=c(this),t=[d[0],b];n.triggerHandler("setData"+d[1]+"!",t);c.data(this,a,b);n.triggerHandler("changeData"+d[1]+"!",t)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({_mark:function(a,b){if(a){b=(b||"fx")+"mark";c._data(a,b,(c._data(a,b)||0)+1)}},_unmark:function(a,b,d){if(a!==true){d=b;b=a;a=false}if(b){d=
-d||"fx";var e=d+"mark";if(a=a?0:(c._data(b,e)||1)-1)c._data(b,e,a);else{c.removeData(b,e,true);s(b,d,"mark")}}},queue:function(a,b,d){var e;if(a){b=(b||"fx")+"queue";e=c._data(a,b);if(d)if(!e||c.isArray(d))e=c._data(a,b,c.makeArray(d));else e.push(d);return e||[]}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift(),f={};if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");c._data(a,b+".run",f);e.call(a,function(){c.dequeue(a,b)},f)}if(!d.length){c.removeData(a,b+"queue "+
-b+".run",true);s(a,b,"queue")}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===j)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(d,e){var f=setTimeout(d,a);e.stop=function(){clearTimeout(f)}})},clearQueue:function(a){return this.queue(a||
-"fx",[])},promise:function(a,b){function d(){--h||e.resolveWith(f,[f])}if(typeof a!=="string"){b=a;a=j}a=a||"fx";var e=c.Deferred(),f=this;b=f.length;var h=1,l=a+"defer",m=a+"queue";a=a+"mark";for(var n;b--;)if(n=c.data(f[b],l,j,true)||(c.data(f[b],m,j,true)||c.data(f[b],a,j,true))&&c.data(f[b],l,c.Callbacks("once memory"),true)){h++;n.add(d)}d();return e.promise()}});var gb=/[\n\t\r]/g,Ga=/\s+/,Sb=/\r/g,Tb=/^(?:button|input)$/i,Ub=/^(?:button|input|object|select|textarea)$/i,Vb=/^a(?:rea)?$/i,hb=
-/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ib=c.support.getSetAttribute,oa,jb,kb;c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,a,b,true,c.prop)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=j;delete this[a]}catch(b){}})},addClass:function(a){var b,
-d,e,f,h,l,m;if(c.isFunction(a))return this.each(function(n){c(this).addClass(a.call(this,n,this.className))});if(a&&typeof a==="string"){b=a.split(Ga);d=0;for(e=this.length;d<e;d++){f=this[d];if(f.nodeType===1)if(!f.className&&b.length===1)f.className=a;else{h=" "+f.className+" ";l=0;for(m=b.length;l<m;l++)~h.indexOf(" "+b[l]+" ")||(h+=b[l]+" ");f.className=c.trim(h)}}}return this},removeClass:function(a){var b,d,e,f,h,l,m;if(c.isFunction(a))return this.each(function(n){c(this).removeClass(a.call(this,
-n,this.className))});if(a&&typeof a==="string"||a===j){b=(a||"").split(Ga);d=0;for(e=this.length;d<e;d++){f=this[d];if(f.nodeType===1&&f.className)if(a){h=(" "+f.className+" ").replace(gb," ");l=0;for(m=b.length;l<m;l++)h=h.replace(" "+b[l]+" "," ");f.className=c.trim(h)}else f.className=""}}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){c(this).toggleClass(a.call(this,f,this.className,b),b)});return this.each(function(){if(d===
-"string")for(var f,h=0,l=c(this),m=b,n=a.split(Ga);f=n[h++];){m=e?m:!l.hasClass(f);l[m?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c._data(this,"__className__",this.className);this.className=this.className||a===false?"":c._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(gb," ").indexOf(a)>-1)return true;return false},val:function(a){var b,d,e,
-f=this[0];if(arguments.length){e=c.isFunction(a);return this.each(function(h){var l=c(this);if(this.nodeType===1){h=e?a.call(this,h,l.val()):a;if(h==null)h="";else if(typeof h==="number")h+="";else if(c.isArray(h))h=c.map(h,function(m){return m==null?"":m+""});b=c.valHooks[this.nodeName.toLowerCase()]||c.valHooks[this.type];if(!b||!("set"in b)||b.set(this,h,"value")===j)this.value=h}})}else if(f){if((b=c.valHooks[f.nodeName.toLowerCase()]||c.valHooks[f.type])&&"get"in b&&(d=b.get(f,"value"))!==j)return d;
-d=f.value;return typeof d==="string"?d.replace(Sb,""):d==null?"":d}}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,d,e=a.selectedIndex,f=[],h=a.options,l=a.type==="select-one";if(e<0)return null;a=l?e:0;for(d=l?e+1:h.length;a<d;a++){b=h[a];if(b.selected&&(c.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!c.nodeName(b.parentNode,"optgroup"))){b=c(b).val();if(l)return b;
-f.push(b)}}if(l&&!f.length&&h.length)return c(h[e]).val();return f},set:function(a,b){var d=c.makeArray(b);c(a).find("option").each(function(){this.selected=c.inArray(c(this).val(),d)>=0});if(!d.length)a.selectedIndex=-1;return d}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){var f,h,l=a.nodeType;if(!(!a||l===3||l===8||l===2)){if(e&&b in c.attrFn)return c(a)[b](d);if(typeof a.getAttribute==="undefined")return c.prop(a,b,d);if(e=
-l!==1||!c.isXMLDoc(a)){b=b.toLowerCase();h=c.attrHooks[b]||(hb.test(b)?jb:oa)}if(d!==j)if(d===null)c.removeAttr(a,b);else if(h&&"set"in h&&e&&(f=h.set(a,d,b))!==j)return f;else{a.setAttribute(b,""+d);return d}else if(h&&"get"in h&&e&&(f=h.get(a,b))!==null)return f;else{f=a.getAttribute(b);return f===null?j:f}}},removeAttr:function(a,b){var d,e,f,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(Ga);for(f=d.length;h<f;h++)if(e=d[h]){b=c.propFix[e]||e;c.attr(a,e,"");a.removeAttribute(ib?e:b);if(hb.test(e)&&
-b in a)a[b]=false}}},attrHooks:{type:{set:function(a,b){if(Tb.test(a.nodeName)&&a.parentNode)c.error("type property can't be changed");else if(!c.support.radioValue&&b==="radio"&&c.nodeName(a,"input")){var d=a.value;a.setAttribute("type",b);if(d)a.value=d;return b}}},value:{get:function(a,b){if(oa&&c.nodeName(a,"button"))return oa.get(a,b);return b in a?a.value:null},set:function(a,b,d){if(oa&&c.nodeName(a,"button"))return oa.set(a,b,d);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",
-"for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,d){var e,f,h=a.nodeType;if(!(!a||h===3||h===8||h===2)){if(h!==1||!c.isXMLDoc(a)){b=c.propFix[b]||b;f=c.propHooks[b]}return d!==j?f&&"set"in f&&(e=f.set(a,d,b))!==j?e:(a[b]=d):f&&"get"in f&&(e=f.get(a,b))!==null?e:a[b]}},propHooks:{tabIndex:{get:function(a){var b=
-a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Ub.test(a.nodeName)||Vb.test(a.nodeName)&&a.href?0:j}}}});c.attrHooks.tabindex=c.propHooks.tabIndex;jb={get:function(a,b){var d,e=c.prop(a,b);return e===true||typeof e!=="boolean"&&(d=a.getAttributeNode(b))&&d.nodeValue!==false?b.toLowerCase():j},set:function(a,b,d){if(b===false)c.removeAttr(a,d);else{b=c.propFix[d]||d;if(b in a)a[b]=true;a.setAttribute(d,d.toLowerCase())}return d}};if(!ib){kb={name:true,id:true};oa=c.valHooks.button=
-{get:function(a,b){return(a=a.getAttributeNode(b))&&(kb[b]?a.nodeValue!=="":a.specified)?a.nodeValue:j},set:function(a,b,d){var e=a.getAttributeNode(d);if(!e){e=L.createAttribute(d);a.setAttributeNode(e)}return e.nodeValue=b+""}};c.attrHooks.tabindex.set=oa.set;c.each(["width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(d,e){if(e===""){d.setAttribute(b,"auto");return e}}})});c.attrHooks.contenteditable={get:oa.get,set:function(a,b,d){if(b==="")b="false";oa.set(a,b,
-d)}}}c.support.hrefNormalized||c.each(["href","src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(d){d=d.getAttribute(b,2);return d===null?j:d}})});if(!c.support.style)c.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||j},set:function(a,b){return a.style.cssText=""+b}};if(!c.support.optSelected)c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(){return null}});if(!c.support.enctype)c.propFix.enctype="encoding";c.support.checkOn||
-c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){if(c.isArray(b))return a.checked=c.inArray(c(a).val(),b)>=0}})});var Ta=/^(?:textarea|input|select)$/i,lb=/^([^\.]*)?(?:\.(.+))?$/,Wb=/\bhover(\.\S+)?\b/,Xb=/^key/,Yb=/^(?:mouse|contextmenu)|click/,mb=/^(?:focusinfocus|focusoutblur)$/,Zb=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,
-$b=function(a){if(a=Zb.exec(a)){a[1]=(a[1]||"").toLowerCase();a[3]=a[3]&&new RegExp("(?:^|\\s)"+a[3]+"(?:\\s|$)")}return a},ac=function(a,b){var d=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(d.id||{}).value===b[2])&&(!b[3]||b[3].test((d["class"]||{}).value))},nb=function(a){return c.event.special.hover?a:a.replace(Wb,"mouseenter$1 mouseleave$1")};c.event={add:function(a,b,d,e,f){var h,l,m,n,t,E,y,H,D;if(!(a.nodeType===3||a.nodeType===8||!b||!d||!(h=c._data(a)))){if(d.handler){y=
-d;d=y.handler}if(!d.guid)d.guid=c.guid++;m=h.events;if(!m)h.events=m={};l=h.handle;if(!l){h.handle=l=function(S){return typeof c!=="undefined"&&(!S||c.event.triggered!==S.type)?c.event.dispatch.apply(l.elem,arguments):j};l.elem=a}b=c.trim(nb(b)).split(" ");for(h=0;h<b.length;h++){n=lb.exec(b[h])||[];t=n[1];E=(n[2]||"").split(".").sort();D=c.event.special[t]||{};t=(f?D.delegateType:D.bindType)||t;D=c.event.special[t]||{};n=c.extend({type:t,origType:n[1],data:e,handler:d,guid:d.guid,selector:f,quick:$b(f),
-namespace:E.join(".")},y);H=m[t];if(!H){H=m[t]=[];H.delegateCount=0;if(!D.setup||D.setup.call(a,e,E,l)===false)if(a.addEventListener)a.addEventListener(t,l,false);else a.attachEvent&&a.attachEvent("on"+t,l)}if(D.add){D.add.call(a,n);if(!n.handler.guid)n.handler.guid=d.guid}f?H.splice(H.delegateCount++,0,n):H.push(n);c.event.global[t]=true}a=null}},global:{},remove:function(a,b,d,e,f){var h=c.hasData(a)&&c._data(a),l,m,n,t,E,y,H,D,S,$;if(h&&(H=h.events)){b=c.trim(nb(b||"")).split(" ");for(l=0;l<b.length;l++){m=
-lb.exec(b[l])||[];n=t=m[1];m=m[2];if(n){D=c.event.special[n]||{};n=(e?D.delegateType:D.bindType)||n;S=H[n]||[];E=S.length;m=m?new RegExp("(^|\\.)"+m.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(y=0;y<S.length;y++){$=S[y];if((f||t===$.origType)&&(!d||d.guid===$.guid)&&(!m||m.test($.namespace))&&(!e||e===$.selector||e==="**"&&$.selector)){S.splice(y--,1);$.selector&&S.delegateCount--;D.remove&&D.remove.call(a,$)}}if(S.length===0&&E!==S.length){if(!D.teardown||D.teardown.call(a,m)===false)c.removeEvent(a,
-n,h.handle);delete H[n]}}else for(n in H)c.event.remove(a,n+b[l],d,e,true)}if(c.isEmptyObject(H)){if(b=h.handle)b.elem=null;c.removeData(a,["events","handle"],true)}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(a,b,d,e){if(!(d&&(d.nodeType===3||d.nodeType===8))){var f=a.type||a,h=[],l,m,n,t,E;if(!mb.test(f+c.event.triggered)){if(f.indexOf("!")>=0){f=f.slice(0,-1);l=true}if(f.indexOf(".")>=0){h=f.split(".");f=h.shift();h.sort()}if(!((!d||c.event.customEvent[f])&&!c.event.global[f])){a=
-typeof a==="object"?a[c.expando]?a:new c.Event(f,a):new c.Event(f);a.type=f;a.isTrigger=true;a.exclusive=l;a.namespace=h.join(".");a.namespace_re=a.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;l=f.indexOf(":")<0?"on"+f:"";if(d){a.result=j;if(!a.target)a.target=d;b=b!=null?c.makeArray(b):[];b.unshift(a);n=c.event.special[f]||{};if(!(n.trigger&&n.trigger.apply(d,b)===false)){E=[[d,n.bindType||f]];if(!e&&!n.noBubble&&!c.isWindow(d)){t=n.delegateType||f;h=mb.test(t+f)?d:d.parentNode;
-for(m=null;h;h=h.parentNode){E.push([h,t]);m=h}if(m&&m===d.ownerDocument)E.push([m.defaultView||m.parentWindow||g,t])}for(m=0;m<E.length&&!a.isPropagationStopped();m++){h=E[m][0];a.type=E[m][1];(t=(c._data(h,"events")||{})[a.type]&&c._data(h,"handle"))&&t.apply(h,b);(t=l&&h[l])&&c.acceptData(h)&&t.apply(h,b)===false&&a.preventDefault()}a.type=f;if(!e&&!a.isDefaultPrevented())if((!n._default||n._default.apply(d.ownerDocument,b)===false)&&!(f==="click"&&c.nodeName(d,"a"))&&c.acceptData(d))if(l&&d[f]&&
-(f!=="focus"&&f!=="blur"||a.target.offsetWidth!==0)&&!c.isWindow(d)){if(m=d[l])d[l]=null;c.event.triggered=f;d[f]();c.event.triggered=j;if(m)d[l]=m}return a.result}}else{d=c.cache;for(m in d)d[m].events&&d[m].events[f]&&c.event.trigger(a,b,d[m].handle.elem,true)}}}}},dispatch:function(a){a=c.event.fix(a||g.event);var b=(c._data(this,"events")||{})[a.type]||[],d=b.delegateCount,e=[].slice.call(arguments,0),f=!a.exclusive&&!a.namespace,h=[],l,m,n,t,E,y,H;e[0]=a;a.delegateTarget=this;if(d&&!a.target.disabled&&
-!(a.button&&a.type==="click")){n=c(this);n.context=this.ownerDocument||this;for(m=a.target;m!=this;m=m.parentNode||this){E={};y=[];n[0]=m;for(l=0;l<d;l++){t=b[l];H=t.selector;if(E[H]===j)E[H]=t.quick?ac(m,t.quick):n.is(H);E[H]&&y.push(t)}y.length&&h.push({elem:m,matches:y})}}b.length>d&&h.push({elem:this,matches:b.slice(d)});for(l=0;l<h.length&&!a.isPropagationStopped();l++){d=h[l];a.currentTarget=d.elem;for(b=0;b<d.matches.length&&!a.isImmediatePropagationStopped();b++){t=d.matches[b];if(f||!a.namespace&&
-!t.namespace||a.namespace_re&&a.namespace_re.test(t.namespace)){a.data=t.data;a.handleObj=t;t=((c.event.special[t.origType]||{}).handle||t.handler).apply(d.elem,e);if(t!==j){a.result=t;if(t===false){a.preventDefault();a.stopPropagation()}}}}}return a.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),
-filter:function(a,b){if(a.which==null)a.which=b.charCode!=null?b.charCode:b.keyCode;return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var d,e,f=b.button,h=b.fromElement;if(a.pageX==null&&b.clientX!=null){d=a.target.ownerDocument||L;e=d.documentElement;d=d.body;a.pageX=b.clientX+(e&&e.scrollLeft||d&&d.scrollLeft||0)-(e&&e.clientLeft||d&&d.clientLeft||0);a.pageY=b.clientY+(e&&e.scrollTop||d&&
-d.scrollTop||0)-(e&&e.clientTop||d&&d.clientTop||0)}if(!a.relatedTarget&&h)a.relatedTarget=h===a.target?b.toElement:h;if(!a.which&&f!==j)a.which=f&1?1:f&2?3:f&4?2:0;return a}},fix:function(a){if(a[c.expando])return a;var b,d,e=a,f=c.event.fixHooks[a.type]||{},h=f.props?this.props.concat(f.props):this.props;a=c.Event(e);for(b=h.length;b;){d=h[--b];a[d]=e[d]}if(!a.target)a.target=e.srcElement||L;if(a.target.nodeType===3)a.target=a.target.parentNode;if(a.metaKey===j)a.metaKey=a.ctrlKey;return f.filter?
-f.filter(a,e):a},special:{ready:{setup:c.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}},simulate:function(a,b,d,e){a=c.extend(new c.Event,d,{type:a,isSimulated:true,originalEvent:{}});e?c.event.trigger(a,null,b):c.event.dispatch.call(b,a);a.isDefaultPrevented()&&d.preventDefault()}};c.event.handle=
-c.event.dispatch;c.removeEvent=L.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a,b){if(!(this instanceof c.Event))return new c.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?x:r}else this.type=a;b&&c.extend(this,b);this.timeStamp=a&&a.timeStamp||c.now();this[c.expando]=
-true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=x;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=x;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=x;this.stopPropagation()},isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r};c.each({mouseenter:"mouseover",
-mouseleave:"mouseout"},function(a,b){c.event.special[a]={delegateType:b,bindType:b,handle:function(d){var e=d.relatedTarget,f=d.handleObj,h;if(!e||e!==this&&!c.contains(this,e)){d.type=f.origType;h=f.handler.apply(this,arguments);d.type=b}return h}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(c.nodeName(this,"form"))return false;c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;if((a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:j)&&!a._submit_attached){c.event.add(a,
-"submit._submit",function(b){this.parentNode&&!b.isTrigger&&c.event.simulate("submit",this.parentNode,b,true)});a._submit_attached=true}})},teardown:function(){if(c.nodeName(this,"form"))return false;c.event.remove(this,"._submit")}};if(!c.support.changeBubbles)c.event.special.change={setup:function(){if(Ta.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){c.event.add(this,"propertychange._change",function(a){if(a.originalEvent.propertyName==="checked")this._just_changed=true});
-c.event.add(this,"click._change",function(a){if(this._just_changed&&!a.isTrigger){this._just_changed=false;c.event.simulate("change",this,a,true)}})}return false}c.event.add(this,"beforeactivate._change",function(a){a=a.target;if(Ta.test(a.nodeName)&&!a._change_attached){c.event.add(a,"change._change",function(b){this.parentNode&&!b.isSimulated&&!b.isTrigger&&c.event.simulate("change",this.parentNode,b,true)});a._change_attached=true}})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||
-a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){c.event.remove(this,"._change");return Ta.test(this.nodeName)}};c.support.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(f){c.event.simulate(b,f.target,c.event.fix(f),true)};c.event.special[b]={setup:function(){d++===0&&L.addEventListener(a,e,true)},teardown:function(){--d===0&&L.removeEventListener(a,e,true)}}});c.fn.extend({on:function(a,
-b,d,e,f){var h,l;if(typeof a==="object"){if(typeof b!=="string"){d=b;b=j}for(l in a)this.on(l,b,d,a[l],f);return this}if(d==null&&e==null){e=b;d=b=j}else if(e==null)if(typeof b==="string"){e=d;d=j}else{e=d;d=b;b=j}if(e===false)e=r;else if(!e)return this;if(f===1){h=e;e=function(m){c().off(m);return h.apply(this,arguments)};e.guid=h.guid||(h.guid=c.guid++)}return this.each(function(){c.event.add(this,a,e,d,b)})},one:function(a,b,d,e){return this.on.call(this,a,b,d,e,1)},off:function(a,b,d){if(a&&a.preventDefault&&
-a.handleObj){var e=a.handleObj;c(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a==="object"){for(e in a)this.off(e,b,a[e]);return this}if(b===false||typeof b==="function"){d=b;b=j}if(d===false)d=r;return this.each(function(){c.event.remove(this,a,d,b)})},bind:function(a,b,d){return this.on(a,null,b,d)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,d){c(this.context).on(a,this.selector,b,d);return this},die:function(a,
-b){c(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,d,e){return this.on(b,a,d,e)},undelegate:function(a,b,d){return arguments.length==1?this.off(a,"**"):this.off(b,a,d)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return c.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,d=a.guid||c.guid++,e=0,f=function(h){var l=(c._data(this,"lastToggle"+a.guid)||0)%e;c._data(this,"lastToggle"+
-a.guid,l+1);h.preventDefault();return b[l].apply(this,arguments)||false};for(f.guid=d;e<b.length;)b[e++].guid=d;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>
-0?this.on(b,null,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true;if(Xb.test(b))c.event.fixHooks[b]=c.event.keyHooks;if(Yb.test(b))c.event.fixHooks[b]=c.event.mouseHooks});(function(){function a(i,k,u,w,z,B){z=0;for(var J=w.length;z<J;z++){var M=w[z];if(M){var V=false;for(M=M[i];M;){if(M[e]===u){V=w[M.sizset];break}if(M.nodeType===1&&!B){M[e]=u;M.sizset=z}if(M.nodeName.toLowerCase()===k){V=M;break}M=M[i]}w[z]=V}}}function b(i,k,u,w,z,B){z=0;for(var J=w.length;z<J;z++){var M=w[z];if(M){var V=false;
-for(M=M[i];M;){if(M[e]===u){V=w[M.sizset];break}if(M.nodeType===1){if(!B){M[e]=u;M.sizset=z}if(typeof k!=="string"){if(M===k){V=true;break}}else if(y.filter(k,[M]).length>0){V=M;break}}M=M[i]}w[z]=V}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e="sizcache"+(Math.random()+"").replace(".",""),f=0,h=Object.prototype.toString,l=false,m=true,n=/\\/g,t=/\r\n/g,E=/\W/;[0,0].sort(function(){m=false;return 0});
-var y=function(i,k,u,w){u=u||[];var z=k=k||L;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!i||typeof i!=="string")return u;var B,J,M,V,o,A=true,K=y.isXML(k),F=[],X=i;do{d.exec("");if(B=d.exec(X)){X=B[3];F.push(B[1]);if(B[2]){V=B[3];break}}}while(B);if(F.length>1&&S.exec(i))if(F.length===2&&D.relative[F[0]])J=ia(F[0]+F[1],k,w);else for(J=D.relative[F[0]]?[k]:y(F.shift(),k);F.length;){i=F.shift();if(D.relative[i])i+=F.shift();J=ia(i,J,w)}else{if(!w&&F.length>1&&k.nodeType===9&&!K&&D.match.ID.test(F[0])&&
-!D.match.ID.test(F[F.length-1])){B=y.find(F.shift(),k,K);k=B.expr?y.filter(B.expr,B.set)[0]:B.set[0]}if(k){B=w?{expr:F.pop(),set:aa(w)}:y.find(F.pop(),F.length===1&&(F[0]==="~"||F[0]==="+")&&k.parentNode?k.parentNode:k,K);J=B.expr?y.filter(B.expr,B.set):B.set;if(F.length>0)M=aa(J);else A=false;for(;F.length;){B=o=F.pop();if(D.relative[o])B=F.pop();else o="";if(B==null)B=k;D.relative[o](M,B,K)}}else M=[]}M||(M=J);M||y.error(o||i);if(h.call(M)==="[object Array]")if(A)if(k&&k.nodeType===1)for(i=0;M[i]!=
-null;i++){if(M[i]&&(M[i]===true||M[i].nodeType===1&&y.contains(k,M[i])))u.push(J[i])}else for(i=0;M[i]!=null;i++)M[i]&&M[i].nodeType===1&&u.push(J[i]);else u.push.apply(u,M);else aa(M,u);if(V){y(V,z,u,w);y.uniqueSort(u)}return u};y.uniqueSort=function(i){if(T){l=m;i.sort(T);if(l)for(var k=1;k<i.length;k++)i[k]===i[k-1]&&i.splice(k--,1)}return i};y.matches=function(i,k){return y(i,null,null,k)};y.matchesSelector=function(i,k){return y(k,null,null,[i]).length>0};y.find=function(i,k,u){var w,z,B,J,M,
-V;if(!i)return[];z=0;for(B=D.order.length;z<B;z++){M=D.order[z];if(J=D.leftMatch[M].exec(i)){V=J[1];J.splice(1,1);if(V.substr(V.length-1)!=="\\"){J[1]=(J[1]||"").replace(n,"");w=D.find[M](J,k,u);if(w!=null){i=i.replace(D.match[M],"");break}}}}w||(w=typeof k.getElementsByTagName!=="undefined"?k.getElementsByTagName("*"):[]);return{set:w,expr:i}};y.filter=function(i,k,u,w){for(var z,B,J,M,V,o,A,K,F=i,X=[],U=k,ca=k&&k[0]&&y.isXML(k[0]);i&&k.length;){for(J in D.filter)if((z=D.leftMatch[J].exec(i))!=null&&
-z[2]){o=D.filter[J];V=z[1];B=false;z.splice(1,1);if(V.substr(V.length-1)!=="\\"){if(U===X)X=[];if(D.preFilter[J])if(z=D.preFilter[J](z,U,u,X,w,ca)){if(z===true)continue}else B=M=true;if(z)for(A=0;(V=U[A])!=null;A++)if(V){M=o(V,z,A,U);K=w^M;if(u&&M!=null)if(K)B=true;else U[A]=false;else if(K){X.push(V);B=true}}if(M!==j){u||(U=X);i=i.replace(D.match[J],"");if(!B)return[];break}}}if(i===F)if(B==null)y.error(i);else break;F=i}return U};y.error=function(i){throw new Error("Syntax error, unrecognized expression: "+
-i);};var H=y.getText=function(i){var k,u;k=i.nodeType;var w="";if(k)if(k===1||k===9)if(typeof i.textContent==="string")return i.textContent;else if(typeof i.innerText==="string")return i.innerText.replace(t,"");else for(i=i.firstChild;i;i=i.nextSibling)w+=H(i);else{if(k===3||k===4)return i.nodeValue}else for(k=0;u=i[k];k++)if(u.nodeType!==8)w+=H(u);return w},D=y.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
-ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(i){return i.getAttribute("href")},
-type:function(i){return i.getAttribute("type")}},relative:{"+":function(i,k){var u=typeof k==="string",w=u&&!E.test(k);u=u&&!w;if(w)k=k.toLowerCase();w=0;for(var z=i.length,B;w<z;w++)if(B=i[w]){for(;(B=B.previousSibling)&&B.nodeType!==1;);i[w]=u||B&&B.nodeName.toLowerCase()===k?B||false:B===k}u&&y.filter(k,i,true)},">":function(i,k){var u,w=typeof k==="string",z=0,B=i.length;if(w&&!E.test(k))for(k=k.toLowerCase();z<B;z++){if(u=i[z]){u=u.parentNode;i[z]=u.nodeName.toLowerCase()===k?u:false}}else{for(;z<
-B;z++)if(u=i[z])i[z]=w?u.parentNode:u.parentNode===k;w&&y.filter(k,i,true)}},"":function(i,k,u){var w,z=f++,B=b;if(typeof k==="string"&&!E.test(k)){w=k=k.toLowerCase();B=a}B("parentNode",k,z,i,w,u)},"~":function(i,k,u){var w,z=f++,B=b;if(typeof k==="string"&&!E.test(k)){w=k=k.toLowerCase();B=a}B("previousSibling",k,z,i,w,u)}},find:{ID:function(i,k,u){if(typeof k.getElementById!=="undefined"&&!u)return(i=k.getElementById(i[1]))&&i.parentNode?[i]:[]},NAME:function(i,k){if(typeof k.getElementsByName!==
-"undefined"){var u=[];k=k.getElementsByName(i[1]);for(var w=0,z=k.length;w<z;w++)k[w].getAttribute("name")===i[1]&&u.push(k[w]);return u.length===0?null:u}},TAG:function(i,k){if(typeof k.getElementsByTagName!=="undefined")return k.getElementsByTagName(i[1])}},preFilter:{CLASS:function(i,k,u,w,z,B){i=" "+i[1].replace(n,"")+" ";if(B)return i;B=0;for(var J;(J=k[B])!=null;B++)if(J)if(z^(J.className&&(" "+J.className+" ").replace(/[\t\n\r]/g," ").indexOf(i)>=0))u||w.push(J);else if(u)k[B]=false;return false},
-ID:function(i){return i[1].replace(n,"")},TAG:function(i){return i[1].replace(n,"").toLowerCase()},CHILD:function(i){if(i[1]==="nth"){i[2]||y.error(i[0]);i[2]=i[2].replace(/^\+|\s*/g,"");var k=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(i[2]==="even"&&"2n"||i[2]==="odd"&&"2n+1"||!/\D/.test(i[2])&&"0n+"+i[2]||i[2]);i[2]=k[1]+(k[2]||1)-0;i[3]=k[3]-0}else i[2]&&y.error(i[0]);i[0]=f++;return i},ATTR:function(i,k,u,w,z,B){k=i[1]=i[1].replace(n,"");if(!B&&D.attrMap[k])i[1]=D.attrMap[k];i[4]=(i[4]||i[5]||"").replace(n,
-"");if(i[2]==="~=")i[4]=" "+i[4]+" ";return i},PSEUDO:function(i,k,u,w,z){if(i[1]==="not")if((d.exec(i[3])||"").length>1||/^\w/.test(i[3]))i[3]=y(i[3],null,null,k);else{i=y.filter(i[3],k,u,true^z);u||w.push.apply(w,i);return false}else if(D.match.POS.test(i[0])||D.match.CHILD.test(i[0]))return true;return i},POS:function(i){i.unshift(true);return i}},filters:{enabled:function(i){return i.disabled===false&&i.type!=="hidden"},disabled:function(i){return i.disabled===true},checked:function(i){return i.checked===
-true},selected:function(i){return i.selected===true},parent:function(i){return!!i.firstChild},empty:function(i){return!i.firstChild},has:function(i,k,u){return!!y(u[3],i).length},header:function(i){return/h\d/i.test(i.nodeName)},text:function(i){var k=i.getAttribute("type"),u=i.type;return i.nodeName.toLowerCase()==="input"&&"text"===u&&(k===u||k===null)},radio:function(i){return i.nodeName.toLowerCase()==="input"&&"radio"===i.type},checkbox:function(i){return i.nodeName.toLowerCase()==="input"&&
-"checkbox"===i.type},file:function(i){return i.nodeName.toLowerCase()==="input"&&"file"===i.type},password:function(i){return i.nodeName.toLowerCase()==="input"&&"password"===i.type},submit:function(i){var k=i.nodeName.toLowerCase();return(k==="input"||k==="button")&&"submit"===i.type},image:function(i){return i.nodeName.toLowerCase()==="input"&&"image"===i.type},reset:function(i){var k=i.nodeName.toLowerCase();return(k==="input"||k==="button")&&"reset"===i.type},button:function(i){var k=i.nodeName.toLowerCase();
-return k==="input"&&"button"===i.type||k==="button"},input:function(i){return/input|select|textarea|button/i.test(i.nodeName)},focus:function(i){return i===i.ownerDocument.activeElement}},setFilters:{first:function(i,k){return k===0},last:function(i,k,u,w){return k===w.length-1},even:function(i,k){return k%2===0},odd:function(i,k){return k%2===1},lt:function(i,k,u){return k<u[3]-0},gt:function(i,k,u){return k>u[3]-0},nth:function(i,k,u){return u[3]-0===k},eq:function(i,k,u){return u[3]-0===k}},filter:{PSEUDO:function(i,
-k,u,w){var z=k[1],B=D.filters[z];if(B)return B(i,u,k,w);else if(z==="contains")return(i.textContent||i.innerText||H([i])||"").indexOf(k[3])>=0;else if(z==="not"){k=k[3];u=0;for(w=k.length;u<w;u++)if(k[u]===i)return false;return true}else y.error(z)},CHILD:function(i,k){var u,w,z,B;u=k[1];var J=i;switch(u){case "only":case "first":for(;J=J.previousSibling;)if(J.nodeType===1)return false;if(u==="first")return true;J=i;case "last":for(;J=J.nextSibling;)if(J.nodeType===1)return false;return true;case "nth":u=
-k[2];w=k[3];if(u===1&&w===0)return true;k=k[0];if((z=i.parentNode)&&(z[e]!==k||!i.nodeIndex)){B=0;for(J=z.firstChild;J;J=J.nextSibling)if(J.nodeType===1)J.nodeIndex=++B;z[e]=k}i=i.nodeIndex-w;return u===0?i===0:i%u===0&&i/u>=0}},ID:function(i,k){return i.nodeType===1&&i.getAttribute("id")===k},TAG:function(i,k){return k==="*"&&i.nodeType===1||!!i.nodeName&&i.nodeName.toLowerCase()===k},CLASS:function(i,k){return(" "+(i.className||i.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(i,k){var u=
-k[1];i=y.attr?y.attr(i,u):D.attrHandle[u]?D.attrHandle[u](i):i[u]!=null?i[u]:i.getAttribute(u);u=i+"";var w=k[2];k=k[4];return i==null?w==="!=":!w&&y.attr?i!=null:w==="="?u===k:w==="*="?u.indexOf(k)>=0:w==="~="?(" "+u+" ").indexOf(k)>=0:!k?u&&i!==false:w==="!="?u!==k:w==="^="?u.indexOf(k)===0:w==="$="?u.substr(u.length-k.length)===k:w==="|="?u===k||u.substr(0,k.length+1)===k+"-":false},POS:function(i,k,u,w){var z=D.setFilters[k[2]];if(z)return z(i,u,k,w)}}},S=D.match.POS,$=function(i,k){return"\\"+
-(k-0+1)};for(var ba in D.match){D.match[ba]=new RegExp(D.match[ba].source+/(?![^\[]*\])(?![^\(]*\))/.source);D.leftMatch[ba]=new RegExp(/(^(?:.|\r|\n)*?)/.source+D.match[ba].source.replace(/\\(\d+)/g,$))}var aa=function(i,k){i=Array.prototype.slice.call(i,0);if(k){k.push.apply(k,i);return k}return i};try{Array.prototype.slice.call(L.documentElement.childNodes,0)}catch(na){aa=function(i,k){var u=0;k=k||[];if(h.call(i)==="[object Array]")Array.prototype.push.apply(k,i);else if(typeof i.length==="number")for(var w=
-i.length;u<w;u++)k.push(i[u]);else for(;i[u];u++)k.push(i[u]);return k}}var T,ma;if(L.documentElement.compareDocumentPosition)T=function(i,k){if(i===k){l=true;return 0}if(!i.compareDocumentPosition||!k.compareDocumentPosition)return i.compareDocumentPosition?-1:1;return i.compareDocumentPosition(k)&4?-1:1};else{T=function(i,k){if(i===k){l=true;return 0}else if(i.sourceIndex&&k.sourceIndex)return i.sourceIndex-k.sourceIndex;var u,w,z=[],B=[];u=i.parentNode;w=k.parentNode;var J=u;if(u===w)return ma(i,
-k);else if(u){if(!w)return 1}else return-1;for(;J;){z.unshift(J);J=J.parentNode}for(J=w;J;){B.unshift(J);J=J.parentNode}u=z.length;w=B.length;for(J=0;J<u&&J<w;J++)if(z[J]!==B[J])return ma(z[J],B[J]);return J===u?ma(i,B[J],-1):ma(z[J],k,1)};ma=function(i,k,u){if(i===k)return u;for(i=i.nextSibling;i;){if(i===k)return-1;i=i.nextSibling}return 1}}(function(){var i=L.createElement("div"),k="script"+(new Date).getTime(),u=L.documentElement;i.innerHTML="<a name='"+k+"'/>";u.insertBefore(i,u.firstChild);
-if(L.getElementById(k)){D.find.ID=function(w,z,B){if(typeof z.getElementById!=="undefined"&&!B)return(z=z.getElementById(w[1]))?z.id===w[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===w[1]?[z]:j:[]};D.filter.ID=function(w,z){var B=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&B&&B.nodeValue===z}}u.removeChild(i);u=i=null})();(function(){var i=L.createElement("div");i.appendChild(L.createComment(""));if(i.getElementsByTagName("*").length>
-0)D.find.TAG=function(k,u){u=u.getElementsByTagName(k[1]);if(k[1]==="*"){k=[];for(var w=0;u[w];w++)u[w].nodeType===1&&k.push(u[w]);u=k}return u};i.innerHTML="<a href='#'></a>";if(i.firstChild&&typeof i.firstChild.getAttribute!=="undefined"&&i.firstChild.getAttribute("href")!=="#")D.attrHandle.href=function(k){return k.getAttribute("href",2)};i=null})();L.querySelectorAll&&function(){var i=y,k=L.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length===
-0)){y=function(w,z,B,J){z=z||L;if(!J&&!y.isXML(z)){var M=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(w);if(M&&(z.nodeType===1||z.nodeType===9))if(M[1])return aa(z.getElementsByTagName(w),B);else if(M[2]&&D.find.CLASS&&z.getElementsByClassName)return aa(z.getElementsByClassName(M[2]),B);if(z.nodeType===9){if(w==="body"&&z.body)return aa([z.body],B);else if(M&&M[3]){var V=z.getElementById(M[3]);if(V&&V.parentNode){if(V.id===M[3])return aa([V],B)}else return aa([],B)}try{return aa(z.querySelectorAll(w),
-B)}catch(o){}}else if(z.nodeType===1&&z.nodeName.toLowerCase()!=="object"){M=z;var A=(V=z.getAttribute("id"))||"__sizzle__",K=z.parentNode,F=/^\s*[+~]/.test(w);if(V)A=A.replace(/'/g,"\\$&");else z.setAttribute("id",A);if(F&&K)z=z.parentNode;try{if(!F||K)return aa(z.querySelectorAll("[id='"+A+"'] "+w),B)}catch(X){}finally{V||M.removeAttribute("id")}}}return i(w,z,B,J)};for(var u in i)y[u]=i[u];k=null}}();(function(){var i=L.documentElement,k=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||
-i.msMatchesSelector;if(k){var u=!k.call(L.createElement("div"),"div"),w=false;try{k.call(L.documentElement,"[test!='']:sizzle")}catch(z){w=true}y.matchesSelector=function(B,J){J=J.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!y.isXML(B))try{if(w||!D.match.PSEUDO.test(J)&&!/!=/.test(J)){var M=k.call(B,J);if(M||!u||B.document&&B.document.nodeType!==11)return M}}catch(V){}return y(J,null,null,[B]).length>0}}})();(function(){var i=L.createElement("div");i.innerHTML="<div class='test e'></div><div class='test'></div>";
-if(!(!i.getElementsByClassName||i.getElementsByClassName("e").length===0)){i.lastChild.className="e";if(i.getElementsByClassName("e").length!==1){D.order.splice(1,0,"CLASS");D.find.CLASS=function(k,u,w){if(typeof u.getElementsByClassName!=="undefined"&&!w)return u.getElementsByClassName(k[1])};i=null}}})();y.contains=L.documentElement.contains?function(i,k){return i!==k&&(i.contains?i.contains(k):true)}:L.documentElement.compareDocumentPosition?function(i,k){return!!(i.compareDocumentPosition(k)&
-16)}:function(){return false};y.isXML=function(i){return(i=(i?i.ownerDocument||i:0).documentElement)?i.nodeName!=="HTML":false};var ia=function(i,k,u){var w,z=[],B="";for(k=k.nodeType?[k]:k;w=D.match.PSEUDO.exec(i);){B+=w[0];i=i.replace(D.match.PSEUDO,"")}i=D.relative[i]?i+"*":i;w=0;for(var J=k.length;w<J;w++)y(i,k[w],z,u);return y.filter(B,z)};y.attr=c.attr;y.selectors.attrMap={};c.find=y;c.expr=y.selectors;c.expr[":"]=c.expr.filters;c.unique=y.uniqueSort;c.text=y.getText;c.isXMLDoc=y.isXML;c.contains=
-y.contains})();var bc=/Until$/,cc=/^(?:parents|prevUntil|prevAll)/,dc=/,/,Ib=/^.[^:#\[\.,]*$/,ec=Array.prototype.slice,ob=c.expr.match.POS,fc={children:true,contents:true,next:true,prev:true};c.fn.extend({find:function(a){var b=this,d,e;if(typeof a!=="string")return c(a).filter(function(){d=0;for(e=b.length;d<e;d++)if(c.contains(b[d],this))return true});var f=this.pushStack("","find",a),h,l,m;d=0;for(e=this.length;d<e;d++){h=f.length;c.find(a,this[d],f);if(d>0)for(l=h;l<f.length;l++)for(m=0;m<h;m++)if(f[m]===
-f[l]){f.splice(l--,1);break}}return f},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(G(this,a,false),"not",a)},filter:function(a){return this.pushStack(G(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?ob.test(a)?c(a,this.context).index(this[0])>=0:c.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){for(f=
-1;h&&h.ownerDocument&&h!==b;){for(e=0;e<a.length;e++)c(h).is(a[e])&&d.push({selector:a[e],elem:h,level:f});h=h.parentNode;f++}return d}var l=ob.test(a)||typeof a!=="string"?c(a,b||this.context):0;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(l?l.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b||h.nodeType===11)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?
-this.prevAll().length:-1;if(typeof a==="string")return c.inArray(this[0],c(a));return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b):c.makeArray(a&&a.nodeType?[a]:a);b=c.merge(this.get(),a);return this.pushStack(C(a[0])||C(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,
-"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,
-"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);bc.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1&&!fc[a]?c.unique(f):f;if((this.length>1||dc.test(e))&&cc.test(a))f=f.reverse();return this.pushStack(f,a,ec.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,
-b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===j||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var $a="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gc=/ jQuery\d+="(?:\d+|null)"/g,
-Ua=/^\s+/,pb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,qb=/<([\w:]+)/,hc=/<tbody/i,ic=/<|&#?\w+;/,jc=/<(?:script|style)/i,kc=/<(?:script|object|embed|option|style)/i,rb=new RegExp("<(?:"+$a+")","i"),sb=/checked\s*(?:[^=]|=\s*.checked.)/i,lc=/\/(java|ecma)script/i,Jb=/^\s*<!(?:\[CDATA\[|\-\-)/,ga={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,
-"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},ab=I(L);ga.optgroup=ga.option;ga.tbody=ga.tfoot=ga.colgroup=ga.caption=ga.thead;ga.th=ga.td;if(!c.support.htmlSerialize)ga._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==j)return this.empty().append((this[0]&&
-this[0].ownerDocument||L).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});
-return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var b=c.isFunction(a);return this.each(function(d){c(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===
-1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,
-"after",arguments);a.push.apply(a,c.clean(arguments));return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==
-null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===j)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(gc,""):null;else if(typeof a==="string"&&!jc.test(a)&&(c.support.leadingWhitespace||!Ua.test(a))&&!ga[(qb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(pb,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?
-this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",
-a):this},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h,l=a[0],m=[];if(!c.support.checkClone&&arguments.length===3&&typeof l==="string"&&sb.test(l))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(l))return this.each(function(y){var H=c(this);a[0]=l.call(this,y,b?H.html():j);H.domManip(a,b,d)});if(this[0]){e=l&&l.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,
-m);h=e.fragment;if(f=h.childNodes.length===1?(h=h.firstChild):h.firstChild){b=b&&c.nodeName(f,"tr");for(var n=0,t=this.length,E=t-1;n<t;n++)d.call(b?N(this[n],f):this[n],e.cacheable||t>1&&n<E?c.clone(h,true,true):h)}m.length&&c.each(m,ua)}return this}});c.buildFragment=function(a,b,d){var e,f,h,l,m=a[0];if(b&&b[0])l=b[0].ownerDocument||b[0];l.createDocumentFragment||(l=L);if(a.length===1&&typeof m==="string"&&m.length<512&&l===L&&m.charAt(0)==="<"&&!kc.test(m)&&(c.support.checkClone||!sb.test(m))&&
-(c.support.html5Clone||!rb.test(m))){f=true;if((h=c.fragments[m])&&h!==1)e=h}if(!e){e=l.createDocumentFragment();c.clean(a,l,e,d)}if(f)c.fragments[m]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=
-0;for(var h=d.length;f<h;f++){var l=(f>0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clone:function(a,b,d){var e,f,h,l=c.support.html5Clone||!rb.test("<"+a.nodeName)?a.cloneNode(true):ta(a);if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){Q(a,l);e=P(a);f=P(l);for(h=0;e[h];++h)f[h]&&Q(e[h],f[h])}if(b){O(a,l);if(d){e=P(a);f=P(l);for(h=0;e[h];++h)O(e[h],f[h])}}return l},clean:function(a,
-b,d,e){b=b||L;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||L;for(var f=[],h,l=0,m;(m=a[l])!=null;l++){if(typeof m==="number")m+="";if(m){if(typeof m==="string")if(ic.test(m)){m=m.replace(pb,"<$1></$2>");h=(qb.exec(m)||["",""])[1].toLowerCase();var n=ga[h]||ga._default,t=n[0],E=b.createElement("div");b===L?ab.appendChild(E):I(b).appendChild(E);for(E.innerHTML=n[1]+m+n[2];t--;)E=E.lastChild;if(!c.support.tbody){t=hc.test(m);n=h==="table"&&!t?E.firstChild&&E.firstChild.childNodes:
-n[1]==="<table>"&&!t?E.childNodes:[];for(h=n.length-1;h>=0;--h)c.nodeName(n[h],"tbody")&&!n[h].childNodes.length&&n[h].parentNode.removeChild(n[h])}!c.support.leadingWhitespace&&Ua.test(m)&&E.insertBefore(b.createTextNode(Ua.exec(m)[0]),E.firstChild);m=E.childNodes}else m=b.createTextNode(m);var y;if(!c.support.appendChecked)if(m[0]&&typeof(y=m.length)==="number")for(h=0;h<y;h++)ea(m[h]);else ea(m);if(m.nodeType)f.push(m);else f=c.merge(f,m)}}if(d){a=function(H){return!H.type||lc.test(H.type)};for(l=
-0;f[l];l++)if(e&&c.nodeName(f[l],"script")&&(!f[l].type||f[l].type.toLowerCase()==="text/javascript"))e.push(f[l].parentNode?f[l].parentNode.removeChild(f[l]):f[l]);else{if(f[l].nodeType===1){b=c.grep(f[l].getElementsByTagName("script"),a);f.splice.apply(f,[l+1,0].concat(b))}d.appendChild(f[l])}}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,m;(m=a[l])!=null;l++)if(!(m.nodeName&&c.noData[m.nodeName.toLowerCase()]))if(d=m[c.expando]){if((b=e[d])&&
-b.events){for(var n in b.events)f[n]?c.event.remove(m,n):c.removeEvent(m,n,b.handle);if(b.handle)b.handle.elem=null}if(h)delete m[c.expando];else m.removeAttribute&&m.removeAttribute(c.expando);delete e[d]}}});var Va=/alpha\([^)]*\)/i,mc=/opacity=([^)]*)/,nc=/([A-Z]|^ms)/g,tb=/^-?\d+(?:px)?$/i,oc=/^-?\d/,pc=/^([\-+])=([\-+.\de]+)/,qc={position:"absolute",visibility:"hidden",display:"block"},Kb=["Left","Right"],Lb=["Top","Bottom"],wa,ub,vb;c.fn.css=function(a,b){if(arguments.length===2&&b===j)return this;
-return c.access(this,a,b,true,function(d,e,f){return f!==j?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){a=wa(a,"opacity","opacity");return a===""?"1":a}else return a.style.opacity}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),
-l=a.style,m=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==j){e=typeof d;if(e==="string"&&(f=pc.exec(d))){d=+(f[1]+1)*+f[2]+parseFloat(c.css(a,b));e="number"}if(!(d==null||e==="number"&&isNaN(d))){if(e==="number"&&!c.cssNumber[h])d+="px";if(!m||!("set"in m)||(d=m.set(a,d))!==j)try{l[b]=d}catch(n){}}}else{if(m&&"get"in m&&(f=m.get(a,false,e))!==j)return f;return l[b]}}},css:function(a,b,d){var e,f;b=c.camelCase(b);f=c.cssHooks[b];b=c.cssProps[b]||b;if(b==="cssFloat")b="float";if(f&&"get"in f&&(e=f.get(a,
-true,d))!==j)return e;else if(wa)return wa(a,b)},swap:function(a,b,d){var e={};for(var f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)return va(d,b,f);else c.swap(d,qc,function(){h=va(d,b,f)});return h}},set:function(d,e){if(tb.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,
-b){return mc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;a=a.currentStyle;var e=c.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=a&&a.filter||d.filter||"";d.zoom=1;if(b>=1&&c.trim(f.replace(Va,""))===""){d.removeAttribute("filter");if(a&&!a.filter)return}d.filter=Va.test(f)?f.replace(Va,e):f+" "+e}};c(function(){if(!c.support.reliableMarginRight)c.cssHooks.marginRight={get:function(a,b){var d;c.swap(a,{display:"inline-block"},
-function(){d=b?wa(a,"margin-right","marginRight"):a.style.marginRight});return d}}});if(L.defaultView&&L.defaultView.getComputedStyle)ub=function(a,b){var d,e,f;b=b.replace(nc,"-$1").toLowerCase();if((e=a.ownerDocument.defaultView)&&(f=e.getComputedStyle(a,null))){d=f.getPropertyValue(b);if(d===""&&!c.contains(a.ownerDocument.documentElement,a))d=c.style(a,b)}return d};if(L.documentElement.currentStyle)vb=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(f===null&&h&&(d=h[b]))f=
-d;if(!tb.test(f)&&oc.test(f)){d=h.left;if(e=a.runtimeStyle&&a.runtimeStyle.left)a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;if(e)a.runtimeStyle.left=e}return f===""?"auto":f};wa=ub||vb;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style&&a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var rc=
-/%20/g,Mb=/\[\]$/,wb=/\r?\n/g,sc=/#.*$/,tc=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,uc=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vc=/^(?:GET|HEAD)$/,wc=/^\/\//,xb=/\?/,xc=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,yc=/^(?:select|textarea)/i,bb=/\s+/,zc=/([?&])_=[^&]*/,yb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,zb=c.fn.load,Na={},Ab={},ra,sa,Bb=["*/"]+["*"];try{ra=Rb.href}catch(Lc){ra=L.createElement("a");ra.href="";
-ra=ra.href}sa=yb.exec(ra.toLowerCase())||[];c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&zb)return zb.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=j}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,m,n){n=l.responseText;if(l.isResolved()){l.done(function(t){n=t});
-h.html(f?c("<div>").append(n.replace(xc,"")).find(f):n)}d&&h.each(d,[n,m,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||yc.test(this.nodeName)||uc.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d.replace(wb,"\r\n")}}):
-{name:b.name,value:a.replace(wb,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.on(b,d)}});c.each(["get","post"],function(a,b){c[b]=function(d,e,f,h){if(c.isFunction(e)){h=h||f;f=e;e=j}return c.ajax({type:b,url:d,data:e,success:f,dataType:h})}});c.extend({getScript:function(a,b){return c.get(a,j,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},ajaxSetup:function(a,b){if(b)Ba(a,c.ajaxSettings);
-else{b=a;a=c.ajaxSettings}Ba(a,b);return a},ajaxSettings:{url:ra,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(sa[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Bb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":g.String,
-"text html":true,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:Ea(Na),ajaxTransport:Ea(Ab),ajax:function(a,b){function d(i,k,u,w){if(ba!==2){ba=2;$&&clearTimeout($);S=j;H=w||"";T.readyState=i>0?4:0;var z,B,J;w=k;u=u?Oa(e,T,u):j;var M;if(i>=200&&i<300||i===304){if(e.ifModified){if(M=T.getResponseHeader("Last-Modified"))c.lastModified[t]=M;if(M=T.getResponseHeader("Etag"))c.etag[t]=M}if(i===304){w="notmodified";z=true}else try{B=Nb(e,u);w="success";
-z=true}catch(V){w="parsererror";J=V}}else{J=w;if(!w||i){w="error";if(i<0)i=0}}T.status=i;T.statusText=""+(k||w);z?l.resolveWith(f,[B,w,T]):l.rejectWith(f,[T,w,J]);T.statusCode(n);n=j;if(aa)h.trigger("ajax"+(z?"Success":"Error"),[T,e,z?B:J]);m.fireWith(f,[T,w]);if(aa){h.trigger("ajaxComplete",[T,e]);--c.active||c.event.trigger("ajaxStop")}}}if(typeof a==="object"){b=a;a=j}b=b||{};var e=c.ajaxSetup({},b),f=e.context||e,h=f!==e&&(f.nodeType||f instanceof c)?c(f):c.event,l=c.Deferred(),m=c.Callbacks("once memory"),
-n=e.statusCode||{},t,E={},y={},H,D,S,$,ba=0,aa,na,T={readyState:0,setRequestHeader:function(i,k){if(!ba){var u=i.toLowerCase();i=y[u]=y[u]||i;E[i]=k}return this},getAllResponseHeaders:function(){return ba===2?H:null},getResponseHeader:function(i){var k;if(ba===2){if(!D)for(D={};k=tc.exec(H);)D[k[1].toLowerCase()]=k[2];k=D[i.toLowerCase()]}return k===j?null:k},overrideMimeType:function(i){if(!ba)e.mimeType=i;return this},abort:function(i){i=i||"abort";S&&S.abort(i);d(0,i);return this}};l.promise(T);
-T.success=T.done;T.error=T.fail;T.complete=m.add;T.statusCode=function(i){if(i){var k;if(ba<2)for(k in i)n[k]=[n[k],i[k]];else{k=i[T.status];T.then(k,k)}}return this};e.url=((a||e.url)+"").replace(sc,"").replace(wc,sa[1]+"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(bb);if(e.crossDomain==null){a=yb.exec(e.url.toLowerCase());e.crossDomain=!!(a&&(a[1]!=sa[1]||a[2]!=sa[2]||(a[3]||(a[1]==="http:"?80:443))!=(sa[3]||(sa[1]==="http:"?80:443))))}if(e.data&&e.processData&&typeof e.data!=="string")e.data=
-c.param(e.data,e.traditional);fa(Na,e,b,T);if(ba===2)return false;aa=e.global;e.type=e.type.toUpperCase();e.hasContent=!vc.test(e.type);aa&&c.active++===0&&c.event.trigger("ajaxStart");if(!e.hasContent){if(e.data){e.url+=(xb.test(e.url)?"&":"?")+e.data;delete e.data}t=e.url;if(e.cache===false){a=c.now();var ma=e.url.replace(zc,"$1_="+a);e.url=ma+(ma===e.url?(xb.test(e.url)?"&":"?")+"_="+a:"")}}if(e.data&&e.hasContent&&e.contentType!==false||b.contentType)T.setRequestHeader("Content-Type",e.contentType);
-if(e.ifModified){t=t||e.url;c.lastModified[t]&&T.setRequestHeader("If-Modified-Since",c.lastModified[t]);c.etag[t]&&T.setRequestHeader("If-None-Match",c.etag[t])}T.setRequestHeader("Accept",e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", "+Bb+"; q=0.01":""):e.accepts["*"]);for(na in e.headers)T.setRequestHeader(na,e.headers[na]);if(e.beforeSend&&(e.beforeSend.call(f,T,e)===false||ba===2)){T.abort();return false}for(na in{success:1,error:1,complete:1})T[na](e[na]);
-if(S=fa(Ab,e,b,T)){T.readyState=1;aa&&h.trigger("ajaxSend",[T,e]);if(e.async&&e.timeout>0)$=setTimeout(function(){T.abort("timeout")},e.timeout);try{ba=1;S.send(E,d)}catch(ia){if(ba<2)d(-1,ia);else throw ia;}}else d(-1,"No Transport");return T},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]=encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===j)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});
-else for(var f in a)xa(f,a[f],b,e);return d.join("&").replace(rc,"+")}});c.extend({active:0,lastModified:{},etag:{}});var Ac=c.now(),Ha=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+Ac++}});c.ajaxPrefilter("json jsonp",function(a,b,d){b=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==false&&(Ha.test(a.url)||b&&Ha.test(a.data))){var e,f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?
-a.jsonpCallback():a.jsonpCallback,h=g[f],l=a.url,m=a.data,n="$1"+f+"$2";if(a.jsonp!==false){l=l.replace(Ha,n);if(a.url===l){if(b)m=m.replace(Ha,n);if(a.data===m)l+=(/\?/.test(l)?"&":"?")+a.jsonp+"="+f}}a.url=l;a.data=m;g[f]=function(t){e=[t]};d.always(function(){g[f]=h;e&&c.isFunction(h)&&g[f](e[0])});a.converters["script json"]=function(){e||c.error(f+" was not called");return e[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
-contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){if(a.cache===j)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=L.head||L.getElementsByTagName("head")[0]||L.documentElement;return{send:function(e,f){b=L.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=
-function(h,l){if(l||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;d&&b.parentNode&&d.removeChild(b);b=j;l||f(200,"success")}};d.insertBefore(b,d.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var Wa=g.ActiveXObject?function(){for(var a in Aa)Aa[a](0,1)}:false,Bc=0,Aa;c.ajaxSettings.xhr=g.ActiveXObject?function(){return!this.isLocal&&cb()||Ob()}:cb;(function(a){c.extend(c.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(c.ajaxSettings.xhr());c.support.ajax&&
-c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f=a.xhr(),h,l;a.username?f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(l in a.xhrFields)f[l]=a.xhrFields[l];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);if(!a.crossDomain&&!d["X-Requested-With"])d["X-Requested-With"]="XMLHttpRequest";try{for(l in d)f.setRequestHeader(l,d[l])}catch(m){}f.send(a.hasContent&&a.data||null);b=function(n,
-t){var E,y,H,D,S;try{if(b&&(t||f.readyState===4)){b=j;if(h){f.onreadystatechange=c.noop;Wa&&delete Aa[h]}if(t)f.readyState!==4&&f.abort();else{E=f.status;H=f.getAllResponseHeaders();D={};if((S=f.responseXML)&&S.documentElement)D.xml=S;D.text=f.responseText;try{y=f.statusText}catch($){y=""}if(!E&&a.isLocal&&!a.crossDomain)E=D.text?200:404;else if(E===1223)E=204}}}catch(ba){t||e(-1,ba)}D&&e(E,y,D,H)};if(!a.async||f.readyState===4)b();else{h=++Bc;if(Wa){if(!Aa){Aa={};c(g).unload(Wa)}Aa[h]=b}f.onreadystatechange=
-b}},abort:function(){b&&b(0,1)}}}});var Pa={},la,za,Cc=/^(?:toggle|show|hide)$/,Dc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Ia,eb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Fa;c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(ya("show",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];if(a.style){b=a.style.display;if(!c._data(a,"olddisplay")&&b==="none")b=a.style.display="";
-b===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",fb(a.nodeName))}}for(d=0;d<e;d++){a=this[d];if(a.style){b=a.style.display;if(b===""||b==="none")a.style.display=c._data(a,"olddisplay")||""}}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(ya("hide",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];if(a.style){b=c.css(a,"display");b!=="none"&&!c._data(a,"olddisplay")&&c._data(a,"olddisplay",b)}}for(d=0;d<e;d++)if(this[d].style)this[d].style.display="none";return this}},
-_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(ya("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){function f(){h.queue===false&&c._mark(this);var l=c.extend({},h),m=this.nodeType===
-1,n=m&&c(this).is(":hidden"),t,E,y,H,D;l.animatedProperties={};for(y in a){t=c.camelCase(y);if(y!==t){a[t]=a[y];delete a[y]}E=a[t];if(c.isArray(E)){l.animatedProperties[t]=E[1];E=a[t]=E[0]}else l.animatedProperties[t]=l.specialEasing&&l.specialEasing[t]||l.easing||"swing";if(E==="hide"&&n||E==="show"&&!n)return l.complete.call(this);if(m&&(t==="height"||t==="width")){l.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")===
-"none")if(!c.support.inlineBlockNeedsLayout||fb(this.nodeName)==="inline")this.style.display="inline-block";else this.style.zoom=1}}if(l.overflow!=null)this.style.overflow="hidden";for(y in a){m=new c.fx(this,l,y);E=a[y];if(Cc.test(E))if(t=c._data(this,"toggle"+y)||(E==="toggle"?n?"show":"hide":0)){c._data(this,"toggle"+y,t==="show"?"hide":"show");m[t]()}else m[E]();else{t=Dc.exec(E);H=m.cur();if(t){E=parseFloat(t[2]);D=t[3]||(c.cssNumber[y]?"":"px");if(D!=="px"){c.style(this,y,(E||1)+D);H=(E||1)/
-m.cur()*H;c.style(this,y,H+D)}if(t[1])E=(t[1]==="-="?-1:1)*E+H;m.custom(H,E,D)}else m.custom(H,E,"")}}return true}var h=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(h.complete,[false]);a=c.extend({},a);return h.queue===false?this.each(f):this.queue(h.queue,f)},stop:function(a,b,d){if(typeof a!=="string"){d=b;b=a;a=j}if(b&&a!==false)this.queue(a||"fx",[]);return this.each(function(){function e(n,t,E){t=t[E];c.removeData(n,E,true);t.stop(d)}var f,h=false,l=c.timers,m=c._data(this);d||c._unmark(true,
-this);if(a==null)for(f in m)m[f]&&m[f].stop&&f.indexOf(".run")===f.length-4&&e(this,m,f);else if(m[f=a+".run"]&&m[f].stop)e(this,m,f);for(f=l.length;f--;)if(l[f].elem===this&&(a==null||l[f].queue===a)){d?l[f](true):l[f].saveState();h=true;l.splice(f,1)}d&&h||c.dequeue(this,a)})}});c.each({slideDown:ya("show",1),slideUp:ya("hide",1),slideToggle:ya("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,
-d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;if(e.queue==null||e.queue===true)e.queue="fx";e.old=e.complete;e.complete=function(f){c.isFunction(e.old)&&e.old.call(this);if(e.queue)c.dequeue(this,e.queue);else f!==false&&c._unmark(this)};return e},
-easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;b.orig=b.orig||{}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=c.css(this.elem,
-this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(l){return f.step(l)}var f=this,h=c.fx;this.startTime=Fa||db();this.end=b;this.now=this.start=a;this.pos=this.state=0;this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");e.queue=this.options.queue;e.elem=this.elem;e.saveState=function(){f.options.hide&&c._data(f.elem,"fxshow"+f.prop)===j&&c._data(f.elem,"fxshow"+f.prop,f.start)};if(e()&&c.timers.push(e)&&!Ia)Ia=setInterval(h.tick,h.interval)},show:function(){var a=
-c._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||c.style(this.elem,this.prop);this.options.show=true;a!==j?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c._data(this.elem,"fxshow"+this.prop)||c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b,d=Fa||db(),e=true,f=this.elem,h=this.options;if(a||d>=h.duration+this.startTime){this.now=
-this.end;this.pos=this.state=1;this.update();h.animatedProperties[this.prop]=true;for(b in h.animatedProperties)if(h.animatedProperties[b]!==true)e=false;if(e){h.overflow!=null&&!c.support.shrinkWrapBlocks&&c.each(["","X","Y"],function(l,m){f.style["overflow"+m]=h.overflow[l]});h.hide&&c(f).hide();if(h.hide||h.show)for(b in h.animatedProperties){c.style(f,b,h.orig[b]);c.removeData(f,"fxshow"+b,true);c.removeData(f,"toggle"+b,true)}if(a=h.complete){h.complete=false;a.call(f)}}return false}else{if(h.duration==
-Infinity)this.now=d;else{a=d-this.startTime;this.state=a/h.duration;this.pos=c.easing[h.animatedProperties[this.prop]](this.state,a,0,1,h.duration);this.now=this.start+(this.end-this.start)*this.pos}this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a,b=c.timers,d=0;d<b.length;d++){a=b[d];!a()&&b[d]===a&&b.splice(d--,1)}b.length||c.fx.stop()},interval:13,stop:function(){clearInterval(Ia);Ia=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",
-a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});c.each(["width","height"],function(a,b){c.fx.step[b]=function(d){c.style(d.elem,b,Math.max(0,d.now)+d.unit)}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var Ec=/^t(?:able|d|h)$/i,Cb=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in L.documentElement?function(a){var b=this[0],
-d;if(a)return this.each(function(l){c.offset.setOffset(this,a,l)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d?{top:d.top,left:d.left}:{top:0,left:0};b=f.body;f=Qa(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||
-b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(E){c.offset.setOffset(this,a,E)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d,e=b.offsetParent,f=b,h=b.ownerDocument,l=h.documentElement,m=h.body;d=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var n=b.offsetTop,t=b.offsetLeft;(b=b.parentNode)&&b!==m&&b!==l;){if(c.support.fixedPosition&&d.position==="fixed")break;d=h?h.getComputedStyle(b,
-null):b.currentStyle;n-=b.scrollTop;t-=b.scrollLeft;if(b===e){n+=b.offsetTop;t+=b.offsetLeft;if(c.support.doesNotAddBorder&&!(c.support.doesAddBorderForTableAndCells&&Ec.test(b.nodeName))){n+=parseFloat(d.borderTopWidth)||0;t+=parseFloat(d.borderLeftWidth)||0}f=e;e=b.offsetParent}if(c.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){n+=parseFloat(d.borderTopWidth)||0;t+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){n+=m.offsetTop;t+=m.offsetLeft}if(c.support.fixedPosition&&
-d.position==="fixed"){n+=Math.max(l.scrollTop,m.scrollTop);t+=Math.max(l.scrollLeft,m.scrollLeft)}return{top:n,left:t}};c.offset={bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;if(c.support.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),m=c.css(a,"left"),n={},t={};if((e===
-"absolute"||e==="fixed")&&c.inArray("auto",[l,m])>-1){t=f.position();e=t.top;m=t.left}else{e=parseFloat(l)||0;m=parseFloat(m)||0}if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)n.top=b.top-h.top+e;if(b.left!=null)n.left=b.left-h.left+m;"using"in b?b.using.call(a,n):f.css(n)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Cb.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,
-"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||L.body;a&&!Cb.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f,h;if(e===j){f=this[0];if(!f)return null;return(h=Qa(f))?"pageXOffset"in h?h[a?"pageYOffset":
-"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}return this.each(function(){if(h=Qa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e})}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){var e=this[0];return e?e.style?parseFloat(c.css(e,d,"padding")):this[d]():null};c.fn["outer"+b]=function(e){var f=this[0];return f?f.style?parseFloat(c.css(f,d,e?"margin":"border")):this[d]():null};c.fn[d]=
-function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(m){var n=c(this);n[d](e.call(this,m,n[d]()))});if(c.isWindow(f)){var h=f.document.documentElement["client"+b],l=f.document.body;return f.document.compatMode==="CSS1Compat"&&h||l&&l["client"+b]||h}else if(f.nodeType===9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===j){f=c.css(f,d);h=parseFloat(f);
-return c.isNumeric(h)?h:f}else return this.css(d,typeof e==="string"?e:e+"px")}});g.jQuery=g.$=c;typeof define==="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return c})})(window);var Z=jQuery;Z.noConflict();jQuery.cookie=function(g,j,q){if(typeof j!="undefined"){q=q||{};if(j===null){j="";q.expires=-1}var v="";if(q.expires&&(typeof q.expires=="number"||q.expires.toUTCString)){if(typeof q.expires=="number"){v=new Date;v.setTime(v.getTime()+q.expires*24*60*60*1E3)}else v=
-q.expires;v="; expires="+v.toUTCString()}var p=q.path?"; path="+q.path:"",s=q.domain?"; domain="+q.domain:"";q=q.secure?"; secure":"";document.cookie=[g,"=",encodeURIComponent(j),v,p,s,q].join("")}else{j=null;if(document.cookie&&document.cookie!=""){q=document.cookie.split(";");for(v=0;v<q.length;v++){p=jQuery.trim(q[v]);if(p.substring(0,g.length+1)==g+"="&&p.match("=")){j=decodeURIComponent(p.substring(g.length+1));break}else if(!p.match("=")&&p.substring(0,g.length)==g){j="";break}}}return j}};
-jQuery.fn.extend({elementFrame:function(){var g=jQuery(this);if(arguments.length===1){var j=arguments[0],q=j.topleft,v=j.bottomright,p=q.x,s=j.width||v.x-q.x;v=j.height||v.y-q.y;g.css("top",q.y+"px");g.css("left",p+"px");if(!j.ignoreDimensions){g.width(s);g.height(v)}g.css("zIndex",j.zIndex);return this}else{g=jQuery(this);var r=g.offset();s=g.width();v=g.height();j=g.outerWidth()||s;q=g.outerHeight()||v;p=r.left;var x=p+j;r=r.top;var C=r+q;g=g.css("z-index");return{width:s,height:v,outerWidth:j,
-outerHeight:q,zIndex:g,topleft:{x:p,y:r},topright:{x:x,y:r},bottomleft:{x:p,y:C},bottomright:{x:x,y:C}}}},windowFrame:function(){var g=jQuery(document.body),j=0,q=jQuery(document.body).width();if(self.innerHeight)j=self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)j=document.documentElement.clientHeight;else if(document.body)j=document.body.clientHeight;var v=parseInt(g.css("margin-left"),10),p=parseInt(g.css("margin-right"),10);g=self.pageYOffset||jQuery.boxModel&&
-document.documentElement.scrollTop||document.body.scrollTop;var s=g+j,r=self.pageXOffset||jQuery.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;v=r+q+p+v;p=scrollWidth=0;p=document.documentElement&&document.documentElement.scrollHeight>p?document.documentElement.scrollHeight:document.body.scrollHeight>j?document.body.scrollHeight:document.body.offsetHeight;scrollWidth=document.documentElement&&document.documentElement.scrollWidth>scrollWidth?document.documentElement.scrollWidth:
-document.body.scrollWidth>q?document.body.scrollWidth:document.body.offsetWidth;return{width:q,height:j,scrollWidth:scrollWidth,scrollHeight:p,topleft:{x:r,y:g},topright:{x:v,y:g},bottomleft:{x:r,y:s},bottomright:{x:v,y:s}}},_availableFrameSizesHelper:function(g,j,q,v,p,s){return g===0||j===0?null:{width:g,height:j,topleft:{x:s,y:q},topright:{x:v,y:q},bottomleft:{x:s,y:p},bottomright:{x:v,y:p}}},availableFrameSizes:function(){var g=jQuery(this),j=g.elementFrame(),q=g.windowFrame(),v=q.topleft.y,p=
-q.topleft.x;g=q.topright.x;var s=q.bottomright.y,r=j.topleft.y,x=j.bottomleft.y,C=j.topleft.x,G=j.topright.x,I=j.width,N=j.height,O=r-v;if(O<0)O=0;var Q=s-x;if(Q<0)Q=0;var P=C-p;if(P<0)P=0;var R=g-G;if(R<0)R=0;j=this._availableFrameSizesHelper(q.width,O,v,g,r,p);var ea=this._availableFrameSizesHelper(q.width,Q,x,g,s,p),ta=this._availableFrameSizesHelper(P,q.height,v,G,s,p);q=this._availableFrameSizesHelper(R,q.height,v,g,s,G);var ua=this._availableFrameSizesHelper(P,O,v,C,r,p),va=this._availableFrameSizesHelper(I,
-O,v,G,r,C);v=this._availableFrameSizesHelper(R,O,v,g,r,G);O=this._availableFrameSizesHelper(P,Q,x,C,s,p);I=this._availableFrameSizesHelper(I,Q,x,G,s,C);s=this._availableFrameSizesHelper(R,Q,x,g,s,G);p=this._availableFrameSizesHelper(P,N,r,C,x,p);g=this._availableFrameSizesHelper(R,N,r,g,x,G);return{top:j,bottom:ea,left:ta,right:q,topleft:ua,topcenter:va,topright:v,bottomleft:O,bottomcenter:I,bottomright:s,middleleft:p,middleright:g}},elementFramePercentHidden:function(){var g=jQuery(this),j=g.windowFrame(),
-q=g.elementFrame();g=j.topleft.y;var v=j.topleft.x,p=j.bottomright.x,s=j.bottomright.y,r=q.topleft.y,x=q.bottomleft.y,C=q.topleft.x,G=q.topright.x,I=q.outerWidth;q=q.outerHeight;var N=rPixel=tPixel=bPixel=0,O=rPercent=tPercent=bPercent=0,Q=false;v=C-v;if(v<0){Q=true;N=v*-1;O=(I+v)/I*100}v=p-G;if(v<0){Q=true;rPixel=v*-1;rPercent=100-(I+v)/I*100}v=r-g;if(v<0){Q=true;tPixel=v*-1;tPercent=(q+v)/q*100}v=s-x+(!jQuery.browser.msie&&j.scrollWidth>j.width+16?-16:0);if(v<0){Q=true;bPixel=v*-1;bPercent=100-
-(q+v)/q*100}return{isHidden:Q,left:O,right:rPercent,top:tPercent,bottom:bPercent,pixels:{left:N,right:rPixel,top:tPixel,bottom:bPixel}}},moveFrameIntoView:function(){var g=jQuery(this),j=g.elementFramePercentHidden();if(j.isHidden){var q=j.pixels.bottom,v=j.pixels.left,p=j.pixels.right;j=j.pixels.top||-q||0;if(j!==0){j=parseInt(g.css("top"),10)+parseInt(j,10);g.css("top",j+"px")}v=v||-p||0;if(v!==0){v=parseInt(g.css("left"),10)+parseInt(v,10);g.css("left",v+"px")}}},setFramePosition:function(g,j){var q=
-jQuery(this).css("top",-1000).css("display","block"),v=jQuery(j.element),p=q.elementFrame(),s=v.elementFrame();q.windowFrame();for(var r=q.parents().get(),x=false,C=0;C<r.length;C++)if(jQuery(r[C]).css("position")=="relative"){x=true;break}if(x)C=r=0;else{r=s.topleft.x;C=s.topleft.y}j=this._getFrameOffsetPosition(v,s.height,s.width,j.vertical,j.hortizontal);r+=j.offsetX;C+=j.offsetY;v=this._getFrameOffsetPosition(q,p.height,p.width,g.vertical,g.hortizontal);j=r+(g.customOffsetX||0)-v.offsetX;v=C+
-(g.customOffsetY||0)-v.offsetY;if(x){j-=r;v-=C}p={topleft:{x:j,y:v},width:p.width,height:p.height,ignoreDimensions:true};x=q.css("opacity");r=q.css("filter");C=q.css("-ms-filter");q.css("opacity",0).css("filter","alpha(opacity=0)").css("-ms-filter","progid:DXImageTransform.Microsoft.Alpha(Opacity=0)").elementFrame(p);if(!g.adjustFit||g.adjustFit.toLowerCase()==="autoadjust"||g.adjustFit.toLowerCase()==="slide")q.moveFrameIntoView();q.css("display","none").css("opacity",x).css("filter",r).css("-ms-filter",
-C);return this},_getFrameOffsetPosition:function(g,j,q,v,p){function s(C,G){if(C.indexOf("%")>0){C=parseFloat(C)/100;return Math.floor(G*C)}else return C.length>0?parseInt(C):0}var r=0,x=0;switch(v.toLowerCase()){case "top":case "t":r=parseInt(g.css("margin-top"),10)||0;break;case "middle":case "m":case "center":case "c":r=Math.floor(j/2);break;case "bottom":case "b":r=j;break;default:r=s(v,j);if(isNaN(r))r=0}switch(p.toLowerCase()){case "left":case "l":x=parseInt(g.css("margin-left"),10)||0;break;
-case "center":case "c":x=Math.floor(q/2);break;case "right":case "r":x=q;break;default:x=s(p,q);if(isNaN(x))x=0}return{offsetX:x,offsetY:r}},centerFrameInWindow:function(){var g=jQuery(this),j=false;if(g.is(":visible").length===0){j=true;g.css("top","-10000px").css("display","block")}var q=g.elementFrame(),v=g.windowFrame();j&&g.css("display","none");j=Math.floor((v.width-q.width)/2)+v.topleft.x;v=Math.floor((v.height-q.height)/2)+v.topleft.y;g.elementFrame({topleft:{x:j,y:v},width:q.width,height:q.height,
-ignoreDimensions:true});return this},createIE6LayerFix:function(g){if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<7){var j=jQuery("<iframe src='javascript:\"\";' class='ui-ncbi-iframe-fix' marginwidth='0' marginheight='0' align='bottom' scrolling='no' frameborder='0'></iframe>"),q=jQuery(this).elementFrame();if(q.zIndex!=="auto"&&typeof parseInt(q.zIndex,10)==="number")q.zIndex-=1;j.elementFrame(q);g&&j.appendTo(document.body);return j}return null}});(function(g){g.fn.hoverIntent=function(j,
-q){var v={sensitivity:7,interval:100,timeout:0};v=g.extend(v,q?{over:j,out:q}:j);var p,s,r,x,C=function(N){p=N.pageX;s=N.pageY},G=function(N,O){O.hoverIntent_t=clearTimeout(O.hoverIntent_t);if(Math.abs(r-p)+Math.abs(x-s)<v.sensitivity){g(O).unbind("mousemove",C);O.hoverIntent_s=1;return v.over.apply(O,[N])}else{r=p;x=s;O.hoverIntent_t=setTimeout(function(){G(N,O)},v.interval)}},I=function(N,O){O.hoverIntent_t=clearTimeout(O.hoverIntent_t);O.hoverIntent_s=0;return v.out.apply(O,[N])};j=function(N){for(var O=
-(N.type=="mouseover"?N.fromElement:N.toElement)||N.relatedTarget;O&&O!=this;)try{O=O.parentNode}catch(Q){O=this}if(O==this)return false;var P=jQuery.extend({},N),R=this;if(R.hoverIntent_t)R.hoverIntent_t=clearTimeout(R.hoverIntent_t);if(N.type=="mouseover"){r=P.pageX;x=P.pageY;g(R).bind("mousemove",C);if(R.hoverIntent_s!=1)R.hoverIntent_t=setTimeout(function(){G(P,R)},v.interval)}else{g(R).unbind("mousemove",C);if(R.hoverIntent_s==1)R.hoverIntent_t=setTimeout(function(){I(P,R)},v.timeout)}};return this.mouseover(j).mouseout(j)}})(jQuery);
-if(!this.JSON)this.JSON={};(function(){function g(G){return G<10?"0"+G:G}function j(G){p.lastIndex=0;return p.test(G)?'"'+G.replace(p,function(I){var N=x[I];return typeof N==="string"?N:"\\u"+("0000"+I.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+G+'"'}function q(G,I){var N,O,Q=s,P,R=I[G];if(R&&typeof R==="object"&&typeof R.toJSON==="function")R=R.toJSON(G);if(typeof C==="function")R=C.call(I,G,R);switch(typeof R){case "string":return j(R);case "number":return isFinite(R)?String(R):"null";case "boolean":case "null":return String(R);
-case "object":if(!R)return"null";s+=r;P=[];if(Object.prototype.toString.apply(R)==="[object Array]"){O=R.length;for(G=0;G<O;G+=1)P[G]=q(G,R)||"null";I=P.length===0?"[]":s?"[\n"+s+P.join(",\n"+s)+"\n"+Q+"]":"["+P.join(",")+"]";s=Q;return I}if(C&&typeof C==="object"){O=C.length;for(G=0;G<O;G+=1){N=C[G];if(typeof N==="string")if(I=q(N,R))P.push(j(N)+(s?": ":":")+I)}}else for(N in R)if(Object.hasOwnProperty.call(R,N))if(I=q(N,R))P.push(j(N)+(s?": ":":")+I);I=P.length===0?"{}":s?"{\n"+s+P.join(",\n"+s)+
-"\n"+Q+"}":"{"+P.join(",")+"}";s=Q;return I}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+g(this.getUTCMonth()+1)+"-"+g(this.getUTCDate())+"T"+g(this.getUTCHours())+":"+g(this.getUTCMinutes())+":"+g(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var v=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
-p=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s,r,x={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},C;if(typeof JSON.stringify!=="function")JSON.stringify=function(G,I,N){var O;r=s="";if(typeof N==="number")for(O=0;O<N;O+=1)r+=" ";else if(typeof N==="string")r=N;if((C=I)&&typeof I!=="function"&&(typeof I!=="object"||typeof I.length!=="number"))throw new Error("JSON.stringify");return q("",
-{"":G})};if(typeof JSON.parse!=="function")JSON.parse=function(G,I){function N(O,Q){var P,R,ea=O[Q];if(ea&&typeof ea==="object")for(P in ea)if(Object.hasOwnProperty.call(ea,P)){R=N(ea,P);if(R!==undefined)ea[P]=R;else delete ea[P]}return I.call(O,Q,ea)}v.lastIndex=0;if(v.test(G))G=G.replace(v,function(O){return"\\u"+("0000"+O.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(G.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
-"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){G=eval("("+G+")");return typeof I==="function"?N({"":G},""):G}throw new SyntaxError("JSON.parse");}})();(function(g,j){function q(p,s){var r=p.nodeName.toLowerCase();if("area"===r){s=p.parentNode;r=s.name;if(!p.href||!r||s.nodeName.toLowerCase()!=="map")return false;p=g("img[usemap=#"+r+"]")[0];return!!p&&v(p)}return(/input|select|textarea|button|object/.test(r)?!p.disabled:"a"==r?p.href||s:s)&&v(p)}function v(p){return!g(p).parents().andSelf().filter(function(){return g.curCSS(this,
-"visibility")==="hidden"||g.expr.filters.hidden(this)}).length}g.ui=g.ui||{};if(!g.ui.version){g.extend(g.ui,{version:"1.8.17",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});
-g.fn.extend({propAttr:g.fn.prop||g.fn.attr,_focus:g.fn.focus,focus:function(p,s){return typeof p==="number"?this.each(function(){var r=this;setTimeout(function(){g(r).focus();s&&s.call(r)},p)}):this._focus.apply(this,arguments)},scrollParent:function(){var p;p=g.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(g.curCSS(this,"position",1))&&/(auto|scroll)/.test(g.curCSS(this,"overflow",
-1)+g.curCSS(this,"overflow-y",1)+g.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(g.curCSS(this,"overflow",1)+g.curCSS(this,"overflow-y",1)+g.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!p.length?g(document):p},zIndex:function(p){if(p!==j)return this.css("zIndex",p);if(this.length){p=g(this[0]);for(var s;p.length&&p[0]!==document;){s=p.css("position");if(s==="absolute"||s==="relative"||s==="fixed"){s=parseInt(p.css("zIndex"),
-10);if(!isNaN(s)&&s!==0)return s}p=p.parent()}}return 0},disableSelection:function(){return this.bind((g.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(p){p.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});g.each(["Width","Height"],function(p,s){function r(I,N,O,Q){g.each(x,function(){N-=parseFloat(g.curCSS(I,"padding"+this,true))||0;if(O)N-=parseFloat(g.curCSS(I,"border"+this+"Width",true))||0;if(Q)N-=parseFloat(g.curCSS(I,
-"margin"+this,true))||0});return N}var x=s==="Width"?["Left","Right"]:["Top","Bottom"],C=s.toLowerCase(),G={innerWidth:g.fn.innerWidth,innerHeight:g.fn.innerHeight,outerWidth:g.fn.outerWidth,outerHeight:g.fn.outerHeight};g.fn["inner"+s]=function(I){if(I===j)return G["inner"+s].call(this);return this.each(function(){g(this).css(C,r(this,I)+"px")})};g.fn["outer"+s]=function(I,N){if(typeof I!=="number")return G["outer"+s].call(this,I);return this.each(function(){g(this).css(C,r(this,I,true,N)+"px")})}});
-g.extend(g.expr[":"],{data:function(p,s,r){return!!g.data(p,r[3])},focusable:function(p){return q(p,!isNaN(g.attr(p,"tabindex")))},tabbable:function(p){var s=g.attr(p,"tabindex"),r=isNaN(s);return(r||s>=0)&&q(p,!r)}});g(function(){var p=document.body,s=p.appendChild(s=document.createElement("div"));g.extend(s.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});g.support.minHeight=s.offsetHeight===100;g.support.selectstart="onselectstart"in s;p.removeChild(s).style.display="none"});g.extend(g.ui,
-{plugin:{add:function(p,s,r){p=g.ui[p].prototype;for(var x in r){p.plugins[x]=p.plugins[x]||[];p.plugins[x].push([s,r[x]])}},call:function(p,s,r){if((s=p.plugins[s])&&p.element[0].parentNode)for(var x=0;x<s.length;x++)p.options[s[x][0]]&&s[x][1].apply(p.element,r)}},contains:function(p,s){return document.compareDocumentPosition?p.compareDocumentPosition(s)&16:p!==s&&p.contains(s)},hasScroll:function(p,s){if(g(p).css("overflow")==="hidden")return false;s=s&&s==="left"?"scrollLeft":"scrollTop";var r=
-false;if(p[s]>0)return true;p[s]=1;r=p[s]>0;p[s]=0;return r},isOverAxis:function(p,s,r){return p>s&&p<s+r},isOver:function(p,s,r,x,C,G){return g.ui.isOverAxis(p,r,C)&&g.ui.isOverAxis(s,x,G)}})}})(jQuery);(function(g,j){if(g.cleanData){var q=g.cleanData;g.cleanData=function(p){for(var s=0,r;(r=p[s])!=null;s++)try{g(r).triggerHandler("remove")}catch(x){}q(p)}}else{var v=g.fn.remove;g.fn.remove=function(p,s){return this.each(function(){if(!s)if(!p||g.filter(p,[this]).length)g("*",this).add([this]).each(function(){try{g(this).triggerHandler("remove")}catch(r){}});
-return v.call(g(this),p,s)})}}g.widget=function(p,s,r){var x=p.split(".")[0],C;p=p.split(".")[1];C=x+"-"+p;if(!r){r=s;s=g.Widget}g.expr[":"][C]=function(G){return!!g.data(G,p)};g[x]=g[x]||{};g[x][p]=function(G,I){arguments.length&&this._createWidget(G,I)};s=new s;s.options=g.extend(true,{},s.options);g[x][p].prototype=g.extend(true,s,{namespace:x,widgetName:p,widgetEventPrefix:g[x][p].prototype.widgetEventPrefix||p,widgetBaseClass:C},r);g.widget.bridge(p,g[x][p])};g.widget.bridge=function(p,s){g.fn[p]=
-function(r){var x=typeof r==="string",C=Array.prototype.slice.call(arguments,1),G=this;r=!x&&C.length?g.extend.apply(null,[true,r].concat(C)):r;if(x&&r.charAt(0)==="_")return G;x?this.each(function(){var I=g.data(this,p),N=I&&g.isFunction(I[r])?I[r].apply(I,C):I;if(N!==I&&N!==j){G=N;return false}}):this.each(function(){var I=g.data(this,p);I?I.option(r||{})._init():g.data(this,p,new s(r,this))});return G}};g.Widget=function(p,s){arguments.length&&this._createWidget(p,s)};g.Widget.prototype={widgetName:"widget",
-widgetEventPrefix:"",options:{disabled:false},_createWidget:function(p,s){g.data(s,this.widgetName,this);this.element=g(s);this.options=g.extend(true,{},this.options,this._getCreateOptions(),p);var r=this;this.element.bind("remove."+this.widgetName,function(){r.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return g.metadata&&g.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+
-this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(p,s){var r=p;if(arguments.length===0)return g.extend({},this.options);if(typeof p==="string"){if(s===j)return this.options[p];r={};r[p]=s}this._setOptions(r);return this},_setOptions:function(p){var s=this;g.each(p,function(r,x){s._setOption(r,x)});return this},_setOption:function(p,
-s){this.options[p]=s;if(p==="disabled")this.widget()[s?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",s);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(p,s,r){var x,C=this.options[p];r=r||{};s=g.Event(s);s.type=(p===this.widgetEventPrefix?p:this.widgetEventPrefix+p).toLowerCase();s.target=this.element[0];if(p=s.originalEvent)for(x in p)x in s||
-(s[x]=p[x]);this.element.trigger(s,r);return!(g.isFunction(C)&&C.call(this.element[0],s,r)===false||s.isDefaultPrevented())}}})(jQuery);(function(g){var j=false;g(document).mouseup(function(){j=false});g.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var q=this;this.element.bind("mousedown."+this.widgetName,function(v){return q._mouseDown(v)}).bind("click."+this.widgetName,function(v){if(true===g.data(v.target,q.widgetName+".preventClickEvent")){g.removeData(v.target,
-q.widgetName+".preventClickEvent");v.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(q){if(!j){this._mouseStarted&&this._mouseUp(q);this._mouseDownEvent=q;var v=this,p=q.which==1,s=typeof this.options.cancel=="string"&&q.target.nodeName?g(q.target).closest(this.options.cancel).length:false;if(!p||s||!this._mouseCapture(q))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=
-setTimeout(function(){v.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(q)&&this._mouseDelayMet(q)){this._mouseStarted=this._mouseStart(q)!==false;if(!this._mouseStarted){q.preventDefault();return true}}true===g.data(q.target,this.widgetName+".preventClickEvent")&&g.removeData(q.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(r){return v._mouseMove(r)};this._mouseUpDelegate=function(r){return v._mouseUp(r)};g(document).bind("mousemove."+this.widgetName,
-this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);q.preventDefault();return j=true}},_mouseMove:function(q){if(g.browser.msie&&!(document.documentMode>=9)&&!q.button)return this._mouseUp(q);if(this._mouseStarted){this._mouseDrag(q);return q.preventDefault()}if(this._mouseDistanceMet(q)&&this._mouseDelayMet(q))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,q)!==false)?this._mouseDrag(q):this._mouseUp(q);return!this._mouseStarted},_mouseUp:function(q){g(document).unbind("mousemove."+
-this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;q.target==this._mouseDownEvent.target&&g.data(q.target,this.widgetName+".preventClickEvent",true);this._mouseStop(q)}return false},_mouseDistanceMet:function(q){return Math.max(Math.abs(this._mouseDownEvent.pageX-q.pageX),Math.abs(this._mouseDownEvent.pageY-q.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},
-_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(g){g.ui=g.ui||{};var j=/left|center|right/,q=/top|center|bottom/,v={},p=g.fn.position,s=g.fn.offset;g.fn.position=function(r){if(!r||!r.of)return p.apply(this,arguments);r=g.extend({},r);var x=g(r.of),C=x[0],G=(r.collision||"flip").split(" "),I=r.offset?r.offset.split(" "):[0,0],N,O,Q;if(C.nodeType===9){N=x.width();O=x.height();Q={top:0,left:0}}else if(C.setTimeout){N=x.width();O=x.height();
-Q={top:x.scrollTop(),left:x.scrollLeft()}}else if(C.preventDefault){r.at="left top";N=O=0;Q={top:r.of.pageY,left:r.of.pageX}}else{N=x.outerWidth();O=x.outerHeight();Q=x.offset()}g.each(["my","at"],function(){var P=(r[this]||"").split(" ");if(P.length===1)P=j.test(P[0])?P.concat(["center"]):q.test(P[0])?["center"].concat(P):["center","center"];P[0]=j.test(P[0])?P[0]:"center";P[1]=q.test(P[1])?P[1]:"center";r[this]=P});if(G.length===1)G[1]=G[0];I[0]=parseInt(I[0],10)||0;if(I.length===1)I[1]=I[0];I[1]=
-parseInt(I[1],10)||0;if(r.at[0]==="right")Q.left+=N;else if(r.at[0]==="center")Q.left+=N/2;if(r.at[1]==="bottom")Q.top+=O;else if(r.at[1]==="center")Q.top+=O/2;Q.left+=I[0];Q.top+=I[1];return this.each(function(){var P=g(this),R=P.outerWidth(),ea=P.outerHeight(),ta=parseInt(g.curCSS(this,"marginLeft",true))||0,ua=parseInt(g.curCSS(this,"marginTop",true))||0,va=R+ta+(parseInt(g.curCSS(this,"marginRight",true))||0),Ea=ea+ua+(parseInt(g.curCSS(this,"marginBottom",true))||0),fa=g.extend({},Q),Ba;if(r.my[0]===
-"right")fa.left-=R;else if(r.my[0]==="center")fa.left-=R/2;if(r.my[1]==="bottom")fa.top-=ea;else if(r.my[1]==="center")fa.top-=ea/2;if(!v.fractions){fa.left=Math.round(fa.left);fa.top=Math.round(fa.top)}Ba={left:fa.left-ta,top:fa.top-ua};g.each(["left","top"],function(xa,Oa){g.ui.position[G[xa]]&&g.ui.position[G[xa]][Oa](fa,{targetWidth:N,targetHeight:O,elemWidth:R,elemHeight:ea,collisionPosition:Ba,collisionWidth:va,collisionHeight:Ea,offset:I,my:r.my,at:r.at})});g.fn.bgiframe&&P.bgiframe();P.offset(g.extend(fa,
-{using:r.using}))})};g.ui.position={fit:{left:function(r,x){var C=g(window);C=x.collisionPosition.left+x.collisionWidth-C.width()-C.scrollLeft();r.left=C>0?r.left-C:Math.max(r.left-x.collisionPosition.left,r.left)},top:function(r,x){var C=g(window);C=x.collisionPosition.top+x.collisionHeight-C.height()-C.scrollTop();r.top=C>0?r.top-C:Math.max(r.top-x.collisionPosition.top,r.top)}},flip:{left:function(r,x){if(x.at[0]!=="center"){var C=g(window);C=x.collisionPosition.left+x.collisionWidth-C.width()-
-C.scrollLeft();var G=x.my[0]==="left"?-x.elemWidth:x.my[0]==="right"?x.elemWidth:0,I=x.at[0]==="left"?x.targetWidth:-x.targetWidth,N=-2*x.offset[0];r.left+=x.collisionPosition.left<0?G+I+N:C>0?G+I+N:0}},top:function(r,x){if(x.at[1]!=="center"){var C=g(window);C=x.collisionPosition.top+x.collisionHeight-C.height()-C.scrollTop();var G=x.my[1]==="top"?-x.elemHeight:x.my[1]==="bottom"?x.elemHeight:0,I=x.at[1]==="top"?x.targetHeight:-x.targetHeight,N=-2*x.offset[1];r.top+=x.collisionPosition.top<0?G+I+
-N:C>0?G+I+N:0}}}};if(!g.offset.setOffset){g.offset.setOffset=function(r,x){if(/static/.test(g.curCSS(r,"position")))r.style.position="relative";var C=g(r),G=C.offset(),I=parseInt(g.curCSS(r,"top",true),10)||0,N=parseInt(g.curCSS(r,"left",true),10)||0;G={top:x.top-G.top+I,left:x.left-G.left+N};"using"in x?x.using.call(r,G):C.css(G)};g.fn.offset=function(r){var x=this[0];if(!x||!x.ownerDocument)return null;if(r)return this.each(function(){g.offset.setOffset(this,r)});return s.call(this)}}(function(){var r=
-document.getElementsByTagName("body")[0],x=document.createElement("div"),C,G;C=document.createElement(r?"div":"body");G={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};r&&jQuery.extend(G,{position:"absolute",left:"-1000px",top:"-1000px"});for(var I in G)C.style[I]=G[I];C.appendChild(x);G=r||document.documentElement;G.insertBefore(C,G.firstChild);x.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;";x=g(x).offset(function(N,
-O){return O}).offset();C.innerHTML="";G.removeChild(C);r=x.top+x.left+(r?2E3:0);v.fractions=r>21&&r<22})()})(jQuery);if(typeof jQuery.ui.jig==="undefined")jQuery.ui.jig={};jQuery.ui.jig._decodeJSON=function(g){try{return eval("({"+g+"})")}catch(j){jQuery.ui.jig._isConsole("error")&&console.error("Error parsing jig metatag, or jig-dataconfig. Problem with JSON string: '"+g+"'. Error: "+j.message+".")}};jQuery.ui.jig._setLocalConfig=function(g,j){if(g=g.attr("config")){g=jQuery.ui.jig._decodeJSON(g);
-jQuery.extend(j,g)}return j};jQuery.ui.jig._generateId=function(g,j){j=typeof j!=="undefined"?"-"+j:"";arguments.callee.i++;for(var q="ui-"+g+j+"-"+arguments.callee.i;document.getElementById(q);){arguments.callee.i++;q="ui-"+g+j+arguments.callee.i}return q};jQuery.ui.jig._generateId.i=0;jQuery.ui.jig._isConsole=function(g){var j=typeof window.console!=="undefined"||false;if(j)var q=typeof window.console[g]!=="undefined"||false;return j&&q?true:false};jQuery.ui.jig._getFncFromStr=function(g){var j=
-null,q=typeof g;if(q==="function")j=g;else if(q==="string"){g=g.replace(/^[^:]*:\s*/,"").replace(/\s*$/,"").split(".");if(j=window[g[0]])for(q=1;q<g.length;q++){j=j[g[q]];if(!j){j=null;break}}else j=null}return j};jQuery.ui.jig.registerPageHeightWatcher=function(){var g=jQuery(document.body);if(!g.data("hasHeightWatcher")){g.data("_lastHeight",null);g.data("hasHeightWatcher",true);g.data("heightWatcher",window.setInterval(function(){jQuery.ui.jig.watchPageHeight()},250))}};jQuery.ui.jig.watchPageHeight=
-function(){var g=jQuery(document.body),j=g.height(),q=g.data("_lastHeight");if(q!==j){q&&g.trigger("ncbijigpageheightchanged");g.data("_lastHeight",j)}};jQuery.ui.jig.requiresLoginURL="/account/signin/?inlinelogin=true";jQuery.ui.jig.requiresLoginWidth=405;jQuery.ui.jig.requiresLoginHeight=560;jQuery.ui.jig.embeddedIframe=null;jQuery.ui.jig._requiresLoginIframe=null;jQuery.ui.jig.requiresLogin=function(g){function j(){g&&g(Ka(),false)}function q(){if(!jQuery.ui.jig.embeddedIframe){var v=jQuery('<div style="display:none"><a href="#jig-ncbi_requires_login">Inline Login Component</a></div><div id="jig-ncbi_requires_login" title="My NCBI Sign In"><iframe style="width:'+
-jQuery.ui.jig.requiresLoginWidth+"px;height:"+jQuery.ui.jig.requiresLoginHeight+'px;" src="'+jQuery.ui.jig.requiresLoginURL+'"></iframe></div>').css("display","none").appendTo(document.body,true);v.find("a").attr("href","#jig-ncbi_requires_login").ncbidialog({width:"auto",height:"auto"}).ncbidialog("open");jQuery.ui.jig._requiresLoginIframe=v;jQuery.ui.jig.waitForLoginCookie(function(p){var s=p||Ka()||" ";try{jQuery("#myncbiusername").show();jQuery("#mnu").html(s);jQuery("#sign_in").hide();jQuery("#sign_out, #myncbi").show();
-v.find("a:eq(0)").ncbidialog("close");document.body.removeChild(v.get(0))}catch(r){}g&&g(p,true,window.location.href)})}}jQuery.ui.jig._requiresLoginIframe&&jQuery.ui.jig._requiresLoginIframe.hide().remove();jQuery.ui.jig.checkIfLoggedIn(j,q)};jQuery.ui.jig.getElementWidgets=function(g,j){g=jQuery(g).data();var q=[];for(var v in g)g[v]instanceof jQuery.ui[j]&&q.push(g[v]);return q};jQuery.ui.jig._isLoggedIn=null;jQuery.ui.jig.checkIfLoggedIn=function(g,j){var q=jQuery.ui.jig._isLoggedIn;Ka()===null?
-j():window.setTimeout(function(){q===null?jQuery.ajax({url:"https://"+window.location.hostname+(window.location.port?":"+window.location.port:"")+"/account/ajax/issignedin/?callback=?",dataType:"jsonp",jsonpCallback:"issignedin",cache:false,success:function(v){v=v&&v.is_signed_in;jQuery.ui.jig._isLoggedIn=v;jQuery.ui.jig._checkIfLoggedInNotify(v,g,j)},error:function(){jQuery.ui.jig._isLoggedIn=null;jQuery.ui.jig._checkIfLoggedInNotify(false,g,j)}}):jQuery.ui.jig._checkIfLoggedInNotify(q,g,j)},50)};
-jQuery.ui.jig._autoCheckState=function(){function g(){jQuery.ui.jig.checkIfLoggedIn(jQuery.ui.jig._autoCheckState,jQuery.ui.jig._autoCheckState)}jQuery.ui.jig._autoCheckStateTimer&&window.clearTimeout(jQuery.ui.jig._autoCheckStateTimer);jQuery.ui.jig._isLoggedIn=null;jQuery.ui.jig._autoCheckStateTimer=window.setTimeout(g,6E5)};jQuery.ui.jig._checkIfLoggedInNotify=function(g,j,q){if(g&&j)j();else!g&&q&&q();g||jQuery.ui.jig._removeLoggedInFlag()};jQuery.ui.jig.waitForLoginCookie_logincheck=false;jQuery.ui.jig.waitForLoginCookie=
-function(g){var j=function(){var q=jQuery.cookie("WebCubbyUser");q&&q.indexOf("logged-in=true")>-1?window.setTimeout(g,30):window.setTimeout(j,10)};if(jQuery.ui.jig.waitForLoginCookie_logincheck&&jQuery.ui.jig._isLoggedIn===null)jQuery.ui.jig._isLoggedIn_wait(j);else{jQuery.ui.jig.waitForLoginCookie_logincheck=true;window.setTimeout(function(){jQuery.ui.jig.checkIfLoggedIn(j,j)},50)}};jQuery.ui.jig._isLoggedIn_wait=function(g){jQuery.ui.jig._isLoggedIn!==null?g():window.setTimeout(function(){jQuery.ui.jig._isLoggedIn_wait(g)},
-10)};jQuery.ui.jig._removeLoggedInFlag=function(){var g=jQuery.cookie("WebCubbyUser");if(g&&g.indexOf("logged-in=true")>-1){var j=jQuery.cookie("lout");if(!(j&&new Date-parseInt(j,10)<1E4)){g=g.replace("logged-in=true","logged-in=false");jQuery.cookie("WebCubbyUser",g,{path:"/",domain:".nih.gov"});jQuery.cookie("lout",(new Date).getTime())}}};jQuery(document).on("ncbiajaxcomplete",function(g,j){(g=jQuery("html").data("ncbiajaxcompleteCalls"))||(g=[]);g.push(j.ncbiajaxname);jQuery("html").data("ncbiajaxcompleteCalls",
-g)});var Fc=jQuery.ajax;jQuery.ajax=function(){var g=arguments[1];if(g&&g.ncbiajaxname){var j=function(){jQuery(document).trigger("ncbiajaxcomplete",{ncbiajaxname:g.ncbiajaxname})};if(g.complete){var q=g.complete;g.complete=function(){var v=q.apply(this,arguments);j();return v}}else g.complete=j}return Fc.apply(this,arguments)};(function(){jQuery(window).load(function(){jQuery.ui.jig.hasOnloadFired=true});jQuery.ui.jig.hasOnloadFired=false})();var ja=Z.ui;if(typeof ja.jig==="undefined")ja.jig={};
-var Y=ja.jig;document.location.search.search(/jig_debug=true/i)!==-1&&typeof window.console==="undefined"&&Z(function(){Z("body").prepend('<div style="border: 2px solid #ccc; height: 150px; overflow:auto;"><h2 style="color:red">jig Console</h2><ul id="jig-cons"></ul></div>');console={};for(var g=["log","info","warn","group","groupEnd"],j=function(p){Z("#jig-cons").append("<li>"+p+"</li>")},q=0;q<g.length;q++){var v=g[q];if(typeof console[v]==="undefined")console[v]=j}});document.compatMode==="BackCompat"&&
-Y._isConsole("warn")&&console.warn("Document is in quirks mode. jig widgets only work properly when in standards mode. Please add or correct your DOCTYPE definition in your page.");Y.scanned=false;Y.version="1.13";Y._jsExt=null;Y._cssExt=null;Y._foundWidgets={};Y._widgDict={ncbiaccordion:new W({name:"ncbiaccordion",selector:"div.jig-ncbiaccordion, div.jig-accordion",overrideDefaults:{autoHeight:false,header:":header"}}),ncbibutton:new W({name:"ncbibutton",selector:".jig-ncbibutton, .jig-ncbibutton-gray, .jig-ncbibutton-blue, .jig-ncbibutton-copper",
-interactions:["button"]}),ncbibuttonset:new W({name:"ncbibuttonset",selector:".jig-ncbibuttonset"}),ncbibasicmenu:new W({name:"ncbibasicmenu",selector:".jig-ncbibasicmenu"}),ncbimenu:new W({name:"ncbimenu",selector:"ul.jig-ncbimenu",dependsOn:["ncbibasicmenu"]}),ncbilocalnav:new W({name:"ncbilocalnav",selector:"ul.jig-ncbilocalnav",dependsOn:["ncbimenu"]}),ncbidatepicker:new W({name:"ncbidatepicker",selector:"input.jig-ncbidatepicker"}),ncbielastictextarea:new W({name:"ncbielastictextarea",selector:"textarea.jig-ncbielastictextarea"}),
-ncbidialog:new W({name:"ncbidialog",selector:"a.jig-ncbidialog, button.jig-ncbidialog, input.jig-ncbidialog, textarea.jig-ncbidialog",interactions:["draggable","resizable"],overrideDefaults:{autoOpen:false}}),ncbiautocomplete:new W({name:"ncbiautocomplete",selector:'input[type="text"].jig-ncbiautocomplete,input[type="search"].jig-ncbiautocomplete'}),ncbigrid:new W({name:"ncbigrid",selector:"div.jig-ncbigrid table,div.jig-ncbigrid-scroll table,table.jig-ncbigrid,table.jig-ncbigrid-scroll",dependsOn:["ncbipopper"]}),
-ncbiservergrid:new W({name:"ncbiservergrid",selector:"div.jig-ncbiservergrid table,div.jig-ncbiservergrid-scroll table,table.jig-ncbiservergrid,table.jig-ncbiservergrid-scroll",dependsOn:["ncbigrid"]}),ncbilinkedselects:new W({name:"ncbilinkedselects",selector:"select.jig-ncbilinkedselects"}),ncbipopper:new W({name:"ncbipopper",selector:".jig-ncbipopper",dependsOn:["ncbibutton"]}),ncbislideshow:new W({name:"ncbislideshow",selector:"div.jig-ncbislideshow"}),ncbitoggler:new W({name:"ncbitoggler",selector:"a.jig-ncbitoggler,a.jig-ncbitoggler-open,a.ui-ncbitoggler,a.ui-ncbitoggler-open"}),
-ncbitree_base:new W({name:"ncbitree_base",selector:"ul.jig-ncbitree_base"}),ncbitree:new W({name:"ncbitree",selector:"ul.jig-ncbitree",dependsOn:["ncbitree_base"]}),ncbitabs:new W({name:"ncbitabs",selector:"div.jig-ncbitabs, div.jig-tabs, "}),ncbilinksmenu:new W({name:"ncbilinksmenu",selector:".jig-ncbilinksmenu",dependsOn:["ncbipopper"]}),ncbiclearbutton:new W({name:"ncbiclearbutton",selector:".jig-ncbiclearbutton"}),ncbiplaceholder:new W({name:"ncbiplaceholder",selector:"input[placeholder], textarea[placeholder]"}),
-ncbiexpander:new W({name:"ncbiexpander",selector:".jig-ncbiexpander"}),ncbiselect:new W({name:"ncbiselect",selector:".jig-ncbiselect"}),ncbiinpagenav:new W({name:"ncbiinpagenav",selector:".jig-ncbiinpagenav"}),ncbismoothscroll:new W({name:"ncbismoothscroll",selector:".jig-ncbismoothscroll"}),ncbispinbox:new W({name:"ncbispinbox",selector:'[type="number"]'}),ncbiformvalidator:new W({name:"ncbiformvalidator",selector:"form"}),ncbihelppopper:new W({name:"ncbihelppopper",selector:".jig-ncbihelppopper"}),
-ncbihelpwindow:new W({name:"ncbihelpwindow",selector:"a.jig-ncbihelpwindow"}),ncbiautofocus:new W({name:"ncbiautofocus",selector:".jig-ncbiautofocus"}),ncbihistogram:new W({name:"ncbihistogram",selector:".jig-ncbihistogram"}),ncbisetswitch:new W({name:"ncbisetswitch",selector:".jig-ncbisetswitch",dependsOn:["ncbilinksmenu"]}),ncbiexternallink:new W({name:"ncbiexternallink",selector:"body",dependsOn:["ncbipopper"]}),ncbiactivevalidation:new W({name:"ncbiactivevalidation",selector:".jig-ncbiactivevalidation"})};
-var qa=Y._widgDict,Ca=[];for(var ka in qa)Ca.push(ka);var Gc=["draggable","resizable","sortable"];Y.scanjig=function(g,j){var q,v;if(j){v=j.widgets||Ca;q=j.configs||{}}else{q={};v=Ca}for(var p=0;p<v.length;p++){g=g||Z(document.body);var s=v[p];if(!(Ja&&Z.inArray(s,Xa)===-1)){var r=ja[s];if(typeof r==="undefined"&&!Y.scanned)Y._isConsole("warn")&&console.warn('jig: widget "'+s+'" does not exist. Check documentation (http://iwebdev/core/jig/ for correct name');else{!Y.scanned&&typeof r._customLocalConfig===
-"undefined"&&function(I,N,O){I.prototype._create=function(){var Q;(Q=this.element.attr("config"))&&Z.ui.jig._isConsole("warn")&&console.warn('The use of the "config" attribute to set options on '+O+' is deprecated. Use "data-jigconfig" instead.');Q||(Q=this.element.data("jigconfig"));if(Q){Q=typeof Q==="string"?ja.jig._decodeJSON(Q):Q;Z.extend(this.options,Q)}if(O==="droppable"){jQuery(this.options.dragEls);var P=qa.droppable.callbacks[this.options.dropCallback];typeof P!=="undefined"&&this._setData("drop",
-function(){P()})}if((Q=qa[O].interactions||null)&&Q.length>0){Q="";if(this.options.draggable&&!ja.draggable)Q+='<script type="text/javascript" src="/core/ui/'+ja.version+'/development-bundle/ui/jquery.ui.draggable.js"><\/script>';if(this.options.resizable&&!ja.resizable)Q+='<script type="text/javascript" src="/core/ui/'+ja.version+'/development-bundle/ui/jquery.ui.resizable.js"><\/script>';Z("head").append(Q)}N.apply(this,[]);Y._foundWidgets[O]=(Y._foundWidgets[O]||0)+1}}(r,r.prototype._create,s);
-(function(I){r.getSelector=function(){return qa[I].selector}})(s);j={};for(var x in q)if(x===s)j=q[x];var C=Hc(Ic(s))||{};if(typeof C.contextNode!=="undefined")g=Z(C.contextNode);var G=jQuery.extend(C,j);j=qa[s].overrideDefaults;typeof j!=="undefined"&&Z.extend(G,j);j=ja[s].getSelector();C=Z(g);j=C.is(j)?C:C.find(j);j.length>0&&j.each(function(){var I=jQuery(this);if(!I.data("jigscanned"+s)){I.data("jigscanned"+s,true);I[s](G)}})}}}Y.scanned=true};Y.scan=Y.scanjig;var ha=["after","before","append",
-"html","prepend"];for(ka=0;ka<ha.length;ka++){var Da=ha[ka];origMethod=Z.fn[Da];(function(g,j){Z.fn[j]=function(q,v){q=g.apply(this,[q]);if(v)j!=="after"&&j!=="before"?Z.ui.jig.scan(q,v):Z.ui.jig.scan(q.parent(),v);return q}})(origMethod,Da)}var Jc=/(.*\/)?js\/jig(?:\.nojquery)?(\.min)?\.js$/;Z("script").each(function(){var g=Z(this);if(g=Z.trim(g.attr("src")))if(g=g.match(Jc)){Y._baseURL=g[1]||"";if(g[2]===".min"){Y._isMin=true;Y._jsExt=".min.js";Y._cssExt=".min.css"}else{Y._isMin=false;Y._jsExt=
-".js";Y._cssExt=".css"}return false}});var pa=Y._baseURL;pa=Y._baseURL;var Ma=Y._jsExt,La=Y._cssExt,Ic=function(g){var j=Ya.length;if(j>0)for(var q=0;q<j;q++){var v=Ya[q],p=Z.trim(v.getAttribute("name"));if(g===p)return v}},Hc=function(g){g=Z(g);var j=g.attr("content");if(j){g.attr("name");return ja.jig._decodeJSON(j)}},Kc=function(g){document.write('<link type="text/css" rel="stylesheet" href="'+pa+"css/jquery.ui."+g+La+'"/>')},Db=function(g){document.write('<script type="text/javascript" src="'+
-pa+"js/jquery.ui."+g+Ma+'"><\/script>')};ka=function(){Db("widgets");Kc("widgets");Z(document).ready(function(){Y.scan()})};document.write('<link rel="stylesheet" type="text/css" href="'+pa+"css/jig.core.theme"+La+'"/>');var Ja=null,Ya=[];Z("head").find("meta").each(function(){var g=Z.trim(Z(this).attr("name"));if(g.search(/^jig$/)!==-1)Ja=this;Z.inArray(g,Ca)!==-1&&Ya.push(this)});if(Ja){var Xa=Ja.getAttribute("content").split(/ +|, ?|;/),Eb=[];for(ka=0;ka<Xa.length;ka++){ha=Xa[ka];Da=Z.inArray(ha,
-Ca)!==-1?true:false;var Fb=Z.inArray(ha,Gc)!==-1?true:false;if(!Da&&!Fb){ha='jig error: No widget with the name "'+ha+'". Check documentation at http://iwebdev/core/jig for proper name, and set meta tag accordingly';typeof window.console!=="undefined"&&typeof console.warn!=="undefined"?console.warn(ha):alert(ha)}else{if(Da){Eb.push(ha);qa[ha].addToPage()}Fb&&Db(ha)}}Z(function(){Y.scan(null,{widgets:Eb})})}else ka();window.location.host.indexOf("http://dev")!==-1&&jQuery(window).load(function(){if(typeof ncbi!==
-"undefined"&&ncbi.sg){Y._foundWidgets.jigwidgets="dev";Y._foundWidgets.jigversion=Y.version;ncbi.sg.ping(Y._foundWidgets)}})}})();
--- a/Blast output page example_files/jquery.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-.ui-ncbibutton{margin-right:.1em;text-decoration:none!important;padding:.3em .8em;border-width:1px;border-style:solid;font-size:1em;font-family:inherit;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;display:inline-block;position:relative;text-decoration:none;cursor:pointer;text-align:center;zoom:1;overflow:visible;}.ui-ncbibutton[disabled]{text-shadow:0;cursor:default;}.ui-button-icon-only{width:2.2em;}button.ui-button-icon-only{width:2.4em;}.ui-button-icons-only{width:3.4em;}button.ui-button-icons-only{width:3.7em;}.ui-ncbibutton .ui-button-text{display:block;line-height:100%;}.ui-button-text-only .ui-button-text{padding:.4em 1em;}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px;}.ui-button-text-icon .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em;}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em;}.ui-button-text-icon-primary .ui-button-text{padding:.4em .5em .4em 2.1em;}.ui-button-text-icon-secondary .ui-button-text{padding:.4em 2.1em .4em .5em;}.ui-button-icon-only .ui-icon{margin-left:-8px;left:50%;}.ui-ncbibutton .ui-icon{display:inline-block;height:15px;width:15px;background-image:url(../img/ui-button-sprites.png);background-color:transparent;background-repeat:no-repeat;}.ui-ncbibutton .ui-icon-pause{background-position:0 0;}.ui-ncbibutton .ui-icon-cancel{background-position:-15px 0;}.ui-ncbibutton .ui-icon-tick{background-position:-30px 0;}.ui-ncbibutton .ui-icon-delete{background-position:-45px 0;}.ui-ncbibutton .ui-icon-refresh{background-position:-60px 0;}a.ui-ncbibutton{padding:0;color:#444!important;}button.ui-ncbibutton{padding:0;}input.ui-ncbibutton{padding:.4em 1em;}.ui-button-icon-only .ui-icon,.ui-button-text-icon .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon{position:absolute;top:50%;margin-top:-7px;}.ui-button-text-icon .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary,.ui-button-text-icon-primary .ui-icon{left:.5em;margin-left:0;}.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary,.ui-button-text-icon-secondary .ui-icon{right:.5em;margin-right:0;}button.ui-ncbibutton::-moz-focus-inner{border:0;padding:0;}.ui-widget-content .ui-ncbibutton-gray,.ui-widget-content .ui-ncbibutton-gray[disabled]:active,.ui-ncbibutton,.ui-ncbibutton-gray,.ui-ncbibutton-gray[disabled]:active,.ui-ncbibutton{color:#444;text-shadow:1px 1px 1px #fff;border-color:#a6a6a6;background:#ededed;background:-moz-linear-gradient(top,#ededed 0,#cdcdcd 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ededed),color-stop(100%,#cdcdcd));}.ui-widget-content .ui-ncbibutton-gray:active,.ui-widget-content .ui-ncbibutton:active,.ui-ncbibutton-gray:active,.ui-ncbibutton:active{background:#e5e5e5;background:-moz-linear-gradient(top,#ccc 0,#eee 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ccc),color-stop(100%,#eee));}.ui-widget-content .ui-ncbibutton-gray[disabled],.ui-widget-content .ui-ncbibutton-gray[disabled]:active,.ui-ncbibutton-gray[disabled],.ui-ncbibutton-gray[disabled]:active{color:#a6a6a6!important;border-color:#d3d3d3;background:#f5f5f5;background:-moz-linear-gradient(top,#f5f5f5 0,#e7e7e7 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f5f5f5),color-stop(100%,#e7e7e7));}.ui-widget-content .ui-ncbibutton-copper,.ui-widget-content .ui-ncbibutton-copper[disabled]:active,.ui-ncbibutton-copper,.ui-ncbibutton-copper[disabled]:active{color:#fff!important;text-shadow:1px 1px 1px #301b04;border-color:#642f15;background:#985735;background:-moz-linear-gradient(top,#985735 0,#783b1d 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#985735),color-stop(100%,#783b1d));}.ui-widget-content .ui-ncbibutton-copper:active,.ui-ncbibutton-copper:active{color:#fff!important;background:#783b1d;background:-moz-linear-gradient(top,#783b1d 0,#985735 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#783b1d),color-stop(100%,#985735));}.ui-widget-content .ui-ncbibutton-copper[disabled],.ui-widget-content .ui-ncbibutton-copper[disabled]:active,.ui-ncbibutton-copper[disabled],.ui-ncbibutton-copper[disabled]:active{color:#eee3de!important;border-color:#aa9c94;background:#c1b0a6;background:-moz-linear-gradient(top,#c1b0a6 0,#b3a39a 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#c1b0a6),color-stop(100%,#b3a39a));}.ui-widget-content .ui-ncbibutton-blue,.ui-widget-content .ui-ncbibutton-blue[disabled]:active,.ui-ncbibutton-blue,.ui-ncbibutton-blue[disabled]:active{color:#fff!important;text-shadow:1px 1px 1px #092e59;border-color:#1e3a57;background:#3c72ab;background:-moz-linear-gradient(top,#3c72ab 0,#23548c 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#3c72ab),color-stop(100%,#23548c));}.ui-widget-content .ui-ncbibutton-blue:active,.ui-ncbibutton-blue:active{color:#fff!important;background:#23548c;background:-moz-linear-gradient(top,#23548c 0,#3c72ab 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#23548c),color-stop(100%,#3c72ab));}.ui-widget-content .ui-ncbibutton-blue[disabled],.ui-widget-content .ui-ncbibutton-blue[disabled]:active,.ui-ncbibutton-blue[disabled],.ui-ncbibutton-blue[disabled]:active{color:#dee7ee!important;border-color:#959ea5;background:#a6b8c6;background:-moz-linear-gradient(top,#a6b8c6 0,#99abb9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#a6b8c6),color-stop(100%,#99abb9));}.ui-ncbibutton-gray.ui-state-hover,.ui-ncbibutton-gray:hover{color:#222;background:#b3b4b4;background:-moz-linear-gradient(top,#bcbcbc 0,#b3b4b4 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#bcbcbc),color-stop(100%,#b3b4b4));}.ui-ncbibutton-blue.ui-state-hover,.ui-ncbibutton-blue:hover{background:#11417b;background:-moz-linear-gradient(top,#255a94 0,#11417b 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#255a94),color-stop(100%,#11417b));}.ui-ncbibutton-copper.ui-state-hover,.ui-ncbibutton-copper:hover{background:#6b2f10;background:-moz-linear-gradient(top,#834220 0,#6b2f10 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#834220),color-stop(100%,#6b2f10));}
\ No newline at end of file
--- a/Blast output page example_files/jquery.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-jQuery.widget("ui.ncbimenu",{options:{isSubMenuLimited:false,delayTimeout:500,useHoverEvents:true},_create:function(){this._addClasses();this._addAria();this._createMenus();this._addListeners();this._addEvents();this._addAjaxEvents()},rescan:function(){this._destroyListeners();this._destroyEvents();this._addAria();this._createMenus();this._addListeners();this._addEvents()},destroy:function(){this._destroyEvents();this._destroyClasses();this._destroyAria();this._destroyListeners();this._destroyMenus()},
-_addClasses:function(){this.element.addClass("ui-ncbimenu")},_destroyClasses:function(){this.element.removeClass("ui-ncbimenu")},_addAria:function(){this.element.attr("role","menubar").find("li").filter(":has(ul)").find("a").attr("aria-haspopup","true").end().find("ul").attr("aria-hidden","true")},_destroyAria:function(){this.element.removeAttr("role").find("li").removeAttr("role").filter(":has(ul)").find("a").removeAttr("aria-haspopup").removeAttr("role").end().find("ul").removeAttr("aria-hidden").removeAttr("role")},
-_createMenus:function(){this.element.ncbibasicmenu({orientation:"horizontal"});var a=this.element.find(">li:has(>ul)");a.find(">a").addClass("expandDown");a.find(">ul").ncbibasicmenu({nested:true});if(!this.options.isSubMenuLimited){a.find(">ul ul").ncbibasicmenu({nested:true});a.find(">ul ul").parent().find(">a").addClass("expandRight")}},_destroyMenus:function(){this.element.removeClass("jig-ncbimenu cf ui-ncbibasicmenu orientation_hort").find("ul").andSelf().show().ncbibasicmenu("destroy")},_addEvents:function(){var a=
-this;this._windowClickFnc=function(b){b=b.target||b.srcElement;a.element[0]===b||a.element.find(b).length===1||a.closeSub(a.element.find("ul"))};jQuery(window).on("click",this._windowClickFnc);this._unselectEverythingFnc=function(){a._unselectEverything()};this.element.find("li").not(":has(ul)").find("a").on("click",this._unselectEverythingFnc);this._blurFnc=function(){a._checkFocus()};this.element.on("blur","a",this._blurFnc);if(this.options.useHoverEvents){var d={timeout:this.options.delayTimeout,
-over:function(){if(a._isActive){var b=jQuery(this),c=b.parent();if(c.has("ul").length===0){c=c.siblings("li.selected").removeClass("selected");a.closeSub(c);b.focus()}else c.hasClass("selected")||b.focus().click()}},out:function(){}};this.element.find(">li:not(:has(ul))>a,li:has(ul)>a").hoverIntent(d)}},_destroyEvents:function(){jQuery(window).off("click",this._windowClickFnc);this._windowClickFnc=null;this.element.off("blur","a",this._blurFnc);this._blurFnc=null;this.element.find(">li:not(:has(ul))>a,li:has(ul)>a").unbind("mouseover mouseoff");
-this.element.find("li").not(":has(ul)").find("a").off("click",this._unselectEverythingFnc)},_addAjaxEvents:function(){if(this.element.find(">li:has(a.expandDown)").not(":has(ul)").length>0){var a=this;this._ajaxEnterFnc=function(){a._loadAjaxContent()};this.element.on("mouseenter",this._ajaxEnterFnc)}},_loadAjaxContent:function(){var a=this;this.element.off("mouseenter",this._ajaxEnterFnc);this._ajaxEnterFnc=null;var d=this.element.find("a.expandDown"),b=d.eq(0).prop("href").split("#");jQuery("<div/>").load(b[0],
-function(){a._handleAjaxLoadCallback(this,d)})},_handleAjaxLoadCallback:function(a,d){var b=jQuery(a);d.each(function(){var c=jQuery(this),e=c.prop("href").split("#")[1];e=b.find("#"+e);if(e[0].tagName.toLowerCase()==="li")e=e.find(">ul");c.parent().append(e)});this._createMenus();this._addEvents()},_checkFocus:function(){function a(){d.element.find("a:focus").length===0&&d._unselectEverything()}var d=this;window.setTimeout(a,10)},_addListeners:function(){var a=this;this.element.find(">ul").andSelf().on("ncbibasicmenuunselected",
-function(d,b,c,e){e==="click"&&a.closeSub(c)}).on("ncbibasicmenuselected",function(d,b,c,e){if(e==="click")a.openSub(c);else{d=c.siblings().find("ul:visible");if(d.length>0){d.each(function(){a.closeSub(jQuery(this))});c.parent("ul").hasClass("ui-ncbimenu")&&a.openSub(c)}}}).on("ncbibasicmenuactiondown ncbibasicmenuactionright",function(d,b){b=jQuery(b);var c=b.find(">ul");if(b.hasClass("selected"))c.length===1&&c.not(":visible")&&a.openSub(b);else b.find(">a").click();c.length===1&&window.setTimeout(function(){c.ncbibasicmenu("selectFirstItem")},
-10)}).on("ncbibasicmenuactionup ncbibasicmenuactionleft ncbibasicmenuescape",function(d,b){b=jQuery(b);d=b.find(">ul");if(d.length>0&&d.is(":visible"))a.closeSub(jQuery(b));else{b=b.parent("ul").parent("li");b.find(">a").focus();a.closeSub(b)}})},_destroyListeners:function(){this.element.find("ul").andSelf().off("ncbibasicmenuunselected").off("ncbibasicmenuselected")},openSub:function(a){var d=a.find(">ul");if(d.length===1){this._isActive=true;var b=a.parent().find("li:has(ul:visible)");b.length>
-0&&this.closeSub(b);if(a.parent().hasClass("orientation_hort")){b="left bottom";var c="fit flip"}else{b="right center";c="flip fit"}d.show().position({of:a,my:"left top",at:b,collision:c}).attr("aria-hidden","false")}},closeSub:function(a){(a.is("li")?a.find("ul"):a).find("ul").andSelf().not(".ui-ncbimenu").hide().attr("aria-hidden","true").end().ncbibasicmenu("removeAllSelections").find("li.selected").removeClass("selected")},_unselectEverything:function(){this.closeSub(this.element.find("ul:visible").andSelf());
-this._isActive=false}});
--- a/Blast output page example_files/jquery_002.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-.ui-ncbigrid-outer-div{min-width:300px;}table.ui-ncbigrid td{padding:.363em .637em;}table.ui-ncbigrid th{padding:.308em .539em;text-align:left;border-left:0;border-top:0;font-weight:normal;}table.ui-ncbigrid thead th{border-bottom:1px solid #d4dfe9;border-right:1px solid #cfcfcf;background:#F0F0F0;background:-moz-linear-gradient(top,#FFF 0,#F0F0F0 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#FFF),color-stop(100%,#F0F0F0));}table.ui-ncbigrid tbody th{line-height:1.333em;color:#333;font-size:.923em;border-bottom:1px solid #d4dfe9;border-right:1px solid #cfcfcf;background:#FAFAFA;background:-moz-linear-gradient(top,#FFF 0,#FAFAFA 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#FFF),color-stop(100%,#FAFAFA));}table.ui-ncbigrid th:last-child{border-right:0;*margin-right:-1px;}table.ui-ncbigrid td{border:0;}table.ui-ncbigrid td input[type="checkbox"]{margin:0;}table.ui-ncbigrid thead,table.ui-ncbigrid tbody,table.ui-ncbigrid colgroup,table.ui-ncbigrid col,table.ui-ncbigrid tr{border:0!important;}table.ui-ncbigrid,table.ui-ncbigrid thead,table.ui-ncbigrid caption{margin:0;}.ui-ncbigrid-outer-div{position:relative;zoom:1;margin:1em 0 2.8em 0;}div.caption-exists,div.filterToolbar-exists{margin:3em 0;}table.ui-ncbigrid{border-width:0;}.ui-ncbigrid-inner-div{border-color:#97b0c8;border-style:solid;}.ui-ncbigrid-inner-div{border-width:0 0 1px 0;clear:both;}.ui-ncbigrid-outer-div{border:1px solid #97b0c8;}.ui-ncbigrid-outer-div:after{clear:both;content:'.';display:block;height:0;visibility:hidden;font-size:0;}.ui-ncbigrid-header-wrapper{height:auto;max-width:100%;}.ui-ncbigrid-header-wrapper table.ui-ncbigrid{border:0;height:auto;}.ui-ncbigrid-header-wrapper thead{border-width:1px 0 0 0;}table.ui-ncbigrid caption{color:#4D4D4D;font-size:.923em;font-weight:bold;padding:0;position:absolute;text-align:left;top:-2.077em;zoom:1;}.ui-ncbigrid-filter-toolbar{clear:both;display:block;font-size:.923em;line-height:27px;position:absolute;right:0;text-align:right;top:-2.417em;width:auto;}.ui-ncbigrid-filter-toolbar input[type="text"]{font-size:inherit!important;height:1.091em;padding:0;margin-right:-1px;}.ui-ncbigrid-paged-toolbar{display:block;clear:both;width:100%;}.ui-ncbigrid-paged-countItems,.ui-ncbigrid-checkbox-toolbar{font-size:.923em;}.ui-ncbigrid-paged-toolbar div{float:left;display:inline-block;width:auto;margin-right:1em;}.ui-ncbigrid-paged-toolbar .ui-ncbigrid-paged-pageControl{margin-right:0;}.ui-ncbigrid-paged-countItems{text-align:center;}.ui-ncbigrid-paged-pageControl{text-align:right;font-size:.923em;}.ui-ncbigrid-paged-pageControl .prev{margin-left:.2em;margin-right:.6em;}.ui-ncbigrid-paged-pageControl .next{margin-left:.6em;margin-right:.2em;}.ui-ncbigrid-paged-toolbar-bottom{border-top:0;}.ui-ncbigrid-select-question{clear:both;text-align:center;display:none;padding:.385em 0 .308em;border-style:solid;border-color:#d4dfe9;border-width:1px 0;background:-moz-linear-gradient(top,#FFF 0,#F5F5F5 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#FFF),color-stop(100%,#F5F5F5));font-size:.923em;}.ui-ncbigrid-select-question-footer{background:#fff;border-bottom:0;}.ui-ncbigrid-select-question .ui-ncbigrid-select-row-count{font-weight:bold;}.ui-ncbigrid-select-question a{margin-left:.583em;}.ui-ncbigrid-checkbox-toolbar label{margin-left:1em;}.ui-ncbigrid-checkbox-toolbar label:first-child{margin-left:0;}.ui-ncbigrid-checkbox-toolbar a,.ui-ncbigrid-checkbox-toolbar a:visited{color:#369;}.ui-ncbigrid-checkbox-toolbar,.ui-ncbigrid-paged-toolbar{width:auto;}.ui-ncbigrid-checkbox-toolbar{float:left;clear:left;padding:.416em .416em .416em .583em;line-height:1.75em;}.ui-ncbigrid-paged-toolbar{float:right;clear:right;padding:.385em .385em .385em .539em;line-height:1.615em;}table.ui-ncbigrid{border-collapse:separate;width:100%;}div.ui-ncbigrid-scroll{height:20em;overflow-y:auto;overflow-x:hidden;}div.ui-ncbigrid-scroll table.ui-ncbigrid{border-top:0;border-bottom:0;width:100%;}div.ui-ncbigrid-scroll table.ui-ncbigrid caption,div.ui-ncbigrid-scroll>table.ui-ncbigrid>thead>tr>th{visibility:hidden;line-height:0;border-bottom:0;border-top:0;padding-top:0;padding-bottom:0;}div.ui-ncbigrid-scroll table.ui-ncbigrid tbody tr:first-child td{border-top:0;}div.ui-ncbigrid-header-wrapper{width:100%;overflow:hidden;}div.ui-ncbigrid-hort-scroll{overflow-x:auto;}tr.ui-ncbigrid-rowHidden{display:none;}table.ui-ncbigrid th.sortAsc a,table.ui-ncbigrid th.sortDsc a,table.ui-ncbigrid th.sortNone a{padding-right:21px;background-repeat:no-repeat;background-position:right center;color:#333;}table.ui-ncbigrid th.sortAsc,table.ui-ncbigrid th.sortDsc{background:#fff;}table.ui-ncbigrid th.sortAsc a{background-image:url('../img/sorted_asc.gif');}table.ui-ncbigrid th.sortDsc a{background-image:url('../img/sorted_dsc.gif');}table.ui-ncbigrid th.sortNone a{background-image:none;color:#14376c;}table.ui-ncbigrid th.sortNone a:hover{background-image:url('../img/sorted_non.gif');color:#985735;}table.ui-ncbigrid th a{display:block;text-decoration:none;_width:100%;padding-right:21px;border:0;}table.ui-ncbigrid th a:hover,table.ui-ncbigrid th a,table.ui-ncbigrid th a:active{border:0!important;}table.ui-ncbigrid th,table.ui-ncbigrid th a{color:#14376c;}table.ui-ncbigrid tbody tr.ui-ncbigrid-checkbox-selected td,table.ui-ncbigrid tr.ui-ncbigrid-row-selected td{background-color:#eaf0f4;}table.ui-ncbigrid tbody tr.ui-ncbigrid-checkbox-hover td,table.ui-ncbigrid tr.ui-ncbigrid-row-hover>td{background-color:#D5DEE3;}table.ui-ncbigrid tr.ncbigrid-row-filtered{display:none;}td.ui-ncbigrid-column-hidden,th.ui-ncbigrid-column-hidden{display:none;}table.ui-ncbigrid tbody tr.ui-ncbigrid-high>td{background-color:#eaf0f4;}.ui-ncbigrid-paged-pageControl{margin-top:0;}.ui-ncbigrid-paged-pageControl input[type="text"]{height:1.091em;font-size:inherit!important;padding:0;}.ui-ncbigrid-paged-pageControl span.page_link{color:#ccc;padding:1px 7px;}.ui-ncbigrid-paged-pageControl a.page_link{border:1px solid #ddd;padding:2px 6px;*padding:0 4px;white-space:nowrap;text-decoration:none;}.ui-ncbigrid-paged-pageControl a.page_link:hover{color:#985735;}.ui-ncbigrid tbody tr.collapsed{display:none;}.ui-ncbigrid tbody tr th span.collapsableTbodyIcon{float:left;margin-right:.833em;}.ui-ncbigrid tbody tr th span.ui-icon-plus-minus-big{background-position:left -30px;}.ui-ncbigrid tbody tr th span.ui-icon-plus-minus-big-open{background-position:left 0;}.ui-ncbigrid tbody tr th span.ui-icon-plus-minus-big,.ui-ncbigrid tbody tr th span.ui-icon-plus-minus-big-open{background-color:transparent;background-image:url("../img/ncbitoggler-plus-minus-big.gif");background-repeat:no-repeat;margin-left:-0.1em;top:.2em;}.ui-ncbigrid-collapsable,.ui-ncbigrid-collapsable span{cursor:pointer;}table.ui-ncbigrid .ignoreCollapse{cursor:default;}.ui-ncbigrid-outer-div .ui-ncbigrid-outer-div{margin:0;*position:static;}
\ No newline at end of file
--- a/Blast output page example_files/jquery_002.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-(function(e){e.widget("ui.ncbitoggler",{styles:{ariaWrapper:"ui-ncbitoggler-live",groupMasterReplaceNode:"span.ui-ncbitoggler-group-replace-txt",groupMasterStateClose:"ui-ncbitoggler-group-master-to-close",groupMasterStateOpen:"ui-ncbitoggler-group-master-to-open",master:"ui-ncbitoggler",masterOpen:"ui-ncbitoggler-open",target:"ui-ncbitoggler-slave",targetOpen:"ui-ncbitoggler-slave-open",icon:"ui-icon-triangle-1-e",iconOpen:"ui-icon-triangle-1-s",iconPlusMinusBig:"ui-icon-plus-minus-big",iconPlusMinusBigOpen:"ui-icon-plus-minus-big-open",
-iconArrowStop:"ui-icon-arrowthickstop-1-s",iconArrowStopOpen:"ui-icon-arrowthickstop-1-n"},options:{animation:"slide",closedAppendText:"",cookieNamePrefix:"jig-tog-rem-",indicator:"small-arrow",initOpen:false,isIcon:true,liveRegions:true,openedAppendText:"",remember:false,speed:50,targets:""},_cachedTargetData:{},_create:function(){this._setOption("disabled",false);this.appendTextNode=this.initTargetsClass=this.iconSpan=this.startOpen=this.rememberCookie=this.remember=this.cookieName=this.addedHref=
-null;var a=this.element,b=a[0],c=this.styles,d=this,f=this.options.isIcon;a.data("isOpen",false);a.addClass("ui-widget ui-ncbitoggler");f||a.addClass("ui-ncbitoggler-no-icon");var g=a.attr("href");!g?(this.addedHref=true):(this.addedHref=false);this._validate(g);a.children("span.ui-ncbitoggler-master-text").length===0&&a.contents().filter(function(){return this.nodeType===3}).each(function(){var h=e(this);jQuery.trim(this.nodeValue).length>0&&h.wrap('<span class="ui-ncbitoggler-master-text"></span>')});
-if(this.options.openedAppendText!==""||this.options.closedAppendText!==""){this.appendTextNode=a.children("span.ui-ncbitoggler-appended-text");if(this.appendTextNode.length===0)if(!this.initOpen){this.appendTextNode=e('<span class="ui-ncbitoggler-appended-text">'+this.options.closedAppendText+"</span>");a.find(".ui-ncbitoggler-master-text").after(this.appendTextNode)}}if(this.remember=this.options.remember||false){g=this.element.attr("id");if(!g){window.console&&console.error&&console.error("ncbitoggler: master node "+
-b+" must have a unique id attribute when remembering state");return}this.cookieName=this.options.cookieNamePrefix+g;this.rememberCookie=e.cookie(this.cookieName)}if(this.startOpen=this.rememberCookie?this.rememberCookie==="open"?true:false:a.hasClass("jig-ncbitoggler-open")||a.hasClass(c.masterOpen)||this.options.initOpen?true:false){this.element.data("isOpen",true);a.removeClass(this.styles.master);a.addClass(c.masterOpen);this._targetsOpen=true}else{this.element.data("isOpen",false);a.removeClass(this.styles.masterOpen);
-a.addClass(c.master)}f&&this._initMasterIcon();this.targets=this._getTargets();this.targets.addClass("ui-ncbitoggler").removeClass("ui-ncbitoggler-disabled ui-state-disabled");if(this.startOpen){this.targets.removeClass(c.target);this.targets.addClass(c.targetOpen);this.initTargetsClass=c.targetOpen}else{this.targets.removeClass(c.targetOpen);this.targets.addClass(c.target);this.initTargetsClass=c.target}this._initAria();this._doGrouping();a.click(function(h){d.toggle(h,d)});this._saveReferences()},
-_getGroupMaster:function(){for(var a=this.styles,b=this.element[0].className.split(/\s+/),c=0;c<b.length;c++){var d=b[c].match(/ui-ncbitoggler-group-(.+)$/);if(d){d=d[1];var f=e("a.ui-ncbitoggler-group-open-"+d+", a.ui-ncbitoggler-group-close-"+d,this.options.contextNode);if(f.length===1){f.hasClass("ui-ncbitoggler-group-open-"+d)&&f.addClass(a.groupMasterStateOpen);f.hasClass("ui-ncbitoggler-group-close-"+d)&&f.addClass(a.groupMasterStateClose);return f}}}},_doGrouping:function(){var a=this._getGroupMaster();
-if(a){var b=this,c=this.styles,d=a.data("togglers");this.element.id||e.ui.jig._generateId(this.widgetName);if(!this.element[0].id)this.element[0].id=e.ui.jig._generateId(this.widgetName);if(typeof d==="undefined"){a.data("togglers",[]);a.data("togglers").push(this.element)}else d.push(this.element);var f=a.find(c.groupMasterReplaceNode);a.click(function(g){g.preventDefault();g=a.data("togglers");g=g[g.length-1][0];if(a.hasClass(c.groupMasterStateOpen)){b.open();f.length>0&&f.text(b.options.groupMasterCloseReplaceText);
-b.element[0]===g&&a.removeClass(c.groupMasterStateOpen).addClass(c.groupMasterStateClose)}else{b.close();f.length>0&&f.text(b.options.groupMasterOpenReplaceText);b.element[0]===g&&a.removeClass(c.groupMasterStateClose).addClass(c.groupMasterStateOpen)}})}},_initAria:function(){var a=this.startOpen;this.element.attr({role:"button","aria-expanded":a});this.options.liveRegions&&this.targets.each(function(){var b=e(this);b.find("table").length===0&&!b.parent("div").hasClass("ui-helper-reset")&&b.wrap('<div class="ui-helper-reset" aria-live="assertive">');
-b.attr("aria-hidden",a?"false":"true")})},_validate:function(a){var b=this.element,c=["a"],d=b[0].tagName.toLowerCase();if(e.inArray(d,c)===-1)throw new Error("ncbitoggler: master node must be one of the following elements: "+c.toString());a||b.attr("href","#")},_initMasterIcon:function(){var a=this.element,b=this.styles;if(this.options.indicator=="plus-minus-big"){this.iconOpenClass=b.iconPlusMinusBigOpen;this.iconCloseClass=b.iconPlusMinusBig}else if(this.options.indicator=="arrow-stop"){this.iconOpenClass=
-b.iconArrowStopOpen;this.iconCloseClass=b.iconArrowStop}else{this.iconOpenClass=b.iconOpen;this.iconCloseClass=b.icon}this.iconSpan=a.find("span.ui-icon");if(this.iconSpan.length===0){this.iconSpan=e('<span class="ui-icon"></span>');this.startOpen?this.iconSpan.addClass(this.iconOpenClass):this.iconSpan.addClass(this.iconCloseClass);a.append(this.iconSpan)}else if(this.startOpen){this.iconSpan.removeClass(this.iconCloseClass);this.iconSpan.addClass(this.iconOpenClass)}},getSlaves:function(){return this._targets},
-getTargets:function(){return this.getSlaves()},_getTargets:function(){var a=this.element,b=a.attr("toggles")||a.attr("data-ncbitoggler-toggles");if(b)jQuery.ui.jig._isConsole("warn")&&console.warn('The attributes "toggles" and "data-ncbitoggler-toggles" are deprecated. Please use the "targets" attribute instead (see documentation).');else b=this.options.targets;if(b&&typeof b=="object"){b=b;a="";for(var c in b)a+=c+", ";a=a.replace(/,\s$/,"");c=e(a)}else if(b){c=e(b);if(c.length===0){this.isSibling=
-false;c=b.split(/ +/);b="";for(a=0;a<c.length;a++)b+=a!==c.length-1?"#"+c[a]+",":"#"+c[a];c=e(b)}}else if(a.parent(":header").length>0){a.parent(":header").parent().css("zoom","1");this.isSibling=true;c=a.parent(":header").css("zoom","1").next()}else{this.isSibling=true;c=a.next()}return this._targets=this._normalizeTargets(c)},_normalizeTargets:function(a){var b=[];a.each(function(){var c=this,d=e(this);if(d.hasClass("ui-helper-reset"))c=d.children().get(0);b.push(c)});return ret=e(b)},_getCachedTargetData:function(a){return this._cachedTargetData[a]},
-_cacheTargetData:function(a,b){this._cachedTargetData[a]=b},_openAjaxTarget:function(a,b){var c=this,d=this._getCachedTargetData(a);d?e(a).html(d):e.get(b,function(f){c._cacheTargetData(a,f);e(a).html(f)})},_openTargets:function(){if(!(this._targetsOpening||this._targetsClosing||this._targetOpen)){this._targetsOpening=true;var a=this.targets,b=this.styles;a.removeClass(b.target).addClass(b.targetOpen).attr("aria-hidden","false");var c=this.options.targets;if(typeof c=="object"){var d=this;for(targetSel in c)(function(f){d._openAjaxTarget(f,
-c[f])})(targetSel)}b=this.options.openedAppendText;b!==""&&this.appendTextNode.html(b);a.css("display","");this._targetsOpening=false;this._targetsOpen=true}},_closeTargets:function(){if(!(this._targetsOpening||this._targetsClosing||!this._targetsOpen)){this._targetsClosing=true;var a=this.targets,b=this.styles;a.removeClass(b.targetOpen).addClass(b.target).attr("aria-hidden","true");b=this.options.closedAppendText;b!==""&&this.appendTextNode.html(b);a.css("display","");this._targetsOpen=this._targetsClosing=
-false}},_fixHasLayout:function(a){window.setTimeout(function(){a.targets.addClass("foo").removeClass("foo")},1)},open:function(a){var b=this.element,c=this;if(!b.hasClass(this.styles.master))return b;this.updateState("open");if(this.options.animation==="slide")this.targets.slideToggle(this.options.speed,function(){c._openTargets();e.browser.msie&&c._fixHasLayout(c);b.data("isOpen",true);b.trigger("ncbitoggleropen");a&&a()});else{this._openTargets();e.browser.msie&&c._fixHasLayout(c);b.data("isOpen",
-true);b.trigger("ncbitoggleropen");a&&a()}this._updateReferences("open");return b},close:function(a){var b=this.element,c=this;if(!b.hasClass(this.styles.masterOpen))return b;this.updateState("closed");if(this.options.animation==="slide")this.targets.slideToggle(this.options.speed,function(){c._closeTargets();b.trigger("ncbitogglerclosed").trigger("ncbitogglerclose");b.data("isOpen",false);a&&a()});else{this._closeTargets();b.data("isOpen",false);b.trigger("ncbitogglerclosed");a&&a()}this._updateReferences("closed");
-return b},toggle:function(a,b,c){var d=arguments.length;if(d===0||d===1){b=this;if(d===1)c=arguments[0]}else a.preventDefault();this.element.hasClass(this.styles.master)?b.open(c):b.close(c)},updateState:function(a){var b=this.element;a||(a=b.hasClass(styles.master)?"open":"closed");var c=this.styles.master,d=this.styles.masterOpen,f=this.iconCloseClass,g=this.iconOpenClass;if(a=="closed"){c=this.styles.masterOpen;d=this.styles.master;f=this.iconOpenClass;g=this.iconCloseClass}b.removeClass(c).addClass(d).attr("aria-expanded",
-a=="closed"?"false":"true");this.options.isIcon&&this.iconSpan.removeClass(f).addClass(g);this.remember&&e.cookie(this.cookieName,a)},_removeHandlers:function(){this.element.unbind("click")},destroy:function(){e.Widget.prototype.destroy.apply(this,arguments);var a=this.element,b=this.styles;a.removeClass(b.master+" "+b.masterOpen+" ui-state-disabled ui-widget ui-ncbitoggler-disabled").removeAttr("role").removeAttr("aria-expanded");this.targets.removeClass("ui-ncbitoggler ui-ncbitoggler-slave ui-ncbitoggler-slave-open ui-state-disabled ui-ncbitoggler-disabled");
-this.targets.removeAttr("aria-hidden");if(this.options.isIcon){b=a.find("span.ui-icon")[0];a[0].removeChild(b)}this.targets.each(function(){var d=jQuery(this),f=d.parent("div.ui-helper-reset");if(f.length>0){d.insertBefore(f);f.remove()}});b=a.find("span.ui-ncbitoggler-master-text");var c=b.html();b.remove();a.html(c);this._removeHandlers();return this},disable:function(){e.Widget.prototype.disable.apply(this,arguments);this._removeHandlers();this.targets.addClass("ui-ncbitoggler-disabled ui-state-disabled");
-return this},enable:function(){e.Widget.prototype.enable.apply(this,arguments);this.targets.removeClass("ui-ncbitoggler-disabled ui-state-disabled");var a=this;this.element.click(function(b){a.toggle(b,a)});return this},_saveReferences:function(){var a=this;this._targets.each(function(){typeof e(this).data("ncbitoggler-masters")==="undefined"&&e(this).data("ncbitoggler-masters",[]);e(this).data("ncbitoggler-masters").push(a.element)})},_updateReferences:function(a){var b=this;e.each(this._targets.data("ncbitoggler-masters"),
-function(){b.element!=this&&e(this).ncbitoggler("updateState",a)})}})})(jQuery);
--- a/Blast output page example_files/jquery_003.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-.ui-ncbibasicmenu{list-style-type:none;min-width:200px;}.ui-ncbibasicmenu,.ui-ncbibasicmenu>li{padding:0;margin:0;}.ui-ncbibasicmenu li ul li{background-color:#FFF;}.ui-ncbibasicmenu li ul li a:hover,.ui-ncbibasicmenu li ul li.selected a:hover{background-color:#4C96DF;color:#FFF;}.oneLevel li a,.ui-ncbibasicmenu li a{display:block;text-decoration:none;background-color:#FCFCFC;border:1px solid #FCFCFC;border-width:1px 0;color:#14376C;font-size:13px;font-weight:normal;margin:0;padding:.2em .9em;text-decoration:none;}.oneLevel li a:hover,.ui-ncbibasicmenu>li>a:hover{background-color:#E3F8FF;}.oneLevel li.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbibasicmenu>li.ui-ncbimenu-item-no-hlt>a:hover,.oneLevel li.ui-ncbimenu-item-skip a:hover,.ui-ncbibasicmenu>li.ui-ncbimenu-item-skip>a:hover{background-color:#FCFCFC;}.oneLevel li a:focus,.ui-ncbibasicmenu>li>a:focus{outline:1px dashed #000;}.oneLevel li.selected a,.ui-ncbibasicmenu>li.selected>a{color:#FFF;background-color:#4C96DF;}.oneLevel li.selected a:hover,.ui-ncbibasicmenu>li.selected>a:hover{color:#FFF;}.oneLevel li.selected.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbibasicmenu>li.selected.ui-ncbimenu-item-no-hlt>a:hover,.oneLevel li.selected.ui-ncbimenu-item-skip a:hover,.ui-ncbibasicmenu>li.selected.ui-ncbimenu-item-skip>a:hover{color:inherit;background-color:#FCFCFC;}.orientation_hort>li{display:inline;float:left;}
\ No newline at end of file
--- a/Blast output page example_files/jquery_003.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-(function(){jQuery.widget("ui.ncbilocalnav",jQuery.ui.ncbimenu,{_create:function(){this.options.isSubMenuLimited=true;jQuery.ui.ncbimenu.prototype._create.apply(this,arguments)},_addClasses:function(){this.element.addClass("ui-ncbilocalnav");jQuery.ui.ncbimenu.prototype._addClasses.apply(this,arguments)},_destroyClasses:function(){this.element.removeClass("ui-ncbilocalnav");jQuery.ui.ncbimenu.prototype._destroyClasses.apply(this,arguments)}})})();
--- a/Blast output page example_files/jquery_004.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-div.ui-ncbiautocomplete-holder{position:absolute;top:0;left:0;border:1px solid #5a5a5a;display:none;font-family:Arial,helvetica,sans-serif;font-size:inherit;border-style:solid;border-color:#777;border-width:1px;}ul.ui-ncbiautocomplete-options{height:218px;overflow:auto;overflow-x:hidden;overflow-y:auto;width:100%;margin:0;padding:0;list-style-type:none;font-weight:normal;cursor:pointer;background-color:#FFF;}ul.ui-ncbiautocomplete-options li span{font-weight:normal;}ul.ui-ncbiautocomplete-options li{padding:.2em;padding-left:.8em;padding:.231em .461em;white-space:nowrap;overflow:hidden;width:100%;color:#14376c;text-overflow:ellipsis;}ul.ui-ncbiautocomplete-options li:last-child{padding-bottom:.6em;}ul.ui-ncbiautocomplete-options li.ui-ncbiautocomplete-options-high{background-color:#DAEEF4;text-decoration:none;color:#015;}.ui-ncbiautocomplete-actions{background-color:#CECECE;line-height:inherit;padding:5px;border:1px solid #777;*zoom:1;*display:block;margin:1px -1px 0 -1px;min-height:15px;}.ui-ncbiautocomplete-actions:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.ui-ncbiautocomplete-actions{display:inline-block;}.ui-ncbiautocomplete-actions a{display:inline;float:left;color:#015;text-decoration:none;}.ui-ncbiautocomplete-actions .ui-ncbiautocomplete-link-pref-right{text-align:right;float:right;}.ui-ncbiautocomplete-link-pref{text-indent:-9999px;background:url("../img/gear.png") no-repeat;width:15px;height:16px;}a.ui-ncbiautocomplete-link-off:hover,a.ui-ncbiautocomplete-link-pref:hover{text-decoration:underline;color:#015;}li.ui-ncbiautocomplete-show-more{width:100%!important;background:#C3D2DB!important;border-top:1px solid #5A5A5A;}li.ui-ncbiautocomplete-show-more.ui-ncbiautocomplete-options-high{text-decoration:underline!important;}iframe.ui-ncbiautocomplete-iframe{position:absolute;top:0;left:0;height:200px;z-index:1000;display:none;filter:alpha(opacity=1);}.shadow{-webkit-box-shadow:.4em .4em .5em rgba(153,153,153,.9);-moz-box-shadow:.4em .4em .5em rgba(153,153,153,.9);box-shadow:.4em .4em .5em rgba(153,153,153,.9);}
\ No newline at end of file
--- a/Blast output page example_files/jquery_004.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-jQuery.widget("ui.ncbiautocomplete",{options:{webserviceUrl:"/portal/utils/autocomp.fcgi",isUrlRelative:false,dictionary:"",responseFormat:"old",disableUrl:null,prefUrl:null,zIndex:1001,isEnabled:true,hasRelatedMatches:false,minLength:2,expandPauseTime:400,maxListLimit:null,isCrossDomain:false,disableCache:false,requireValidation:false,queryParameter:"q"},_create:function(){if(this.options.localData&&!this.options.dictionary)this.options.dictionary="local";this._storeTitleAttribute();this._createOptionsBox();
-this._addAttributes();this._setHandlers();this._setWebServicePath();this._lastEnteredTerm="";this._setSGData()},_storeTitleAttribute:function(){this.element.data("ncbiautocompleteOriginalTitle",this.element.attr("title"))},destroy:function(){jQuery.Widget.prototype.destroy.apply(this,arguments);this.element.removeAttr("title");this._destroyAria();this._destroyHandlers();var a=this.element.data("ncbiautocompleteOriginalTitle");a&&this.element.attr("title",a)},_destroyOptionsBox:function(){jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox!=
-null&&jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox.remove()},_destroyHandlers:function(){this.element.off("keypress keydown keyup cut paste")},_destroyAria:function(){this.element.removeAttr("aria-haspopup").removeAttr("aria-autocomplete").removeAttr("role").removeAttr("autocomplete")},_activeRequest:null,_keys:{up:38,down:40,enter:13,escape:27,tab:9,shift:16},_setSGData:function(){this.sgData={jsevent:"autocomplete",userTyped:"",hasScrolled:false,usedArrows:false,selectionAction:"",optionSelected:"",
-optionIndex:-1,optionsCount:-1}},_addAttributes:function(){this.element.attr({title:"Use up and down arrows to choose an item from the autocomplete.","aria-haspopup":true,"aria-autocomplete":"list",role:"textbox"})},_setHandlers:function(){var a=this;jQuery(this.element).focus(function(){a._focused()}).keypress(function(c){a._keyPress(c,"press")}).keydown(function(c){a._keyPress(c,"down")}).keyup(function(c){a._keyUp(c)}).bind("cut paste",function(){a._changeFired()}).attr("AUTOCOMPLETE","OFF");var b=
-jQuery(this.element)[0];b.autocomplete="off";b.AUTOCOMPLETE="OFF";jQuery(window).resize(function(){a._isActive&&a._positionOptionsBox()});jQuery(document).click(function(c){a._checkClickEvent(c)});jQuery(this._gol.optionsBox).hover(function(){if(a._isActive)a._isOptionsBoxFocused=true},function(){if(a._isActive)a._isOptionsBoxFocused=false})},_isOptionsBoxFocused:false,_createOptionsBox:function(){if(jQuery.ui.ncbiautocomplete._globalOptionsList===null){jQuery.ui.ncbiautocomplete._globalOptionsList=
-{};var a=jQuery("div.grid");a=a.length===1?a:jQuery(document.body);jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox=jQuery("<div class='ui-ncbiautocomplete-holder shadow' aria-live='assertive'></div>").appendTo(a);jQuery.ui.ncbiautocomplete._globalOptionsList.optionsList=jQuery("<ul class='ui-ncbiautocomplete-options' role='listbox' aria-activedescendant=''></ul>").appendTo(jQuery(jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox));jQuery.ui.ncbiautocomplete._globalOptionsList.optionsActions=
-jQuery("<div class='ui-ncbiautocomplete-actions shadow'></div>").appendTo(jQuery(jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox));jQuery.ui.ncbiautocomplete._globalOptionsList.prefLink=jQuery("<a href='#' class='ui-ncbiautocomplete-link-pref'>Preferences</a>").appendTo(jQuery(jQuery.ui.ncbiautocomplete._globalOptionsList.optionsActions));jQuery.ui.ncbiautocomplete._globalOptionsList.turnOffLink=jQuery("<a href='#' class='ui-ncbiautocomplete-link-off'>Turn off</a>").appendTo(jQuery(jQuery.ui.ncbiautocomplete._globalOptionsList.optionsActions));
-jQuery.ui.ncbiautocomplete._globalOptionsList.isIE6=jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<7;if(jQuery.ui.ncbiautocomplete._globalOptionsList.isIE6)jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox.iframe=jQuery("<iframe src='javascript:\"\";' class='ui-ncbiautocomplete-iframe' marginwidth='0' marginheight='0' align='bottom' scrolling='no' frameborder='0'></iframe>").appendTo(document.body)}this._gol=jQuery.ui.ncbiautocomplete._globalOptionsList},_positionOptionsBox:function(){if(this._gol.activeElement){var a=
-jQuery(this.element),b=jQuery(this._gol.activeElement);a=a.attr("id")||a[0];b=b.attr("id")||b[0];a!==b&&this._hideOptions()}var c=this;if(this._gol.activeElement!==this.element){b=this.options.prefUrl!==null?"block":"none";a=this.options.disableUrl!==null?"block":"none";var e=b==="block"||a==="block"?"block":"none";jQuery(this._gol.prefLink).css("display",b).attr("href",this.options.prefUrl).unbind("click").click(function(){c._prefLinkClick()});jQuery(this._gol.turnOffLink).css("display",a).unbind("click").click(function(m){c.turnOff();
-m.preventDefault()});jQuery(this._gol.optionsActions).css("display",e);jQuery(this._gol.optionsActions).children(":nth-child(2)").addClass("ui-ncbiautocomplete-link-pref-right")}else this._gol.activeElement=this.element;e=this.element;var d=jQuery(this._gol.optionsBox),f=false;if(e.parent().hasClass("jig-ncbiclearbutton-wrap")){e=e.parent();f=true;d.addClass("ui-ncbiautocomplete-holder-clearfix")}else d.removeClass("ui-ncbiautocomplete-holder-clearfix");b=e.outerWidth();a=e.outerHeight();e=e.offset();
-var i,k,h;if(jQuery.browser.msie)h=k=i=0;else{i=parseInt(d.css("borderLeftWidth"),10);k=parseInt(d.css("borderRightWidth"),10);h=f?0:-1}d.css("top",e.top+a+(f?-1:-2)+"px").css("left",e.left+"px").width(b-i-k+h+"px");f=parseInt(this.options.zIndex,10);d.css("zIndex",f);d=jQuery(this._gol.optionsList);d[0].onscroll=function(){};d.scrollTop(0);d[0].onscroll=function(){c.sgData.hasScrolled=true};if(this._gol.isIE6){d=jQuery(this._gol.optionsBox.iframe);d.css("top",e.top+a+"px").css("left",e.left+"px").width(b-
-i-k+h+"px");d.css("zIndex",f-1)}},_isActive:false,_focused:function(){this._gol.activeElement!==this.element&&this._hideOptions();this._setActivedescendant();this._positionOptionsBox();if(this.options.isEnabled){this._isActive=true;this._hasBeenEscaped=false}this.options.minLength===0&&this.options.localData&&this._keyUp({})},_lastEnteredTerm:null,_isCached:false,_hasBeenEscaped:false,_lastKeyPressDwnUpScroll:new Date,_lastFoundMatch:null,_findMatchInCache:function(a){this._lastFoundMatch=null;if(typeof this._localCache[this.options.dictionary]===
-"undefined")return false;var b="l"+(this.options.maxListLimit||"n");if(typeof this._localCache[this.options.dictionary][b]==="undefined")return false;for(var c=0;a.length>1||c<10;){a=a.substr(0,a.length-1);var e=this._localCache[this.options.dictionary][b][a];if(e)if(e.isCompleteList){this._lastFoundMatch=a;return true}else break;c++}return false},_cloneMatchObject:function(a){var b={};b.matchedText=a.matchedText.toString();b.matches=a.matches?a.matches.slice():[];b.isCompleteList=a.isCompleteList===
-true;return b},_timerTriggerEnterEvent:null,_clearTriggerEnterEvent:function(){this._timerTriggerEnterEvent=null},_triggerEnterEvent:function(){var a=this;if(!this._timerTriggerEnterEvent){this._timerTriggerEnterEvent=window.setTimeout(function(){a._clearTriggerEnterEvent()},50);this.element.trigger("ncbiautocompleteenter",this.sgData);this.element.trigger("ncbiautocompletechange",this.sgData);this._sgSend()}},_triggerTabEvent:function(){this.element.trigger("ncbiautocompletetab",this.sgData);this.element.trigger("ncbiautocompletechange",
-this.sgData);this._sgSend()},_keyPress:function(a,b){var c=false,e=this;if(a.keyCode===this._keys.enter||a.keyCode===this._keys.tab){var d=a.keyCode===this._keys.enter,f=false;if(this._isActive&&this.isOptionsBoxOpen())if(this._currIndex===this.options.maxListLimit&&jQuery("li:eq("+this._currIndex+")",this._gol.optionsList).hasClass("ui-ncbiautocomplete-show-more")){this._hideOptions(true);this._gotoShowAll()}else if(this.sgData.optionSelected===jQuery(this.element).val()){f=d;if(!this._timerTriggerEnterEvent){this.sgData.selectionAction=
-d?"enter":"tab";this.element.attr("valueId",this.element.attr("_optValue")||null);if(d)this._triggerEnterEvent();else{this._sentTab||this._triggerTabEvent();this._sentTab=true;window.setTimeout(function(){e._sentTab=false},10)}}this._hideOptions(true);if(d){a.stopPropagation();a.preventDefault();return false}}else a.keyCode===this._keys.tab&&this._hideOptions(true);else if(a.keyCode===this._keys.tab)if(!this._tabCalled){this._hideOptions(true);this._tabCalled=true;window.setTimeout(function(){e._tabCalled=
-false},10)}if(d&&!f){this._hideOptions(true);this._triggerEnterEvent()}}else if(jQuery(this.element).val().length===0&&!this.options.localData)this._hideOptions(true);else if(a.keyCode===this._keys.up){c=true;this._scrollUpDownRateLimiter(-1)}else if(a.keyCode===this._keys.down&&!a.shiftKey){if(jQuery(this.element).val().length>=this.options.minLength&&!this.isOptionsBoxOpen()){this._reopenOptions=true;c=false;return}this._reopenOptions=false;c=true;this._scrollUpDownRateLimiter(1)}if(!this._lastKeyAction||
-b===this._lastKeyAction){this._lastKeyAction=b;this._prevWasArrow=this._usedArrow;this._usedArrow=c}},_scrollUpDownRateLimiter:function(a){if(!(new Date-this._lastKeyPressDwnUpScroll<90)){this._moveSelection(a);this._lastKeyPressDwnUpScroll=new Date}},_checkArrowSelection:function(a){if(this._prevWasArrow&&a.keyCode!==this._keys.down&&a.keyCode!==this._keys.up&&a.keyCode!==this._keys.tab&&a.keyCode!==this._keys.enter&&this._isActive&&this.isOptionsBoxOpen()){this.sgData.selectionAction="arrows";typeof ncbi!==
-"undefined"&&ncbi.sg&&ncbi.sg.ping&&ncbi.sg.ping(this.sgData,false);this._usedArrow=this._prevWasArrow=false}},_keyUp:function(a){if(!(!this.options.isEnabled||this._hasBeenEscaped)){this._checkArrowSelection(a);var b=jQuery(this.element).val().toLowerCase().replace(/^\s+/,"").replace(/\s+$/," "),c="l"+(this.options.maxListLimit||"n");if(!((a.keyCode===this._keys.up||a.keyCode===this._keys.down||a.keyCode===this._keys.enter)&&!this._reopenOptions))if(a.keyCode===this._keys.tab&&this._isOptionsBoxFocused){this._isActive=
-this._isOptionsBoxFocused=false;a.type!=="keyup"&&this._hideOptions(true)}else if(a.keyCode===this._keys.escape){this._isActive=this._isOptionsBoxFocused=false;this._hasBeenEscaped=true;this._hideOptions(true)}else if(!(this._lastEnteredTerm===b||a.keyCode===this._keys.shift))if(this._localCache[this.options.dictionary]&&this._localCache[this.options.dictionary][c]&&this._localCache[this.options.dictionary][c][b]){this._isActive=true;this._resetValueId(b);this._lastEnteredTerm=b;this._displayOptions(this._localCache[this.options.dictionary][c][b])}else if(this._isCached&&
-this._findMatchInCache(b)){this._isActive=true;this._localCache[this.options.dictionary][c][b]=this._cloneMatchObject(this._localCache[this.options.dictionary][c][this._lastFoundMatch]);this._resetValueId(b);this._lastEnteredTerm=b;this._filteredCache(b)}else if(b.length>=this.options.minLength&&this.options.localData){if(!this._localCache||!this._localCache[this.options.dictionary]||!this._localCache[this.options.dictionary][c]||!this._localCache[this.options.dictionary][c]["*_*_local_*_*"])this._putInCache({matchedText:"*_*_local_*_*",
-matches:this.options.localData.slice(),isCompleteList:true},"*_*_local_*_*");this._isActive=true;this._localCache[this.options.dictionary][c][b]=this._cloneMatchObject(this._localCache[this.options.dictionary][c]["*_*_local_*_*"]);this._resetValueId(b);this._lastEnteredTerm=b;this._filteredCache(b)}else if(b.length>=this.options.minLength&&this.options.webserviceUrl){if(!this._isActive){this._isActive=true;this._focused()}if(this._lastEnteredTerm!==b){this._resetValueId(b);this._lastEnteredTerm=b;
-this._fecthOptions(b)}}else{this._resetValueId(b);this._hideOptions()}}},_resetValueId:function(a){this._lastEnteredTerm&&this._lastEnteredTerm.toLowerCase()===a||this._lastTextInTextbox&&this._lastTextInTextbox.toLowerCase()===a||this.element.attr("valueId",null)},_changeFired:function(){this._lastEnteredTerm!==this.element.val()&&this._resetValueId()},_webSerivcePath:null,_setWebServicePath:function(){var a=this.options.webserviceUrl;if(a){var b="";if(this.options.isCrossDomain)this._webSerivcePath=
-"http://www.ncbi.nlm.nih.gov/portal/utils/autocomp.fcgi";else{if(!this.options.isUrlRelative){b=window.location.protocol+"//"+window.location.host;if(a.charAt(0)!=="/")a="/"+a}this._webSerivcePath=b+a}}},_fecthOptions:function(a){this._activeRequest!==null&&this._activeRequest.abort();var b=this,c=this.options.responseFormat==="old"?"text":"json",e={dict:this.options.dictionary};e[this.options.queryParameter]=a;if(this.options.isCrossDomain){this._addGlobalListener("NSuggest_CreateData");jQuery.ajax({url:this._webSerivcePath,
-dataType:"script",data:e,cache:true})}else this._activeRequest=jQuery.get(this._webSerivcePath,e,function(d,f){b._handleResponse(d,f)},c)},_validSeverCall:function(a){var b=false,c;if(this.options.isCrossDomain){typeof console!=="undefined"&&console.warn&&console.warn("Can not do this test with cross domain calls");return false}else if(this.options.dictionary.length>0){var e=this.options.responseFormat==="old"?"text":"json";c={dict:this.options.dictionary};c[this.options.queryParameter]=a;c=jQuery.ajax({url:this._webSerivcePath,
-data:c,async:false,dataTypeString:e});if(c.status===200){c=c.responseText;b="NSuggest_CreateData_test"+(new Date).getTime();this._addGlobalListener(b,true);c=eval(c.replace("NSuggest_CreateData",b));window[b]=null;b=this._isValidCheck(a,c.matches)}}return b},_handleResponse:function(a,b){this._activeRequest=null;if(b==="success")if(this.options.responseProcessor)this._customFormat(a);else this.options.responseFormat==="old"?this._oldFormat(a):this._displayOptions(a);else this.turnOff()},_addGlobalListener:function(a,
-b){var c=this;window[a]=function(e,d,f){e={matchedText:e,matches:d,isCompleteList:f===1};if(b)return e;else c._displayOptions(e)}},_oldFormat:function(a){if(a.indexOf("_dictionary_error")!==-1)this.turnOff(true);else if(jQuery.trim(a).indexOf("NSuggest_CreateData")!==-1){this._addGlobalListener("NSuggest_CreateData_new");eval(a.replace("NSuggest_CreateData","NSuggest_CreateData_new"))}else this._hideOptions()},_localCache:{},_putInCache:function(a,b){if(!this.options.disableCache){var c="l"+(this.options.maxListLimit||
-"n");this._localCache[this.options.dictionary]||(this._localCache[this.options.dictionary]={});this._localCache[this.options.dictionary][c]||(this._localCache[this.options.dictionary][c]={});this._localCache[this.options.dictionary][c][b||this._lastEnteredTerm]||(this._localCache[this.options.dictionary][c][b||this._lastEnteredTerm]=a)}},_setActivedescendant:function(){var a=this.element.attr("id");if(!a){a=jQuery.ui.jig._generateId("ncbiautocomplete");this.element.attr("id",a)}jQuery(this._gol.optionsBox).find("ul:eq(0)").attr("aria-activedescendant",
-a)},_displayOptions:function(a){this._setActivedescendant();this._putInCache(a);var b=a.matchedText,c=a.matches||[];if(b!==this._lastEnteredTerm){a.isCompleteList=true;this._filteredCache(this._lastEnteredTerm,a)}else{this.sgData.userTyped=this._lastEnteredTerm;this.sgData.optionsCount=c;this._positionOptionsBox();var e=this;if(b==="_dictionary_error")this.turnOff(true);else{this._isCached=a.isCompleteList;b=a.previousFormat;if(!b){var d=this.options.maxListLimit;b=0;var f;if(d===null||c.length<=
-d)f=c.length;else{f=d;b=c.length-f}d=(this._lastEnteredTerm||"").replace(/([\^\$\\\?\(\)\[\]\*\+\{\}\|\/\.\,])/g,"\\$1");var i=new RegExp("("+d+")","i");d=new Array(c.length);var k=this.options.hasRelatedMatches;for(f=f-1;f>=0;f--){var h=c[f],m="",q=h.indexOf("@");if(q!==-1){m='valueId="'+h.substr(q+1)+'"';h=h.substr(0,q);k=true}d[f]="<li role='menuitem' "+m+">"+h.replace(i,"<span>$1</span>").replace(/\\"/g,'"')+"</li>"}b>0&&d.push("<li class='ui-ncbiautocomplete-show-more' role='menuitem' moreOption='true'>See all results</li>");
-b=d.join("");if(d.length===0||!k&&b.indexOf("<span>")===-1){this._hideOptions();return}a.previousFormat=b}c=jQuery(this._gol.optionsBox);a=jQuery(this._gol.optionsList);a.scrollTop(0);a.html(b);if(c.css("display")!=="block"&&this._isActive){c.css("display","block");if(this._gol.isIE6){b=jQuery(this._gol.optionsBox.iframe).css("display","block");b.height(b.height()+jQuery(this._gol.optionsActions).height())}}else this._isActive||this._hideOptions();b=jQuery(".ui-ncbiautocomplete-options li");d=(b.eq(0).outerHeight()||
-20)*b.length;b.closest(".ui-ncbiautocomplete-holder").height(d).css("min-height",d+"px");b.closest(".ui-ncbiautocomplete-options").height(d).css("overflow-y","hidden");b=c.width();jQuery("li",a).hover(function(){e._addHightlightMouse(this)},function(){e._removeHighlight("mouse")}).click(function(){e._optionClicked(this);return false});jQuery(a).mouseleave(function(){e._removeHighlight("mouse");e._resetCurrentIndex()});this._resetCurrentIndex();c=jQuery("li",c);b=jQuery(this._gol.optionsBox).width();
-var l=jQuery.browser.msie&&!this._gol.isIE6||jQuery.browser.safari||jQuery.browser.opera;d=c.eq(0);parseFloat(d.css("padding-left"));k=d.html();d.html("<span>MMMMMMMMM.</span>");i=d.children("span:first").width()/10;d.html("<span>&hellip;<span>");d.children("span:first").width();d.html(k);var r=a.width(),y=Math.floor(b/i);c.each(function(){var j=jQuery(this);j.css("white-space","nowrap");var n=j.html();j.attr("fullText",n).attr("acValue",n.replace(/<\/?span>/gi,""));if(j.width()/j.attr("acValue").length<
-9)if(l)j.attr("partialText",j.html()).attr("isIEExpand",true).css("width",r-28+"px");else{var t=n.toLowerCase().indexOf("<span>"),u=n.toLowerCase().indexOf("</span>"),z=function(g){var o=false;if(g>=t&&g<t+6){g=g-t;g=t+g;o=true}if(g>=u&&g<u+7){g=g-u;g=u+g}return{cutLoc:g,addSpan:o}},x=function(g,o,v,A,s){n.indexOf("Journal of magnetic");g=z(g);var p=n.substr(0,g.cutLoc)+(g.addCloseSpan?"</span>":"")+"&hellip;";j.html(p);if(p===A){if(j.height()!==w&&typeof s!=="undefined")p=s;j.attr("partialText",
-p).css("white-space","nowrap")}else if(j.height()===w){o=p.toString()+"";s=Math.floor((g.cutLoc+v)/2);x(s,g.cutLoc,v,p,o)}else{v=Math.floor((parseInt(g.cutLoc,10)+parseInt(o,10))/2);x(v,o,g.cutLoc,p,s)}};j.css("white-space","normal").css("width",r-22+"px");var B=j.height();j.html(".");var w=j.height();j.html(n);B>w&&x(y,0,n.length)}});a.scrollTop(0);this._removeHighlight("mouse");this._hideOptionsIfOffPage()}}},_filteredCache:function(a,b){var c=true,e="l"+(this.options.maxListLimit||"n");if(a===
-null)c=false;else{if(b){b=b;if(typeof this._localCache[this.options.dictionary]==="undefined")this._localCache[this.options.dictionary]={};else if(typeof this._localCache[this.options.dictionary][e]==="undefined")this._localCache[this.options.dictionary][e]={}}else b=this._localCache[this.options.dictionary][e][a];b.matchedText=a;var d=this.options.minLength===0&&a.length===0;if(!this.options.hasRelatedMatches){c=a.replace(/([\^\$\\\?\(\)\[\]\*\+\{\}\|\/\.\,])/g,"\\$1");c=new RegExp(c,"ig");for(var f=
-b.matches.join("!!!~~~!!!").split("!!!~~~!!!"),i=f.length-1;i>=0;i--)!d&&f[i].match(c)===null&&f.splice(i,1);b.matches=f;this._localCache[this.options.dictionary][e][a]=b;c=f.length>0}}c?this._displayOptions(this._localCache[this.options.dictionary][e][a]):this._hideOptions()},_removeHighlight:function(a){if(!(a==="mouse"&&new Date-this._lastKeyPressDwnUpScroll<100)){var b=this;jQuery("li",this._gol.optionsList).removeClass("ui-ncbiautocomplete-options-high").each(function(){b._collapseOption(this)})}},
-_addHightlightMouse:function(a){if(new Date-this._lastKeyPressDwnUpScroll>100){this._resetCurrentIndex();this._currIndex=jQuery(a).prevAll("li").length;this._addHightlight(a)}},_addHightlight:function(a){this._removeHighlight();jQuery(a).addClass("ui-ncbiautocomplete-options-high");var b=this;this._expandTimer&&window.clearTimeout(this._expandTimer);this._expandTimer=window.setTimeout(function(){b._expandOption(a)},this.options.expandPauseTime)},_expandOption:function(a){if(jQuery(a).hasClass("ui-ncbiautocomplete-options-high")){a=
-jQuery(a).attr("isExpanded",true);var b=a.attr("fullText");if(a.html()!==b||a.attr("isIEExpand")){a.html(b).css("text-overflow","").css("white-space","normal").css("-o-text-overflow","");this._scrollIntoView()}}},_collapseOption:function(a){a=jQuery(a);a.attr("isIEExpand")?a.css("text-overflow","ellipsis").css("white-space","nowrap").css("-o-text-overflow","ellipsis"):a.css("white-space","nowrap").html(a.attr("partialText"))},_optionClicked:function(a){a=jQuery(a);if(a.hasClass("ui-ncbiautocomplete-show-more"))this._gotoShowAll();
-else{var b=this._cleanUpSelectionText(a);a=a.attr("valueId")||null;this.sgData.optionSelected=b;this.sgData.optionIndex=this._currIndex;this.sgData.valueId=a;this.sgData.selectionAction="click";this._sgSend();b=jQuery(this.element).val(b);b.attr("valueid",a);b.trigger("ncbiautocompleteoptionclick",this.sgData);b.trigger("ncbiautocompletechange",this.sgData)}this._isOptionsBoxFocused=false;this._hideOptions()},isOptionsBoxOpen:function(){return jQuery(this._gol.optionsBox).css("display")==="block"},
-_hideOptions:function(a){this._gol.activeElement=null;if(!(this._isOptionsBoxFocused&&!a)){var b=jQuery(this._gol.optionsBox);a&&jQuery(this._gol.optionsBox).css("display","none");b.attr("aria-activedescendant")===this.element.attr("id")&&b.attr("aria-activedescendant","");this._gol.isIE6&&jQuery(this._gol.optionsBox.iframe).css("display","none");this._resetCurrentIndex();this._isActive=false;this._lastEnteredTerm=null;b=jQuery(this._gol.optionsBox);var c=jQuery(this._gol.optionsList);b.css("display",
-"none");c.html("");this._lastTextInTextbox=b=this.element.val();if(this.options.requireValidation&&b.length>0&&this.options.isEnabled&&(!this.element.is(":focus")||a))this._trigger((b.length<this.options.minLength?false:this.isInDictionary(b))?"validselection":"invalidselection")}},_setTextCursorToEnd:function(a){var b=this.element;jQuery(b).val(a);if(b.createTextRange){a=b.createTextRange();a.moveStart("character",b.value.length);a.collapse();a.select()}},_resetCurrentIndex:function(){this._currIndex=
--1},_cleanUpSelectionText:function(a){return jQuery.trim(a.attr("acValue")).replace(/&amp;/gi,"&").replace(/\\"/g,'"')},_currIndex:-1,_moveSelection:function(a){if(this._isActive){this.sgData.usedArrows=true;var b=jQuery("li",this._gol.optionsList).length;this._currIndex+=a;this._removeHighlight();a=this._lastEnteredTerm;var c="";if(!(a===null||a.length<this.options.minLength)){if(this._currIndex<0||this._currIndex>=b)this._currIndex=this._currIndex===-2?b-1:-1;if(this._currIndex!==-1){b=jQuery("li:eq("+
-this._currIndex+")",this._gol.optionsList);this._addHightlight(b);if(this._currIndex===this.options.maxListLimit){this.sgData.optionSelected="";this.sgData.valueId=""}else{a=this._cleanUpSelectionText(b);c=b.attr("valueId")||null;this.sgData.optionSelected=a;this.sgData.valueId=c}}else{this.sgData.optionSelected="";this.sgData.valueId=""}this.element.attr("_optValue",c);this.element.attr("valueId",c);this._setTextCursorToEnd(a);this._scrollIntoView();this.sgData.optionIndex=this._currIndex}}},_scrollIntoView:function(){var a=
-jQuery("li:eq("+this._currIndex+")",this._gol.optionsList);if(a.length!==0){var b=jQuery(this._gol.optionsList),c=b.height(),e=b.scrollTop(),d=a[0].offsetTop;a=a.height();if(d-c+a>e){e=jQuery("li:eq("+(this._currIndex+1)+")",this._gol.optionsList);b.scrollTop((e.length===1?e[0].offsetTop:d+a+10)-c)}else d<e&&b.scrollTop(d)}},enableAutocomnplete:function(){this.options.isEnabled=true},disableAutocomnplete:function(){this.disableAutocomplete()},disableAutocomplete:function(){this._isOptionsBoxFocused=
-this.options.isEnabled=false;this._hideOptions()},turnOff:function(a){this.disableAutocomplete();var b=this.element.data("ncbiautocompleteOriginalTitle");b&&this.element.attr("title",b);if(!a){typeof ncbi!=="undefined"&&ncbi.sg&&ncbi.sg.ping&&ncbi.sg.ping(this.element[0],"autocompleteoffclick","dictionary="+this.options.dictionary);this.element.trigger("ncbiautocompletedisableclicked");a=this.options.disableUrl;if(a!==null&&a.length>0){b=jQuery.ui.jig._getFncFromStr(a);typeof b==="function"?b():jQuery.get(a)}}},
-_prefLinkClick:function(){typeof ncbi!=="undefined"&&ncbi.sg&&ncbi.sg.ping&&ncbi.sg.ping(this.element[0],"autocompleteprefclick","dictionary="+this.options.dictionary)},_checkClickEvent:function(a){if(this._isActive)if(jQuery(this.element)[0]!=a.target){this._isActive=this._isOptionsBoxFocused=false;this._hideOptions()}},_sgSend:function(){typeof ncbi!=="undefined"&&typeof ncbi.sg!=="undefined"&&typeof ncbi.sg.ping!=="undefined"&&ncbi.sg.ping(this.sgData,false)},getSgData:function(){return this.sgData},
-_gotoShowAll:function(){var a=jQuery(this.element),b=a.val();a.trigger("ncbiautocompleteshowall",{value:b,dictionary:this.options.dictionary})},_hideOptionsIfOffPage:function(){if(this.options.maxListLimit){var a=this,b=jQuery(".ui-ncbiautocomplete-options li"),c=b.eq(0).outerHeight()||20,e=jQuery(this._gol.optionsBox),d=jQuery(window).height(),f=e.position().top,i=f+e.outerHeight()-(document.body.scrollTop||document.documentElement.scrollTop||window.pageYOffset||0);if(b.last().hasClass("ui-ncbiautocomplete-show-more")){var k=
-f+"-"+d+"-"+i;if(!this.choppedDetails)this.choppedDetails={};var h=this.choppedDetails[k],m=0,q=function(){i=f+e.outerHeight()-(document.body.scrollTop||document.documentElement.scrollTop||window.pageYOffset||0);if(i>d){b=jQuery(".ui-ncbiautocomplete-options li");var r=b.length-2;if(r>=0){b.eq(r).remove();sz=c*(b.length-1);b.closest(".ui-ncbiautocomplete-holder").height(sz).css("min-height",sz+"px");b.closest(".ui-ncbiautocomplete-options").height(sz).css("overflow-y","hidden");m++;q()}}else a.choppedDetails[k].count=
-m};if(h){var l=h.count;if(l>0){h=2*h.length-l-b.length-2;b.filter(":lt("+(b.length-1)+")").filter(":gt("+h+")").remove();b=jQuery(".ui-ncbiautocomplete-options li");sz=c*b.length;b.closest(".ui-ncbiautocomplete-holder").height(sz).css("min-height",sz+"px");b.closest(".ui-ncbiautocomplete-options").height(sz).css("overflow-y","hidden")}m=l}else this.choppedDetails[k]={count:0,length:b.length};q()}else{l=Math.floor((d-f)/c)*c;h=b.length*c;if(l>h)l=h;b.closest(".ui-ncbiautocomplete-holder").height(l).css("min-height",
-l+"px");b.closest(".ui-ncbiautocomplete-options").height(l).css("overflow-y","auto")}}},isValid:function(){return this.isInDictionary(this.element.val())},isInDictionary:function(a){var b=false;if(a&&a.length>=this.options.minLength&&this.options.dictionary&&this.options.dictionary.length>0&&this.options.isEnabled){var c=false,e="l"+(this.options.maxListLimit||"n"),d=a.toLowerCase();if(this._localCache[this.options.dictionary]&&this._localCache[this.options.dictionary][e]){e=this._localCache[this.options.dictionary][e];
-c=true;if(e[d])b=this._isValidCheck(d,e[d].matches);else for(var f in e)if(b=this._isValidCheck(d,e[f].matches))break}if(!b&&!c)b=this._validSeverCall(a)}return b},_isValidCheck:function(a,b){var c=false;if(b){c=jQuery.inArray(a.toLowerCase(),b)>-1;if(!c){var e=new RegExp("(^|@)("+a.toLowerCase()+")(@|$)","i");jQuery.each(b,function(d,f){if(f.match(e)){c=true;return false}})}}return c},_customFormat:function(a){if(typeof this.options.responseProcessor==="string")this.options.responseProcessor=jQuery.ui.jig._getFncFromStr(this.options.responseProcessor);
-this._displayOptions({matchedText:this._lastEnteredTerm,matches:this.options.responseProcessor.call(this,a),isCompleteList:0})}});jQuery.ui.ncbiautocomplete._globalOptionsList=null;
--- a/Blast output page example_files/jquery_005.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-a.ui-ncbitoggler{color:#22c;}a.ui-ncbitoggler,a.ui-ncbitoggler-open{padding-left:16px;position:relative;display:block;}a.ui-ncbitoggler-no-icon{padding-left:0;}a.ui-ncbitoggler span.ui-icon-plus-minus-big,a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open{background-color:transparent;background-image:url(../img/ncbitoggler-plus-minus-big.gif);background-repeat:no-repeat;top:.2em;margin-left:-0.1em;}a.ui-ncbitoggler span.ui-icon-plus-minus-big{background-position:left -30px;}a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open{background-position:left 0;}.ui-ncbitoggler-slave,.ui-ncbitoggler-slave-open{margin:.2em 0 0 16px;}.ui-ncbitoggler-slave{display:none;}.ui-ncbitoggler-slave-open{display:block;}a.ui-ncbitoggler span.ui-icon,a.ui-ncbitoggler-open span.ui-icon{display:inline;position:absolute;left:0;_left:-1em;}a.ui-ncbitoggler-disabled{outline:none;}a.ui-ncbitoggler-disabled:active{outline:none;color:#551A8B;}
\ No newline at end of file
--- a/Blast output page example_files/jquery_005.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-(function(){var d=jQuery.ui.button.prototype._create;jQuery.ui.button.prototype.options.color="ui-ncbibutton-gray";jQuery.ui.button.validColors=["ui-ncbibutton-gray","ui-ncbibutton-copper","ui-ncbibutton-blue"];jQuery.ui.button.classColors=["jig-ncbibutton-gray","jig-ncbibutton-copper","jig-ncbibutton-blue"];var e=function(){d.apply(this,arguments);this._addClasses()};jQuery.widget("ui.ncbibutton",jQuery.ui.button,{_create:function(){e.apply(this,arguments)},_getColor:function(){for(var a=this.options.color,
-f=this.element[0].className,c=jQuery.ui.button.classColors,b=0;b<c.length;b++)if(f.indexOf(c[b])!==-1){a=jQuery.ui.button.validColors[b];break}if(a.indexOf("ui-ncbibutton-")!==0)a="ui-ncbibutton-"+a;if(jQuery.inArray(a,jQuery.ui.button.validColors)===-1){typeof console!=="undefined"&&console.warn&&console.warn("The color you picked: "+this.options.color+" is not a valid color choice.\n Valid colors: "+jQuery.ui.button.validColors.join(", "));a=jQuery.ui.button.validColors[0]}return a},_addClasses:function(){this.buttonElement.addClass("ui-ncbibutton").addClass(this._getColor()).removeClass("ui-button ui-widget")}})})();
--- a/Blast output page example_files/jquery_006.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-.ui-ncbipopper-wrapper{position:fixed;top:0;left:0;z-index:11;display:none;}.ui-ncbipopper-wrapper-relative-parent{position:fixed!important;}.ui-ncbipopper-basic{border:3px solid #3e72a6;background-color:#fff;color:#303030;padding:1em;text-align:left;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}button.ui-ncbipopper-close-button-generated{display:block;float:right;margin:-1.25em -1.3em 0 0;font-size:small;width:1.7em;text-align:center;padding:0;border:0;}button.ui-ncbipopper-close-button-generated,button.ui-ncbipopper-close-button-generated:active{margin:-0.615em;height:14px;width:13px;background-image:url(../img/ui-popper-closebutton.png);background-color:transparent;background-repeat:no-repeat;}button.ui-ncbipopper-close-button-generated .ui-button-text{color:transparent;text-shadow:none;}div.ui-ncbipopper-arrow-image{position:absolute;top:100px;left:100px;width:7px;height:7px;z-index:11;display:none;background-image:url(../img/ncbipopper-arrow.png);background-repeat:no-repeat;}div.ui-ncbipopper-arrow-left{background-position:center left;height:28px;}div.ui-ncbipopper-arrow-right{background-position:center right;height:28px;}div.ui-ncbipopper-arrow-top{background-position:top center;width:28px;}div.ui-ncbipopper-arrow-bottom{background-position:bottom center;width:28px;}.brieflinkpopdesc{font-size:.846em;margin-top:.4em;}.portlet .brieflinkpop{width:350px;}.portlet .brieflinkpop a{font-size:1em;}.portlet .brieflinkpopperctrl{display:inline-block;}
\ No newline at end of file
--- a/Blast output page example_files/jquery_006.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-jQuery.widget("ui.ncbigrid",{options:{isScrollable:false,height:"10em",hortScrollbarEnabled:false,width:null,isPageable:false,currentPage:1,isPageToolbarHideable:true,pageSize:10,isSortable:false,columnTypes:[],sortFunctions:[],isPresorted:false,sortColumn:-1,sortColumnDir:1,sortRowIndex:0,titleAscending:"sort ascending",titleDescending:"sort descending",ariaLabelAscending:"activate to sort column ascending",ariaLabelDescending:"activate to sort column descending",regExp:false,checkboxToolbarEnabled:false,
-filterToolbarEnabled:false,filterToolbarIsCaseInsensitive:null,filterToolbarColumnIndex:null,filterToolbarIsInverse:null,isLoadingMessageShown:true,loadingText:"Loading",collapseRowsEnabled:false,addCommas:false},_init:function(){},_create:function(){this._isStartPageOne=this.options.currentPage===1;this._wrapTable();this._addBasicStyles();this._checkIfCSSIsScrollable();this._attachLoadingMessageListener();if(this.options.isScrollable||this.options.isSortable||this.options.isPageable||this.options.checkboxToolbarEnabled||
-this.options.filterToolbarEnabled)this._addAriaRolesAndStates();this._addRowClickWatcher();this.options.isScrollable&&this._createScrollable();if(this.options.isPageable||this.options.isPagable){this.options.isPageable=true;this._createPageGrid()}if(this.options.isSortable){this._createSortGrid();this.updateAriaTH()}else this._enableCollapseTbodyRows();this.options.checkboxToolbarEnabled&&this._createCheckboxSelectors();this.options.filterToolbarEnabled&&this._createFilterBarControl();this._addRowHoverEvent();
-this._addContentsAdjustmentEvent();this._adjustContents()},destroy:function(){jQuery.Widget.prototype.destroy.apply(this,arguments);this.options.isScrollable&&this._destroyScrollable();if(this.options.isPageable||this.options.isPagable)this._destroyPageGrid();this._destroyRowHoverEvent()},_addBasicStyles:function(){this.element.addClass("ui-ncbigrid").attr("cellpadding","0").attr("cellspacing","0")},_checkIfCSSIsScrollable:function(){if(this.element.hasClass("jig-ncbigrid-scroll"))this.options.isScrollable=
-true},_wrapTable:function(){var a=this.element.parent().parent();if(!a.hasClass("ui-ncbigrid-outer-div")){this.element.wrap('<div class="ui-ncbigrid-outer-div"><div class="ui-ncbigrid-inner-div"></div></div>');a=this.element.parent().parent()}this.element.find("caption").length>0&&a.addClass("caption-exists");var b=this.options.width;b&&a.css("width",b)},_addRowHoverEvent:function(){jQuery(this.element).on("mouseenter","tbody > tr",function(){var a=jQuery(this);a.hasClass("ignoreHoverHighlight")||
-a.addClass("ui-ncbigrid-row-hover")}).on("mouseleave","tbody > tr",function(){jQuery(this).removeClass("ui-ncbigrid-row-hover")})},_destroyRowHoverEvent:function(){jQuery(this.element).off("mouseenter mouseleave","tr")},_addContentsAdjustmentEvent:function(){var a=this;this.element.on("ncbigridupdated",function(){a._adjustContents()})},_getNumCommaIndices:function(){var a=this.options.columnTypes;if(!a)return[];for(var b=[],c=0;c<a.length;c++)if(a[c]=="numComma"||a[c]=="numberComma")b.push(c);return b},
-_getCommaSeparatedValue:function(a){var b=parseInt(a);if(isNaN(b))return a;else{a=a.split(".");b=a[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,");return a[1]?b+"."+a[1]:b}},_adjustContentsForCommas:function(){var a=this._getNumCommaIndices();if(a.length){var b=this;jQuery(this.element).find("tbody td").each(function(){var c=jQuery(this),d=c.parent().find("td").index(c);jQuery.inArray(d,a)!=-1&&c.html(b._getCommaSeparatedValue(c.html()))})}},_adjustContents:function(){this.options.addCommas&&this._adjustContentsForCommas()},
-_addAriaRolesAndStates:function(){var a=this.element;a.attr("id")||a.attr("id",jQuery.ui.jig._generateId(this.widgetName));a.parent().parent().attr("role","grid").attr("tabindex","0");a.children("thead").children("tr").attr("role","row").children("th").attr({"aria-controls":a.attr("id"),role:"columnheader",tabindex:"0"});a.children("tbody").attr({role:"alert","aria-live":"polite","aria-relevant":"text"})},updateAriaTH:function(){if(this.options.isSortable){var a=this;this.element.parent().parent().find("div, table").attr("tabindex",
-"0").end().find("thead").find("th").each(function(b,c){b="";var d=a.options.ariaLabelAscending;if(jQuery(c).is(".sortDsc")){b="descending";d=a.options.ariaLabelAscending}else if(jQuery(c).is(".sortAsc")){b="ascending";d=a.options.ariaLabelDescending}c=jQuery(c).children("a");jQuery(c).attr("aria-label",jQuery(c).text()+": "+d);b==""?jQuery(c).removeAttr("aria-sort"):jQuery(c).attr("aria-sort",b)})}},_createScrollable:function(){this._storeRefs();this._addScrollClasses();this._copyCaptionHeader();
-this._setWidthHeight();this._setWidths();this._registerScrollableListeners()},_destroyScrollable:function(){this._removeScrollClasses();if(this.parts){this.parts.scrollWrapper.removeClass("ui-ncbigrid-scroll");this.parts.headerWrapper.remove();for(var a in this.parts)this.parts[a]=null;this.parts=null}this._windowResize&&jQuery(window).unbind("resize",this._windowResize)},_storeRefs:function(){var a=this.element;this.parts={table:a,ths:a.find("> thead th")}},_addScrollClasses:function(){var a=this.element,
-b=a.parent().addClass("ui-ncbigrid-scroll");this.parts.scrollWrapper=b;if(jQuery.browser.webkit){var c=navigator.userAgent;c.indexOf("AppleWebKit")>0&&c.indexOf("Chrome")==-1&&a.addClass("safari")}this.options.hortScrollbarEnabled&&b.addClass("ui-ncbigrid-hort-scroll")},_removeScrollClasses:function(){this.element.removeClass("ui-ncbigrid").removeClass("safari").parent().removeClass("ui-ncbigrid-scroll")},_copyCaptionHeader:function(){var a=this.element,b=a.parent();b.parent();var c=a.find("caption").clone();
-a=a.find("> thead").clone();c=jQuery("<div class='ui-ncbigrid-header-wrapper'></div>").append("<table cellpadding='0' cellspacing='0' class='ui-ncbigrid ui-ncbigrid-header'></table>").find("table").append(c).append(a).end();c.insertBefore(b);b=c.find("caption");b.wrapInner("<div></div>");this.parts.captionDiv=b.find("div");this.parts.headerWrapper=c;this.parts.headerThs=c.find("thead th")},_setWidthHeight:function(){this.options.height!==null&&this.parts.scrollWrapper.height(this.options.height)},
-_setWidths:function(){function a(j){jQuery(this).width(h[j])}var b=this.parts,c=b.table,d=b.ths,e=b.scrollWrapper,g=b.headerWrapper;b=b.headerThs;var f=jQuery.browser.msie;if(!this.options.hortScrollbarEnabled&&c.data("isMinSet")!==true&&this.element.is(":visible")){var i=c.outerWidth();if(c.width()>e.width()){e.css("min-width",i+16);c.data("isMinSet",true)}}var h=[];d.each(function(){var j=0;if(jQuery(this).is(":visible"))j=jQuery(this).width()+0;h.push(j)});d=c.height()>e.height()?16:0;f=this.options.isSortable&&
-f&&parseInt(jQuery.browser.version,10)<8?d:0;c.parent().parent().find("table.ui-ncbigrid-header").width(c.width()+2-f);c=e.width()-d;g.width(c);this.parts.captionDiv&&this.parts.captionDiv.width(c);b.each(a)},_handleScroll:function(a,b,c){function d(){g._handleScroll(a,b,true)}var e=a.scrollLeft;b.scrollLeft=e;this.parts.captionDiv&&this.parts.captionDiv.css("margin-left",e+"px");var g=this;if(!c){window.setTimeout(d,1);window.setTimeout(d,5)}},_registerScrollableListeners:function(){var a=this;this._windowResize=
-function(){a._setWidths()};jQuery(window).resize(this._windowResize);var b=this.element.parent().parent().find(".ui-ncbigrid-header-wrapper")[0];this.element.parent().scroll(function(){a._handleScroll(this,b)});this.element.bind("ncbigridupdated",function(){a._setWidths()});this.element.bind("resetScroll",function(){a._resetScrollToTop()})},_resetScrollToTop:function(){this.parts.scrollWrapper.scrollTop(0)},_createPageGrid:function(){this._createPageBars();this._addPagingEvents();this._gotoPage(this.options.currentPage)},
-_destroyPageGrid:function(){if(this._pageBars){this._removePagingEvents();this._removePageBars()}},_pagingControlsHTML:'                                         <div class="ui-ncbigrid-paged-toolbar">                                                <div class="ui-ncbigrid-paged-countItems">Items <span class="ui-ncbigrid-paged-startRow">1</span> - <span class="ui-ncbigrid-paged-endRow">10</span> of <span class="ui-ncbigrid-paged-totalRows">10</span></div>                                                <div class="ui-ncbigrid-paged-pageControl pagination">                        <a href="#" class="ui-ncbigrid-paged-pageControl-first page_link" title="Goto First Page">&lt;&lt; First</a>                        <span class="ui-ncbigrid-paged-pageControl-first page_link" title="Inactive Goto First Page">&lt;&lt; First</span>                        <a href="#" class="ui-ncbigrid-paged-pageControl-previous page_link prev" title="Goto Previous Page">&lt; Prev</a>                        <span class="ui-ncbigrid-paged-pageControl-previous page_link prev" title="Inactive Goto Previous Page">&lt; Prev</span>                        <label>Page</label> <input type="text" value="1" size="2" title="current page number"/> of <span class="ui-ncbigrid-paged-endPage">2</span>                        <a href="#" class="ui-ncbigrid-paged-pageControl-next next page_link" title="Goto Next Page">Next &gt;</a>                        <span class="ui-ncbigrid-paged-pageControl-next next page_link" title="Inactive Goto Next Page">Next &gt;</span>                        <a href="#" class="ui-ncbigrid-paged-pageControl-last page_link" title="Goto Last Page">Last &gt;&gt;</a>                        <span class="ui-ncbigrid-paged-pageControl-last page_link" title="Inactive Goto Last Page">Last &gt;&gt;</span>                        </div>                                            </div>',
-_createPageBars:function(){this._pageToolBar_top=jQuery(this._pagingControlsHTML).addClass("ui-ncbigrid-paged-toolbar-top");this._pageToolBar_bottom=jQuery(this._pagingControlsHTML).addClass("ui-ncbigrid-paged-toolbar-bottom");var a=this.element,b=a.parent().parent();b.prepend(this._pageToolBar_top);b.append(this._pageToolBar_bottom);b.children(".ui-ncbigrid-paged-toolbar-top").children(".ui-ncbigrid-paged-countItems").attr("id",jQuery.ui.jig._generateId("ui-ncbigrid-paged-countItems"));a.attr("aria-describedby",
-this._pageToolBar_top.children(".ui-ncbigrid-paged-countItems").attr("id"));this._pageBars=this._pageToolBar_top.add(this._pageToolBar_bottom);this._pageBars.find(":input").each(function(c,d){jQuery(d).attr("id",jQuery.ui.jig._generateId("ui-ncbigrid-paged-current-page")).prev().attr("for",jQuery(d).attr("id"))})},_removePageBars:function(){this._pageToolBar_top.remove();this._pageToolBar_top=null;this._pageToolBar_bottom.remove();this._pageBars=this._pageToolBar_bottom=null;this.element.removeAttr("aria-describedby")},
-_addPagingEvents:function(){var a=this,b=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-first"),c=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-previous"),d=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-next"),e=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-last"),g=this._pageBars.find("input");b.click(function(f){a.gotoFirstPage();f.preventDefault()});c.click(function(f){a.gotoPrevPage();f.preventDefault()});d.click(function(f){a.gotoNextPage();f.preventDefault()});e.click(function(f){a.gotoLastPage();
-f.preventDefault()});g.keypress(function(f){if(f.keyCode===13){a.gotoPage(this.value.replace(/,/g,""));f.preventDefault()}})},_removePagingEvents:function(){this._pageBars.find("a").unbind("click").end().find("input").unbind("keypress")},_showHidePageToolbar:function(){if(this._pageBars)if(this.options.isPageToolbarHideable)parseInt(this.getRowCount())<=parseInt(this.options.pageSize)?this._pageBars.hide():this._pageBars.show()},_setPage:function(){this.element.trigger("resetScroll");this.element.trigger("pagechanged");
-var a=this._getCurrentPage(),b=this.getMaxPage();this._showHidePageToolbar();this._updateRows(a,b);this._updateButtons(a,b);this._updatePagingText(a,b);this._updateGoto(a,b);this._updateItemRange(a,b);this._pageBars.find(".ui-ncbigrid-paged-pageControl").attr({"aria-valuemin":"1","aria-controls":this.element.attr("id"),"aria-valuemax":b,"aria-valuenow":a});this._notifyGridUpdated()},_updateRows:function(a){var b=this.options.pageSize,c=this.getRowCount();a=(a-1)*b;var d=a+b;b=this.element.find("> tbody > tr:not(.ncbigrid-row-filtered)");
-var e=this.element.find("> tbody").length>1,g=0;if(e&&a>0)g=b.filter(":lt("+a+")").filter(":has(th)").length;var f="";if(d<c)f+=":lt("+(d+g)+")";if(a>0)f+=":gt("+(a-1+g)+")";c=b;if(f.length>0){b.not(".ui-ncbigrid-rowHidden").addClass("ui-ncbigrid-rowHidden");c=b.filter(f)}c.removeClass("ui-ncbigrid-rowHidden");if(e){a=c.filter(":has(th)").length;if(a>0){b=0;for(c=c.last().next();b<a&&c.length===1;){if(!c.hasClass("ncbigrid-row-filtered")){c.has("th")||b++;c.removeClass("ui-ncbigrid-rowHidden")}c=
-c.next()}}}this._notifyGridUpdated()},_updateButtons:function(a,b){var c=b===2,d=a===1,e=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-previous,a.ui-ncbigrid-paged-pageControl-first").css("display",d?"none":"inline").filter("a.ui-ncbigrid-paged-pageControl-first");d=this._pageBars.find("span.ui-ncbigrid-paged-pageControl-previous,span.ui-ncbigrid-paged-pageControl-first").css("display",d?"inline":"none").filter("span.ui-ncbigrid-paged-pageControl-first");b=a===b||b==0;a=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-next,a.ui-ncbigrid-paged-pageControl-last").css("display",
-b?"none":"inline").filter("a.ui-ncbigrid-paged-pageControl-last");b=this._pageBars.find("span.ui-ncbigrid-paged-pageControl-next,span.ui-ncbigrid-paged-pageControl-last").css("display",b?"inline":"none").filter("span.ui-ncbigrid-paged-pageControl-last");c&&e.add(d).add(a).add(b).css("display","none")},_updatePagingText:function(a,b){if(b<1)b=1;if(this.options.addCommas)b=this._getCommaSeparatedValue(""+b);this._pageBars.find("div.ui-ncbigrid-paged-pageControl").find("span.ui-ncbigrid-paged-endPage").html(b)},
-_updateGoto:function(a){if(this.options.addCommas)a=this._getCommaSeparatedValue(""+a);this._pageBars.find("input").val(a)},_updateItemRange:function(a){var b=parseInt(this.options.pageSize,10),c=this.getRowCount();a=(a-1)*b+1;b=a+b-1;if(b>c)b=c;if(c==0)a=0;if(this.options.addCommas){c=this._getCommaSeparatedValue(""+c);a=this._getCommaSeparatedValue(""+a);b=this._getCommaSeparatedValue(""+b)}var d=this._pageBars.find("div.ui-ncbigrid-paged-countItems");d.find("span.ui-ncbigrid-paged-startRow").html(a);
-d.find("span.ui-ncbigrid-paged-endRow").html(b);d.find("span.ui-ncbigrid-paged-totalRows").html(c)},_getCurrentPage:function(){return this.options.currentPage},getCurrentPage:function(){return this._getCurrentPage()},getMaxPage:function(){return Math.ceil(this.getRowCount()/this.options.pageSize)},getRowCount:function(){return jQuery(this.element).find("> tbody > tr:not(.ncbigrid-row-filtered):not(:has(> th))").length},getHeaderRowCount:function(){return jQuery(this.element).find("tbody > tr:has(th)").length},
-gotoFirstPage:function(){this._gotoPage(1)},gotoLastPage:function(){this._gotoPage(this.getMaxPage())},gotoNextPage:function(){this._gotoPage(this._getCurrentPage()+1)},gotoPrevPage:function(){this._gotoPage(this._getCurrentPage()-1)},gotoPage:function(a){this._gotoPage(parseInt(a,10))},_gotoPage:function(a){if(isNaN(a)||a<1)a=1;else if(a>this.getMaxPage()){a=this.getMaxPage();if(a<1)a=1}this.options.currentPage=a;this._pagingSelectAllQuestions&&this._pagingSelectAllQuestions.hide();this._setPage()},
-_createSortGrid:function(){var a=this.options.sortColumn;if(this.options.sortColumn!==-1){a=a-1;this.options.sortColumn=a!==-1?a:0}this._indexGrid();this._addSortEvents();this._setSortHeaders();this._checkInitialState();this._notifyGridUpdated()},_destroySortGrid:function(){},reindex:function(){for(var a=0;a<this.element.find("tbody tr:eq(0) td").length;a++)this.element.data("sort_order_col_"+a,null);this.element.data("rows",null);this._indexGrid()},_indexGrid:function(){var a=this,b=this.element.find("> tbody");
-if(b.length===0)this._isIndexed=false;else for(var c=0;c<b.length;c++)(function(d,e){function g(){for(var o=0;o<50&&k<m;o++){var p=l[k],q=a.getRowValues_DOM(p);if(q.length==0){a._enableCollapseTbodyRows(p);i.push(p);j++}else{q.unshift(k-j,p);f.push(q);h.push(q)}k++}if(k<m)window.setTimeout(g,0);else{a.element.data("tbody"+e+"-rows",h);a.element.data("tbody"+e+"-header",i);a._presort(f,e)}}var f=[],i=[],h=[],j=0,l=jQuery(d).find("> tr"),k=0,m=l.length;if(m===0)a._isIndexed=false;else{a._isIndexed=
-true;g()}})(b[c],c)},_presort:function(a,b){function c(h){var j=g.options.sortFunctions[h-2];j||(j=g.element.find("> thead th:eq("+(h-2)+")").data("sortfunc"));if(j)if(typeof j==="function")return j;else if(j.indexOf("fnc:")===0){j=j.substr(4,j.length).split(".");for(var l=window[j[0]],k=1;k<j.length;k++)l=l[j[k]];return g.options.sortFunctions[h]=l}return null}function d(h,j,l){function k(n){if(n.length<2)return n;var r=parseInt(n.length/2),s=n.slice(0,r);n=n.slice(r,n.length);return m(k(s),k(n))}
-function m(n,r){for(var s=[];n.length&&r.length;){var u=false;(u=o?-g.options.sortColumnDir==o.call(g,{data:n[0][j],row:jQuery(n[0][1])},{data:r[0][j],row:jQuery(r[0][1])}):n[0][j]<=r[0][j])?s.push(n.shift()):s.push(r.shift())}for(;n.length;)s.push(n.shift());for(;r.length;)s.push(r.shift());return s}var o=c(j),p=jQuery.browser.msie?100:1E3,q=0,t=[];(function(){for(var n=0;n<p&&q<h.length;n++){t.push(h[q]);q++}q<h.length?setTimeout(arguments.callee,0):l(k(t),j)})()}function e(h,j){var l=0,k=[];(function(){for(var m=
-0;m<50&&l<h.length;m++){k.push(h[l][0]);l++}l<h.length?setTimeout(arguments.callee,0):g.element.data("tbody"+b+"-sort_order_col_"+(j-2),k)})()}for(var g=this,f=a[0].length,i=2;i<f;i++)this._getColumnType(i-2)!=="none"&&d(a,i,e)},_getColumnType:function(a){var b=this.options.columnTypes[a];b||(b=this.element.find("> thead th:eq("+a+")").data("columntype"));return b||"str"},getColumnType:function(a){return this._getColumnType(a-1)},getRowValues:function(a){if(typeof a==="number")a=this.element.find("tbody tr:eq("+
-a+")");var b=[];a=a[0].getElementsByTagName("td");for(var c=a.length,d=0;d<c;d++)b.push(this._getCellValueHelper(a[d].innerHTML,d));return b},getRowValues_DOM:function(a){var b=[];a=jQuery(a).children("td");for(var c=a.length,d=0;d<c;d++)b.push(this._getCellValueHelper(a[d].textContent||a[d].innerText||"",d));return b},_getCellValue:function(a,b){return this._getCellValueHelper(a.html(),b)},_getCellValueHelper:function(a,b){var c=this._getColumnType(b);switch(c){case "num":case "number":case "float":return a!==
-undefined&&a.length>0?parseFloat(a):Number.POSITIVE_INFINITY;case "int":return a!==undefined&&a.length>0?parseInt(a,10):Number.POSITIVE_INFINITY;case "numberComma":case "numComma":a=(a||"").replace(/[, ]/g,"");return a.length>0?parseFloat(a):Number.POSITIVE_INFINITY;case "date":return new Date(a);case "str-insensitive":return a.toLowerCase();case "str":default:if(typeof c==="function")return c(a);else if(c.indexOf("fnc:")===0){c=c.substr(4,c.length).split(".");for(var d=window[c[0]],e=1;e<c.length;e++)d=
-d[c[e]];this.options.columnTypes[b]=d;return d(a)}else return a||""}},getCellValue:function(a,b){if(typeof a==="number")a=this.element.find("tbody tr:eq("+a+")");return this._getCellValue(a.find("td:eq("+b+")"),b)},_addSortEvents:function(){function a(e){b._getColumnType(e)!=="none"&&jQuery(this).wrapInner(d).find("a").data("index",e)}var b=this,c=this.element.find("> thead tr:eq("+this.options.sortRowIndex+") th");this.element.bind("ncbigridcontentchanged",function(){b.reindex()});var d="<a href='#' title='"+
-this.options.titleAscending+"'></a>";c.each(a);c=c;if(this.parts&&this.parts.headerThs){this.parts.headerThs.each(a);c=c.add(this.parts.headerThs)}c.find("a").click(function(e){b._sort(jQuery(this).data("index"));e.preventDefault()})},sort:function(a,b){this._sort(a-1,b)},_sort:function(a,b){if(this._isIndexed){this.options.isPageable&&this.element.trigger("resetCheckboxes");var c=b;if(b===undefined)c=this.options.sortColumn!==a?1:-1*this.options.sortColumnDir;this.options.sortColumn=a;this.options.sortColumnDir=
-c;this.element.trigger("ncbigridshowloadingbar");this._setSortHeaders();this._waitForCache()}},_setSortHeaders:function(){var a=this.element.find("> thead tr:eq("+this.options.sortRowIndex+") th"),b=null;if(this.parts&&this.parts.headerThs)b=this.parts.headerThs;a.add(b).removeClass("sortAsc sortDsc").addClass("sortNone").find("a").attr("title",this.options.titleAscending);var c=this.options.sortColumn;if(this.options.sortColumn!==-1){var d=this.options.sortColumnDir===1?"sortAsc":"sortDsc",e=this.options.sortColumnDir===
-1?this.options.titleDescending:this.options.titleAscending;a.eq(c).addClass(d).removeClass("sortNone").find("a").attr("title",e);b&&b.eq(c).addClass(d).removeClass("sortNone").find("a").attr("title",e)}this.options.isSortable&&this.updateAriaTH()},_waitForCache:function(){for(var a=this,b=this.options.sortColumn,c=this.element.find("tbody"),d=0;d<c.length;d++)(function(e){var g=a.element.data("tbody"+e+"-sort_order_col_"+b);if(g)a._setTheRows(g,e);else{var f=arguments.callee;setTimeout(function(){f(e)},
-10)}})(d)},_setTheRows:function(a,b){var c=this.element.data("tbody"+b+"-header"),d=this.element.data("tbody"+b+"-rows");b=this.element.find("tbody:eq("+b+")");var e=jQuery("<tbody>"),g=c.length;if(g>0)for(var f=0;f<g;f++)e.append(c[f]);if(this.options.sortColumnDir==1)for(f=0;f<a.length;f++){c=d[a[f]][1];e.append(c)}else for(f=a.length-1;f>=0;f--){c=d[a[f]][1];e.append(c)}b.replaceWith(e);this.element.trigger("ncbigridhideloadingbar");if(this.options.isPageable)if(this._isStartPageOne)this.gotoFirstPage();
-else{this._gotoPage(this.options.currentPage);this._isStartPageOne=true}this.element.trigger("ncbigridcolumnsorted",[this.options.sortColumn+1,this.options.sortColumnDir])},_checkInitialState:function(){!this.options.isPresorted&&this.options.sortColumn!==-1&&this._sort(this.options.sortColumn,this.options.sortColumnDir)},_checkboxControlsHTML:'                                         <div class="ui-ncbigrid-checkbox-toolbar">                        \t\t\t\t\t\t<label>Select:</label>\t\t\t\t\t\t<a href="#" class="ui-ncbigrid-select-all">All</a>\t\t\t\t\t\t<a href="#" class="ui-ncbigrid-select-none">None</a>\t\t\t\t\t\t<label>Selected:</label>\t\t\t\t\t\t<span class="ui-ncbigrid-selected-text">0</span>                                            </div>',
-_pagingSelectAllQuestionHTML:'<div class="ui-ncbigrid-select-question">All <span class="ui-ncbigrid-select-row-count">10</span> items on this page are <span class="selectText1">selected</span>. <a href="#" class="ui-ncbigrid-select-question-all"><span class="selectText2">Select</span> all rows in table</a> <a href="#" class="ui-ncbigrid-select-question-cancel">Cancel</a></div>',_createCheckboxSelectors:function(){this._createCheckboxBar();this._addCheckboxEvents();this._updateCount()},_createCheckboxBar:function(){this._checkboxToolBar_top=
-jQuery(this._checkboxControlsHTML).addClass("ui-ncbigrid-checkbox-toolbar-top");this._checkboxToolBar_bottom=jQuery(this._checkboxControlsHTML).addClass("ui-ncbigrid-checkbox-toolbar-bottom");var a=this.element.parent().parent();a.prepend(this._checkboxToolBar_top);if(this.options.isPageable){this._checkboxToolBar_bottom.insertBefore(this._pageToolBar_bottom);this._addSelectAllQuestionToolbar()}else a.append(this._checkboxToolBar_bottom);a.find(".ui-ncbigrid-checkbox-toolbar").attr("aria-controls",
-this.element.attr("id"));this._chekboxBars=this._checkboxToolBar_top.add(this._checkboxToolBar_bottom)},_addCheckboxEvents:function(){var a=this;this._chekboxBars.find("a.ui-ncbigrid-select-all").click(function(b){a.checkAll();a._askSelectAllQuestion();b.preventDefault()});this._chekboxBars.find("a.ui-ncbigrid-select-none").click(function(b){a.uncheckAll();a._askSelectAllQuestion(true);b.preventDefault()});jQuery(this.element).on("click","tbody",function(b){a._rowClicked(b)});this.element.bind("resetCheckboxes",
-function(){a.uncheckAll()});this._addSelectAllQuestionToolbarEvents()},_addSelectAllQuestionToolbar:function(){if(this.options.checkboxToolbarEnabled){this._pagingSelectAllQuestion_top=jQuery(this._pagingSelectAllQuestionHTML).addClass("ui-ncbigrid-select-question-header");this._pagingSelectAllQuestion_bottom=jQuery(this._pagingSelectAllQuestionHTML).addClass("ui-ncbigrid-select-question-footer");this._pagingSelectAllQuestion_top.insertAfter(this._pageToolBar_top);this._pagingSelectAllQuestion_bottom.insertAfter(this._pageToolBar_bottom);
-this._pagingSelectAllQuestions=this._pagingSelectAllQuestion_top.add(this._pagingSelectAllQuestion_bottom);this._pagingSelectAllQuestions.find(".ui-ncbigrid-select-question-all").attr("aria-controls",this.element.attr("id"))}},_addSelectAllQuestionToolbarEvents:function(){if(this.options.checkboxToolbarEnabled){var a=this;this._pagingSelectAllQuestions.find("a.ui-ncbigrid-select-question-all").click(function(b){a[a._askAllSelectionMode](true);a._pagingSelectAllQuestions.hide();b.preventDefault()});
-this._pagingSelectAllQuestions.find("a.ui-ncbigrid-select-question-cancel").click(function(b){a._pagingSelectAllQuestions.hide();b.preventDefault()});this.element.bind("ncbigridpagechanged checkboxrowclicked",function(){a._pagingSelectAllQuestions&&a._pagingSelectAllQuestions.hide()})}},_askSelectAllQuestion:function(a){this._askAllSelectionMode=a?"uncheckAll":"checkAll";if(this.options.isPageable)if(parseInt(this.getRowCount())>=parseInt(this.options.pageSize)){this._pagingSelectAllQuestions.show();
-this._updateSelectPageCount(a)}else this._pagingSelectAllQuestions.hide()},_updateSelectPageCount:function(a){var b=this.element.find("> tbody > tr > td > input[type=checkbox]:visible").length;this._pagingSelectAllQuestions.find(".ui-ncbigrid-select-row-count").html(b);this._pagingSelectAllQuestions.find(".selectText1").html(a?"deselected":"selected");this._pagingSelectAllQuestions.find(".selectText2").html(a?"Deselect":"Select")},_updateCount:function(){var a=this.element.find("tbody input[type=checkbox]");
-a=a.length>0?a.filter(":checked").length:this.element.find("tbody tr.ui-ncbigrid-row-selected").length;this._chekboxBars.find("span.ui-ncbigrid-selected-text").html(a)},_checkHelper:function(a,b){if(b){b=jQuery(this.element).find("> tbody > tr:not(.ncbigrid-row-filtered) > td > input[type=checkbox]");this._trigger(a?"checkall":"uncheckall",null,[a]);this._checkAllState=a}else b=a&&this.options.isPageable?this.element.find("> tbody > tr > td > input[type=checkbox]:visible"):this.element.find("> tbody > tr > td >  input[type=checkbox]");
-b.attr("checked",a);b=b.length===0?this.element.find("tbody tr").data("row-selected",a):b.closest("tr");a?b.addClass("ui-ncbigrid-row-selected"):b.removeClass("ui-ncbigrid-row-selected");this._updateCount()},checkAll:function(a){this._checkHelper(true,a);this._trigger("selectallclicked",null,[{acrossAllPages:a}])},uncheckAll:function(a){this._checkHelper(false,a);this._trigger("selectnoneclicked",null,[{acrossAllPages:a}])},_rowClicked:function(a){var b=jQuery(a.target||a.srcElement);a=null;if(b.is("input[type=checkbox]")){a=
-b;var c=a.is(":checked")}else if(!b.is("a")){a=b.closest("tr").find("input[type=checkbox]");c=!a.is(":checked");a.attr("checked",c)}b=b.closest("tr");if(a&&a.length===0){c=!b.data("row-selected");b.data("row-selected",c)}c?b.addClass("ui-ncbigrid-row-selected"):b.removeClass("ui-ncbigrid-row-selected");this.element.trigger("checkboxrowclicked");this._updateCount()},_filterBarControlsHTML:'                                         <div class="ui-ncbigrid-filter-toolbar">                        \t\t\t\t\t\t\t<label>Filter:</label>\t\t\t\t\t\t\t<input type="text" name="gridFilter" />                                            </div>',
-_createFilterBarControl:function(){this._createFilterBar();this._addFilterEvents()},_createFilterBar:function(){this._filterToolBar=jQuery(this._filterBarControlsHTML);var a=this.element.parent().parent();a.prepend(this._filterToolBar).children(".ui-ncbigrid-filter-toolbar").attr("aria-controls",this.element.attr("id"));a.addClass("filterToolbar-exists");var b=jQuery.ui.jig._generateId("gridFilter");a.children(".ui-ncbigrid-filter-toolbar").children(":input").attr("id",b).prev().attr("for",b)},_addFilterEvents:function(){var a=
-this;this._filterToolBar.find("input[type=text]").keyup(function(b){a._filterGrid(b,this)})},_filterGrid:function(a,b){if(!this._lastRunFilter)this._lastRunFilter="";a=b.value;b=this.options.filterToolbarIsCaseInsensitive||null;var c=this.options.filterToolbarColumnIndex||null,d=this.options.filterToolbarIsInverse||null;this._lastRunFilter.length>0&&a.indexOf(this._lastRunFilter)!==0&&this.removeFilterRows();this._lastRunFilter=a;if(this._lastRunFilter.length>0){var e=false;if(this.options.regExp)try{a=
-RegExp(a.replace(/(^\/)|(\/$)/g,""))}catch(g){e=true}e||this.filterRows(a,b,c,d)}},_custFilterCnt:0,filterRows:function(a,b,c,d){function e(){p.options.isPageable&&p._gotoPage(0);p.element.trigger("ncbigridfilterapplied",[a,b,c,g,f]).trigger("ncbigridhideloadingbar");p._notifyGridUpdated()}if(!(typeof a=="undefined"||a.length===0)){this.element.trigger("ncbigridshowloadingbar");if(!jQuery.isArray(a)){orgTxt=a;a=[[a,b,c,d]]}d=f=jQuery("tbody tr:not(.ncbigrid-row-filtered)",this.element);for(var g,
-f,i=0;i<a.length;i++){var h=a[i],j=h[0],l=h[2],k=h[3];h="";if(typeof l!="undefined"&&l!==null)h=":nth-child("+l+")";k=k?"not-":"";var m="",o=null;if(typeof j==="function"){m="-functionTest";o=this._custFilterCnt;this._custFilterCnt=o+1;o="filter_temp_"+o;jQuery.ui.jig[o]=j;j="jQuery.ui.jig."+o}else if(j.constructor&&j.constructor.toString().indexOf("RegExp")>0)m="-regexp";else if(b)m="-insensitive";f=l!==null?f.find("td"+h+":"+k+"contains"+m+"("+j+")").parent():f.filter(":"+k+"contains"+m+"("+j+")");
-if(o)jQuery.ui.jig[o]=null}var p=this;if(d){g=d.not(f);var q=g.length,t=0;(function(){for(;t<q;){g.eq(t).addClass("ncbigrid-row-filtered").attr("isfiltered","true");t++}e()})()}else e()}},removeFilterRows:function(a,b,c,d,e){function g(){if(l){jQuery.ui.jig[l]=null;a=j}m.options.isPageable&&m._gotoPage(0);m.element.trigger("ncbigridfilterremoved",[a,b,c]);m.options.isPageable?m._gotoPage(m.options.currentPage):m._notifyGridUpdated()}var f=null;if(typeof a!="undefined"&&a.length>0){if(typeof d==="undefined")d=
-true;var i="",h="";if(d||e){i=":not(";h=")"}var j=d="",l=null;if(typeof a==="function"){d="-functionTest";var k=this._custFilterCnt;this._custFilterCnt=k+1;l="filter_temp_"+k;j=jQuery.ui.jig[l]=a;a="jQuery.ui.jig."+l}else if(a.constructor&&a.constructor.toString().indexOf("RegExp")>0)d="-regexp";else if(b)d="-insensitive";e=e?"not-":"";if(typeof c!="undefined"&&c!==null){i="tbody tr[isfiltered='true'] td:nth-child("+c+")"+i+":"+e+"contains"+d+"("+a+")"+h;f=this.element.find(i).parent()}else{i="tbody tr[isfiltered='true']"+
-i+":contains"+d+"("+a+")"+h;f=this.element.find(i)}}else f=this.element.find("tr.ncbigrid-row-filtered");var m=this;if(f!==null){var o=f.length,p=0;(function(){for(;p<o;){f.eq(p).removeClass("ncbigrid-row-filtered").attr("isfiltered","false");p++}g()})()}else g()},showColumn:function(a){var b=this.element;if(this.options.isScrollable)b=b.add(this.parts.headerWrapper.find("table"));b.children().find(">tr>*:nth-child("+a+")").removeClass("ui-ncbigrid-column-hidden");this._setColumnHiddenData(a,false);
-this.element.trigger("showColumn",[a]);this._notifyGridUpdated()},hideColumn:function(a){var b=this.element;if(this.options.isScrollable)b=b.add(this.parts.headerWrapper.find(">table"));b.children().find(">tr>*:nth-child("+a+")").addClass("ui-ncbigrid-column-hidden");this._setColumnHiddenData(a,true);this.element.trigger("hideColumn",[a]);this._notifyGridUpdated()},_setColumnHiddenData:function(a,b){var c=this.element.data("dataHiddenCols");c||(c=[]);c[a]=b;this.element.data("dataHiddenCols",c)},
-getHiddenShownColumns:function(){var a=[],b=[],c=this.element.data("dataHiddenCols");if(c)for(var d in c)c[d]?a.push(d):b.push(d);return{hidden:a,shown:b}},_attachLoadingMessageListener:function(){var a=this;this.element.bind("ncbigridshowloadingbar",function(){a._showLoadingMessage()}).bind("ncbigridhideloadingbar",function(){a._hideLoadingMessage()})},_showLoadingMessage:function(){if(this.options.isLoadingMessageShown){if(!this.isPopperAttached){this.element.parent().parent().ncbipopper({triggerPosition:"top center",
-destPosition:"top center",hasArrow:false,closeEvent:"custom",openEvent:"custom",openAnimation:"none",closeAnimation:"none",destText:this.options.loadingText,isDestElementCloseClick:false,isDocumentElementCloseClick:false,isEscapeKeyClose:false,isTriggerElementCloseClick:false});this.isPopperAttached=true}this.element.parent().parent().ncbipopper("open")}},_hideLoadingMessage:function(){this.options.isLoadingMessageShown&&this.element.parent().parent().ncbipopper("close")},_addRowClickWatcher:function(){var a=
-this;jQuery(this.element).on("click","tbody",function(b){b=jQuery(b.srcElement||b.target).closest("td");if(b.length===1){var c=b.closest("tr");a.element.trigger("ncbigridrowclick",[{row:c,cell:b,rowIndex:c[0].rowIndex,cellIndex:b[0].cellIndex}])}})},_notifyGridUpdated:function(){this.element.trigger("ncbigridupdated")},_notifyGridContentChanged:function(){this.element.trigger("ncbigridcontentchanged")},addHTMLRowData:function(a,b,c,d){var e=this.getRowCount(),g="";if(typeof b=="undefined")g=":last-child";
-else{if(b>e)b=e;else if(b<0){b=1;c="before"}g=":nth-child("+b+")"}b=d!==undefined?":eq("+d+")":"";if(e===0)jQuery("tbody"+b+g,this.element).append(a);else c&&c.toLowerCase()==="before"?jQuery("tbody"+b+" tr"+g,this.element).before(a):jQuery("tbody"+b+" tr"+g,this.element).after(a);this.options.isPageable?this._gotoPage(this.options.currentPage):this._notifyGridUpdated();this._notifyGridContentChanged()},_deleteRowHelper:function(a,b){b=b!==undefined?":eq("+b+")":"";a?this.element.find("tbody"+b+" tr"+
-a).remove():this.element.find("tbody"+b).empty()},deleteAllRows:function(){this._deleteRowHelper();this.options.isPageable&&this._gotoPage(0);this._notifyGridUpdated();this._notifyGridContentChanged()},deleteRow:function(a,b){if(typeof a!="undefined"){a=jQuery.isArray(a)?a.sort():[a];for(var c=a.length-1;c>=0;c--)this._deleteRowHelper(":nth-child("+a[c]+")",b);this.options.isPageable&&this._gotoPage(this.options.currentPage);this._notifyGridUpdated();this._notifyGridContentChanged()}},getCellData:function(a,
-b,c){if(!(typeof a=="undefined"||typeof b=="undefined")){a=jQuery("tbody"+(c!==undefined?":eq("+c+")":"")+" tr:nth-child("+a+") td:nth-child("+b+")",this.element);if(a.length==0)return null;return this._getCellValue(a,b)}},getColumnCount:function(a){a=a===false?":visible":"";a=jQuery(this.element).find("tbody tr:not(.ui-ncbigrid-rowHidden):eq(0) td"+a).length;if(a===0)a=jQuery(this.element).find("> thead tr:last th").length;return a},getColumnData:function(a,b){if(typeof a==="undefined")return null;
-else if(jQuery.isArray(a)){for(var c=[],d=0;d<a.length;d++){if(a[d]<=0||a[d]>this.getColumnCount())c.push(null);c.push(this._getColumnDataHelper(a[d]),b)}return c}else{if(a<=0||a>this.getColumnCount())return null;return this._getColumnDataHelper(a,b)}},_getColumnDataHelper:function(a,b){var c=[],d=this,e=this._getColumnType(a-1);if(e==="str"||!e)e="str-sensitive";jQuery("tbody"+(b!==undefined?":eq("+b+")":"")+" tr td:nth-child("+a+")",this.element).each(function(g,f){c.push(d._csColumnTypeConversion(f,
-e,true))});if(c.length!==0)return c},getRowData:function(a,b){if(typeof a!=="undefined")if(jQuery.isArray(a)){for(var c=[],d=0;d<a.length;d++)c.push(this._getRowDataHelper(a[d]),b);return c}else return this._getRowDataHelper(a,b)},_getRowDataHelper:function(a,b){var c=[],d=this;jQuery("tbody"+(b!==undefined?":eq("+b+")":"")+" tr:nth-child("+a+") td",this.element).each(function(e){c.push(d._getCellValue(jQuery(this),e))});if(c.length!==0)return c},highlightRows:function(a,b,c,d){var e=jQuery.browser.msie&&
-parseFloat(jQuery.browser.version)<7;if(!(typeof a=="undefined"||a.length===0)){this.element.trigger("ncbigridshowloadingbar");var g=[],f=b?"-insensitive":"";d=d?"not-":"";if(a.constructor&&a.constructor.toString().indexOf("RegExp")>0){f="-regexp";d=""}typeof c!="undefined"?jQuery("tbody tr td"+(":nth-child("+c+")")+":"+d+"contains"+f+"("+a+")",this.element).each(function(i,h){i=jQuery(h).parent();h="ui-ncbigrid-high";if(e)h=i.hasClass("ui-ncbigrid-row-even")?"ui-ncbigrid-row-even-high-IE6":"ui-ncbigrid-row-odd-high-IE6";
-i.addClass(h);jQuery.inArray(i,g)===-1&&g.push(i)}):jQuery("tbody tr:"+d+"contains"+f+"("+a+")",this.element).each(function(i,h){i=jQuery(h);h="ui-ncbigrid-high";if(e)h=i.hasClass("ui-ncbigrid-row-even")?"ui-ncbigrid-row-even-high-IE6":"ui-ncbigrid-row-odd-high-IE6";i.addClass(h);g.push(i)});this.element.trigger("ncbigridhighlightapplied",[a,b,c,g]).trigger("ncbigridhideloadingbar");return{highlightedRows:g}}},removeHighlightRows:function(a,b,c,d){var e=jQuery.browser.msie&&parseFloat(jQuery.browser.version)<
-7;if(typeof a!="undefined"&&a.length>0){var g=[],f=b?"-insensitive":"";d=d?"not-":"";if(a.constructor&&a.constructor.toString().indexOf("RegExp")>0){f="-regexp";d=""}typeof c!="undefined"?jQuery("tbody tr td"+(":nth-child("+c+")")+":"+d+"contains"+f+"("+a+")",this.element).each(function(i,h){i=jQuery(h).parent().removeClass("ui-ncbigrid-high");e&&i.removeClass("ui-ncbigrid-row-odd-high-IE6").removeClass("ui-ncbigrid-row-even-high-IE6");jQuery.inArray(i,g)===-1&&g.push(i)}):jQuery("tbody tr:"+d+"contains"+
-f+"("+a+")",this.element).each(function(i,h){i=jQuery(h).removeClass("ui-ncbigrid-high");e&&i.removeClass("ui-ncbigrid-row-odd-high-IE6").removeClass("ui-ncbigrid-row-even-high-IE6");g.push(i)})}else{jQuery(".ui-ncbigrid-high",this.element).removeClass("ui-ncbigrid-high");e&&jQuery(".ui-ncbigrid-row-odd-high-IE6, .ui-ncbigrid-row-even-high-IE6",this.element).removeClass("ui-ncbigrid-row-odd-high-IE6").removeClass("ui-ncbigrid-row-even-high-IE6")}this.element.trigger("ncbigridhighlightremoved",[a,
-b,c])},setCellData:function(a,b,c,d){jQuery("tbody"+(d!==undefined?":eq("+d+")":"")+" tr:nth-child("+a+") td:nth-child("+b+")",this.element).text(c);this.element.trigger("ncbigridcellchange",[a,b,this.getCellData(a,b)]);this._notifyGridUpdated();this._notifyGridContentChanged()},setRowData:function(a,b,c){jQuery("tbody"+(c!==undefined?":eq("+c+")":"")+" tr:nth-child("+a+") td",this.element).each(function(d,e){jQuery(e).text(b[d])});this.element.trigger("ncbigridrowchange",[a,this.getRowData(a,c)]);
-this._notifyGridUpdated();this._notifyGridContentChanged()},_enableCollapseTbodyRows:function(a){if(this.options.collapseRowsEnabled){a||(a=jQuery(this.element).find("tbody tr:has(th)"));var b=this;jQuery(a).each(function(){jQuery(this).addClass("ui-ncbigrid-collapsable").find("th").eq(0).prepend('<span class="collapsableTbodyIcon ui-icon ui-icon-plus-minus-big-open"></span>').find("span").click(function(c){c.stopPropagation();b._collapseTbodyRows(this.parentNode.parentNode)}).end().end().not(".ignoreCollapse").click(function(){b._collapseTbodyRows(this.parentNode)})})}},
-_collapseTbodyRows:function(a){jQuery(a).find("th span.collapsableTbodyIcon").toggleClass("ui-icon-plus-minus-big").toggleClass("ui-icon-plus-minus-big-open").end().siblings().toggleClass("collapsed")}});jQuery.extend(jQuery.expr[":"],{"contains-insensitive":function(a,b,c){return(a.textContent||a.innerText||"").toLowerCase().indexOf((c[3]||"").toLowerCase())>=0}});
-jQuery.extend(jQuery.expr[":"],{"contains-regexp":function(a,b,c){a=jQuery.trim(a.textContent||a.innerText||"");c=c[3];b=c.match(/\/([gi]+)$/);b=b!==null?b[1]:"";c=c.replace(/\/[gi]?$/,"").replace(/^\//,"");return a.match(new RegExp(c,b))!==null}});jQuery.extend(jQuery.expr[":"],{"contains-functionTest":function(a,b,c){a=a.textContent||a.innerText||"";return jQuery.ui.jig._getFncFromStr(c[3])(a)}});
-jQuery.extend(jQuery.expr[":"],{"not-contains":function(a,b,c){return(a.textContent||a.innerText||"").indexOf(c[3]||"")===-1}});jQuery.extend(jQuery.expr[":"],{"not-contains-insensitive":function(a,b,c){return(a.textContent||a.innerText||"").toLowerCase().indexOf((c[3]||"").toLowerCase())===-1}});
--- a/Blast output page example_files/jquery_007.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-html .ui-ncbimenu>li>a{color:#fff;}.jig-ncbimenu li.offscreen_noflow{position:absolute;left:-1000px;}.jig-ncbimenu{clear:both;}.jig-ncbimenu ul{display:none;}.jig-ncbimenu>li{display:inline;float:left;}ul.ui-ncbibasicmenu li{display:block;margin:0;}.ui-ncbimenu li>a{background-color:transparent;border:0;}.ui-ncbimenu ul{-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;border:1px solid #CCC;-webkit-box-shadow:.4em .4em .5em rgba(0,0,0,.3);-moz-box-shadow:.4em .4em .5em rgba(0,0,0,.3);box-shadow:.4em .4em .5em rgba(0,0,0,.3);}.ui-ncbimenu li.active a{background-color:#4c96df;}.ui-ncbimenu>li a:focus{outline:0;}.ui-ncbimenu li a.expandDown{padding-right:20px;background:url("../img/arrow-sprite.png") no-repeat scroll 96% -6% #FFF;}.ui-ncbimenu li a.expandRight{background:url("../img/arrow-sprite.png") no-repeat scroll 96% 106% #FFF;}.ui-ncbimenu>li>a.expandDown,.ui-ncbimenu>li>a.expandRight{background-color:transparent;}.ui-ncbimenu li>a:hover.expandRight{background:url("../img/arrow-sprite.png") no-repeat scroll 96% 106% #4C96DF;}.ui-ncbimenu li.ui-ncbimenu-item-no-hlt>a:hover.expandRight,.ui-ncbimenu li.ui-ncbimenu-item-skip>a:hover.expandRight{background-color:transparent;}.ui-ncbimenu li ul{display:none;z-index:200;}ul.ui-ncbimenu li ul li a{background-color:#fff;}.ui-ncbimenu ul{position:absolute;display:none;}.ui-ncbimenu>li a:hover,.ui-ncbimenu li.selected>a{background-color:#4C96DF;color:#fff;}.ui-ncbimenu li ul.ncbibasicmenu li.ui-ncbimenu-item-no-hlt,.ui-ncbimenu li ul.ncbibasicmenu li.ui-ncbimenu-item-skip{background-color:#FFF;}.ui-ncbimenu li.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbimenu li.selected.ui-ncbimenu-item-no-hlt>a,.ui-ncbimenu li.ui-ncbimenu-item-skip a:hover,.ui-ncbimenu li.selected.ui-ncbimenu-item-skip>a{color:#fff;}.ui-ncbimenu li ul li.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbimenu li ul li.selected.ui-ncbimenu-item-no-hlt>a,.ui-ncbimenu li ul li.ui-ncbimenu-item-skip a:hover,.ui-ncbimenu li ul li.selected.ui-ncbimenu-item-skip>a{color:#14376C;background-color:transparent;}.ui-ncbimenu .oneLevel li.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbimenu.ui-ncbibasicmenu>li.ui-ncbimenu-item-no-hlt>a:hover,.ui-ncbimenu .oneLevel li.ui-ncbimenu-item-skip a:hover,.ui-ncbimenu.ui-ncbibasicmenu>li.ui-ncbimenu-item-skip>a:hover{background-color:transparent;}.ui-ncbimenu .ui-ncbimenu-item-leaf{margin:0 .75em 0 0;}.ui-ncbimenu .ui-ncbimenu-item-leaf>a:hover{background-color:transparent;}.ui-ncbimenu:before,.ui-ncbimenu:after{content:"";display:table;}.ui-ncbimenu{*zoom:1;}
\ No newline at end of file
--- a/Blast output page example_files/jquery_007.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-jQuery.widget("ui.ncbibasicmenu",{options:{defaultSelection:-1,allowMultipleSelections:false,orientation:"vertical",preventDefaultCheck:true,stopPropagationCheck:true,normalizeSubsToOneLevel:false,disableSelect:false},styles:{itemNoHilite:"ui-ncbimenu-item-no-hlt",itemSkip:"ui-ncbimenu-item-skip"},_init:function(){this._loadedOnce&&this.rescan();this._loadedOnce=true},_create:function(){this._setSelectorString();this._addClasses();this._formatList();this._addEvents();this._setUpDefaults();this._setTabIndex();
-this._addAria()},rescan:function(){this._addClasses();this._setTabIndex();this._addAria();this._destroyFocusEvents();this._setUpFocusEvents()},destroy:function(){this._destroyTabIndex();this._destroyClasses();this._destroyEvents();this._destroyAria();this._destroyFormatList()},_setSelectorString:function(){var a=">";if(this.options.normalizeSubsToOneLevel){a="";this.element.addClass("oneLevel")}this._liSelector=a+"li:not(.ui-ncbimenu-item-skip)"},_addClasses:function(){this.isVert=this.options.orientation===
-"vertical";var a="ui-ncbibasicmenu";this.isVert||(a+=" orientation_hort");this.element.addClass(a)},_destroyClasses:function(){this.element.removeClass("ui-ncbibasicmenu")},_setUpDefaults:function(){this.selectedOption=this.options.defaultSelection;if(this.selectedOption!==-1){var a=this.element.find(this._liSelector+">a");if(this.options.allowMultipleSelections)for(var b=0;b<this.selectedOption.length;b++)this._makeSelection(a.eq(this.selectedOption[b]),"load");else this._makeSelection(a.eq(this.selectedOption),
-"load")}},_formatList:function(){},_destroyFormatList:function(){},_setTabIndex:function(){var a=this.element.find(this._liSelector+">a").attr("tabindex","-1"),b=this.element.find(this._liSelector+".selected>a");if(b.length>0)b=b.eq(0);else{var c=0;for(b=a.eq(0);b.is("."+this.styles.itemSkip+" a")&&c<a.length-1;){c+=1;b=a.eq(c)}}this.options.nested||b.removeAttr("tabindex")},_destroyTabIndex:function(){this.element.find(this._liSelector+">a").removeAttr("tabindex")},_addEvents:function(){this._setUpKeyListener();
-this._setUpClickEvents();this._setUpFocusEvents();this._setUpHoverEvents()},_destroyEvents:function(){this._destroyKeyListener();this._destroyClickEvents();this._destroyFocusEvents();this._destroyHoverEvents()},_setUpKeyListener:function(){if(!this._menuKeyListener){var a=this;this._menuKeyListener=function(b){if(a.element.is(":visible"))if(a._keyPressDetected(b.keyCode)){b.preventDefault();a.options.stopPropagationCheck&&b.stopPropagation()}};jQuery(document).keydown(this._menuKeyListener)}},_destroyKeyListener:function(){if(this._menuKeyListener){jQuery(window).unbind("keydown",
-this._menuKeyListener);this._menuKeyListener=null}},_setUpClickEvents:function(){var a=this;this._ulClickEvent=function(b){var c=b.srcElement||b.target;if(c){a.options.disableSelect||a._makeSelection(jQuery(c),"click");a.options.stopPropagationCheck&&b.stopPropagation();a.options.preventDefaultCheck&&jQuery(c).siblings("ul").length===1&&b.preventDefault()}};this.element.on("click.ncbibasicmenu",this._ulClickEvent)},_destroyClickEvents:function(){this.element.off("click",this._ulClickEvent)},_setUpFocusEvents:function(){var a=
-this;this._focusFnc=function(){a._menuFocused(this)};this._blurFnc=function(){a._menuBlured(this)};this.element.find(this._liSelector+">a").on("blur",this._blurFnc).on("focus",this._focusFnc)},_destroyFocusEvents:function(){this.element.find(this._liSelector+">a").off("blur",this._blurFnc).off("focus",this._focusFnc)},focus:function(){this._menuFocused(null)},_menuFocused:function(a){this._lastAnchor=a;this._isFocused=true},_menuBlured:function(a){if(this._lastAnchor==a)this._isFocused=false},removeFocus:function(){this._menuBlured()},
-_setUpHoverEvents:function(){var a=this;this._mouseEnterFnc=function(b){b=jQuery(b.target).closest("li");!b.hasClass(a.styles.itemNoHilite)&&!b.hasClass(a.styles.itemSkip)&&b.addClass("hover")};this.mouseLeaveFnc=function(){jQuery(this).removeClass("hover")};this.element.on("mouseenter","li",this._mouseEnterFnc).on("mouseleave","li",this.mouseLeaveFnc)},_destroyHoverEvents:function(){this.element.off("mouseenter",this._mouseEnterFnc).off("mouseleave",this.mouseLeaveFnc);this.mouseLeaveFnc=this._mouseEnterFnc=
-null},_makeSelection:function(a,b){var c=a.parent("li");if(c.length===1){var d=c.hasClass("selected");this.options.allowMultipleSelections||this._removeAllSelections();if(!c.hasClass(this.styles.itemSkip)){c.hasClass(this.styles.itemNoHilite)||c[d?"removeClass":"addClass"]("selected");var e=d?"unselected":"selected";b!=="menunav"&&this._trigger(e,"x",[a,c,b]);if(b==="click"||b==="load")this.selectedOption=this.element.find(this._liSelector+".selected").index();else d||c.find(">a").focus()}}this._setTabIndex()},
-_keys:{up:38,down:40,left:37,right:39,enter:13,escape:27,tab:9},_keyPressDetected:function(a){var b=this._keys,c=false;if(this._isFocused&&this.element.has(this._liSelector+">a:focus"))switch(a){case b.up:this._upDownPressed(-1);c=true;break;case b.down:this._upDownPressed(1);c=true;break;case b.left:this._leftRightPressed(-1);c=true;break;case b.right:this._leftRightPressed(1);c=true;break;case b.enter:this._enterSelected();c=false;break;case b.escape:this._escapeTyped();c=false;break;case b.tab:this._trigger("tab");
-default:c=false}return c},_upDownPressed:function(a){this.isVert?this._moveSelection(a):this._trigger(a===1?"actiondown":"actionup","x",this.focusedElement())},_leftRightPressed:function(a){this.isVert?this._trigger(a===1?"actionright":"actionleft","x",this.focusedElement()):this._moveSelection(a)},focusedElement:function(){return this.selectedOption!==-1?this.element.find(this._liSelector).eq(this.selectedOption):this.element.find(this._liSelector+":has(>a:focus)")},moveSelection:function(a){this._moveSelection(a)},
-_getNextIndex:function(a,b,c){a=a+b;if(a<0)a=c-1;else if(a>c-1)a=0;return a},_moveSelection:function(a){for(var b=this.element.find(this._liSelector+">a"),c=this._getNextIndex(this.selectedOption,a,b.length);b.eq(c).closest("li").hasClass(this.styles.itemSkip);)c=this._getNextIndex(c,a,b.length);this.selectedOption=c;this._makeSelection(b.eq(c),"keyboard")},removeAllSelections:function(){this.selectedOption=-1;this._removeAllSelections();this._setTabIndex()},_removeAllSelections:function(){this.element.find(this._liSelector).removeClass("selected")},
-_enterSelected:function(){this._trigger("enter")},_escapeTyped:function(){this._trigger("escape","x",this.focusedElement())},_addAria:function(){var a=this.element.parents('[role="menubar"]'),b=this.element.find(this._liSelector),c=b.find(">a");this.element.attr("role",a.length===0?"menubar":"menu");b.attr("role","presentation");c.attr("role","menuitem")},_destroyAria:function(){var a=this.element.find(this._liSelector),b=a.find(">a");this.element.removeAttr("role");a.removeAttr("role");b.removeAttr("role")},
-selectFirstItem:function(){this.selectedOption=0;this._moveSelection(0)}});
--- a/Blast output page example_files/jquery_008.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-ul.jig-ncbilocalnav,ul.ui-ncbilocalnav{list-style:none;margin:0;padding:0;width:100%;}ul.jig-ncbilocalnav:after,ul.ui-ncbilocalnav:after{content:".";display:block;height:0;clear:both;visibility:hidden;*zoom:1;*display:block;}ul.jig-ncbilocalnav li,ul.ui-ncbilocalnav li{float:left;position:relative;list-style:none;display:block;}ul.jig-ncbilocalnav li a,ul.ui-ncbilocalnav li a{color:#444;text-decoration:none;display:block;padding:.15em 1em .15em 1em;zoom:1;}ul.jig-ncbilocalnav ul{display:none;}ul.ui-ncbilocalnav ul{margin:0;margin-left:0!important;display:none;border-width:1px 0 0 1px;width:200px;padding-left:0;-moz-box-shadow:.4em .4em .5em #999;-webkit-box-shadow:.4em .4em .5em #999;box-shadow:.4em .4em .5em #999;_margin-top:1px;}ul.ui-ncbilocalnav li.open ul{display:block;position:absolute;left:-1px;}ul.ui-ncbilocalnav li:first-child{margin-left:1.333em;}ul.ui-ncbilocalnav ul li:first-child{margin-left:0;}ul.ui-ncbilocalnav ul li{float:none;display:block;position:relative;*line-height:125%;zoom:1;}ul.ui-ncbilocalnav li.has-child ul{z-index:1003;}ul.ui-ncbilocalnav li:first-child{border-left:1px solid #b0b0b0;}ul.ui-ncbilocalnav ul li:first-child{border-left:0;}ul.ui-ncbilocalnav{border-top:1px solid #c4c4c4;border-bottom:1px solid #c4c4c4;}ul.ui-ncbilocalnav ul{border-left:1px solid #b0b0b0;}ul.ui-ncbilocalnav li{border-right:1px solid #c4c4c4;}ul.ui-ncbilocalnav ul li{border-bottom:1px solid #c4c4c4;}ul.ui-ncbilocalnav ul li:first-child{border-top:1px solid #b0b0b0;}ul.ui-ncbilocalnav li.active{border-right:1px solid #c4c4c4;*z-index:1005;}ul.ui-ncbilocalnav li.active ul li{*z-index:1006;}ul.ui-ncbilocalnav li.active,ul.ui-ncbilocalnav li.active ul li,ul.ui-ncbilocalnav li.hover,ul.ui-ncbilocalnav li.hover ul li{*z-index:1006;}ul.ui-ncbilocalnav li.selected>ul>li a{margin:0 .75em;padding:.15em 1.5em .15em .25em;}ul.ui-ncbilocalnav li.selected a{color:#444!important;background-color:transparent!important;}ul.ui-ncbilocalnav li.hover>a,ul.ui-ncbilocalnav li.hover.selected>a,ul.ui-ncbilocalnav li.selected>a{background-color:transparent!important;color:#444!important;}ul.ui-ncbilocalnav,ul.ui-ncbilocalnav li{background-color:#F4F4F4;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#F4F4F4));background-image:-webkit-linear-gradient(top,#fff,#F4F4F4);background-image:-moz-linear-gradient(top,#fff,#F4F4F4);background-image:-ms-linear-gradient(top,#fff,#F4F4F4);background-image:-o-linear-gradient(top,#fff,#F4F4F4);background-image:linear-gradient(top,#fff,#F4F4F4);}ul.ui-ncbilocalnav li.hover,ul.ui-ncbilocalnav li.selected{background-color:#E0E0E0;background-image:-webkit-gradient(linear,left top,left bottom,from(#F2F2F2),to(#E0E0E0));background-image:-webkit-linear-gradient(top,#F2F2F2,#E0E0E0);background-image:-moz-linear-gradient(top,#F2F2F2,#E0E0E0);background-image:-ms-linear-gradient(top,#F2F2F2,#E0E0E0);background-image:-o-linear-gradient(top,#F2F2F2,#E0E0E0);background-image:linear-gradient(top,#F2F2F2,#E0E0E0);}ul.ui-ncbilocalnav li li.hover{background-color:#EDEDED;background-image:-webkit-gradient(linear,left top,left bottom,from(#DEDEDE),to(#EDEDED));background-image:-webkit-linear-gradient(top,#DEDEDE,#EDEDED);background-image:-moz-linear-gradient(top,#DEDEDE,#EDEDED);background-image:-ms-linear-gradient(top,#DEDEDE,#EDEDED);background-image:-o-linear-gradient(top,#DEDEDE,#EDEDED);background-image:linear-gradient(top,#DEDEDE,#EDEDED);}.ui-ncbilocalnav>li>a.expandDown{background:url(../img/ncbilocalnav-arrow.png) no-repeat right 8px!important;_background-position:right 11px!important;padding:.15em 1.5em .15em .25em;margin:0 .75em;color:#444;}ul.ui-ncbilocalnav li.selected ul li a{background-image:none!important;zoom:1;}
\ No newline at end of file
--- a/Blast output page example_files/jquery_008.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-(function(b){var h,i,j,g,l=function(){var a=b(this).find(":ui-button");setTimeout(function(){a.button("refresh")},1)},k=function(a){var c=a.name,e=a.form,f=b([]);if(c)f=e?b(e).find("[name='"+c+"']"):b("[name='"+c+"']",a.ownerDocument).filter(function(){return!this.form});return f};b.widget("ui.button",{options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",l);if(typeof this.options.disabled!==
-"boolean")this.options.disabled=this.element.propAttr("disabled");this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var a=this,c=this.options,e=this.type==="checkbox"||this.type==="radio",f="ui-state-hover"+(!e?" ui-state-active":"");if(c.label===null)c.label=this.buttonElement.html();if(this.element.is(":disabled"))c.disabled=true;this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button",function(){if(!c.disabled){b(this).addClass("ui-state-hover");
-this===h&&b(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||b(this).removeClass(f)}).bind("click.button",function(d){if(c.disabled){d.preventDefault();d.stopImmediatePropagation()}});this.element.bind("focus.button",function(){a.buttonElement.addClass("ui-state-focus")}).bind("blur.button",function(){a.buttonElement.removeClass("ui-state-focus")});if(e){this.element.bind("change.button",function(){g||a.refresh()});this.buttonElement.bind("mousedown.button",function(d){if(!c.disabled){g=
-false;i=d.pageX;j=d.pageY}}).bind("mouseup.button",function(d){if(!c.disabled)if(i!==d.pageX||j!==d.pageY)g=true})}if(this.type==="checkbox")this.buttonElement.bind("click.button",function(){if(c.disabled||g)return false;b(this).toggleClass("ui-state-active");a.buttonElement.attr("aria-pressed",a.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled||g)return false;b(this).addClass("ui-state-active");a.buttonElement.attr("aria-pressed","true");
-var d=a.element[0];k(d).not(d).map(function(){return b(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")});else{this.buttonElement.bind("mousedown.button",function(){if(c.disabled)return false;b(this).addClass("ui-state-active");h=this;b(document).one("mouseup",function(){h=null})}).bind("mouseup.button",function(){if(c.disabled)return false;b(this).removeClass("ui-state-active")}).bind("keydown.button",function(d){if(c.disabled)return false;if(d.keyCode==b.ui.keyCode.SPACE||
-d.keyCode==b.ui.keyCode.ENTER)b(this).addClass("ui-state-active")}).bind("keyup.button",function(){b(this).removeClass("ui-state-active")});this.buttonElement.is("a")&&this.buttonElement.keyup(function(d){d.keyCode===b.ui.keyCode.SPACE&&b(this).click()})}this._setOption("disabled",c.disabled);this._resetButton()},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button";if(this.type==="checkbox"||this.type===
-"radio"){var a=this.element.parents().filter(":last"),c="label[for='"+this.element.attr("id")+"']";this.buttonElement=a.find(c);if(!this.buttonElement.length){a=a.length?a.siblings():this.element.siblings();this.buttonElement=a.filter(c);if(!this.buttonElement.length)this.buttonElement=a.find(c)}this.element.addClass("ui-helper-hidden-accessible");(a=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",a)}else this.buttonElement=this.element},
-widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active  ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());this.hasTitle||this.buttonElement.removeAttr("title");
-b.Widget.prototype.destroy.call(this)},_setOption:function(a,c){b.Widget.prototype._setOption.apply(this,arguments);if(a==="disabled")c?this.element.propAttr("disabled",true):this.element.propAttr("disabled",false);else this._resetButton()},refresh:function(){var a=this.element.is(":disabled");a!==this.options.disabled&&this._setOption("disabled",a);if(this.type==="radio")k(this.element[0]).each(function(){b(this).is(":checked")?b(this).button("widget").addClass("ui-state-active").attr("aria-pressed",
-"true"):b(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")});else if(this.type==="checkbox")this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false")},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var a=this.buttonElement.removeClass("ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only"),
-c=b("<span></span>",this.element[0].ownerDocument).addClass("ui-button-text").html(this.options.label).appendTo(a.empty()).text(),e=this.options.icons,f=e.primary&&e.secondary,d=[];if(e.primary||e.secondary){if(this.options.text)d.push("ui-button-text-icon"+(f?"s":e.primary?"-primary":"-secondary"));e.primary&&a.prepend("<span class='ui-button-icon-primary ui-icon "+e.primary+"'></span>");e.secondary&&a.append("<span class='ui-button-icon-secondary ui-icon "+e.secondary+"'></span>");if(!this.options.text){d.push(f?
-"ui-button-icons-only":"ui-button-icon-only");this.hasTitle||a.attr("title",c)}}else d.push("ui-button-text-only");a.addClass(d.join(" "))}}});b.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(a,c){a==="disabled"&&this.buttons.button("option",a,c);b.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var a=this.element.css("direction")===
-"rtl";this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(a?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(a?"ui-corner-left":"ui-corner-right").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");
-b.Widget.prototype.destroy.call(this)}})})(jQuery);
--- a/Blast output page example_files/jquery_009.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-document.times=0;
-jQuery.widget("ui.ncbipopper",{destTextCallbackCalledCount:0,options:{openMethod:"",openEvent:"mouseover",openAnimation:"slideDown",openAnimationTime:290,closeMethod:"",closeEvent:"mouseout",closeAnimation:"slideUp",closeAnimationTime:150,isEscapeKeyClose:true,isSourceElementCloseClick:false,isTriggerElementCloseClick:true,isTargetElementCloseClick:false,isDestElementCloseClick:false,isDocumentCloseClick:true,addCloseButton:false,adjustFit:"autoAdjust",delayTimeout:300,sourcePosition:"",destPosition:"top left",
-sourceSelector:"",destSelector:"",targetPosition:"",triggerPosition:"bottom right",sourceText:null,destText:null,multipleHandlesSelector:"",openAtTarget:false,hasArrow:false,arrowDirection:"left",groupName:null,width:null,height:null,cssClass:null,excludeBasicCssStyles:false,wrapElement:false,loadingText:"loading...",showLoadingMessage:true,isDestTextCacheable:true,resizable:false,openAtMousePosition:false},_create:function(){this._setUpDestElem();this._addEventHandlers();this._addEscapeListener();
-this._addDocumentClickListener();this._addResizeListener();this._addCloseButton();this._addSharingDetails();this._addPopperHover();this.addTriggerAria()},updateTriggers:function(){this._addEventHandlers();this._addDocumentClickListener();this.addTriggerAria()},destroy:function(){jQuery.Widget.prototype.destroy.apply(this,arguments);var a=this.isPopperShared();this._destroyDestAria();this._destroyTriggerAria();this._removeSharingDetails();this._destroyCloseButton(a);this._destroyResizeListener();this._destroyDocumentClickListener();
-this._destroyEscapeListener();this._removeEventHandlers();this._destroyDestElem(a)},getDestElement:function(a){var b=this.destElem;if(!this.origDestElem)this.origDestElem=b;if(b){if(a&&this._isWaitingToBeAddedToDom){a=jQuery("div.grid");a=a.length===1?a:jQuery(document.body);b.appendTo(a);this._isWaitingToBeAddedToDom=true;this._getActualText(b)}}else{b=this.options.destSelector||this.options.sourceSelector||this.element.prop("hash");a=this.options.destText||this.options.sourceText;if(b){b=jQuery(b);
-if(b.length===0)b=this._createTextHolder()}else if(a)b=this._createTextHolder();else throw"The popper can not find the popper element or text to display";if(this.options.wrapElement){if(!b.parent().hasClass("ui-ncbipopper-wrapper")){b.wrap('<div style="display:none"></div>');b.show()}if(!this.origDestElem)this.origDestElem=b;b=b.parent()}this.destElem=b;this._addDestAria()}if(!this.origDestElem)this.origDestElem=this.destElem;return b},_createTextHolder:function(){var a=jQuery('<div><div class="ui-ncbipopper-content"></div></div>');
-this._isWaitingToBeAddedToDom=true;return a},_getActualText:function(a){if(!this.isFunctionResultCached){var b=this.options.destText||this.options.sourceText,c=this._getFunction(b);if(typeof c==="function")b=this._getText(c);a.css("display","none").attr("generated","true").find(".ui-ncbipopper-content").html(b)}},_getFunction:function(a){var b=null;if(jQuery.ui.jig&&jQuery.ui.jig._getFncFromStr)b=jQuery.ui.jig._getFncFromStr(a);else if(typeof a==="function")b=a;return b},getDestTextCallbackCalledCount:function(){return this.destTextCallbackCalledCount},
-_getText:function(a){if(!(this.options.isDestTextCacheable&&this.getTextCalled||this.callbackInProgress)){this.getTextCalled=true;a||(a=this._getFunction(this.options.destText||this.options.sourceText));var b=this;this.callbackInProgress=true;a=a.call(this.element[0],function(c){b._setHTML(c);b.destTextCallbackCalledCount++;b.callbackInProgress=false})||this.options.loadingText;if(a!==this.options.loadingText)this.isFunctionResultCached=this.options.isDestTextCacheable;return a}},reloadContent:function(){var a=
-this._getText(),b=this.getDestElement().find(".ui-ncbipopper-content");b&&b.html(a);return this.element},_setHTML:function(a){var b=this.getDestElement().find(".ui-ncbipopper-content");if(b){b.html(a);this.isFunctionResultCached=this.options.isDestTextCacheable;!this.options.showLoadingMessage&&!this.isPopperDisplayed&&this._openAnimation()}},_setUpDestElem:function(){var a=this.getDestElement().addClass("ui-ncbipopper-wrapper");this.options.excludeBasicCssStyles||a.addClass("ui-ncbipopper-basic");
-this.options.resizable&&a.resizable();var b=this.options.cssClass;b&&a.addClass(b);this.options.width!==null&&a.width(this.options.width);this.options.height!==null&&a.height(this.options.height);this._resetElementPosition(a);a.removeClass("offscreen_noflow").hide();a.data("isOpen",false)},_setArrowDirection:function(){if(this.options.hasArrow){var a=this.options.arrowDirection;this._arrow&&this._arrow.removeClass("ui-ncbipopper-arrow-top ui-ncbipopper-arrow-bottom  ui-ncbipopper-arrow-left  ui-ncbipopper-arrow-right").addClass("ui-ncbipopper-arrow-"+
-a)}},_setUpArrow:function(a,b,c){if(this.options.hasArrow){var d=this.options.arrowDirection;if(this._arrow)this._arrow.removeClass("ui-ncbipopper-arrow-top ui-ncbipopper-arrow-bottom  ui-ncbipopper-arrow-left  ui-ncbipopper-arrow-right").addClass("ui-ncbipopper-arrow-"+d);else this._arrow=jQuery('<div class="ui-ncbipopper-arrow-image ui-ncbipopper-arrow-'+d+'">&nbsp;</div>').appendTo(document.body);a=this._getPositionSettings(a,"arrow",c);this._arrow.show().position({my:a.dest,of:this._activeTrigger||
-a.triggerElement||this.element,at:a.trigger,offset:a.offset,collision:"none"});if(b||this._arrowOverlapsPopper())this._arrow.hide()}},_destroyDestElem:function(a){a||this.getDestElement().removeClass("ui-ncbipopper-wrapper ui-ncbipopper-basic ui-ncbipopper-wrapper-relative-parent").attr("style","").show();this.options.wrapElement&&this.origDestElem.unwrap();this.destElem=null},_addEventHandlers:function(){var a=this,b=this.element,c=this.options.multipleHandlesSelector;if(c&&c.length>0)b=b.add(c);
-var d=this.options.openMethod||this.options.openEvent,e=this.options.closeMethod||this.options.closeEvent;if(d===e&&e==="click"){this._openFunction=function(f){a._toggle(f,f.currentTarget);f.preventDefault()};b.on("click",this._openFunction)}else{c={timeout:this.options.delayTimeout};if(d==="mouseover")c.over=function(f){a._isOverTrigger=true;a.open(f,this)};else{c.over=function(){a._isOverTrigger=true};this._openFunction=function(f){if(d==="click")if(a.option.isTriggerElementCloseClick){a._toggle(f,
-this);f.preventDefault()}else{a.isOpen(this)||f.preventDefault();a.open(f,this)}else a.open(f,this)};b.on(d,this._openFunction)}if(e==="mouseout")c.out=function(){a._isOverTrigger=false;a.isOpen(this)&&!a._isOverPopper&&a.close()};else{c.out=function(){};this._closeFunction=function(f){a.close();e==="click"&&f.preventDefault()};b.on(e,this._closeFunction)}if(d==="mouseover"||e==="mouseout")b.hoverIntent(c);if(this.options.isTriggerElementCloseClick&&e!=="click"&&d!=="click"){this._closeFunction2=
-function(f){a.isOpen(b)&&a.close();f.preventDefault()};b.on("click",this._closeFunction2)}}if(this.options.isDestElementCloseClick){this._closeFunctionPopper=function(f){a.isOpen(b)&&a.close();f.preventDefault()};this.getDestElement().on("click",this._closeFunctionPopper)}},_removeEventHandlers:function(){var a=this.element,b=this.getDestElement(),c=this.options.multipleHandlesSelector;if(c&&c.length>0)a=a.add(c);a.off("mouseover mouseout");if(this._openFunction){a.off(this.options.openMethod||this.options.openEvent,
-this._openFunction);this._openFunction=null}if(this._closeFunction){a.off(this.options.closeMethod||this.options.closeEvent,this._closeFunction);this._closeFunction=null}if(this._closeFunction2){a.off("click",this._closeFunction2);this._closeFunction2=null}if(this._closeFunctionPopper){b.off("click",this._closeFunctionPopper);this._closeFunctionPopper=null}},_toggle:function(a,b){this.isOpen(b)?this.close():this.open(a,b);a&&a.preventDefault&&a.preventDefault();return this.element},_arrowOverlapsPopper:function(){var a=
-this.getDestElement(),b=Math.floor(a.position().top),c=Math.floor(a.position().left),d=Math.floor(c+a.outerWidth());a=Math.floor(b+a.height());var e=this._arrow,f=Math.floor(e.position().top),g=Math.floor(e.position().left);Math.floor(g+e.width());var h=Math.floor(f+e.height());c=g>c&&g<d||g+e.css("width")>c&&g+e.css("width")<d;b=f>b&&f<a||f+e.css("height")>b&&h+e.css("height")<a;return c&&b?true:false},_openAnimation:function(a){function b(){var k=d.outerHeight(),l=jQuery(window).height();k>l&&d.css({"max-height":l-
-45+"px",overflow:"auto"});jQuery(window).trigger("resize")}var c=this,d=this.getDestElement().data("isOpening",this.element).stop(true,true),e=this._arrow,f=this.options.openAnimation,g=function(){c._trigger("opencomplete");c.getDestElement().data("isOpening",null);jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<=7&&c._positionPopper(a,false,true);b()},h=function(k){e.fadeTo(0,0);window.setTimeout(function(){e.stop(true,true).show();c._arrowOverlapsPopper()||e.css("opacity",1)},k)};if(f===
-"none"||this.isOpen()){d.show();e&&h(0);g()}else{var j=this.options.openAnimationTime;if(e){var i=0;if(e==="top")i=0;else if(e==="bottom")i=j;else{i=parseInt(e.css("top"),10)-parseInt(d.css("top"),10);var m=d.height()||i;i=i/m*j;if(i>j)i=j}h(i)}d[f](j,g)}},open:function(a,b){if(!b)b=this.element;if(this.options.openAtTarget){if(this._activeTrigger!==b){this.getDestElement().hide();this.getDestElement().data("isOpen",false)}this._activeTrigger=b}else this._activeTrigger=this.element;b=this.getDestElement();
-var c=b.data("isOpening");if(c&&c[0]!==this.element[0])(b.data("closeFnc")||function(){})(true);this._handleSharedPoppersOpen();this._handleGroupsOpen();b.data("isOpening",this.element);this._setUpArrow(a,true,true);jQuery.browser.msie&&this._positionPopper(a,true,true);this._setParentsZIndex(11);this._positionPopper(a,true,true);this._trigger("open");this.options.destText&&!this.options.showLoadingMessage&&!this.isFunctionResultCached||this._openAnimation(a);this._setAriaState(true);this.getDestElement().data("isOpen",
-true);return this.element},_handleGroupsOpen:function(){var a=this.options.groupName;if(a){this.closeGroup(a);jQuery.ui.ncbipopper.openGroups[a]=this.element}},_closeAnimation:function(a){var b=this,c=function(){b._setParentsZIndex(1);b._trigger("closecomplete")},d=this.getDestElement().data("isOpening");if(d&&this.element[0]!=d[0])c();else{d=this.getDestElement().stop(true,true);var e=this.options.closeAnimation;if(e==="none"||a){d.hide();this._resetElementPosition(d);c()}else{var f=d;d[e](this.options.closeAnimationTime,
-function(){b._resetElementPosition(f);c()})}}a=this.getDestElement().data("popperTriggers");for(e=0;e<a.length;e++){d=jQuery.ui.jig.getElementWidgets(a[e],"ncbipopper")[0];var g=d._arrow;if(g){g.stop(true,true).hide();d._resetElementPosition(g)}}},close:function(a){if(this.isOpen(this._activeTrigger)){this._handleGroupsClose(a);this._trigger("close");this._activeTrigger=null;this._closeAnimation(a);this._setAriaState(false);this.getDestElement().data("isOpen",false);return this.element}},closeGroup:function(a){if(a=
-a||this.options.groupName)(a=jQuery.ui.ncbipopper.openGroups[a])&&jQuery.ui.jig.getElementWidgets(a,"ncbipopper")[0].close(true);return this.element},_handleGroupsClose:function(a){var b=this.options.groupName;if(!a&&b)jQuery.ui.ncbipopper.openGroups[b]=null},_determineAutoPosition:function(a){var b=jQuery(this._activeTrigger||this.element),c=b.offset(),d=this.getDestElement(true),e=jQuery(window);if(a){a=e.width();d=d.outerWidth();b=b.width();e=e.scrollLeft();if(d+b+c.left<a+e){c="right";b=e="left"}else{c=
-"left";b=e="right"}}else{a=e.height();d=d.outerHeight();b=b.height();e=e.scrollTop();if(d+b+c.top<a+e){c="bottom";b=e="top"}else{c="top";b=e="bottom"}}return{posT:c,posP:e,arrow:b}},_getPositionSettings:function(a,b,c){var d=this.options.sourcePosition||this.options.destPosition,e=this.options.targetPosition||this.options.triggerPosition;d=d.split(/\s/);e=e.split(/\s/);if(d[0]==="middle")d[0]="center";if(d[1]==="middle")d[1]="center";if(e[0]==="middle")e[0]="center";if(e[1]==="middle")e[1]="center";
-this.options.sourcePosition=null;this.options.destPosition=d.join(" ");this.options.targetPosition=null;this.options.triggerPosition=e.join(" ");var f;if(d[0]==="auto"){f=this._determineAutoPosition(false);d[0]=f.posP;e[0]=f.posT;this.options.arrowDirection=f.arrow;this._setArrowDirection(f.arrow)}if(d[1]==="auto"){f=this._determineAutoPosition(true);d[1]=f.posP;e[1]=f.posT;this.options.arrowDirection=f.arrow;this._setArrowDirection(f.arrow)}f=d[1]+" "+d[0];var g=e[1]+" "+e[0],h="0px 0px";if(this.options.hasArrow)h=
-b==="popper"?this._getPopperOffsets(d[0],d[1]):this._getArrowOffsets(d[0],d[1]);if(this.options.openAtMousePosition&&c){h.xOffset=a.pageX-jQuery(a.target).offset().left+(h.xOffset-0)+1;h.yOffset=a.pageY-jQuery(a.target).offset().top+(h.yOffset-0)}if(this._isArea===undefined)this._isArea=((this._activeTrigger?this._activeTrigger[0]:false)||this.element[0]).nodeName.toUpperCase()==="AREA";if(this._isArea){a=this._areaElementAdjustment(h,e);triggerElement=a.positionElement;h=a.offset;g="left top"}else triggerElement=
-null;if(this.options.openAtMousePosition&&c)g="left top";return{dest:f,trigger:g,offset:typeof h=="string"?h:h.xOffset+"px "+h.yOffset+"px",triggerElement:triggerElement}},_getArrowOffsets:function(a,b){var c="0",d="0";switch(this.options.arrowDirection){case "left":case "right":switch(a){case "top":d="-13";break;case "center":d="0";break;case "bottom":d="13";break;default:d="0";break}break;case "top":case "bottom":switch(b){case "left":c="-13";break;case "center":c="0";break;case "right":c="13";
-break;default:c="0";break}break;default:throw"Valid arrow directions are top, bottom, left, right";}return{xOffset:c,yOffset:d}},_getPopperOffsets:function(a,b){var c="0",d="0";c=this.options.arrowDirection;switch(c){case "left":case "right":c=c==="left"?"7":"-7";switch(a){case "top":d="-13";break;case "center":d="0";break;case "bottom":d="13";break;default:d="0";break}break;case "top":case "bottom":d=c==="top"?"7":"-7";switch(b){case "left":c="-13";break;case "center":c="0";break;case "right":c=
-"13";break;default:c="0";break}break;default:throw"Valid arrow directions are top, bottom, left, right";}return{xOffset:c,yOffset:d}},_areaElementAdjustment:function(a,b){a=typeof a=="string"?a.split(" "):[a.xOffset,a.yOffset];var c=parseInt(a[0],10);a=parseInt(a[1],10);var d=jQuery(this._activeTrigger||this.element).parent(),e=jQuery(this._activeTrigger||this.element[0])[0];d=jQuery("img[usemap='#"+(d[0].name||d[0].id)+"']");var f=e.shape||"rect";e=(e.coords||"").split(/\s?,\s?/g);d=d;var g=0,h=
-0;if(f==="circle"){if(b[0]=="top")h=parseFloat(e[1])-parseFloat(e[2]);else if(b[0]=="bottom")h=e[3]+parseFloat(e[2]);else if(b[0]=="center")h=parseFloat(e[1]);if(b[1]==="left")g=e[0]-parseFloat(e[2]);else if(b[1]==="right")g=e[2]+parseFloat(e[2]);else if(b[1]==="center")g=parseFloat(e[0])}else{if(b[0]=="top")h=parseFloat(e[1]);else if(b[0]=="bottom")h=parseFloat(e[3]);else if(b[0]=="center")h=(parseFloat(e[1])+parseFloat(e[3]))/2;if(b[1]==="left")g=parseFloat(e[0]);else if(b[1]==="right")g=parseFloat(e[2]);
-else if(b[1]==="center")g=(parseFloat(e[0])+parseFloat(e[2]))/2}g+=c;h+=a;return{positionElement:d,offset:g+"px "+h+"px"}},_getCollisionSetting:function(){var a=this.options.adjustFit;return a=a==="autoAdjust"||a==="slide"?"fit":"none"},_resetElementPosition:function(a){a.css("top","-100px").css("left","-100px")},_positionPopper:function(a,b,c){a=this._getPositionSettings(a,"popper",c);c=this._getCollisionSetting();var d=a.triggerElement||this.options.openAtTarget&&this._activeTrigger||this.element;
-a=this.getDestElement(true).stop().show().position({my:a.dest,of:d,at:a.trigger,offset:a.offset,collision:c}).data("attached-to",d);b&&a.hide();document.times++},_addEscapeListener:function(){if(this.options.isEscapeKeyClose){this._registerGlobalEscapeListener();var a=this;this._ncbipopperescapepressedFunction=function(){a.close()};jQuery(document).bind("ncbipopperescapepressed",this._ncbipopperescapepressedFunction)}},_destroyEscapeListener:function(){if(this._ncbipopperescapepressedFunction){jQuery(document).unbind("ncbipopperescapepressed",
-this._ncbipopperescapepressedFunction);this._ncbipopperescapepressedFunction=null}},_registerGlobalEscapeListener:function(){if(!jQuery.ui.ncbipopper.globalEvents.isGlobalEscapeRegistered){jQuery.ui.ncbipopper.globalEvents.isGlobalEscapeRegistered=true;var a=document,b="keypress";if(!jQuery.browser.msie&&!jQuery.browser.mozilla){a=window;b="keydown"}jQuery(a)[b](function(c){c.keyCode===27&&jQuery(document).trigger("ncbipopperescapepressed")})}},_addDocumentClickListener:function(){if(this.options.isDocumentCloseClick){this._registerGlobalClickListener();
-var a=this;this._ncbipopperdocumentclickFunction=function(b,c){a._checkDocumentClick(b,c)};jQuery(document).bind("ncbipopperdocumentclick",this._ncbipopperdocumentclickFunction)}},_destroyDocumentClickListener:function(){this._ncbipopperdocumentclickFunction&&jQuery(document).unbind("ncbipopperdocumentclick",this._ncbipopperdocumentclickFunction)},_registerGlobalClickListener:function(){if(!jQuery.ui.ncbipopper.globalEvents.isGlobalClickRegistered){jQuery.ui.ncbipopper.globalEvents.isGlobalClickRegistered=
-true;jQuery(document).click(function(a){jQuery(document).trigger("ncbipopperdocumentclick",[a.srcElement||a.target])})}},_checkDocumentClick:function(a,b){if(b&&this.isOpen()){b=jQuery(b);if(!(this._isSameElementOrChild(jQuery(this.element),b)||this._isSameElementOrChild(this.getDestElement(),b)))if(!(jQuery.ui.jig.getElementWidgets(jQuery(b),"ncbipopper")[0]&&this.getDestElement()[0]==jQuery.ui.jig.getElementWidgets(jQuery(b),"ncbipopper")[0].getDestElement()[0])){if(a=this.options.multipleHandlesSelector){var c=
-false,d=this;jQuery(a).each(function(){if(d._isSameElementOrChild(jQuery(this),b))c=true});if(c)return}this.close()}}},_isSameElementOrChild:function(a,b){return a[0]==b[0]||jQuery(a).has(b).length===1},_addResizeListener:function(){this._registerGlobalResizeListener();var a=this;this.ncbipopperdocumentresizeFunction=function(b){a._pageResized(b)};jQuery(window).bind("ncbipopperdocumentresize",this.ncbipopperdocumentresizeFunction)},_destroyResizeListener:function(){if(this.ncbipopperdocumentresizeFunction){jQuery(window).unbind("ncbipopperdocumentresize",
-this.ncbipopperdocumentresizeFunction);this.ncbipopperdocumentresizeFunction=null}},_registerGlobalResizeListener:function(){if(!jQuery.ui.ncbipopper.globalEvents.isGlobalResizeRegistered){jQuery.ui.ncbipopper.globalEvents.isGlobalResizeRegistered=true;jQuery(window).on("resize scroll",function(){jQuery(window).trigger("ncbipopperdocumentresize")})}},_pageResized:function(a){if(this.isOpen()){this._positionPopper(a);this._setUpArrow(a)}},_addCloseButton:function(){if(this.options.addCloseButton){var a=
-this.getDestElement(),b=a.find(".ui-ncbipopper-close-button, .ncbipopper-close-button");if(b.length===0){b=jQuery("<button class='ui-ncbipopper-close-button ui-ncbipopper-close-button-generated'>x</button>").attr("generated","true").prependTo(a);b.ncbibutton({color:"blue"})}if(b){var c=this;this._closeButtonFunction=function(d){c.close();d.preventDefault()};b.on("click",this._closeButtonFunction)}}},_destroyCloseButton:function(a){this._closeButtonFunction&&this.getDestElement().find(".ui-ncbipopper-close-button, .ncbipopper-close-button").off("click",
-this._closeButtonFunction).filter(function(){return!a}).filter(".ui-ncbipopper-close-button-generated").ncbibutton("destroy").remove()},isPopperShared:function(){return(this.getDestElement().data("popperTriggers")||[]).length>1},_addSharingDetails:function(){var a=this.getDestElement(),b=a.data("popperTriggers")||[];b.push(this.element);a.data("popperTriggers",b)},_removeSharingDetails:function(){for(var a=this.getDestElement(),b=a.data("popperTriggers"),c=this.element[0],d=0;d<b.length;d++)if(b[d][0]==
-c){b.slice(d,1);break}b.length===0?a.removeData("popperTriggers"):a.data("popperTriggers",b)},_handleSharedPoppersOpen:function(){if(this.isPopperShared())for(var a=this.getDestElement().data("popperTriggers"),b=this.element[0],c=0;c<a.length;c++)if(a[c][0]!=b&&jQuery.ui.jig.getElementWidgets(a[c],"ncbipopper")[0].isOpen()){jQuery.ui.jig.getElementWidgets(a[c],"ncbipopper")[0].close(true);break}},_addPopperHover:function(){if((this.options.closeMethod||this.options.closeEvent)==="mouseout"){var a=
-this.getDestElement();if(this._arrow)a=a.add(this._arrow);var b=this,c={timeout:this.options.delayTimeout,over:function(){},out:function(){b._overPopper(false)}};jQuery(a).hoverIntent(c);jQuery(a).mouseenter(function(){b._overPopper(true);b._lastOver=new Date});jQuery(a).mouseleave(function(){new Date-b._lastOver<b.options.delayTimeout&&b._overPopper(false)}).mouseout(function(d){var e=jQuery(d.target||d.srcElement);if(e.hasClass("ui-ncbipopper-wrapper")||e.hasClass("ui-ncbipopper-arrow-image"))if(e.find(d.relatedTarget).length===
-0){b._isOverPopper=false;b._outTimer=window.setTimeout(function(){b._overPopper(false)},200)}})}},_destroyPopperHover:function(){var a=jQuery(this.getDestElement());a.unbind("mouseenter").unbind("mouseleave");a.removeProp("hoverIntent_t");a.removeProp("hoverIntent_s")},_overPopper:function(a){this._outTimer&&window.clearInterval(this._outTimer);if(a)this._pTimer=new Date;this._isOverPopper=a;if(!a)if(this._isOverTrigger){var b=this;window.setTimeout(function(){!b._isOverPopper&&!b._isOverTrigger&&
-b._overPopper(false)},300)}else this.close()},isOpen:function(a){if(!a)a=this._activeTrigger;a=jQuery(a);var b=jQuery(this._activeTrigger),c=this.getDestElement().data("popperTriggers");a=this.options.openAtTarget||c.length>1?a&&a.length&&b&&b.length&&b[0]===a[0]:true;return this.getDestElement().data("isOpen")&&a?true:false},_setParentsZIndex:function(a){if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<=7){var b=this.getDestElement().parents(),c=0;if(b.length>1){b.each(function(e){if(jQuery(this).css("position")===
-"relative"){c=e===0?0:e+1;return false}});b=b.eq(c);var d=b.css("position");b.data("orgPosition")||b.data("orgPosition",d);if(d==="static"||d==="relative"){d=a===1?b.data("orgPosition"):"relative";b.css({position:d,"z-index":a})}}}},addTriggerAria:function(a){var b=a;if(!a){b=this.element;if((a=this.options.multipleHandlesSelector)&&a.length>0)b=b.add(a)}b.attr("role","button").attr("aria-expanded",false).attr("aria-haspopup",true)},_destroyTriggerAria:function(){var a=this.element,b=this.options.multipleHandlesSelector;
-if(b&&b.length>0)a=a.add(b);a.removeAttr("role aria-expanded aria-haspopup")},_addDestAria:function(){this.getDestElement().attr("aria-live","assertive").attr("aria-hidden",true).addClass("ui-helper-reset")},_destroyDestAria:function(){this.getDestElement().removeAttr("aria-live aria-hidden").removeClass("ui-helper-reset")},_setAriaState:function(a,b,c){b=b?b:this.element;c=c?c:this.getDestElement();b.attr("aria-expanded",a);c.attr("aria-hidden",!a)}});jQuery.ui.ncbipopper.openGroups={};
-jQuery.ui.ncbipopper.globalEvents={isGlobalEscapeRegistered:false,isGlobalClickRegistered:false,isGlobalResizeRegistered:false};
--- a/Blast output page example_files/main.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,337 +0,0 @@
-/*
-LEGAL
-=====
-Copyright: Daemon Pty Limited 1995-2006, http://www.daemon.com.au & http://www.mollio.org/
-License: Released Under the "Common Public License 1.0", http://www.opensource.org/licenses/cpl.php
-Version: 010306
-*/
-body {padding: 0 0 10px;background: #fff url("images/body_bg-ncbi.gif") repeat-x 0 100%;color:#333;font:83%/1.5 arial,tahoma,verdana,sans-serif;}
-body { margin: 0; padding: 0; } 
-/* LINKS */
-a,a:link,a:link,a:link,a:hover {text-decoration:underline;cursor:pointer}
-a:link {color:#369} 
-/* Original: a:visited {color:#999} */
-a:visited {color:#664E99;}
-a:hover,a:active {color:#069}
-/* FORMS */
-form {margin: 0 0 1.5em}
-input {font-family: arial,tahoma,verdana,sans-serif;margin: 2px 0 0}
-label {display:block;padding: 5px 0}
-label br {clear:left}
-#desc {font-weight: bold;margin-bottom: 5px;}
-#desc a {font-weight: normal;}
-#logolink, #logolink img {float: left;border: 0;margin: 0;}
-      
-/* TYPOGRAPHY */
-p, ul, ol {margin: 0 0 1.5em}
-/* Original: h1, h2, h3, h4, h5, h6 {letter-spacing: -1px;font-family: arial,verdana,sans-serif;margin: 1.2em 0 .3em;color:#000;border-bottom: 1px solid #eee;padding-bottom: .1em}*/
-h1, h2, h3, h4, h5, h6 { letter-spacing: -1px;font-family: arial,verdana,sans-serif;margin: 1.2em 0 .3em;color:#2A6979;border-bottom: 1px solid #ccc;padding-bottom: .1em}
-h1 {font-size: 196%;margin-top:.6em}
-h2 {font-size: 136%}
-h3 {font-size: 126%}
-h4 {font-size: 116%}
-h5 {font-size: 106%}
-h6 {font-size: 96%}
-.highlight {color:#4E8999; padding: 3px; border: solid 1px #ccc;}
-.featured { background-color: #ffc; padding: 0.25em 0.5em;margin:0; }
-.subdued {color:#999}
-
-small {font-size:11px}
-
-/* LISTS */
-ul {margin: .3em 0 1.5em 0;list-style-type:none}
-ul.related {margin-top: -1em}
-ol {margin: .5em .5em 1.5em}
-ol li {margin-left: 1.4em;padding-left: 0;background: none; list-style-type: decimal}
-.section li {line-height: 1.4em;padding-left: 25px;background: transparent url("images/sprites-ncbi.gif") no-repeat 0 0}*/
-li.doc {background-position: 3px -500px}
-ul.nomarker li {background:none;padding-left:0}
-dl {margin: 0 0 1em 0}
-dt {font-weight:bold;margin-top: 1.3em}
-dl dl {margin: 0 0 1.5em 30px}
-
-/* GENERAL */
-/*img {border:none} */
-hr {margin: 1em 0;background:#f2f2f2;height:1px;color:#f2f2f2;border:none;clear:both}
-.clear {clear:both;position:relative;font-size:0px;height:0px;line-height:0px} 
-/* LAYOUT - HEADER */
-#header {background: #204174  url("images/sprites-ncbi.gif") repeat-x 0 100%;margin: 0 0 3px;padding: 0 0 8px;white-space:nowrap;}
-#header #site-name {font: 120% arial;letter-spacing: -.05em;margin: 0 ;padding:3px 0; color:#ffffff;font-weight: bold;}
-#header #site-name h1 {font-style: italic; letter-spacing: 0; color: #68a; margin:0 0 0 5em; position: relative; left: 200px;font-size:85%;border:none;padding-bottom:0;display:inline;}
-#header {min-width:770px;position:relative;}
-/* NAV - top horizontal nav */
-#nav, #nav ul {padding: 0;margin: 0;list-style: none}
-#nav {font-weight:bold;height:2.09em;font: bold 95% arial;margin: 0 105px 0 40px; width: 430px;}	
-#nav li {background: #999;float: left;width: auto;display:block;margin: 0;border-bottom: 3px solid #666;border-right: 3px solid #252525;padding:0}
-#nav a, #nav a:link, #nav a:visited, #nav a:hover, #nav a:active {text-decoration:none;cursor:pointer;color:#fff;display: block;padding: 4px 10px 2px}
-#nav a:hover {color:#000}
-#nav li ul {border-left: 1px solid #ccc;background: #eee;width:22.8em;font-size:90%;margin-top:3px;position: absolute;font-weight:normal;left: -999em}
-#nav li:hover ul, #nav li.sfhover ul {left: 0;z-index:99999;}
-#nav li li {background:none;float:none;border:none;border: 1px solid #999;border-top:1px solid #fff;border-right:solid 1px #ccc;border-left:none;padding-left:0}
-#nav li li.last {border-bottom:solid 1px #ccc;}
-#nav li li a, #nav li li a:link, #nav li li a:visited, #nav li li a:hover {color:#000;padding: 3px 10px 2px;width:21em}
-#nav li li a:hover {color:#fff;background:#4E8999}
-#nav li.active {background: #4E8999;border-bottom: 3px solid #4E8999}
-#nav li.active a:link, #nav li.active a:visited, #nav li.active a:hover, #nav li.active a:active {}
-#nav li.active a:hover {color:#000}
-#nav li.active li {border:none;border-top: 1px solid #ccc;border-bottom: 1px solid #ccc;}
-#nav li.active li {border: solid 1px #ccc;border-right: solid 1px #4E8999;border-left: solid 1px #4E8999;}
-#nav li.active li.last {border-bottom: solid 1px #4E8999;}
-#nav li.active li a:link, #nav li.active li a:visited, #nav li.active li a:hover, #nav li.active li a:active {color:#000}
-#nav li.active li a:hover {background: #666 url("images/sprites-ncbi.gif") repeat-x 0 99%;color:#fff; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/sprites-ncbi.gif', sizingMethod='crop');}
-#nav li.active li.active a:link, #nav li.active li.active a:visited, #nav li.active li.active a:hover, #nav li.active li.active a:active {color:#fff;font-weight:bold;background: #666 url("images/sprites-ncbi.gif") repeat-x 0 99%; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/sprites-ncbi.gif', sizingMethod='crop');}
-
-/* hide from IE mac \*/
-#nav li {width:auto}
-/* end hiding from IE5 mac */
-	
-/* SEARCH */
-#search {color:#fff;font-weight:bold;position:absolute;top:10px;right:4em}
-#search form {margin:0}
-#search input {width:8em;margin: 0 0 -1px;height:1.2em}
-#search label {padding:5px 0 0;display:inline}
-#search input.f-submit {width:auto;font-size:81%;margin:0 0 -.15em;height:1.95em}
-#content {margin: 0;}
-#type-d #content {margin: 0 0 0 40px;}
-#breadcrumb {margin-top:-5px;font-size:93%;font-weight:bold; margin-left: 1em; margin-bottom: 0; padding: 0 6px 0 12px;; background: url("images/right-arrow.gif") no-repeat center left;display:inline;}
-#breadcrumb strong{font-weight:bold;}
-#breadcrumb a:link, #breadcrumb a:visited {text-decoration:none}
-#breadcrumb a:hover, #breadcrumb a:active {text-decoration:underline}
-/* CODE - formatting for code inserted into body - more here: http://dizque.lacalabaza.net/temp/lipt/ */
-ol.code {font-family: monospace;position:relative}
-ol.code li {color: #666;margin-bottom: 1px}
-ol.code code {color: #000;display: block}
-ol.code .cmt {color: #4077d2}
-li.tab0 code {padding-left: 4em}
-li.tab1 code {padding-left: 8em}
-li.tab2 code {padding-left: 12em}
-li.tab3 code {padding-left: 16em}
-li.tab4 code {padding-left: 20em}
-li.tab5 code {padding-left: 24em}
-ol.code li  {background: #f3f3f3}
-p.note {margin: 1em;border: 1px solid #ddd;background: #f0f0f0;padding: 1em}
-
-/* LAYOUT TYPE A */
-#type-a #content-wrap { width: 100%; margin: 0; padding: 0; white-space:nowrap;margin-top:-0.3em;}
-#type-a #content { margin: 0 40px; }
-/* LAYOUT - FOOTER */
-#footer p {margin:0; padding: 0;padding-bottom:1.5em;}
-
-#footer a:link {color:#999}
-#footer {clear:both;border-top: 1px solid #E3E8EE;padding: 4px 10px 0 10px;font-size:86%;color:#999; margin: 0;}
-#breadcrumb a.help {margin-left: 1em;font-weight:normal;text-decoration: underline;}
-div#search {border: solid 1px #aaa;}
-div#search td{padding: 1px;}
-/* Mozilla-only rule */
-html > body div#search td{padding: 2px;font-weight: bold;font-size: 80%;}
-div#search {background-color: white;position: absolute;right: 4px;top: 4px;color: #369; /* new rule: text by default is white */}
-#jtitle{margin-left:1em;}
-.hidden {display: none;}
-.shown {display: block;}
-a#moreHelp {font-weight:bold;text-decoration:underline;font-size:80%;padding-left:5px;background:none;}
-/* These next two rules replace the text of <a class="helplink"><span>[?]</span></a>
- * with a 16x16 help link image with transparent background
- */
-.helpbox, .resBox {font-size: 95%;color: #666;border: solid 1px #ccc;background-color: #def;margin-left: 1em;padding: 0.5em;margin-bottom: 0.5em;zoom:1;}
-.help, .helpbox, .resBox {font-size: 95%;color: #666;white-space:normal;}
-.helplink {padding-left: 16px;background:transparent url(images/help.gif) center left no-repeat;list-style: none;}
-.helplink span {visibility: hidden;}
-a.helplink {text-decoration: none;}
-.helpbox a {background:none;text-decoration:underline;font-size:90%;}
-a.arrowlink:hover {text-decoration: underline;}
-a.arrowlink{
-   padding-left: 16px;
-   background-image: url(images/right.gif);
-   background-repeat: no-repeat;   
-   background-position: center left;
-   -moz-outline-style: none;
-   text-decoration: none;
-   text-decoration: underline;
-}
-
-#orgns {float: right;}
-
-ul.msg, ul.msg li {
-padding:0;
-text-indent:0;
-margin: 0;
-}
-
-ul.msg {
-margin-top: 1em;
-}
-
-ul.msg li {
-margin-bottom: 3px;
-display: none;
-font-weight: bold;
-background: transparent url(images/gradient30down.png) repeat-x top left;
-}
-/* IE6 doesn't have alpha transparency, so hack it out */
-* html ul.msg li {
-background-image: none;
-}
-
-ul.msg li p, ul.msg li div.msInf  {
-padding: 3px;
-padding-left: 28px;
-margin:0;
-white-space:normal;
-}
-
-ul.msg li a.small { 
-font-weight: normal;
-font-size: 90%;
-}
-
-ul.msg li.error {
-background-color: #fbb;
-border: solid 1px #c00;
-color: #c00;
-}
-
-ul.msg li.error p, ul.msg li.error div.msInf{
-background: transparent url(images/error.png) no-repeat 6px center;
-}
-
-ul.msg li.warning {
-background-color: #ffc;
-border: solid 1px #cc0;
-color: #444;
-}
-
-ul.msg li.warning p, ul.msg li.warning div.msInf {
-background: transparent url(images/warn.png) no-repeat 6px center;
-}
-
-ul.msg li.success {
-background-color: #dfd;
-border: solid 1px #0d0;
-color: #060;
-}
-
-ul.msg li.success p,ul.msg li.success div.msInf {
-background: transparent url(images/ok.png) no-repeat 6px center;
-}
-
-ul.msg li.info {
-background-color: #ace;
-color: #444;
-border: solid 1px #369;
-padding: 1px;
-}
-
-ul.msg li.info p,ul.msg li.info div.msInf {
-background: transparent url(images/info.png) no-repeat 6px center;
-}
-
-ul.msg li.warning,ul.msg li.error,ul.msg li.success,ul.msg li.info 
-{
-    display:block;
-}
-ul.msg li p
-{
-    display:block;
-}
-
-ul.msg li.error p.warning {
-background: transparent url(images/warn.png) no-repeat 6px center;
-}
-
-ul.msg li .helpbox 
-{
-    font-weight:normal;
-    margin-left:0;
-}
-
-a.errorHelp
-{
-/*float:right;
-margin-right:2em;
-margin-top:-2em;*/
-margin-left:0.5em;
-}
-
-.msInf a.shown
-{
-    display:inline;
-}
-
-#tryNew
-{
-    color:Red;
-}
-.orgHint
-{
-    color:#AAAAAA;
-}
-
-
-span.acPromt,.skp
-{
-    position:absolute;
-    left:-9999px;
-}
-
-
-    
-#rgs
-{
-    margin-left:35em;    
-    white-space:nowrap;
-}
-
-#trdm
-{
-    vertical-align:super;
-    font-size:small;
-}
-
-.print-log-res { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }
-.print-log-res li { list-style-image: none; }
-
-/* jig toggler adjustments */
-#content .ui-ncbitoggler.ui-widget, #content a.ui-ncbitoggler-open, #content  a.ui-ncbitoggler-slave-open
-{
-    font-size:100%;
-}
-
-.helplink.ui-widget
-{
-  display:inline;
-}
-
-
-#content a.ui-ncbitoggler.ui-widget, #content a.ui-ncbitoggler-open
-{    
-color:#336699;
-}
-
-#moreHelp span 
-{
-    visibility:visible;    
-}
-
-
-#content #moreHelp.ui-ncbitoggler, #content #moreHelp.ui-ncbitoggler-open
-{
-    font-size:80%;
-}
-
-#content  .ui-ncbitoggler-slave-open
-{
-    line-height:1.4em;
-}
-
-div.ui-ncbiautocomplete-holder { 
-  font-size: 80%;  
-}
-ul.ui-ncbiautocomplete-options li span{ color: red;}
-.ytb,.section a.ytb
-{
-    margin-bottom:-5px;
-    background: url("/core/assets/guide/images/YouTube.png") no-repeat scroll left center transparent !important;
-    height:22px;   
-    padding-left:55px;
-    font-weight:normal;
-}
\ No newline at end of file
Binary file Blast output page example_files/myncbihelpicon.gif has changed
--- a/Blast output page example_files/plinkcgi.html	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<html xmlns:xs="http://www.w3.org/2001/XMLSchema"><head>
-<meta http-equiv="content-type" content="text/html; charset=UTF-8">
-  </head><body>
-    <p class="featured" id="prlink">
-      <a href="http://www.ncbi.nlm.nih.gov/projects/primer-blast/index.cgi?LINK_LOC=BlastDescAd" target="pr_win">
-        <img src="plinkcgi_data/primerAd.png" alt="New" border="0">
-      </a>
-    </p>
-  
-
-</body></html>
\ No newline at end of file
--- a/Blast output page example_files/plinkcgi_002.html	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<html xmlns:xs="http://www.w3.org/2001/XMLSchema"><head>
-<meta http-equiv="content-type" content="text/html; charset=UTF-8">
-  </head><body>
-    <p class="featured" id="prlink">
-      <a href="http://www.ncbi.nlm.nih.gov/projects/primer-blast/index.cgi?LINK_LOC=BlastAlnAd" target="pr_win">
-        <img src="plinkcgi_data/primerAd.png" alt="New" border="0">
-      </a>
-    </p>
-  
-
-</body></html>
\ No newline at end of file
Binary file Blast output page example_files/plinkcgi_data/primerAd.png has changed
--- a/Blast output page example_files/print.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,305 +0,0 @@
-/*
-LEGAL
-=====
-Copyright: Daemon Pty Limited 1995-2006, http://www.daemon.com.au & http://www.mollio.org/
-License: Released Under the "Common Public License 1.0", http://www.opensource.org/licenses/cpl.php
-Version: 010306
-*/
-
-
-body {font: 10pt arial,tahoma,verdana,sans-serif}
-h1, h2, h3, h4, h5, h6 {margin: 1em 0 .2em;font-family: arial,tahoma,verdana,sans-serif}
-
-* {float:none;position:static;background:#fff}
-p {margin: 0 0 1em}
-dt {font-weight:bold}
-
-#nav, #search, #nav-secondary,  #poweredby {display:none}
-
-/* =LINKS */
-a {border:none}
-a,a:link,a:link,a:link,a:hover {background:transparent;text-decoration:underline;cursor:pointer} 
-a:link {color:#5291c4} 
-a:visited {color:#666}
-a:hover {color:#ff9900;border:none} 
-a:active {color:#0066cc} 
-
-.teaserBox {clear:both;margin: 0 0 1em}
-
-.sponsors img {margin: .5em 0}
-
-#footer {margin: 1em 0}
-
-#jtitle {
-border-bottom:2px solid black;
-margin-top:0.25em;;
-margin-left:-1.5em;;
-margin-bottom: 2em;;
-font-size: 110%;;
-padding-bottoM:0.5em;;
-}
-
-/* TABLES */
-table {font-size: 9pt;margin: 0 0 1em;border-collapse:collapse;}
-
-	table th {border-bottom: 3px solid #000;vertical-align:top;padding: 1.5em 3px 3px;line-height:1.1;font: bold 145% arial;letter-spacing:0;text-align:left}
-	.table1 th.time {border-bottom: none;font: bold 89% verdana;color:#ff9c00;vertical-align:top;padding: 3px}
-	.table1 td {border: 1px solid #ddd;font-size: 9pt;padding: 3px;vertical-align:top}
-	.table1 td a {display:block;width:auto;font-weight:bold}
-	.table1 td a:link, .table1 td a:visited, .table1 td a:hover, .table1 td a:active {border:none;text-decoration:none}
-	.table1 th.sub {background: #aaa}
-	.table1 th.sub2 {background: #bbb;color:#000}
-	.table1 td ul li {background: #fff}
-
-
-#logolink img {
-display: none;
-}
-
-#site-name {
-font-size: 140%;
-font-weight: bold;
-padding: 3px;
-text-align:center;
-}
-
-div.resHeader {
-display:  none;
-}
-
-#content-wrap {
-margin : 0 0.25in;
-}
-
-#blHeader pre, #query pre {
-white-space: normal;
-}
-
-#blHeader pre p {
-display: none; /* Get rid of pointer to BLAST FAQs */
-}
-
-#graphic input {
-display: none;
-}
-
-#descs td { vertical-align: top; }
-td.lim { white-space: normal; padding-bottom: 0.5em;}
-#descs td { vertical-align: top; border-bottom: solid 1px #888; border-collapse: collapse; padding-top: 0;}
-
-#descs a {
-text-decoration: none;
-color: black;
-padding: 0;
-margin: 0;
-}
-
-#descs th {
-font-size: 110%;
-}
-
-#graphic table {
-margin: 0;
-}
-
-input {
-display: none;
-}
-
-#graphic h3 a {
-border-bottom:2px solid black;
-color:black;
-display:block;
-margin-bottom:2em;
-margin-top:3em;
-text-align:left;
-text-decoration:none;
-margin-left: -1.5em;
-}
-
-
-#graphic {page-break-after: always; }
-
-td.l a { padding: 0; margin-right: 1em !important; font-weight:bold;}
-#descs td {color: black;}
-
-/* Get rid of stupid long headers */
-#desctbl { margin-top: 1em; border-top: solid 1px #ccc; page-break-after: always;}
-#desctbl table thead { display: none; margin-top: 1em;} 
-#desctbl table tr td { width: 4em; } 
-#desctbl table td.lim { width: 40em; }
-
-#alignments { line-height: 0.9em; }
-#alignments center b {
- display: block; z-index: 100; position: relative; 
-}
-#alignments center b font { color: black; display: block; text-align: left; font-size: 120%; padding: 0 0 3px; border-bottom: solid 2px #444; margin-left: -1.5em; }
-
-div#alignments.blRes a { text-decoration: none; color: black; font-weight: bold; }
-
-#footer {
-display: none;
-}
-
-h1
-{
-font-size:120%;
-font-weight:bold;
-}
-#FormatForm,#FormatDownload,#showDetails,#queryHelp,#dbDetails,.reslink
-{
-    display:none;
-}
-#multipleSeqs,#queryInfo,.skp,.resLink,.seqlinks,.msg
-{
-   display:none;
-}
-
-#dbDetails,#refInfo,#seealso,#resStat,#showRefs,dd.hidden
-{
-    display:none;
-}
-/*
-#querysummary dl
-{
- line-height:1.4em;
-}
-
-#querysummary dd
-{
-    margin-left:20%;
-    margin-top:-1.2em;
-}
-
-#querysummary dd a
-{
-    display:none;
-}
-*/
-
-#summary {
-font-size:1.2em;
-}
-#summary {
-margin-top:0pt;
-padding-bottom:1em;
-padding-top:0.5em;
-font-family:Verdana,Arial,Sans-Serif;
-font-size:90%;
-
-}
-#summarylists {
-margin:1em 0pt 0pt;
-overflow:hidden;
-}
-#querysummary {
-float:left;
-padding:0pt;
-width:49%;
-}
-
-#dbsummary {
-margin-left:51%;
-padding:0pt;
-}
-#summary dl {
-margin:0pt 0pt 0.5em;
-padding:0pt;
-}
-#summary dt, #summary dd {
-line-height:1.4em;
-}
-#summary dt {
-float:left;
-font-weight:bold;
-text-align:right;
-width:10em;
-margin-top:0;
-}
-#summary dd {
-margin-left:11em;
-white-space:normal !important;
-}
-#summary h3 {
-color:#444444;
-font-style:italic;
-margin-bottom:-0.5em;
-margin-top:0pt;
-text-align:center;
-}
-#ht,#graphic,#cddDesc
-{
-    text-align:center;
-}
-
-#ht
-{
-    font-weight:bold;
-}
-
-#graphic h3 a,#ovrInfo,#showCDD,.psiInp,.defln caption,#grView.hidden,#RSIFrameDesc
-{
-    display:none;
-}
-
-
-#grView.hidden.shown
-{
-    display:block;
-}
-
-.print-log-res { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }
-.print-log-res li { list-style-image: url("images/img_blast_results_gif"); }
-
-#SwitchDesign,#ytb,.fdb,#debug,.moreHsps,.shcl,#cntDesc,#descTblCtrl,.hdnHeader,td.c0,th.c0,.alnMsgS,.alnHdr,.relInf
-{
-    display:none;
-}
-
-h3.cap,#RSIFrameAln,.alnRn span, div.hsp .alnParLinks,.ui-ncbiautocomplete-link-pref,.ui-ncbiautocomplete-link-off
-{
-    display:none;
-}
-
-.alnAll
-{
-    margin-top:0.5emem;
-}
-.dlfRow
-{
-    line-height:1.5em;
-}
-
-span.r label
-{
-    margin-left:0.5em;
-}
-td.l a.deflnDesc
-{
-    font-weight:normal;
-    text-decoration:none;
-    color:inherit;
-}
-    
-table.alnParams
-{
-    width:50em;
-}
-table.alnParams th
-{
-    font-size:100%;    
-}
-
-table.alnParams td
-{
-    font-size:110%;    
-    padding-top:0.5em;
-}
-
-.oneSeqAln
-{
-    border-top:1px solid gery;
-    margin-top:1em;
-    padding-top:1em;
-    width:60em;
-}
Binary file Blast output page example_files/query_no_scale.gif has changed
Binary file Blast output page example_files/reformat.jpg has changed
--- a/Blast output page example_files/remote_data_provider.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,79 +0,0 @@
-//=========================================================================================================
-function RemoteDataProvider(sUrl) {
-    this.iActiveRequests = 0;
-    this.sUrl = sUrl;
-}
-
-//-------------------------------------------------------------------------------------------------------------
-RemoteDataProvider.prototype.GetHttpObj = function() {
-    var oHttpObj = null;
-    try {
-        oHttpObj = new ActiveXObject("Msxml2.XMLHTTP");
-    } catch(e) {
-        try {
-            oHttpObj = new ActiveXObject("Microsoft.XMLHTTP")
-        } catch(oc) {
-            oHttpObj = null;
-        }
-    }
-    if (!oHttpObj && typeof XMLHttpRequest != "undefined") {
-        oHttpObj = new XMLHttpRequest();
-    }
-    return oHttpObj; 
-}
-
-//-------------------------------------------------------------------------------------------------------------
-RemoteDataProvider.prototype.Request = function(sRequest, method) {
-    var oHttpObj = this.GetHttpObj();
-    if (null == oHttpObj) return;
-
-    method = (!method) ? "GET" : "POST";
-    var sURL = (method == "GET") ? this.sUrl + "?" + sRequest : this.sUrl;        //alert(sURL);    
-    this.iActiveRequests++;
-    var oThis = this;
-    oHttpObj.onreadystatechange = function () {
-        if (oHttpObj.readyState == 4 && oHttpObj.status == 200) {
-            oThis.onSuccess(oHttpObj);
-            oThis.iActiveRequests--;    
-            oThis.onStop();    
-        } else if(oHttpObj.readyState == 4 && oHttpObj.status != 200) {
-            oThis.onError(oHttpObj);
-            oThis.iActiveRequests--;    
-            oThis.onStop();    
-        }
-    };
-    
-    if (oHttpObj.readyState != 0) oHttpObj.abort();
-    this.onStart();
-    oHttpObj.open(method, sURL, true);
-//    oHttpObj.setRequestHeader('Cache-Control', 'no-cache');
-    var params = (method == "GET") ? null : sRequest;
-    if (params) {
-        oHttpObj.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
-        oHttpObj.setRequestHeader("Content-length", params.length);
-        oHttpObj.setRequestHeader("Connection", "close");
-    }
-    oHttpObj.send(params);
-}
-
-//-------------------------------------------------------------------------------------------------------------
-RemoteDataProvider.prototype.onSuccess = function(obj) {
-    alert(["success:", this.iActiveRequests, obj.responseText]);
-}
-
-//-------------------------------------------------------------------------------------------------------------
-RemoteDataProvider.prototype.onStart = function() {
-//    alert(["start:", this.iActiveRequests]);
-}
-
-//-------------------------------------------------------------------------------------------------------------
-RemoteDataProvider.prototype.onStop = function() {
-//    alert(["start:", this.iActiveRequests]);
-}
-
-//-------------------------------------------------------------------------------------------------------------
-RemoteDataProvider.prototype.onError = function(obj) {
-    //alert(["error:", this.iActiveRequests, obj.status]);
-}
-
-
--- a/Blast output page example_files/results.css	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1224 +0,0 @@
-#summary {
-font-size:1.2em;
-}
-#summary {
-margin-top:0pt;
-padding-bottom:1em;
-padding-top:0.5em;
-font-family:Verdana,Arial,Sans-Serif;
-font-size:90%;
-
-}
-#summarylists {
-margin:1em 0pt 0pt;
-overflow:hidden;
-}
-#seealso {
-margin-left:2em;
-}
-#querysummary {
-float:left;
-padding:0pt;
-width:49%;
-}
-#dbsummary {
-margin-left:51%;
-padding:0pt;
-}
-#summary dl {
-margin:0pt 0pt 0.5em;
-padding:0pt;
-}
-#summary dt, #summary dd {
-line-height:1.4em;
-}
-#summary dt {
-float:left;
-font-weight:bold;
-text-align:right;
-width:10em;
-margin-top:0;
-}
-#summary dd {
-margin-left:11em;
-white-space:normal !important;
-overflow:hidden;
-}
-#summary h3 {
-color:#444444;
-font-style:italic;
-margin-bottom:-0.5em;
-margin-top:0pt;
-text-align:center;
-}
-
-#multipleSeqs {
-font-weight: bold;
-}
-#multipleSeqs a {
-font-size:80%;
-font-weight:normal;
-}
-#breadcrumb {
-background:transparent url(images/right-arrow.gif) no-repeat scroll left center;
-font-size:93%;
-font-weight:bold;
-margin-top:-5px;
-padding:0pt 6px 0pt 12px;
-}
-#breadcrumb a {
-color:#336699;
-}
-
-#jobTitle
-{
-color:#669;
-/*color:#2A6980;*/
-font-weight:bold;
-margin-bottom:-0.5em;
-}
-
-#type-a #content-wrap {white-space:normal; padding-bottom:2em;}
-
-#statInfo
-{
-    font-size:100%;
-}
-
-
-#resMsg 
-{
-background-color:#FFFFCC;
-font-size:110%;
-/*margin-top:4em;
-padding-left:0.5em;*/
-text-align:center;
-}
-
-#seealso label
-{
-    display:inline;    
-}    
-
-#seealso a 
-{
-    padding: 0,4px;
-}
-
-a.shown 
-{
-    display:inline;
-}
-
-
-table.dbInfo
-{
-    width:50%;
-    border:solid 1px gray;
-    font-size:100%;
-    border-collapse:collapse; 
-    margin-top:1em;       
-}
-table.dbInfo td,
-table.dbInfo caption 
-{
-   border:solid 1px gray;   
-   padding: 1px 4px;   
-}
-table.dbInfo caption {
-    background-color:#acf;
-    text-align:center;
-    border-bottom:none;
-    margin-bottom:-0.2em;        
-    font-weight:bold;
-    margin-top:1em;
-}
-#resStat, #dbDetails
-{
-    padding-left:25%;
-}
-
-table.dbInfo td
-{
-    text-align:left;
-}
-
-table.dbInfo th {
-visibility:hidden;
-/*padding:0;*/
-}
-
-
-table.dbInfo th div {
-height:0;
-}
-
-table#Kappa pre
-{
-    font-size:120%;
-}
-
-
-/****** Mark new rules ************/
-/* override main.css rules */
-#type-a #content {
-margin: 0 2em;
-}
-
-#type-a h1 {
-font-size: 150%;
-margin-bottom: 1em;
-border-top: solid 1px #ccc;
-}
-
-#type-a h2 {
-font-size: 125%;
-color: #666;
-}
-
-#type-a h3 {
-border: none;
-font-size: 110%;
-}
-#graphic {
-text-align: center;
-margin: auto;
-}
-
-#multipleSeqs label {
-width: 9em;
-height: 1em;
-text-align: right;
-margin-right: 0;
-padding: 0 1em;
-float: left;
-}
-#multipleSeqs select {
-margin-right: 1em;
-font-size: 95%;
-}
-#multipleSeqs input {
-font-size: 95%;
-margin-top: -0.25em;
-margin-right: 1em;
-}
-label.other {
-font-size: 110%;
-font-weight: bold;
-}
-form#results
-{
-    display:none;
-}
-
-#hdLink
-{
-    margin-top:-1.2em;
-    float:right;
-}
-
-#hdTitle
-{
-    margin-left:5em;
-}
-.shownInl
-{
-    display:inline;
-}
-
-#psiHd
-{
-    margin-top:1em;
-}
-
-#phiInfo
-{
-    text-align:center;
-    color:Green;    
-    font-size:110%;
-    margin-top:1em;    
-}
-#ht
-{    
-font-weight:bold;
-margin-bottom:-0.9em;
-margin-top:0.2em;
-text-align:center;
-}
-
-.psiThresh
-{
-    text-align:center;
-    color:Green;
-    font-weight:bold;
-}
-
-#psiThreshA span.shown,#psiThreshB span.shown
-{
-    display:inline;
-}
-
-a.resArr
-{
-    color:#666;
-    font-size:120%;
-    font-weight:bold;    
-}
-
-a.arrowlink.showing 
-{
-    background-image: url(images/down.gif);
-}
-
-#graphic table
-{
-    background-color:White;
-}
-
-#type-a #content
-{
-    background-color:#D3DFF5;
-    border:1px solid #888888;
-    padding:0 0.5em;
-    zoom:1;
-}
-
-.resBox
-{
-    background-color:#eee;
-    margin-right:1em;
-    color:#222;
-    zoom:1;
-}
-
-.resBox1
-{
-    background-color:white;    
-}
-
-#tryNew,.hl
-{
-    color:Red;
-}
-
-/*#tryNew
-{
-    margin-right:20em;
-}*/
-
-
-div#vecSrceen {
-margin-bottom:0pt;
-margin-left:17%;
-margin-top:0pt;
-padding-left:2em;
-white-space:pre;
-width:64%;
-zoom:1;
-}
-
-.psiInp
-{
-    white-space:normal;
-    margin-bottom:1.5em;
-}
-
-.seqlinks label
-{
-    display:inline;
-}
-
-.seqlinks input
-{
-   margin-left:1em;
-}
-.seqlinks a.ln
-{
-   margin-left:2em;
-}
-
-.seqlinks a.lnt
-{
-   margin-left:0.5em;
-}
-
-form.getseq
-{
-    margin:0;
-}
-
-#queryList option.nohits
-{
-    color:Gray;
-}   
-
-#queryList
-{
-    float:left;
-}
-
-p#qb
-{
-    margin-top:0;
-    margin-bottom:0;
-}
-
-#dn
-{
-    margin-left:5em;
-}
-
-#dnf
-{
-    font-size:80%;
-}
-
-/*#FormatForm
-{
-    margin-left:2em;
-}*/
-table.options
-{
-    width:80%;
-    margin-top:0.5em;
-    margin-left:10%;
-    border-collapse:collapse;
-    max-width:70em;
-}
-
-form.resbox label
-{
-    display:inline;
-}
-
-#onPageReformat
-{
-    position:absolute;
-    right:0.5em;    
-    border:none;
-    padding-bottom:1px;
-    bottom:0.1em;
-}
-
-table.dwnl
-{
-    width:60%;
-    margin-left:20%;
-    height:3em;
-}
-table.dwnl td
-{
-    padding-right:0.5em;
-}
-/*
-a#showStat
-{
-    margin-left:-0.4em;
-}
-*/
-a.resArrowLinkB:hover,a.resArrowLinkW:hover {text-decoration: underline;}
-a.resArrowLinkB,a.resArrowLinkW{
-   padding-left: 12px;
-   background-image: url(images/rightSmallArrow.gif);
-   background-repeat: no-repeat;   
-   background-position: center left;
-   -moz-outline-style: none;
-   text-decoration: none;
-   text-decoration: underline;
-}
-a.resArrowLinkB.showing
-{
-   background-image: url(images/downSmallArrow.gif);   
-}
-
-a.resArrowLinkW{
-   background-image: url(images/rightSmallWArrow.gif);   
-}
-
-a.resArrowLinkW.showing 
-{
-    background-image: url(images/downSmallWArrow.gif);
-}
-td.dnl
-{
-    border-left:solid 1px gray;
-}
-.dnLinks a
-{
-    margin-left:1em;
-}
-
-.dnLinks
-{
-    text-align:center;
-}
-#tdal
-{
-    width:30em;
-}
-
-.dnHeader
-{
-    font-size:100%;
-    font-weight:bold;   
-    text-align:center;
-}
-#dnHelp
-{
-    display:inline;
-    position:relative;
-    padding-left:0;
-}
-
-table td.frh
-{
-    background-color:#E0E0E0;
-    color:Gray;
-    text-align:center;    
-}
-
-#type-a h3.tb,#type-a div.tb
-{
-    display:inline;
-    color:Gray;
-    letter-spacing:normal;
-    font-size:120%;
-    font-weight:bold;
-}
-
-#content a.resLink
-{
-	display:inline;
-}
-
-#content a.resLink.hide
-{
-	display:none;
-}
-
-ul.msg li p.info {
-background: transparent url(images/info.png) no-repeat 6px center;
-}
-
-.blRes
-{
-    background-color:White;
-    border:solid 1px #CCCCCC;
-    padding: 1em;
-    margin:1em;
-    /*font-size:110%;*/
-    zoom:1;    
-}
-/* Check this for many results */
-div#content
-{
-    min-width:80em;
-}
-#hitmtImg
-{
-    
-    padding:1em;
-    border:solid 2px gray;
-    padding-bottom:2em;
-}
-#qgr
-{
-    margin-top:-1.8em;
-    /*writing-mode:tb-rl;*/
-}
-#htmb
-{
-    margin-top:-2em;
-    margin-left:11em;
-    border:solid 1px gray;
-}
-
-#hitMatrixView
-{
-    margin-top:1em;
-}
-
-#hitMatrixInfo
-{
-    text-align:center;
-}
-
-#bl2ovrInfo
-{
-    text-align:left;
-}
-
-.newMln
-{
-    height:12px;
-    margin-left:-0.5em;
-}
-
-/***** New staff neew to remove all table#descs from blastRes.css, a.resArr, .psiThresh after formatter upadte *******/
-
-h2.resArr a
-{
-    color:#666;
-    font-size:105%;
-    font-weight:bold;
-    font-family:arial,tahoma,verdana,sans-serif;   
-    white-space:nowrap;
-}
-
-h2.resArr
-{
-    border-bottom:none;
-    letter-spacing:normal; 
-    margin:0;
-    padding:0;
-    width:15%;   
-}
-
-.psiThresh h3
-{
-    text-align:center;
-    color:Green;
-    font-weight:bold;
-}
-
-/*#alignments
-{
-    font-size:115%;
-    font-family:Monospace;
-    white-space:pre;
-    line-height:1;      
-}
-*/
-table.defln 
-{
-font-family: Verdana, Sans-Serif;
-font-size: 80%;
-_font-size: 86%;
-border-collapse: collapse;
-width: 100%;
-border-bottom:1px solid #018AAC;
-}
-
-table.defln caption
-{
-font-weight:bold;
-text-align:left;    
-}
-
-table.hideCap caption
-{
-visibility:hidden;
-height:0;
-font-size:1%;
-}
-
-table.defln th a {
-/*text-decoration: none;*/
-color: #00c;
-}
-
-table.defln th a:visited {
-color: #00c;
-}
-
-table.defln th a:hover {position: relative;
-text-decoration: underline;
-}
-
-table.defln tr th.l,
-table.defln tr td.l {
-text-align: left;
-}
-
-table.defln tr th.sp {
-background-color: #def;
-}
-
-table.defln tr th,
-table.defln tr td {
-text-align: center;
-padding: 1px 4px;
-}
-
-table.defln tr.first th {
-padding-left:18px;
-border-left: solid 1px #A0ceff;
-border-top: solid 1px #A0ceff;
-border-bottom: solid 1px #018aac;
-border-right: solid 1px #018aac;
-border-top: 1px solid #018AAC;
-padding-right: 8px;
-padding-bottom: 3px;
-background-color: #9cf;
-white-space:normal;
-line-height: 1.2em
-}
-
-
-table.defln td {
-border: solid 1px #ccc;
-border-width: 0px 1px;
-white-space:nowrap;
-overflow: hidden;
-}
-
-table.defln tr.first th.sel {
-background: #9cf url(images/up.gif) no-repeat center left;
-padding-left: 18px;
-padding-right: 18px;
-}
-
-table.defln tr:hover {
-/*background-color: #def;*/
-}
-
-/* accessebility styles */
-table.defln.noCaption caption
-{
-    display:none;
-}
-
-
-/* accessebility styles */
-.hdnHeader {
-/*visibility:hidden;*/
-font-size:0;
-height:0;
-}
-
-div.chs
-{
-    margin-bottom: -1em;
-}
-
-.psiInp label
-{
-    display:inline;
-}
-
-h3.tgl
-{
-    letter-spacing:normal;  
-    margin:0;  
-}
-h3.tgl a
-{
-    font-size:80%;
-    color:#222222;
-    font-family:Verdana,Sans-Serif;
-}
-div.tgl
-{
-    margin-top:0;
-    background-color:White;    
-    border:none;
-}
-div.tgl table.defln a
-{
-    font-size:100%;
-}
-
-/************ new alignment styles ************/
-
-.sumN, .aln_frame
-{
-    display: none;
-}
-    
-table.alnParams
-{
-    border:solid 1px #a0a0a0;    
-    border-collapse:collapse; 
-    font-family:Verdana,Arial,Sans-Serif;
-    font-size:87%;
-    width:60%;
-    margin-bottom:1em;
-}
-
-table.alnParams th
-{
-    background-color:#e8e8e8;
-    color:#606060;
-    border:solid 1px #a0a0a0;
-    padding: 1px 4px;    
-    font-size:86%;
-}
-
-table.alnParams td
-{
-   border:solid 1px #a0a0a0;   
-   padding: 1px 4px;
-   white-space:nowrap;      
-}
-
-
-.aln_feat.hidden
-{
-width:0;
-padding:0;
-}
-
-a.sortAlnArrowLinkB
-{
-   padding-left: 12px;
-   background-image: url(images/downSmallArrow.gif);
-   background-repeat: no-repeat;   
-   background-position: center left;
-}
-
-a.sortAlnArrowLinkW
-{
-   padding-left: 12px;
-   background-image: url(images/downSmallWArrow.gif);   
-   background-repeat: no-repeat;   
-   background-position: center left;   
-}
-
-.seqlinks span
-{
-    margin-left:1em;
-}
-
-.alnSortSeq
-{
-	margin-bottom:2em;
-	display:inline;
-}
-
-.alnSortSeq a
-{
-    font-size:90%;    
-}
-table.alnParams a
-{
-    display:block;
-    padding:3px 3px;
-    font-size:90%;
-}
-
-table.alSeqInf td
-{
-vertical-align:top;
-}
-td.alSeq
-{
-padding-left:1em;
-}
-
-td.alSeq.alFirst
-{
-white-space:nowrap;
-padding-left:0;
-}
-
-td.alTitle
-{
-font-size:90%;
-}
-
-img.imn
-{
-/*    width:30px;
-    height:15px;
-*/
-}
-
-img.imc
-{
-    width:15px;
-    height:15px;
-}
-td.l img.hidden
-{
-    display:inline;
-    visibility:hidden;
-}
-
-
-.dflLnk a
-{
-	padding-left:1em;
-	font-size:110%;
-}
-
-table.defln td.dflLnk
-{
-	text-align:left;
-	padding-bottom:0.5em;
-	font-size:11px;
-}
-
-.dflLnk label
-{
-	font-weight:bold;
-	display:inline;
-}
-.oneSeqAln .dflLnk
-{
-font-family: Verdana, Sans-Serif;
-font-size: 80%;
-padding-bottom:1em;
-width:60%;
-}
-
-table.alnDefln tr td.l
-{
-    text-align:left;     
-}
-
-table.alnDefln td
-{
-    /*overflow:hidden;*/
-    white-space:nowrap;    
-    vertical-align:top;
-}
-
-table.alnDefln td.lim
-{
-    white-space:normal;
-    font-size:98%;    
-}
-
-/* check specific browser file */
-table.alnDefln div.lim
-{
-    width:35em;
-}
-
-table.defln tr.dflnAln.shown 
-{
-    display:table-row;
-}
-
-table.alnDefln tr.shown 
-{
-    display:table-row;
-}
-
-.alnDflLn label
-{
-    font-weight:bold;
-    display:inline;
-    font-size:80%;
-    color:#444444;
-    padding-right:3px;
-    padding-left:3px;
-}
-
-.alnDflLn
-{
-    margin-left:2em;
-}
-
-.alnSortSeq.alnDflLn
-{
-    margin-left:0.5em;
-    float:left;
-    position:absolute;
-}
-
-.alnDflLn input
-{
-   margin-left:1em;
-   border:none;
-}
-.alnDflLn label.hidden
-{
-    display:none;
-}
-
-h3.sAlnHdr
-{
-    color:#444444;
-    display:inline;
-    letter-spacing:normal;
-}
-
-h3.sAlnHdr a
-{
-    color:#444444;    
-    text-decoration:none;
-    margin-left:2em;
-    font-size:85%;
-}
-
-.alnHdr
-{
-    padding-top:0.1em;    
-    padding-bottom:0.1em;
-}
-
-.oneSeqAln
-{
-    padding-left:1em;
-    padding-top:0.2em;
-}
-
-table.defln tr.dflnAln td
-{
-    text-align:left;    
-    border:none;
-    background-color:White;
-}
-
-table.defln tr.dflnAln td input.ch,table.defln tr.dflnAln td h3
-{
-    display:none;
-}
-
-
-tr.dflnAln .oneSeqAln
-{
-    font-size:120%;
-}
-
-tr.dflnAln .alnDflLn{
-    
-    margin-left:0;
-}
-
-tr.dflnAln .alnHdr
-{
-   padding:0;   
-}
-
-tr.dflnAln .alnHdr label
-{
-   font-size:90%;
-}
-.hil
-{
-background-color: #def;
-}
-
-
-table.defln tr.odd
-{
-    background-color:#f8f8f8;
-}
-
-table.defln tr.even
-{
-    background-color:#e8e8e8;
-}
-a.dflSeq
-{
-    color:Gray;
-    font-weight:bold;
-    text-decoration:none;
-    padding-left:0;
-    display:inline-block;
-    width:13em;
-}
-a.dflSeq.nogi
-{
-    color:#336699;
-    text-decoration:underline;
-}
-td.lim
-{
-    font-size:13px;
-}
-
-.ldsb
-{
-    padding-left:1em;
-    color:Gray;    
-    font-size:110%;
-}
-
-a.spr
-{
-    padding-right:3px;   
-    border-right:solid 1px; 
-}
-
-
-
-#hlp11
-{
-    width:60%;
-    margin-left:22%;    
-    margin-top:0.5em;
-}
-
-/* jig toggler styles */
-a.resLink.ui-ncbitoggler, a.jtg.ui-ncbitoggler,a.resLink.ui-ncbitoggler-open, a.jtg.ui-ncbitoggler-open
-{
-padding-left:13px;
-color:#336699;
-}
-
-a.resLink.ui-ncbitoggler,a.resLink.ui-ncbitoggler-open
-{
-    font-size:100%;
-}
-
-
-table.options .helplink
-{
-    font-size:100%;
-    display:inline;
-}
-
-
-span.ui-icon.ui-icon-triangle-1-e,span.ui-icon.ui-icon-triangle-1-s
-{
-   padding-left: 12px;
-   background-repeat: no-repeat;      
-   -moz-outline-style: none;   
-   text-decoration: underline;
-   /*height:18px;
-   width:20px;   */
-}
-
-
-
-span.ui-icon.ui-icon-triangle-1-e
-{   
-   background-image: url(images/rightSmallArrow.gif);
-}
-
-span.ui-icon.ui-icon-triangle-1-s
-{
-    background-position: center left;
-    background-image: url(images/downSmallArrow.gif); 
-}
-
-table.dbInfo.shown
-{
-    display:table;
-}
-
-#seealso a.hidden
-{
-    display:none;
-}
-
-#seealso a, #seealso a.hidden.shown
-{
-    display:inline-block;
-}
-
-
-a.ui-ncbitoggler.hidden.shown.jtg, a.ui-ncbitoggler-open.hidden.shown.jtg 
-{
-    display:inline;
-}
-/**Comment those line to display ncbi-toggler native icon - begin *
-a.ui-ncbitoggler span.ui-icon-plus-minus-big, a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open 
-{
-   padding-left: 16px;
-   background-image: url(images/down.gif);
-   background-repeat: no-repeat;   
-   background-position: center left;
-   -moz-outline-style: none;
-   text-decoration: none;
-   text-decoration: underline;
-}
-
-a.ui-ncbitoggler span.ui-icon-plus-minus-big
-{   
-   background-image: url(images/right.gif);
-}
-
-a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open
-{
-     background-image: url(images/down.gif);
-}
-*Comment those line to diplay ncbi-toggler native icon - end **/
-
-a.ui-ncbitoggler span.ui-icon-plus-minus-big, a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open {  
-  background-image: url("images/ncbitoggler-plus-minus-big.gif");
-}
-a.helplink{display:inline}
-#summary .ui-widget
-{
-font-family:Verdana,Arial,Sans-Serif  !important;
-font-size:100%;
-}
-.resBox.ui-widget,.resbox.ui-widget
-{
-    font-size:100%;
-}
-
-.resetAll
-{
-    position:absolute;
-    padding:0;    
-    right:0;
-    margin-right:5em;    
-}
-
-#nft
-{
-    padding-right:1em;
-    vertical-align:baseline;
-}
-#advView
-{
-    margin-left:3em;
-}
-#SwitchDesign, a.fdb
-{
-    color:Red;     
-}
-a.fdb
-{
-    margin-top: -1.5em;
-    float:right;
-    margin-right:5%;    
-}
-#SwitchDesign
-{
-    left:50em;
-    right:10em;
-    position:absolute;
-    white-space:nowrap;
-}
-
-
-#brFtp
-{    
-    margin-left:1em; 
-}
-
-#hnr 
-{
-    float:right;
-}
-
-#topLinks
-{
-    float:left;
-}
-#topLinksLeft
-{
-    float:right;
-}
-
-#summary h1
-{
-    border-top:none;
-}
-
-#dbPlusSpecies > div {
-  width: 50%;
-  margin-top:0.5em;
-  padding-bottom:0.1em;
-}
-
-#nextDbSet,#lastDbSet {
-  float: right;
-}
-#prevDbSet,#lastDbSet {
-  padding-left:0.5em;
-}
-#dbSpecies,#dbSpecies caption 
-{
-    margin-top:auto;
-}
-.cpAdd
-{
-    font-size:80%;
-}
--- a/Blast output page example_files/results.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,649 +0,0 @@
-// JScript source code
-
-//Display Reformat page button only after the whole page is loaded    
-
-function ReformatPageEvent()
-{
-	var refPageLink = document.getElementById("refPage");    	
-	
-	//alert(refPageLink);
-	//alert(refPageLink.getAttribute("submitForm"));
-	var submitForm = refPageLink.getAttribute("submitForm");
-	alert(submitForm);
-	if(refPageLink && submitForm) {
-		utils.addEvent(refPageLink, 
-					   "click", 
-					   function() {
-							document.getElementById(submitForm).submit();					
-						}, 
-						false);    
-	}	
-}
-
-
-function SubmitEvent(linkID)
-{
-	
-	var link = document.getElementById(linkID);    	
-	//alert(link.getAttribute("submitForm"));
-	var submitForm = link.getAttribute("submitForm");
-	if(link && submitForm) {
-		utils.addEvent(link, 
-					   "click", 
-					   function() {							
-							document.getElementById(submitForm).submit();					
-						}, 
-						false);    
-	}	
-}
-
-
-function SubmitEventSave(linkID)
-{
-	
-	var link = document.getElementById(linkID);    	
-	//alert(link.getAttribute("submitForm"));
-	var submitForm = link.getAttribute("submitForm");
-	if(link && submitForm) {
-		utils.addEvent(link, 
-					   "click", 
-					   function() {
-							//$(submitForm).CMD.value = "GetSaved";							
-							document.getElementById(submitForm).submit();					
-						}, 
-						false);    
-	}	
-}
- 				
- 				
-
-
-//This function creates submit form event on click
-//form submitted is defined in submitForm attribute
-//It also copies params from forms[0] (search paramateres) created by formatter
-function SubmitEventNew(linkID)
-{
-	
-	var link = document.getElementById(linkID);    	
-	//alert(link.getAttribute("submitForm"));
-	if(!link) return;
-	var submitForm = link.getAttribute("submitForm");
-	if(link && submitForm) {
-		utils.addEvent(link, 
-					   "click", 
-					   function() {					 
-							document.forms[0].CMD.value = "";  
-							if(document.forms[0].PAGE_TYPE) {
-								document.forms[0].PAGE_TYPE.value = "";  
-							}
-							var s = document.forms[0].innerHTML;														
-							var form = $(submitForm);							
-							form.innerHTML = s + form.innerHTML;							
-							form.submit();					
-						}, 
-						false);    
-	}	
-}
-
-function GetResults()
-{
-    form = $("results");    
-    form.QUERY_INDEX.value = $("queryList")[$("queryList").selectedIndex].value;
-    form.submit();   
-}
-
-function isIdIn(id, idArray){
-  var idSeen=false;
-
-  for(i=0; i<idArray.length; i++){
-    if(id==idArray[i]){
-      idSeen=true;
-      break;
-    }
-  }
-  return idSeen;
-}
-
-function GetSelectedSeqString(formName)
-{
-    var selSeqs = "";
-    var idArray=new Array();
-    forms = document.getElementsByName(formName);    
-    for(var j=0; j < forms.length; j++){
-      for(var i=0; i < forms[j].elements.length; i++){
-        var theElem=forms[j].elements[i];
-        if(theElem.type=="checkbox"&&theElem.name=="getSeqGi"&&theElem.checked){      
-          if(!isIdIn(theElem.value, idArray)){            
-            idArray[idArray.length]=theElem.value;
-          }            
-        }      
-      }
-    }
-    selSeqs = idArray.join();
-    return selSeqs;
-}
-
-function ViewSelectedSeqs(e)
-{
-    var submitForm = $("submitterTop");
-    var targetForm = submitForm.getAttribute("seqsForm");
-    $("selSeqs").value = GetSelectedSeqString(targetForm);
-    submitForm.submit();
-    utils.preventDefault(e);
-}
-
-
-function ViewSelectedSeqTree()
-{
-    var submitForm = $("treesubmitterTop");
-    var targetForm = submitForm.getAttribute("seqsForm");
-    $("seqSet").value = GetSelectedSeqString(targetForm);
-    $("scrWidth").value = screen.width;
-    $("scrHeight").value = screen.height;
-    submitForm.submit();
-}
-
-function ViewTree(linkID) {
-    link = document.getElementById(linkID);
-    var target = link.target;
-    winRef = window.open(link.href + "&screenWidth=" + screen.width + "&screenHeight=" + screen.height, target);
-}
-
-function ViewSelectedSeqMultiAlign()
-{
-    var submitForm = $("multisubmitterTop");
-    var targetForm = submitForm.getAttribute("seqsForm");
-    $("seqSetM").value = GetSelectedSeqString(targetForm);    
-    submitForm.submit();
-}
-
-
-
-function selectAllSeqs()
-{
-    var formName = this.getAttribute("seqsForm");
-    forms = document.getElementsByName(formName);    
-    for(var j=0; j < forms.length; j++){
-        for(var i=0; i < forms[j].elements.length; i++){
-    //for(var i=0; i < document.forms[formName].elements.length; i++){
-            var theElem=forms[j].elements[i];
-            if(theElem.type=="checkbox"&&theElem.name=="getSeqGi"){     
-                theElem.checked=this.checked;
-            }
-        } 
-    }
-    links = document.getElementsByName("selectAll");
-    for(var i=0; i < links.length;i++) {
-        if(links[i] != this)  links[i].checked = this.checked;
-    }       
-}
-
-
-function InitSeqAlignLinks()
-{
-    var links = document.getElementsByName("getSeqs");
-    for(var i=0; i < links.length;i++) {
-        utils.addEvent(links[i],"click",ViewSelectedSeqs,false);  
-    }
-    links = document.getElementsByName("treeView");
-    for(var i=0; i < links.length;i++) {
-        utils.addEvent(links[i],"click",ViewSelectedSeqTree,false);  
-    }    
-    links = document.getElementsByName("mltiAln");
-    for(var i=0; i < links.length;i++) {
-        utils.addEvent(links[i],"click",ViewSelectedSeqMultiAlign,false);  
-    }        
-    links = document.getElementsByName("selectAll");
-    for(var i=0; i < links.length;i++) {
-        utils.addEvent(links[i],"click",selectAllSeqs,false);  
-    }   
-    
-    if($("showAlign"))
-        utils.addEvent($("showAlign"),"click",showHideLinks,false);  
-}
-
-function InitDownLoad()
-{
-    var deltaBlast = ($("diThresh") && $("diThresh").value != "") ? true : false;
-    if (!deltaBlast && ($("stepNumber").value == "" || $("stepNumber").value < 2)) {        
-        utils.addClass($("dnPSSMPar"),"hidden");        
-    }
-}
-function Reformat()
-{
-    if(utils.hasClass($("FormatForm").FORMAT_ORGANISM,"orgHint"))  $("FormatForm").FORMAT_ORGANISM.value = "";
-    
-    $("FormatForm").submit();    
-}
-function InitCustomButton(bn)
-{
-  utils.addEvent(bn, "mouseover", function() {this.src = this.getAttribute("mouseovImg");}, false);
-  utils.addEvent(bn, "mouseout", function() {this.src = this.getAttribute("mouseoutImg");}, false);
-  utils.addEvent(bn, "mousedown", function() {this.src = this.getAttribute("mousedownImg");}, false);
-  utils.addEvent(bn, "mouseup", function() {this.src = this.getAttribute("mouseupImg");}, false);    
-}
-
-function InitAllCustomButtons()
-{
-    if($("go")) InitCustomButton($("go"));
-    if($("dn")) InitCustomButton($("dn"));
-    if($("onPageReformat")) InitCustomButton($("onPageReformat"));    
-}
-function showHideLinks()
-{
-    var links = document.getElementsByName("selectAll");
-    for(var i=0; i < links.length;i++) {
-        //This is done since IE does not recognize getElementsByName for span elem
-        var allLinks = utils.getParent(links[i]);
-        var removeClass,addClass;
-        if(utils.hasClass(allLinks,"shownInl")) {        
-            removeClass="shownInl";    
-            addClass="hidden";        
-        }
-        else {
-            removeClass="hidden";
-            addClass="shownInl";        
-        }    
-        utils.removeClass(allLinks,removeClass);
-        utils.addClass(allLinks,addClass);   
-    }
-}
-/*remove this function */
-function InitHelpLinks()
-{
-    for(var i=1; i <= 11;i++) {           
-        InitToggleEvent($("hlp" + i));      
-    }
-}
-//This function is used for collapsible deflines onmouseover="showInfo(this)"
-//Initialized in showdefline.cpp
-function showInfo(elem)
-{
-    var targetElem = $("info_" + elem.id);
-    if(!targetElem) return;
-    if(elem.getAttribute("init") == "on") return;
-    
-    Toggle.addTarget(elem, targetElem);  
-    elem.setAttribute("init","on");    
-}
-
-function InitPsiBlast()
-{
-    //utils.addEvent($("ttt"),"keyup",SetHitlistSize,false);  
-    var hts = document.getElementsByName("HITLIST_SIZE");
-    for(var i=0; i < hts.length;i++) {    
-        utils.addEvent(hts[i],"keyup",SetHitlistSize,false);  
-    } 
-    if($("psiInp")) {
-        var numSubsets = $("psiInp").getAttribute("numSubsets");
-        for(var i=1; i <= numSubsets;i++) {
-            if ($("alnPos" + i)) InitToggleEvent($("alnPos" + i));  
-            if ($("deflnG" + i)) InitToggleEvent($("deflnG" + i));
-            if ($("deflnB" + i)) InitToggleEvent($("deflnB" + i));        
-        }         
-    }
-}
-
-function SetHitlistSize()
-{
-    var hts = document.getElementsByName("HITLIST_SIZE");
-    for(var i=0; i < hts.length;i++) {    
-        if(this != hts[i]) {
-            hts[i].value = this.value;
-        }
-    }    
-}
-function InitToggleEvent(toggleNode)
-{
-    if(toggleNode) {
-        var srcid = toggleNode.getAttribute("toggle");
-        if(srcid) Toggle.addTarget(srcid, toggleNode);  
-    }
-} 				
-
-function InitIFrameLinks()
-{
-    CheckIframe($("RSIFrameNoRes"),"prlink");
-    CheckIframe($("RSIFrameDesc"),"prlink");
-    CheckIframe($("RSIFrameAln"),"prlink");
-}
-
-function CheckIframe(iframe,contentElemID)
-{
-    if(!iframe) return;
-    
-    var iframeDoc;
-    
-    if(iframe.contentDocument) {//Firefox
-        iframeDoc = iframe.contentDocument;                
-    }
-    else if (iframe.contentWindow) {//IE
-        iframeDoc = iframe.contentWindow.document;                
-    }
-    else if(iframe.document) {
-        iframeDoc = iframe.document;                
-    }
-    if(iframeDoc){        
-        if(iframeDoc.getElementById(contentElemID)) {                        
-            utils.addClass(iframe,"shown");
-            utils.removeClass(iframe,"hidden");        
-        }           
-     }
-}    
-
-
-function InitHitMatrix()
-{
-    if($("bl2seImg")) {
-    
-        utils.addEvent($("hitmtImg"),"load",
-                        function() {                              
-						    utils.addClass($("bl2seImg"),"shown");
-                            utils.removeClass($("bl2seImg"),"hidden");                  
-                           
-						}, 
-						false);          
-        utils.addEvent($("showHitMatrix"),"click",
-                        function() {                            
-                            $("hitmtImg").src= $("hitmtImg").getAttribute("imgsrc");
-                            if(utils.hasClass($("htmb"),"shown")) {	                                
-							    utils.addClass($("htmb"),"hidden");
-                                utils.removeClass($("htmb"),"shown");                  
-                            }
-                            else {                                
-                                utils.addClass($("htmb"),"shown");
-                                utils.removeClass($("htmb"),"hidden");                  
-                            }
-						}, 
-						false);          
-        
-        if($("blastSpec") && $("blastSpec").value=="GlobalAln") {            
-            $("hitmtImg").src= $("hitmtImg").getAttribute("imgsrc");
-        }        
-    }   
-}    
-    
-    
-    
-	
- 				
-function SetFormSubmitEvent()
-{
-    var el = $("refPage");
-    if(el) {
-	    SubmitEventNew("refPage");	
-	}
-	SubmitEventNew("frmPage");	
-	el = $("searchOptions");
-	if(el) {
-	    SubmitEventNew("searchOptions");	
-	}
-	el = $("saveSearchOptions");
-	if(el) {
-	    SubmitEventNew("saveSearchOptions");	
-	}
-	//SubmitEventNew("breadCrSearchOptions");	
-	list = $("queryList");
-	if(list) {
-        utils.addEvent(list,"change",GetResults,false);  
-    }
-    
-    list = $("go");
-	if(list) {
-        utils.addEvent(list,"click",GetResults,false);  
-    }
-    
-    
-    list= $("onPageReformat");
-    if(list) {
-        utils.addEvent(list,"click",Reformat,false);  
-    }
-
-    if ($("cddResults") && $("statInfo")) {
-        jQuery($("cddResults")).ncbitoggler('toggle');
-    }
-    //New design still uses toggle    
-    if ($("showCDD")) {
-        InitToggleEvent($("cddInfo"));
-    }
-    InitToggleEvent($("refInfo"));
-    InitToggleEvent($("resStat"));
-    InitToggleEvent($("dbDetails"));
-    InitToggleEvent($("graphicInfo"));
-    InitToggleEvent($("descrInfo"));
-    InitToggleEvent($("alignInfo"));
-    InitToggleEvent($("ovrInfo"));        
-    InitToggleEvent($("queryInfo"));        
-    InitToggleEvent($("hitMatrixInfo"));            
-    InitToggleEvent($("bl2ovrInfo"));    
-    //Init only for PSI blastfse
-    if($("prevRID")) InitPsiBlast();    
-    InitSeqAlignLinks();
-    InitAllCustomButtons();        
-    if($("dnPSSMPar")) InitDownLoad(); 
-    InitHitMatrix();
-    if($("noRes")) {
-        if($("hitCvs")) utils.addClass($("hitCvs"),"hidden");
-        if($("hitText")) utils.addClass($("hitText"),"hidden");
-    }
-    InitIFrameLinks();
-    showDbDetails(); //fill behind the scene    
-    if ($("showDetails") && utils.hasClass($("showDetails"), "shown")) {
-        utils.addEvent($("showDetails"), "click", showDbDetails, false);
-    }
-    initContentWidth();    
-}
-
-function initContentWidth() {
-    var lineLengthElem = $("FormatForm").LINE_LENGTH;
-    if (lineLengthElem) {
-        var lineLength = parseInt(lineLengthElem[lineLengthElem.selectedIndex].value);
-        if (parseInt(lineLengthElem.getAttribute("defval")) == lineLength) return;
-
-        var charWidth = (navigator.userAgent.match(/ie/i)) ? 8 : 7;
-        var minWidth = (lineLength + parseInt(17)) * charWidth;
-
-
-        var alignView = $("FormatForm").ALIGNMENT_VIEW;
-        var formatType = $("FormatForm").FORMAT_TYPE;
-        var queryAnch = formatType[formatType.selectedIndex].value == "HTML" && (alignView[alignView.selectedIndex].value != "Pairwise" && alignView[alignView.selectedIndex].value != "PairwiseWithIdentities");
-
-        var addWidth = ($("FormatForm").OLD_VIEW.checked || queryAnch) ? 250 : 350;
-
-        minWidth = minWidth + parseInt(addWidth) + "px";
-        jQuery($("content")).css("min-width", minWidth);
-    }
-    
-}
-
-
-
-
-
-function ShowHideAlnDeflines(alnID, checkbx) {
-    var dflTableID = "dln_" + alnID;
-    if ($(dflTableID)) {
-        var rmClass, addClass;
-        if (checkbx.checked) {
-            rmClass = "hidden";
-            addClass = "shown";
-        }
-        else {
-            rmClass = "shown";
-            addClass = "hidden";
-        }
-        var elems = $C(rmClass, "class", $(dflTableID), "tr");
-        if (elems) {
-            //alert(elems.length);
-            for (var i = 0; i < elems.length; i++) {
-                utils.removeClass(elems[i], rmClass);
-                utils.addClass(elems[i], addClass);
-            }
-        }
-    }
-}
-
-function SortAln(e, sortLink, sortItem) {
-    var p = utils.getParent(sortLink);
-    var p = utils.getParent(p);
-    p_TD = utils.getParent(p);
-    p_TR = utils.getParent(p_TD);
-    if (utils.hasClass(p_TR, "dflnAln")) {
-        p_TD.innerHTML = "Reading seqaligns...";
-        var gi = p_TD.id.substr(2);
-        var rid = p_TD.getAttribute("rid");
-        getAlignSort(rid, gi, p_TD, sortItem);
-        e = e || window.event;
-        utils.preventDefault(e);
-        return;
-    }
-    var links = document.getElementsByName("alnSort");
-    if (links.length >= sortItem) {
-        var href = links[sortItem].href.replace(new RegExp("selectAllTop.*(&|$)"), "");
-        var hrefLn = sortLink.href.replace(new RegExp(".*#"), "");
-        sortLink.href = href + hrefLn;
-    }
-}
-
-
-
-var fullArr;
-var numDbs;
-function showDbDetails(e,dbSetIndex) 
-{
-    if (!($("dbPlusSpecies"))) return; //No org display
-    if ($("dbPlusSpecies").getAttribute("init") == "on" && dbSetIndex == null) return;
-    $("dbPlusSpecies").setAttribute("init", "on");
-    
-    dbInfoUrl = "getDBInfo.cgi";
-    var rp = new RemoteDataProvider(dbInfoUrl);
-    rp.minArr = 10;
-
-    if (!fullArr) {
-        var arr = $("results").DATABASE.value.split(" ");
-        numDbs = arr.length;
-        if (arr.length > rp.minArr) {
-            fullArr = new Array();
-            while (arr.length > 1) {
-                var arrNew = arr.splice(0, rp.minArr); //does not include stopindex
-                fullArr.push(arrNew);
-            }
-            if (!dbSetIndex) dbSetIndex = 0;
-        }
-    }
-
-    rp.onSuccess = function(obj) {
-        var navDB = document.createElement("div");
-        if (fullArr) {
-            var prevLink, nextLink, firstLink, lastLink;
-            if (this.currDbSetIndex >= 1) {
-                var firstStart = 1;
-                var firstEnd = firstStart + fullArr[0].length - 1;
-                firstLink = document.createElement("a");
-                jQuery(firstLink).attr("href", "#");
-                jQuery(firstLink).attr("id", "firstDbSet");
-                jQuery(firstLink).attr("onclick", "showDbDetails(event,0);");
-                jQuery(firstLink).attr("title", "Databases " + firstStart + "-" + firstEnd);
-                jQuery(firstLink).html("First " + this.minArr + " dbs");
-
-            }
-            if (this.currDbSetIndex >= 1) {
-                var prevStart = (this.currDbSetIndex - 1) * this.minArr + 1;
-                var prevEnd = prevStart + fullArr[this.currDbSetIndex - 1].length - 1;
-                prevLink = document.createElement("a");
-                jQuery(prevLink).attr("href", "#");
-                jQuery(prevLink).attr("id", "prevDbSet");
-                jQuery(prevLink).attr("onclick", "showDbDetails(event," + (this.currDbSetIndex - 1) + ");");
-                jQuery(prevLink).attr("title", "Databases " + prevStart + "-" + prevEnd);
-                jQuery(prevLink).html("Prev " + this.minArr + " dbs");
-            }
-
-            if (this.currDbSetIndex < fullArr.length - 1) {
-                var nextStart = (this.currDbSetIndex + 1) * this.minArr + 1;
-                var nextEnd = nextStart + fullArr[this.currDbSetIndex + 1].length - 1;
-                nextLink = document.createElement("a");
-                jQuery(nextLink).attr("href", "#");
-                jQuery(nextLink).attr("id", "nextDbSet");
-                jQuery(nextLink).attr("onclick", "showDbDetails(event," + (this.currDbSetIndex + 1) + ");");
-                jQuery(nextLink).attr("title", "Databases " + nextStart + "-" + nextEnd);
-                jQuery(nextLink).html("Next " + this.minArr + " dbs");
-            }
-            if (this.currDbSetIndex < fullArr.length - 1) {
-                var lastInd = fullArr.length - 1;
-                var lastStart = numDbs - fullArr[lastInd].length;
-                var lastEnd = numDbs;
-                lastLink = document.createElement("a");
-                jQuery(lastLink).attr("href", "#");
-                jQuery(lastLink).attr("id", "lastDbSet");
-                jQuery(lastLink).attr("onclick", "showDbDetails(event," + lastInd + ");");
-                jQuery(lastLink).attr("title", "Databases " + lastStart + "-" + lastEnd);
-                jQuery(lastLink).html("Last " + this.minArr + " dbs");
-            }
-
-
-            jQuery(navDB).attr("id", "addDbSet");
-            if (firstLink) jQuery(navDB).append(firstLink);
-            if (prevLink) jQuery(navDB).append(prevLink);
-            if (lastLink) jQuery(navDB).append(lastLink);
-            if (nextLink) jQuery(navDB).append(nextLink);
-        }
-
-        jQuery($("dbPlusSpecies")).html(navDB);
-        jQuery(navDB).after(obj.responseText);
-        if (fullArr) {
-            var cap = jQuery($("dbSpecies")).find("caption");
-            if (cap) {
-                var currStart = (this.currDbSetIndex) * this.minArr + 1;
-                var currEnd = currStart + fullArr[this.currDbSetIndex].length - 1;
-                var capText = cap.html() + "<div class=\"cpAdd\"> Databases " + currStart + "-" + currEnd;
-                cap.html(capText);
-            }
-        }
-    };
-    rp.onError = function(obj) {
-        $("dbPlusSpecies").innerHTML += "error, requests:" + this.iActiveRequests + " status:" + obj.status;
-    }
-    var dbs;
-    if (fullArr) {
-        rp.currDbSetIndex = dbSetIndex;        
-        var currArr = fullArr[dbSetIndex];
-        dbs = currArr.join(",");
-    }
-    else {
-        dbs = $("results").DATABASE.value.replace(/ /g, ",");
-    }
-
-    rp.Request("CMD=getDBOrg&DATABASE=" + dbs, "POST");
-    if(e) utils.preventDefault(e);
-}
-
-function synchronizeCheck(id, formName, inputName, isChecked) {
-
-    for (var i = 0; i < document.forms[formName].elements.length; i++) {
-        var theElem = document.forms[formName].elements[i];
-        if (theElem.type == "checkbox" && theElem.name == inputName && id == theElem.value) {
-            theElem.checked = isChecked;
-
-        }
-    }
-
-}
-
-utils.addEvent(window,
-				"load", SetFormSubmitEvent,				
-				false);
-
-
-/* If user agent has "safari" in it, include safari-specific stylesheet. */ 
-if (navigator.userAgent.match(/safari/i) || navigator.userAgent.match(/opera/i)) {
-document.write("<link rel='stylesheet' type='text/css' href='css/safari-descriptions.css'  media='screen'/>");
-}
-if (navigator.userAgent.match(/opera/i)) {    
-document.write("<link rel='stylesheet' type='text/css' href='css/opera-descriptions.css'  media='screen'/>");
-}
-if (navigator.userAgent.match(/firefox/i) || navigator.userAgent.match(/safari/i)) {
-document.write("<link rel='stylesheet' type='text/css' href='css/firefox-descriptions.css'  media='screen'/>");
-}
-
-
-
Binary file Blast output page example_files/scale.gif has changed
Binary file Blast output page example_files/score.gif has changed
--- a/Blast output page example_files/toggle.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,174 +0,0 @@
-
-Toggle = function(node) {
-   this.init(node);
-}
-
-/**
-* @class Creates a  new Toggle class with "node" as src
-* @return Reutrns a new toggle instance
-*/
-Toggle.prototype = {
-   
-   init: function(node) {
-
-      // Subclass instance?
-      if (typeof(arguments[0]) == 'undefined') return;
-
-      var oThis = this;
-      this.node = node;
-
-      // Initialize "showing" variable based on presence of "showing" or
-      // "hiding" class. If neither, then showing. Be sure class is
-      // set to reflect variable value
-      node.showing =
-         utils.hasClass(node, "showing") || !utils.hasClass(node, "hiding");
-      utils.addClass(node, node.showing ? "showing" : "hiding");
-   
-      // Set notifier for node
-      utils.addEvent(node, "click", function(e) {
-         e = e || window.event;
-         utils.preventDefault(e);
-
-         var theNode = utils.getTargetObj(e);
-
-         // Send message to global notifier, if one exists
-         if (typeof(Notifier) != 'undefined') {
-            var notifier = Notifier.getInstance();            
-            // Notify before change
-            notifier.Notify(oThis, "change:" + theNode.id, !this.showing);
-         }
-
-         // Hide or show based on current state
-         if (this.showing) {
-             oThis.hide();
-         } else {
-             oThis.show();
-         }
-
-      }, false);
-      
-      utils.addEvent(node, "selectstart", function(e) { utils.preventDefault(e); }, true);
-      utils.addEvent(node, "drag", function(e) { utils.preventDefault(e); }, true);
-
-      // Cache "this" for ID lookup
-      if (!node.id) {
-          node.id = utils.createNewId();
-      }
-      var m = Toggle.getSrcs();
-      m[node.id] = this;
-   },
-
-   // Hide targets, and set self to hiding.
-   hide: function() {
-       var oThis = this;
-
-       oThis.setHiding();
-       if (oThis.listeners) {
-           forEach(oThis.listeners, function(l) {
-               oThis.hideTarget(l);
-           });
-       }
-   },
-
-   // Show targets, and set self to showing.
-   show: function() {
-       var oThis = this;
-
-       oThis.setShowing();
-       if (oThis.listeners) {
-           forEach(oThis.listeners, function(l) {
-               oThis.showTarget(l);
-           });
-       }
-   },
-
-   // Set own presentation to "showing"
-   setShowing: function() {
-       utils.addClass(this.node, "showing");
-       utils.removeClass(this.node, "hiding");
-       this.node.showing = true;
-   },
-
-   // Set own presentation to "hiding"
-   setHiding: function() {
-       utils.addClass(this.node, "hiding");
-       utils.removeClass(this.node, "showing");
-       this.node.showing = false;
-   },
-
-   // Show a target
-   showTarget: function(l) {
-       utils.addClass(l, "shown");
-       utils.removeClass(l, "hidden");
-   },
-
-   // Hide a target
-   hideTarget: function(l) {
-      utils.addClass(l, "hidden");
-      utils.removeClass(l, "shown");
-   },
-
-   // Add a target to this toggle.
-   add: function(target) {
-      if (!this.listeners) {
-          this.listeners = new Array();
-      }
-      this.listeners[this.listeners.length] = target;
-
-      if (utils.hasClass(target, "hidden")) {
-        this.setHiding();
-        this.node.showing = false;
-      } else {
-        this.setShowing();
-        this.node.showing = true;
-      }
-   }
-}
-
-// Show/hide a "target" (a node controlled by the node with the given ID)
-Toggle.addTarget = function(srcid, target) {
-   var tn = Toggle.findOrMake(srcid);
-   tn.add(target);
-}
-
-// Assoc array of srcs indexed by their ids
-Toggle.getSrcs = function() {
-   if (!Toggle.srcs) {
-      Toggle.srcs = new Object();
-   }
-   return Toggle.srcs;
-}
-
-// Find or make toggle for given id
-Toggle.findOrMake = function(srcid) {
-   var ts = Toggle.getSrcs();
-   var tn = ts[srcid];
-   if (!tn) {
-      tn = new Toggle($(srcid));
-   }
-   return tn;
-}
-
-// This dispatches the call to Toggle.onload, which may be
-// overridden by instances (subclasses)
-Toggle._onload = function() {
-   Toggle.onload();
-}
-
-// A toggle source node controls other nodes that reference it by id using
-// their toggle= attribute. A node may be both a toggle source and destination.
-Toggle.onload = function() {
-//alert("toggle start");
-   if(utils.hasClass(document.body,"noToggleCheck")) return;
-      
-   shnodes = jQuery("[toggle]");
-   // Now hook up dst nodes
-   forEach(shnodes, function(node) {
-      // Link toggle node to its source
-      var srcid = node.getAttribute("toggle");
-      Toggle.addTarget(srcid, node);
-   });
-    //alert("toggle 2 end");
-}
-
-utils.addEvent(window, 'load', Toggle._onload, false);
--- a/Blast output page example_files/utils.js	Thu May 15 16:53:04 2014 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,633 +0,0 @@
-// $Id: utils.js,v 1.4 2014/02/26 14:47:32 zaretska Exp $
-    
-utils = {
-
-KeyCode_TAB: 9,
-KeyCode_DELETE: 46,
-KeyCode_BACKSPACE: 8,
-KeyCode_LEFT_ARROW: 37,
-KeyCode_RIGHT_ARROW: 39,
-KeyCode_HOME: 36,
-KeyCode_END: 35,
-KeyCode_PAGE_UP: 33,
-KeyCode_PAGE_DOWN: 34,
-KeyCode_UP_ARROW: 38,
-KeyCode_DOWN_ARROW: 40,
-KeyCode_ESC: 27,
-KeyCode_ENTER: 13,
-KeyCode_SPACE: 32,
-KeyCode_SHIFT_KEY: 16,
-KeyCode_CTRL_KEY: 17,
-KeyCode_ALT_KEY: 18,
-KeyCode_LEFT_MS_WINDOWS_KEY: 91, 
-KeyCode_RIGHT_MS_WINDOWS_KEY: 92,
-KeyCode_MS_MENU_KEY: 93,
-    
-isObject: function(a) { return (a && typeof a == 'object'); },
-
-isArray: function(a) { return this.isObject(a) && a.constructor == Array; },
-    
-insertInHtml: function(text, obj) {
-	if (document.all) {
-		obj.innerHTML += text;
-	} else {
-		var range = document.createRange();
-		range.setStartAfter(obj);
-		var docFrag = range.createContextualFragment(text);
-		obj.appendChild(docFrag);
-	}
-	
-},
-    
-replaceInHtml: function(text, obj) {
-	if (document.all) {
-		obj.innerHTML = text;
-	} else {
-		while (obj.hasChildNodes()) obj.removeChild(obj.firstChild);
-		var range = document.createRange();
-		range.setStartAfter(obj);
-		var docFrag = range.createContextualFragment(text);
-		obj.appendChild(docFrag);
-	}
-},
-    
-    
-getTargetObj: function(eEvent) {
-    var oTarget;
-    var e = eEvent || window.event;
-    if (e == null) return null;
-    if (e.srcElement == null)  {
-        oTarget = e.target;
-    } else {
-        oTarget = e.srcElement;
-    }
-    while ( oTarget && oTarget.nodeType != 1 ) oTarget = oTarget.parentNode;
-    return oTarget;
-},
-    
-
-
-
-getParent: function(obj) {
-     if (obj) {
-         var result = obj.parentNode;
-         while (result && result.nodeType != 1) result = result.nextSibling;
-         if (result) return result;
-     }
-     return null;
-},
-    
-getFirstChild: function(obj) {
-     if (obj) {
-         var result = obj.firstChild;
-         while (result && result.nodeType != 1) result = result.nextSibling;
-         if (result) return result;
-     }
-     return null;
-},
-    
-getNextSibling: function(obj, tagName) {
-    if (obj) {
-        var result = obj.nextSibling;    
-        if (tagName) {
-            var tn = tagName.toUpperCase();
-            while (result && result.tagName != tn) result = result.nextSibling;
-        } else {
-            while (result && result.nodeType != 1) result = result.nextSibling;
-        }
-        return result;
-    }
-    return null;
-},
-
-getPreviousSibling: function(obj, tagName) {    
-     if (obj) {
-         var result = obj.previousSibling;    
-         if (tagName) {
-             var tn = tagName.toUpperCase();
-             while (result && result.tagName != tn) result = result.previousSibling;
-         } else {
-             while (result && result.nodeType != 1) result = result.previousSibling;
-         }
-         return result;
-     }
-     return null;
-},
-    
-removeChildren: function(oObj) {
-     if (!oObj || typeof oObj != "object") return;
-     while(oObj.hasChildNodes()) oObj.removeChild(oObj.firstChild)
-},
-
-insertAfter: function(parent, node, referenceNode) {
-	parent.insertBefore(node, referenceNode.nextSibling);
-},
-
-nextItem: function(item, nodeName) {
-    if (item == null) return;
-    var next = item.nextSibling;
-    while (next != null) {
-        if (next.nodeName == nodeName) return next;
-        next = next.nextSibling;
-    }
-    return null;
-},
-
-previousItem: function(item, nodeName) {
-    var previous = item.previousSibling;
-    while (previous != null) {
-        if (previous.nodeName == nodeName) return previous;
-        previous = previous.previousSibling;
-    }
-    return null
-},
-
-moveBefore: function(item1, item2) {
-    var parent = item1.parentNode;
-    parent.removeChild(item1);
-    parent.insertBefore(item1, item2);
-},
-
-moveAfter: function(item1, item2) {
-    var parent = item1.parentNode;
-    parent.removeChild(item1);
-    parent.insertBefore(item1, item2 ? item2.nextSibling : null);
-},
-
-
-
-
-createCookie: function(name, value, days) {
-    if (days) {
-        var date = new Date();
-        date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
-        var expires = '; expires=' + date.toGMTString();
-    } else expires = '';
-    document.cookie = name + '=' + value + expires + '; path=/';
-},
-
-readCookie: function(name) {
-    var nameEQ = name + '=';
-    var ca = document.cookie.split(';');
-    for (var i = 0; i < ca.length; i++) {
-        var c = ca[i];
-        while (c.charAt(0)==' ') c = c.substring(1, c.length);
-        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
-    }
-    return "";
-},
-
-eraseCookie: function(name) {
-	document.cookie = name + "=null; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=nih.gov; path=/";
-	document.cookie = name + "; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=nih.gov; path=/";
-},
-
-addClass: function(element, className) {
-    if (!this.hasClass(element, className)) {
-        if (element.className) element.className += " " + className;
-        else element.className = className;
-    }
-},
-
-removeClass: function(element, className) {
-    var regexp = new RegExp("(^|\\s)" + className + "(\\s|$)");
-    element.className = element.className.replace(regexp, "$2");
-},
-
-hasClass: function(element, className) {
-    var regexp = new RegExp("(^|\\s)" + className + "(\\s|$)");
-    return regexp.test(element.className);
-},
-
-
-getXY: function (obj){
-     /*
-     +------------- w ----
-     | (x,y)
-     |
-     h
-     |
-     */
-     var b={x:0, y:0, w:obj.offsetWidth, h:obj.offsetHeight};
-     
-     if (obj.offsetParent) {
-         while(obj) {
-             b.x += obj.offsetLeft;
-             b.y += obj.offsetTop;
-             obj = obj.offsetParent;
-         }
-     } else if (obj.x) {
-         b.x = obj.x;
-         b.y = obj.y;
-     }
-     return b;
-},
-
-/* Based on ppk (untested) */
-getEventXY: function(e) {
-    var xpos = 0;
-    var ypos = 0;
-    e = e || window.event;
-    xpos = e.pageX || (e.clientX + document.body.scrollLeft + 
-                    document.documentElement.scrollLeft);
-    ypos = e.pageY || (e.clientY + document.body.scrollTop + 
-                    document.documentElement.scrollTop);
-    return {x: xpos, y: ypos};
-},
-
-drawText: function (sText, sId, add) {
-    if (!sId) sId = "debug";
-    var obj = document.getElementById(sId);
-    if (obj) {
-        if (add)
-            this.insertInHtml("<br/>" + sText, obj);
-        else
-            this.replaceInHtml(sText, obj);
-    }
-},
-
-
-selectRange: function (oObj /*:object*/, iStart /*:int*/, iLength /*:int*/) {
-    if (!(oObj && oObj.value)) return;
-    
-    if (oObj.createTextRange) {
-        //use text ranges for Internet Explorer
-        var oRange = oObj.createTextRange(); 
-        oRange.moveStart("character", iStart); 
-        oRange.moveEnd("character", iLength - oObj.value.length);      
-        oRange.select();
-    } else if (oObj.setSelectionRange) {
-        //use setSelectionRange() for Mozilla
-        oObj.setSelectionRange(iStart, iLength);
-    }     
-    //set focus back to the textbox
-    oObj.focus();      
-},
- 
-getSelection: function() {
-     var text = "";
-     if (window.getSelection) {  
-         text += window.getSelection();
-     } else if (document.getSelection) {  
-         text += document.getSelection();
-     } else if (document.selection){        //IE
-         text += document.selection.createRange().text;
-     }
-     return text;
-},
-
-
-
-
-// http://ejohn.org/apps/jselect/event.html
-addEvent: function(obj, type, fn, b) {
-    if (obj.attachEvent) {
-        var name = "" + type + fn; 
-//        name = name.substring(0, name.indexOf("\n"));   // IE  This doesn't work
-        obj["e" + name] = fn;
-        obj[name] = function(){ obj["e" + name](window.event);}
-        obj.attachEvent("on" + type, obj[name]);
-    } else {
-        obj.addEventListener(type, fn, b);
-        return true;
-    }
-},
-
-
-removeEvent: function(obj, type, fn, b) {
-    if (obj.detachEvent) {
-        var name = "" + type + fn; 
-//        name = name.substring(0, name.indexOf("\n"));   //IE This doesn't work
-        if ("function" == typeof obj[name]) {
-            obj.detachEvent("on" + type, obj[name]);
-            obj[name] = null;
-            obj["e" + name] = null;
-        }
-    } else {
-      obj.removeEventListener(type, fn, b);
-      return true;
-    }
-},
- 
-noBubbleEvent: function(e) {
-	if (e && e.stopPropagation) e.stopPropagation();
-	else window.event.cancelBubble = true;
-},
-
-targetEvent: function(e) {
-     if (e.srcElement == null) {
-         return e.target;
-     } else {
-         return window.event.srcElement;
-     }
-},
-
-preventDefault: function(e) {
-     if (e.preventDefault) e.preventDefault();
-     else window.event.returnValue = false;
-},
-
-relatedTarget: function(e) {
-    if (!e) var e = window.event;
-	if (e.relatedTarget)    return e.relatedTarget;
-	else if (e.toElement)   return e.toElement;
-    else if (e.fromElement) return e.fromElement;
-},
-
-readStyle: function(element, property) {
-    if (element.style[property]) {
-        return element.style[property];
-    } else if (element.currentStyle) {
-        return element.currentStyle[property];
-    } else if (document.defaultView && document.defaultView.getComputedStyle) {
-        var style = document.defaultView.getComputedStyle(element, null);
-        if (style) return style.getPropertyValue(property);
-    } 
-    return "";
-},
-
-
-printObj: function (oObj, iLevel) {
-     var s = "";
-     var sIdent = "";
-     if (!iLevel) iLevel = 0;
-     for (var i = 0; i < iLevel; i++) {
-         sIdent += "__";
-     }
-     for (var i in oObj) {
-         var ss = [];
-         if ("string" == typeof oObj[i]) {
-             ss = oObj[i].split("<");
-         }
-         s += sIdent + " " + i + " : [" + (typeof oObj[i]) + "] : " + ss.join("&lt;") + "<br/>";
- //        if (oObj[i] && "object" == typeof oObj[i] && iLevel < 2) {
- //            s+= "<br/>-----" + typeof oObj[i] + " --- " + iLevel + "</br>";
- //            s += this.printObj(oObj[i], iLevel + 1); 
- //        }
-     }
-     return s;
-},
-
-jsLoader:  {
-    sBase: "", /* Base is this directory */
-    oLoaded: [],
-    load: function (aScripts) {
-    
-       var oS = document.getElementsByTagName("script");
-       var k = 0;
-       for (var j = 0; j < oS.length; j++) {
-           if (oS[j].src == "") continue;
-           this.oLoaded[k++] = oS[j].src;
-       }
-
-        var oHead = document.getElementsByTagName("head")[0];
-
-        for (var i = 0; i < aScripts.length; i++) {
-            var sNewSrc = this.sBase + aScripts[i];
-            var oS = document.getElementsByTagName("script");
-            var b = true;
-            for (var j = 0; j < this.oLoaded.length; j++) {
-                if (sNewSrc == this.oLoaded[j]) {
-//                    alert(sNewSrc + " : already loaded");
-                    b = false;
-                }
-            }
-
-            if (b) {
-                var oScript = document.createElement("script");
-                oScript.src = sNewSrc;
-                oScript.setAttribute("type", "text/javascript");
-                oHead.appendChild(oScript);
-                this.oLoaded[this.oLoaded.length] = sNewSrc;
-            }
-        }
-    }
-},
-
-// Create an id that doesn't exist in this document
-createNewId: function()
-{
-   var newid = null
-
-   while (!newid || document.getElementById(newid)) {
-       newid = "XID" + Math.round(Math.random() * 65536).toString(16)
-   }
-   return newid
-}
-
-};
-	
-    
-String.prototype.trimSpaces = function(trimMode) {
-    // 0 = trim begin and end
-    // 1 = trim begin only
-    // 2 = trim after only
-
-    var targetString = this;
-    var iPos = 0;
-    if (!trimMode) trimMode = 0;
-    
-    if (trimMode==0 || trimMode==1) {
-        if (targetString.charAt(iPos)==" ") {
-            while(targetString.charAt(iPos)==" ") iPos++;
-            targetString = targetString.substr(iPos);
-        }
-    }
-
-    iPos = targetString.length-1;
-    if (trimMode==0 || trimMode==2) {
-        if (targetString.charAt(iPos) == " ") {
-            while(targetString.charAt(iPos) == " ") iPos--;
-            targetString = targetString.substr(0, iPos + 1);
-        }
-    }
-    return targetString;
-}
-
-
-
-
-/* Shortcuts */
-
-// Get elements by Id's
-function $() {
-  var elements = new Array();
-
-  for (var i = 0; i < arguments.length; i++) {
-    var element = arguments[i];
-    if (typeof element == 'string')
-      element = document.getElementById(element);
-
-    if (arguments.length == 1)
-      return element;
-
-    elements.push(element);
-  }
-
-  return elements;
-}
-
-// Get elements by AttributeValue for Attributename
-// http://www.dustindiaz.com/top-ten-javascript/ (but has some errors)
-function $C(attrValue, attrName, node, tag) {          
-    //alert([attrValue, attrName, node, tag])
-    if ("*" == attrValue) {
-        return $AN(attrName, node, tag);
-    }
-	var oElements = new Array();
-	if (!node) node = document;
-	if (!tag) tag = '*';
-	if (!attrName) attrName = 'class';
-    
-	var els = node.getElementsByTagName(tag);
-	var elsLen = els.length;
-	var pattern = new RegExp("(^|\\s)" + attrValue + "(\\s|$)");
-    var j = 0;
-	for (i = 0; i < elsLen; i++) {
-		if (attrName == "class" && pattern.test(els[i].className)) {
-            // IE behavior
-//            oElements.push(els[i]);
-            oElements[j++] = els[i];
-		} else if (pattern.test(els[i].getAttribute(attrName))) {
-			oElements[j++] = els[i];
-//			oElements.push(els[i]);
-		}
-	}
-    return oElements;
-}
-
-
-function $AN(attrName, node, tag) {
-	var oElements = new Array();
-	if (node == null) node = document;
-	if (tag == null)tag = '*';
-	var els = node.getElementsByTagName(tag);
-	for (i = 0; i < els.length; i++) {
-		if (els[i].getAttribute(attrName) != null) {
-			oElements.push(els[i]);
-		}
-	}
-	return oElements;
-}
-
-function dump(aMessage) {
-  var consoleService = Components.classes["@mozilla.org/consoleservice;1"]
-                                 .getService(Components.interfaces.nsIConsoleService);
-  consoleService.logStringMessage(aMessage);
-}
-
-
-// forEach iterators from Dean Edwards: http://dean.edwards.name/weblog/2006/07/enum/
-// generic enumeration
-Function.prototype.forEach = function(object, block, context) {
-    for (var key in object) {
-        if (typeof this.prototype[key] == "undefined") {
-            block.call(context, object[key], key, object);
-        }
-    }
-};
-
-// globally resolve forEach enumeration
-var forEach = function(object, block, context) {
-    if (object) {
-        var resolve = Object; // default
-        if (object instanceof Function) {
-            // functions have a "length" property
-            resolve = Function;
-        } else if (object.forEach instanceof Function) {
-            // the object implements a custom forEach method so use that
-            object.forEach(block, context);
-            return;
-        } else if (typeof object.length == "number") {
-            // the object is array-like
-            resolve = Array;
-        }
-        resolve.forEach(object, block, context);
-    }
-};
-
-//
-// Update Array class to JS 1.5 if not yet there.
-//
-
-// array-like enumeration
-if (!Array.forEach) { // mozilla already supports this
-    Array.forEach = function(object, block, context) {
-        for (var i = 0; i < object.length; i++) {
-            block.call(context, object[i], i, object);
-        }
-    };
-}
-
-if (!Array.prototype.indexOf)
-	Array.prototype.indexOf = function(item, startIndex) {
-		var len = this.length;
-		if (startIndex == null)
-			startIndex = 0;
-		else if (startIndex < 0) {
-			startIndex += len;
-			if (startIndex < 0)
-				startIndex = 0;
-		}
-		for (var i = startIndex; i < len; i++) {
-			var val = this[i] || this.charAt && this.charAt(i);
-			if (val == item)
-				return i;
-		}
-		return -1;
-	};
-
-if (!Array.prototype.lastIndexOf)
-	Array.prototype.lastIndexOf = function(item, startIndex) {
-		var len = this.length;
-		if (startIndex == null || startIndex >= len)
-			startIndex = len - 1;
-		else if (startIndex < 0)
-			startIndex += len;
-		for (var i = startIndex; i >= 0; i--) {
-			var val = this[i] || this.charAt && this.charAt(i);
-			if (val == item)
-				return i;
-		}
-		return -1;
-	};
-
-if (!Array.prototype.map)
-	Array.prototype.map = function(func, thisVal) {
-		var len = this.length;
-		var ret = new Array(len);
-		for (var i = 0; i < len; i++)
-			ret[i] = func.call(thisVal, this[i] || this.charAt && this.charAt(i), i, this);
-		return ret;
-	};
-
-if (!Array.prototype.filter)
-	Array.prototype.filter = function(func, thisVal) {
-		var len = this.length;
-		var ret = new Array();
-		for (var i = 0; i < len; i++) {
-			var val = this[i] || this.charAt && this.charAt(i);
-			if(func.call(thisVal, val, i, this))
-				ret[ret.length] = val;
-		}
-		return ret;
-	};
-
-if (!Array.prototype.every)
-	Array.prototype.every = function(func, thisVal) {
-		var len = this.length;
-		for (var i = 0; i < len; i++)
-			if (!func.call(thisVal, this[i] || this.charAt && this.charAt(i), i, this))
-				return false;
-		return true;
-	};
-
-if (!Array.prototype.some)
-	Array.prototype.some = function(func, thisVal) {
-		var len = this.length;
-		for (var i = 0; i < len; i++)
-			if (func.call(thisVal, this[i] || this.charAt && this.charAt(i), i, this))
-				return true;
-		return false;
-	};
-
Binary file Blast output page example_files/white.gif has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example.html	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,2071 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+<meta name="jig" content="ncbitoggler ncbiautocomplete ncbilocalnav ncbigrid ncbipopper">
+<meta name="ncbitoggler" content="animation:'none'">
+<meta name="ncbipopper" content="animation:'none',closeEvent: 'click',openEvent: 'click',destPosition: 'top right',triggerPosition: 'bottom right'">
+
+<meta name="ncbi_app" content="blast">
+<meta name="ncbi_pdid" content="blastresults">
+<meta name="ncbi_stat" content="false">
+<meta name="ncbi_sessionid" content="8A8E11EE2CABF371_0000SID">
+<meta name="ncbi_phid" content="5AAB74D7368F2C81000000000000C9C8">
+<script type="text/javascript"> var ncbi_startTime = new Date(); </script>
+<title>NCBI Blast:Nucleotide Sequence (16 letters)</title>
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jig.js"></script><link rel="stylesheet" type="text/css" href="NCBI%20Blast%20reference%20example_files/jig.css"><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery_002.js"></script><link type="text/css" rel="stylesheet" href="NCBI%20Blast%20reference%20example_files/jquery_005.css"><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery_004.js"></script><link type="text/css" rel="stylesheet" href="NCBI%20Blast%20reference%20example_files/jquery_004.css"><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery_007.js"></script><link type="text/css" rel="stylesheet" href="NCBI%20Blast%20reference%20example_files/jquery_003.css"><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery.js"></script><link type="text/css" rel="stylesheet" href="NCBI%20Blast%20reference%20example_files/jquery_007.css"><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery_003.js"></script><link type="text/css" rel="stylesheet" href="NCBI%20Blast%20reference%20example_files/jquery_008.css"><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery_008.js"></script><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery_005.js"></script><link type="text/css" rel="stylesheet" href="NCBI%20Blast%20reference%20example_files/jquery.css"><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery_009.js"></script><link type="text/css" rel="stylesheet" href="NCBI%20Blast%20reference%20example_files/jquery_006.css"><script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/jquery_006.js"></script><link type="text/css" rel="stylesheet" href="NCBI%20Blast%20reference%20example_files/jquery_002.css">
+<script type="text/javascript">    jQuery.getScript("/core/alerts/alerts.js", function() {
+        galert(['div#header', 'body > *:nth-child(1)'])
+    });</script>
+<link rel="stylesheet" type="text/css" href="NCBI%20Blast%20reference%20example_files/main.css" media="screen">
+<link rel="stylesheet" type="text/css" href="NCBI%20Blast%20reference%20example_files/blastRes.css" media="screen">
+<!--[if IE]>
+<link rel="stylesheet" type="text/css" href="css/descriptionsIE.css" media="screen" />
+<![endif]-->
+<link rel="stylesheet" type="text/css" href="NCBI%20Blast%20reference%20example_files/print.css" media="print">
+<!--[if lte IE 6]>
+<link rel="stylesheet" type="text/css" href="css/ie6_or_less.css" />
+<![endif]-->
+<link rel="stylesheet" type="text/css" href="NCBI%20Blast%20reference%20example_files/blastReq.css" media="screen">
+<link rel="stylesheet" type="text/css" href="NCBI%20Blast%20reference%20example_files/results.css" media="screen">
+<link rel="stylesheet" type="text/css" href="NCBI%20Blast%20reference%20example_files/dynFormatRes.css" media="screen">
+
+<style media="print" type="text/css">.print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }.print-log li { list-style-image: url('/stat?jsevent=print&ncbi_app=blast&ncbi_pdid=blastresults&ncbi_phid=5AAB74D7368F2C81000000000000C9C8'); }</style><style type="text/css">.print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }</style></head>
+
+<body id="type-a" class="noToggleCheck ">
+<div id="wrap">
+			<div id="header">	    
+		<div id="site-name"><a id="logolink" href="http://www.ncbi.nlm.nih.gov/" title="NCBI Home Page"><img src="NCBI%20Blast%20reference%20example_files/helix.gif" alt="NCBI Logo" title="Link to NCBI Home Page"></a>BLAST <span id="trdm"> ®</span><h1 class="desc">Basic Local Alignment Search Tool</h1>
+		</div>
+		<div id="search">
+		
+<div>
+<script language="JavaScript" type="text/javascript"><!--
+// --></script><table class="medium1" style="border:2px solid #336699;" id="myncbi_off" cellpadding="2" cellspacing="0"><tbody><tr><td align="left" bgcolor="#336699"><a href="http://www.ncbi.nlm.nih.gov/myncbi/?"><font color="#FFFFFF"><b>My NCBI</b></font></a></td><td align="right" bgcolor="#336699"><a href="http://www.ncbi.nlm.nih.gov/books/NBK3842/" title="My NCBI help"><img src="NCBI%20Blast%20reference%20example_files/myncbihelpicon.gif" alt="My NCBI help" border="0"></a></td></tr><tr><td colspan="2" nowrap="nowrap"><a href="http://www.ncbi.nlm.nih.gov/account/?back_url=http%3A%2F%2Fblast%2Encbi%2Enlm%2Enih%2Egov%2FBlast%2Ecgi%3FADJUSTED%5FFOR%5FSHORT%5FQUERY%3Don%26ALIGNMENTS%3D100%26ALIGNMENT%5FVIEW%3DPairwise%26BLAST%5FPROGRAMS%3Dblastn%26CLIENT%3Dweb%26CMD%3DGet%26COMPOSITION%5FBASED%5FSTATISTICS%3D0%26CONFIG%5FDESCR%3D2%2C3%2C4%2C5%2C6%2C7%2C8%26DATABASE%3Dpdb%26DBTYPE%3Dgc%26DEFAULT%5FPROG%3DmegaBlast%26DESCRIPTIONS%3D100%26DYNAMIC%5FFORMAT%3Don%26EQ%5FOP%3DAND%26EXPECT%3D1000%26FORMAT%5FNUM%5FORG%3D1%26FORMAT%5FOBJECT%3DAlignment%26FORMAT%5FTYPE%3DHTML%26FULL%5FDBNAME%3Dpdb%26GAPCOSTS%3D5%2B2%26GET%5FSEQUENCE%3Don%26HSP%5FRANGE%5FMAX%3D0%26JOB%5FTITLE%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26LAYOUT%3DOneWindow%26LINE%5FLENGTH%3D60%26MASK%5FCHAR%3D2%26MASK%5FCOLOR%3D1%26MATCH%5FSCORES%3D1%2C%2D3%26MAX%5FNUM%5FSEQ%3D100%26NUCL%5FPENALTY%3D%2D2%26NUCL%5FREWARD%3D1%26NUM%5FDIFFS%3D1%26NUM%5FOPTS%5FDIFFS%3D0%26NUM%5FORG%3D1%26NUM%5FOVERVIEW%3D100%26OLD%5FBLAST%3Dfalse%26OLD%5FVIEW%3Dfalse%26PAGE%3DNucleotides%26PAGE%5FTYPE%3DBlastSearch%26PROGRAM%3Dblastn%26QUERY%5FINFO%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26QUERY%5FLENGTH%3D16%26REPEATS%3Drepeat%5F9606%26RID%3DPHWP1JNZ014%26RTOE%3D42%26SEARCH%5FDB%5FSTATUS%3D42%26SELECTED%5FPROG%5FTYPE%3DmegaBlast%26SERVICE%3Dplain%26SHORT%5FQUERY%5FADJUST%3Don%26SHOW%5FLINKOUT%3Don%26SHOW%5FOVERVIEW%3Don%26USER%5FDEFAULT%5FMATCH%5FSCORES%3D0%26USER%5FDEFAULT%5FPROG%5FTYPE%3DmegaBlast%26USER%5FTYPE%3D2%26WORD%5FSIZE%3D7%26%5FPGR%3D1%26%5FPGR%3D1%26db%3Dnucleotide%26stype%3Dnucleotide" title="Click to sign in" onclick="MyNCBI_auto_submit('http://www.ncbi.nlm.nih.gov/account/?back_url=http%3A%2F%2Fblast%2Encbi%2Enlm%2Enih%2Egov%2FBlast%2Ecgi%3FADJUSTED%5FFOR%5FSHORT%5FQUERY%3Don%26ALIGNMENTS%3D100%26ALIGNMENT%5FVIEW%3DPairwise%26BLAST%5FPROGRAMS%3Dblastn%26CLIENT%3Dweb%26CMD%3DGet%26COMPOSITION%5FBASED%5FSTATISTICS%3D0%26CONFIG%5FDESCR%3D2%2C3%2C4%2C5%2C6%2C7%2C8%26DATABASE%3Dpdb%26DBTYPE%3Dgc%26DEFAULT%5FPROG%3DmegaBlast%26DESCRIPTIONS%3D100%26DYNAMIC%5FFORMAT%3Don%26EQ%5FOP%3DAND%26EXPECT%3D1000%26FORMAT%5FNUM%5FORG%3D1%26FORMAT%5FOBJECT%3DAlignment%26FORMAT%5FTYPE%3DHTML%26FULL%5FDBNAME%3Dpdb%26GAPCOSTS%3D5%2B2%26GET%5FSEQUENCE%3Don%26HSP%5FRANGE%5FMAX%3D0%26JOB%5FTITLE%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26LAYOUT%3DOneWindow%26LINE%5FLENGTH%3D60%26MASK%5FCHAR%3D2%26MASK%5FCOLOR%3D1%26MATCH%5FSCORES%3D1%2C%2D3%26MAX%5FNUM%5FSEQ%3D100%26NUCL%5FPENALTY%3D%2D2%26NUCL%5FREWARD%3D1%26NUM%5FDIFFS%3D1%26NUM%5FOPTS%5FDIFFS%3D0%26NUM%5FORG%3D1%26NUM%5FOVERVIEW%3D100%26OLD%5FBLAST%3Dfalse%26OLD%5FVIEW%3Dfalse%26PAGE%3DNucleotides%26PAGE%5FTYPE%3DBlastSearch%26PROGRAM%3Dblastn%26QUERY%5FINFO%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26QUERY%5FLENGTH%3D16%26REPEATS%3Drepeat%5F9606%26RID%3DPHWP1JNZ014%26RTOE%3D42%26SEARCH%5FDB%5FSTATUS%3D42%26SELECTED%5FPROG%5FTYPE%3DmegaBlast%26SERVICE%3Dplain%26SHORT%5FQUERY%5FADJUST%3Don%26SHOW%5FLINKOUT%3Don%26SHOW%5FOVERVIEW%3Don%26USER%5FDEFAULT%5FMATCH%5FSCORES%3D0%26USER%5FDEFAULT%5FPROG%5FTYPE%3DmegaBlast%26USER%5FTYPE%3D2%26WORD%5FSIZE%3D7%26%5FPGR%3D1%26%5FPGR%3D1%26db%3Dnucleotide%26stype%3Dnucleotide');return false;">[Sign In]</a> <a href="http://www.ncbi.nlm.nih.gov/account/register/?back_url=http%3A%2F%2Fblast%2Encbi%2Enlm%2Enih%2Egov%2FBlast%2Ecgi%3FADJUSTED%5FFOR%5FSHORT%5FQUERY%3Don%26ALIGNMENTS%3D100%26ALIGNMENT%5FVIEW%3DPairwise%26BLAST%5FPROGRAMS%3Dblastn%26CLIENT%3Dweb%26CMD%3DGet%26COMPOSITION%5FBASED%5FSTATISTICS%3D0%26CONFIG%5FDESCR%3D2%2C3%2C4%2C5%2C6%2C7%2C8%26DATABASE%3Dpdb%26DBTYPE%3Dgc%26DEFAULT%5FPROG%3DmegaBlast%26DESCRIPTIONS%3D100%26DYNAMIC%5FFORMAT%3Don%26EQ%5FOP%3DAND%26EXPECT%3D1000%26FORMAT%5FNUM%5FORG%3D1%26FORMAT%5FOBJECT%3DAlignment%26FORMAT%5FTYPE%3DHTML%26FULL%5FDBNAME%3Dpdb%26GAPCOSTS%3D5%2B2%26GET%5FSEQUENCE%3Don%26HSP%5FRANGE%5FMAX%3D0%26JOB%5FTITLE%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26LAYOUT%3DOneWindow%26LINE%5FLENGTH%3D60%26MASK%5FCHAR%3D2%26MASK%5FCOLOR%3D1%26MATCH%5FSCORES%3D1%2C%2D3%26MAX%5FNUM%5FSEQ%3D100%26NUCL%5FPENALTY%3D%2D2%26NUCL%5FREWARD%3D1%26NUM%5FDIFFS%3D1%26NUM%5FOPTS%5FDIFFS%3D0%26NUM%5FORG%3D1%26NUM%5FOVERVIEW%3D100%26OLD%5FBLAST%3Dfalse%26OLD%5FVIEW%3Dfalse%26PAGE%3DNucleotides%26PAGE%5FTYPE%3DBlastSearch%26PROGRAM%3Dblastn%26QUERY%5FINFO%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26QUERY%5FLENGTH%3D16%26REPEATS%3Drepeat%5F9606%26RID%3DPHWP1JNZ014%26RTOE%3D42%26SEARCH%5FDB%5FSTATUS%3D42%26SELECTED%5FPROG%5FTYPE%3DmegaBlast%26SERVICE%3Dplain%26SHORT%5FQUERY%5FADJUST%3Don%26SHOW%5FLINKOUT%3Don%26SHOW%5FOVERVIEW%3Don%26USER%5FDEFAULT%5FMATCH%5FSCORES%3D0%26USER%5FDEFAULT%5FPROG%5FTYPE%3DmegaBlast%26USER%5FTYPE%3D2%26WORD%5FSIZE%3D7%26%5FPGR%3D1%26%5FPGR%3D1%26db%3Dnucleotide%26stype%3Dnucleotide" title="Click to register for an account" onclick="MyNCBI_auto_submit('http://www.ncbi.nlm.nih.gov/account/register/?back_url=http%3A%2F%2Fblast%2Encbi%2Enlm%2Enih%2Egov%2FBlast%2Ecgi%3FADJUSTED%5FFOR%5FSHORT%5FQUERY%3Don%26ALIGNMENTS%3D100%26ALIGNMENT%5FVIEW%3DPairwise%26BLAST%5FPROGRAMS%3Dblastn%26CLIENT%3Dweb%26CMD%3DGet%26COMPOSITION%5FBASED%5FSTATISTICS%3D0%26CONFIG%5FDESCR%3D2%2C3%2C4%2C5%2C6%2C7%2C8%26DATABASE%3Dpdb%26DBTYPE%3Dgc%26DEFAULT%5FPROG%3DmegaBlast%26DESCRIPTIONS%3D100%26DYNAMIC%5FFORMAT%3Don%26EQ%5FOP%3DAND%26EXPECT%3D1000%26FORMAT%5FNUM%5FORG%3D1%26FORMAT%5FOBJECT%3DAlignment%26FORMAT%5FTYPE%3DHTML%26FULL%5FDBNAME%3Dpdb%26GAPCOSTS%3D5%2B2%26GET%5FSEQUENCE%3Don%26HSP%5FRANGE%5FMAX%3D0%26JOB%5FTITLE%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26LAYOUT%3DOneWindow%26LINE%5FLENGTH%3D60%26MASK%5FCHAR%3D2%26MASK%5FCOLOR%3D1%26MATCH%5FSCORES%3D1%2C%2D3%26MAX%5FNUM%5FSEQ%3D100%26NUCL%5FPENALTY%3D%2D2%26NUCL%5FREWARD%3D1%26NUM%5FDIFFS%3D1%26NUM%5FOPTS%5FDIFFS%3D0%26NUM%5FORG%3D1%26NUM%5FOVERVIEW%3D100%26OLD%5FBLAST%3Dfalse%26OLD%5FVIEW%3Dfalse%26PAGE%3DNucleotides%26PAGE%5FTYPE%3DBlastSearch%26PROGRAM%3Dblastn%26QUERY%5FINFO%3DNucleotide%2BSequence%2B%2816%2Bletters%29%26QUERY%5FLENGTH%3D16%26REPEATS%3Drepeat%5F9606%26RID%3DPHWP1JNZ014%26RTOE%3D42%26SEARCH%5FDB%5FSTATUS%3D42%26SELECTED%5FPROG%5FTYPE%3DmegaBlast%26SERVICE%3Dplain%26SHORT%5FQUERY%5FADJUST%3Don%26SHOW%5FLINKOUT%3Don%26SHOW%5FOVERVIEW%3Don%26USER%5FDEFAULT%5FMATCH%5FSCORES%3D0%26USER%5FDEFAULT%5FPROG%5FTYPE%3DmegaBlast%26USER%5FTYPE%3D2%26WORD%5FSIZE%3D7%26%5FPGR%3D1%26%5FPGR%3D1%26db%3Dnucleotide%26stype%3Dnucleotide');return false;">[Register]</a></td></tr></tbody></table></div>
+		</div>
+		<a class="skp" href="#content-wrap">Jump to Page Content</a>		
+		<ul id="nav">
+                <li class="first "><a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastHome" title="BLAST Home">Home</a></li>
+                <li class="recent "><a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=GetSaved&amp;RECENT_RESULTS=on" title="Unexpired BLAST jobs">Recent Results</a></li>                
+                <li class="saved "><a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=GetSaved" title="Saved sets of BLAST search parameters">Saved Strategies</a></li>
+                <li class="last documentation "> <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastDocs" title="BLAST documentation">Help</a></li>                
+                </ul>
+    </div>
+
+        <div id="content-wrap">
+
+                <div id="breadcrumb" class="inlineDiv">
+                   <a href="http://www.ncbi.nlm.nih.gov/">NCBI</a>/
+                   <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&amp;PAGE_TYPE=BlastHome">BLAST</a>/
+                   <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?PAGE=Nucleotides&amp;PROGRAM=blastn&amp;PAGE_TYPE=BlastSearch&amp;BLAST_SPEC=">blastn suite</a>/
+                   <strong>Formatting Results - PHWP1JNZ014</strong>                                
+                </div>
+                <div class="inlineDiv resHeader resPage">
+				   
+                </div>
+                <ul class="print-log-res"><li></li></ul>
+
+                <!-- CDD info for old design -->
+                
+                
+                
+
+
+                				
+				
+
+                <div id="content">                              		
+                                
+                <!--<ul id="msg" class="msg"><li class="info"><p class=""></p><p class=""></p><p class=""></p></li></ul>-->
+                <ul id="msg" class="msg"><li class="info"><p class="info">Your search parameters were adjusted to search for a short input sequence.</p></li></ul>                
+                <a href="#" class="resLink resPage" id="searchOptions" submitform="setSavedOptions">Edit and Resubmit</a>
+<a href="#" class="resLink resPage hidden" id="saveSearchOptions" submitform="saveOptions">Save Search Strategies</a>
+<span class="reslink  resPage">[Sign in above to save your search strategy]</span>	
+<a aria-expanded="false" role="button" aria-disabled="false" id="showFormat" class="resLink resPage resArrowLinkB ui-ncbitoggler jig-ncbitoggler ui-widget" data-ncbitoggler-toggles="FormatForm" href="#">
+<span class="ui-ncbitoggler-master-text">Formatting options </span>
+<span class="ui-icon ui-icon-triangle-1-e"></span>
+</a>
+<a aria-expanded="false" role="button" aria-disabled="false" id="showDownload" class="resLink resPage resArrowLinkB jig-ncbitoggler ui-ncbitoggler ui-widget" data-ncbitoggler-toggles="FormatDownload" href="#">
+<span class="ui-ncbitoggler-master-text">Download</span>
+<span class="ui-icon ui-icon-triangle-1-e"></span>
+</a>
+<span id="hnr">
+<a id="ytb" class="ytb " title="External link to YouTube" href="http://www.youtube.com/playlist?list=PLH-TjWpFfWrtjzMCIvUe-YbrlIeFQlKMq" target="lnkPHWP1JNZ014">How to read this page</a>
+<a id="brFtp" class="" title="Blast report description" href="ftp://ftp.ncbi.nlm.nih.gov/pub/factsheets/HowTo_NewBLAST.pdf" target="lnkPHWP1JNZ014">Blast report description</a>
+</span>
+                <form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="POST" id="results">
+                <input name="ADJUSTED_FOR_SHORT_QUERY" value="on" type="hidden"><input name="ALIGNMENTS" value="100" type="hidden"><input name="ALIGNMENT_VIEW" value="Pairwise" type="hidden"><input name="BLAST_PROGRAMS" value="blastn" type="hidden"><input name="CLIENT" value="web" type="hidden"><input name="COMPOSITION_BASED_STATISTICS" value="0" type="hidden"><input name="CONFIG_DESCR" value="2,3,4,5,6,7,8" type="hidden"><input name="DATABASE" value="pdb" type="hidden"><input name="DBTYPE" value="gc" type="hidden"><input name="DEFAULT_PROG" value="megaBlast" type="hidden"><input name="DESCRIPTIONS" value="100" type="hidden"><input name="DYNAMIC_FORMAT" value="on" type="hidden"><input name="EQ_OP" value="AND" type="hidden"><input name="EXPECT" value="1000" type="hidden"><input name="FORMAT_NUM_ORG" value="1" type="hidden"><input name="FORMAT_OBJECT" value="Alignment" type="hidden"><input name="FORMAT_TYPE" value="HTML" type="hidden"><input name="FULL_DBNAME" value="pdb" type="hidden"><input name="GAPCOSTS" value="5 2" type="hidden"><input name="GET_SEQUENCE" value="on" type="hidden"><input name="HSP_RANGE_MAX" value="0" type="hidden"><input name="JOB_TITLE" value="Nucleotide Sequence (16 letters)" type="hidden"><input name="LAYOUT" value="OneWindow" type="hidden"><input name="LINE_LENGTH" value="60" type="hidden"><input name="MASK_CHAR" value="2" type="hidden"><input name="MASK_COLOR" value="1" type="hidden"><input name="MATCH_SCORES" value="1,-3" type="hidden"><input name="MAX_NUM_SEQ" value="100" type="hidden"><input name="NUCL_PENALTY" value="-2" type="hidden"><input name="NUCL_REWARD" value="1" type="hidden"><input name="NUM_DIFFS" value="1" type="hidden"><input name="NUM_OPTS_DIFFS" value="0" type="hidden"><input name="NUM_ORG" value="1" type="hidden"><input name="NUM_OVERVIEW" value="100" type="hidden"><input name="OLD_BLAST" value="false" type="hidden"><input name="OLD_VIEW" value="false" type="hidden"><input name="PAGE" value="Nucleotides" type="hidden"><input name="PAGE_TYPE" value="BlastSearch" type="hidden"><input name="PROGRAM" value="blastn" type="hidden"><input name="QUERY_INFO" value="Nucleotide Sequence (16 letters)" type="hidden"><input name="QUERY_LENGTH" value="16" type="hidden"><input name="REPEATS" value="repeat_9606" type="hidden"><input name="RID" value="PHWP1JNZ014" type="hidden"><input name="RTOE" value="42" type="hidden"><input name="SEARCH_DB_STATUS" value="43" type="hidden"><input name="SELECTED_PROG_TYPE" value="megaBlast" type="hidden"><input name="SERVICE" value="plain" type="hidden"><input name="SHORT_QUERY_ADJUST" value="on" type="hidden"><input name="SHOW_LINKOUT" value="on" type="hidden"><input name="SHOW_OVERVIEW" value="on" type="hidden"><input name="USER_DEFAULT_MATCH_SCORES" value="0" type="hidden"><input name="USER_DEFAULT_PROG_TYPE" value="megaBlast" type="hidden"><input name="USER_TYPE" value="2" type="hidden"><input name="WORD_SIZE" value="7" type="hidden"><input name="_PGR" value="2" type="hidden"><input name="db" value="nucleotide" type="hidden"><input name="stype" value="nucleotide" type="hidden">
+                <input name="QUERY_INDEX" value="0" type="hidden">                
+                <input name="_PGR" value="2" type="hidden">
+                <input id="seqViewUrl" value="http://www.ncbi.nlm.nih.gov/projects/sviewer" type="hidden">
+                <input name="CMD" value="Get" type="hidden">                
+                </form>
+                <!-- Reformat and downlaod for new design -->
+                <div class="ui-helper-reset" aria-live="assertive">  
+<form aria-hidden="true" action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="post" name="FormatForm" id="FormatForm" class="resbox ui-ncbitoggler-slave  ui-ncbitoggler">
+<table class="options blastn ">
+<tbody><tr>
+<td class="frh" colspan="2">
+<div class="fi">
+<div class="tb">Formatting options</div>
+<input id="onPageReformat" src="NCBI%20Blast%20reference%20example_files/reformat.jpg" class="blastbutton" alt="Reformat" mouseovimg="css/images/reformatOver.jpg" mouseoutimg="css/images/reformat.jpg" mousedownimg="css/images/reformatDown.jpg" mouseupimg="css/images/reformatOver.jpg" border="0" type="image">
+</div>
+</td></tr>
+<tr class="paramSet xgl">
+<td class="hd"><label for="FORMAT_OBJECT">Show</label></td>
+<td>
+<div class="fi">
+<input id="FORMAT_OBJECT" value="Alignment" name="FORMAT_OBJECT" type="hidden">
+<label for="FORMAT_TYPE" id="nft">Alignment as</label>
+<select name="FORMAT_TYPE" id="FORMAT_TYPE" class="reset" defval="HTML">
+<option value="HTML" selected="selected">HTML</option>
+<option value="Text">Plain text</option>
+
+</select>
+
+<span id="advView" class="">
+<span class=""><input name="OLD_VIEW" id="OLD_VIEW" class="cb reset" defval="unchecked" false="" type="checkbox">
+<label for="OLD_VIEW">Old View</label></span>
+</span>
+<a class="resetAll" id="resetAll">Reset form to defaults</a>
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Alignments object formatting help" id="formatHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp1">
+These options control formatting of alignments in results pages. The
+default is HTML, but other formats (including plain text) are available.
+PSSM and PssmWithParameters are representations of Position Specific Scoring Matrices and are only available for PSI-BLAST. 
+The Advanced view option allows the database descriptions to be sorted by various indices in a table.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#format_object" target="helpWin" title="Additional alignments object formatting help">more...</a>
+</p>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>
+
+<tr class="odd paramSet">
+<td class="hd"><label for="ALIGNMENT_VIEW">Alignment View</label></td>
+<td>
+<div class="fi">
+<select name="ALIGNMENT_VIEW" id="ALIGNMENT_VIEW" defval="Pairwise" class="reset">
+<option value="Pairwise" selected="selected">Pairwise</option>
+<option value="PairwiseWithIdentities">Pairwise with dots for identities</option>
+<option value="QueryAnchored">Query-anchored with dots for identities</option>
+<option value="QueryAnchoredNoIdentities">Query-anchored with letters for identities</option>
+<option value="FlatQueryAnchored">Flat query-anchored with dots for identities</option>
+<option value="FlatQueryAnchoredNoIdentities">Flat query-anchored with letters for identities</option>
+
+</select>
+
+
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Alignments view options help" id="alnViewHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp2">
+Choose how to view alignments.
+The default "pairwise" view shows how each subject sequence aligns
+individually to the query sequence. The "query-anchored" view shows how
+all subject sequences align to the query sequence. For each view type,
+you can choose to show "identities" (matching residues) as letters or
+dots.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#alignment_view" target="helpWin" title="Additional alignments view options help">more...</a>
+</p>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>
+
+<tr class="paramSet">
+<td class="hd"><label>Display</label></td>
+<td class="cb">
+<div class="fi">
+<input name="SHOW_OVERVIEW" id="SHOW_OVERVIEW" class="cb reset" defval="checked" checked="checked" type="checkbox">
+<label class="rb" for="SHOW_OVERVIEW">Graphical Overview</label>
+
+<span class="hidden" id="shl">
+<input name="SHOW_LINKOUT" id="SHOW_LINKOUT" class="cb reset" defval="checked" checked="checked" type="checkbox">
+<label class="rb" for="SHOW_LINKOUT">Linkout</label>
+</span>
+<span class="hidden" id="gts">
+<input name="GET_SEQUENCE" id="GET_SEQUENCE" class="cb reset" defval="checked" checked="checked" type="checkbox">
+<label class="rb" for="GET_SEQUENCE">Sequence Retrieval</label>
+</span>
+
+<input name="NCBI_GI" id="NCBI_GI" class="cb reset" defval="unchecked" type="checkbox">
+<label class="rb" for="NCBI_GI">NCBI-gi</label>
+<span id="scf">
+<input name="SHOW_CDS_FEATURE" id="SHOW_CDS_FEATURE" class="cb reset blastn" defval="unchecked" type="checkbox">
+<label for="SHOW_CDS_FEATURE" class="blastn">CDS feature</label>
+</span>
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Alignments display options help" id="displayHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<ul aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp3">
+<li>Graphical Overview: Graphical Overview: Show graph of similar sequence regions aligned to  query.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#show_overview" target="helpWin" title="Graphical Overview help">more...</a>
+</li>
+<li>Database LinkOuts: Show links from matching sequences to entries in specialized NCBI databases.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#show_linkout" title="LinkOut help" target="helpWin">more...</a>
+</li>
+<li>Sequence Retrieval: Show buttons to download matching sequences.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#get_sequence" title="Sequence Retrieval help" target="helpWin">more...</a>
+</li>
+<li>NCBI-gi: Show NCBI gi identifiers.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#ncbi_gi" title="NCBI-gi help" target="helpWin">more...</a>
+</li>
+<li>CDS feature: Show annotated coding region and translation.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#show_cds_feature" title="CDS feature help" target="helpWin">more...</a>
+</li></ul>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>
+
+
+<tr class="paramSet odd xgl">
+<td class="hd"><label>Masking</label></td>
+<td>
+<div class="fi">
+<label for="MASK_CHAR"> Character: </label>
+<select name="MASK_CHAR" id="MASK_CHAR" class="reset" defval="2">
+<option value="0">X for protein, n for nucleotide</option>
+<option value="2" selected="selected">Lower Case</option>
+</select>
+<label for="MASK_COLOR"> Color:</label>
+<select name="MASK_COLOR" id="MASK_COLOR" class="reset" defval="1">
+<option value="0">Black
+</option>
+
+<option value="1" selected="selected">Grey
+</option>
+
+<option value="2">Red
+</option>
+
+</select>
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Alignments masking help" id="maskingHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<ul aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp4">
+<li>Masking Character: Display masked (filtered) sequence regions as 
+lower-case or as specific letters (N for nucleotide, P for protein).
+</li>
+<li>Masking Color: Display masked sequence regions in the given color.</li>
+</ul>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>
+
+
+<tr id="lr" class="paramSet xgl">
+<td class="hd"><label>Limit results</label></td>
+<td>
+<div class="fi">
+<label for="FRM_DESCRIPTIONS">Descriptions:</label>
+<select name="DESCRIPTIONS" id="FRM_DESCRIPTIONS" class="reset" defval="100">
+
+<option value="10">10</option>
+<option value="50">50</option>
+<option value="100" selected="selected">100</option>
+
+
+
+
+
+
+</select>
+
+<label for="FRM_NUM_OVERVIEW">Graphical overview:</label>
+<select name="NUM_OVERVIEW" id="FRM_NUM_OVERVIEW" class="reset" defval="100">
+<option value="0">0</option>
+<option value="10">10</option>
+<option value="50">50</option>
+<option value="100" selected="selected">100</option>
+
+
+
+</select>
+<span class="hidden" id="frmAln">
+<label for="FRM_ALIGNMENTS">Alignments:</label>
+<select name="ALIGNMENTS" id="FRM_ALIGNMENTS" class="reset" defval="100">
+<option value="0">0</option>
+<option value="10">10</option>
+<option value="50">50</option>
+<option value="100" selected="selected">100</option>
+
+
+
+
+
+
+</select>
+</span>
+<label for="FRM_LINE_LENGTH">Line length:</label>
+<select name="LINE_LENGTH" id="FRM_LINE_LENGTH" class="reset" defval="60">
+<option value="60" selected="selected">60</option>
+<option value="90">90</option>
+<option value="120">120</option>
+<option value="150">150</option>
+</select>
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit number of descriptions/alignments help" id="numHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<ul aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp5">
+<li>Descriptions: Show short descriptions for up to the given number of  sequences.</li> 
+<li>Alignments:  Show alignments for up to the given number of sequences, in order of statistical significance.</li>
+<li>Line lenghth:  ....</li>
+</ul>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>
+
+<tr class="paramSet odd xgl ">
+<td class="hd"></td>
+<td>
+<div class="">
+<label for="qorganism">Organism</label>
+<span class="instr">Type common name, binomial, taxid, or group name. Only 20 top taxa will be shown.</span><br>
+<input role="textbox" aria-autocomplete="list" aria-haspopup="true" title="Use up and down arrows to choose an item from the autocomplete." name="FORMAT_ORGANISM" size="55" id="qorganism" value="Enter organism name or id--completions will be suggested" data-jigconfig="dictionary:'taxids_sg'" autocomplete="off" class="jig-ncbiautocomplete reset orgHint" type="text">
+<input name="FORMAT_ORG_EXCLUDE" class="oExclR cb" id="orgExcl" type="checkbox">        
+<input value="1" name="FORMAT_NUM_ORG" id="numOrg" type="hidden">
+<label for="orgExcl" class="right">Exclude</label>
+<a href="#" title="Add organism" id="addOrg"><img src="NCBI%20Blast%20reference%20example_files/addOrg.jpg" id="addOrgIm" alt="Add organism" mouseovimg="css/images/addOrgOver.jpg" mouseoutimg="css/images/addOrg.jpg" mousedownimg="css/images/addOrgDown.jpg" mouseupimg="css/images/addOrgOver.jpg" border="0"></a>
+<div id="orgs">
+
+</div>
+<div class="fi">
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit results by organism help" id="organismHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp6">
+Show only sequences from the given organism.
+</p>
+</div><!-- ARIA -->
+</div>
+</div>
+</td>
+</tr>
+
+<tr class="paramSet xgl ">
+<td class="hd"></td>
+<td>
+<div class="fi">
+<label for="FORMAT_EQ_TEXT">Entrez query:</label>
+<input name="FORMAT_EQ_TEXT" id="FORMAT_EQ_TEXT" size="60" class="reset" type="text">
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit results by Entrez query help" id="entrezHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp7">
+Show only those sequences that match the given Entrez query.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#limit_result" target="helpWin" title="Additional limit results by Entrez query help">more...</a>
+</p>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>
+
+  
+<tr class="paramSet odd xgl">
+<td class="hd"></td>
+<td>
+<div class="fi">
+<label for="EXPECT_LOW">Expect Min:</label> <input name="EXPECT_LOW" id="EXPECT_LOW" size="10" class="reset" type="text">
+<label for="EXPECT_HIGH">Expect Max:</label> <input name="EXPECT_HIGH" id="EXPECT_HIGH" size="10" class="reset" type="text">
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit results by expect value range help" id="expectHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp8">
+Show only sequences with expect values in the given range.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#expect_range" target="helpWin" title="Additional limit results by expect value range help">more...</a>
+</p>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>
+<tr class="paramSet xgl">
+<td class="hd"></td>
+<td>
+ <div class="fi">
+<label for="PERC_IDENT_LOW">Percent Identity Min:</label> <input name="PERC_IDENT_LOW" id="PERC_IDENT_LOW" size="10" class="reset" type="text">
+<label for="PERC_IDENT_HIGH">Percent Identity Max:</label> <input name="PERC_IDENT_HIGH" id="PERC_IDENT_HIGH" size="10" class="reset" type="text">
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="Limit results by percent identity range help" id="percIdentHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp10">
+ Show only sequences with percent identity values in the given range.  
+</p>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>      
+<tr class="psiBlast odd paramSet xgl">
+<td class="hd"><label>Format for</label></td>
+<td>
+<div class="fi">
+<input name="RUN_PSIBLAST_FORM" id="RUN_PSIBLAST" class="cb psiBlast" type="checkbox">
+<label class="rb psiBlast" for="RUN_PSIBLAST">PSI-BLAST</label>
+<label for="I_THRESH">with inclusion threshold:</label>
+<input name="I_THRESH" id="I_THRESH" size="10" defval="0.005" type="text">
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink  jig-ncbitoggler ui-ncbitoggler ui-widget" title="PSI BLAST formatting help" id="psiHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+<div class="ui-helper-reset" aria-live="assertive">
+<ul aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp9">
+<li>Format for PSI-BLAST: The Position-Specific Iterated BLAST 
+(PSI-BLAST) program performs iterative searches with a protein query, 
+in which sequences found in one round of search are used to build a 
+custom score model for the next round.
+<a href="http://www.ncbi.nlm.nih.gov/BLAST/blastcgihelp.shtml#psiblast" target="helpWin" title="Additional PSI BLAST formatting help">more...</a>
+</li>  
+<li>Inclusion Threshold: This sets the statistical significance threshold for including a sequence in the model used 
+by PSI-BLAST to create the PSSM on the next iteration.</li> 
+</ul>
+</div><!-- ARIA -->
+</div>
+</td>
+</tr>
+</tbody></table>
+
+
+<input name="ViewReport" value="ViewReport" type="hidden">
+<input name="REFORMAT_REPORT" value="shown" type="hidden">
+<input name="RID" value="PHWP1JNZ014" type="hidden">
+<input name="CDD_RID" value="" type="hidden">
+<input name="CDD_SEARCH_STATE" value="" type="hidden">
+
+<input name="STEP_NUMBER" value="" id="stepNumber" type="hidden">
+<input name="CMD" value="Get" type="hidden">
+<input name="FORMAT_EQ_OP" value="AND" type="hidden">
+<input name="RESULTS_PAGE_TARGET" id="resPageTarget" value="" type="hidden">
+<!-- <input name="QUERY_INFO" type="hidden" value="Nucleotide Sequence (16 letters)" /> -->	
+<!-- <input name="ENTREZ_QUERY" type="hidden" value="" /> -->	
+<input name="QUERY_INDEX" value="0" type="hidden">
+<input name="NUM_QUERIES" value="1" type="hidden">
+<input name="PHI_PTTRN_INDEX" value="" type="hidden">
+<input id="cfcDsSave" name="CONFIG_DESCR" value="2,3,4,5,6,7,8" type="hidden">
+<!-- Those params are set in the template (blastn.dat, blastp.dat etc. -->
+<input name="BLAST_PROGRAMS" value="blastn" type="hidden">
+<input name="PAGE" value="Nucleotides" type="hidden">
+<input name="PROGRAM" value="blastn" type="hidden">
+<input name="MEGABLAST" value="" type="hidden">
+<input name="RUN_PSIBLAST" value="" type="hidden">
+<input name="BLAST_SPEC" id="blastSpec" value="" type="hidden">
+
+
+<input name="QUERY" value="" type="hidden">
+<input name="JOB_TITLE" value="Nucleotide Sequence (16 letters)" type="hidden">
+<input name="QUERY_TO" value="" type="hidden">
+<input name="QUERY_FROM" value="" type="hidden">
+<input name="EQ_TEXT" value="" type="hidden">
+<input name="ORGN" value="" type="hidden">
+<input name="EQ_MENU" value="" type="hidden">
+<input name="ORG_EXCLUDE" value="" type="hidden">
+<input name="PHI_PATTERN" value="" type="hidden">
+<input name="EXPECT" value="1000" type="hidden">									
+<input name="DATABASE" value="pdb" type="hidden">
+<input name="DB_GROUP" value="" type="hidden">
+<input name="SUBGROUP_NAME" value="" type="hidden">
+
+<input name="GENETIC_CODE" value="" type="hidden">
+<input name="WORD_SIZE" value="7" type="hidden">
+<input name="MATCH_SCORES" value="1,-3" type="hidden">			
+<input name="MATRIX_NAME" value="" type="hidden">				
+<input name="GAPCOSTS" value="5 2" type="hidden">
+<input name="MAX_NUM_SEQ" id="maxNumSeq" value="100" type="hidden">					
+<input name="COMPOSITION_BASED_STATISTICS" value="0" type="hidden">			
+<input name="NEWWIN" value="" type="hidden">
+<input name="SHORT_QUERY_ADJUST" value="on" type="hidden">
+<input name="FILTER" value="" type="hidden">
+<input name="REPEATS" value="repeat_9606" type="hidden">
+<input name="ID_FOR_PSSM" value="" type="hidden">
+<input name="EXCLUDE_MODELS" value="" type="hidden">
+<input name="EXCLUDE_SEQ_UNCULT" value="" type="hidden">
+<input name="WP_PROTEINS" value="" type="hidden">
+<input name="SEQ_FROM_TYPE" value="" type="hidden">
+<input name="ENTREZ_QUERY_PRESET" value="" type="hidden">
+<input name="ENTREZ_QUERY_PRESET_EXCL" value="" type="hidden">
+<input name="NUM_ORG" value="1" type="hidden">
+
+<!-- PSSM -->
+<input name="LCASE_MASK" value="" type="hidden">
+<input name="TEMPLATE_TYPE" value="" type="hidden">
+<input name="TEMPLATE_LENGTH" value="" type="hidden">
+<input name="I_THRESH" value="" type="hidden">
+<input name="PSI_PSEUDOCOUNT" value="" type="hidden">
+<input name="DI_THRESH" id="diThresh" value="" type="hidden">
+<input name="HSP_RANGE_MAX" value="0" type="hidden">
+
+
+
+<input name="ADJUSTED_FOR_SHORT_QUERY" value="on" type="hidden">
+<input name="MIXED_QUERIES" value="" type="hidden">
+<input name="MIXED_DATABASE" id="mixedDb" value="" type="hidden">
+<input name="BUILD_NAME" value="" type="hidden">
+<input name="ORG_DBS" value="" type="hidden">
+
+</form>
+</div> <!-- aria -->
+                <div class="ui-helper-reset" aria-live="assertive">    
+<form aria-hidden="true" name="FormatDownload" id="FormatDownload" class="resbox ui-ncbitoggler-slave ui-ncbitoggler">
+<table class="options dwnl ">
+<tbody><tr><td class="frh" colspan="6"><div class="tb">Download</div></td></tr>
+<tr>
+<td id="tdal">
+<div class="dnHeader">Alignment</div>
+<div class="dnLinks">
+<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=Text&amp;FORMAT_OBJECT=Alignment&amp;DESCRIPTIONS=100&amp;ALIGNMENTS=100&amp;CMD=Get">Text</a>
+<a class="xgl" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=XML&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get">XML</a>
+<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=ASN.1&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get">ASN.1</a>
+<a id="hitText" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=Text&amp;FORMAT_OBJECT=Alignment&amp;ALIGNMENT_VIEW=Tabular&amp;CMD=Get">Hit Table(text)</a>
+<a id="hitCvs" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=CSV&amp;FORMAT_OBJECT=Alignment&amp;ALIGNMENT_VIEW=Tabular&amp;CMD=Get">Hit Table(csv)</a>
+</div>
+</td>
+<td class="dnl xgl">
+<div class="dnHeader">Search Strategies</div>
+<div class="dnLinks">
+<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=GetSaved&amp;RECENT_RESULTS=on&amp;RID=PHWP1JNZ014&amp;DOWNLOAD_OPTIONS=true">ASN.1</a>
+</div>
+</td>
+<td class="dnl hidden" id="dnPSSMPar">
+<div class="dnHeader">PssmWithParameters</div>
+<div class="dnLinks">
+<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=ASN.1&amp;FORMAT_OBJECT=PSSM_Scoremat&amp;CMD=Get">ASN.1</a>
+</div>
+</td>
+<td>
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink jig-ncbitoggler ui-ncbitoggler ui-widget" title="Download help" data-ncbitoggler-toggles="hlp11" id="dnHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+</td>
+</tr>
+</tbody></table>
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler" id="hlp11">
+  The Download link provides BLAST output that may be used as input to 
+another program.
+  This includes parseable formats such as the tabular report or XML as 
+well as the Search Strategy files read by the BLAST+ applications.
+  More details on the parseable (XML, tabular, and ASN.1) reports can be
+ found at
+  <a href="http://www.ncbi.nlm.nih.gov/books/NBK21097/" target="helpWin">http://www.ncbi.nlm.nih.gov/books/NBK21097/</a><br>
+  <br>
+  The following formats are offered under the Alignment section:<br>  
+    1). "Text". Non-HTML standard BLAST report.<br>
+
+    2). "XML". XML report based upon the DTD at <a href="http://www.ncbi.nlm.nih.gov/data_specs/dtd/NCBI_BlastOutput.dtd" target="helpWin">http://www.ncbi.nlm.nih.gov/data_specs/dtd/NCBI_BlastOutput.dtd</a><br>
+    
+    3). "ASN.1" Alignment. This is the alignment written out in Abstract Syntax Notation 1.<br>
+
+    4). "Hit Table(text)". The tabular report as text.<br>
+
+    5). "Hit Table(csv)". The tabular report ready for import into spread-sheet programs like Excel.<br>
+  <br>
+  The following report is offered under the Search Strategy section:<br>
+  
+  1). "ASN.1" Search Strategy. A record of the parameters, query, and 
+database used in the search. This file can be used to start a 
+stand-alone BLAST search, see
+  <a href="http://www.ncbi.nlm.nih.gov/books/NBK1763/#CmdLineAppsManual.I455_BLAST_search_stra" target="helpWin">http://www.ncbi.nlm.nih.gov/books/NBK1763/#CmdLineAppsManual.I455_BLAST_search_stra</a>    
+</p>    
+</div><!-- ARIA -->
+</form>
+</div> <!-- aria -->                
+                <form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="POST" name="overview0">
+                <input name="ADJUSTED_FOR_SHORT_QUERY" value="on" type="hidden"><input name="ALIGNMENTS" value="100" type="hidden"><input name="ALIGNMENT_VIEW" value="Pairwise" type="hidden"><input name="BLAST_PROGRAMS" value="blastn" type="hidden"><input name="CLIENT" value="web" type="hidden"><input name="COMPOSITION_BASED_STATISTICS" value="0" type="hidden"><input name="CONFIG_DESCR" value="2,3,4,5,6,7,8" type="hidden"><input name="DATABASE" value="pdb" type="hidden"><input name="DBTYPE" value="gc" type="hidden"><input name="DEFAULT_PROG" value="megaBlast" type="hidden"><input name="DESCRIPTIONS" value="100" type="hidden"><input name="DYNAMIC_FORMAT" value="on" type="hidden"><input name="EQ_OP" value="AND" type="hidden"><input name="EXPECT" value="1000" type="hidden"><input name="FORMAT_NUM_ORG" value="1" type="hidden"><input name="FORMAT_OBJECT" value="Alignment" type="hidden"><input name="FORMAT_TYPE" value="HTML" type="hidden"><input name="FULL_DBNAME" value="pdb" type="hidden"><input name="GAPCOSTS" value="5 2" type="hidden"><input name="GET_SEQUENCE" value="on" type="hidden"><input name="HSP_RANGE_MAX" value="0" type="hidden"><input name="JOB_TITLE" value="Nucleotide Sequence (16 letters)" type="hidden"><input name="LAYOUT" value="OneWindow" type="hidden"><input name="LINE_LENGTH" value="60" type="hidden"><input name="MASK_CHAR" value="2" type="hidden"><input name="MASK_COLOR" value="1" type="hidden"><input name="MATCH_SCORES" value="1,-3" type="hidden"><input name="MAX_NUM_SEQ" value="100" type="hidden"><input name="NUCL_PENALTY" value="-2" type="hidden"><input name="NUCL_REWARD" value="1" type="hidden"><input name="NUM_DIFFS" value="1" type="hidden"><input name="NUM_OPTS_DIFFS" value="0" type="hidden"><input name="NUM_ORG" value="1" type="hidden"><input name="NUM_OVERVIEW" value="100" type="hidden"><input name="OLD_BLAST" value="false" type="hidden"><input name="OLD_VIEW" value="false" type="hidden"><input name="PAGE" value="Nucleotides" type="hidden"><input name="PAGE_TYPE" value="BlastSearch" type="hidden"><input name="PROGRAM" value="blastn" type="hidden"><input name="QUERY_INFO" value="Nucleotide Sequence (16 letters)" type="hidden"><input name="QUERY_LENGTH" value="16" type="hidden"><input name="REPEATS" value="repeat_9606" type="hidden"><input name="RID" value="PHWP1JNZ014" type="hidden"><input name="RTOE" value="42" type="hidden"><input name="SEARCH_DB_STATUS" value="43" type="hidden"><input name="SELECTED_PROG_TYPE" value="megaBlast" type="hidden"><input name="SERVICE" value="plain" type="hidden"><input name="SHORT_QUERY_ADJUST" value="on" type="hidden"><input name="SHOW_LINKOUT" value="on" type="hidden"><input name="SHOW_OVERVIEW" value="on" type="hidden"><input name="USER_DEFAULT_MATCH_SCORES" value="0" type="hidden"><input name="USER_DEFAULT_PROG_TYPE" value="megaBlast" type="hidden"><input name="USER_TYPE" value="2" type="hidden"><input name="WORD_SIZE" value="7" type="hidden"><input name="_PGR" value="2" type="hidden"><input name="db" value="nucleotide" type="hidden"><input name="stype" value="nucleotide" type="hidden">
+                <input name="CMD" value="Get" type="hidden">
+                <p id="qb"><!--
+QBlastInfoBegin
+	Status=READY
+QBlastInfoEnd
+--></p>
+<div id="page">
+
+<div id="summary" class="">
+<div id="ht"></div>
+<h1>Nucleotide Sequence (16 letters) <span id="hdTitle" class="shownInl"></span></h1>
+<div>
+<div id="multipleSeqs" class="hidden">
+<label for="queryList">Results for:</label>
+<select id="queryList" name="queryList">
+<option value="0" selected="selected" class="">lcl|59987 None(16bp)</option>
+</select>
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink jig-ncbitoggler ui-ncbitoggler ui-widget" data-ncbitoggler-toggles="queryInfo" title="Multiple quries help" id="queryHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a>
+</div><!--/#multipleSeqs"-->
+
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" id="queryInfo" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler">
+Your BLAST job specified more than one input sequence.
+This box lets you choose which input sequence to show BLAST results for.
+</p>
+</div><!-- ARIA -->
+</div>
+<div id="summarylists">
+<dl>
+<dt>RID</dt>
+<dd>
+<a title="BLAST search request ID" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014">PHWP1JNZ014</a> (Expires on 05-07 22:33 pm)
+</dd>
+</dl>
+<div id="querysummary">
+<dl>
+<dt>Query ID</dt>
+<dd class="hidden">
+<a title="Find query in Entrez" href="http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=Search&amp;db=nucleotide&amp;term=59987&amp;dopt=GenBank" target="lnkPHWP1JNZ014">lcl|59987</a>
+</dd>
+<dd class="">lcl|59987</dd>
+<dt>Description</dt>
+<dd>None</dd>
+<dt>Molecule type</dt>
+<dd>nucleic acid</dd>
+<dt>Query Length</dt>
+<dd>16</dd>
+</dl>
+</div><!--/#querysummary-->
+
+<div id="dbsummary">
+<dl>
+<dt>   </dt><dd>   </dd>
+<dt>Database Name</dt>
+<dd>pdb</dd>
+<dt>Description</dt>
+<dd>PDB nucleotide database <a aria-expanded="false" role="button" aria-disabled="false" href="#" title="See multiple databases detailed information" class="jtg resArrowLinkB hidden  jig-ncbitoggler ui-ncbitoggler ui-widget" data-ncbitoggler-toggles="dbDetails" id="showDetails"><span class="ui-ncbitoggler-master-text">See details</span><span class="ui-icon ui-icon-triangle-1-e"></span></a></dd> <!-- -- Database or subject info ---->
+<dt class="xgl">Program</dt>
+<dd class="xgl">BLASTN 2.2.29+ <a aria-expanded="false" role="button" aria-disabled="false" href="#" title="How to cite BLAST in publications" class="resArrowLinkB hidden shown jig-ncbitoggler ui-ncbitoggler jtg ui-widget" data-ncbitoggler-toggles="refInfo" id="showRefs"><span class="ui-ncbitoggler-master-text">Citation</span><span class="ui-icon ui-icon-triangle-1-e"></span></a></dd>
+</dl>
+</div><!--/#dbsummary-->
+</div><!--/#summarylists -->
+<br>
+<div class="ui-helper-reset" aria-live="assertive">  
+<div aria-hidden="true" id="dbDetails" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler">
+ <!-- multiple databases or subjects table -->
+</div>
+</div> <!-- aria end -->
+<div class="ui-helper-reset" aria-live="assertive">  
+<div aria-hidden="true" id="refInfo" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler"> 
+<a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=PubMed&amp;cmd=Retrieve&amp;list_uids=9254694&amp;dopt=Citation">Reference </a>
+<div>Stephen F. Altschul, Thomas L. Madden, Alejandro A. Schäffer, 
+Jinghui Zhang, Zheng Zhang, Webb Miller, and David J. Lipman (1997), 
+"Gapped BLAST and PSI-BLAST: a new generation of protein database search
+ programs", Nucleic Acids Res. 25:3389-3402.</div>       
+ </div>  <!-- refInfo -->
+</div> <!-- aria end -->
+
+<div id="seealso">
+<label>Other reports:</label>  
+ <a aria-expanded="false" role="button" aria-disabled="false" href="#" title="Show statistics" class="resArrowLinkB jtg jig-ncbitoggler ui-ncbitoggler ui-widget" data-ncbitoggler-toggles="resStat" id="showStat"><span class="ui-ncbitoggler-master-text">Search Summary</span><span class="ui-icon ui-icon-triangle-1-e"></span></a>
+ <span class="xgl">
+ <a id="tax" class="hidden shown" href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;RID=PHWP1JNZ014&amp;FORMAT_OBJECT=TaxBlast&amp;NCBI_GI=off&amp;DESCRIPTIONS=100&amp;ALIGNMENTS=100&amp;FORMAT_BLOCK_ON_RESPAGE=Top&amp;MASK_COLOR=1&amp;MASK_CHAR=2" target="lnkPHWP1JNZ014" title="See results arranged by taxonomy">[Taxonomy reports]</a>
+ <a href="http://www.ncbi.nlm.nih.gov/blast/treeview/treeView.cgi?request=page&amp;blastRID=PHWP1JNZ014&amp;queryID=lcl%7C59987&amp;entrezLim=&amp;ex=&amp;exl=&amp;exh=&amp;ns=100" class="" id="TreeViewlcl|59987" onclick="ViewTree('TreeViewlcl|59987');return false;" target="lnkPHWP1JNZ014" title="See a distance tree of these pairwise comparisons">[Distance tree of results]</a>      
+   
+  
+  
+ </span>
+</div> <!-- seealso -->
+   
+<div class="ui-helper-reset" aria-live="assertive">  
+<div aria-hidden="true" id="resStat" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler">    
+ <table id="params" class="dbInfo"> 
+ <caption>Search Parameters</caption> 
+ <tbody><tr><th><div>Search parameter name</div></th><th><div>Search parameter value</div></th></tr> 
+ <tr><td>Program</td><td>blastn</td></tr><tr><td>Word size</td><td>7</td></tr><tr><td>Expect value</td><td>1000</td></tr><tr><td>Hitlist size</td><td>100</td></tr><tr><td>Match/Mismatch scores</td><td>1,-3</td></tr><tr><td>Gapcosts</td><td>5,2</td></tr><tr><td>Filter string </td><td>F</td></tr><tr><td>Genetic Code</td><td>1</td></tr>  
+ </tbody></table> 
+  <table id="dbStat" class="dbInfo">
+ <caption>Database</caption>
+ <tbody><tr><th><div>Database parameter name</div></th><th><div>Database parameter value</div></th></tr>
+ <tr><td>Posted date</td><td>Apr 29, 2014  3:14 AM</td></tr>
+ <tr><td>Number of letters</td><td>885,284</td></tr>
+ <tr><td>Number of sequences</td><td>8,975</td></tr>
+ <tr><td>Entrez query</td><td>none</td></tr> 
+ </tbody></table>
+  
+ <table id="Kappa" class="dbInfo show xgl"> 
+<caption>Karlin-Altschul statistics</caption> 
+ <tbody><tr><th><div>Params</div></th><th><div>Ungapped</div></th><th><div>Gapped</div></th></tr>
+ <tr><td>Lambda</td><td>1.37406</td><td>1.37406</td></tr>
+ <tr><td>K</td><td>0.710603</td><td>0.710603</td></tr>
+ <tr><td>H</td><td>1.30725</td><td>1.30725</td></tr> 
+ 
+ </tbody></table> 
+ 
+ 
+ <table class="dbInfo show">
+ <caption>Results Statistics</caption>
+ <tbody><tr><th><div>Results Statistics parameter name</div></th><th><div>Results Statistics parameter value</div></th></tr>  
+ <tr><td>Length adjustment</td><td> 11</td></tr><tr><td>Effective length of query</td><td> 5</td></tr><tr><td>Effective length of database</td><td> 786559</td></tr><tr><td>Effective search space</td><td> 3932795</td></tr><tr><td>Effective search space used</td><td> 3932795</td></tr>
+ </tbody></table>
+ <!-- Results statistics -->  
+ </div>  <!-- resStat -->
+ </div> <!-- aria end -->
+</div><!--/#summary-->
+</div><!--/#page-->
+<iframe id="RSIFrameDesc" class="ifrm shown" name="RSIFrame" noresize="noresize" border="0" cellspacing="0" scrolling="no" marginwidth="0" marginheight="0" src="NCBI%20Blast%20reference%20example_files/plinkcgi.html" title="Primer-BLAST ad" frameborder="0" align="middle"></iframe>
+
+<div id="grView" class="hidden shown">
+<h2 class="resArr">
+<a aria-expanded="true" role="button" aria-disabled="false" href="#" id="showGraphic" class="jig-ncbitoggler-open ui-ncbitoggler-open ui-widget" data-jigconfig="indicator: 'plus-minus-big'" data-ncbitoggler-toggles="graphicInfo" title="Show/hide Graphic Summary">
+<span class="ui-ncbitoggler-master-text">Graphic Summary</span>
+<span class="ui-icon ui-icon-plus-minus-big-open"></span>
+</a>
+</h2>
+<div class="ui-helper-reset" aria-live="assertive">
+<div aria-hidden="false" id="graphicInfo" class="resBox ui-ncbitoggler-slave-open ui-widget ui-ncbitoggler">
+
+
+<div id="graphic" class="hidden shown">
+<h3>Distribution of 45 Blast Hits on the Query Sequence
+<a aria-expanded="false" role="button" aria-disabled="false" class="helplink jig-ncbitoggler ui-ncbitoggler ui-widget" title="Graphic summary help" id="grHelp" href="#"><span class="ui-ncbitoggler-master-text"><span>[?]</span></span>
+<span class="ui-icon ui-icon-triangle-1-e"></span></a></h3>
+<div class="ui-helper-reset" aria-live="assertive">
+<p aria-hidden="true" id="ovrInfo" class="helpbox ui-ncbitoggler-slave ui-ncbitoggler">
+An overview of the database sequences aligned to the query sequence is 
+shown. The score of each alignment is indicated by one of five 
+different colors, which divides the range of scores into five groups. 
+Multiple alignments on the same database sequence are connected 
+by a striped line. <span class="hl">Mousing over</span> a hit sequence causes the definition and score to be shown in the window at the top, 
+<span class="hl">clicking</span> on a hit sequence takes the user to the associated alignments.
+New:
+This graphic is an overview of database sequences aligned to the query sequence.
+Alignments are color-coded by score, within one of five score ranges.  
+Multiple alignments on the same database sequence are connected by a dashed line.
+<span class="hl">Mousing</span> over an alignment shows the alignment definition and score in the box at the top. 
+<span class="hl">Clicking</span> an alignment displays the alignment detail.
+</p>
+</div><!-- ARIA -->
+<center><input name="defline" size="85" value="Mouse-over to show defline and scores, click to show alignments" type="text"><table bordercolordark="#0000FF" bordercolorlight="#0000FF" border="1" cellpadding="10" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><table border="0" cellpadding="0" cellspacing="1"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/score.gif" height="40" width="500"></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="1"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/query_no_scale.gif" height="10" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="51"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/scale.gif" height="10" width="2"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="91"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/scale.gif" height="10" width="2"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="91"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/scale.gif" height="10" width="2"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="91"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/scale.gif" height="10" width="2"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="91"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/scale.gif" height="10" width="2"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="91"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/scale.gif" height="10" width="2"></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/1.gif" height="13" width="10"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="83"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/3.gif" height="13" width="10"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="83"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/6.gif" height="13" width="10"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="83"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/9.gif" height="13" width="10"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="73"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/1.gif" height="13" width="10"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/2.gif" height="13" width="10"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="73"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/1.gif" height="13" width="10"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/5.gif" height="13" width="10"></td>
+</tr></tbody></table>
+<br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#557804451" onclick='DisplayAlignFromGraphics("557804451",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J5A_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="500"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#557804395" onclick='DisplayAlignFromGraphics("557804395",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J58_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="500"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#557804339" onclick='DisplayAlignFromGraphics("557804339",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J56_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="500"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#557804283" onclick='DisplayAlignFromGraphics("557804283",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J54_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="500"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#557804227" onclick='DisplayAlignFromGraphics("557804227",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J52_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="500"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#557804195" onclick='DisplayAlignFromGraphics("557804195",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J51_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="500"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#557804163" onclick='DisplayAlignFromGraphics("557804163",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J50_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="500"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#557804083" onclick='DisplayAlignFromGraphics("557804083",event)'><img alt="score 32" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J4X_A Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex I.. S=32 E=0.00079'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="500"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#485601478" onclick='DisplayAlignFromGraphics("485601478",event)'><img alt="score 16" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3F_5 Chain 5, Structure Of The H. Sapiens 60s Rrna S=16 E=47'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="250"></a></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/black.gif" height="6" width="1"></td>
+<td align="LEFT" valign="CENTER"><a href="#485601478" onclick='DisplayAlignFromGraphics("485601478",event)'><img alt="score 18" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3F_5 Chain 5, Structure Of The H. Sapiens 60s Rrna S=18 E=12'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="124"></a></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/black.gif" height="6" width="1"></td>
+<td align="LEFT" valign="CENTER"><a href="#485601478" onclick='DisplayAlignFromGraphics("485601478",event)'><img alt="score 16" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3F_5 Chain 5, Structure Of The H. Sapiens 60s Rrna S=16 E=47'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="124"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><a href="#485601474" onclick='DisplayAlignFromGraphics("485601474",event)'><img alt="score 14" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3E_5 Chain 5, Structure Of The D. Melanogaster 60s Rrna S=14 E=1.9e+02'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="219"></a></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/black.gif" height="6" width="1"></td>
+<td align="LEFT" valign="CENTER"><a href="#485601474" onclick='DisplayAlignFromGraphics("485601474",event)'><img alt="score 18" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3E_5 Chain 5, Structure Of The D. Melanogaster 60s Rrna S=18 E=12'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="155"></a></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/black.gif" height="6" width="1"></td>
+<td align="LEFT" valign="CENTER"><a href="#485601474" onclick='DisplayAlignFromGraphics("485601474",event)'><img alt="score 16" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J3E_5 Chain 5, Structure Of The D. Melanogaster 60s Rrna S=16 E=47'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="124"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="50"></td>
+<td align="LEFT" valign="CENTER"><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="94"></td>
+<td align="LEFT" valign="CENTER"><a href="#357380483" onclick='DisplayAlignFromGraphics("357380483",event)'><img alt="score 18" onmouseout="document.overview0.defline.value='Mouse-over to show defline and scores, click to show alignments'" onmouseover="document.overview0.defline.value='3J0O_8 Chain 8, Core Of Mammalian 80s Pre-Ribosome In Complex .. S=18 E=12'" src="NCBI%20Blast%20reference%20example_files/black.gif" height="4" border="0" width="281"></a></td>
+</tr></tbody></table>
+<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img alt="" src="NCBI%20Blast%20reference%20example_files/white.gif" height="4" width="550"></td></tr></tbody></table>
+</td></tr></tbody></table>
+</center><hr>
+</div><!--/#graphic-->
+</div><!-- graphicInfo -->
+</div><!-- ARIA -->
+</div>
+<!--HITMATRIX_VIEW - only for bl2seq -->
+
+<div id="dscrView" class="hidden shown">
+<h2 class="resArr">
+<a aria-expanded="true" role="button" aria-disabled="false" href="#" id="showDescr" class="jig-ncbitoggler-open ui-ncbitoggler-open ui-widget" data-jigconfig="indicator: 'plus-minus-big'" data-ncbitoggler-toggles="descrInfo" title="Show/hide Descriptions">
+<span class="ui-ncbitoggler-master-text">Descriptions</span>
+<span class="ui-icon ui-icon-plus-minus-big-open"></span>
+</a>
+</h2>
+<div class="ui-helper-reset" aria-live="assertive">
+<div aria-hidden="false" id="descrInfo" class="resBox ui-ncbitoggler-slave-open ui-widget ui-ncbitoggler">
+ <!-- legend to links to other resources -->
+<a name="sort_mark"></a>
+
+
+<div id="debug">, Reading indexes 1-5, displaying indexes 1-5</div>
+<input id="Rid" value="PHWP1JNZ014" type="hidden">
+<input id="useAlignDB" name="useAlignDB" value="" type="hidden">
+<input id="dbType" value="GenBank" type="hidden"><!-- Indicates genbank, etc -->
+<input id="serviceType" value="plain" type="hidden">
+<input id="clientType" value="web" type="hidden">
+<input id="currQuery" value="" type="hidden">
+<input id="minDispAlnLen" value="2000" type="hidden">
+<input id="maxDispAlnLen" value="20000" type="hidden">
+<div class="hidden" id="dynHspTmpl"><div class="alnParLinks moreHsps" id="@moreHspsID@"><a class="gbd toolsCtr navNext" title="Load matches @segs@ out of @totalHSP@ for @accs@" onmouseover="scan(this)" ref="range=@segs@&amp;currseq=@alnSeqGi@" onclick="ReadNextHSPSet(@argstring@);"><span>Load next set</span></a><a class="gbd toolsCtr navPrev" title="Go to previous match #@aln_prev_num@ for @accs@" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a></div></div>
+<div id="descriptions" class="blRes">
+<!--<pre> -->
+<div class="cap">Sequences producing significant alignments:</div>
+<a id="shcl" href="#" onclick="showAllCol(event,this)" class="shcl hidden">
+Show all columns <span class="accsb"> of the table presenting sequences producing significant alignments </span>
+</a>
+<span id="cntDesc">
+<span>Select:<a href="#" id="cntSelA" sel="all">All</a><a href="#" id="cntSelN" sel="n">None</a></span>
+<span>Selected:<span id="slcNum">0</span></span>
+</span>
+
+<div id="descTblCtrl" class="cnf">
+<a href="#alignInfo" id="alnNav" class="toolsCtr alnNav" title="Go to alignments"><span>Alignments</span></a>
+<a aria-haspopup="true" aria-expanded="false" role="button" href="#dsDownload" minslct="1" class="jig-ncbipopper toolsCtr dnld dialog " data-jigconfig="hasArrow:'true',arrowDirection:'top'" id="dscDwnld" disabled="disabled" title="Download information for selected sequences"><span>Download</span></a>
+
+<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dsDownload" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
+<div class=""><input name="dwn" checked="checked" id="dwFST" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST">FASTA (complete sequence)</label></div>
+<div class=""><input name="dwn" id="dwFSTAl" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl">FASTA (aligned sequences)</label></div>
+<div class=""><input name="dwn" id="dwGenBank" getgi="on" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class=" shownInl" for="dwGenBank">GenBank (complete sequence)</label></div>
+<div><input name="dwn" id="dwHitText" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=Text&amp;FORMAT_OBJECT=Alignment&amp;ALIGNMENT_VIEW=Tabular&amp;CMD=Get" type="radio"><label class="shownInl" for="dwHitText">Hit Table (text)</label></div>
+<div><input name="dwn" id="dwHitCsv" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=CSV&amp;FORMAT_OBJECT=Alignment&amp;ALIGNMENT_VIEW=Tabular&amp;CMD=Get" type="radio"><label class="shownInl" for="dwHitCsv">Hit Table (CSV)</label></div>
+<div><input name="dwn" id="dwText" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=Text&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get" type="radio"><label class="shownInl" for="dwText">Text</label></div>
+<div><input name="dwn" id="dwXML" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=XML&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get" type="radio"><label class="shownInl" for="dwXML">XML</label></div>
+<div><input name="dwn" id="dwASN" url="Blast.cgi?RESULTS_FILE=on&amp;RID=PHWP1JNZ014&amp;FORMAT_TYPE=ASN.1&amp;FORMAT_OBJECT=Alignment&amp;CMD=Get" type="radio"><label class="shownInl" for="dwASN">ASN.1</label></div>
+<div>
+<button class="cfg" id="dw_cont">Continue</button>
+<button class="cfg cnc">Cancel</button>
+</div>  
+</div> <!-- dsDownload -->
+
+
+
+
+
+<a href="#" class="toolsCtr" minslct="1" view="dflt" frm="submitterTop" seqlist="selSeqs" title="See genbank report for selected sequences" disabled="disabled">GenBank</a> <!-- genbank or Traces -->
+<a href="#" class="toolsCtr " minslct="1" view="graph" title="See graphic representation for selected sequences" disabled="disabled">Graphics</a>
+<a href="#" class="toolsCtr hidden shown" view="tree" minslct="1" frm="sbmtTreeView" seqlist="selSeqsTr" disabled="disabled" title="See a distance tree of pairwise comparisons for the selected sequences">Distance tree of results</a>
+<a href="#" class="toolsCtr hidden " view="dflt" minslct="2" frm="sbmtMultiAln" seqlist="selSeqsMl" disabled="disabled" title="See multple alignment of query and target sequences for the selected sequences with expect value better than 0.001">Multiple alignment</a>
+
+<a aria-haspopup="true" aria-expanded="false" role="button" class="jig-ncbipopper button_config" title="Show/hide columns" id="button_config" href="#dsConfig"><span class="accsb">Show/hide columns of the table presenting sequences producing significant alignments </span></a>
+
+<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dsConfig" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
+<div class="tl">Available columns</div>
+<input checked="checked" id="chkDs" value="2" type="checkbox"><label class="shownInl" for="chkDs">Description</label><br>
+<input checked="checked" id="chkMS" value="3" type="checkbox"><label class="shownInl" for="chkMs">Max Score</label><br>
+<input checked="checked" id="chkTS" value="4" type="checkbox"><label class="shownInl" for="chkTs">Total Score</label><br>
+<input checked="checked" id="chkCov" value="5" type="checkbox"><label class="shownInl" for="chkCov">Coverage</label><br>
+<input checked="checked" id="chkEval" value="6" type="checkbox"><label class="shownInl" for="chkEval">E-value</label><br>
+<input checked="checked" id="chkIdnt" value="7" type="checkbox"><label class="shownInl" for="chkIdnt"><span class="">Ident</span><span class="hidden">N</span></label><br>
+<input checked="checked" id="chkAcc" value="8" type="checkbox"><label class="shownInl" for="chkAcc">Accession</label><br>
+<button class="cfg rdf" id="dscRsDf">Restore Defaults</button>
+<button class="cfg" id="dscOk">Ok</button>
+<button class="cfg cnc" id="dscCnc">Cancel</button>
+</div> <!-- dsConfig -->       
+
+<input id="cfcDsInf" defval="2,3,4,5,6,7,8" value="2,3,4,5,6,7,8" type="hidden">
+</div>
+<div class="ui-ncbigrid-outer-div caption-exists">
+<div class="ui-ncbigrid-inner-div">
+<table id="dscTable" class="jig-ncbigrid  ui-ncbigrid" data-jigconfig="" cellpadding="0" cellspacing="0">
+<caption class="hdnHeader">Sequences producing significant alignments:</caption>  
+<thead>
+<tr class="first">  
+  <th class="c0" id="c0"><span>Select for downloading or viewing reports</span></th>  
+  <th class="dflnDth c2" id="c2">Description</th>
+  <th class=" c3" id="c3">
+
+  <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;OLD_VIEW=false&amp;DISPLAY_SORT=1&amp;HSP_SORT=1" class="dcs" title="Sort by max score">Max score</a>
+  </th>
+  <th class=" c4" id="c4">
+  <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;OLD_VIEW=false&amp;DISPLAY_SORT=2&amp;HSP_SORT=1" class="dcs" title="Sort by total score">Total score</a>
+  </th>
+  <th class=" c5" id="c5">
+  <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;OLD_VIEW=false&amp;DISPLAY_SORT=4&amp;HSP_SORT=0" class="dcs" title="Sort by query coverage">Query cover</a>
+  </th>
+  <th class="sel c6" id="c6">
+  <a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;OLD_VIEW=false&amp;DISPLAY_SORT=0&amp;HSP_SORT=0" class="dcs" title="Sort by E value">E value</a>
+  </th>
+  <th class="c7" id="c7">
+<a href="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Get&amp;ALIGNMENTS=100&amp;ALIGNMENT_VIEW=Pairwise&amp;DATABASE_SORT=0&amp;DESCRIPTIONS=100&amp;DYNAMIC_FORMAT=on&amp;FIRST_QUERY_NUM=0&amp;FORMAT_OBJECT=Alignment&amp;FORMAT_PAGE_TARGET=&amp;FORMAT_TYPE=HTML&amp;GET_SEQUENCE=yes&amp;I_THRESH=&amp;LINE_LENGTH=60&amp;MASK_CHAR=2&amp;MASK_COLOR=1&amp;NUM_OVERVIEW=100&amp;OLD_BLAST=false&amp;PAGE=Nucleotides&amp;QUERY_INDEX=0&amp;QUERY_NUMBER=0&amp;RESULTS_PAGE_TARGET=&amp;RID=PHWP1JNZ014&amp;SHOW_LINKOUT=yes&amp;SHOW_OVERVIEW=yes&amp;STEP_NUMBER=&amp;WORD_SIZE=7&amp;DISPLAY_SORT=3&amp;HSP_SORT=3" class="dcs" title="Sort by ident">Ident</a>
+</th>
+                
+  <th class="c1" id="c8">Accession</th>
+</tr>
+</thead>
+<tbody>
+<tr id="dtr_557804451" ind="1" class="odd dflLnk">
+<td class="l c0"><span class="ind">1</span><input id="chk_1" class="cb" name="getSeqGi" value="557804451" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_1" class="accsb">Select seq pdb|3J5A|A</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Post- Translocation State (post1, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="1" accs="pdb|3J5A|A" seqfsta="gi|557804451" gi="557804451" seqid="557804451" id="deflnDesc_1" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804451">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Post- Translocation State (post1, 50s Subunit)</a>
+</div>
+</td>
+<td class="c3">32.2</td>
+<td class="c4">77.3</td>
+<td class="c5">100%</td>
+<td class="c6">8e-04</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nucltop&amp;blast_rank=1&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J5A_A">3J5A_A</a>
+</td>
+</tr><tr id="dtr_557804395" ind="2" class="even dflLnk">
+<td class="l c0"><span class="ind">2</span><input id="chk_2" class="cb" name="getSeqGi" value="557804395" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_2" class="accsb">Select seq pdb|3J58|A</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5b, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="2" accs="pdb|3J58|A" seqfsta="gi|557804395" gi="557804395" seqid="557804395" id="deflnDesc_2" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804395">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5b, 50s Subunit)</a>
+</div>
+</td>
+<td class="c3">32.2</td>
+<td class="c4">77.3</td>
+<td class="c5">100%</td>
+<td class="c6">8e-04</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nucltop&amp;blast_rank=2&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J58_A">3J58_A</a>
+</td>
+</tr><tr id="dtr_557804339" ind="3" class="odd dflLnk">
+<td class="l c0"><span class="ind">3</span><input id="chk_3" class="cb" name="getSeqGi" value="557804339" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_3" class="accsb">Select seq pdb|3J56|A</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5a, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="3" accs="pdb|3J56|A" seqfsta="gi|557804339" gi="557804339" seqid="557804339" id="deflnDesc_3" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804339">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5a, 50s Subunit)</a>
+</div>
+</td>
+<td class="c3">32.2</td>
+<td class="c4">77.3</td>
+<td class="c5">100%</td>
+<td class="c6">8e-04</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nucltop&amp;blast_rank=3&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J56_A">3J56_A</a>
+</td>
+</tr><tr id="dtr_557804283" ind="4" class="even dflLnk">
+<td class="l c0"><span class="ind">4</span><input id="chk_4" class="cb" name="getSeqGi" value="557804283" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_4" class="accsb">Select seq pdb|3J54|A</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre4, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="4" accs="pdb|3J54|A" seqfsta="gi|557804283" gi="557804283" seqid="557804283" id="deflnDesc_4" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804283">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre4, 50s Subunit)</a>
+</div>
+</td>
+<td class="c3">32.2</td>
+<td class="c4">77.3</td>
+<td class="c5">100%</td>
+<td class="c6">8e-04</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nucltop&amp;blast_rank=4&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J54_A">3J54_A</a>
+</td>
+</tr><tr id="dtr_557804227" ind="5" class="odd dflLnk">
+<td class="l c0"><span class="ind">5</span><input id="chk_5" class="cb" name="getSeqGi" value="557804227" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_5" class="accsb">Select seq pdb|3J52|A</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a stat="disp" title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1a, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="5" accs="pdb|3J52|A" seqfsta="gi|557804227" gi="557804227" seqid="557804227" id="deflnDesc_5" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804227">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1a, 50s Subunit)</a>
+</div>
+</td>
+<td class="c3">32.2</td>
+<td class="c4">77.3</td>
+<td class="c5">100%</td>
+<td class="c6">8e-04</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nucltop&amp;blast_rank=5&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J52_A">3J52_A</a>
+</td>
+</tr><tr id="dtr_557804195" ind="6" class="even dflLnk">
+<td class="l c0"><span class="ind">6</span><input id="chk_6" class="cb" name="getSeqGi" value="557804195" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_6" class="accsb">Select seq pdb|3J51|A</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Intermediate Pre- Translocation State (pre3, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="6" accs="pdb|3J51|A" seqfsta="gi|557804195" gi="557804195" seqid="557804195" id="deflnDesc_6" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804195">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Intermediate Pre- Translocation State (pre3, 50s Subunit)</a>
+</div>
+</td>
+<td class="c3">32.2</td>
+<td class="c4">77.3</td>
+<td class="c5">100%</td>
+<td class="c6">8e-04</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804195?report=genbank&amp;log$=nucltop&amp;blast_rank=6&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J51_A">3J51_A</a>
+</td>
+</tr><tr id="dtr_557804163" ind="7" class="odd dflLnk">
+<td class="l c0"><span class="ind">7</span><input id="chk_7" class="cb" name="getSeqGi" value="557804163" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_7" class="accsb">Select seq pdb|3J50|A</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Intermediate Pre- Translocation State (pre2, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="7" accs="pdb|3J50|A" seqfsta="gi|557804163" gi="557804163" seqid="557804163" id="deflnDesc_7" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804163">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Intermediate Pre- Translocation State (pre2, 50s Subunit)</a>
+</div>
+</td>
+<td class="c3">32.2</td>
+<td class="c4">77.3</td>
+<td class="c5">100%</td>
+<td class="c6">8e-04</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804163?report=genbank&amp;log$=nucltop&amp;blast_rank=7&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J50_A">3J50_A</a>
+</td>
+</tr><tr id="dtr_557804083" ind="8" class="even dflLnk">
+<td class="l c0"><span class="ind">8</span><input id="chk_8" class="cb" name="getSeqGi" value="557804083" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_8" class="accsb">Select seq pdb|3J4X|A</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a title="Go to alignment for Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1b, 50s Subunit)" class="deflnDesc" hsp="4" len="38" ind="8" accs="pdb|3J4X|A" seqfsta="gi|557804083" gi="557804083" seqid="557804083" id="deflnDesc_8" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_557804083">Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1b, 50s Subunit)</a>
+</div>
+</td>
+<td class="c3">32.2</td>
+<td class="c4">77.3</td>
+<td class="c5">100%</td>
+<td class="c6">8e-04</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804083?report=genbank&amp;log$=nucltop&amp;blast_rank=8&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J4X_A">3J4X_A</a>
+</td>
+</tr><tr id="dtr_485601478" ind="9" class="odd dflLnk">
+<td class="l c0"><span class="ind">9</span><input id="chk_9" class="cb" name="getSeqGi" value="485601478" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_9" class="accsb">Select seq pdb|3J3F|5</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a title="Go to alignment for Chain 5, Structure Of The H. Sapiens 60s Rrna" class="deflnDesc" hsp="8" len="63" ind="9" accs="pdb|3J3F|5" seqfsta="gi|485601478" gi="485601478" seqid="485601478" id="deflnDesc_9" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_485601478">Chain 5, Structure Of The H. Sapiens 60s Rrna</a>
+</div>
+</td>
+<td class="c3">18.3</td>
+<td class="c4">  128</td>
+<td class="c5">100%</td>
+<td class="c6">   12</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/485601478?report=genbank&amp;log$=nucltop&amp;blast_rank=9&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J3F_5">3J3F_5</a>
+</td>
+</tr><tr id="dtr_485601474" ind="10" class="even dflLnk">
+<td class="l c0"><span class="ind">10</span><input id="chk_10" class="cb" name="getSeqGi" value="485601474" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_10" class="accsb">Select seq pdb|3J3E|5</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a title="Go to alignment for Chain 5, Structure Of The D. Melanogaster 60s Rrna" class="deflnDesc" hsp="4" len="31" ind="10" accs="pdb|3J3E|5" seqfsta="gi|485601474" gi="485601474" seqid="485601474" id="deflnDesc_10" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_485601474">Chain 5, Structure Of The D. Melanogaster 60s Rrna</a>
+</div>
+</td>
+<td class="c3">18.3</td>
+<td class="c4">63.4</td>
+<td class="c5">100%</td>
+<td class="c6">   12</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/485601474?report=genbank&amp;log$=nucltop&amp;blast_rank=10&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J3E_5">3J3E_5</a>
+</td>
+</tr><tr id="dtr_357380483" ind="11" class="odd dflLnk">
+<td class="l c0"><span class="ind">11</span><input id="chk_11" class="cb" name="getSeqGi" value="357380483" onclick="configDescrLinks(event,this)" type="checkbox"><label for="chk_11" class="accsb">Select seq pdb|3J0O|8</label></td>
+<td class="lim l c2">
+<div class="lim n">
+<a title="Go to alignment for Chain 8, Core Of Mammalian 80s Pre-Ribosome In Complex With Trnas Fitted To A 9a Cryo-Em Map: Classic Pre State 2" class="deflnDesc" hsp="1" len="9" ind="11" accs="pdb|3J0O|8" seqfsta="gi|357380483" gi="357380483" seqid="357380483" id="deflnDesc_11" onclick="DisplayAlignFromDescription(this);" href="#alnHdr_357380483">Chain 8, Core Of Mammalian 80s Pre-Ribosome In Complex With Trnas Fitted To A 9a Cryo-Em Map: Classic Pre State 2</a>
+</div>
+</td>
+<td class="c3">18.3</td>
+<td class="c4">18.3</td>
+<td class="c5">56%</td>
+<td class="c6">   12</td><td class="c7">100%</td>
+<td class="c1 l lim">
+<a href="http://www.ncbi.nlm.nih.gov/nucleotide/357380483?report=genbank&amp;log$=nucltop&amp;blast_rank=11&amp;RID=PHWP1JNZ014" class="dflSeq" target="lnkPHWP1JNZ014" title="Show report for 3J0O_8">3J0O_8</a>
+</td>
+</tr>
+</tbody>
+</table>
+</div></div>
+<!--</pre>  -->
+</div><!--/#descriptions-->
+</div><!-- descrInfo -->
+</div><!--ARIA-->
+</div>
+</form><!-- this is the end tag for the <form in blastcgi templates -->
+<form id="dwdlSubmit" action="" method="post" class="getseq">
+<input name="" value="" id="selDnSeqs" type="hidden">
+</form>
+<form class="getseq" method="post" seqsform="getSeqAlignment1" action="http://www.ncbi.nlm.nih.gov/sites/entrez" target="lnkPHWP1JNZ014" id="submitterTop">
+<input name="db" value="Nucleotide" type="hidden">
+<input id="selSeqs" name="term" value="" type="hidden">
+<input name="doptcmdl" value="docsum" type="hidden">
+<input name="cmd" value="search" type="hidden">
+</form>
+<form class="getseq" method="get" action="http://www.ncbi.nlm.nih.gov/projects/sviewer/" target="lnkPHWP1JNZ014" id="sbmtGraphics">
+<input id="ridParam" value="PHWP1JNZ014" type="hidden">
+<input id="seqViewParams" name="RID" value="" type="hidden">
+<input name="appname" value="ncbiblast" type="hidden">
+<input name="link_loc" value="fromDescr" type="hidden">
+<input name="tracks" value="[key:sequence_track,ShowLabel:true]" type="hidden">  
+<input name="id" value="" type="hidden">    
+</form>
+<form class="getseq" method="post" action="http://www.ncbi.nlm.nih.gov/blast/treeview/treeView.cgi?request=page&amp;blastRID=PHWP1JNZ014&amp;queryID=lcl|59987&amp;entrezLim=&amp;ex=&amp;exl=&amp;exh=&amp;ns=100" id="sbmtTreeView" target="lnkPHWP1JNZ014">
+<input id="selSeqsTr" name="sequenceSet" value="" type="hidden">
+<input id="scrWidth" name="screenWidth" value="" type="hidden">
+<input id="scrHeight" name="screenHeight" value="" type="hidden">
+</form>
+<form class="getseq" method="post" action="?CMD=submit&amp;blastRID=PHWP1JNZ014&amp;queryID=lcl|59987&amp;numSeqs=100" id="sbmtMultiAln" target="lnkPHWP1JNZ014">
+<input id="selSeqsMl" name="sequenceSet" value="" type="hidden">
+</form>
+<form class="getseq" enctype="text/plain" method="post" action="http://blast.ncbi.nlm.nih.gov/blast/SEQDUMP/seqdump.cgi" id="sbmtFASTA">
+<input name="RID" value="PHWP1JNZ014" type="hidden">
+<input name="DATABASE" value="" type="hidden">
+<input name="ALIGNDB_BATCH_ID" value="" type="hidden">
+<input name="ALIGNDB_MASTER_ALIAS" value="" type="hidden">
+<input name="ALIGNDB_CGI_HOST" value="" type="hidden">
+<input name="ALIGNDB_CGI_PATH" value="" type="hidden">
+<input name="SERVICE_TYPE" value="plain" type="hidden">
+<input name="DBTYPE" value="nucl" type="hidden">
+<input name="DOWNLOAD_TYPE" value="" type="hidden">
+<input name="ALIGN_SEQ_LIST" value="" type="hidden">
+</form><!-- used in redesign -->
+<iframe id="RSIFrameAln" class="ifrm shown" name="RSIFrame" noresize="noresize" border="0" cellspacing="0" scrolling="no" marginwidth="0" marginheight="0" src="NCBI%20Blast%20reference%20example_files/plinkcgi_002.html" title="Primer-BLAST ad" frameborder="0" align="middle"></iframe>
+<div id="alignView" class=" ">
+<h2 class="resArr">
+<a aria-expanded="true" role="button" aria-disabled="false" href="#" id="showAlign" class="jig-ncbitoggler-open ui-ncbitoggler-open ui-widget" data-jigconfig="indicator: 'plus-minus-big'" data-ncbitoggler-toggles="alignInfo" title="Show/hide Alignments">
+<span class="ui-ncbitoggler-master-text">Alignments</span>
+<span class="ui-icon ui-icon-plus-minus-big-open"></span>
+</a>
+</h2>
+
+<div class="ui-helper-reset" aria-live="assertive">
+<div aria-hidden="false" id="alignInfo" class="resBox ui-ncbitoggler-slave-open ui-widget ui-ncbitoggler">
+<div id="alignments" class="blRes">
+<span id="alnStart"></span><div seqlist="gi|557804451,gi|557804395,gi|557804339,gi|557804283,gi|557804227" indexes="1-5" id="alnShow_1" class="alnMsg"><div class="alnMsgS hidden" id="alnMsg_1">Loading alignment...<span class="db"> for sequences gi|557804451,gi|557804395,gi|557804339,gi|557804283,gi|557804227 Reading indexes 1-5</span></div><div id="alnShowReal_1" class="alnMsgR"><form name="getSeqAlignment1">
+<div class="alnHdr cnf" id="alnHdr_557804451" seqid="557804451" accs="pdb|3J5A|A">
+<a name="557804451"></a>
+<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804451" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804451" title="Download information for pdb|3J5A|A"><span>Download</span></a>
+<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804451" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
+<div><input seqfsta="gi|557804451" name="dwn_557804451" checked="checked" id="dwFST_557804451" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804451">FASTA (complete sequence)</label></div>
+<div><input seqfsta="gi|557804451" name="dwn_557804451" id="dwFSTAl_557804451" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804451">FASTA (aligned sequences)</label></div>
+<div class=""><input name="dwn_557804451" id="dwGenBank_557804451" getgi="557804451" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804451">GenBank (complete sequence)</label></div>
+<div>
+<button class="cfg" id="dw_cont_557804451">Continue</button>
+<button class="cfg cnc">Cancel</button>
+</div>
+</div> <!-- dsDownload -->
+<span class="csLinks" id="csLinks_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics">Graphics</a></span>
+
+<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
+<select id="sa_557804451" onchange="SortHSPAlnSel(event,this)">
+<option selected="selected" value="0">E value</option>
+<option value="1"> Score</option>
+<option value="3">Percent identity</option>
+<option value="2">Query start position</option>
+<option value="4">Subject start position</option>
+</select>
+</div>
+<span class="alnSeqLinks">
+<a title="Go to next alignment for pdb|3J58|A" class="gbd toolsCtr navNext" ref="ordinalpos=1&amp;currseq=557804451" id="alnNxt_557804451" onclick="goToNextAlign('dtr_557804451',true);"><span>Next</span></a>
+<a disabled="disabled" class="gbd toolsCtr navPrev" ref="ordinalpos=1&amp;currseq=557804451" id="alnPrv_557804451" onclick="goToNextAlign('dtr_557804451',false);"><span>Previous</span></a>
+<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J5A|A" id="alnDsc_557804451" onclick="goToDefLine('dtr_557804451');" href="#dtr_557804451"><span>Descriptions</span></a>
+</span>
+</div>
+<div class="oneSeqAln" id="aln_557804451">
+<div id="dln_557804451">
+<div class="dlfRow">
+Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Post- Translocation State (post1, 50s Subunit)
+<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J5A|A">pdb|3J5A|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
+</div>
+</div>
+<div class="relInf" id="relInf_557804451"><label>Related Information</label></div>
+<!--
+<pre>
+<@aln_gene_info@>
+</pre>
+-->
+<div class="alnAll" id="alnAll_557804451"><div id="hd_557804451_1">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
+<span id="hsp557804451_1" class="alnParLinks">
+<a init="on" class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804451" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804451" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack hidden" href="#hsp557804451_1" title="Go to first match for pdb|3J5A|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #1</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>32.2 bits(16)</td>
+<td>8e-04<span class="sumN ">()</span></td>
+<td>16/16(100%)</td>
+<td>0/16(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804451_1">
+<pre>Query  1    CGTCCGTCGTGAAGAG  16
+            ||||||||||||||||
+Sbjct  961  CGTCCGTCGTGAAGAG  976
+
+
+</pre>
+</div>
+<div id="hd_557804451_2">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
+<span id="hsp557804451_2" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804451" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804451" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804451_1" title="Go to first match for pdb|3J5A|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #2</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>16.4 bits(8)</td>
+<td>   47<span class="sumN ">()</span></td>
+<td>8/8(100%)</td>
+<td>0/8(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804451_2">
+<pre>Query  5     CGTCGTGA  12
+             ||||||||
+Sbjct  2591  CGTCGTGA  2598
+
+
+</pre>
+</div>
+<div id="hd_557804451_3">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
+<span id="hsp557804451_3" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804451" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804451" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804451_1" title="Go to first match for pdb|3J5A|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #3</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804451_3">
+<pre>Query  7    TCGTGAA  13
+            |||||||
+Sbjct  839  TCGTGAA  845
+
+
+</pre>
+</div>
+<div id="hd_557804451_4">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804451"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804451?report=genbank&amp;log$=nuclalign&amp;blast_rank=1&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J5A_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804451?report=graph&amp;rid=PHWP1JNZ014[557804451]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J5A_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
+<span id="hsp557804451_4" class="alnParLinks">
+<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804451" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J5A|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804451" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804451_1" title="Go to first match for pdb|3J5A|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #4</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804451_4">
+<pre>Query  9     GTGAAGA  15
+             |||||||
+Sbjct  2027  GTGAAGA  2033
+
+
+</pre>
+</div>
+</div> <!-- alnAll_557804451 -->
+</div> <!-- aln_557804451 -->
+<div class="alnHdr cnf" id="alnHdr_557804395" seqid="557804395" accs="pdb|3J58|A">
+<a name="557804395"></a>
+<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804395" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804395" title="Download information for pdb|3J58|A"><span>Download</span></a>
+<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804395" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
+<div><input seqfsta="gi|557804395" name="dwn_557804395" checked="checked" id="dwFST_557804395" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804395">FASTA (complete sequence)</label></div>
+<div><input seqfsta="gi|557804395" name="dwn_557804395" id="dwFSTAl_557804395" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804395">FASTA (aligned sequences)</label></div>
+<div class=""><input name="dwn_557804395" id="dwGenBank_557804395" getgi="557804395" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804395">GenBank (complete sequence)</label></div>
+<div>
+<button class="cfg" id="dw_cont_557804395">Continue</button>
+<button class="cfg cnc">Cancel</button>
+</div>
+</div> <!-- dsDownload -->
+<span class="csLinks" id="csLinks_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics">Graphics</a></span>
+
+<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
+<select id="sa_557804395" onchange="SortHSPAlnSel(event,this)">
+<option selected="selected" value="0">E value</option>
+<option value="1"> Score</option>
+<option value="3">Percent identity</option>
+<option value="2">Query start position</option>
+<option value="4">Subject start position</option>
+</select>
+</div>
+<span class="alnSeqLinks">
+<a title="Go to next alignment for pdb|3J56|A" class="gbd toolsCtr navNext" ref="ordinalpos=2&amp;currseq=557804395" id="alnNxt_557804395" onclick="goToNextAlign('dtr_557804395',true);"><span>Next</span></a>
+<a title="Go to previous alignment for pdb|3J5A|A" class="gbd toolsCtr navPrev" ref="ordinalpos=2&amp;currseq=557804395" id="alnPrv_557804395" onclick="goToNextAlign('dtr_557804395',false);"><span>Previous</span></a>
+<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J58|A" id="alnDsc_557804395" onclick="goToDefLine('dtr_557804395');" href="#dtr_557804395"><span>Descriptions</span></a>
+</span>
+</div>
+<div class="oneSeqAln" id="aln_557804395">
+<div id="dln_557804395">
+<div class="dlfRow">
+Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5b, 50s Subunit)
+<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J58|A">pdb|3J58|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
+</div>
+</div>
+<div class="relInf" id="relInf_557804395"><label>Related Information</label></div>
+<!--
+<pre>
+<@aln_gene_info@>
+</pre>
+-->
+<div class="alnAll" id="alnAll_557804395"><div id="hd_557804395_1">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
+<span id="hsp557804395_1" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804395" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804395" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack hidden" href="#hsp557804395_1" title="Go to first match for pdb|3J58|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #1</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>32.2 bits(16)</td>
+<td>8e-04<span class="sumN ">()</span></td>
+<td>16/16(100%)</td>
+<td>0/16(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804395_1">
+<pre>Query  1    CGTCCGTCGTGAAGAG  16
+            ||||||||||||||||
+Sbjct  961  CGTCCGTCGTGAAGAG  976
+
+
+</pre>
+</div>
+<div id="hd_557804395_2">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
+<span id="hsp557804395_2" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804395" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804395" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804395_1" title="Go to first match for pdb|3J58|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #2</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>16.4 bits(8)</td>
+<td>   47<span class="sumN ">()</span></td>
+<td>8/8(100%)</td>
+<td>0/8(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804395_2">
+<pre>Query  5     CGTCGTGA  12
+             ||||||||
+Sbjct  2591  CGTCGTGA  2598
+
+
+</pre>
+</div>
+<div id="hd_557804395_3">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
+<span id="hsp557804395_3" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804395" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804395" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804395_1" title="Go to first match for pdb|3J58|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #3</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804395_3">
+<pre>Query  7    TCGTGAA  13
+            |||||||
+Sbjct  839  TCGTGAA  845
+
+
+</pre>
+</div>
+<div id="hd_557804395_4">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804395"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804395?report=genbank&amp;log$=nuclalign&amp;blast_rank=2&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J58_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804395?report=graph&amp;rid=PHWP1JNZ014[557804395]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J58_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
+<span id="hsp557804395_4" class="alnParLinks">
+<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804395" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J58|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804395" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804395_1" title="Go to first match for pdb|3J58|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #4</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804395_4">
+<pre>Query  9     GTGAAGA  15
+             |||||||
+Sbjct  2027  GTGAAGA  2033
+
+
+</pre>
+</div>
+</div> <!-- alnAll_557804395 -->
+</div> <!-- aln_557804395 -->
+<div class="alnHdr cnf" id="alnHdr_557804339" seqid="557804339" accs="pdb|3J56|A">
+<a name="557804339"></a>
+<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804339" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804339" title="Download information for pdb|3J56|A"><span>Download</span></a>
+<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804339" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
+<div><input seqfsta="gi|557804339" name="dwn_557804339" checked="checked" id="dwFST_557804339" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804339">FASTA (complete sequence)</label></div>
+<div><input seqfsta="gi|557804339" name="dwn_557804339" id="dwFSTAl_557804339" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804339">FASTA (aligned sequences)</label></div>
+<div class=""><input name="dwn_557804339" id="dwGenBank_557804339" getgi="557804339" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804339">GenBank (complete sequence)</label></div>
+<div>
+<button class="cfg" id="dw_cont_557804339">Continue</button>
+<button class="cfg cnc">Cancel</button>
+</div>
+</div> <!-- dsDownload -->
+<span class="csLinks" id="csLinks_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics">Graphics</a></span>
+
+<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
+<select id="sa_557804339" onchange="SortHSPAlnSel(event,this)">
+<option selected="selected" value="0">E value</option>
+<option value="1"> Score</option>
+<option value="3">Percent identity</option>
+<option value="2">Query start position</option>
+<option value="4">Subject start position</option>
+</select>
+</div>
+<span class="alnSeqLinks">
+<a title="Go to next alignment for pdb|3J54|A" class="gbd toolsCtr navNext" ref="ordinalpos=3&amp;currseq=557804339" id="alnNxt_557804339" onclick="goToNextAlign('dtr_557804339',true);"><span>Next</span></a>
+<a title="Go to previous alignment for pdb|3J58|A" class="gbd toolsCtr navPrev" ref="ordinalpos=3&amp;currseq=557804339" id="alnPrv_557804339" onclick="goToNextAlign('dtr_557804339',false);"><span>Previous</span></a>
+<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J56|A" id="alnDsc_557804339" onclick="goToDefLine('dtr_557804339');" href="#dtr_557804339"><span>Descriptions</span></a>
+</span>
+</div>
+<div class="oneSeqAln" id="aln_557804339">
+<div id="dln_557804339">
+<div class="dlfRow">
+Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre5a, 50s Subunit)
+<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J56|A">pdb|3J56|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
+</div>
+</div>
+<div class="relInf" id="relInf_557804339"><label>Related Information</label></div>
+<!--
+<pre>
+<@aln_gene_info@>
+</pre>
+-->
+<div class="alnAll" id="alnAll_557804339"><div id="hd_557804339_1">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
+<span id="hsp557804339_1" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804339" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804339" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack hidden" href="#hsp557804339_1" title="Go to first match for pdb|3J56|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #1</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>32.2 bits(16)</td>
+<td>8e-04<span class="sumN ">()</span></td>
+<td>16/16(100%)</td>
+<td>0/16(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804339_1">
+<pre>Query  1    CGTCCGTCGTGAAGAG  16
+            ||||||||||||||||
+Sbjct  961  CGTCCGTCGTGAAGAG  976
+
+
+</pre>
+</div>
+<div id="hd_557804339_2">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
+<span id="hsp557804339_2" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804339" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804339" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804339_1" title="Go to first match for pdb|3J56|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #2</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>16.4 bits(8)</td>
+<td>   47<span class="sumN ">()</span></td>
+<td>8/8(100%)</td>
+<td>0/8(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804339_2">
+<pre>Query  5     CGTCGTGA  12
+             ||||||||
+Sbjct  2591  CGTCGTGA  2598
+
+
+</pre>
+</div>
+<div id="hd_557804339_3">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
+<span id="hsp557804339_3" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804339" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804339" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804339_1" title="Go to first match for pdb|3J56|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #3</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804339_3">
+<pre>Query  7    TCGTGAA  13
+            |||||||
+Sbjct  839  TCGTGAA  845
+
+
+</pre>
+</div>
+<div id="hd_557804339_4">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804339"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804339?report=genbank&amp;log$=nuclalign&amp;blast_rank=3&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J56_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804339?report=graph&amp;rid=PHWP1JNZ014[557804339]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J56_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
+<span id="hsp557804339_4" class="alnParLinks">
+<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804339" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J56|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804339" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804339_1" title="Go to first match for pdb|3J56|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #4</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804339_4">
+<pre>Query  9     GTGAAGA  15
+             |||||||
+Sbjct  2027  GTGAAGA  2033
+
+
+</pre>
+</div>
+</div> <!-- alnAll_557804339 -->
+</div> <!-- aln_557804339 -->
+<div class="alnHdr cnf" id="alnHdr_557804283" seqid="557804283" accs="pdb|3J54|A">
+<a name="557804283"></a>
+<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804283" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804283" title="Download information for pdb|3J54|A"><span>Download</span></a>
+<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804283" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
+<div><input seqfsta="gi|557804283" name="dwn_557804283" checked="checked" id="dwFST_557804283" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804283">FASTA (complete sequence)</label></div>
+<div><input seqfsta="gi|557804283" name="dwn_557804283" id="dwFSTAl_557804283" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804283">FASTA (aligned sequences)</label></div>
+<div class=""><input name="dwn_557804283" id="dwGenBank_557804283" getgi="557804283" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804283">GenBank (complete sequence)</label></div>
+<div>
+<button class="cfg" id="dw_cont_557804283">Continue</button>
+<button class="cfg cnc">Cancel</button>
+</div>
+</div> <!-- dsDownload -->
+<span class="csLinks" id="csLinks_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics">Graphics</a></span>
+
+<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
+<select id="sa_557804283" onchange="SortHSPAlnSel(event,this)">
+<option selected="selected" value="0">E value</option>
+<option value="1"> Score</option>
+<option value="3">Percent identity</option>
+<option value="2">Query start position</option>
+<option value="4">Subject start position</option>
+</select>
+</div>
+<span class="alnSeqLinks">
+<a title="Go to next alignment for pdb|3J52|A" class="gbd toolsCtr navNext" ref="ordinalpos=4&amp;currseq=557804283" id="alnNxt_557804283" onclick="goToNextAlign('dtr_557804283',true);"><span>Next</span></a>
+<a title="Go to previous alignment for pdb|3J56|A" class="gbd toolsCtr navPrev" ref="ordinalpos=4&amp;currseq=557804283" id="alnPrv_557804283" onclick="goToNextAlign('dtr_557804283',false);"><span>Previous</span></a>
+<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J54|A" id="alnDsc_557804283" onclick="goToDefLine('dtr_557804283');" href="#dtr_557804283"><span>Descriptions</span></a>
+</span>
+</div>
+<div class="oneSeqAln" id="aln_557804283">
+<div id="dln_557804283">
+<div class="dlfRow">
+Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Hybrid Pre- Translocation State (pre4, 50s Subunit)
+<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J54|A">pdb|3J54|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
+</div>
+</div>
+<div class="relInf" id="relInf_557804283"><label>Related Information</label></div>
+<!--
+<pre>
+<@aln_gene_info@>
+</pre>
+-->
+<div class="alnAll" id="alnAll_557804283"><div id="hd_557804283_1">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
+<span id="hsp557804283_1" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804283" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804283" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack hidden" href="#hsp557804283_1" title="Go to first match for pdb|3J54|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #1</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>32.2 bits(16)</td>
+<td>8e-04<span class="sumN ">()</span></td>
+<td>16/16(100%)</td>
+<td>0/16(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804283_1">
+<pre>Query  1    CGTCCGTCGTGAAGAG  16
+            ||||||||||||||||
+Sbjct  961  CGTCCGTCGTGAAGAG  976
+
+
+</pre>
+</div>
+<div id="hd_557804283_2">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
+<span id="hsp557804283_2" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804283" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804283" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804283_1" title="Go to first match for pdb|3J54|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #2</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>16.4 bits(8)</td>
+<td>   47<span class="sumN ">()</span></td>
+<td>8/8(100%)</td>
+<td>0/8(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804283_2">
+<pre>Query  5     CGTCGTGA  12
+             ||||||||
+Sbjct  2591  CGTCGTGA  2598
+
+
+</pre>
+</div>
+<div id="hd_557804283_3">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
+<span id="hsp557804283_3" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804283" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804283" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804283_1" title="Go to first match for pdb|3J54|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #3</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804283_3">
+<pre>Query  7    TCGTGAA  13
+            |||||||
+Sbjct  839  TCGTGAA  845
+
+
+</pre>
+</div>
+<div id="hd_557804283_4">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804283"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804283?report=genbank&amp;log$=nuclalign&amp;blast_rank=4&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J54_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804283?report=graph&amp;rid=PHWP1JNZ014[557804283]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J54_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
+<span id="hsp557804283_4" class="alnParLinks">
+<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804283" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J54|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804283" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804283_1" title="Go to first match for pdb|3J54|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #4</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804283_4">
+<pre>Query  9     GTGAAGA  15
+             |||||||
+Sbjct  2027  GTGAAGA  2033
+
+
+</pre>
+</div>
+</div> <!-- alnAll_557804283 -->
+</div> <!-- aln_557804283 -->
+<div class="alnHdr cnf" id="alnHdr_557804227" seqid="557804227" accs="pdb|3J52|A">
+<a name="557804227"></a>
+<a aria-haspopup="true" aria-expanded="false" role="button" href="#dlgDwnl_557804227" class="jig-ncbipopper toolsCtr dnld dialog" data-jigconfig="hasArrow:'true',arrowDirection:'top',closeEvent: 'click', openEvent: 'click', destPosition: 'top center', triggerPosition: 'bottom right'" id="alnDwnld_557804227" title="Download information for pdb|3J52|A"><span>Download</span></a>
+<div style="top: -100px; left: -100px; display: none;" aria-hidden="true" aria-live="assertive" id="dlgDwnl_557804227" class="popDl ui-helper-reset ui-ncbipopper-wrapper ui-ncbipopper-basic">
+<div><input seqfsta="gi|557804227" name="dwn_557804227" checked="checked" id="dwFST_557804227" fstadwtype="complete" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFST_557804227">FASTA (complete sequence)</label></div>
+<div><input seqfsta="gi|557804227" name="dwn_557804227" id="dwFSTAl_557804227" fstadwtype="range" sbfunc="initDownLoadFSTA" type="radio"><label class="shownInl" for="dwFSTAl_557804227">FASTA (aligned sequences)</label></div>
+<div class=""><input name="dwn_557804227" id="dwGenBank_557804227" getgi="557804227" sbname="id" url="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&amp;rettype=gb&amp;retmode=text" type="radio"><label class="shownInl" for="dwGenBank_557804227">GenBank (complete sequence)</label></div>
+<div>
+<button class="cfg" id="dw_cont_557804227">Continue</button>
+<button class="cfg cnc">Cancel</button>
+</div>
+</div> <!-- dsDownload -->
+<span class="csLinks" id="csLinks_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014" class="" target="lnkPHWP1JNZ014" title="Show genbank report for 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=752:2685&amp;appname=ncbiblast&amp;link_loc=fromSubj" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics">Graphics</a></span>
+
+<div class="seqlinks alnDflLn alnSortSeq"><label>Sort by:</label>
+<select id="sa_557804227" onchange="SortHSPAlnSel(event,this)">
+<option selected="selected" value="0">E value</option>
+<option value="1"> Score</option>
+<option value="3">Percent identity</option>
+<option value="2">Query start position</option>
+<option value="4">Subject start position</option>
+</select>
+</div>
+<span class="alnSeqLinks">
+<a title="Go to next alignment for pdb|3J51|A" class="gbd toolsCtr navNext" ref="ordinalpos=5&amp;currseq=557804227" id="alnNxt_557804227" onclick="goToNextAlign('dtr_557804227',true);"><span>Next</span></a>
+<a title="Go to previous alignment for pdb|3J54|A" class="gbd toolsCtr navPrev" ref="ordinalpos=5&amp;currseq=557804227" id="alnPrv_557804227" onclick="goToNextAlign('dtr_557804227',false);"><span>Previous</span></a>
+<a class="gbd toolsCtr navBack" title="Go to definition line for pdb|3J52|A" id="alnDsc_557804227" onclick="goToDefLine('dtr_557804227');" href="#dtr_557804227"><span>Descriptions</span></a>
+</span>
+</div>
+<div class="oneSeqAln" id="aln_557804227">
+<div id="dln_557804227">
+<div class="dlfRow">
+Chain A, E. Coli 70s-fmetval-trnaval-trnafmet Complex In Classic Pre- Translocation State (pre1a, 50s Subunit)
+<div><label>Sequence ID: </label><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014" target="lnkPHWP1JNZ014" title="Show report for pdb|3J52|A">pdb|3J52|A</a><span class=" r"><label>Length: </label>2903<label>Number of Matches: </label>4</span></div>
+</div>
+</div>
+<div class="relInf" id="relInf_557804227"><label>Related Information</label></div>
+<!--
+<pre>
+<@aln_gene_info@>
+</pre>
+-->
+<div class="alnAll" id="alnAll_557804227"><div id="hd_557804227_1">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 1: 961 to 976</label><span class="" id="rng_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014&amp;from=961&amp;to=976" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 961 to 976 on 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=961:976&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics for 961 to 976 range">Graphics</a></span></span>
+<span id="hsp557804227_1" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #2 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804227" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" disabled="disabled" title="Go to previous match #0 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=1&amp;currseq=557804227" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack hidden" href="#hsp557804227_1" title="Go to first match for pdb|3J52|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #1</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>32.2 bits(16)</td>
+<td>8e-04<span class="sumN ">()</span></td>
+<td>16/16(100%)</td>
+<td>0/16(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804227_1">
+<pre>Query  1    CGTCCGTCGTGAAGAG  16
+            ||||||||||||||||
+Sbjct  961  CGTCCGTCGTGAAGAG  976
+
+
+</pre>
+</div>
+<div id="hd_557804227_2">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 2: 2591 to 2598</label><span class="" id="rng_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014&amp;from=2591&amp;to=2598" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2591 to 2598 on 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2591:2598&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics for 2591 to 2598 range">Graphics</a></span></span>
+<span id="hsp557804227_2" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #3 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804227" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #1 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=2&amp;currseq=557804227" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804227_1" title="Go to first match for pdb|3J52|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #2</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>16.4 bits(8)</td>
+<td>   47<span class="sumN ">()</span></td>
+<td>8/8(100%)</td>
+<td>0/8(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804227_2">
+<pre>Query  5     CGTCGTGA  12
+             ||||||||
+Sbjct  2591  CGTCGTGA  2598
+
+
+</pre>
+</div>
+<div id="hd_557804227_3">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 3: 839 to 845</label><span class="" id="rng_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014&amp;from=839&amp;to=845" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 839 to 845 on 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=839:845&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics for 839 to 845 range">Graphics</a></span></span>
+<span id="hsp557804227_3" class="alnParLinks">
+<a class="gbd toolsCtr navNext" title="Go to next match #4 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804227" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #2 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=3&amp;currseq=557804227" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804227_1" title="Go to first match for pdb|3J52|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #3</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804227_3">
+<pre>Query  7    TCGTGAA  13
+            |||||||
+Sbjct  839  TCGTGAA  845
+
+
+</pre>
+</div>
+<div id="hd_557804227_4">
+<div class="dflLnk hsp"><span class="alnRn"><label>Range 4: 2027 to 2033</label><span class="" id="rng_557804227"><a href="http://www.ncbi.nlm.nih.gov/nucleotide/557804227?report=genbank&amp;log$=nuclalign&amp;blast_rank=5&amp;RID=PHWP1JNZ014&amp;from=2027&amp;to=2033" class="" target="lnkPHWP1JNZ014" title="Aligned region spanning positions 2027 to 2033 on 3J52_A">GenBank</a><a href="http://www.ncbi.nlm.nih.gov/nuccore/557804227?report=graph&amp;rid=PHWP1JNZ014[557804227]&amp;tracks=[key:sequence_track,name:Sequence,display_name:Sequence,id:STD1,category:Sequence,annots:Sequence,ShowLabel:true][key:gene_model_track,CDSProductFeats:false][key:alignment_track,name:other%20alignments,annots:NG%20Alignments%7CRefseq%20Alignments%7CGnomon%20Alignments%7CUnnamed,shown:false]&amp;v=2027:2033&amp;appname=ncbiblast&amp;link_loc=fromHSP" class="spr" target="lnkPHWP1JNZ014" title="Show alignment to 3J52_A in Nucleotide Graphics for 2027 to 2033 range">Graphics</a></span></span>
+<span id="hsp557804227_4" class="alnParLinks">
+<a class="gbd toolsCtr navNext" disabled="disabled" title="Go to next match #5 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804227" onclick="goToNextHSP(this,true)"><span>Next Match</span></a>
+<a class="gbd toolsCtr navPrev" title="Go to previous match #3 for pdb|3J52|A" onmouseover="scan(this)" ref="ordinalpos=4&amp;currseq=557804227" onclick="goToNextHSP(this,false)"><span>Previous Match</span></a>
+<a class="gbd toolsCtr navBack " href="#hsp557804227_1" title="Go to first match for pdb|3J52|A"><span>First Match</span></a>
+</span>
+</div>
+<table class="alnParams">
+<caption class="hdnHeader">Alignment statistics for match #4</caption>
+<tbody><tr>
+<th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th><th class="aln_frame ">Frame</th>
+</tr>
+<tr>
+<td>14.4 bits(7)</td>
+<td>  186<span class="sumN ">()</span></td>
+<td>7/7(100%)</td>
+<td>0/7(0%)</td>
+<td>Plus/Plus</td>
+<td class="aln_frame "></td>
+</tr></tbody></table>
+<div class="dflLnk aln_feat hidden"><label>Features:</label><div></div></div>
+</div>
+<div id="ar_557804227_4">
+<pre>Query  9     GTGAAGA  15
+             |||||||
+Sbjct  2027  GTGAAGA  2033
+
+
+</pre>
+</div>
+</div> <!-- alnAll_557804227 -->
+</div> <!-- aln_557804227 -->
+</form>
+
+</div></div> 
+<pre>
+</pre>
+</div><!--/#alignments-->
+</div><!-- alignInfo -->
+</div><!--ARIA-->
+
+</div><!-- alignView -->
+<form><!-- this is the start tag for the </form in blastcgi templates - needs to be changed-->
+<!-- not used - verify -->
+<!-- not used - verify -->
+
+
+                </form>
+				</div><!-- /#content -->
+				<form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="post" name="reformat" id="reformat">				
+				   <input name="QUERY_INFO" value="Nucleotide Sequence (16 letters)" type="hidden">    				
+				   <input name="ENTREZ_QUERY" value="" type="hidden">
+                   <input name="CDD_RID" value="" type="hidden">
+                   <input name="CDD_SEARCH_STATE" value="" type="hidden">
+                   <input name="RID" value="PHWP1JNZ014" type="hidden">
+				   <input name="STEP_NUMBER" value="" type="hidden">
+				   <input name="CMD" value="Web" type="hidden">				
+				   <input name="PAGE_TYPE" value="BlastFormatting" type="hidden">
+				
+				   <!-- TO DO: test all of those changes -->				   	
+				   <!-- Psi blast params  PSI_BLAST_PARAMS - commented- using forms[0] from fromatter> -->
+				   <!-- Current Formatting options FORMATTING_OPTIONS- commented- using forms[0] from fromatter> -->
+				   <!-- Current Search options CURR_SAVED_OPTIONS - commented- using forms[0] from fromatter> -->
+                 </form>
+
+                 <form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="post" name="setSavedOptions" id="setSavedOptions">					
+					<input name="PAGE_TYPE" value="BlastSearch" type="hidden">
+					<input name="VIEW_SEARCH" value="true" type="hidden">
+					<input name="CMD" value="Web" type="hidden">					
+					<!-- Current Search options CURR_SAVED_OPTIONS - commented- using forms[0] from fromatter> -->
+				</form>
+				
+				<form action="Blast.cgi" enctype="application/x-www-form-urlencoded" method="post" name="saveOptions" id="saveOptions">					
+					<input name="SAVE" value="true" type="hidden">					
+					<input name="CMD" value="GetSaved" type="hidden">
+					<!-- Current Search options CURR_SAVED_OPTIONS - commented- using forms[0] from formatter> -->
+				</form>
+        </div><!-- /#content-wrap -->
+
+		    	
+<div id="footer">
+   <div id="rgs">BLAST is a registered trademark of the National Library of Medicine.</div> 
+   <p id="orgns">
+      <a href="http://www.ncbi.nlm.nih.gov/" title="National Center for Biotechnology Information">NCBI</a> |
+      <a href="http://www.nlm.nih.gov/" title="National Library of Medicine">NLM</a> |
+      <a href="http://www.nih.gov/" title="National Institutes of Health">NIH</a> |
+      <a href="http://www.hhs.gov/" title="US Department of Health and Human Services">DHHS</a>
+   </p>
+   
+   <p>
+      <a href="http://www.ncbi.nlm.nih.gov/About/disclaimer.html" title="NCBI intellectual property statement">Copyright</a> | 
+      <a href="http://www.ncbi.nlm.nih.gov/About/disclaimer.html#disclaimer" title="About liability, endorsements, external links, pop-up advertisements">Disclaimer</a> | 
+      <a href="http://www.nlm.nih.gov/privacy.html" title="NLM privacy policy">Privacy</a> | 
+      <a href="http://www.nlm.nih.gov/accessibility.html" title="About using NCBI resources with assistive technology">Accessibility</a> |
+      <a href="http://www.ncbi.nlm.nih.gov/About/glance/contact_info.html" title="How to get help, submit data, or provide feedback">Contact</a> |
+      <a href="mailto:blast-help@ncbi.nlm.nih.gov" title="How to get help, submit data, or provide feedback">Send feedback</a>      
+   </p>
+</div>	
+   </div><!--/#wrap-->
+
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/utils.js"></script>
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/toggle.js"></script>
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/remote_data_provider.js"></script>
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/results.js"></script><link rel="stylesheet" type="text/css" href="NCBI%20Blast%20reference%20example_files/firefox-descriptions.css" media="screen">
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/blast.js"></script>
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/format.js"></script>
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/formatRes.js"></script>   
+<script type="text/javascript" src="NCBI%20Blast%20reference%20example_files/InstrumentPageStarterJS.js"></script>
+
+
+
+<div class="ui-ncbiautocomplete-holder shadow" aria-live="assertive"><ul class="ui-ncbiautocomplete-options" role="listbox" aria-activedescendant=""></ul><div class="ui-ncbiautocomplete-actions shadow"><a href="#" class="ui-ncbiautocomplete-link-pref">Preferences</a><a href="#" class="ui-ncbiautocomplete-link-off">Turn off</a></div></div><ul class="print-log"><li></li></ul></body></html>
\ No newline at end of file
Binary file NCBI Blast reference example_files/1.gif has changed
Binary file NCBI Blast reference example_files/2.gif has changed
Binary file NCBI Blast reference example_files/3.gif has changed
Binary file NCBI Blast reference example_files/5.gif has changed
Binary file NCBI Blast reference example_files/6.gif has changed
Binary file NCBI Blast reference example_files/9.gif has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/InstrumentPageStarterJS.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,86 @@
+(function(){if(typeof ncbi==="undefined")ncbi={};if(ncbi.sg)typeof console!=="undefined"&&console.error&&console.error("The logging JavaScript was added twice in the document. Please include it one time.");else{ncbi.sg=function(){};ncbi.sg.getInstance=function(){if(!ncbi.sg._instance)ncbi.sg._instance=new ncbi.sg;return ncbi.sg._instance};ncbi.sg._instance=null;ncbi.sg._version="26";(function(){var a=navigator.cookieEnabled?true:false;if(typeof navigator.cookieEnabled==="undefined"&&!a){document.cookie=
+"testcookie";a=document.cookie.indexOf("testcookie")!==-1?true:false}ncbi.sg.isCookieEnabled=a})();ncbi.sg.appLogIgnore=["ncbi_sessionid","ncbi_clickdisabled"];ncbi.sg.prototype={init:function(){this.isProcessRunning=true;this._setUpMetaTagValues();this._setScrollingEnabled();if(this._cachedVals.ncbi_db&&this._cachedVals.ncbi_db.value.toLowerCase()=="pubmed"&&this._cachedVals.ncbi_report&&this._cachedVals.ncbi_report.value.toLowerCase()=="abstract"&&this._cachedVals.ncbi_resultcount&&this._cachedVals.ncbi_resultcount.value.toLowerCase()==
+"1"||this._cachedVals.ncbi_db&&this._cachedVals.ncbi_db.value.toLowerCase()=="pmc"&&this._cachedVals.ncbi_report&&this._cachedVals.ncbi_report.value.toLowerCase()=="record"&&this._cachedVals.ncbi_type&&this._cachedVals.ncbi_type.value.toLowerCase()=="fulltext")ncbi.sg.isHoverEnabled=true;this._setUpPathParts();this._setUpCustomProps();this._addOnScrollListeners();this._send("init");this._scheduleDOMReadyPing();this._sendPrev();this._addPrintPing();this._setBeforeScrollDetails()},_vals:{},_cachedVals:{},
+_hasInitRun:false,_readyPinged:false,_pathParts:{part1:"",part2:"",part3:"",part4:""},_scheduleDOMReadyPing:function(){var a=this,b=function(){return typeof jQuery!=="undefined"&&typeof jQuery.ui!=="undefined"&&typeof jQuery.ui.jig!=="undefined"?typeof jQuery.ui.jig.version!=="undefined"&&jQuery.ui.jig.version?jQuery.ui.jig.version:"unknown":"unknown"},d=function(){var k={},j=jQuery.ui.jig._foundWidgets;for(var t in j)k["jigWidget_"+t]=j[t];k.jigVersion=b();return k},c=function(){if(!a._readyPinged){var k=
+{};if(typeof jQuery!=="undefined"&&typeof jQuery.ui!=="undefined"&&typeof jQuery.ui.jig!=="undefined"&&typeof jQuery.ui.jig.scanned!=="undefined")if(jQuery.ui.jig.scanned){k=d();k.jsevent="domready";ncbi.sg._ping(k);a._readyPinged=true}else{if(typeof jQuery.ui.jig.scan!=="undefined"&&jQuery.ui.jig.scan){var j=jQuery.ui.jig.scan;jQuery.ui.jig.scan=function(){var t=j.apply(this,arguments);c();return t}}}else{k.jigVersion="nojig";k.jsevent="domready";ncbi.sg._ping(k);a._readyPinged=true}}};if(document.addEventListener){var e=
+function(){document.removeEventListener("DOMContentLoaded",e,false);c()};document.addEventListener("DOMContentLoaded",e)}else if(document.attachEvent){var g=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",g);c()}};document.attachEvent("onreadystatechange",g)}},_setScrollingEnabled:function(){try{ncbi.sg.isScrollingEnabled=false;var a=ncbi.sgAppsWithScrolling;if(typeof a!=="undefined")for(var b=0;b<a.length;b++){var d=true,c=a[b];for(var e in c)if(!this._cachedVals[e]||
+this._cachedVals[e].value.toLowerCase()!=c[e]){d=false;break}if(d){ncbi.sg.isScrollingEnabled=true;break}}}catch(g){ncbi.sg.getInstance().noteEventData("jserror",{jserror:g.toString(),SELF_URL:window.location.href},["ncbi_sessionid","ncbi_phid"])}},_setUpMetaTagValues:function(){for(var a=document.getElementsByTagName("meta"),b=0;b<a.length;b++){var d=a[b].name;d.indexOf("ncbi_")===0&&this.addEntry(d,a[b].content)}},_setUpCachedMetaTagValues:function(a){for(var b=0;b<a.length;b++){var d=this._cachedVals[a[b]];
+d&&this.addEntry(a[b],d.value)}},cachedNames:["ncbi_app","ncbi_db","ncbi_pcid","ncbi_pdid","ncbi_phid","ncbi_sessionid","ncbi_uidlist"],ignoreLengthRestrictions:["jserror","jserrorlocation"],addEntry:function(a,b){if(!(b===undefined||b.length===0)){if(b.length>100&&this.ignoreLengthRestrictions.indexOf(a)===-1)b=b.substr(0,100);this._cachedVals[a]={sProp:a,value:b}}},getVal:function(a){return typeof this._cachedVals[a]!=="undefined"&&this._cachedVals[a]&&typeof this._cachedVals[a].value!=="undefined"?
+this._cachedVals[a].value:null},removeAllEntries:function(){for(var a={},b=this.cachedNames.length,d=0;d<b;d++){var c=this.cachedNames[d],e=this._cachedVals[c];if(e)a[c]=e}this._cachedVals=a;for(var g in this._pathParts)this._pathParts[g]=""},_setUpCustomProps:function(){var a=this._pathParts.part1,b=this._pathParts.part2.length>0?":"+this._pathParts.part2:"",d=this._pathParts.part3.length>0?":"+this._pathParts.part3:"",c=this._pathParts.part4.length>0?":"+this._pathParts.part4:"";a={pagename:a+b+
+d,server:window.location.hostname,sitesect2:a+b,subsect3:a+b+d,subsect4:a+b+d+c,heir1:(a+b+d+c).replace(/:/g,"|")};for(var e in a)this.addEntry(e,a[e]);this._sessionIdCheck();this._staticPageCheck();this._prevHitCheck();this._browserConfigurationSettings();this._hashCheck()},_staticPageCheck:function(){this._cachedVals.ncbi_app&&this._cachedVals.ncbi_app.value.length>0||this.addEntry("ncbi_app","static");this._cachedVals.ncbi_pdid&&this._cachedVals.ncbi_pdid.value.length>0||this.addEntry("ncbi_pdid",
+(document.title||"unknown").replace(/\s+/g,""))},_sessionIdCheck:function(){if(!(this._cachedVals.ncbi_sessionid&&this._cachedVals.ncbi_sessionid.value.length>0)){var a="";if(a.length===0){var b=this.getCookie("WebCubbyUser")||this.getCookie("WebEnv");if(b.length>0){b=unescape(b).split("@");if(b.length>1)a=b[b.length-1]}}if(a.length===0)a="NOSESSIONID";this.addEntry("ncbi_sessionid",a)}},getBrowserWidthHeight:function(){var a=this.getViewportWidth(),b=this.getViewportHeight();return{width:a,height:b}},
+_browserConfigurationSettings:function(){var a=this.getBrowserWidthHeight();this.addEntry("browserwidth",a.width);this.addEntry("browserheight",a.height);this.addEntry("screenwidth",screen.width);this.addEntry("screenheight",screen.height);this.addEntry("screenavailwidth",screen.availWidth);this.addEntry("screenavailheight",screen.availHeight);if(document&&document.body){var b=document.body.scrollWidth,d=document.body.scrollHeight,c=d>a.height?"true":"false";this.addEntry("canscroll_x",b>a.width?
+"true":"false");this.addEntry("canscroll_y",c);this.addEntry("scrollwidth",b);this.addEntry("scrollheight",d)}if(screen.colorDepth)this.addEntry("colorDepth",screen.colorDepth);else screen.pixelDepth&&this.addEntry("colorDepth",screen.pixelDepth)},_hashCheck:function(){var a=window.location.hash;if(a){a=a.replace("#","");this.addEntry("urlhash",a)}(a=window.location.search.match(/[?&]campaign=([^&]*)/))&&this.addEntry("campaign",a[1])},_createPHID:function(){var a=this._cachedVals.ncbi_sessionid.value,
+b=a.substr(0,15)+"9"+(new Date).getTime().toString(),d=a.length;b+=a.substr(d-(32-b.length),d);a={value:b};this.addEntry("ncbi_phid",b);return a},currentPageHitId:null,_prevHitCheck:function(){var a=this.getCookie("ncbi_prevPHID"),b=this._cachedVals.ncbi_phid;a.length>0&&this.addEntry("prev_phid",a);if(!b||!b.value||b.value.length===0)b=this._createPHID();this.currentPageHitId=b.value;var d=this;ncbi.sg._hasFocus&&d.setCookie("ncbi_prevPHID",b.value);var c=window.onfocus;window.onfocus=function(e){d.getCookie("ncbi_prevPHID")!==
+b.value&&d.setCookie("ncbi_prevPHID",b.value);typeof c==="function"&&c(e)}},_setUpPathParts:function(){var a=this._cachedVals.ncbi_app,b=this._cachedVals.ncbi_db,d=this._cachedVals.ncbi_pdid,c=this._cachedVals.ncbi_pcid;this._pathParts.part1=a!==undefined?a.value:"";this._pathParts.part2=b!==undefined?b.value:"";this._pathParts.part3=d!==undefined?d.value:"";this._pathParts.part4=c!==undefined?c.value:""},getPerfStats:function(){var a=window.performance;if(!a)return{};var b=a.timing;if(b)b={dns:b.domainLookupEnd-
+b.domainLookupStart,connect:b.connectEnd-b.connectStart,ttfb:b.responseStart-b.connectEnd,basePage:b.responseEnd-b.responseStart,frontEnd:b.loadEventStart-b.responseEnd};else return{};if(a=a.navigation){b.navType=a.type;b.redirectCount=a.redirectCount}return b},setPerfStats:function(a,b){var d=this.getPerfStats();for(var c in d){var e=d[c];if(e>=0){var g="jsperf_"+c;if(b)a[g]=e;else a.push(g+"="+e)}}},getExtraRenderStats:function(){var a={SELF_URL:encodeURIComponent(window.location.href)};if(typeof document!==
+"undefined"&&typeof document.referrer!=="undefined")a.HTTP_REFERER=encodeURIComponent(document.referrer);return a},setExtraRenderStats:function(a){var b=this.getExtraRenderStats();for(var d in b)a.push(d+"="+b[d])},_send:function(a,b,d){if(typeof d==="undefined"||d===null)d=true;var c=[];if(a==="init"){c.push("jsevent=render");ncbi.sg.renderTime=new Date;if(typeof ncbi_startTime!=="undefined"){c.push("jsrendertime="+(ncbi.sg.renderTime-ncbi_startTime));ncbi.sg.loadTime&&c.push("jsloadtime="+(ncbi.sg.loadTime-
+ncbi_startTime))}this.setPerfStats(c);this.setExtraRenderStats(c);c.push("cookieenabled="+(ncbi.sg.isCookieEnabled?"true":"false"))}for(var e in this._cachedVals)ncbi.sg.appLogIgnore.indexOf(e)===-1&&c.push(e+"="+encodeURIComponent(this._cachedVals[e].value));this._sendAl(c.join("&"),b,true,d);this._hasInitRun=true;var g=this;setTimeout(function(){g.isProcessRunning=false;g.runSGProcess()},300)},send:function(a,b){this._send(a,b,false)},_sendPrev:function(){var a=ncbi.sg.getInstance(),b=a.getCookie("clicknext");
+if(b){ncbi.sg._ping(b);a.setCookie("clicknext","")}if(b=a.getCookie("prevsearch")){ncbi.sg._ping(b);a.setCookie("prevsearch","")}if(b=a.getCookie("unloadnext")){ncbi.sg._ping(b);a.setCookie("unloadnext","")}},_sendAl:function(a,b,d,c){if(typeof c==="undefined"||c===null)c=true;if(a.indexOf("jseventms")===-1)a+="&jseventms="+ncbi.sg.getInstance().getMillisecondsSinceSunday();a.match(/jsevent=search/i)&&this._storeNext("prevsearch",a.replace(/jsevent=search(next)?/i,"jsevent=searchnext"),null,c);a+=
+"&sgVersion="+ncbi.sg._version;if(a.indexOf("sgSource")===-1)a=this._setSgSource(a,c);c=window.location.port?":"+window.location.port:"";reqURL=typeof __ncbi_stat_url!=="undefined"?__ncbi_stat_url+"?"+a:window.location.protocol+"//"+window.location.hostname+c+"/stat?"+a;this.makeAjaxCall(reqURL,function(){typeof b==="function"&&b()},d)},sendAl:function(a,b,d){this._sendAl(a,b,d,false)},_processingQueue:[],isProcessRunning:false,addSGProcess:function(a){this._processingQueue.push(a)},getSGProcess:function(a){return this._processingQueue.shift(a)},
+runSGProcess:function(){if(this.isProcessRunning||this._processingQueue.length===0||!this._hasInitRun)return false;this.isProcessRunning=true;this.removeAllEntries();var a=this.getSGProcess();this._setUpCachedMetaTagValues(a.metadata);this.addEntry("jsevent",a.eventName);for(var b in a.props)this.addEntry(b,a.props[b]);this._send(a.eventName,a.callbackFnc);var d=this;setTimeout(function(){d.isProcessRunning=false;d.runSGProcess()},300)},noteEventData:function(a,b,d,c){this.addSGProcess({eventName:a,
+props:b,metadata:d,callback:c});this.runSGProcess()},setCookie:function(a,b,d){if(window.sessionStorage)try{sessionStorage.setItem(a,b)}catch(c){}var e=new Date;d!==null&&e.setDate(e.getDate()+d);document.cookie=a+"="+escape(b)+(d===null?"":"; expires="+e.toGMTString())+"; domain="+escape(".nih.gov")+"; path=/"},_setSgSource:function(a,b){a+="&sgSource="+(b?"native":"api");return a},_storeNext:function(a,b,d,c){if(typeof c==="undefined"||c===null)c=true;b=this._setSgSource(b,c);this.setCookie(a,b,
+d)},getCookie:function(a){var b;if(window.sessionStorage){try{b=sessionStorage.getItem(a)||""}catch(d){b=""}if(b.length>0)return b}if(document.cookie.length>0){b=document.cookie.indexOf(a+"=");if(b!==-1){b=b+a.length+1;a=document.cookie.indexOf(";",b);if(a===-1)a=document.cookie.length;return unescape(document.cookie.substring(b,a))}}return""},getTransport:function(){var a=null;if(window.XMLHttpRequest)try{a=new XMLHttpRequest;this.getTransport=function(){return new XMLHttpRequest}}catch(b){a=null}if(window.ActiveXObject&&
+a===null)try{a=new ActiveXObject("Msxml2.XMLHTTP");this.getTransport=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(d){try{a=new ActiveXObject("Microsoft.XMLHTTP");this.getTransport=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(c){a=false}}if(a===null)this.getTransport=function(){return null};return this.getTransport()},makeAjaxCall:function(a,b,d){var c=this.getTransport();c._ncbi_skipOverride=true;c.open("GET",a,d);if(d)c.onreadystatechange=function(){c.readyState===
+4&&b(c)};ncbi.sg.lastPing=c;c.send(null);return c},scrollDetails:{maxScroll_x:0,maxScroll_y:0,currScroll_x:0,currScroll_y:0,hasScrolled:false},scrollEventDetails:{xTenths:0,yTenths:0,xMax:0,yMax:0},_getScrollXYPx:function(){return[window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0]},_getScrollXY:function(){var a=this.getViewportHeight(),b=this.getViewportWidth(),d=document.body.scrollHeight,
+c=document.body.scrollWidth,e=this._getScrollXYPx(),g=Math.round(e[1]/a*10)/10;return{xRel:Math.round(e[0]/b*10)/10,yRel:g,viewportHeight:a,viewportWidth:b,pageHeight:d,pageWidth:c}},_addOnScrollListeners:function(){var a=window.onscroll,b=this;window.onscroll=function(){if(ncbi.sg.isScrollingEnabled){b._setScrollDetails();b.scrollDetails.hasScrolled=true;b._addScrollEvent()}else{b._setScrollDetails();b.scrollDetails.hasScrolled=true}if(typeof a==="function")return a()}},getViewportHeight:function(){return window.innerHeight?
+window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body!==null?document.body.clientHeight:"NA"},getViewportWidth:function(){return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body!==null?document.body.clientWidth:"NA"},_setScrollDetails:function(){this.scrollDetails.currScroll_y=window.pageYOffset||document.documentElement.scrollTop||
+document.body.scrollTop||0;this.scrollDetails.currScroll_x=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.getViewportWidth();this.getViewportHeight();if(this.scrollDetails.maxScroll_y<this.scrollDetails.currScroll_y)this.scrollDetails.maxScroll_y=this.scrollDetails.currScroll_y;if(this.scrollDetails.maxScroll_x<this.scrollDetails.currScroll_x)this.scrollDetails.maxScroll_x=this.scrollDetails.currScroll_x},isVisible:function(a){var b=this.findEffectiveStyleProperty(a,
+"visibility");a=this._isDisplayed(a);return b!="hidden"&&a},_isDisplayed:function(a){if(this.findEffectiveStyleProperty(a,"display")=="none")return false;if(a.parentNode.style)return this._isDisplayed(a.parentNode);return true},findEffectiveStyleProperty:function(a,b){var d=this.findEffectiveStyle(a)[b];if(d=="inherit"&&a.parentNode.style)return this.findEffectiveStyleProperty(a.parentNode,b);return d},findEffectiveStyle:function(a){if(a.style!=undefined){if(window.getComputedStyle)return window.getComputedStyle(a,
+null);if(a.currentStyle)return a.currentStyle;if(window.document.defaultView&&window.document.defaultView.getComputedStyle)return window.document.defaultView.getComputedStyle(a,null);return null}},findElementPos:function(a,b,d){var c=0,e=0;if(a.offsetLeft)c+=parseInt(a.offsetLeft);if(a.offsetTop)e+=parseInt(a.offsetTop);if(a.scrollTop&&a.scrollTop>0){e-=parseInt(a.scrollTop);d=true}if(a.scrollLeft&&a.scrollLeft>0){c-=parseInt(a.scrollLeft);b=true}if(a.offsetParent){b=this.findElementPos(a.offsetParent,
+b,d);if(b==-1)return-1;c+=b[0];e+=b[1]}else if(a.ownerDocument){var g=a.ownerDocument.defaultView;if(!g&&a.ownerDocument.parentWindow)g=a.ownerDocument.parentWindow;if(g){var k=g.pageXOffset!==undefined?g.pageXOffset:(a.document.documentElement||a.document.body.parentNode||a.document.body).scrollLeft;a=g.pageYOffset!==undefined?g.pageYOffset:(a.document.documentElement||a.document.body.parentNode||a.document.body).scrollTop;if(!d&&a&&a>0)e-=parseInt(a);if(!b&&k&&k>0)c-=parseInt(k);if(g.frameElement){b=
+this.findElementPos(g.frameElement);if(b==-1)return-1;c+=b[0];e+=b[1]}}}return[c,e]},addObjData:function(a,b){for(var d in b)a[d]=b[d]},getJoinedData:function(a){var b=[];for(var d in a)b.push(d+"="+encodeURIComponent(a[d]));return b.join("&")},addScrollHeadingData:function(a,b){var d=this.scrollEventDetails.headings;if(d){a["numHeadings."+this._scrollOrder+".scrollInfo"]=d.length;for(var c=0;c<d.length;c++){var e=d[c];if(e.visible){var g={};if(e.innerText)g["innerText."+e.index+".headings."+this._scrollOrder+
+".scrollInfo"]=e.innerText;if(e.id)g["id."+e.index+".headings."+this._scrollOrder+".scrollInfo"]=e.id;g["tagName."+e.index+".headings."+this._scrollOrder+".scrollInfo"]=e.tagName;b=b?b:1800;this.getJoinedData(a).length+this.getJoinedData(g).length<b&&this.addObjData(a,g)}}}return a},getVisibleHeadings:function(){for(var a=[],b=document.getElementsByTagName("*"),d=-1,c=0;c<b.length;c++){for(var e=b[c],g=false,k=e.tagName.toLowerCase(),j=0;j<7;j++)if(k=="h"+j)g=true;if(g){d+=1;j=this.findElementPos(e);
+g=j[1];j=j[0];var t=e.offsetHeight,y=e.offsetWidth,A=this.getViewportHeight(),B=this.getViewportWidth(),w={},v=e.getAttribute("id")||e.id;if(v)w.id=v;if(v=(e.getAttribute("innerText")||e.innerText||e.getAttribute("textContent")||e.textContent||"").replace(/^\s+|\s+$/g,""))w.innerText=v.substring(0,50);w.index=d;w.tagName=k;if(g+t>=0&&g<=A&&j+y>=0&&j<=B)if(this.isVisible(e)){w.visible=true;a.push(w)}}}return a},_setBeforeScrollDetails:function(a){this._lastScroll=a?a:null;a=this._getScrollXY();var b=
+a.yRel;this.scrollEventDetails.xTenths=Math.round(a.xRel*10);this.scrollEventDetails.yTenths=Math.round(b*10);this.scrollEventDetails.xMax=Math.max(this.scrollEventDetails.xTenths,this.scrollEventDetails.xMax);this.scrollEventDetails.yMax=Math.max(this.scrollEventDetails.yTenths,this.scrollEventDetails.yMax);this.scrollEventDetails.headings=this.getVisibleHeadings()},getScrollDetails:function(a,b){if(!ncbi.sg.isScrollingEnabled){this._setScrollDetails();return this.scrollDetails}var d=this.scrollEventDetails;
+d.tstamp=(new Date).getTime();var c=this._getScrollXY(),e=null;if(b||!this._lastScroll||d.tstamp-this._lastScroll>1E3){this._scrollOrder=this._scrollOrder!=undefined?this._scrollOrder+1:0;b="yTenths."+this._scrollOrder+".scrollInfo";e="xTenths."+this._scrollOrder+".scrollInfo";var g="maxXTenths."+this._scrollOrder+".scrollInfo",k="maxYTenths."+this._scrollOrder+".scrollInfo",j={};j["duration."+this._scrollOrder+".scrollInfo"]=this._lastScroll?d.tstamp-this._lastScroll:new Date-ncbi.sg.loadTime;j[e]=
+this.scrollEventDetails.xTenths;j[b]=this.scrollEventDetails.yTenths;j[g]=this.scrollEventDetails.xMax;j[k]=this.scrollEventDetails.yMax;j["viewportHeight."+this._scrollOrder+".scrollInfo"]=c.viewportHeight;j["viewportWidth."+this._scrollOrder+".scrollInfo"]=c.viewportWidth;j["maxPossibleScrollTenthsY."+this._scrollOrder+".scrollInfo"]=Math.round((c.pageHeight/c.viewportHeight-1)*10);j["maxPossibleScrollTenthsX."+this._scrollOrder+".scrollInfo"]=Math.round((c.pageWidth/c.viewportWidth-1)*10);e=j=
+this.addScrollHeadingData(j,a)}this._setBeforeScrollDetails(d.tstamp);return e},getScrollDetailsAr:function(a,b){var d=[];a=this.getScrollDetails(a,b);for(var c in a)d.push(c+"="+encodeURIComponent(a[c]));return d},addScrollDetailsAr:function(a,b,d){b=this.getScrollDetailsAr(b,d);for(d=0;d<b.length;d++)a.push(b[d])},addScrollDetails:function(a,b,d){b=this.getScrollDetails(b,d);for(var c in b)a[c]=b[c]},trimScrollDetails:function(){},_addScrollEvent:function(){try{var a=this.getScrollDetails();if(a){a.jsevent=
+"scroll";ncbi.sg._ping(a)}}catch(b){ncbi.sg.getInstance().noteEventData("jserror",{jserror:b.toString(),SELF_URL:window.location.href},["ncbi_sessionid","ncbi_phid"])}},_addPrintPing:function(){function a(){var c=document.createElement("style");c.type="text/css";var e=document.createElement("style");e.type="text/css";e.media="print";for(var g=["jsevent=print"],k=0;k<b.cachedNames.length;k++){var j=b.cachedNames[k],t=b._cachedVals[j];t&&j!=="ncbi_sessionid"&&g.push(j+"="+encodeURIComponent(t.value))}g=
+".print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }.print-log li { list-style-image: url('/stat?"+g.join("&")+"'); }";if(e.styleSheet){e.styleSheet.cssText=g;c.styleSheet.cssText=".print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }"}else{e.appendChild(document.createTextNode(g));c.appendChild(document.createTextNode(".print-log { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }"))}g=
+document.getElementsByTagName("head")[0];g.appendChild(e);g.appendChild(c);c=document.createElement("ul");c.className="print-log";e=document.createElement("li");c.appendChild(e);document.body.appendChild(c)}var b=this;if(typeof jQuery!=="undefined")jQuery(a);else{var d=window.onload;window.onload=function(c){d&&d(c);a()}}},getMillisecondsSinceSunday:function(){var a=new Date,b=new Date;b.setDate(b.getDate()-b.getDay());b.setHours(0);b.setMinutes(0);b.setSeconds(0);b.setMilliseconds(0);return(a-b).toString(36)}};
+ncbi.sg.lastPing=null;ncbi.sg.hasNotedErrorEvent=false;(function(){function a(){ncbi.sg.getInstance().setCookie("ncbi_prevPHID",ncbi.sg.getInstance().currentPageHitId);if(y.length>0)for(;y.length>0;)d(y.pop());var f={jsevent:"unload",ncbi_pingaction:"unload"};if(typeof ncbi_startTime!=="undefined"){f.ncbi_timeonpage=new Date-ncbi_startTime;if(typeof ncbi_onloadTime!=="undefined"&&ncbi_onloadTime)f.ncbi_onloadTime=ncbi_onloadTime-ncbi_startTime}var i=ncbi.sg.getInstance();i.setPerfStats(f,true);i.addScrollDetails(f,
+1800-i.getJoinedData(f).length,true);if(!w){ncbi.sg._ping(f);var m="";for(var l in f)m+=l+"="+(l==="jsevent"?"unloadnext":f[l])+"&";m+="ncbi_phid="+i.currentPageHitId;i._storeNext("unloadnext",m,null)}w=true}function b(f){for(var i=y.length-1;i>=-1;i--)if(y[i]===f){y.slice(i,1);break}d(f)}function d(f,i){if(A.indexOf(f.tstamp)===-1){A.push(f.tstamp);B.push(f);c("click",f,i)}}function c(f,i,m,l){if(typeof l==="undefined"||l===null)l=true;var n=f==="click"?"link":"elem",h=i.link,o=i.evt,p=h.id||"",
+x=h.name||"",F=h.sid||"",G=h.href||"",C=h.innerText||h.textContent||"";if(C.length>50)C=C.substr(0,50);var H=h.getAttribute?h.getAttribute("ref")||h.ref||"":"",I=h.className?h.className.replace(/^\s?/,"").replace(/\s?$/,"").split(/\s/g).join(",")||"":"";i=[];var D=[],z=h.parentNode;if(z)for(var r=0;r<6&&z!==null;r++){(parId=z.id)&&i.push(parId);if(parClassName=z.className)D=D.concat(parClassName.split(/\s/));z=z.parentNode}z=ncbi.sg.getInstance();r=z.currentPageHitId||"";var q=[];p.length>0&&q.push(n+
+"_id="+encodeURIComponent(p));x.length>0&&q.push(n+"_name="+encodeURIComponent(x));F.length>0&&q.push(n+"_sid="+encodeURIComponent(F));G.length>0&&q.push(n+"_href="+encodeURIComponent(G));C.length>0&&q.push(n+"_text="+encodeURIComponent(C));I.length>0&&q.push(n+"_class="+encodeURIComponent(I));r=z.getBrowserWidthHeight();r.width!==null&&q.push("browserwidth="+encodeURIComponent(r.width));r.height!==null&&q.push("browserheight="+encodeURIComponent(r.height));for(var E in o){r=o[E];r!==undefined&&q.push(E.toLowerCase()+
+"="+r.toString())}q.push("jsevent="+f);H.length>0&&q.push(H);if(typeof jQuery!=="undefined")if(h=jQuery(h).attr("sg")){h=h.split(/\}\s*,\s*\{/);for(r=0;r<h.length;r++){o=h[r].match(/name\s*:\s*'(.+)',\s*selector\s*:\s*'(.+)'/);if(o.length===3){E="cust_"+o[1];o=jQuery(o[2]).val();q.push(E+"="+encodeURIComponent(o))}}}if(m&&m.length>0)for(;m.length>0;)q.push(m.shift());i.length>0&&q.push("ancestorId="+i.join(","));D.length>0&&q.push("ancestorClassName="+D.join(",").replace(/\s+/g," ").replace(/(^\s|\s$)/g,
+""));z.addScrollDetailsAr(q,1800-q.join("&").length,true);if(f==="click"){f=q.join("&").replace("jsevent=click","jsevent=clicknext");r=ncbi.sg.getInstance().currentPageHitId||"";f+="&ncbi_phid="+r;z._storeNext("clicknext",f,null,l)}ncbi.sg._ping(q,true,null,null,l)}function e(f){var i={};if(f){if(f.clientX||f.clientY){var m=ncbi.sg.getInstance()._getScrollXYPx();i.evt_coor_x=f.clientX+m[0];i.evt_coor_y=f.clientY+m[1]}else if(f.pageX||f.pageY){i.evt_coor_x=f.pageX;i.evt_coor_y=f.pageY}i.jseventms=
+ncbi.sg.getInstance().getMillisecondsSinceSunday()}return i}function g(f,i,m,l,n){var h={},o=null,p=null;if(typeof i==="string"){o=i;p=m}else{h=e(i);o=m;p=l}if(p){i=typeof p;if(i==="string")p=[p];else if(i==="object"&&!(p instanceof Array)){i=[];for(var x in p)i.push(x+"="+p[x]);p=i}}c(o,{link:f,evt:h},p,n)}function k(f,i,m){var l=[];if(typeof i==="undefined")i=true;if(typeof f==="object"&&!(f instanceof Array))for(var n in f)l.push(n+"="+encodeURIComponent(f[n]));else if(typeof f==="string")l.push(f);
+else l=f;f=ncbi.sg.getInstance().currentPageHitId||"";n=null;if(typeof ncbi.sg.loadTime!=="undefined")n=new Date-ncbi.sg.loadTime;var h=l.join("&");if(h.indexOf("jsevent=clicknext")!==-1||h.indexOf("jsevent=searchnext")!==-1||h.indexOf("jsevent=unloadnext")!==-1){f.length>0&&l.push("next_phid="+encodeURIComponent(f));n!==null&&l.push("next_ncbi_timesinceload="+n)}else{f.length>0&&l.push("ncbi_phid="+encodeURIComponent(f));n!==null&&l.push("ncbi_timesinceload="+n)}ncbi.sg.getInstance()._sendAl(l.join("&"),
+null,i,m)}var j=window.onerror;window.onerror=function(f,i,m){if(!ncbi.sg.hasNotedErrorEvent){ncbi.sg.getInstance().noteEventData("jserror",{jserror:f,jserrorlocation:i,jserrorline:m,SELF_URL:window.location.href},["ncbi_sessionid","ncbi_phid"]);ncbi.sg.hasNotedErrorEvent=true;if(typeof j==="function")return j(f,i,m)}};var t=window.onbeforeunload;window.onbeforeunload=function(f){a();if(typeof t==="function")return t(f)};var y=[],A=[],B=[],w=false;ncbi.sg.sendElementEvent=function(f,i,m){c(f,i,m,
+false)};ncbi.sg.clickTimers=[];if(typeof ncbi.sg.isClickEnabled==="undefined"){for(var v=document.getElementsByTagName("meta"),u=v.length-1,s=true;u>=0;){if(v[u].name.toLowerCase()==="ncbi_clickdisabled"){s=v[u].content.toLowerCase()==="false";break}u--}ncbi.sg.isClickEnabled=s}setClickEvent=function(){var f=function(h){return(h=typeof h.parentNode!=="undefined"?h.parentNode:null)?m(h)?h:f(h):false},i=function(h){h=h.target||h.srcElement;if(typeof h=="undefined"||h==null)return null;if(h.nodeType==
+3)h=target.parentNode;m(h)||(h=f(h));return h},m=function(h){var o=typeof h.tagName!=="undefined"?h.tagName.toLowerCase():null,p=false,x=false;if(typeof jQuery!=="undefined")p=jQuery(h).is("button, input[type=button], input[type=submit], input[type=reset]");else if(o==="input"){h=inp.type;p=h=="button"||h=="submit"||h=="reset"}else p=o==="button"?true:false;p||(x=o=="a"||o=="area");return x?"link":p?"button":null},l=function(h,o,p,x){if(!(x&&x=="click"&&h.which&&h.which==3))if(!(!o||m(o)==null)){ncbi.sg.getInstance().setCookie("ncbi_prevPHID",
+ncbi.sg.getInstance().currentPageHitId);h=e(h);h.iscontextmenu=x=="contextmenu"?"true":"false";o={evt:h,link:o,tstamp:(new Date).getTime(),floodTstamp:(new Date).getTime()};b(o);ncbi.sg.clickTimers&&window.clearTimeout(ncbi.sg.clickTimers);ncbi.sg.clickTimers=window.setTimeout(function(){ncbi.sg.clickTimers=null},300)}};if(window.addEventListener){window.addEventListener("click",function(h){l(h,i(h),[],"click")});window.addEventListener("contextmenu",function(h){l(h,i(h),[],"contextmenu")},false)}else if(window.attachEvent){document.attachEvent("onclick",
+function(h){l(h,i(h),[],"click")});document.attachEvent("oncontextmenu",function(h){l(h,i(h),[],"contextmenu")},false)}if(Event.prototype.stopPropagation){var n=Event.prototype.stopPropagation;Event.prototype.stopPropagation=function(){var h=i(this);if(m(h)!=null)if(this.type=="click")l(this,h,[],"click");else this.type=="contextmenu"&&l(this,h,[],"contextmenu");return n.apply(this,arguments)}}};setClickEvent();ncbi.sg.scanLinks=function(){};ncbi.sg._ping=function(f,i,m,l,n){if(typeof n==="undefined"||
+n===null)n=true;typeof f==="undefined"||f===null||(typeof f==="object"&&f.nodeName!==undefined?g(f,i,m,l,n):k(f,i,n))};ncbi.sg.ping=function(f,i,m,l){ncbi.sg._ping(f,i,m,l,false)};ncbi.sg.loadTime=new Date})();if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a,b){var d=this.length>>>0;b=Number(b)||0;b=b<0?Math.ceil(b):Math.floor(b);if(b<0)b+=d;for(;b<d;b++)if(b in this&&this[b]===a)return b;return-1};(function(){function a(){ncbi_onloadTime=new Date}ncbi_onloadTime=null;if(typeof jQuery!==
+"undefined")jQuery(window).load(a);else{var b=window.onload;window.onload=function(d){b&&b(d);a()}}})()}})();
+(function(){ncbi.sg._ajaxRequestIndex=1;if(typeof XMLHttpRequest!=="undefined"){var a,b=function(c,e,g,k){if(typeof a==="undefined"||!a)a=ncbi.sg.getInstance();e=(e=a.getVal(e))?e:"unknown";if(typeof k!=="undefined"&&k)e+=".0"+ncbi.sg._ajaxRequestIndex;c.setRequestHeader(g,e)},d=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(){var c=d.apply(this,arguments);if(!(typeof this._ncbi_skipOverride!=="undefined"&&this._ncbi_skipOverride)){b(this,"ncbi_phid","NCBI-PHID",true);b(this,
+"ncbi_sessionid","NCBI-SESSIONID",false);ncbi.sg._ajaxRequestIndex+=1}return c}}})();
+typeof jQuery!=="undefined"&&jQuery(function(){if(ncbi.sg.isHoverEnabled){var a=function(c,e,g){var k=[];if(typeof e==="undefined")e=true;if(typeof c==="object"&&!(c instanceof Array))for(var j in c)k.push(j+"="+encodeURIComponent(c[j]));else if(typeof c==="string")k.push(c);else k=c;c=ncbi.sg.getInstance().currentPageHitId||"";j=null;if(typeof ncbi.sg.loadTime!=="undefined")j=new Date-ncbi.sg.loadTime;k.join("&");c.length>0&&k.push("next_phid="+encodeURIComponent(c));j!==null&&k.push("next_ncbi_timesinceload="+
+j);ncbi.sg.getInstance()._sendAl(k.join("&"),null,e,g)},b=ncbi.sg.getInstance().getCookie("hovernext");if(b){a(b);ncbi.sg.getInstance().setCookie("hovernext","")}var d=function(c){var e={};if(c){if(c.clientX||c.clientY){var g=ncbi.sg.getInstance()._getScrollXYPx();e.evt_coor_x=c.clientX+g[0];e.evt_coor_y=c.clientY+g[1]}else if(c.pageX||c.pageY){e.evt_coor_x=c.pageX;e.evt_coor_y=c.pageY}e.jseventms=ncbi.sg.getInstance().getMillisecondsSinceSunday()}return e};jQuery(document).on("mousedown","a[ref*='itool=Abstract-nondef'], #disc_col a",
+function(c){c=c.originalEvent;var e=d(c);jQuery(c.target);(new Date).getTime();(new Date).getTime();var g=jQuery(c.target),k=g.id||"",j=g.name||"",t=g.sid||"",y=g.href||"",A=g.innerText||g.textContent||"";if(A.length>50)A=A.substr(0,50);var B=g.getAttribute?g.getAttribute("ref")||g.ref||"":"",w=g.className?g.className.replace(/^\s?/,"").replace(/\s?$/,"").split(/\s/g).join(",")||"":"";c=[];var v=[],u=g.parentNode;if(u)for(var s=0;s<6&&u!==null;s++){(parId=u.id)&&c.push(parId);if(parClassName=u.className)v=
+v.concat(parClassName.split(/\s/));u=u.parentNode}u=ncbi.sg.getInstance();var f=u.currentPageHitId||"";f=[];k.length>0&&f.push("link_id="+encodeURIComponent(k));j.length>0&&f.push("link_name="+encodeURIComponent(j));t.length>0&&f.push("link_sid="+encodeURIComponent(t));y.length>0&&f.push("link_href="+encodeURIComponent(y));A.length>0&&f.push("link_text="+encodeURIComponent(A));w.length>0&&f.push("link_class="+encodeURIComponent(w));s=u.getBrowserWidthHeight();s.width!==null&&f.push("browserwidth="+
+encodeURIComponent(s.width));s.height!==null&&f.push("browserheight="+encodeURIComponent(s.height));for(var i in e){s=e[i];s!==undefined&&f.push(i.toLowerCase()+"="+s.toString())}f.push("jsevent=hovernext");B.length>0&&f.push(B);if(typeof jQuery!=="undefined")if(e=jQuery(g).attr("sg")){e=e.split(/\}\s*,\s*\{/);for(s=0;s<e.length;s++){g=e[s].match(/name\s*:\s*'(.+)',\s*selector\s*:\s*'(.+)'/);if(g.length===3){i="cust_"+g[1];g=jQuery(g[2]).val();f.push(i+"="+encodeURIComponent(g))}}}c.length>0&&f.push("ancestorId="+
+c.join(","));v.length>0&&f.push("ancestorClassName="+v.join(",").replace(/\s+/g," ").replace(/(^\s|\s$)/g,""));u.addScrollDetailsAr(f,1800-f.join("&").length,true);c=f.join("&");f=ncbi.sg.getInstance().currentPageHitId||"";c+="&ncbi_phid="+f;ncbi.sg.getInstance()._storeNext("hovernext",c,null)});jQuery(document).on("mouseup mousedown",function(c){!jQuery(c.target).is("a[ref*='itool=Abstract-nondef']")&&jQuery(c.target).parents("a[ref*='itool=Abstract-nondef']").length==0&&!jQuery(c.target).is("#disc_col a")&&
+jQuery(c.target).parents("#disc_col a").length==0&&ncbi.sg.getInstance().setCookie("hovernext","")})}});
+
+;
+// This code creates window.console if it doesn't exist.
+// It also creates stub functions for those functions that are missing in window.console.
+// (Safari implements some but not all of the firebug window.console methods--this implements the rest.)
+(function() {
+    var names = [ "log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group",
+                  "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd" ];
+
+    if (typeof(console) === 'undefined' || typeof console === "function" ) {
+      //"typeof function" is needed see PP-769 
+      console = {};
+    }
+
+    for (var i = 0; i < names.length; ++i) {
+       if (typeof(console[names[i]]) === 'undefined') {
+          console[names[i]] = function() { return false; };
+       }
+    }
+    ncbi.sg.getInstance().init();                          
+})();
Binary file NCBI Blast reference example_files/addOrg.jpg has changed
Binary file NCBI Blast reference example_files/black.gif has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/blast.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,308 @@
+
+function printfire()
+{
+    // Firefox
+    if (document.createEvent && window.dispatchEvent) {
+        printfire.args = arguments;
+        var ev = document.createEvent("Events");
+        ev.initEvent("printfire", false, true);
+        window.dispatchEvent(ev);
+    }
+}
+//This functions handle setting defaults for protein or nulcleotide suite  search page when
+//one of blast program radio buttons is clicked - not used now
+function AdjustMoreOptionsStyle()
+{
+	var optsEl = document.getElementById("moreopts");	
+	if(optsEl && optsEl.style.height != "0px") {
+		optsEl.style.height = optsEl.scrollHeight + "px";			
+	}
+}
+
+//Strip (taxid:XXX) from organism list selection
+//sgRunFunc="AdjustOrganism();" 
+function AdjustOrganism()
+{
+	var words = $("qorganism").value.split(" (taxid");
+	$("qorganism").value = words[0];		
+}
+
+
+/* JS Common to all BLAST pages */
+
+
+function setResultsTarget()
+{
+	//var newWin = $("newwin");	
+	var newWin = this;	
+	var searchFrm = $(newWin.getAttribute("form"));				
+	if(newWin && newWin.checked == true) {
+		if(newWin.getAttribute("winType") == "random") {		    
+			searchFrm.target = "Blast_Results_for_" + Math.floor(Math.pow(10,10) *Math.random());
+		}
+		else {
+			searchFrm.target = $("resPageTarget").value;		
+		}
+	}	
+	else {		
+		searchFrm.target = "";
+	}
+}
+
+function diffFromDefault(elem)
+{
+    var currentVal = "";
+    var ret = 0;
+
+    if (!(elem)) return;
+    var defVal = elem.getAttribute("defVal"); //Default value    
+    var elShowDiff = utils.getParent(elem);
+    if(!elem.type) {//div element for example
+        //Check if parent elem has "hide" class
+        if(utils.hasClass(utils.getParent(elem), "hide")) {
+            currentVal = "hide";
+        }
+        else {
+            currentVal = "show";
+        }   
+        elShowDiff = elem;
+    }
+    else if(elem.type == "select-one") {
+        if(elem[elem.selectedIndex].value) currentVal = elem[elem.selectedIndex].value;
+        //If Default value is not specified - the first one in the selection list is the default          
+        if (!defVal && elem[0].value) defVal = elem[0].value;  
+    }
+    else if(elem.type == "select-multiple") {
+	    currentVal = "";//for now
+    }
+    else if(elem.type == "checkbox") {
+        //alert("defVal1=" + elem.id + " " + defVal);
+        //var defVal = elem.defVal; //Default value
+        //alert("defVal2=" + defVal);
+        if(elem.checked == true) currentVal = "checked"
+        else  currentVal = "unchecked";        
+    }
+    else {
+        currentVal = elem.value;
+    }
+    
+    
+    var numdiff = parseInt($("NUM_DIFFS").value,10);    
+    var optsNumDiff = parseInt($("NUM_OPTS_DIFFS").value,10);    
+    if(defVal != currentVal) {        
+        if(!utils.hasClass(elShowDiff, "nondef")) {        
+            utils.addClass(elShowDiff, "nondef");            
+            numdiff++;            
+            if(utils.hasClass(elem,"opts")) optsNumDiff++;        
+        }     
+        ret = 1;        
+    }
+    else {        
+        if(utils.hasClass(elShowDiff, "nondef")) {
+            utils.removeClass(elShowDiff, "nondef");        
+            //alert("noDiff-" + elem.id);
+            if(numdiff != 0) numdiff--;       
+            if(utils.hasClass(elem,"opts")) optsNumDiff--; 
+        }         
+        ret=0;
+    }
+    $("NUM_DIFFS").value = numdiff;       
+    $("NUM_OPTS_DIFFS").value = optsNumDiff;       
+    if(numdiff > 0) {    
+        $("diffMes").style.display = "inline";          
+    }
+    else {
+        $("diffMes").style.display = "none";           
+    }      
+    //alert(elem.id + " " + $("NUM_DIFFS").value);
+    return ret;    
+}
+
+function setDefalValue(elem)
+{
+    var currentVal;    
+    var defVal = elem.getAttribute("defVal"); //Default value    
+    if(elem.type == "select-one") {
+        //If Default value is not specified - the first one in the selection list is the default          
+        if(!defVal) defVal = elem[0].value;  
+        for(j=0; j < elem.options.length; j++) {
+		    if(elem.options[j].value == defVal) {
+		        elem.options[j].selected = true;
+		        break;
+		    }
+        }       
+    }
+    else if(elem.type == "checkbox" || elem.type == "radio") {        
+        if(!defVal) defVal = "checked";
+        if(defVal == "checked") elem.checked = true        
+        else elem.checked = false;
+    }
+    else {
+        if(!defVal) defVal = "";
+        elem.value = defVal;
+    }
+    
+    var elShowDiff = utils.getParent(elem);    
+    if(utils.hasClass(elShowDiff, "nondef")) {
+        utils.removeClass(elShowDiff, "nondef");        
+    }            
+    //alert(elem.id + " " + $("NUM_DIFFS").value);    
+}
+
+function newResultsWinInit() {
+    jQuery("[class='newwin']").each(function(index) {
+        utils.addEvent(this, "click", setResultsTarget, false);
+    });
+}
+
+function resetOrganismSuggest(orgEntryElem) 
+{
+    //suggestHint is in the hidden field used for SRA
+    var defaultMessage = ($("suggestHint")) ? $("suggestHint").value : "Enter organism name or id--completions will be suggested";
+    var suggestHint = $("qorganism").getAttribute("suggestHint");
+    if(suggestHint) defaultMessage = suggestHint;
+    if(orgEntryElem.value == "") {
+        orgEntryElem.value = defaultMessage;
+    }
+    if(orgEntryElem.value == defaultMessage) {            
+        utils.addClass(orgEntryElem,"orgHint");
+    }
+}  
+
+function setupOrganismSuggest(orgEntryElem)
+{
+    resetOrganismSuggest(orgEntryElem); 
+    utils.addEvent(orgEntryElem, "focus", function() {
+        clearOrgSuggest(orgEntryElem);        
+     }, false);     
+}
+
+function clearOrgSuggest(orgEntryElem)
+{
+    if(utils.hasClass(orgEntryElem,"orgHint")) {
+        orgEntryElem.value="";            
+        utils.removeClass(orgEntryElem,"orgHint");
+    }
+}    
+
+function InitCustomButton(bn)
+{
+  utils.addEvent(bn, "mouseover", function() {this.src = this.getAttribute("mouseovImg");}, false);
+  utils.addEvent(bn, "mouseout", function() {this.src = this.getAttribute("mouseoutImg");}, false);
+  utils.addEvent(bn, "mousedown", function() {this.src = this.getAttribute("mousedownImg");}, false);
+  utils.addEvent(bn, "mouseup", function() {this.src = this.getAttribute("mouseupImg");}, false);    
+}
+
+function showHideElem(id,hide)
+{
+  if($(id)) {
+    if(hide) {
+	    if(!utils.hasClass($(id),"hidden")) utils.addClass($(id), "hidden");	    
+	}
+	else {
+	    if(utils.hasClass($(id),"hidden")) utils.removeClass($(id), "hidden");	    
+	}	
+  }
+}
+
+function resetOrganismControls(orgEntryElem) {
+    resetOrganismSuggest(orgEntryElem);
+    if ($("orgExcl")) $("orgExcl").checked = false;
+    utils.replaceInHtml("", $("orgs"));
+    if ($("frOrgs")) utils.replaceInHtml("", $("frOrgs"));
+    if ($("numOrg")) $("numOrg").value = 1;
+}
+
+function AddOrgRow(e,orgName,exclName) {
+    e = e || window.event;
+    utils.preventDefault(e);
+    var checkedExclude = new Array();
+    var orgDict = jQuery($($("qorganism"))).ncbiautocomplete("option","dictionary");
+    orgDict = (!orgDict || orgDict == "") ? "taxids_sg" : orgDict;
+    var len = $("qorganism").getAttribute("size");
+    
+    var newOrgFieldID = "qorganism" + $("numOrg").value;
+    var newOrgField = " <div><input name=\"" + orgName + $("numOrg").value + "\" size=\"" + len + "\" id=\"" + newOrgFieldID +
+                       "\" type=\"text\" data-jigconfig=\"dictionary:'" + orgDict + "'\" autocomplete=\"off\" class=\"jig-ncbiautocomplete multiOrg\" />";
+    if (exclName != "") {
+        newOrgField += "<span class=\"orgExcl\">" +
+                       "<input type=\"checkbox\" name=\"" + exclName + $("numOrg").value + "\" class=\"oExcl cb\" id=\"orgExcl" + $("numOrg").value + "\" />" +
+                       "<label for=\"orgExcl" + $("numOrg").value + "\" class=\"right oExclRl\">Exclude</label></span>";
+    }
+    newOrgField += "</div>";
+    if (navigator.userAgent.match(/ie/i)) {
+        for (i = 1; i < $("numOrg").value; i++) {
+            if ($("orgExcl" + i)) checkedExclude[i] = $("orgExcl" + i).checked;
+        }
+    }
+    if (!navigator.userAgent.match(/firefox/i)) {    
+        jQuery($($(orgs))).append(newOrgField,true);
+    }
+    else {
+        utils.insertInHtml(newOrgField, $("orgs"));
+    }
+
+    if (navigator.userAgent.match(/ie/i)) {
+        for (i = 1; i < $("numOrg").value; i++) {
+            if ($("orgExcl" + i)) $("orgExcl" + i).checked = checkedExclude[i];
+        }
+    }
+    setupOrganismSuggest($(newOrgFieldID));
+    jQuery($($(newOrgFieldID))).ncbiautocomplete();
+    $("numOrg").value++;    
+}
+
+function adjustOrgVal(orgEntryElem) 
+{
+    //if (utils.hasClass($("searchForm").EQ_MENU, "orgHint")) $("searchForm").EQ_MENU.value = "";
+    clearOrgSuggest(orgEntryElem);
+    if ($("numOrg")) {
+        for (i = 1; i < $("numOrg").value; i++) {
+            if ($("qorganism" + i)) {
+                clearOrgSuggest($("qorganism" + i));
+            }
+        }
+    }
+}
+
+function getUrlCompForEntryField(elem) {
+    var url = "";
+    if (elem && elem.value != "") {
+        url = "&" + elem.name + "=" + escape(elem.value);
+    }
+    return url;
+}
+
+
+function getUrlCompForCheckedField(elem) {
+    var url = "";
+    if (elem && elem.checked) {
+        url = "&" + elem.name + "=" + elem.value;
+    }
+    return url;
+
+}
+
+function getUrlCompForOptionsField(elem) {
+    var url = "";
+    if (elem) {
+        url = "&" + elem.name + "=" + elem[elem.selectedIndex].value;
+    }
+    return url;
+}
+
+function getUrlCompForMultiOptionsField(elem) {
+    var url = "";
+    if (elem) {
+        for (i = 0; i < elem.options.length; i++) {
+            if (elem.options[i].selected) {
+                url += "&" + elem.name + "=" + elem.options[i].value;
+            }
+        }
+    }
+    return url;
+}
+
+  
+utils.addEvent(window, 'load', newResultsWinInit, false);
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/blastReq.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,332 @@
+#msgR .info {
+background-color: #dfd;
+padding: 4px;
+border: solid 1px green;
+color: green;
+}
+
+dl.summary dt {
+float: left;
+width: 8em;
+clear:left;
+margin: 0;
+text-align: right;
+padding-right: 1em;
+color: #666;
+}
+
+dl.summary dd {
+padding-left: 0.5em;
+display: block;
+margin-left: 7em !important;
+margin: 0;
+}
+dl.summary dt, dl.summary dd {
+margin-bottom: 0.5em;
+}
+a.help 
+{
+float:right;	
+font-size: 110%;
+}
+
+dl.summary label {
+display: inline;
+}
+
+dl.summary tr th label {
+padding: 0;
+margin-right:0;
+}
+table.options {
+border: solid 1px #ccc;
+border-right: solid 1px #ccc;
+}
+
+table.options td,
+table.options td.frh {
+font-size: 90%;
+_font-size: 85%;
+}
+
+table.options label.rb {
+border-right: solid 1px #ccc;
+margin-right: 0.5em;
+padding-right: 2.0em;
+}
+
+table.options tr td {
+_font-size: 90%;
+padding-left: 0.5em;
+}
+
+table.options {
+/*border-collapse: collapse;*/
+margin-left: 0;
+padding-left: 0;
+width: 62em;
+}
+
+table.options td label {
+font-size: 90%;
+}
+
+table.options th label,
+table.options td label {
+margin-right: 0;
+_position: relative;
+_top: -0.1em;
+}
+
+table.options tr.hdr td,
+table.options tr.hdr th {
+padding: 2px;
+border: solid 1px #ccc;
+background-color: #ddd;
+}
+
+table.options td, table.options td.frh {
+padding: 0.25em 0;
+vertical-align: center;
+}
+
+table.options th {
+padding-right: 1em;
+text-align: right;
+padding-left: 1em;
+}
+
+/*
+*:focus{
+background-color: white !important;
+}
+*/
+
+table.options select,table.options input, #graphic input{
+border: solid 1px #888;
+padding: 1px;
+}
+
+select {
+font-size: 90%;
+}
+
+select option {
+padding-right: 0.5em;
+}
+
+input.cb, table.options input.cb {
+border: none;
+}
+
+select {
+margin-right:1em;
+}
+
+table.options tr {
+background-color: #eee;
+}
+
+table.options tr.odd {
+background-color: #e0e0e0;
+}
+
+table.options th {
+
+background-color: white;
+}
+
+table.options tr.paramSet td
+{
+	border-top: solid 2px white;		
+}
+
+
+
+
+.resetAll 
+{
+font-weight: normal;
+padding: 0.5em;
+font-size: 90%;
+margin-left:5em;
+}
+
+.button {
+background-color: #ccc;
+padding: 0.25em 0.25em;
+color: black;
+border: outset 3px #eee;
+_border: outset 3px #eee;
+font-size: 90%;
+_padding:0;
+font-weight: bold;
+height:25px;
+_height:22px;
+}
+
+.fbtn {
+margin-bottom: 0.5em;
+}
+
+.note {
+font-size: 80%;
+color: green;
+background-color: #ffc;
+margin-left: 2em;
+padding: 3px;
+}
+.instr {
+   margin-left: 1em;
+   color: #666;
+font-size: 90%;
+}
+.smaller {
+font-size: 90%;
+font-weight: normal;
+}
+
+/* Results Page styles */
+
+#ridRes 
+{
+	background-color: #FC9;	
+	padding:5px 5px;	
+}
+
+
+span dd.hidden,dt.hidden,dd.hidden span
+{
+	display:none;
+}
+
+dl.query .query,
+dl.title .title,
+dl.entrez .entrez,  
+dl.db .db  
+{
+	display:block;	
+}
+
+
+dl.entrez span.entrez
+{
+	display:inline;	
+}
+
+.hidden {
+display: none;
+}
+.hide {
+display: none;
+}
+.shown {
+display: block;
+}
+
+
+
+table.megaBlast tr.psiBlast,
+table.blastn tr.psiBlast,
+table.blastx tr.psiBlast,
+table.tblastn tr.psiBlast,
+table.tblastx tr.psiBlast,
+table.discoMegablast tr.psiBlast
+{
+display: none;
+}
+
+
+table.GlobalAln .xgl,
+body.GlobalAln div.xgl,
+body.GlobalAln dt.xgl,
+body.GlobalAln dd.xgl,
+body.GlobalAln span.xgl,
+body.GlobalAln table.xgl
+{
+display: none;
+}
+
+.dispType
+{
+	/*background-color:White;
+	border:solid 1px black;*/	
+	border-top:solid 2px gray;
+	border-left:solid 2px gray;	
+	font-size:90%;	
+	padding-left:2px;
+	
+}
+
+.newwin {
+border: none;
+}
+
+table.options .helplink
+{
+    font-weight:bold;
+    position:absolute;
+    right:0;
+}
+
+div#query label 
+{
+    display: inline;
+    font-weight:bold;
+    padding-right:1em;
+}
+#NEW_VIEW
+{
+    _margin-left:-2px;
+}
+
+
+table.blastp *.blastn,
+table.psiBlast *.blastn,
+table.phiBlast *.blastn,
+table.blastx *.blastn,
+table.tblastn *.blastn,
+table.tblastx *.blastn
+{
+display: none;
+}
+
+#formatTable th.col1 {
+width: 8em;
+vertical-align: top;
+}
+/*
+#formatTable .helplink span {
+position: relative;
+}
+*/
+#org
+{
+    margin-top:2em;      
+}
+#qorganism
+{
+    /*display:block;*/
+}    
+.fi
+{
+    position:relative;
+}
+
+a#organismHelp
+{
+    margin-top:-1.5em;
+}
+
+table.options tr.paramSet td.hd {
+padding-right: 1em;
+text-align: right;
+padding-left: 1em;
+background-color:White;
+font-weight:bold;
+border-top:none;
+}
+.oExcl
+{
+    margin-left:2px;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/blastRes.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,262 @@
+a#refPage
+{
+	margin-left:3em;	
+}
+
+a.resLink
+{
+	margin-left:1em;
+	display:none;
+}
+
+a.resLinkhidden 
+{
+	display:none;
+}
+
+
+#cddResults
+{
+	float:right;
+	margin-top:-2em;
+	margin-right:1em;
+	color:#336699;
+    font-size:100%;
+}
+
+#cddResults.showing { 
+   background-image: url(images/down.gif);   
+}
+
+
+
+div.inlineDiv
+{
+	display:inline;
+}	
+
+span.reslink
+{
+	display:none;
+}
+
+div.statPage *.statPage,
+div.resPage *.resPage
+{
+	display:inline;
+}
+
+div.resHeader *.hidden 
+{
+	display:none;
+}
+
+#cddInfo 
+{
+    text-align:center;
+}
+#cddDesc 
+{
+    font-weight:bold;
+}
+div#desctbl 
+{
+border: solid 1px #018aac;
+/*min-width: 1000px;*/
+margin: none;
+width: 100%;
+background-color:White;
+/*line-height:0;
+_line-height:0;*/
+}
+
+table#descs 
+{
+font-family: Verdana, Sans-Serif;
+font-size: 90%;
+_font-size: 86%;
+border-collapse: collapse;
+/*min-width: 600px;*/
+width: 100%;
+}
+
+table#descs th a {
+text-decoration: none;
+color: #00c;
+}
+
+table#descs th a:visited {
+color: #00c;
+}
+
+table#descs th a:hover {position: relative;
+text-decoration: underline;
+}
+
+table#descs tr th.l,
+table#descs tr td.l {
+text-align: left;
+}
+
+table#descs tr th.sp {
+background-color: #def;
+}
+
+table#descs tr th,
+table#descs tr td {
+text-align: center;
+padding: 1px 4px;
+}
+
+table#descs tr.first th {
+padding-left:18px;
+border-left: solid 1px #A0ceff;
+border-top: solid 1px #A0ceff;
+border-bottom: solid 1px #018aac;
+border-right: solid 1px #018aac;
+padding-right: 8px;
+/*background-color: #01d5ff;*/
+background-color: #9cf;
+/*font-size: 92%;*/
+white-space:normal;
+line-height: 1.2em
+}
+
+
+table#descs td {
+border: solid 1px #ccc;
+border-width: 0px 1px;
+white-space:nowrap;
+overflow: hidden;
+}
+
+.slink {
+font-size: 90%;
+font-weight: normal;
+}
+
+table#descs tr.first th.sel {
+background: #9cf url(images/up.gif) no-repeat center left;
+padding-left: 18px;
+padding-right: 18px;
+}
+
+div.lim 
+{    
+/*overflow: hidden;-this used to work in Firefox 2- comment for now and set the width */
+width: 35em;
+display: inline-block;
+height: 1.3em;
+}
+
+table#descs tr:hover {
+background-color: #def;
+}
+
+pre 
+{
+	font-size:110%;
+	_font-size:100%;	
+	line-height:1;
+}
+
+#msg 
+{
+    white-space:normal;
+    border-color:#cccccc;
+    padding:0;
+    margin: 0;   
+    margin-top:2px; 
+}
+#msg li 
+{
+    display:none;
+    padding:0;
+    margin: 0;
+    text-indent: 0;
+}
+#msg li.warning, #msg li.error ,#msg li.info 
+{
+    display:block;
+} 
+
+#msg ul
+{
+    margin:0;    
+    padding:0;    
+} 
+
+table#statInfo
+{
+    border: solid 1px #ccc;
+    background-color: #eee;
+    width: 100%;    
+}
+
+table#statInfo tr.odd {
+background-color: #e0e0e0;
+}
+
+.READY, .UNKNOWN 
+{
+    display:none;
+}
+
+p.WAITING 
+{
+    margin-top:1em;
+}
+
+#frmPage
+{
+	margin-left:1em;
+}
+
+span.Gene_PubMedLinks
+{
+    color: Green; font-weight: bold;
+}
+
+ul.msg li p
+{
+    display:none;
+}
+
+.msg li p.warning, .msg li p.error, .msg li p.success,.msg li p.info  
+{
+    display:block;
+} 
+
+.mdlbox
+{
+    white-space:pre;
+    background-color:Transparent;
+    border:none;
+}
+
+#blastErr
+{
+    white-space:normal;
+}
+
+
+
+#RSIFrameNoRes,#RSIFrameDesc,#RSIFrameAln
+{
+    border:none;
+    width:519px;
+    height:35px;    
+    margin:0px auto;
+}
+
+
+a.ui-ncbitoggler.hidden, a.ui-ncbitoggler-open.hidden
+{
+    display:none;
+}
+
+.smn {
+  display: inline-block;
+  height: 16px;
+  width: 16px;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/dynFormatRes.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,623 @@
+/* style changes for redesign begin*/
+a.gbd
+{
+    text-decoration:none;
+}
+
+tr.dflLnk td span
+{ 
+    font-size:78%; 
+    display:none;
+    text-align:center;
+}
+a.dflSeq
+{
+    color:#369;
+    text-decoration:underline;
+    width:auto;    
+}
+table.defln tr.dflLnk a
+{
+	margin-right:auto;	
+	padding-left:0;
+}
+
+.alnParLinks
+{
+    float:right;    
+}
+
+.alnSeqLinks
+{
+    float:right;
+    margin-right:1em;    
+}
+
+
+.seqlinks select
+{
+    padding:0;
+}
+
+.dlfRow div
+{
+    font-size:90%;
+}
+
+.dlfRow
+{
+    display:inline;
+    font-size:110%;
+}
+
+.dlfRow.hidden
+{
+    display:none;    
+}
+.dlfRow label
+{
+    font-size:87%;
+    display:inline;
+    color:#606060;
+    font-weight:bold;
+}
+
+.dlfRow span.r label
+{
+    padding-left:0.8em;
+}
+
+
+div.relInf
+{
+    font-family: Verdana, Sans-Serif;
+    font-size: 80%;
+    float:right;    
+    width:21%;
+    border-top:solid 2px gray;
+    margin-top:-1em;
+    margin-right:3.5em;
+    left:3em;
+    max-width:25em;    
+    padding-left:1em;
+    position:relative;    
+    white-space:normal;    
+}
+
+div.relInf a
+{
+    padding-right:0.2em;
+}
+
+.rlLink
+{
+    padding-left:0.2em;
+}
+.relInf label
+{
+    font-size:110%;
+    color:brown;
+    font-weight:bold;    
+}
+div#content
+{
+    min-width:70em;
+}
+
+.dflLnk a
+{
+	font-size:90%;
+}
+a.dflSeq
+{
+    width:auto;
+    font-weight:normal;
+}
+
+
+#cntDesc,#cntDesc_psiw  
+{
+    margin-bottom:0.2em;
+    display:inline-block;
+    width:20em;
+}
+#cntDesc span,#cntDesc_psiw span
+{
+    margin-right:0.5em;
+}
+
+#cntDesc a,#cntDesc input,#cntDesc_psiw a,#cntDesc_psiw input
+{
+    margin-left:0.5em;
+}
+
+#cntSelNone,#cntShAll
+{
+    margin-left:0.2em;
+}
+
+.toolsCtr
+{
+    color:Blue;    
+}
+
+table.ui-ncbigrid th span.slink a 
+{
+  display:inline;  
+  padding-right: 0;  
+}
+table.ui-ncbigrid th.sp
+{
+    font-weight:bold;
+}
+
+table.ui-ncbigrid th span.slink
+{
+    margin-left:0.2em;
+}
+
+table.ui-ncbigrid td {
+ white-space:nowrap;
+}
+table.ui-ncbigrid td.c3
+{
+    /*padding-left:0.8em;*/
+}
+table.ui-ncbigrid caption
+{
+    font-size:0;
+    line-height:0;
+}
+#content h3.cap,#content h3.cap a.ui-ncbitoggler.ui-widget, #content h3.cap a.ui-ncbitoggler-open
+{
+    color:#4d4d4d;
+    text-align:left;
+    margin:0 0 0.5em 0;
+}
+
+#content div.cap,#content div.cap a.ui-ncbitoggler.ui-widget, #content div.cap a.ui-ncbitoggler-open
+{
+    color:#4d4d4d;
+    text-align:left;
+    margin:0 0 0.5em 0;
+    letter-spacing:-1px;
+    font-size:110%;
+    font-weight:bold;
+}
+
+#descriptions div.caption-exists {
+  margin: 0;
+}
+
+/**********decrition toolbar styles *********/
+
+div.cnf {
+  -moz-border-bottom-colors: none;
+  -moz-border-image: none;
+  -moz-border-left-colors: none;
+  -moz-border-right-colors: none;
+  -moz-border-top-colors: none;  
+  background: url("images/cnf.png") repeat scroll 0 0 transparent; 
+  border-style: solid none none;
+  border-width: 1px medium medium;
+  /*clear: left;*/
+  height: 22px;
+  /*overflow: auto;*/
+  width: 100%;
+}
+
+ul.ui-ncbilocalnav li.has-child a.button_config {
+  background: url("/portal/portal3rc.fcgi/3493904/img/81796") no-repeat scroll right center transparent !important;
+  width: 22px;
+  height:22px;
+  margin-left:12em;
+}
+
+#li-config
+{
+    float:right;
+    width:17em;
+}
+div#descTblCtrl ul.ui-ncbilocalnav li
+{
+    border-right:none;
+}
+
+
+.cfg
+{
+    font-size:90%;
+}
+
+
+.oneSeqAln .hsp label
+{
+    color:#606060;
+    font-size:95%;
+    padding-right:0.5em;
+}
+
+.oneSeqAln pre
+{
+    margin-top:0.5em;
+}
+
+.aln_feat label
+{
+  color: #606060;
+  font-size: 95%;
+  padding-right: 0.5em;  
+}
+.oneSeqAln .dflLnk.aln_feat
+{
+    padding-bottom:1em;
+}
+div.oneSeqAln h4
+{
+    border:none;
+    font-size:100%; 
+    font-weight:normal;
+    letter-spacing:normal;
+    margin:0;
+}
+    
+.oneSeqAln .dflLnk
+{
+    width:56em;
+}
+.aln_feat a
+{
+    margin-left:1em;
+    display:block;
+}
+.dflLnk.aln_feat div
+{
+  /*display:inline-block;  */
+  margin-left:5em;
+  margin-top:-1em;
+}
+.aln_frame.shown
+{
+    display:block;
+}
+/*align params styles change */
+
+table.alnParams
+{
+    border-left:none;        
+    border-right:none;        
+    margin-top:0.5em;
+    width:49em;
+}
+
+table.alnParams th
+{
+    background-color:Transparent;    
+    border:none;    
+    text-align:left;
+}
+
+table.alnParams td
+{
+   border:none;      
+}
+
+
+.alnAll
+{
+    line-height:normal;
+    margin-top:1em;
+}
+
+.alnAll div
+{
+    width:70%;
+}
+
+/**new config staff begin**/
+.popDl
+{
+    display:none;
+}
+.popDl div
+{
+    margin-top:0.5em;
+}
+.popDl div.tl
+{
+    margin-top:0;
+    font-weight:bold;
+}
+a.button_config {  
+  background: url("images/cnfButn.png") no-repeat scroll right center transparent !important;
+  width: 22px;
+  height:22px;
+  margin-left:12em;
+  float:right;
+}
+
+a.toolsCtr,span.csLinks a
+{
+    margin-left:8px;
+    float:left;
+    cursor:pointer;
+}
+
+a.toolsCtr[disabled] {
+  cursor: default;
+}
+
+
+a.toolsCtr SPAN
+{
+	color: #14376c;
+	/*line-height: 22px;*/
+	padding-left: 15px;
+	background-repeat: no-repeat;
+	background-position:left center;		
+}
+
+a.toolsCtr[disabled] SPAN,a.toolsCtr[disabled]
+{
+    color:#C2C2C2;
+}
+
+a.dnld span
+{
+	background-image: url("images/dndl.png");
+}
+
+a.dnld[disabled] span
+{
+	background-image: url("images/dndl_dsb.png");
+}
+
+a.dialog
+{
+	padding-right: 18px;
+	background:transparent url(images/dialog.png) no-repeat scroll right center;	
+	text-decoration:none;
+}
+
+a.dialog[disabled] {
+    background-image: url("images/dialog_dsb.png");
+}
+
+
+a.alnNav span
+{
+	background-image: url("images/align_Normal.png");
+}
+
+a.alnNav
+{
+    text-decoration:none;
+}
+
+
+a.navNext span
+{
+	background-image: url("images/next_Normal.png");
+}
+
+
+a.navNext[disabled] span
+{	
+	background-image: url("images/next_Inactive.png");
+}
+
+
+a.navPrev span
+{
+	background-image: url("images/prev_Normal.png");
+}
+
+
+a.navPrev[disabled] span
+{
+	background-image: url("images/prev_Inactive.png");
+}
+
+
+a.navBack span
+{
+	background-image: url("images/table_Normal.png");
+}
+
+.alnRn
+{
+    float:left;
+}
+
+
+/* styles to change per discusssion with Mark begin*/
+.dflLnk a
+{
+	padding-left:0;	
+}
+
+
+table.ui-ncbigrid th {
+  padding-left:0.3em;
+  padding-right:0;
+  text-align:center;  
+}
+
+table.ui-ncbigrid td {
+  padding-left:0.4em;
+  padding-right:0.4em;
+  text-align:center;  
+}
+
+table.ui-ncbigrid td.c2,table.ui-ncbigrid td.c1 {  
+  text-align:left;  
+}
+
+table.ui-ncbigrid td.c3{
+  padding:0.363em 0.25em;
+}
+
+
+table.ui-ncbigrid th a {
+  padding-right: 5px;
+}
+table.ui-ncbigrid th.c0
+{
+    width:25px;
+    padding:0;
+}
+
+.dflnDth
+{
+    width:100%;
+}
+div.lim { 
+  width: 14em;
+}
+
+table.ui-ncbigrid th.c8,table.ui-ncbigrid th.c9 {  
+  padding-right: 0.3em;  
+}
+.c8,.c9
+{
+    font-size:80%;
+}
+
+
+td.lim.l.c2,td.lim.l.c1 
+{
+    overflow:hidden;
+}
+a.spr
+{ 
+    border-right:none; 
+}
+
+
+.psiInp 
+{
+    margin-left:1em;
+    margin-top:0.5em;
+}
+
+
+.c8 input
+{
+    border:none;
+}
+table.ui-ncbigrid td.c8
+{
+    padding-left:1.5em;
+}
+
+tr.psi_new td
+{
+    background-color:#FFFF99;
+    border-top:solid 4px white;
+    border-spacing:3px;
+    border-collapse:collapse;
+    line-height:normal;
+}
+/* accessibility setting */
+tr.dflLnk td span.psiNw,tr.first th span,a.button_config span, a span.accsb,.dflLnk label.accsb
+{
+    display:inline;
+    position:absolute;
+    left:-9999px;
+}
+
+div.tgl
+{
+    margin-top:-1em;
+}
+.shcl
+{
+    float:right;
+}
+
+/* styles to change per discusssion with Mark end*/
+
+.alnRn a
+{
+    padding-right:1em;
+}
+.alnAll .moreHsps
+{
+    font-family: Verdana, Sans-Serif;
+    font-size: 75%;        
+    margin-top:-2.5em;
+    width:58%;
+}
+.erm
+{
+    background-color:#FFFFCC;
+    padding:0.5em;    
+}
+
+#debug,.ind,.alnMsgS .db,.erm .db
+{
+    display:none;
+}
+
+.tmsAln label
+{
+    font-size:93%;
+    display:inline;
+    color:#606060;
+    font-weight:bold;
+}
+.alnAll .tmsAln, .tmsAln div
+{
+    width:100%;
+    margin-bottom:-1em;
+}
+.tmsAlnPar
+{
+    margin-top:-1em;
+}
+/*debug info styles begin */
+
+
+/* use those styles only in debug version 
+
+.alnMsg
+{
+    border:solid 1px black;
+}
+
+.alnMsgS.hidden,.alnMsgS .db
+{
+    display:block;
+}
+
+.oneSeqAln
+{
+    border:1px solid #C8C8C8;
+}
+
+#debug,tr.dflLnk td span.ind
+{
+    display:inline;
+}
+.c0
+{
+    width:30px;
+}
+/*debug info styles end */
+
+
+
+/**new config staff end**/
+/*
+ul.ui-ncbilocalnav li, ul.ui-ncbilocalnav {
+  background-color: #F4F4F4;
+  background-image: -moz-linear-gradient(center top , #FFFFFF, #F4F4F4);
+}
+ul.ui-ncbilocalnav li {
+  border-right: 1px solid #C4C4C4;
+}
+*/
+/**********decrition toolbar styles end*********/
+
+
+/* style chenges for redesign end*/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/firefox-descriptions.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,3 @@
+table.dbInfo caption {    
+ 
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/format.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,270 @@
+
+function UpdateDisplayTypes(displayTypes) {	
+    dispMenu = displayTypes.options;		
+    for(i=0; i < dispMenu.length; i++) {
+	    //if(!utils.hasClass(displayTypes,"psiBlast") && !utils.hasClass(displayTypes,"phiBlast") ||
+	    if($("stepNumber").value == "" || $("stepNumber").value < 2) {	    	    
+			if(dispMenu[i].value.indexOf("PSSM") != -1) {
+				dispMenu[i--] = null;
+				//break;
+			}			
+		}		
+	}	    
+}
+
+function GetIndexByValue(selectElem,val) {	
+    var idx = 0;
+    var opts = selectElem.options;		
+    for(i=0; i < opts.length; i++) {
+        if(opts[i].value == val) {
+            idx = i;
+            break;
+        }
+    }	
+    return idx;	    
+}
+
+function resetAdvView(show)
+{
+    var advView = $("advView");    
+    if(show) {
+        if(utils.hasClass(advView, "hidden")) {
+            utils.removeClass(advView, "hidden");
+        }    
+    }
+    else {
+        utils.addClass(advView, "hidden");
+    }
+}
+
+
+function ShowOrHide(hide,elem)
+{
+    if(hide) {
+        if(!utils.hasClass(elem, "hidden")) {
+            utils.addClass(elem, "hidden");
+        }    
+    }
+    else {
+        if(utils.hasClass(elem, "hidden")) {
+            utils.removeClass(elem, "hidden");
+        }    
+    }
+}    
+
+function UpdateFormatTypes(form) {    
+    var selectedObjType = form.FORMAT_OBJECT[form.FORMAT_OBJECT.selectedIndex].value;
+    var hideAdvView = false;
+    bioseqFormatHide = true;
+    pssmFormatHide = true;
+    pssmScFormatHide = true;
+    formatTypeHide = true;
+	if (selectedObjType == "Alignment") {
+		formatObjectSelectedIndex = 0; //HTML		
+		formatTypeHide = false;		
+		hideAdvView = true;
+	}
+    if (selectedObjType == "PSSM") {		
+		formatObjectSelectedIndex = GetIndexByValue(form.FORMAT_TYPE,"Text");	
+		pssmFormatHide = false;		
+    }
+    if (selectedObjType == "PSSM_Scoremat") {		
+		formatObjectSelectedIndex = GetIndexByValue(form.FORMAT_TYPE,"ASN.1");		
+		pssmScFormatHide = false;		
+    }    
+    else if (selectedObjType == "Bioseq") {		
+		formatObjectSelectedIndex = GetIndexByValue(form.FORMAT_TYPE,"ASN.1");		
+		bioseqFormatHide = false;		
+    }
+    form.FORMAT_TYPE.selectedIndex = formatObjectSelectedIndex;     
+	ShowOrHide(formatTypeHide,form.FORMAT_TYPE);
+	if ($("bioseqFormat")) {
+	    ShowOrHide(bioseqFormatHide,$("bioseqFormat"));
+	    $("bioseqFormat").readOnly=true;		
+	}
+	if ($("pssmFormat")) {
+	    ShowOrHide(pssmFormatHide,$("pssmFormat"));
+	    $("pssmFormat").readOnly=true;	
+	}
+	if ($("pssmScFormat")) {
+	    ShowOrHide(pssmScFormatHide,$("pssmScFormat"));
+	    $("pssmScFormat").readOnly=true;	
+	}	
+	resetAdvView(hideAdvView);
+}	
+
+function ResetForm()
+{
+    //var defValNodes = cssQuery(".reset");	
+    defValNodes = $("FormatForm").elements;
+	for(i=0; i < defValNodes.length; i++) {	  	  
+	  if(utils.hasClass(defValNodes[i],"reset"))
+	                 setDefalValue(defValNodes[i]); 	  
+	}
+	if ($("FormatForm").FORMAT_OBJECT.type == "select-one") {
+	    UpdateFormatTypes($("FormatForm"));
+	    UpdateDisplayTypes($("FormatForm").FORMAT_OBJECT);
+	}
+	if($("FormatForm").RUN_PSIBLAST.checked) setDefalValue($("FormatForm").I_THRESH)
+	else $("FormatForm").I_THRESH.value="";
+	//resetOrganismSuggest($("FormatForm").FORMAT_ORGANISM);
+	resetOrganismControls($("FormatForm").FORMAT_ORGANISM);
+	//TO DO: add threshold
+}
+
+function LimitByHitlistSize(list)
+{
+    var listBreak = false;
+    var optSel = false;
+    for(i=0; i < list.options.length; i++) {    
+        var optVal = parseInt(list.options[i].value ,10);
+        var hitListSize = parseInt($("maxNumSeq").value ,10);                
+        if(list.options[i].selected) optSel = true;
+        if(optVal >= hitListSize)  {
+            if(!optSel) {list.options[i].selected = true;}
+            list.options.length = i + 1; 
+            break;
+        }                
+    }             
+}
+
+function AddFormatOrgField(e) {
+    AddOrgRow(e, "FORMAT_ORGANISM", "FORMAT_ORG_EXCLUDE");
+}
+
+function initSubmit() {
+
+
+}
+
+function adjustFormatOptions() 
+{
+    var alignView = $("FormatForm").ALIGNMENT_VIEW;
+    var formatType = $("FormatForm").FORMAT_TYPE;
+    var queryAnch =  formatType[formatType.selectedIndex].value == "HTML" && (alignView[alignView.selectedIndex].value != "Pairwise" && alignView[alignView.selectedIndex].value != "PairwiseWithIdentities");
+    var dynFormatQA = !$("FormatForm").OLD_VIEW.checked && queryAnch;
+    dynFormatPW = !$("FormatForm").OLD_VIEW.checked && formatType[formatType.selectedIndex].value == "HTML" && (alignView[alignView.selectedIndex].value == "Pairwise" || alignView[alignView.selectedIndex].value == "PairwiseWithIdentities");    
+    
+    UpdateDescriptions(dynFormatPW);
+    if (dynFormatPW) {
+        jQuery("#frmAln").addClass("hidden");
+        if (!utils.hasClass($("shl"), "hidden")) jQuery("#shl").addClass("hidden"); //hide SHOW_LINKOUT
+        jQuery("#gts").addClass("hidden"); //hide GET_SEQUENCE
+        jQuery("#scf").removeClass("hidden");//show CDS_FEAT
+        $("FormatForm").SHOW_LINKOUT.checked = true;        
+    }
+    else {
+        if(dynFormatQA) $("FRM_ALIGNMENTS").selectedIndex = $("FRM_DESCRIPTIONS").selectedIndex;
+        
+        jQuery("#frmAln").removeClass("hidden");
+        if (dynFormatQA) {
+            if (!utils.hasClass($("shl"), "hidden")) jQuery("#shl").addClass("hidden"); //hide SHOW_LINKOUT
+        }
+        else {
+            jQuery("#shl").removeClass("hidden");
+        } 
+        if (queryAnch) {
+            jQuery("#scf").addClass("hidden"); //hide CDS_FEAT
+        }
+        else {//pairwise old_view=false
+            jQuery("#scf").removeClass("hidden"); //hide CDS_FEAT
+        }
+        jQuery("#gts").removeClass("hidden"); //GET_SEQUENCE
+    }
+    if ($("blastSpec").value == "VecScreen") {
+        adjustVecscreen(dynFormatPW);
+    }
+}
+
+function adjustVecscreen(dynFormatPW) 
+{
+    var dfltDescrInd = 0; //0
+    var dfltDynDescrInd = 5; //1000
+    var dfltAlnInd = 6; //1000
+    if (dynFormatPW) {
+        utils.addClass($("lr"), "hidden");
+        $("FRM_DESCRIPTIONS").selectedIndex = dfltDynDescrInd;        
+    }
+    else {
+        utils.removeClass($("lr"), "hidden");
+        $("FRM_DESCRIPTIONS").selectedIndex = dfltDescrInd;
+    }
+    $("FRM_ALIGNMENTS").selectedIndex = dfltAlnInd;
+}
+
+
+function UpdateDescriptions(removeZero) 
+{
+    if (removeZero) {        
+        dispMenu = $("FormatForm").DESCRIPTIONS;
+        dispMenu.remove(0);
+    }
+    else {
+        dispMenu = $("FormatForm").DESCRIPTIONS;        
+        if (dispMenu.options[0].value != "0") {            
+            if (navigator.userAgent.match(/ie/i)) {
+                dispMenu.add(new Option("0", "0"), 0);
+            }
+            else {
+                dispMenu.add(new Option("0", "0"), dispMenu[0]);
+            }
+        }
+	}
+}
+
+function InitDynFormatOptions() 
+{
+    if ($("OLD_VIEW")) {
+        utils.addEvent($("FormatForm").OLD_VIEW, "click", adjustFormatOptions, false);
+        utils.addEvent($("FormatForm").ALIGNMENT_VIEW,"change", adjustFormatOptions, false);
+        utils.addEvent($("FormatForm").FORMAT_TYPE, "change", adjustFormatOptions, false);
+        adjustFormatOptions();
+    }
+}
+
+function InitFormatPage()
+{
+    if ($("FormatForm").FORMAT_OBJECT.type == "select-one") {
+        UpdateDisplayTypes($("FormatForm").FORMAT_OBJECT);    
+        UpdateFormatTypes($("FormatForm"));
+        list = $("FormatForm").FORMAT_OBJECT;
+        utils.addEvent(list, "change", function() {
+            UpdateFormatTypes($("FormatForm"));
+                               },
+	                           false);
+    }
+    utils.addEvent($("resetAll"), "click",  ResetForm, false);         
+    if($("maxNumSeq") != null) {
+    if($("maxNumSeq").value != "") {
+        LimitByHitlistSize($("FormatForm").DESCRIPTIONS);
+        LimitByHitlistSize($("FormatForm").ALIGNMENTS);
+        LimitByHitlistSize($("FormatForm").NUM_OVERVIEW);        
+    }
+    }    
+    setupOrganismSuggest($("FormatForm").FORMAT_ORGANISM);
+    utils.addEvent($("FormatForm"), "submit", function() {
+                            adjustOrgVal($("FormatForm").FORMAT_ORGANISM);},
+                    false);
+                    
+    if ($("addOrg")) utils.addEvent($("addOrg"), "click", AddFormatOrgField, false);
+    InitDynFormatOptions();    
+	/* add this code if decide image for View Report
+	var imgButtons = jQuery("[class='viewReport']");
+    for (var i = 0; i < imgButtons.length; i++) {
+      var l = imgButtons[i];
+      utils.addEvent(l, "click", function() {$("FormatForm").submit();}, false);          
+      utils.addEvent(l, "mouseover", function() {l.src = l.getAttribute("mouseovImg");}, false);
+      utils.addEvent(l, "mouseout", function() {l.src = l.getAttribute("mouseoutImg");}, false);
+      utils.addEvent(l, "mousedown", function() {l.src = l.getAttribute("mousedownImg");}, false);
+      utils.addEvent(l, "mouseup", function() {l.src = l.getAttribute("mouseupImg");}, false);
+   }  
+   */ 
+}
+
+utils.addEvent(window, 'load', InitFormatPage, false);
+
+
+
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/formatRes.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1542 @@
+// JScript source code
+/*************************new code begin *******************************************************/
+
+function getHiddenFieldVal(elemName) {
+    var val;
+    var elem = document.getElementsByName(elemName);
+    if (elem) {
+        val = (elem.length > 1) ? elem[0].value : elem.value;
+    }
+    return val;
+}
+
+function getHiddenFieldParamString(elemName) {
+    var ret = "";
+    var val = getHiddenFieldVal(elemName);
+    if (val) {
+        ret = "&" + elemName + "=" + val;
+    }
+    return ret;
+}
+
+function elementInViewport(el) {
+    if (!el) return;
+    var rect = el.getBoundingClientRect();
+
+    var myWidth = 0, myHeight = 0;
+    if (typeof (window.innerWidth) == 'number') {
+        //Non-IE
+        myWidth = window.innerWidth;
+        myHeight = window.innerHeight;
+    } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
+        //IE 6+ in 'standards compliant mode'
+        myWidth = document.documentElement.clientWidth;
+        myHeight = document.documentElement.clientHeight;
+    } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
+        //IE 4 compatible
+        myWidth = document.body.clientWidth;
+        myHeight = document.body.clientHeight;
+    }
+    //window.alert('Width = ' + myWidth);
+    //window.alert('Height = ' + myHeight);
+
+
+    //return (rect.top >= 0 && rect.left >= 0 && rect.bottom <= window.innerHeight && rect.right <= window.innerWidth)
+    //return (rect.top >= 0 && rect.left >= 0 && rect.bottom <= myHeight && rect.right <= myWidth)
+    return (rect.top >= 0 && rect.bottom <= myHeight);
+}
+
+function DisplayAlignFromDescription(elem) {
+    var alignView = $("FormatForm").ALIGNMENT_VIEW;
+    if (alignView[alignView.selectedIndex].value == "Pairwise" || alignView[alignView.selectedIndex].value == "PairwiseWithIdentities") {
+        DisplayDynamicAlign(elem);
+    }
+    else {
+        location.href = "#" + elem.getAttribute("seqID");        
+    }
+}	
+
+//<a class="deflnDesc" hsp=<hsp_num> ind="<index>" gi="<gi>" id="deflnDesc_gi" href="#AlnHdrgi">desc</a>
+//<div class="alnHdr" gi="<gi>" id="alnHdr_<index>">
+function DisplayDynamicAlign(elem) {
+    var currGi = elem.getAttribute("gi");
+    var currInd = elem.getAttribute("ind");
+    var stat = elem.getAttribute("stat");
+    if (!currInd || !currGi) return;
+    
+    if (!stat || stat == "") {
+        //Get 4(5) aligns before currInd and 4(5) aligns after
+        ReadCurrentSeqAligns(currInd, 5);        
+    }
+    else if (stat == "read") {
+        var indexes = getCurrIndexRange(currInd);
+        if (indexes) {
+            var msgID = "alnShow_" + indexes[0];
+            location.href = "#" + msgID;
+        }
+    }
+    else {
+        //error status handling        
+    }
+}
+
+
+function goToNextAlign(dtrID, next) {
+    var currInd = parseInt($(dtrID).getAttribute("ind"));
+    var rid = $("Rid").value;
+    nextInd = (next) ? currInd + 1 : currInd - 1;
+
+    if ($("deflnDesc_" + nextInd)) {
+        currGi = $("deflnDesc_" + nextInd).getAttribute("seqID");
+        scrollToGI = currGi;
+        if (!$("deflnDesc_" + nextInd).getAttribute("stat") || $("deflnDesc_" + nextInd).getAttribute("stat") == "") {
+
+            if (!next) {
+                ReadPrevSeqAligns(currInd, 5, scrollToGI);
+            }
+            else {
+                //Use this indexes = wasAlignRead(nextInd); to determine insertAfterID in ReadNextAligns!!!
+                ReadNextSeqAligns(currInd, 5, scrollToGI);
+            }
+
+        }
+        else {
+            location.href = "#" + scrollToGI;
+        }
+    }
+}
+
+function goToDefLine(dtrID) {
+    if ($("psiInp")) {
+        var tbl = jQuery($(dtrID)).parents(".jig-ncbigrid"); //parent table
+        togglerID = PsiBelowThresh(tbl[0].id) ? "showDescB1" : "showDescG1";
+        jQuery($(togglerID)).ncbitoggler("open");
+    }
+}
+
+/*
+readAln.rid = rid;
+readAln.startIndex = parseInt(currInd);
+readAln.numSeq = parseInt(maxNumAligns);
+
+readAln.insertAfterID = insertAfterID;
+readAln.seqList = giList;
+readAln.scrollToSeqID = scrollToGI;
+*/
+function ReadNextSeqAligns(currInd, maxNumAligns, scrollToGI) {
+    var lastDispIdx = 0;
+    var rid = $("Rid").value;
+
+    var readAln = new Object();
+    readAln.seqList = ""; //giList
+    readAln.rid = rid;
+
+    currInd = parseInt(currInd);
+
+    if (currInd != 0 && $("deflnDesc_" + currInd)) {
+        var par = utils.getParent($("aln_" + $("deflnDesc_" + currInd).getAttribute("seqID"))); //"alnShowReal_<ind>
+        //alert(par.id);
+        if (par) par = utils.getParent(par); //"alnShow_<ind>
+        //alert(par.id);
+        if (par) readAln.insertAfterID = par.id;
+    }
+    else {
+        readAln.insertAfterID = "alnStart";
+    }
+
+
+
+    readAln.startIndex = currInd + 1;
+    readAln.numSeq = maxNumAligns;
+        
+    checkIfAlnExceedsThreshold(readAln, currInd, maxNumAligns, "next");
+        
+    readAln.scrollToSeqID = (scrollToGI && scrollToGI != "") ? scrollToGI : "";
+    readAln.hspSort = 0;
+    ReadSeqAlignByIndex(readAln);
+}
+
+function ReadPrevSeqAligns(currInd, maxNumAligns, scrollToGI) {
+    var lastDispIdx = 0;
+    var rid = $("Rid").value;
+
+    var readAln = new Object();
+    readAln.seqList = ""; //giList
+    readAln.rid = rid;
+
+    currInd = parseInt(currInd);
+
+
+    //sets readAln.insertAfterID and returns lastDispIdx;
+    //Find the index of the previously displayed alignment
+    lastDispIdx = getPrevDisplyedAlignInfo(currInd, readAln);
+
+    readAln.startIndex = (currInd - lastDispIdx > maxNumAligns) ? (currInd - maxNumAligns) : lastDispIdx + 1;
+    readAln.numSeq = currInd - readAln.startIndex;    //stopIndex = currInd
+    
+    checkIfAlnExceedsThreshold(readAln, currInd, readAln.numSeq, "prev");
+        
+    readAln.scrollToSeqID = (scrollToGI && scrollToGI != "") ? scrollToGI : $("deflnDesc_" + (currInd)).getAttribute("seqID");
+    readAln.hspSort = 0;
+    ReadSeqAlignByIndex(readAln);
+}
+
+//When descriptions is clicked - display maxNumAligns before currInd and maxNumAligns after currInd
+function ReadCurrentSeqAligns(currInd, maxNumAligns) {
+    var rid = $("Rid").value;
+    var readAln = new Object();
+    readAln.seqList = ""; //giList
+    readAln.rid = rid;
+
+    currInd = parseInt(currInd);
+
+
+    //sets readAln.insertAfterID and returns lastDispIdx;
+    //Find the index of the previously displayed alignment
+    var lastDispIdx = getPrevDisplyedAlignInfo(currInd, readAln);
+
+    //lastDispIdx = parseInt(lastDispIdx);
+    readAln.startIndex = (currInd - lastDispIdx > maxNumAligns) ? (currInd - maxNumAligns) : lastDispIdx + 1;
+    readAln.numSeq = parseInt(maxNumAligns * 2);
+        
+    checkIfAlnExceedsThreshold(readAln, currInd, maxNumAligns, "curr");
+        
+    readAln.scrollToSeqID = $("deflnDesc_" + currInd).getAttribute("seqID");
+    readAln.hspSort = 0;
+    ReadSeqAlignByIndex(readAln);
+    g_DisableAutoCheck = true;
+    location.href = "#alnShow_" + readAln.startIndex;
+}
+
+
+
+
+function setupDynHSPParams(readAln) 
+{
+    var currSeqInd = readAln.startIndex;
+    hspNum = parseInt($("deflnDesc_" + currSeqInd).getAttribute("hsp"));
+    alnLen = parseInt($("deflnDesc_" + currSeqInd).getAttribute("len"));
+    var maxDispLen = parseInt($("maxDispAlnLen").value);//20000
+    var minDispLen = parseInt($("minDispAlnLen").value);//2000
+    if (alnLen > maxDispLen) {
+        var lenPerMatch = alnLen / hspNum;        
+        readAln.AlignDbPageSize = (lenPerMatch > minDispLen) ? 1 : Math.floor(minDispLen / lenPerMatch);
+        readAln.AlignDbPageNum = 0;
+        $("deflnDesc_" + currSeqInd).setAttribute("dynHsps", readAln.AlignDbPageSize);
+    }
+}
+
+
+
+function getCurrSeqsAlnLen(currSeqInd) 
+{
+    var alnLen = 0;
+    if ($("deflnDesc_" + currSeqInd) && (!$("deflnDesc_" + currSeqInd).getAttribute("stat") || $("deflnDesc_" + currSeqInd).getAttribute("stat") == "")) {
+        alnLen = $("deflnDesc_" + currSeqInd).getAttribute("len");            
+    }
+    alnLen = (alnLen) ? parseInt(alnLen) : 0;
+    return alnLen;
+}
+
+function checkTotalAlignLen(startIndex,stopIndex)
+{
+    var dispAlnLen = 0;
+    var maxDispLen = parseInt($("maxDispAlnLen").value);    
+    for (var i = startIndex; i <= stopIndex; i++) {
+        alnLen = getCurrSeqsAlnLen(i);
+        if (alnLen == 0) break;
+        dispAlnLen += alnLen;        
+    }
+    return dispAlnLen;
+}
+//Get total align length for seq currSeqInd and
+//"curr" surrounding countSeqs seqs + current, "prev" - previous countSeqs seqs, "next" - next countSeqs seqs
+function getTotalAlignLen(readAln, currSeqInd, countSeqs, dispType) 
+{
+    var startIndex = readAln.startIndex;
+    var stopIndex = readAln.startIndex + readAln.numSeq - 1;
+    if (dispType == "curr") {//checks countSeqs before and countSeqs after current, including current                
+        startIndex = Math.max(startIndex, currSeqInd - countSeqs);        
+        stopIndex = Math.min(stopIndex, currSeqInd + countSeqs);        
+    }
+    else if(dispType == "prev") {        
+        startIndex = Math.max(startIndex, currSeqInd - 1 - countSeqs);
+        stopIndex = currSeqInd - 1;        
+    }
+    else {//next                                
+        stopIndex = Math.min(stopIndex, currSeqInd + countSeqs + 1);
+    }
+    var totAlnLen = checkTotalAlignLen(startIndex,stopIndex);
+    return totAlnLen;
+}
+
+function checkIfAlnExceedsThreshold(readAln,currSeqInd,maxNumAligns, dispType) 
+{
+    var maxDispLen = parseInt($("maxDispAlnLen").value);
+    var totAlnLen = 0;
+    var exc = false;
+    for (var numSeq = 0; numSeq <= maxNumAligns; numSeq++) {
+        totAlnLen = getTotalAlignLen(readAln, currSeqInd, numSeq, dispType);
+        if(totAlnLen > maxDispLen) {
+            break;
+        }
+    }
+    if (totAlnLen > maxDispLen) {
+        if (numSeq != 0) numSeq--;      
+        if (dispType == "curr") {
+            readAln.startIndex = Math.max(readAln.startIndex, currSeqInd - numSeq);
+            //prev + 1(curr) + next            
+            readAln.numSeq = (currSeqInd - readAln.startIndex) + 1 + numSeq;
+        }
+        else if (dispType == "prev") {
+            readAln.startIndex = Math.max(readAln.startIndex, currSeqInd - 1 - numSeq);
+            readAln.numSeq = numSeq + 1;
+        }
+        else { //"next" - readAln.startIndex stays
+            readAln.numSeq = numSeq + 1;
+        }
+        
+        if (readAln.numSeq == 1 && $("useAlignDB") && $("useAlignDB").value == "true") {
+            setupDynHSPParams(readAln);            
+        } 
+                   
+        exc = true;   
+    }
+    return exc;
+}
+
+
+//readAln.startIndex, readAln.numSeq, readAln.scrollToSeqID,readAln.insertAfterID should be set
+function ReadSeqAlignByIndex(readAln) {
+    var numAligns = 0;
+    for (var i = readAln.startIndex; i < readAln.startIndex + readAln.numSeq; i++) {
+
+        if (!$("deflnDesc_" + i)) {
+            break;
+        }
+        if (!$("deflnDesc_" + i).getAttribute("stat") || $("deflnDesc_" + i).getAttribute("stat") == "") {            
+            currGi = $("deflnDesc_" + i).getAttribute("seqFSTA");
+            if (readAln.seqList != "") readAln.seqList += ",";
+            readAln.seqList += currGi;
+            numAligns++;
+        }
+        else {
+            break;
+        }
+    }
+    if (readAln.seqList != "") {        
+        readAln.numSeq = parseInt(numAligns);
+        ReadSeqAlignForSeqList(readAln);
+    }
+}
+
+
+var g_DisplayeAlignsRanges = ""; //String in the format start1-stop1,start2-stop2...
+//Find the range of indexes of displayed alignments for currAlnInd
+//Returns array of 2 startIndex, stopIndex
+function getCurrIndexRange(currAlinInd) {
+    var currRange;
+    var ranges = g_DisplayeAlignsRanges.split(",");
+    for (var i = 0; i < ranges.length; i++) {
+        var indexes = ranges[i].split("-");
+        if (currAlinInd >= parseInt(indexes[0]) && currAlinInd <= parseInt(indexes[1])) {
+            currRange = indexes;
+            break;
+        }
+    }
+    return currRange;
+}
+
+
+//Find the index of the previous  displayed alignment
+function getPrevDisplyedAlignInfo(currInd, readAln) {
+    readAln.insertAfterID = "alnStart";
+    lastDispIdx = 0;
+    for (var i = currInd - 1; i >= 1; i--) {
+        indexes = getCurrIndexRange(i);
+        if (indexes) {
+            lastDispIdx = indexes[1];
+            readAln.insertAfterID = "alnShow_" + indexes[0];
+            break;
+        }
+    }
+    return parseInt(lastDispIdx);
+}
+
+
+//setReadStatus
+function setSeqAlnReadStatus(readAln, status) {
+    for (var i = readAln.startIndex; i < readAln.startIndex + readAln.numSeq; i++) {
+        if ($("deflnDesc_" + i)) {
+            jQuery($($("deflnDesc_" + i))).attr("stat", status);
+            if (status == "disp") {
+                g_MaxDisplayedIndex = (i > g_MaxDisplayedIndex) ? i : g_MaxDisplayedIndex;
+            }
+        }
+    }
+}
+
+/*
+readAln.rid = rid;
+readAln.seqList = giList;
+readAln.startIndex = parseInt(idx);
+readAln.insertAfterID = insertAfterID;
+readAln.numSeq = parseInt(numSeq);
+readAln.scrollToSeqID = scrollToGI;
+*/
+function SendReadSeqAlinRequest(readAln) {        
+    blastUrl = "t2g.cgi";
+    
+    var rp = new RemoteDataProvider(blastUrl);
+
+
+    rp.onSuccess = function(obj) {
+        if ($("alignView")) utils.removeClass($("alignView"), "hidden");
+
+        if ($("alnShow_" + readAln.startIndex)) {
+            var moreHspsLink = getNextHspsLink(readAln);            
+            jQuery($($("alnShowReal_" + readAln.startIndex))).html(obj.responseText + moreHspsLink, {
+                'widgets': ['ncbipopper', 'ncbitoggler'],
+                'configs': {
+                    'ncbipopper': { hasArrow: true, arrowDirection: 'top' }
+                }
+            }); 
+            setSeqAlnReadStatus(readAln, "disp");
+            jQuery($("alnMsg_" + readAln.startIndex)).addClass("hidden");        
+            //Saves start and stop indexes of loaded alignments in global variables
+            saveIdxesForAutomaticLoad(readAln);
+            jQuery($($("alnShowReal_" + readAln.startIndex))).find(".alnHdr").each(function(index) {
+                var seqID = this.getAttribute("seqID");
+                if(seqID) initAlignBatch(seqID);
+            });
+
+        }
+
+        if (readAln.scrollToSeqID) {
+            location.href = "#" + readAln.scrollToSeqID;
+        }
+
+    };
+    rp.onError = function(obj) {        
+        if ($("alignView")) utils.removeClass($("alignView"), "hidden");
+        jQuery($("alnMsg_" + readAln.startIndex)).addClass("hidden");
+        $("alnShowReal_" + readAln.startIndex).innerHTML = "<div class=\"erm\" id=\"erm_" + readAln.startIndex + "\">Error loading alignment ...<span class=\"db\">requests:" + this.iActiveRequests + " status:" + obj.status +
+                          "</span><a class=\"gbd\" href=\"#\" onclick=\"ReSubmitReadSeqAligns(event," + readAln.startIndex + ")\">Try again<\a></div>";
+    }
+    var params = constructURLParams(readAln);
+    if (readAln.numSeq == 1) {
+        params += "&TOTAL_HSPS=" + $("deflnDesc_" + readAln.startIndex).getAttribute("hsp");
+    }
+    params += "&SEQ_LIST_START=" + readAln.startIndex;    
+    
+    var formatParams = constructFormatParams();
+    params += formatParams;    
+    
+    //alert(params);
+    rp.Request(params);
+}
+
+
+function constructURLParams(readAln) {
+    var params;
+
+    if ($("useAlignDB") && $("useAlignDB").value == "true") {
+
+        var alignDbParams = "&USE_ALIGNDB=true";
+        var batchID = document.getElementsByName("ALIGNDB_BATCH_ID");
+        if (batchID) {
+            alignDbParams += getHiddenFieldParamString("ALIGNDB_BATCH_ID");
+            alignDbParams += getHiddenFieldParamString("ALIGNDB_MASTER_ALIAS");
+            alignDbParams += getHiddenFieldParamString("ALIGNDB_CGI_HOST");
+            alignDbParams += getHiddenFieldParamString("ALIGNDB_CGI_PATH");
+        }
+        alignDbParams += "&ALIGN_SEQ_LIST=" + readAln.seqList;
+        alignDbParams += "&HSP_SORT=" + readAln.hspSort;
+
+        if (readAln.hasOwnProperty("AlignDbPageNum")) {
+            alignDbParams += "&ALIGNDB_PAGE_NUM=" + readAln.AlignDbPageNum;
+            alignDbParams += "&ALIGNDB_PAGE_SIZE=" + readAln.AlignDbPageSize;
+            alignDbParams += "&HSP_START=" + readAln.AlignDbPageSize * readAln.AlignDbPageNum;
+        }
+
+        params = "CMD=Get&RID=" + readAln.rid + "&OLD_BLAST=false&DESCRIPTIONS=0&NUM_OVERVIEW=0&DYNAMIC_FORMAT=on" + alignDbParams;
+    }
+    else {
+        params = "CMD=Get&RID=" + readAln.rid + "&OLD_BLAST=false&DESCRIPTIONS=0&NUM_OVERVIEW=0&GET_SEQUENCE=on&DYNAMIC_FORMAT=on&ALIGN_SEQ_LIST=" + readAln.seqList + "&HSP_SORT=" + readAln.hspSort;
+    }    
+    if ($("phiPtInd")) {
+        params += "&PHI_PTTRN_INDEX=" + $("phiPtInd")[$("phiPtInd").selectedIndex].value;
+    }
+    return params;
+}
+
+/*
+readAln.rid = rid;
+readAln.seqList = giList;
+readAln.startIndex = parseInt(idx);
+readAln.insertAfterID = insertAfterID;
+readAln.numSeq = parseInt(numSeq);
+readAln.scrollToSeqID = scrollToGI;
+*/
+/*1. Draw div with id="alnShow_index" class ="alnMsg" with the message listing gis nad indexes
+2. Insert another div with id="alnShowReal_index and class="alnMsgR"
+3. For "alnShow_index" set atrr indexes="startInd-stopInd"
+4. Set global g_MaxReadMessageIndex - max index of displayed seqalign ??? - check this 
+5. Add string "startInd-stopInd" to g_DisplayeAlignsRanges - comma separated indexes
+6. Send read request
+*/
+
+function ReadSeqAlignForSeqList(readAln) {
+    var text = "<div id=\"alnShow_" + readAln.startIndex + "\" class=\"alnMsg\"><div class=\"alnMsgS\" id=\"alnMsg_" + readAln.startIndex + "\">Loading alignment...<span class=\"db\"> for sequences " + readAln.seqList;
+    var stopIndex = readAln.startIndex + readAln.numSeq - 1;
+    var useAlignDB = ($("useAlignDB") && $("useAlignDB").value == "true") ? "AlignDB=on " : "";
+    text += " " + useAlignDB + "Reading indexes " + readAln.startIndex + "-" + stopIndex + "</span></div>";
+    text += "<div id=\"alnShowReal_" + readAln.startIndex + "\" class=\"alnMsgR\"></div></div>";
+    var debugControl = "<div id=\"debug\"></div>";
+    if (!$("debug")) {
+        jQuery($($("descriptions"))).before(debugControl);
+    }
+    if (!$("alnShow_" + readAln.startIndex)) {        
+        jQuery($($(readAln.insertAfterID))).after(text);
+        jQuery($($("alnShow_" + readAln.startIndex))).attr("indexes", readAln.startIndex + "-" + stopIndex);
+        jQuery($($("alnShow_" + readAln.startIndex))).attr("seqlist", readAln.seqList);
+        g_MaxReadMessageIndex = (readAln.startIndex > g_MaxReadMessageIndex) ? readAln.startIndex : g_MaxReadMessageIndex;
+        setSeqAlnReadStatus(readAln, "read");
+        $("debug").innerHTML += ", " + useAlignDB + "Reading indexes " + readAln.startIndex + "-" + stopIndex;
+
+        if (g_DisplayeAlignsRanges != "") g_DisplayeAlignsRanges += ",";
+        g_DisplayeAlignsRanges += readAln.startIndex + "-" + stopIndex;
+
+        SendReadSeqAlinRequest(readAln);
+    }
+    else if ($("alnShowReal_" + readAln.startIndex).innerHTML.indexOf("Error") != -1) {
+        jQuery($("alnMsg_" + readAln.startIndex)).removeClass("hidden");
+        jQuery($("erm_" + readAln.startIndex)).remove();        
+        SendReadSeqAlinRequest(readAln);
+    }
+}
+
+
+function ReSubmitReadSeqAligns(e,currInd) {
+    var rid = $("Rid").value;
+    if ($("alnShow_" + currInd)) {
+        var indexRange = jQuery($("alnShow_" + currInd)).attr("indexes");
+        var range = indexRange.split("-");
+
+
+        var readAln = new Object();
+        readAln.seqList = ""; //giList
+        readAln.rid = rid;
+        readAln.seqList = jQuery($("alnShow_" + currInd)).attr("seqlist");
+        readAln.startIndex = parseInt(range[0]);
+        readAln.numSeq = parseInt(range[1]) - parseInt(range[0]) + 1;
+        readAln.hspSort = 0;
+        ReadSeqAlignForSeqList(readAln);
+        utils.preventDefault(e);
+    }
+}
+
+
+var g_MaxReadMessageIndex = 0; //alnShow_idx with the message, deflnDesc_idx with stat="read"
+var g_MaxDisplayedIndex = 0; //deflnDesc_idx with stat="disp" - last one in the set of N
+var g_DisableAutoCheck = false;
+
+var g_autoStartIdx = new Array();
+var g_autoStopIdx = new Array();
+
+function saveIdxesForAutomaticLoad(readAln) {
+    var stopIndex = readAln.startIndex + readAln.numSeq - 1;
+    g_autoStartIdx.push(readAln.startIndex); //1,20,25
+    g_autoStopIdx.push(stopIndex);  //4,24,29    
+    $("debug").innerHTML += ", displaying indexes " + readAln.startIndex + "-" + stopIndex;
+}
+
+function getNextHspsLink(readAln)
+{
+    var moreHspsLink = ""
+    if (readAln.hasOwnProperty("AlignDbPageNum")) {
+        var nextPageNum = readAln.AlignDbPageNum + 1;
+        var currHspInd = readAln.AlignDbPageSize * nextPageNum;
+        var argstring = readAln.startIndex + "," + currHspInd;                
+        var currGi = $("deflnDesc_" + readAln.startIndex).getAttribute("seqId");
+        var accs = $("deflnDesc_" + readAln.startIndex).getAttribute("accs");        
+        var totalHsps = $("deflnDesc_" + readAln.startIndex).getAttribute("hsp");
+        var prevHspInd = readAln.AlignDbPageSize * nextPageNum;
+        var segs = (prevHspInd + 1) + "-" + (prevHspInd + readAln.AlignDbPageSize);        
+        var moreHspsID = "nxHsp" + currGi + "_" + (prevHspInd + 1);
+
+        moreHspsLink = $("dynHspTmpl").innerHTML.replace("@moreHspsID@", moreHspsID);        
+        moreHspsLink = moreHspsLink.replace(/@accs@/g, accs);
+        moreHspsLink = moreHspsLink.replace("@argstring@", argstring);
+        moreHspsLink = moreHspsLink.replace(/@segs@/g, segs);
+        moreHspsLink = moreHspsLink.replace("@totalHSP@", totalHsps);        
+        moreHspsLink = moreHspsLink.replace(/@alignDbPageSize@/g, readAln.AlignDbPageSize);
+        moreHspsLink = moreHspsLink.replace("@aln_prev_num@", prevHspInd);
+        moreHspsLink = moreHspsLink.replace("@alnSeqGi@", currGi);
+    }
+    return moreHspsLink;
+}
+
+
+function ReadNextHSPSet(currSeqInd, currHSPNum) {
+    var readAln = new Object();
+
+    readAln.rid = $("Rid").value;
+    readAln.seqList = $("deflnDesc_" + currSeqInd).getAttribute("seqFSTA");
+    readAln.gi = $("deflnDesc_" + currSeqInd).getAttribute("seqId");
+    dynHsps = $("deflnDesc_" + currSeqInd).getAttribute("dynHsps");
+    readAln.startIndex = currSeqInd;
+    readAln.numSeq = 1;
+    if (dynHsps) {
+        readAln.AlignDbPageNum = parseInt(currHSPNum) / parseInt(dynHsps);
+        readAln.AlignDbPageSize = parseInt(dynHsps); //number of HSps to retrieve
+    }
+    if (currHSPNum != 0) {
+        readAln.scrollToSeqID = "hsp" + +readAln.gi + "_" + (parseInt(currHSPNum) + 1);
+        readAln.insertAfterID = "ar_" + readAln.gi + "_" + currHSPNum;
+    }
+    var sortLink = $("sa_" + readAln.gi);
+    readAln.hspSort = (sortLink) ? parseInt(sortLink[sortLink.selectedIndex].value) : 0;
+    SendReadSeqAlinSortHSPRequest(readAln);
+}
+
+function ReadNextHSPSetEvt(e, currSeqInd, currHSPNum) {
+    ReadNextHSPSet(currSeqInd, currHSPNum);    
+    utils.preventDefault(e);
+}
+
+
+
+function checkAutoAlignArray() {
+    var stop = false;
+    var start = false;
+    var currAlignViewPos = $("alignView").getBoundingClientRect().top;
+    if (currAlignViewPos < g_alignViewPos) {//scrolling down
+        g_alignViewPos = currAlignViewPos;
+        if (g_DisableAutoCheck) {
+            g_DisableAutoCheck = false;
+            return;
+        }        
+        for (i = 0; i < g_autoStopIdx.length; i++) {
+            if (elementInViewport($("alnHdr_" + $("deflnDesc_" + g_autoStopIdx[i]).getAttribute("seqID")))) {
+                //alert("Reading more aligns scrolling down!");
+                var nextInd = parseInt(g_autoStopIdx[i] + 1);
+                var currInd = g_autoStopIdx[i];
+                if ($("deflnDesc_" + nextInd) && (!$("deflnDesc_" + nextInd).getAttribute("stat") || $("deflnDesc_" + nextInd).getAttribute("stat") == "")) {
+                    ReadNextSeqAligns(currInd, 5);
+                    stop = true;
+                    break;
+                }
+            }
+        }
+        if (stop) g_autoStopIdx.splice(i, 1); //delete index from the array
+    }
+    else if (currAlignViewPos > g_alignViewPos) {//scrolling up
+        g_alignViewPos = currAlignViewPos;
+        //here maybe return if autoStop found!!!
+        /* commenting automic read when scroll up */
+        for (i = 0; i < g_autoStartIdx.length; i++) {
+            if (elementInViewport($("alnHdr_" + $("deflnDesc_" + g_autoStartIdx[i]).getAttribute("seqID")))) {
+                //alert("Reading more aligns scrolling up!");
+                var currInd = g_autoStartIdx[i];
+                //Check for condition here if go there at all!!! Check if do the same thing as for ReadNext!!!!
+                if (currInd > 1) {
+                    ReadPrevSeqAligns(currInd, 5);
+                    start = true;
+                    break;
+                }
+            }
+        }
+        if (start) g_autoStartIdx.splice(i, 1);
+    }
+    /*end of comment*/
+}
+
+var g_alignViewPos = 0;
+
+function checkAutoAlignLoad() {
+
+
+    checkAutoAlignArray();
+
+    if (jQuery($($(window))).scrollTop() + jQuery($($(window))).height() >= jQuery($($(document))).height() - 100) {
+        //alert("bottom!");       
+
+        if ($("alnShowReal_" + g_MaxReadMessageIndex) && $("alnShowReal_" + g_MaxReadMessageIndex).innerHTML != "") {
+            //if(!$("alnShow_" + maxReadMessageIndex)) {//g_MaxReadMessageIndex
+            ReadNextSeqAligns(g_MaxDisplayedIndex, 5);
+        }
+    }
+}
+
+
+function GetPatternLocResults()
+{
+    form = $("results");
+    if (!form.PHI_PTTRN_INDEX) {
+        var el = document.createElement("input");
+        el.name = "PHI_PTTRN_INDEX";
+        el.value = $("phiPtInd")[$("phiPtInd").selectedIndex].value;
+        form.appendChild(el);
+    }
+    else {
+        form.PHI_PTTRN_INDEX.value = $("phiPtInd")[$("phiPtInd").selectedIndex].value;
+    }
+    form.submit();
+}
+
+function goToNextHSP(elem, next) {    
+    var par = jQuery(elem).parent(); //parent span with class="alnParLinks"
+    var parts = par[0].id.split("_"); //"hsp<seqid>_hspnum "hsp207524544_2"
+    if (parts[0].indexOf("nxHsp") != -1) {
+        parts[0] = parts[0].replace("nxHsp", "hsp");
+    }
+    nextID = (next) ? parts[0] + "_" + (parseInt(parts[1]) + 1) : parts[0] + "_" + (parseInt(parts[1]) - 1)
+    
+    gotoElem = jQuery($(nextID));
+    if (gotoElem[0]) {
+        a = jQuery(gotoElem).offset();
+        window.scroll(0, a.top);
+    }
+    
+    else {
+        retrieveNextHSP(parts[0],parts[1]);
+    }
+    
+}
+
+
+//parts[0]//hsp<seqid>,    parts[1] hspnum
+function retrieveNextHSP(currLinkID, currHSPNum) 
+{
+    var desLineID = currLinkID.replace("hsp", "dtr_"); //tr id
+    var currSeqInd, totalHsps;
+    jQuery($($(desLineID))).find(".deflnDesc").each(function(index) {
+        currSeqInd = parseInt(this.getAttribute("ind"));
+        totalHsps = parseInt(this.getAttribute("hsp"));
+        dynHsps = this.getAttribute("dynHsps");
+    });
+    currHSPNum = parseInt(currHSPNum);
+    if (currHSPNum < totalHsps && dynHsps) {        
+        ReadNextHSPSet(currSeqInd, currHSPNum);
+    }
+}
+/********Adding those functions back to formatRes.js to identify Uncaught ReferenceError: getUrlCompForCheckedField is not defined error********************************/
+function getUrlCompForEntryField(elem) {
+    var url = "";
+    if (elem && elem.value != "") {
+        url = "&" + elem.name + "=" + escape(elem.value);
+    }
+    return url;
+}
+
+
+function getUrlCompForCheckedField(elem) {
+    var url = "";
+    if (elem && elem.checked) {
+        url = "&" + elem.name + "=" + elem.value;
+    }
+    return url;
+
+}
+
+function getUrlCompForOptionsField(elem) {
+    var url = "";
+    if (elem) {
+        url = "&" + elem.name + "=" + elem[elem.selectedIndex].value;
+    }
+    return url;
+}
+/****************************************/
+
+function constructFormatParams() {
+    var formatParams = "";
+
+    if ($("queryList")) {
+        formatParams += "&QUERY_INDEX=" + $("queryList")[$("queryList").selectedIndex].value;
+    }
+
+    
+    formatParams += getUrlCompForCheckedField($("FormatForm").SHOW_LINKOUT);
+    formatParams += getUrlCompForCheckedField($("FormatForm").SHOW_CDS_FEATURE);
+    formatParams += getUrlCompForCheckedField($("FormatForm").NCBI_GI);
+    formatParams += getUrlCompForOptionsField($("FormatForm").ALIGNMENT_VIEW);
+    formatParams += getUrlCompForOptionsField($("FormatForm").MASK_CHAR);
+    formatParams += getUrlCompForOptionsField($("FormatForm").MASK_COLOR);    
+    formatParams += getUrlCompForEntryField($("FormatForm").EXPECT_LOW);
+    formatParams += getUrlCompForEntryField($("FormatForm").EXPECT_HIGH);
+    formatParams += getUrlCompForEntryField($("FormatForm").PERC_IDENT_LOW);
+    formatParams += getUrlCompForEntryField($("FormatForm").PERC_IDENT_HIGH);
+    formatParams += getUrlCompForEntryField($("FormatForm").LINE_LENGTH);
+    
+
+    formatParams += getHiddenFieldParamString("BUILD_NAME");
+    
+    var serviceType = "";
+    if ($("serviceType").value == "sra") {
+        serviceType = "sra";
+    }
+    else if ($("clientType").value == "TMSmart_restricted") {
+        serviceType = "restricted";
+    }
+    if (serviceType != "") {
+        formatParams += "&BOBJSRVC=" + serviceType;
+    }
+    if ($("currQuery").value != "") {
+        formatParams += "&CURR_QUERY_ID=" + $("currQuery").value;
+    }
+    
+    return formatParams;
+}
+
+//readAln.seqList contains one gi only for this
+function SendReadSeqAlinSortHSPRequest(readAln) {
+    blastUrl = "t2g.cgi";    
+    var rp = new RemoteDataProvider(blastUrl);
+
+
+    rp.onSuccess = function(obj) {
+        var moreHspsLink = (readAln.hasOwnProperty("AlignDbPageNum")) ? getNextHspsLink(readAln) : "";        
+        var alnHtml = obj.responseText + moreHspsLink;
+        initHSPRequest(readAln, obj.responseText + moreHspsLink,false);        
+        if (readAln.scrollToSeqID) {
+            location.href = "#" + readAln.scrollToSeqID;
+        }                
+    };
+    rp.onError = function(obj) {        
+        var currHspInd = (readAln.hasOwnProperty("AlignDbPageNum")) ? readAln.AlignDbPageSize * readAln.AlignDbPageNum : 0;
+        var msgID = "erm_" + readAln.gi + "_" + (currHspInd + 1);
+        if (!$(msgID)) {
+            var msg = "<div class=\"erm\" att=\"1\" id=\"" + msgID + "\">Error loading alignment ...<span class=\"db\">status:" + obj.status +
+                          "</span><a class=\"gbd\" href=\"#\" onclick=\"ReadNextHSPSetEvt(event," + readAln.startIndex + "," + currHspInd + 
+                          ")\">Try again <span class=\"attmt\"></span> <\a></div>";
+            initHSPRequest(readAln, msg, true);
+        }
+        else {
+            var attNum = parseInt($(msgID).getAttribute("att")) + 1;
+            $(msgID).setAttribute("att", attNum);
+            jQuery($(msgID)).find(".attmt").each(function(index) {
+                jQuery(this).html(", attempt " + attNum);
+            });
+        }
+    }
+    
+    var params = constructURLParams(readAln);
+    if (readAln.AlignDbPageSize) {    
+        params += "&TOTAL_HSPS=" + $("deflnDesc_" + readAln.startIndex).getAttribute("hsp");
+    }    
+    params += "&SORT_ONE_ALN=on";
+    var formatParams = constructFormatParams();
+        
+    params += formatParams;
+    
+    //alert(params);
+    rp.Request(params);
+}
+function initHSPRequest(readAln, alnHtml, err) {
+    var currHspInd = (readAln.hasOwnProperty("AlignDbPageNum")) ? readAln.AlignDbPageSize * readAln.AlignDbPageNum : 0;    
+    if (currHspInd != 0) {
+        readAln.insertAfterID = "ar_" + readAln.gi + "_" + currHspInd;
+        jQuery($(readAln.insertAfterID)).after(alnHtml);
+        moreHspsID = "nxHsp" + readAln.gi + "_" + (currHspInd + 1);
+        jQuery($(moreHspsID)).remove();
+        if (!err) {
+            errMsgID = "erm_" + readAln.gi + "_" + (currHspInd + 1);
+            jQuery($(errMsgID)).remove();            
+        }
+    }
+    else {
+        jQuery($("alnAll_" + readAln.gi)).html(alnHtml);
+    }    
+}
+
+function SortHSPAlnSel(e, sortLink) {//example id="sa_207524544"
+    var readAln = new Object();
+
+    
+    var desLineID = sortLink.id.replace("sa", "dtr"); //tr id
+    var seqInd;
+
+    jQuery($($(desLineID))).find(".deflnDesc").each(function(index) {        
+        seqInd = this.getAttribute("ind");
+    });    
+    
+    ReadNextHSPSet(parseInt(seqInd), 0);
+}
+
+
+function configDescriptions(e,btn,dlgId) 
+{
+    var suffix = PsiBelowThresh(dlgId);    
+    var colmnsInfId = "cfcDsInf" + suffix;
+    var tblID = "dscTable" + suffix; //"dscTable[_psiw]"
+    var showAllColId = "shcl" + suffix;    
+    var chkBoxes = $C("checkbox", "type", $(dlgId), "input");
+    if (!utils.hasClass(btn, "cnc")) $(colmnsInfId).value = "";    
+    for (i = 0; i < chkBoxes.length; i++) {
+        var check;
+        if (utils.hasClass(btn, "cnc")) {//cancel
+            if ($(colmnsInfId).value.indexOf(chkBoxes[i].value) != -1 && !chkBoxes[i].checked) {
+                check = true;
+            }
+            else if ($(colmnsInfId).value.indexOf(chkBoxes[i].value) == -1 && chkBoxes[i].checked) {
+                check = false;
+            }
+        }
+        else if (utils.hasClass(btn, "rdf") && !chkBoxes[i].checked) {
+            check = true;
+        }
+        if (typeof (check) != 'undefined') {
+            chkBoxes[i].checked = check;
+            showHideCol(tblID,parseInt(chkBoxes[i].value), !check);
+        }
+        if (!utils.hasClass(btn, "cnc")) {
+            if (chkBoxes[i].checked) { //OK
+                if ($(colmnsInfId).value != "") $(colmnsInfId).value += ",";
+                $(colmnsInfId).value += chkBoxes[i].value;
+            }
+        }
+    }
+    if ($(colmnsInfId).value != $(colmnsInfId).getAttribute("defval")) {//defval = "2,3,4,5,6,7,8"
+        jQuery($(showAllColId)).removeClass("hidden");
+    }
+    else {
+        jQuery($(showAllColId)).addClass("hidden");
+    }
+
+    var chConfig = $("cfcDsSave").value != $(colmnsInfId).value;
+    
+    var cfds = document.getElementsByName("CONFIG_DESCR");        
+    if (cfds) {
+        for (i = 0; i < cfds.length; i++) {
+            cfds[i].value = $(colmnsInfId).value;
+        }
+    }    
+    $("cfcDsSave").value = $(colmnsInfId).value;
+    if (chConfig) SaveConfigTable();
+    jQuery(document.body).click();
+    utils.preventDefault(e);
+}
+
+
+
+function initDescConfig() 
+{
+    initConfigColumns("dsConfig");
+    if ($("psiw") && utils.hasClass($("psiw"), "shown")) {
+        initConfigColumns("dsConfig_psiw");
+    }        
+}
+
+
+function initConfigColumns(cnfDlgID) 
+{
+    var suffix = PsiBelowThresh(cnfDlgID);
+    //cnfDlgID is "dsConfig[_psiw]"
+    var colmnsInfId = "cfcDsInf" + suffix;
+    var tblID = "dscTable" + suffix; //"dscTable[_psiw]"
+    var showAllColId = "shcl" + suffix;
+    
+    if (navigator.userAgent.match(/ie/i)) {
+        if ($("FormatForm").NCBI_GI.checked || $("serviceType").value == "sra") {        
+            jQuery($(tblID)).find("th.c1").each(function(index) {            
+                db = getHiddenFieldVal("DATABASE");
+                var width = (db.match(/WGS/i) || db.match(/Whole_Genome_Shotgun_contigs/i)) ? "16em" : "14em";
+                jQuery(this).css("width", width);
+            });        
+        }
+    }
+
+    jQuery($(tblID)).find("tr.first").each(function(index) {
+        jQuery(this).find("a.dcs").each(function(index) {        
+           jQuery(this).bind("click", function(e) { checkConfig(this); });           
+        });
+    });
+
+    jQuery($(cnfDlgID)).find("button").each(function(index) {
+        jQuery(this).bind("click", function(e) { configDescriptions(e, this, cnfDlgID); });
+    });
+
+        
+    jQuery($(cnfDlgID)).bind("click", function(e) { e.stopPropagation(); });
+
+    $(colmnsInfId).value = getHiddenFieldVal("CONFIG_DESCR");
+    if ($(colmnsInfId).value == "" || $(colmnsInfId).value == "undefined") {
+        $(colmnsInfId).value = $(colmnsInfId).getAttribute("defval");
+    }
+    if ($(colmnsInfId).value != $(colmnsInfId).getAttribute("defval")) {//defval = "2,3,4,5,6,7,8"
+        jQuery($(showAllColId)).removeClass("hidden");
+    }    
+    else {
+        jQuery($(showAllColId)).addClass("hidden");
+    }
+    var chkBoxes = $C("checkbox", "type", $(cnfDlgID), "input")
+    for (i = 0; i < chkBoxes.length; i++) {
+        jQuery(chkBoxes[i]).bind("click", configColumn);
+        if ($(colmnsInfId).value.indexOf(chkBoxes[i].value) != -1) {
+            chkBoxes[i].checked = true;
+        }
+        else {
+            //jQuery($(tblID)).ncbigrid("hideColumn", chkBoxes[i].value);
+            showHideCol($(tblID), chkBoxes[i].value, true); 
+        }
+    }
+}
+function showAllCol(e,elem) 
+{
+    var suffix = PsiBelowThresh(elem.id);
+    var rdf = "dscRsDf" + suffix;
+    jQuery($(rdf)).click();//click "restore defaults'
+    utils.preventDefault(e);
+}
+
+
+function configColumn() {
+    var suffix = PsiBelowThresh(this.id);
+    var tblID = "dscTable" + suffix; //"dscTable[_psiw]"
+    
+    cCls = "c" + this.value;
+    if (this.checked) {//show        
+        showHideCol(tblID,parseInt(this.value), false);        
+    }
+    else {
+        showHideCol(tblID,parseInt(this.value), true);        
+    }
+}
+
+function showHideCol(tblID, columnIndex, hide) {
+
+    if ($("Transcr")) {
+        colHidden = utils.hasClass($("c" + columnIndex), "ui-ncbigrid-column-hidden");
+        hide = hide && !colHidden;
+        show = !hide && colHidden;
+    }
+    else {
+        show = !hide;
+    }    
+    if (hide) {
+        jQuery($(tblID)).ncbigrid("hideColumn", columnIndex);        
+    }
+    else if (show) {
+        jQuery($(tblID)).ncbigrid("showColumn", columnIndex);    
+    }
+    if ($("Transcr") && (hide || show) ) {
+        var colsp = parseInt($("Transcr").getAttribute("colspan"));
+        colsp = (hide) ? colsp - 1 : colsp + 1;
+        $("Transcr").setAttribute("colSpan", colsp);
+        if ($("GnmSeq")) $("GnmSeq").setAttribute("colSpan", colsp);
+    }
+}
+
+function checkConfig(lnk) {
+    var cnfCol = "&CONFIG_DESCR=" + $("cfcDsSave").value;
+    lnk.href = lnk.href + cnfCol + "#sort_mark";    
+}
+
+function DisplayAlignFromGraphics(seqID,e) //SeqID = gi if exists
+{
+    var dflLineLinks = $C(seqID, "gi", document, "a");    
+    for (i = 0; i < dflLineLinks.length; i++) {
+        jQuery(dflLineLinks[i]).click();
+        break;
+    }    
+    location.href = dflLineLinks[i].href;
+}
+
+
+
+function initDescSelect() 
+{
+
+    jQuery("#cntDesc").find("a").each(function(index) {
+        jQuery(this).bind("click", configDescrSelect);
+    });
+    jQuery("#cntSelN").click();
+    jQuery("#descTblCtrl").find("a[view]").each(function(index) {
+        jQuery(this).bind("click", DisplaySelectedView);
+    });
+    if ($("psiw") && utils.hasClass($("psiw"), "shown")) {
+        jQuery("#cntDesc_psiw").find("a").each(function(index) {
+            jQuery(this).bind("click", configDescrSelect);
+        });
+        jQuery("#cntSelN_psiw").click();
+        jQuery("#descTblCtrl_psiw").find("a[view]").each(function(index) {
+            jQuery(this).bind("click", DisplaySelectedView);
+        });
+    }
+    
+    
+    //jQuery("#dsConfig").bind("click", function(e) { e.stopPropagation(); });??
+
+}
+
+function DisplaySelectedView(e) {
+    if (this.getAttribute("view") == "graph") {    //seqviewer
+        ViewSelectedSeqViewer(e,this);
+    }
+    else {
+        if (this.getAttribute("view") == "tree") {    //seqviewer
+            $("scrWidth").value = screen.width;
+            $("scrHeight").value = screen.height;
+        }
+        ViewSelectedSeqsEx(e, this);
+    }
+}
+
+function PsiBelowThresh(elemID) 
+{
+    var suffix = "";
+    if (elemID.indexOf("_psiw") != -1) {
+        suffix = "_psiw";
+    }
+    return suffix;
+}
+
+function ViewSelectedSeqsEx(e,elem) {
+    var sbmForm = elem.getAttribute("frm");
+    var seqList = elem.getAttribute("seqList");
+
+    var cnfElem = utils.getParent(elem); //.cnf div    
+    var suffix = PsiBelowThresh(cnfElem.id);
+    var tblID = "dscTable" + suffix;
+
+    $(seqList).value = createSelseqString(tblID,true);
+    $(seqList).value = $(seqList).value.replace(/ti:/g, ""); //For traces
+    if ($(seqList).value.indexOf("dbSNP") != -1) {
+        $(seqList).value = $(seqList).value.replace(/dbSNP:rs/g, ""); //For snp
+        elem.href = $(sbmForm).action + $(seqList).value;
+        elem.target = "new";
+    }
+    else {
+        $(sbmForm).submit();
+        utils.preventDefault(e);
+    }    
+}
+
+function ViewSelectedSeqsTree(e) {
+    $("scrWidth").value = screen.width;
+    $("scrHeight").value = screen.height;
+}
+
+function initSeqViewerGet(seqList) {
+    if (seqList.length >= 2000) {    
+        seqList = seqList.substr(0,2000);
+        lastComma = seqList.lastIndexOf(",");
+        seqList = seqList.substr(0,lastComma);             
+    }
+    $("seqViewParams").name = "RID";
+    $("seqViewParams").value = $("ridParam").value + "[" + seqList + "]";
+}
+
+function ViewSelectedSeqViewer(e, elem) 
+{
+    var cnfElem = utils.getParent(elem); //.cnf div    
+    var suffix = PsiBelowThresh(cnfElem.id);
+    var tblID = "dscTable" + suffix;
+
+    //change to false when new verison of seqVier is installed in production
+    var seqList = createSelseqString(tblID, false);
+    $("sbmtGraphics").action = $("seqViewUrl").value;
+    
+    var rp = new RemoteDataProvider("url2nc.cgi");
+    rp.onSuccess = function(obj) {
+        var jsnResp = JSON.parse(obj.responseText);
+        ncid = jsnResp.ncid;
+
+        if (ncid != "") {
+            $("seqViewParams").name = "rkey";
+            $("seqViewParams").value = ncid;
+        }
+        else {
+            initSeqViewerGet(seqList);
+        }
+        $("sbmtGraphics").submit();        
+    };
+    rp.onError = function(obj) {
+        initSeqViewerGet(seqList);
+        $("sbmtGraphics").submit();
+        utils.preventDefault(e);   
+    }
+    var params = $("ridParam").value + "[" + seqList + "]";    
+    rp.Request(params, "POST");
+    utils.preventDefault(e);   
+}
+
+function configDescrSelect(e) {    
+    var sel = this.getAttribute("sel");    
+    if (sel) {
+        var selNum = 0;
+        var check = (sel == "all") ? true : false;
+
+        var suffix = PsiBelowThresh(this.id);
+        var tblID = "dscTable" + suffix;
+        var toolbarID = "descTblCtrl" + suffix;
+        var selElID = "slcNum" + suffix;
+
+        jQuery($(tblID)).find("input[type='checkbox'].cb").each(function(index) {
+            jQuery(this)[0].checked = check;
+            if (check) selNum++;
+        });
+        enableDescrLinks(selNum, toolbarID, selElID);        
+    }     
+    utils.preventDefault(e);
+}
+
+
+
+function enableDescrLinks(selNum, toolbarID, selElID) {
+    jQuery($(toolbarID)).find("a[minSlct]").each(function(index) {
+        var minSelected = this.getAttribute("minSlct");
+        minSelected = parseInt(minSelected);
+        if (selNum >= minSelected) {
+            this.removeAttribute("disabled");
+        }
+        else {
+            this.setAttribute("disabled", "disabled");
+        }
+    });    
+    $(selElID).innerHTML = selNum;
+}
+
+
+
+function configDescrLinks(e, elem) 
+{
+
+    ncbi.sg.ping(elem, "click", elem.checked ? "checked=true" : "checked=false");     
+    var par = jQuery(elem).parents(".jig-ncbigrid");//parent table
+    if (par) {
+        var suffix = PsiBelowThresh(par[0].id);
+        var tblID = "dscTable" + suffix;
+        var toolbarID = "descTblCtrl" + suffix;
+        var selElID = "slcNum" + suffix;
+        
+        var currSelNum = parseInt($(selElID).innerHTML);
+        var selNum = elem.checked ? currSelNum + 1 : currSelNum - 1;
+        enableDescrLinks(selNum, toolbarID, selElID);
+    }
+}
+/***Download code begin****/
+
+function initDownLoadPopup(dwnDialog) {
+
+    jQuery(dwnDialog).find("button").each(function(index) {        
+        jQuery(this).bind("click", execDownLoad);        
+    });
+
+    jQuery(dwnDialog).bind("click", function(e) { e.stopPropagation(); });
+}
+
+function initDescDownLoad() {
+    initDownLoadPopup($("dsDownload"));
+
+    if ($("psiw") && utils.hasClass($("psiw"), "shown")) {
+        initDownLoadPopup($("dsDownload_psiw"));        
+    }
+}
+
+function initAlignDownLoad(navObj) 
+{
+    var seqID = navObj.seqID;
+    var dwnDialog = $("dlgDwnl_" + seqID);
+    jQuery(dwnDialog).find("button").each(function(index) {        
+        jQuery(this).bind("click", execDownLoad);        
+    });
+
+    var dwnFSTW = $("dwFST_" + seqID);//whole seq
+    var dwnFSTAl = $("dwFSTAl_" + seqID);//aligned regions
+    
+    if(dwnFSTW) dwnFSTW.setAttribute("seqfsta", navObj.currSeqID); 
+    if(dwnFSTAl) dwnFSTAl.setAttribute("seqfsta", navObj.currSeqID); 
+    
+    jQuery(dwnDialog).bind("click", function(e) { e.stopPropagation(); });    
+}
+
+    
+function execDownLoad(e) {
+    if (!utils.hasClass(this, "cnc")) {
+        par = utils.getParent(this);
+        dwnDialog = utils.getParent(par); //parent dialog with popDl class
+        var descr = (this.id == "dw_cont" || this.id == "dw_cont_psiw") ? true : false;
+        jQuery(dwnDialog).find("input").each(function(index) {
+            if (this.checked) {
+                submitDownLoad(this, descr);
+            }
+        });
+    }
+    jQuery(document.body).click();
+    utils.preventDefault(e);      
+}
+
+function submitDownLoad(radioElem, descr) {    
+    var toolURL = radioElem.getAttribute("url");
+    if (toolURL) {
+        if (descr) {
+            var getGi = radioElem.getAttribute("getGi");
+            getGi = (getGi) ? true : false;
+            
+            var tblID = "dscTable";
+            var suffix = PsiBelowThresh(radioElem.id);
+            tblID += suffix;
+
+            $("selDnSeqs").value = createSelseqString(tblID,getGi);
+        }
+        else {
+            var seqfsta = radioElem.getAttribute("seqfsta");
+            $("selDnSeqs").value = (seqfsta) ? seqfsta : radioElem.getAttribute("getGi");
+        }
+        var addParams = "";
+        if (radioElem.getAttribute("addParam")) {
+            addParams = addDwnlParams();
+        }
+        var submitName = radioElem.getAttribute("sbName")
+        $("selDnSeqs").name = (submitName) ? submitName : "ALIGN_SEQ_LIST";
+        $("dwdlSubmit").action = toolURL + addParams;
+        $("dwdlSubmit").submit();
+    }       
+    else {
+        var sbFunction = radioElem.getAttribute("sbFunc");        
+        if (sbFunction) {
+            eval(sbFunction + "(radioElem, descr)");
+        }        
+    }
+}
+
+
+function initDownLoadFSTA(radioElem, descr) 
+{
+    if (descr) {
+    
+        var tblID = "dscTable";
+        var suffix = PsiBelowThresh(radioElem.id);
+        tblID += suffix;
+
+        $("sbmtFASTA").ALIGN_SEQ_LIST.value = createSelseqString(tblID,false);
+    }
+    else {        
+        $("sbmtFASTA").ALIGN_SEQ_LIST.value = radioElem.getAttribute("seqfsta");
+    }
+    $("sbmtFASTA").DOWNLOAD_TYPE.value = radioElem.getAttribute("fstaDWType");
+    
+    $("sbmtFASTA").DATABASE.value = getHiddenFieldVal("DATABASE");
+    if ($("useAlignDB") && $("useAlignDB").value == "true") {//temp checkbox    
+        var batchID = document.getElementsByName("ALIGNDB_BATCH_ID");
+        if (batchID) {
+            $("sbmtFASTA").ALIGNDB_BATCH_ID.value = getHiddenFieldVal("ALIGNDB_BATCH_ID");
+            $("sbmtFASTA").ALIGNDB_MASTER_ALIAS.value = getHiddenFieldVal("ALIGNDB_MASTER_ALIAS");
+            $("sbmtFASTA").ALIGNDB_CGI_HOST.value = getHiddenFieldVal("ALIGNDB_CGI_HOST");
+            $("sbmtFASTA").ALIGNDB_CGI_PATH.value = getHiddenFieldVal("ALIGNDB_CGI_PATH");
+        }
+    }
+    $("sbmtFASTA").submit();    
+}
+
+function createSelseqString(tblID,getGi) {    
+    var selSeqs = "";
+    jQuery($(tblID)).find("input[type='checkbox'].cb").each(function(index) {
+        if (jQuery(this)[0].checked) {
+            if (selSeqs != "") selSeqs += ",";
+            if (getGi) {
+                selSeqs += jQuery(this)[0].value;
+            }
+            else {
+                var linkID = jQuery(this)[0].id.replace("chk", "deflnDesc");
+                selSeqs += $(linkID).getAttribute("seqFSTA");
+            }
+        }
+    });
+    return selSeqs;
+}
+
+/***Download code end****/
+
+/***Init navigation code begin **/
+
+function initNavigation(navObj) {    
+    initNextAlnLink(navObj, true);
+    initNextAlnLink(navObj, false);        
+}
+
+
+function initNavInfo(navObj) {
+    var currInd = parseInt($("dtr_" + navObj.seqID).getAttribute("ind"));
+    nextInd = currInd + 1;
+    prevInd = currInd - 1;
+    
+    navObj.currSeqID = "";
+    navObj.nextSeqID = "";
+    navObj.prevSeqID = "";
+        
+    if ($("deflnDesc_" + nextInd)) {
+        navObj.nextSeqID = $("deflnDesc_" + nextInd).getAttribute("accs");
+        if(navObj.nextSeqID =="") navObj.nextSeqID = $("deflnDesc_" + nextInd).getAttribute("seqFSTA");
+    }
+    if ($("deflnDesc_" + prevInd)) {
+        navObj.prevSeqID = $("deflnDesc_" + prevInd).getAttribute("accs");
+        if (navObj.prevSeqID == "") navObj.prevSeqID = $("deflnDesc_" + prevInd).getAttribute("seqFSTA");
+    }
+    if ($("deflnDesc_" + currInd)) {
+        navObj.currSeqID = $("deflnDesc_" + currInd).getAttribute("seqFSTA");        
+    }
+}
+
+
+function initNextAlnLink(navObj, next) {
+
+    var nextLinkEl = (next) ? $("alnNxt_" + navObj.seqID) : $("alnPrv_" + navObj.seqID);
+    var nextSeqid = (next) ? navObj.nextSeqID : navObj.prevSeqID;
+    
+    if (nextLinkEl) {
+        if (nextSeqid != "") {
+            var text = (next) ? "next" : "previous";
+            nextLinkEl.setAttribute("title", "Go to " + text + " alignment for " + nextSeqid);
+        }
+        else {
+            nextLinkEl.setAttribute("disabled", "disabled");
+        }
+    }
+}
+function scan(link) {
+    var init = link.getAttribute("init");
+    if (!init) {
+        ncbi.sg.scanLinks(link);
+        link.setAttribute("init","on");
+    }
+}
+
+function initWidth(seqID) {
+    var lineLengthElem = $("FormatForm").LINE_LENGTH;
+    var lineLength = parseInt(lineLengthElem[lineLengthElem.selectedIndex].value);
+    if (parseInt(lineLengthElem.getAttribute("defval")) == lineLength) return;
+    
+    var relWidth = (lineLength > 90) ? "12%" : "15%";
+    var charWidth = (navigator.userAgent.match(/ie/i)) ? 8 : 7;
+    lineLength = (lineLength + parseInt(17)) * charWidth;
+    var width = lineLength + "px";
+    jQuery($("alnAll_" + seqID)).find("div.dflLnk").each(function(index) {
+        jQuery(this).css("width", width);
+    });
+    jQuery($("alnAll_" + seqID)).find("table.alnParams").each(function(index) {
+        jQuery(this).css("width", width);
+    });    
+    jQuery($("relInf_" + seqID)).css("width", relWidth);
+}
+
+
+/***Init navigation code end **/
+function initAlignBatch(seqID)
+{
+    var navObj = new Object();
+    navObj.seqID = seqID;
+    initNavInfo(navObj);
+
+    initAlignDownLoad(navObj);
+    initNavigation(navObj);
+    ncbi.sg.scanLinks($("alnNxt_" + seqID));
+    ncbi.sg.scanLinks($("alnPrv_" + seqID));
+    if ($("serviceType").value == "vecscreen") {
+        utils.addClass($("alnDsc_" + seqID), "hidden");
+    }
+    ncbi.sg.scanLinks($("alnDwnld_" + seqID));
+    jQuery($("csLinks_" + seqID)).find("a").each(function(index) {
+        ncbi.sg.scanLinks(this);
+    });
+    jQuery($("relInf_" + seqID)).find("a").each(function(index) {
+        ncbi.sg.scanLinks(this);
+    });
+    jQuery($("rng_" + seqID)).find("a").each(function(index) {
+        ncbi.sg.scanLinks(this);
+    });
+    jQuery($("dln_" + seqID)).find("a").each(function(index) {
+        ncbi.sg.scanLinks(this);
+    });
+    initWidth(seqID); 
+/*        
+    jQuery($("alnHdr_" + seqID)).find("a").each(function(index) {
+        ncbi.sg.scanLinks(this);
+    });
+    jQuery($("aln_" + seqID)).find("a").each(function(index) {
+        ncbi.sg.scanLinks(this);
+    });
+*/    
+}
+
+function SaveConfigTable() {
+    blastUrl = "fmtsave.cgi";
+    
+
+    var rp = new RemoteDataProvider(blastUrl);
+
+
+    rp.onSuccess = function(obj) {
+        //alert("success");
+    };
+    rp.onError = function(obj) {
+        //alert("error");
+    }    
+
+    var program = getHiddenFieldVal("PROGRAM");
+    var rid = getHiddenFieldVal("RID");
+    var blastSpec = getHiddenFieldVal("BLAST_SPEC");
+    var params = "CMD=Get&RID=" + rid + "&ViewReport=on&PROGRAM=" + program + "&SAVE_INDV_FRM_OPTION=on&CONFIG_DESCR=" + $("cfcDsSave").value;
+    if(blastSpec) {
+        params += "&BLAST_SPEC=" + blastSpec;
+    }     
+    rp.Request(params,"POST");
+}
+
+function removeRID() {
+    var rid = document.getElementsByName("RID");
+    for (var i = 0; i <= rid.length; i++) {
+        jQuery(rid[i]).remove();        
+    }
+}
+
+function initAdvancedView()
+{
+    if ($("dsConfig")) {
+    
+        var alnView = getHiddenFieldVal("ALIGNMENT_VIEW");
+        if (alnView == "Pairwise" || alnView == "PairwiseWithIdentities") {
+            var rid = getHiddenFieldVal("RID");        
+            ReadNextSeqAligns(0, 5);            
+            g_alignViewPos = $("alignView").getBoundingClientRect().top;
+            utils.addEvent(window, "scroll", checkAutoAlignLoad, false);
+        }
+        list = $("phiPtInd");
+        if (list) {
+            utils.addEvent(list, "change", GetPatternLocResults, false);
+        }                
+        initDescConfig();
+        initDescSelect();
+        initDescDownLoad();
+        if ($("psiInp")) {
+            var nextIter = document.getElementsByName("NEXT_I");
+            for (var i = 0; i < nextIter.length; i++) {
+                utils.addEvent(nextIter[i], "click", removeRID, false);
+            }
+        }
+    }
+}
+
+//takes care of jQuery calls to elements that have dots in id like id= "SRA34456.3.4"
+function initjQry() 
+{
+    var oldCreate = jQuery.ui.ncbipopper.prototype._create;
+    jQuery.ui.ncbipopper.prototype._create = function() {
+        var destSelector = this.options.destSelector || this.options.sourceSelector || this.element.prop("hash");
+        this.options.destSelector = destSelector.replace(/\./g, "\\.");
+        oldCreate.apply(this, arguments);
+    }
+}
+utils.addEvent(window,
+				"load", initAdvancedView,
+				false);
+
+initjQry()
+
+/* If user agent has "safari" in it, include safari-specific stylesheet. */
+if (navigator.userAgent.match(/ie/i)) {
+    document.write("<link rel='stylesheet' type='text/css' href='css/ie-descriptions.css'  media='screen'/>");
+}
+/*****************************new code end*********************************************************************/
Binary file NCBI Blast reference example_files/helix.gif has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jig.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+.ui-helper-hidden{display:none;}.ui-helper-hidden-accessible{position:absolute;left:-99999999px;}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none;}.ui-helper-clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.ui-helper-clearfix{display:inline-block;}/* required comment for clearfix to work in Opera \*/ * html .ui-helper-clearfix{height:1%;}.ui-helper-clearfix{display:block;}/* end clearfix */ .ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0);}.ui-state-disabled{cursor:default!important;}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget{font-size:1.1em;}.ui-widget-content{border:1px solid #aaa;background:#fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222;}.ui-widget-content a{color:#222;}.ui-widget-header{border:1px solid #aaa;background:#ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:bold;}.ui-widget-header a{color:#222;}.ui-state-default,.ui-widget-content .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555;}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none;}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus{border:1px solid #999;background:#dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-hover a,.ui-state-hover a:hover{color:#212121;text-decoration:none;}.ui-state-active,.ui-widget-content .ui-state-active{border:1px solid #aaa;background:#fff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121;}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none;}.ui-state-highlight,.ui-widget-content .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636;}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a{color:#363636;}.ui-state-error,.ui-widget-content .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a;}.ui-state-error a,.ui-widget-content .ui-state-error a{color:#cd0a0a;}.ui-state-error-text,.ui-widget-content .ui-state-error-text{color:#cd0a0a;}.ui-priority-primary,.ui-widget-content .ui-priority-primary{font-weight:bold;}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal;}.ui-state-disabled,.ui-widget-content .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none;}.ui-icon{width:16px;height:16px;background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-content .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png);}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png);}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-active .ui-icon{background-image:url(images/ui-icons_454545_256x240.png);}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png);}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png);}.ui-icon-carat-1-n{background-position:0 0;}.ui-icon-carat-1-ne{background-position:-16px 0;}.ui-icon-carat-1-e{background-position:-32px 0;}.ui-icon-carat-1-se{background-position:-48px 0;}.ui-icon-carat-1-s{background-position:-64px 0;}.ui-icon-carat-1-sw{background-position:-80px 0;}.ui-icon-carat-1-w{background-position:-96px 0;}.ui-icon-carat-1-nw{background-position:-112px 0;}.ui-icon-carat-2-n-s{background-position:-128px 0;}.ui-icon-carat-2-e-w{background-position:-144px 0;}.ui-icon-triangle-1-n{background-position:0 -16px;}.ui-icon-triangle-1-ne{background-position:-16px -16px;}.ui-icon-triangle-1-e{background-position:-32px -16px;}.ui-icon-triangle-1-se{background-position:-48px -16px;}.ui-icon-triangle-1-s{background-position:-64px -16px;}.ui-icon-triangle-1-sw{background-position:-80px -16px;}.ui-icon-triangle-1-w{background-position:-96px -16px;}.ui-icon-triangle-1-nw{background-position:-112px -16px;}.ui-icon-triangle-2-n-s{background-position:-128px -16px;}.ui-icon-triangle-2-e-w{background-position:-144px -16px;}.ui-icon-arrow-1-n{background-position:0 -32px;}.ui-icon-arrow-1-ne{background-position:-16px -32px;}.ui-icon-arrow-1-e{background-position:-32px -32px;}.ui-icon-arrow-1-se{background-position:-48px -32px;}.ui-icon-arrow-1-s{background-position:-64px -32px;}.ui-icon-arrow-1-sw{background-position:-80px -32px;}.ui-icon-arrow-1-w{background-position:-96px -32px;}.ui-icon-arrow-1-nw{background-position:-112px -32px;}.ui-icon-arrow-2-n-s{background-position:-128px -32px;}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px;}.ui-icon-arrow-2-e-w{background-position:-160px -32px;}.ui-icon-arrow-2-se-nw{background-position:-176px -32px;}.ui-icon-arrowstop-1-n{background-position:-192px -32px;}.ui-icon-arrowstop-1-e{background-position:-208px -32px;}.ui-icon-arrowstop-1-s{background-position:-224px -32px;}.ui-icon-arrowstop-1-w{background-position:-240px -32px;}.ui-icon-arrowthick-1-n{background-position:0 -48px;}.ui-icon-arrowthick-1-ne{background-position:-16px -48px;}.ui-icon-arrowthick-1-e{background-position:-32px -48px;}.ui-icon-arrowthick-1-se{background-position:-48px -48px;}.ui-icon-arrowthick-1-s{background-position:-64px -48px;}.ui-icon-arrowthick-1-sw{background-position:-80px -48px;}.ui-icon-arrowthick-1-w{background-position:-96px -48px;}.ui-icon-arrowthick-1-nw{background-position:-112px -48px;}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px;}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px;}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px;}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px;}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px;}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px;}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px;}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px;}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px;}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px;}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px;}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px;}.ui-icon-arrowreturn-1-w{background-position:-64px -64px;}.ui-icon-arrowreturn-1-n{background-position:-80px -64px;}.ui-icon-arrowreturn-1-e{background-position:-96px -64px;}.ui-icon-arrowreturn-1-s{background-position:-112px -64px;}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px;}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px;}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px;}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px;}.ui-icon-arrow-4{background-position:0 -80px;}.ui-icon-arrow-4-diag{background-position:-16px -80px;}.ui-icon-extlink{background-position:-32px -80px;}.ui-icon-newwin{background-position:-48px -80px;}.ui-icon-refresh{background-position:-64px -80px;}.ui-icon-shuffle{background-position:-80px -80px;}.ui-icon-transfer-e-w{background-position:-96px -80px;}.ui-icon-transferthick-e-w{background-position:-112px -80px;}.ui-icon-folder-collapsed{background-position:0 -96px;}.ui-icon-folder-open{background-position:-16px -96px;}.ui-icon-document{background-position:-32px -96px;}.ui-icon-document-b{background-position:-48px -96px;}.ui-icon-note{background-position:-64px -96px;}.ui-icon-mail-closed{background-position:-80px -96px;}.ui-icon-mail-open{background-position:-96px -96px;}.ui-icon-suitcase{background-position:-112px -96px;}.ui-icon-comment{background-position:-128px -96px;}.ui-icon-person{background-position:-144px -96px;}.ui-icon-print{background-position:-160px -96px;}.ui-icon-trash{background-position:-176px -96px;}.ui-icon-locked{background-position:-192px -96px;}.ui-icon-unlocked{background-position:-208px -96px;}.ui-icon-bookmark{background-position:-224px -96px;}.ui-icon-tag{background-position:-240px -96px;}.ui-icon-home{background-position:0 -112px;}.ui-icon-flag{background-position:-16px -112px;}.ui-icon-calendar{background-position:-32px -112px;}.ui-icon-cart{background-position:-48px -112px;}.ui-icon-pencil{background-position:-64px -112px;}.ui-icon-clock{background-position:-80px -112px;}.ui-icon-disk{background-position:-96px -112px;}.ui-icon-calculator{background-position:-112px -112px;}.ui-icon-zoomin{background-position:-128px -112px;}.ui-icon-zoomout{background-position:-144px -112px;}.ui-icon-search{background-position:-160px -112px;}.ui-icon-wrench{background-position:-176px -112px;}.ui-icon-gear{background-position:-192px -112px;}.ui-icon-heart{background-position:-208px -112px;}.ui-icon-star{background-position:-224px -112px;}.ui-icon-link{background-position:-240px -112px;}.ui-icon-cancel{background-position:0 -128px;}.ui-icon-plus{background-position:-16px -128px;}.ui-icon-plusthick{background-position:-32px -128px;}.ui-icon-minus{background-position:-48px -128px;}.ui-icon-minusthick{background-position:-64px -128px;}.ui-icon-close{background-position:-80px -128px;}.ui-icon-closethick{background-position:-96px -128px;}.ui-icon-key{background-position:-112px -128px;}.ui-icon-lightbulb{background-position:-128px -128px;}.ui-icon-scissors{background-position:-144px -128px;}.ui-icon-clipboard{background-position:-160px -128px;}.ui-icon-copy{background-position:-176px -128px;}.ui-icon-contact{background-position:-192px -128px;}.ui-icon-image{background-position:-208px -128px;}.ui-icon-video{background-position:-224px -128px;}.ui-icon-script{background-position:-240px -128px;}.ui-icon-alert{background-position:0 -144px;}.ui-icon-info{background-position:-16px -144px;}.ui-icon-notice{background-position:-32px -144px;}.ui-icon-help{background-position:-48px -144px;}.ui-icon-check{background-position:-64px -144px;}.ui-icon-bullet{background-position:-80px -144px;}.ui-icon-radio-off{background-position:-96px -144px;}.ui-icon-radio-on{background-position:-112px -144px;}.ui-icon-pin-w{background-position:-128px -144px;}.ui-icon-pin-s{background-position:-144px -144px;}.ui-icon-play{background-position:0 -160px;}.ui-icon-pause{background-position:-16px -160px;}.ui-icon-seek-next{background-position:-32px -160px;}.ui-icon-seek-prev{background-position:-48px -160px;}.ui-icon-seek-end{background-position:-64px -160px;}.ui-icon-seek-start{background-position:-80px -160px;}.ui-icon-seek-first{background-position:-80px -160px;}.ui-icon-stop{background-position:-96px -160px;}.ui-icon-eject{background-position:-112px -160px;}.ui-icon-volume-off{background-position:-128px -160px;}.ui-icon-volume-on{background-position:-144px -160px;}.ui-icon-power{background-position:0 -176px;}.ui-icon-signal-diag{background-position:-16px -176px;}.ui-icon-signal{background-position:-32px -176px;}.ui-icon-battery-0{background-position:-48px -176px;}.ui-icon-battery-1{background-position:-64px -176px;}.ui-icon-battery-2{background-position:-80px -176px;}.ui-icon-battery-3{background-position:-96px -176px;}.ui-icon-circle-plus{background-position:0 -192px;}.ui-icon-circle-minus{background-position:-16px -192px;}.ui-icon-circle-close{background-position:-32px -192px;}.ui-icon-circle-triangle-e{background-position:-48px -192px;}.ui-icon-circle-triangle-s{background-position:-64px -192px;}.ui-icon-circle-triangle-w{background-position:-80px -192px;}.ui-icon-circle-triangle-n{background-position:-96px -192px;}.ui-icon-circle-arrow-e{background-position:-112px -192px;}.ui-icon-circle-arrow-s{background-position:-128px -192px;}.ui-icon-circle-arrow-w{background-position:-144px -192px;}.ui-icon-circle-arrow-n{background-position:-160px -192px;}.ui-icon-circle-zoomin{background-position:-176px -192px;}.ui-icon-circle-zoomout{background-position:-192px -192px;}.ui-icon-circle-check{background-position:-208px -192px;}.ui-icon-circlesmall-plus{background-position:0 -208px;}.ui-icon-circlesmall-minus{background-position:-16px -208px;}.ui-icon-circlesmall-close{background-position:-32px -208px;}.ui-icon-squaresmall-plus{background-position:-48px -208px;}.ui-icon-squaresmall-minus{background-position:-64px -208px;}.ui-icon-squaresmall-close{background-position:-80px -208px;}.ui-icon-grip-dotted-vertical{background-position:0 -224px;}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px;}.ui-icon-grip-solid-vertical{background-position:-32px -224px;}.ui-icon-grip-solid-horizontal{background-position:-48px -224px;}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px;}.ui-icon-grip-diagonal-se{background-position:-80px -224px;}.ui-corner-tl{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;}.ui-corner-tr{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;}.ui-corner-bl{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;}.ui-corner-br{-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-corner-top{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;}.ui-corner-bottom{-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-corner-right{-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;}.ui-corner-left{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;}.ui-corner-all{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.30;filter:Alpha(Opacity=30);-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;}.ui-widget{font-family:arial,"sans-serif"!important;font-size:100%;}.ui-helper-reset{font-size:100%!important;}iframe.ui-ncbi-iframe-fix{position:absolute;top:0;left:0;height:200px;z-index:3000;display:block;filter:alpha(opacity=1);}#ui-datepicker-div{display:none;}.ui-widget-content a{color:#2F4A8B;}.ui-helper-hidden-accessible{left:-10000000px!important;}#jig-ncbi_requires_login iframe{border:none;}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jig.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,265 @@
+(function(){function Ka(){var g=null,j=jQuery.cookie("WebCubbyUser");if(j)if(j.indexOf("logged-in=true")>-1)if(j=j.match(/my-name=([^;]+)/i))g=j[1];return g}function W(g){this.name=this.selector="";this.onPage=false;this.dependsOn=[];this.interactions=[];this.overrideDefaults={};this.addCss=function(){document.write('<link type="text/css" rel="stylesheet" href="'+pa+"css/jquery.ui."+this.name+La+'"/>')};this.addJs=function(){document.write('<script type="text/javascript" src="'+pa+"js/jquery.ui."+
+this.name+Ma+'"><\/script>')};this.addDependent=function(){for(var j=0;j<this.dependsOn.length;j++)qa[this.dependsOn[j]].addToPage()};this.addInteractions=function(){for(var j=0;j<this.interactions.length;j++)document.write('<script type="text/javascript" src="'+pa+"js/jquery.ui."+this.interactions[j]+Ma+'"><\/script>')};this.addToPage=function(){if(!this.onPage){this.addInteractions();this.addDependent();this.addJs();this.addCss();this.onPage=true}};Z.extend(this,g)}if(!(typeof jQuery!=="undefined"&&
+typeof jQuery.ui!=="undefined"&&typeof jQuery.ui.jig!=="undefined")){(function(g,j){function q(a){var b=Za[a]={},d,e;a=a.split(/\s+/);d=0;for(e=a.length;d<e;d++)b[a[d]]=true;return b}function v(a,b,d){if(d===j&&a.nodeType===1){d="data-"+b.replace(Gb,"-$1").toLowerCase();d=a.getAttribute(d);if(typeof d==="string"){try{d=d==="true"?true:d==="false"?false:d==="null"?null:c.isNumeric(d)?parseFloat(d):Hb.test(d)?c.parseJSON(d):d}catch(e){}c.data(a,b,d)}else d=j}return d}function p(a){for(var b in a)if(!(b===
+"data"&&c.isEmptyObject(a[b])))if(b!=="toJSON")return false;return true}function s(a,b,d){var e=b+"defer",f=b+"queue",h=b+"mark",l=c._data(a,e);if(l&&(d==="queue"||!c._data(a,f))&&(d==="mark"||!c._data(a,h)))setTimeout(function(){if(!c._data(a,f)&&!c._data(a,h)){c.removeData(a,e,true);l.fire()}},0)}function r(){return false}function x(){return true}function C(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function G(a,b,d){b=b||0;if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,
+h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Ib.test(b))return c.filter(b,e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function I(a){var b=$a.split("|");a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a}function N(a){return c.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):
+a}function O(a,b){if(!(b.nodeType!==1||!c.hasData(a))){var d,e,f;e=c._data(a);a=c._data(b,e);var h=e.events;if(h){delete a.handle;a.events={};for(d in h){e=0;for(f=h[d].length;e<f;e++)c.event.add(b,d+(h[d][e].namespace?".":"")+h[d][e].namespace,h[d][e],h[d][e].data)}}if(a.data)a.data=c.extend({},a.data)}}function Q(a,b){var d;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);d=b.nodeName.toLowerCase();if(d==="object")b.outerHTML=a.outerHTML;else if(d===
+"input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)b.defaultChecked=b.checked=a.checked;if(b.value!==a.value)b.value=a.value}else if(d==="option")b.selected=a.defaultSelected;else if(d==="input"||d==="textarea")b.defaultValue=a.defaultValue;b.removeAttribute(c.expando)}}function P(a){return typeof a.getElementsByTagName!=="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!=="undefined"?a.querySelectorAll("*"):[]}function R(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=
+a.checked}function ea(a){var b=(a.nodeName||"").toLowerCase();if(b==="input")R(a);else b!=="script"&&typeof a.getElementsByTagName!=="undefined"&&c.grep(a.getElementsByTagName("input"),R)}function ta(a){var b=L.createElement("div");ab.appendChild(b);b.innerHTML=a.outerHTML;return b.firstChild}function ua(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Jb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function va(a,b,
+d){var e=b==="width"?a.offsetWidth:a.offsetHeight,f=b==="width"?Kb:Lb,h=0,l=f.length;if(e>0){if(d!=="border")for(;h<l;h++){d||(e-=parseFloat(c.css(a,"padding"+f[h]))||0);if(d==="margin")e+=parseFloat(c.css(a,d+f[h]))||0;else e-=parseFloat(c.css(a,"border"+f[h]+"Width"))||0}return e+"px"}e=wa(a,b,b);if(e<0||e==null)e=a.style[b]||0;e=parseFloat(e)||0;if(d)for(;h<l;h++){e+=parseFloat(c.css(a,"padding"+f[h]))||0;if(d!=="padding")e+=parseFloat(c.css(a,"border"+f[h]+"Width"))||0;if(d==="margin")e+=parseFloat(c.css(a,
+d+f[h]))||0}return e+"px"}function Ea(a){return function(b,d){if(typeof b!=="string"){d=b;b="*"}if(c.isFunction(d)){b=b.toLowerCase().split(bb);for(var e=0,f=b.length,h,l;e<f;e++){h=b[e];if(l=/^\+/.test(h))h=h.substr(1)||"*";h=a[h]=a[h]||[];h[l?"unshift":"push"](d)}}}}function fa(a,b,d,e,f,h){f=f||b.dataTypes[0];h=h||{};h[f]=true;f=a[f];for(var l=0,m=f?f.length:0,n=a===Na,t;l<m&&(n||!t);l++){t=f[l](b,d,e);if(typeof t==="string")if(!n||h[t])t=j;else{b.dataTypes.unshift(t);t=fa(a,b,d,e,t,h)}}if((n||
+!t)&&!h["*"])t=fa(a,b,d,e,"*",h);return t}function Ba(a,b){var d,e,f=c.ajaxSettings.flatOptions||{};for(d in b)if(b[d]!==j)(f[d]?a:e||(e={}))[d]=b[d];e&&c.extend(true,a,e)}function xa(a,b,d,e){if(c.isArray(b))c.each(b,function(h,l){d||Mb.test(a)?e(a,l):xa(a+"["+(typeof l==="object"||c.isArray(l)?h:"")+"]",l,d,e)});else if(!d&&b!=null&&typeof b==="object")for(var f in b)xa(a+"["+f+"]",b[f],d,e);else e(a,b)}function Oa(a,b,d){var e=a.contents,f=a.dataTypes,h=a.responseFields,l,m,n,t;for(m in h)if(m in
+d)b[h[m]]=d[m];for(;f[0]==="*";){f.shift();if(l===j)l=a.mimeType||b.getResponseHeader("content-type")}if(l)for(m in e)if(e[m]&&e[m].test(l)){f.unshift(m);break}if(f[0]in d)n=f[0];else{for(m in d){if(!f[0]||a.converters[m+" "+f[0]]){n=m;break}t||(t=m)}n=n||t}if(n){n!==f[0]&&f.unshift(n);return d[n]}}function Nb(a,b){if(a.dataFilter)b=a.dataFilter(b,a.dataType);var d=a.dataTypes,e={},f,h,l=d.length,m,n=d[0],t,E,y,H,D;for(f=1;f<l;f++){if(f===1)for(h in a.converters)if(typeof h==="string")e[h.toLowerCase()]=
+a.converters[h];t=n;n=d[f];if(n==="*")n=t;else if(t!=="*"&&t!==n){E=t+" "+n;y=e[E]||e["* "+n];if(!y){D=j;for(H in e){m=H.split(" ");if(m[0]===t||m[0]==="*")if(D=e[m[1]+" "+n]){H=e[H];if(H===true)y=D;else if(D===true)y=H;break}}}y||D||c.error("No conversion from "+E.replace(" "," to "));if(y!==true)b=y?y(b):D(H(b))}}return b}function cb(){try{return new g.XMLHttpRequest}catch(a){}}function Ob(){try{return new g.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function db(){setTimeout(Pb,0);return Fa=
+c.now()}function Pb(){Fa=j}function ya(a,b){var d={};c.each(eb.concat.apply([],eb.slice(0,b)),function(){d[this]=a});return d}function fb(a){if(!Pa[a]){var b=L.body,d=c("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){if(!la){la=L.createElement("iframe");la.frameBorder=la.width=la.height=0}b.appendChild(la);if(!za||!la.createElement){za=(la.contentWindow||la.contentDocument).document;za.write((L.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");za.close()}d=
+za.createElement(a);za.body.appendChild(d);e=c.css(d,"display");b.removeChild(la)}Pa[a]=e}return Pa[a]}function Qa(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var L=g.document,Qb=g.navigator,Rb=g.location,c=function(){function a(){if(!b.isReady){try{L.documentElement.doScroll("left")}catch(o){setTimeout(a,1);return}b.ready()}}var b=function(o,A){return new b.fn.init(o,A,f)},d=g.jQuery,e=g.$,f,h=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,l=/\S/,m=/^\s+/,n=/\s+$/,t=
+/^<(\w+)\s*\/?>(?:<\/\1>)?$/,E=/^[\],:{}\s]*$/,y=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,H=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,D=/(?:^|:|,)(?:\s*\[)+/g,S=/(webkit)[ \/]([\w.]+)/,$=/(opera)(?:.*version)?[ \/]([\w.]+)/,ba=/(msie) ([\w.]+)/,aa=/(mozilla)(?:.*? rv:([\w.]+))?/,na=/-([a-z]|[0-9])/ig,T=/^-ms-/,ma=function(o,A){return(A+"").toUpperCase()},ia=Qb.userAgent,i,k,u=Object.prototype.toString,w=Object.prototype.hasOwnProperty,z=Array.prototype.push,B=Array.prototype.slice,
+J=String.prototype.trim,M=Array.prototype.indexOf,V={};b.fn=b.prototype={constructor:b,init:function(o,A,K){var F;if(!o)return this;if(o.nodeType){this.context=this[0]=o;this.length=1;return this}if(o==="body"&&!A&&L.body){this.context=L;this[0]=L.body;this.selector=o;this.length=1;return this}if(typeof o==="string")if((F=o.charAt(0)==="<"&&o.charAt(o.length-1)===">"&&o.length>=3?[null,o,null]:h.exec(o))&&(F[1]||!A))if(F[1]){K=(A=A instanceof b?A[0]:A)?A.ownerDocument||A:L;if(o=t.exec(o))if(b.isPlainObject(A)){o=
+[L.createElement(o[1])];b.fn.attr.call(o,A,true)}else o=[K.createElement(o[1])];else{o=b.buildFragment([F[1]],[K]);o=(o.cacheable?b.clone(o.fragment):o.fragment).childNodes}return b.merge(this,o)}else{if((A=L.getElementById(F[2]))&&A.parentNode){if(A.id!==F[2])return K.find(o);this.length=1;this[0]=A}this.context=L;this.selector=o;return this}else return!A||A.jquery?(A||K).find(o):this.constructor(A).find(o);else if(b.isFunction(o))return K.ready(o);if(o.selector!==j){this.selector=o.selector;this.context=
+o.context}return b.makeArray(o,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return B.call(this,0)},get:function(o){return o==null?this.toArray():o<0?this[this.length+o]:this[o]},pushStack:function(o,A,K){var F=this.constructor();b.isArray(o)?z.apply(F,o):b.merge(F,o);F.prevObject=this;F.context=this.context;if(A==="find")F.selector=this.selector+(this.selector?" ":"")+K;else if(A)F.selector=this.selector+"."+A+"("+K+")";return F},each:function(o,
+A){return b.each(this,o,A)},ready:function(o){b.bindReady();i.add(o);return this},eq:function(o){o=+o;return o===-1?this.slice(o):this.slice(o,o+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(B.apply(this,arguments),"slice",B.call(arguments).join(","))},map:function(o){return this.pushStack(b.map(this,function(A,K){return o.call(A,K,A)}))},end:function(){return this.prevObject||this.constructor(null)},push:z,sort:[].sort,splice:[].splice};
+b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var o,A,K,F,X,U=arguments[0]||{},ca=1,da=arguments.length,Ra=false;if(typeof U==="boolean"){Ra=U;U=arguments[1]||{};ca=2}if(typeof U!=="object"&&!b.isFunction(U))U={};if(da===ca){U=this;--ca}for(;ca<da;ca++)if((o=arguments[ca])!=null)for(A in o){K=U[A];F=o[A];if(U!==F)if(Ra&&F&&(b.isPlainObject(F)||(X=b.isArray(F)))){if(X){X=false;K=K&&b.isArray(K)?K:[]}else K=K&&b.isPlainObject(K)?K:{};U[A]=b.extend(Ra,K,F)}else if(F!==j)U[A]=F}return U};b.extend({noConflict:function(o){if(g.$===
+b)g.$=e;if(o&&g.jQuery===b)g.jQuery=d;return b},isReady:false,readyWait:1,holdReady:function(o){if(o)b.readyWait++;else b.ready(true)},ready:function(o){if(o===true&&!--b.readyWait||o!==true&&!b.isReady){if(!L.body)return setTimeout(b.ready,1);b.isReady=true;if(!(o!==true&&--b.readyWait>0)){i.fireWith(L,[b]);b.fn.trigger&&b(L).trigger("ready").off("ready")}}},bindReady:function(){if(!i){i=b.Callbacks("once memory");if(L.readyState==="complete")return setTimeout(b.ready,1);if(L.addEventListener){L.addEventListener("DOMContentLoaded",
+k,false);g.addEventListener("load",b.ready,false)}else if(L.attachEvent){L.attachEvent("onreadystatechange",k);g.attachEvent("onload",b.ready);var o=false;try{o=g.frameElement==null}catch(A){}L.documentElement.doScroll&&o&&a()}}},isFunction:function(o){return b.type(o)==="function"},isArray:Array.isArray||function(o){return b.type(o)==="array"},isWindow:function(o){return o&&typeof o==="object"&&"setInterval"in o},isNumeric:function(o){return!isNaN(parseFloat(o))&&isFinite(o)},type:function(o){return o==
+null?String(o):V[u.call(o)]||"object"},isPlainObject:function(o){if(!o||b.type(o)!=="object"||o.nodeType||b.isWindow(o))return false;try{if(o.constructor&&!w.call(o,"constructor")&&!w.call(o.constructor.prototype,"isPrototypeOf"))return false}catch(A){return false}var K;for(K in o);return K===j||w.call(o,K)},isEmptyObject:function(o){for(var A in o)return false;return true},error:function(o){throw new Error(o);},parseJSON:function(o){if(typeof o!=="string"||!o)return null;o=b.trim(o);if(g.JSON&&g.JSON.parse)return g.JSON.parse(o);
+if(E.test(o.replace(y,"@").replace(H,"]").replace(D,"")))return(new Function("return "+o))();b.error("Invalid JSON: "+o)},parseXML:function(o){var A,K;try{if(g.DOMParser){K=new DOMParser;A=K.parseFromString(o,"text/xml")}else{A=new ActiveXObject("Microsoft.XMLDOM");A.async="false";A.loadXML(o)}}catch(F){A=j}if(!A||!A.documentElement||A.getElementsByTagName("parsererror").length)b.error("Invalid XML: "+o);return A},noop:function(){},globalEval:function(o){if(o&&l.test(o))(g.execScript||function(A){g.eval.call(g,
+A)})(o)},camelCase:function(o){return o.replace(T,"ms-").replace(na,ma)},nodeName:function(o,A){return o.nodeName&&o.nodeName.toUpperCase()===A.toUpperCase()},each:function(o,A,K){var F,X=0,U=o.length,ca=U===j||b.isFunction(o);if(K)if(ca)for(F in o){if(A.apply(o[F],K)===false)break}else for(;X<U;){if(A.apply(o[X++],K)===false)break}else if(ca)for(F in o){if(A.call(o[F],F,o[F])===false)break}else for(;X<U;)if(A.call(o[X],X,o[X++])===false)break;return o},trim:J?function(o){return o==null?"":J.call(o)}:
+function(o){return o==null?"":o.toString().replace(m,"").replace(n,"")},makeArray:function(o,A){A=A||[];if(o!=null){var K=b.type(o);o.length==null||K==="string"||K==="function"||K==="regexp"||b.isWindow(o)?z.call(A,o):b.merge(A,o)}return A},inArray:function(o,A,K){var F;if(A){if(M)return M.call(A,o,K);F=A.length;for(K=K?K<0?Math.max(0,F+K):K:0;K<F;K++)if(K in A&&A[K]===o)return K}return-1},merge:function(o,A){var K=o.length,F=0;if(typeof A.length==="number")for(var X=A.length;F<X;F++)o[K++]=A[F];
+else for(;A[F]!==j;)o[K++]=A[F++];o.length=K;return o},grep:function(o,A,K){var F=[],X;K=!!K;for(var U=0,ca=o.length;U<ca;U++){X=!!A(o[U],U);K!==X&&F.push(o[U])}return F},map:function(o,A,K){var F,X,U=[],ca=0,da=o.length;if(o instanceof b||da!==j&&typeof da==="number"&&(da>0&&o[0]&&o[da-1]||da===0||b.isArray(o)))for(;ca<da;ca++){F=A(o[ca],ca,K);if(F!=null)U[U.length]=F}else for(X in o){F=A(o[X],X,K);if(F!=null)U[U.length]=F}return U.concat.apply([],U)},guid:1,proxy:function(o,A){if(typeof A==="string"){var K=
+o[A];A=o;o=K}if(!b.isFunction(o))return j;var F=B.call(arguments,2);K=function(){return o.apply(A,F.concat(B.call(arguments)))};K.guid=o.guid=o.guid||K.guid||b.guid++;return K},access:function(o,A,K,F,X,U){var ca=o.length;if(typeof A==="object"){for(var da in A)b.access(o,da,A[da],F,X,K);return o}if(K!==j){F=!U&&F&&b.isFunction(K);for(da=0;da<ca;da++)X(o[da],A,F?K.call(o[da],da,X(o[da],A)):K,U);return o}return ca?X(o[0],A):j},now:function(){return(new Date).getTime()},uaMatch:function(o){o=o.toLowerCase();
+o=S.exec(o)||$.exec(o)||ba.exec(o)||o.indexOf("compatible")<0&&aa.exec(o)||[];return{browser:o[1]||"",version:o[2]||"0"}},sub:function(){function o(K,F){return new o.fn.init(K,F)}b.extend(true,o,this);o.superclass=this;o.fn=o.prototype=this();o.fn.constructor=o;o.sub=this.sub;o.fn.init=function(K,F){if(F&&F instanceof b&&!(F instanceof o))F=o(F);return b.fn.init.call(this,K,F,A)};o.fn.init.prototype=o.fn;var A=o(L);return o},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),
+function(o,A){V["[object "+A+"]"]=A.toLowerCase()});ia=b.uaMatch(ia);if(ia.browser){b.browser[ia.browser]=true;b.browser.version=ia.version}if(b.browser.webkit)b.browser.safari=true;if(l.test("\u00a0")){m=/^[\s\xA0]+/;n=/[\s\xA0]+$/}f=b(L);if(L.addEventListener)k=function(){L.removeEventListener("DOMContentLoaded",k,false);b.ready()};else if(L.attachEvent)k=function(){if(L.readyState==="complete"){L.detachEvent("onreadystatechange",k);b.ready()}};return b}(),Za={};c.Callbacks=function(a){a=a?Za[a]||
+q(a):{};var b=[],d=[],e,f,h,l,m,n=function(y){var H,D,S,$;H=0;for(D=y.length;H<D;H++){S=y[H];$=c.type(S);if($==="array")n(S);else if($==="function")if(!a.unique||!E.has(S))b.push(S)}},t=function(y,H){H=H||[];e=!a.memory||[y,H];f=true;m=h||0;h=0;for(l=b.length;b&&m<l;m++)if(b[m].apply(y,H)===false&&a.stopOnFalse){e=true;break}f=false;if(b)if(a.once)if(e===true)E.disable();else b=[];else if(d&&d.length){e=d.shift();E.fireWith(e[0],e[1])}},E={add:function(){if(b){var y=b.length;n(arguments);if(f)l=b.length;
+else if(e&&e!==true){h=y;t(e[0],e[1])}}return this},remove:function(){if(b)for(var y=arguments,H=0,D=y.length;H<D;H++)for(var S=0;S<b.length;S++)if(y[H]===b[S]){if(f)if(S<=l){l--;S<=m&&m--}b.splice(S--,1);if(a.unique)break}return this},has:function(y){if(b)for(var H=0,D=b.length;H<D;H++)if(y===b[H])return true;return false},empty:function(){b=[];return this},disable:function(){b=d=e=j;return this},disabled:function(){return!b},lock:function(){d=j;if(!e||e===true)E.disable();return this},locked:function(){return!d},
+fireWith:function(y,H){if(d)if(f)a.once||d.push([y,H]);else a.once&&e||t(y,H);return this},fire:function(){E.fireWith(this,arguments);return this},fired:function(){return!!e}};return E};var Sa=[].slice;c.extend({Deferred:function(a){var b=c.Callbacks("once memory"),d=c.Callbacks("once memory"),e=c.Callbacks("memory"),f="pending",h={resolve:b,reject:d,notify:e},l={done:b.add,fail:d.add,progress:e.add,state:function(){return f},isResolved:b.fired,isRejected:d.fired,then:function(t,E,y){m.done(t).fail(E).progress(y);
+return this},always:function(){m.done.apply(m,arguments).fail.apply(m,arguments);return this},pipe:function(t,E,y){return c.Deferred(function(H){c.each({done:[t,"resolve"],fail:[E,"reject"],progress:[y,"notify"]},function(D,S){var $=S[0],ba=S[1],aa;c.isFunction($)?m[D](function(){(aa=$.apply(this,arguments))&&c.isFunction(aa.promise)?aa.promise().then(H.resolve,H.reject,H.notify):H[ba+"With"](this===m?H:this,[aa])}):m[D](H[ba])})}).promise()},promise:function(t){if(t==null)t=l;else for(var E in l)t[E]=
+l[E];return t}},m=l.promise({}),n;for(n in h){m[n]=h[n].fire;m[n+"With"]=h[n].fireWith}m.done(function(){f="resolved"},d.disable,e.lock).fail(function(){f="rejected"},b.disable,e.lock);a&&a.call(m,m);return m},when:function(a){function b(E){return function(y){e[E]=arguments.length>1?Sa.call(arguments,0):y;--m||n.resolveWith(n,e)}}function d(E){return function(y){l[E]=arguments.length>1?Sa.call(arguments,0):y;n.notifyWith(t,l)}}var e=Sa.call(arguments,0),f=0,h=e.length,l=new Array(h),m=h,n=h<=1&&a&&
+c.isFunction(a.promise)?a:c.Deferred(),t=n.promise();if(h>1){for(;f<h;f++)if(e[f]&&e[f].promise&&c.isFunction(e[f].promise))e[f].promise().then(b(f),n.reject,d(f));else--m;m||n.resolveWith(n,e)}else if(n!==a)n.resolveWith(n,h?[a]:[]);return t}});c.support=function(){var a,b,d,e,f,h,l,m,n=L.createElement("div");n.setAttribute("className","t");n.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";b=n.getElementsByTagName("*");d=n.getElementsByTagName("a")[0];
+if(!b||!b.length||!d)return{};e=L.createElement("select");f=e.appendChild(L.createElement("option"));b=n.getElementsByTagName("input")[0];a={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.55/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:b.value==="on",optSelected:f.selected,getSetAttribute:n.className!==
+"t",enctype:!!L.createElement("form").enctype,html5Clone:L.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};b.checked=true;a.noCloneChecked=b.cloneNode(true).checked;e.disabled=true;a.optDisabled=!f.disabled;try{delete n.test}catch(t){a.deleteExpando=false}if(!n.addEventListener&&n.attachEvent&&n.fireEvent){n.attachEvent("onclick",
+function(){a.noCloneEvent=false});n.cloneNode(true).fireEvent("onclick")}b=L.createElement("input");b.value="t";b.setAttribute("type","radio");a.radioValue=b.value==="t";b.setAttribute("checked","checked");n.appendChild(b);d=L.createDocumentFragment();d.appendChild(n.lastChild);a.checkClone=d.cloneNode(true).cloneNode(true).lastChild.checked;a.appendChecked=b.checked;d.removeChild(b);d.appendChild(n);n.innerHTML="";if(g.getComputedStyle){b=L.createElement("div");b.style.width="0";b.style.marginRight=
+"0";n.style.width="2px";n.appendChild(b);a.reliableMarginRight=(parseInt((g.getComputedStyle(b,null)||{marginRight:0}).marginRight,10)||0)===0}if(n.attachEvent)for(l in{submit:1,change:1,focusin:1}){b="on"+l;m=b in n;if(!m){n.setAttribute(b,"return;");m=typeof n[b]==="function"}a[l+"Bubbles"]=m}d.removeChild(n);d=e=f=b=n=b=null;c(function(){var E,y,H,D,S=L.getElementsByTagName("body")[0];if(S){E=L.createElement("div");E.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";
+S.insertBefore(E,S.firstChild);n=L.createElement("div");E.appendChild(n);n.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";h=n.getElementsByTagName("td");m=h[0].offsetHeight===0;h[0].style.display="";h[1].style.display="none";a.reliableHiddenOffsets=m&&h[0].offsetHeight===0;n.innerHTML="";n.style.width=n.style.paddingLeft="1px";c.boxModel=a.boxModel=n.offsetWidth===2;if(typeof n.style.zoom!=="undefined"){n.style.display="inline";n.style.zoom=1;a.inlineBlockNeedsLayout=
+n.offsetWidth===2;n.style.display="";n.innerHTML="<div style='width:4px;'></div>";a.shrinkWrapBlocks=n.offsetWidth!==2}n.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;visibility:hidden;border:0;";n.innerHTML="<div style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;'><div></div></div><table style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
+y=n.firstChild;H=y.firstChild;D={doesNotAddBorder:H.offsetTop!==5,doesAddBorderForTableAndCells:y.nextSibling.firstChild.firstChild.offsetTop===5};H.style.position="fixed";H.style.top="20px";D.fixedPosition=H.offsetTop===20||H.offsetTop===15;H.style.position=H.style.top="";y.style.overflow="hidden";y.style.position="relative";D.subtractsBorderForOverflowNotVisible=H.offsetTop===-5;D.doesNotIncludeMarginInBodyOffset=S.offsetTop!==1;S.removeChild(E);n=null;c.extend(a,D)}});return a}();var Hb=/^(?:\{.*\}|\[.*\])$/,
+Gb=/([A-Z])/g;c.extend({cache:{},uuid:0,expando:"jQuery"+(c.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=a.nodeType?c.cache[a[c.expando]]:a[c.expando];return!!a&&!p(a)},data:function(a,b,d,e){if(c.acceptData(a)){var f;f=c.expando;var h=typeof b==="string",l=a.nodeType,m=l?c.cache:a,n=l?a[f]:a[f]&&f,t=b==="events";if(!((!n||!m[n]||!t&&!e&&!m[n].data)&&h&&d===j)){if(!n)if(l)a[f]=n=++c.uuid;else n=
+f;if(!m[n]){m[n]={};if(!l)m[n].toJSON=c.noop}if(typeof b==="object"||typeof b==="function")if(e)m[n]=c.extend(m[n],b);else m[n].data=c.extend(m[n].data,b);f=a=m[n];if(!e){if(!a.data)a.data={};a=a.data}if(d!==j)a[c.camelCase(b)]=d;if(t&&!a[b])return f.events;if(h){d=a[b];if(d==null)d=a[c.camelCase(b)]}else d=a;return d}}},removeData:function(a,b,d){if(c.acceptData(a)){var e,f,h,l=c.expando,m=a.nodeType,n=m?c.cache:a,t=m?a[l]:l;if(n[t]){if(b)if(e=d?n[t]:n[t].data){if(!c.isArray(b))if(b in e)b=[b];else{b=
+c.camelCase(b);b=b in e?[b]:b.split(" ")}f=0;for(h=b.length;f<h;f++)delete e[b[f]];if(!(d?p:c.isEmptyObject)(e))return}if(!d){delete n[t].data;if(!p(n[t]))return}if(c.support.deleteExpando||!n.setInterval)delete n[t];else n[t]=null;if(m)if(c.support.deleteExpando)delete a[l];else if(a.removeAttribute)a.removeAttribute(l);else a[l]=null}}},_data:function(a,b,d){return c.data(a,b,d,true)},acceptData:function(a){if(a.nodeName){var b=c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==
+b)}return true}});c.fn.extend({data:function(a,b){var d,e,f,h=null;if(typeof a==="undefined"){if(this.length){h=c.data(this[0]);if(this[0].nodeType===1&&!c._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var l=0,m=e.length;l<m;l++){f=e[l].name;if(f.indexOf("data-")===0){f=c.camelCase(f.substring(5));v(this[0],f,h[f])}}c._data(this[0],"parsedAttrs",true)}}return h}else if(typeof a==="object")return this.each(function(){c.data(this,a)});d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===j){h=this.triggerHandler("getData"+
+d[1]+"!",[d[0]]);if(h===j&&this.length){h=c.data(this[0],a);h=v(this[0],a,h)}return h===j&&d[1]?this.data(d[0]):h}else return this.each(function(){var n=c(this),t=[d[0],b];n.triggerHandler("setData"+d[1]+"!",t);c.data(this,a,b);n.triggerHandler("changeData"+d[1]+"!",t)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({_mark:function(a,b){if(a){b=(b||"fx")+"mark";c._data(a,b,(c._data(a,b)||0)+1)}},_unmark:function(a,b,d){if(a!==true){d=b;b=a;a=false}if(b){d=
+d||"fx";var e=d+"mark";if(a=a?0:(c._data(b,e)||1)-1)c._data(b,e,a);else{c.removeData(b,e,true);s(b,d,"mark")}}},queue:function(a,b,d){var e;if(a){b=(b||"fx")+"queue";e=c._data(a,b);if(d)if(!e||c.isArray(d))e=c._data(a,b,c.makeArray(d));else e.push(d);return e||[]}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift(),f={};if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");c._data(a,b+".run",f);e.call(a,function(){c.dequeue(a,b)},f)}if(!d.length){c.removeData(a,b+"queue "+
+b+".run",true);s(a,b,"queue")}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===j)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(d,e){var f=setTimeout(d,a);e.stop=function(){clearTimeout(f)}})},clearQueue:function(a){return this.queue(a||
+"fx",[])},promise:function(a,b){function d(){--h||e.resolveWith(f,[f])}if(typeof a!=="string"){b=a;a=j}a=a||"fx";var e=c.Deferred(),f=this;b=f.length;var h=1,l=a+"defer",m=a+"queue";a=a+"mark";for(var n;b--;)if(n=c.data(f[b],l,j,true)||(c.data(f[b],m,j,true)||c.data(f[b],a,j,true))&&c.data(f[b],l,c.Callbacks("once memory"),true)){h++;n.add(d)}d();return e.promise()}});var gb=/[\n\t\r]/g,Ga=/\s+/,Sb=/\r/g,Tb=/^(?:button|input)$/i,Ub=/^(?:button|input|object|select|textarea)$/i,Vb=/^a(?:rea)?$/i,hb=
+/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ib=c.support.getSetAttribute,oa,jb,kb;c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.removeAttr(this,a)})},prop:function(a,b){return c.access(this,a,b,true,c.prop)},removeProp:function(a){a=c.propFix[a]||a;return this.each(function(){try{this[a]=j;delete this[a]}catch(b){}})},addClass:function(a){var b,
+d,e,f,h,l,m;if(c.isFunction(a))return this.each(function(n){c(this).addClass(a.call(this,n,this.className))});if(a&&typeof a==="string"){b=a.split(Ga);d=0;for(e=this.length;d<e;d++){f=this[d];if(f.nodeType===1)if(!f.className&&b.length===1)f.className=a;else{h=" "+f.className+" ";l=0;for(m=b.length;l<m;l++)~h.indexOf(" "+b[l]+" ")||(h+=b[l]+" ");f.className=c.trim(h)}}}return this},removeClass:function(a){var b,d,e,f,h,l,m;if(c.isFunction(a))return this.each(function(n){c(this).removeClass(a.call(this,
+n,this.className))});if(a&&typeof a==="string"||a===j){b=(a||"").split(Ga);d=0;for(e=this.length;d<e;d++){f=this[d];if(f.nodeType===1&&f.className)if(a){h=(" "+f.className+" ").replace(gb," ");l=0;for(m=b.length;l<m;l++)h=h.replace(" "+b[l]+" "," ");f.className=c.trim(h)}else f.className=""}}return this},toggleClass:function(a,b){var d=typeof a,e=typeof b==="boolean";if(c.isFunction(a))return this.each(function(f){c(this).toggleClass(a.call(this,f,this.className,b),b)});return this.each(function(){if(d===
+"string")for(var f,h=0,l=c(this),m=b,n=a.split(Ga);f=n[h++];){m=e?m:!l.hasClass(f);l[m?"addClass":"removeClass"](f)}else if(d==="undefined"||d==="boolean"){this.className&&c._data(this,"__className__",this.className);this.className=this.className||a===false?"":c._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(gb," ").indexOf(a)>-1)return true;return false},val:function(a){var b,d,e,
+f=this[0];if(arguments.length){e=c.isFunction(a);return this.each(function(h){var l=c(this);if(this.nodeType===1){h=e?a.call(this,h,l.val()):a;if(h==null)h="";else if(typeof h==="number")h+="";else if(c.isArray(h))h=c.map(h,function(m){return m==null?"":m+""});b=c.valHooks[this.nodeName.toLowerCase()]||c.valHooks[this.type];if(!b||!("set"in b)||b.set(this,h,"value")===j)this.value=h}})}else if(f){if((b=c.valHooks[f.nodeName.toLowerCase()]||c.valHooks[f.type])&&"get"in b&&(d=b.get(f,"value"))!==j)return d;
+d=f.value;return typeof d==="string"?d.replace(Sb,""):d==null?"":d}}});c.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,d,e=a.selectedIndex,f=[],h=a.options,l=a.type==="select-one";if(e<0)return null;a=l?e:0;for(d=l?e+1:h.length;a<d;a++){b=h[a];if(b.selected&&(c.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!c.nodeName(b.parentNode,"optgroup"))){b=c(b).val();if(l)return b;
+f.push(b)}}if(l&&!f.length&&h.length)return c(h[e]).val();return f},set:function(a,b){var d=c.makeArray(b);c(a).find("option").each(function(){this.selected=c.inArray(c(this).val(),d)>=0});if(!d.length)a.selectedIndex=-1;return d}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){var f,h,l=a.nodeType;if(!(!a||l===3||l===8||l===2)){if(e&&b in c.attrFn)return c(a)[b](d);if(typeof a.getAttribute==="undefined")return c.prop(a,b,d);if(e=
+l!==1||!c.isXMLDoc(a)){b=b.toLowerCase();h=c.attrHooks[b]||(hb.test(b)?jb:oa)}if(d!==j)if(d===null)c.removeAttr(a,b);else if(h&&"set"in h&&e&&(f=h.set(a,d,b))!==j)return f;else{a.setAttribute(b,""+d);return d}else if(h&&"get"in h&&e&&(f=h.get(a,b))!==null)return f;else{f=a.getAttribute(b);return f===null?j:f}}},removeAttr:function(a,b){var d,e,f,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(Ga);for(f=d.length;h<f;h++)if(e=d[h]){b=c.propFix[e]||e;c.attr(a,e,"");a.removeAttribute(ib?e:b);if(hb.test(e)&&
+b in a)a[b]=false}}},attrHooks:{type:{set:function(a,b){if(Tb.test(a.nodeName)&&a.parentNode)c.error("type property can't be changed");else if(!c.support.radioValue&&b==="radio"&&c.nodeName(a,"input")){var d=a.value;a.setAttribute("type",b);if(d)a.value=d;return b}}},value:{get:function(a,b){if(oa&&c.nodeName(a,"button"))return oa.get(a,b);return b in a?a.value:null},set:function(a,b,d){if(oa&&c.nodeName(a,"button"))return oa.set(a,b,d);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",
+"for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,d){var e,f,h=a.nodeType;if(!(!a||h===3||h===8||h===2)){if(h!==1||!c.isXMLDoc(a)){b=c.propFix[b]||b;f=c.propHooks[b]}return d!==j?f&&"set"in f&&(e=f.set(a,d,b))!==j?e:(a[b]=d):f&&"get"in f&&(e=f.get(a,b))!==null?e:a[b]}},propHooks:{tabIndex:{get:function(a){var b=
+a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Ub.test(a.nodeName)||Vb.test(a.nodeName)&&a.href?0:j}}}});c.attrHooks.tabindex=c.propHooks.tabIndex;jb={get:function(a,b){var d,e=c.prop(a,b);return e===true||typeof e!=="boolean"&&(d=a.getAttributeNode(b))&&d.nodeValue!==false?b.toLowerCase():j},set:function(a,b,d){if(b===false)c.removeAttr(a,d);else{b=c.propFix[d]||d;if(b in a)a[b]=true;a.setAttribute(d,d.toLowerCase())}return d}};if(!ib){kb={name:true,id:true};oa=c.valHooks.button=
+{get:function(a,b){return(a=a.getAttributeNode(b))&&(kb[b]?a.nodeValue!=="":a.specified)?a.nodeValue:j},set:function(a,b,d){var e=a.getAttributeNode(d);if(!e){e=L.createAttribute(d);a.setAttributeNode(e)}return e.nodeValue=b+""}};c.attrHooks.tabindex.set=oa.set;c.each(["width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{set:function(d,e){if(e===""){d.setAttribute(b,"auto");return e}}})});c.attrHooks.contenteditable={get:oa.get,set:function(a,b,d){if(b==="")b="false";oa.set(a,b,
+d)}}}c.support.hrefNormalized||c.each(["href","src","width","height"],function(a,b){c.attrHooks[b]=c.extend(c.attrHooks[b],{get:function(d){d=d.getAttribute(b,2);return d===null?j:d}})});if(!c.support.style)c.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||j},set:function(a,b){return a.style.cssText=""+b}};if(!c.support.optSelected)c.propHooks.selected=c.extend(c.propHooks.selected,{get:function(){return null}});if(!c.support.enctype)c.propFix.enctype="encoding";c.support.checkOn||
+c.each(["radio","checkbox"],function(){c.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});c.each(["radio","checkbox"],function(){c.valHooks[this]=c.extend(c.valHooks[this],{set:function(a,b){if(c.isArray(b))return a.checked=c.inArray(c(a).val(),b)>=0}})});var Ta=/^(?:textarea|input|select)$/i,lb=/^([^\.]*)?(?:\.(.+))?$/,Wb=/\bhover(\.\S+)?\b/,Xb=/^key/,Yb=/^(?:mouse|contextmenu)|click/,mb=/^(?:focusinfocus|focusoutblur)$/,Zb=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,
+$b=function(a){if(a=Zb.exec(a)){a[1]=(a[1]||"").toLowerCase();a[3]=a[3]&&new RegExp("(?:^|\\s)"+a[3]+"(?:\\s|$)")}return a},ac=function(a,b){var d=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(d.id||{}).value===b[2])&&(!b[3]||b[3].test((d["class"]||{}).value))},nb=function(a){return c.event.special.hover?a:a.replace(Wb,"mouseenter$1 mouseleave$1")};c.event={add:function(a,b,d,e,f){var h,l,m,n,t,E,y,H,D;if(!(a.nodeType===3||a.nodeType===8||!b||!d||!(h=c._data(a)))){if(d.handler){y=
+d;d=y.handler}if(!d.guid)d.guid=c.guid++;m=h.events;if(!m)h.events=m={};l=h.handle;if(!l){h.handle=l=function(S){return typeof c!=="undefined"&&(!S||c.event.triggered!==S.type)?c.event.dispatch.apply(l.elem,arguments):j};l.elem=a}b=c.trim(nb(b)).split(" ");for(h=0;h<b.length;h++){n=lb.exec(b[h])||[];t=n[1];E=(n[2]||"").split(".").sort();D=c.event.special[t]||{};t=(f?D.delegateType:D.bindType)||t;D=c.event.special[t]||{};n=c.extend({type:t,origType:n[1],data:e,handler:d,guid:d.guid,selector:f,quick:$b(f),
+namespace:E.join(".")},y);H=m[t];if(!H){H=m[t]=[];H.delegateCount=0;if(!D.setup||D.setup.call(a,e,E,l)===false)if(a.addEventListener)a.addEventListener(t,l,false);else a.attachEvent&&a.attachEvent("on"+t,l)}if(D.add){D.add.call(a,n);if(!n.handler.guid)n.handler.guid=d.guid}f?H.splice(H.delegateCount++,0,n):H.push(n);c.event.global[t]=true}a=null}},global:{},remove:function(a,b,d,e,f){var h=c.hasData(a)&&c._data(a),l,m,n,t,E,y,H,D,S,$;if(h&&(H=h.events)){b=c.trim(nb(b||"")).split(" ");for(l=0;l<b.length;l++){m=
+lb.exec(b[l])||[];n=t=m[1];m=m[2];if(n){D=c.event.special[n]||{};n=(e?D.delegateType:D.bindType)||n;S=H[n]||[];E=S.length;m=m?new RegExp("(^|\\.)"+m.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(y=0;y<S.length;y++){$=S[y];if((f||t===$.origType)&&(!d||d.guid===$.guid)&&(!m||m.test($.namespace))&&(!e||e===$.selector||e==="**"&&$.selector)){S.splice(y--,1);$.selector&&S.delegateCount--;D.remove&&D.remove.call(a,$)}}if(S.length===0&&E!==S.length){if(!D.teardown||D.teardown.call(a,m)===false)c.removeEvent(a,
+n,h.handle);delete H[n]}}else for(n in H)c.event.remove(a,n+b[l],d,e,true)}if(c.isEmptyObject(H)){if(b=h.handle)b.elem=null;c.removeData(a,["events","handle"],true)}}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(a,b,d,e){if(!(d&&(d.nodeType===3||d.nodeType===8))){var f=a.type||a,h=[],l,m,n,t,E;if(!mb.test(f+c.event.triggered)){if(f.indexOf("!")>=0){f=f.slice(0,-1);l=true}if(f.indexOf(".")>=0){h=f.split(".");f=h.shift();h.sort()}if(!((!d||c.event.customEvent[f])&&!c.event.global[f])){a=
+typeof a==="object"?a[c.expando]?a:new c.Event(f,a):new c.Event(f);a.type=f;a.isTrigger=true;a.exclusive=l;a.namespace=h.join(".");a.namespace_re=a.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;l=f.indexOf(":")<0?"on"+f:"";if(d){a.result=j;if(!a.target)a.target=d;b=b!=null?c.makeArray(b):[];b.unshift(a);n=c.event.special[f]||{};if(!(n.trigger&&n.trigger.apply(d,b)===false)){E=[[d,n.bindType||f]];if(!e&&!n.noBubble&&!c.isWindow(d)){t=n.delegateType||f;h=mb.test(t+f)?d:d.parentNode;
+for(m=null;h;h=h.parentNode){E.push([h,t]);m=h}if(m&&m===d.ownerDocument)E.push([m.defaultView||m.parentWindow||g,t])}for(m=0;m<E.length&&!a.isPropagationStopped();m++){h=E[m][0];a.type=E[m][1];(t=(c._data(h,"events")||{})[a.type]&&c._data(h,"handle"))&&t.apply(h,b);(t=l&&h[l])&&c.acceptData(h)&&t.apply(h,b)===false&&a.preventDefault()}a.type=f;if(!e&&!a.isDefaultPrevented())if((!n._default||n._default.apply(d.ownerDocument,b)===false)&&!(f==="click"&&c.nodeName(d,"a"))&&c.acceptData(d))if(l&&d[f]&&
+(f!=="focus"&&f!=="blur"||a.target.offsetWidth!==0)&&!c.isWindow(d)){if(m=d[l])d[l]=null;c.event.triggered=f;d[f]();c.event.triggered=j;if(m)d[l]=m}return a.result}}else{d=c.cache;for(m in d)d[m].events&&d[m].events[f]&&c.event.trigger(a,b,d[m].handle.elem,true)}}}}},dispatch:function(a){a=c.event.fix(a||g.event);var b=(c._data(this,"events")||{})[a.type]||[],d=b.delegateCount,e=[].slice.call(arguments,0),f=!a.exclusive&&!a.namespace,h=[],l,m,n,t,E,y,H;e[0]=a;a.delegateTarget=this;if(d&&!a.target.disabled&&
+!(a.button&&a.type==="click")){n=c(this);n.context=this.ownerDocument||this;for(m=a.target;m!=this;m=m.parentNode||this){E={};y=[];n[0]=m;for(l=0;l<d;l++){t=b[l];H=t.selector;if(E[H]===j)E[H]=t.quick?ac(m,t.quick):n.is(H);E[H]&&y.push(t)}y.length&&h.push({elem:m,matches:y})}}b.length>d&&h.push({elem:this,matches:b.slice(d)});for(l=0;l<h.length&&!a.isPropagationStopped();l++){d=h[l];a.currentTarget=d.elem;for(b=0;b<d.matches.length&&!a.isImmediatePropagationStopped();b++){t=d.matches[b];if(f||!a.namespace&&
+!t.namespace||a.namespace_re&&a.namespace_re.test(t.namespace)){a.data=t.data;a.handleObj=t;t=((c.event.special[t.origType]||{}).handle||t.handler).apply(d.elem,e);if(t!==j){a.result=t;if(t===false){a.preventDefault();a.stopPropagation()}}}}}return a.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),
+filter:function(a,b){if(a.which==null)a.which=b.charCode!=null?b.charCode:b.keyCode;return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var d,e,f=b.button,h=b.fromElement;if(a.pageX==null&&b.clientX!=null){d=a.target.ownerDocument||L;e=d.documentElement;d=d.body;a.pageX=b.clientX+(e&&e.scrollLeft||d&&d.scrollLeft||0)-(e&&e.clientLeft||d&&d.clientLeft||0);a.pageY=b.clientY+(e&&e.scrollTop||d&&
+d.scrollTop||0)-(e&&e.clientTop||d&&d.clientTop||0)}if(!a.relatedTarget&&h)a.relatedTarget=h===a.target?b.toElement:h;if(!a.which&&f!==j)a.which=f&1?1:f&2?3:f&4?2:0;return a}},fix:function(a){if(a[c.expando])return a;var b,d,e=a,f=c.event.fixHooks[a.type]||{},h=f.props?this.props.concat(f.props):this.props;a=c.Event(e);for(b=h.length;b;){d=h[--b];a[d]=e[d]}if(!a.target)a.target=e.srcElement||L;if(a.target.nodeType===3)a.target=a.target.parentNode;if(a.metaKey===j)a.metaKey=a.ctrlKey;return f.filter?
+f.filter(a,e):a},special:{ready:{setup:c.bindReady},load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,d){if(c.isWindow(this))this.onbeforeunload=d},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}},simulate:function(a,b,d,e){a=c.extend(new c.Event,d,{type:a,isSimulated:true,originalEvent:{}});e?c.event.trigger(a,null,b):c.event.dispatch.call(b,a);a.isDefaultPrevented()&&d.preventDefault()}};c.event.handle=
+c.event.dispatch;c.removeEvent=L.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};c.Event=function(a,b){if(!(this instanceof c.Event))return new c.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?x:r}else this.type=a;b&&c.extend(this,b);this.timeStamp=a&&a.timeStamp||c.now();this[c.expando]=
+true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=x;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=x;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=x;this.stopPropagation()},isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r};c.each({mouseenter:"mouseover",
+mouseleave:"mouseout"},function(a,b){c.event.special[a]={delegateType:b,bindType:b,handle:function(d){var e=d.relatedTarget,f=d.handleObj,h;if(!e||e!==this&&!c.contains(this,e)){d.type=f.origType;h=f.handler.apply(this,arguments);d.type=b}return h}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(){if(c.nodeName(this,"form"))return false;c.event.add(this,"click._submit keypress._submit",function(a){a=a.target;if((a=c.nodeName(a,"input")||c.nodeName(a,"button")?a.form:j)&&!a._submit_attached){c.event.add(a,
+"submit._submit",function(b){this.parentNode&&!b.isTrigger&&c.event.simulate("submit",this.parentNode,b,true)});a._submit_attached=true}})},teardown:function(){if(c.nodeName(this,"form"))return false;c.event.remove(this,"._submit")}};if(!c.support.changeBubbles)c.event.special.change={setup:function(){if(Ta.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){c.event.add(this,"propertychange._change",function(a){if(a.originalEvent.propertyName==="checked")this._just_changed=true});
+c.event.add(this,"click._change",function(a){if(this._just_changed&&!a.isTrigger){this._just_changed=false;c.event.simulate("change",this,a,true)}})}return false}c.event.add(this,"beforeactivate._change",function(a){a=a.target;if(Ta.test(a.nodeName)&&!a._change_attached){c.event.add(a,"change._change",function(b){this.parentNode&&!b.isSimulated&&!b.isTrigger&&c.event.simulate("change",this.parentNode,b,true)});a._change_attached=true}})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||
+a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){c.event.remove(this,"._change");return Ta.test(this.nodeName)}};c.support.focusinBubbles||c.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(f){c.event.simulate(b,f.target,c.event.fix(f),true)};c.event.special[b]={setup:function(){d++===0&&L.addEventListener(a,e,true)},teardown:function(){--d===0&&L.removeEventListener(a,e,true)}}});c.fn.extend({on:function(a,
+b,d,e,f){var h,l;if(typeof a==="object"){if(typeof b!=="string"){d=b;b=j}for(l in a)this.on(l,b,d,a[l],f);return this}if(d==null&&e==null){e=b;d=b=j}else if(e==null)if(typeof b==="string"){e=d;d=j}else{e=d;d=b;b=j}if(e===false)e=r;else if(!e)return this;if(f===1){h=e;e=function(m){c().off(m);return h.apply(this,arguments)};e.guid=h.guid||(h.guid=c.guid++)}return this.each(function(){c.event.add(this,a,e,d,b)})},one:function(a,b,d,e){return this.on.call(this,a,b,d,e,1)},off:function(a,b,d){if(a&&a.preventDefault&&
+a.handleObj){var e=a.handleObj;c(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a==="object"){for(e in a)this.off(e,b,a[e]);return this}if(b===false||typeof b==="function"){d=b;b=j}if(d===false)d=r;return this.each(function(){c.event.remove(this,a,d,b)})},bind:function(a,b,d){return this.on(a,null,b,d)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,d){c(this.context).on(a,this.selector,b,d);return this},die:function(a,
+b){c(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,d,e){return this.on(b,a,d,e)},undelegate:function(a,b,d){return arguments.length==1?this.off(a,"**"):this.off(b,a,d)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return c.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,d=a.guid||c.guid++,e=0,f=function(h){var l=(c._data(this,"lastToggle"+a.guid)||0)%e;c._data(this,"lastToggle"+
+a.guid,l+1);h.preventDefault();return b[l].apply(this,arguments)||false};for(f.guid=d;e<b.length;)b[e++].guid=d;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){c.fn[b]=function(d,e){if(e==null){e=d;d=null}return arguments.length>
+0?this.on(b,null,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true;if(Xb.test(b))c.event.fixHooks[b]=c.event.keyHooks;if(Yb.test(b))c.event.fixHooks[b]=c.event.mouseHooks});(function(){function a(i,k,u,w,z,B){z=0;for(var J=w.length;z<J;z++){var M=w[z];if(M){var V=false;for(M=M[i];M;){if(M[e]===u){V=w[M.sizset];break}if(M.nodeType===1&&!B){M[e]=u;M.sizset=z}if(M.nodeName.toLowerCase()===k){V=M;break}M=M[i]}w[z]=V}}}function b(i,k,u,w,z,B){z=0;for(var J=w.length;z<J;z++){var M=w[z];if(M){var V=false;
+for(M=M[i];M;){if(M[e]===u){V=w[M.sizset];break}if(M.nodeType===1){if(!B){M[e]=u;M.sizset=z}if(typeof k!=="string"){if(M===k){V=true;break}}else if(y.filter(k,[M]).length>0){V=M;break}}M=M[i]}w[z]=V}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e="sizcache"+(Math.random()+"").replace(".",""),f=0,h=Object.prototype.toString,l=false,m=true,n=/\\/g,t=/\r\n/g,E=/\W/;[0,0].sort(function(){m=false;return 0});
+var y=function(i,k,u,w){u=u||[];var z=k=k||L;if(k.nodeType!==1&&k.nodeType!==9)return[];if(!i||typeof i!=="string")return u;var B,J,M,V,o,A=true,K=y.isXML(k),F=[],X=i;do{d.exec("");if(B=d.exec(X)){X=B[3];F.push(B[1]);if(B[2]){V=B[3];break}}}while(B);if(F.length>1&&S.exec(i))if(F.length===2&&D.relative[F[0]])J=ia(F[0]+F[1],k,w);else for(J=D.relative[F[0]]?[k]:y(F.shift(),k);F.length;){i=F.shift();if(D.relative[i])i+=F.shift();J=ia(i,J,w)}else{if(!w&&F.length>1&&k.nodeType===9&&!K&&D.match.ID.test(F[0])&&
+!D.match.ID.test(F[F.length-1])){B=y.find(F.shift(),k,K);k=B.expr?y.filter(B.expr,B.set)[0]:B.set[0]}if(k){B=w?{expr:F.pop(),set:aa(w)}:y.find(F.pop(),F.length===1&&(F[0]==="~"||F[0]==="+")&&k.parentNode?k.parentNode:k,K);J=B.expr?y.filter(B.expr,B.set):B.set;if(F.length>0)M=aa(J);else A=false;for(;F.length;){B=o=F.pop();if(D.relative[o])B=F.pop();else o="";if(B==null)B=k;D.relative[o](M,B,K)}}else M=[]}M||(M=J);M||y.error(o||i);if(h.call(M)==="[object Array]")if(A)if(k&&k.nodeType===1)for(i=0;M[i]!=
+null;i++){if(M[i]&&(M[i]===true||M[i].nodeType===1&&y.contains(k,M[i])))u.push(J[i])}else for(i=0;M[i]!=null;i++)M[i]&&M[i].nodeType===1&&u.push(J[i]);else u.push.apply(u,M);else aa(M,u);if(V){y(V,z,u,w);y.uniqueSort(u)}return u};y.uniqueSort=function(i){if(T){l=m;i.sort(T);if(l)for(var k=1;k<i.length;k++)i[k]===i[k-1]&&i.splice(k--,1)}return i};y.matches=function(i,k){return y(i,null,null,k)};y.matchesSelector=function(i,k){return y(k,null,null,[i]).length>0};y.find=function(i,k,u){var w,z,B,J,M,
+V;if(!i)return[];z=0;for(B=D.order.length;z<B;z++){M=D.order[z];if(J=D.leftMatch[M].exec(i)){V=J[1];J.splice(1,1);if(V.substr(V.length-1)!=="\\"){J[1]=(J[1]||"").replace(n,"");w=D.find[M](J,k,u);if(w!=null){i=i.replace(D.match[M],"");break}}}}w||(w=typeof k.getElementsByTagName!=="undefined"?k.getElementsByTagName("*"):[]);return{set:w,expr:i}};y.filter=function(i,k,u,w){for(var z,B,J,M,V,o,A,K,F=i,X=[],U=k,ca=k&&k[0]&&y.isXML(k[0]);i&&k.length;){for(J in D.filter)if((z=D.leftMatch[J].exec(i))!=null&&
+z[2]){o=D.filter[J];V=z[1];B=false;z.splice(1,1);if(V.substr(V.length-1)!=="\\"){if(U===X)X=[];if(D.preFilter[J])if(z=D.preFilter[J](z,U,u,X,w,ca)){if(z===true)continue}else B=M=true;if(z)for(A=0;(V=U[A])!=null;A++)if(V){M=o(V,z,A,U);K=w^M;if(u&&M!=null)if(K)B=true;else U[A]=false;else if(K){X.push(V);B=true}}if(M!==j){u||(U=X);i=i.replace(D.match[J],"");if(!B)return[];break}}}if(i===F)if(B==null)y.error(i);else break;F=i}return U};y.error=function(i){throw new Error("Syntax error, unrecognized expression: "+
+i);};var H=y.getText=function(i){var k,u;k=i.nodeType;var w="";if(k)if(k===1||k===9)if(typeof i.textContent==="string")return i.textContent;else if(typeof i.innerText==="string")return i.innerText.replace(t,"");else for(i=i.firstChild;i;i=i.nextSibling)w+=H(i);else{if(k===3||k===4)return i.nodeValue}else for(k=0;u=i[k];k++)if(u.nodeType!==8)w+=H(u);return w},D=y.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
+ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(i){return i.getAttribute("href")},
+type:function(i){return i.getAttribute("type")}},relative:{"+":function(i,k){var u=typeof k==="string",w=u&&!E.test(k);u=u&&!w;if(w)k=k.toLowerCase();w=0;for(var z=i.length,B;w<z;w++)if(B=i[w]){for(;(B=B.previousSibling)&&B.nodeType!==1;);i[w]=u||B&&B.nodeName.toLowerCase()===k?B||false:B===k}u&&y.filter(k,i,true)},">":function(i,k){var u,w=typeof k==="string",z=0,B=i.length;if(w&&!E.test(k))for(k=k.toLowerCase();z<B;z++){if(u=i[z]){u=u.parentNode;i[z]=u.nodeName.toLowerCase()===k?u:false}}else{for(;z<
+B;z++)if(u=i[z])i[z]=w?u.parentNode:u.parentNode===k;w&&y.filter(k,i,true)}},"":function(i,k,u){var w,z=f++,B=b;if(typeof k==="string"&&!E.test(k)){w=k=k.toLowerCase();B=a}B("parentNode",k,z,i,w,u)},"~":function(i,k,u){var w,z=f++,B=b;if(typeof k==="string"&&!E.test(k)){w=k=k.toLowerCase();B=a}B("previousSibling",k,z,i,w,u)}},find:{ID:function(i,k,u){if(typeof k.getElementById!=="undefined"&&!u)return(i=k.getElementById(i[1]))&&i.parentNode?[i]:[]},NAME:function(i,k){if(typeof k.getElementsByName!==
+"undefined"){var u=[];k=k.getElementsByName(i[1]);for(var w=0,z=k.length;w<z;w++)k[w].getAttribute("name")===i[1]&&u.push(k[w]);return u.length===0?null:u}},TAG:function(i,k){if(typeof k.getElementsByTagName!=="undefined")return k.getElementsByTagName(i[1])}},preFilter:{CLASS:function(i,k,u,w,z,B){i=" "+i[1].replace(n,"")+" ";if(B)return i;B=0;for(var J;(J=k[B])!=null;B++)if(J)if(z^(J.className&&(" "+J.className+" ").replace(/[\t\n\r]/g," ").indexOf(i)>=0))u||w.push(J);else if(u)k[B]=false;return false},
+ID:function(i){return i[1].replace(n,"")},TAG:function(i){return i[1].replace(n,"").toLowerCase()},CHILD:function(i){if(i[1]==="nth"){i[2]||y.error(i[0]);i[2]=i[2].replace(/^\+|\s*/g,"");var k=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(i[2]==="even"&&"2n"||i[2]==="odd"&&"2n+1"||!/\D/.test(i[2])&&"0n+"+i[2]||i[2]);i[2]=k[1]+(k[2]||1)-0;i[3]=k[3]-0}else i[2]&&y.error(i[0]);i[0]=f++;return i},ATTR:function(i,k,u,w,z,B){k=i[1]=i[1].replace(n,"");if(!B&&D.attrMap[k])i[1]=D.attrMap[k];i[4]=(i[4]||i[5]||"").replace(n,
+"");if(i[2]==="~=")i[4]=" "+i[4]+" ";return i},PSEUDO:function(i,k,u,w,z){if(i[1]==="not")if((d.exec(i[3])||"").length>1||/^\w/.test(i[3]))i[3]=y(i[3],null,null,k);else{i=y.filter(i[3],k,u,true^z);u||w.push.apply(w,i);return false}else if(D.match.POS.test(i[0])||D.match.CHILD.test(i[0]))return true;return i},POS:function(i){i.unshift(true);return i}},filters:{enabled:function(i){return i.disabled===false&&i.type!=="hidden"},disabled:function(i){return i.disabled===true},checked:function(i){return i.checked===
+true},selected:function(i){return i.selected===true},parent:function(i){return!!i.firstChild},empty:function(i){return!i.firstChild},has:function(i,k,u){return!!y(u[3],i).length},header:function(i){return/h\d/i.test(i.nodeName)},text:function(i){var k=i.getAttribute("type"),u=i.type;return i.nodeName.toLowerCase()==="input"&&"text"===u&&(k===u||k===null)},radio:function(i){return i.nodeName.toLowerCase()==="input"&&"radio"===i.type},checkbox:function(i){return i.nodeName.toLowerCase()==="input"&&
+"checkbox"===i.type},file:function(i){return i.nodeName.toLowerCase()==="input"&&"file"===i.type},password:function(i){return i.nodeName.toLowerCase()==="input"&&"password"===i.type},submit:function(i){var k=i.nodeName.toLowerCase();return(k==="input"||k==="button")&&"submit"===i.type},image:function(i){return i.nodeName.toLowerCase()==="input"&&"image"===i.type},reset:function(i){var k=i.nodeName.toLowerCase();return(k==="input"||k==="button")&&"reset"===i.type},button:function(i){var k=i.nodeName.toLowerCase();
+return k==="input"&&"button"===i.type||k==="button"},input:function(i){return/input|select|textarea|button/i.test(i.nodeName)},focus:function(i){return i===i.ownerDocument.activeElement}},setFilters:{first:function(i,k){return k===0},last:function(i,k,u,w){return k===w.length-1},even:function(i,k){return k%2===0},odd:function(i,k){return k%2===1},lt:function(i,k,u){return k<u[3]-0},gt:function(i,k,u){return k>u[3]-0},nth:function(i,k,u){return u[3]-0===k},eq:function(i,k,u){return u[3]-0===k}},filter:{PSEUDO:function(i,
+k,u,w){var z=k[1],B=D.filters[z];if(B)return B(i,u,k,w);else if(z==="contains")return(i.textContent||i.innerText||H([i])||"").indexOf(k[3])>=0;else if(z==="not"){k=k[3];u=0;for(w=k.length;u<w;u++)if(k[u]===i)return false;return true}else y.error(z)},CHILD:function(i,k){var u,w,z,B;u=k[1];var J=i;switch(u){case "only":case "first":for(;J=J.previousSibling;)if(J.nodeType===1)return false;if(u==="first")return true;J=i;case "last":for(;J=J.nextSibling;)if(J.nodeType===1)return false;return true;case "nth":u=
+k[2];w=k[3];if(u===1&&w===0)return true;k=k[0];if((z=i.parentNode)&&(z[e]!==k||!i.nodeIndex)){B=0;for(J=z.firstChild;J;J=J.nextSibling)if(J.nodeType===1)J.nodeIndex=++B;z[e]=k}i=i.nodeIndex-w;return u===0?i===0:i%u===0&&i/u>=0}},ID:function(i,k){return i.nodeType===1&&i.getAttribute("id")===k},TAG:function(i,k){return k==="*"&&i.nodeType===1||!!i.nodeName&&i.nodeName.toLowerCase()===k},CLASS:function(i,k){return(" "+(i.className||i.getAttribute("class"))+" ").indexOf(k)>-1},ATTR:function(i,k){var u=
+k[1];i=y.attr?y.attr(i,u):D.attrHandle[u]?D.attrHandle[u](i):i[u]!=null?i[u]:i.getAttribute(u);u=i+"";var w=k[2];k=k[4];return i==null?w==="!=":!w&&y.attr?i!=null:w==="="?u===k:w==="*="?u.indexOf(k)>=0:w==="~="?(" "+u+" ").indexOf(k)>=0:!k?u&&i!==false:w==="!="?u!==k:w==="^="?u.indexOf(k)===0:w==="$="?u.substr(u.length-k.length)===k:w==="|="?u===k||u.substr(0,k.length+1)===k+"-":false},POS:function(i,k,u,w){var z=D.setFilters[k[2]];if(z)return z(i,u,k,w)}}},S=D.match.POS,$=function(i,k){return"\\"+
+(k-0+1)};for(var ba in D.match){D.match[ba]=new RegExp(D.match[ba].source+/(?![^\[]*\])(?![^\(]*\))/.source);D.leftMatch[ba]=new RegExp(/(^(?:.|\r|\n)*?)/.source+D.match[ba].source.replace(/\\(\d+)/g,$))}var aa=function(i,k){i=Array.prototype.slice.call(i,0);if(k){k.push.apply(k,i);return k}return i};try{Array.prototype.slice.call(L.documentElement.childNodes,0)}catch(na){aa=function(i,k){var u=0;k=k||[];if(h.call(i)==="[object Array]")Array.prototype.push.apply(k,i);else if(typeof i.length==="number")for(var w=
+i.length;u<w;u++)k.push(i[u]);else for(;i[u];u++)k.push(i[u]);return k}}var T,ma;if(L.documentElement.compareDocumentPosition)T=function(i,k){if(i===k){l=true;return 0}if(!i.compareDocumentPosition||!k.compareDocumentPosition)return i.compareDocumentPosition?-1:1;return i.compareDocumentPosition(k)&4?-1:1};else{T=function(i,k){if(i===k){l=true;return 0}else if(i.sourceIndex&&k.sourceIndex)return i.sourceIndex-k.sourceIndex;var u,w,z=[],B=[];u=i.parentNode;w=k.parentNode;var J=u;if(u===w)return ma(i,
+k);else if(u){if(!w)return 1}else return-1;for(;J;){z.unshift(J);J=J.parentNode}for(J=w;J;){B.unshift(J);J=J.parentNode}u=z.length;w=B.length;for(J=0;J<u&&J<w;J++)if(z[J]!==B[J])return ma(z[J],B[J]);return J===u?ma(i,B[J],-1):ma(z[J],k,1)};ma=function(i,k,u){if(i===k)return u;for(i=i.nextSibling;i;){if(i===k)return-1;i=i.nextSibling}return 1}}(function(){var i=L.createElement("div"),k="script"+(new Date).getTime(),u=L.documentElement;i.innerHTML="<a name='"+k+"'/>";u.insertBefore(i,u.firstChild);
+if(L.getElementById(k)){D.find.ID=function(w,z,B){if(typeof z.getElementById!=="undefined"&&!B)return(z=z.getElementById(w[1]))?z.id===w[1]||typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id").nodeValue===w[1]?[z]:j:[]};D.filter.ID=function(w,z){var B=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&B&&B.nodeValue===z}}u.removeChild(i);u=i=null})();(function(){var i=L.createElement("div");i.appendChild(L.createComment(""));if(i.getElementsByTagName("*").length>
+0)D.find.TAG=function(k,u){u=u.getElementsByTagName(k[1]);if(k[1]==="*"){k=[];for(var w=0;u[w];w++)u[w].nodeType===1&&k.push(u[w]);u=k}return u};i.innerHTML="<a href='#'></a>";if(i.firstChild&&typeof i.firstChild.getAttribute!=="undefined"&&i.firstChild.getAttribute("href")!=="#")D.attrHandle.href=function(k){return k.getAttribute("href",2)};i=null})();L.querySelectorAll&&function(){var i=y,k=L.createElement("div");k.innerHTML="<p class='TEST'></p>";if(!(k.querySelectorAll&&k.querySelectorAll(".TEST").length===
+0)){y=function(w,z,B,J){z=z||L;if(!J&&!y.isXML(z)){var M=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(w);if(M&&(z.nodeType===1||z.nodeType===9))if(M[1])return aa(z.getElementsByTagName(w),B);else if(M[2]&&D.find.CLASS&&z.getElementsByClassName)return aa(z.getElementsByClassName(M[2]),B);if(z.nodeType===9){if(w==="body"&&z.body)return aa([z.body],B);else if(M&&M[3]){var V=z.getElementById(M[3]);if(V&&V.parentNode){if(V.id===M[3])return aa([V],B)}else return aa([],B)}try{return aa(z.querySelectorAll(w),
+B)}catch(o){}}else if(z.nodeType===1&&z.nodeName.toLowerCase()!=="object"){M=z;var A=(V=z.getAttribute("id"))||"__sizzle__",K=z.parentNode,F=/^\s*[+~]/.test(w);if(V)A=A.replace(/'/g,"\\$&");else z.setAttribute("id",A);if(F&&K)z=z.parentNode;try{if(!F||K)return aa(z.querySelectorAll("[id='"+A+"'] "+w),B)}catch(X){}finally{V||M.removeAttribute("id")}}}return i(w,z,B,J)};for(var u in i)y[u]=i[u];k=null}}();(function(){var i=L.documentElement,k=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||
+i.msMatchesSelector;if(k){var u=!k.call(L.createElement("div"),"div"),w=false;try{k.call(L.documentElement,"[test!='']:sizzle")}catch(z){w=true}y.matchesSelector=function(B,J){J=J.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!y.isXML(B))try{if(w||!D.match.PSEUDO.test(J)&&!/!=/.test(J)){var M=k.call(B,J);if(M||!u||B.document&&B.document.nodeType!==11)return M}}catch(V){}return y(J,null,null,[B]).length>0}}})();(function(){var i=L.createElement("div");i.innerHTML="<div class='test e'></div><div class='test'></div>";
+if(!(!i.getElementsByClassName||i.getElementsByClassName("e").length===0)){i.lastChild.className="e";if(i.getElementsByClassName("e").length!==1){D.order.splice(1,0,"CLASS");D.find.CLASS=function(k,u,w){if(typeof u.getElementsByClassName!=="undefined"&&!w)return u.getElementsByClassName(k[1])};i=null}}})();y.contains=L.documentElement.contains?function(i,k){return i!==k&&(i.contains?i.contains(k):true)}:L.documentElement.compareDocumentPosition?function(i,k){return!!(i.compareDocumentPosition(k)&
+16)}:function(){return false};y.isXML=function(i){return(i=(i?i.ownerDocument||i:0).documentElement)?i.nodeName!=="HTML":false};var ia=function(i,k,u){var w,z=[],B="";for(k=k.nodeType?[k]:k;w=D.match.PSEUDO.exec(i);){B+=w[0];i=i.replace(D.match.PSEUDO,"")}i=D.relative[i]?i+"*":i;w=0;for(var J=k.length;w<J;w++)y(i,k[w],z,u);return y.filter(B,z)};y.attr=c.attr;y.selectors.attrMap={};c.find=y;c.expr=y.selectors;c.expr[":"]=c.expr.filters;c.unique=y.uniqueSort;c.text=y.getText;c.isXMLDoc=y.isXML;c.contains=
+y.contains})();var bc=/Until$/,cc=/^(?:parents|prevUntil|prevAll)/,dc=/,/,Ib=/^.[^:#\[\.,]*$/,ec=Array.prototype.slice,ob=c.expr.match.POS,fc={children:true,contents:true,next:true,prev:true};c.fn.extend({find:function(a){var b=this,d,e;if(typeof a!=="string")return c(a).filter(function(){d=0;for(e=b.length;d<e;d++)if(c.contains(b[d],this))return true});var f=this.pushStack("","find",a),h,l,m;d=0;for(e=this.length;d<e;d++){h=f.length;c.find(a,this[d],f);if(d>0)for(l=h;l<f.length;l++)for(m=0;m<h;m++)if(f[m]===
+f[l]){f.splice(l--,1);break}}return f},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,e=b.length;d<e;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(G(this,a,false),"not",a)},filter:function(a){return this.pushStack(G(this,a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?ob.test(a)?c(a,this.context).index(this[0])>=0:c.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var d=[],e,f,h=this[0];if(c.isArray(a)){for(f=
+1;h&&h.ownerDocument&&h!==b;){for(e=0;e<a.length;e++)c(h).is(a[e])&&d.push({selector:a[e],elem:h,level:f});h=h.parentNode;f++}return d}var l=ob.test(a)||typeof a!=="string"?c(a,b||this.context):0;e=0;for(f=this.length;e<f;e++)for(h=this[e];h;)if(l?l.index(h)>-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b||h.nodeType===11)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?
+this.prevAll().length:-1;if(typeof a==="string")return c.inArray(this[0],c(a));return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b):c.makeArray(a&&a.nodeType?[a]:a);b=c.merge(this.get(),a);return this.pushStack(C(a[0])||C(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,
+"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,
+"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);bc.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1&&!fc[a]?c.unique(f):f;if((this.length>1||dc.test(e))&&cc.test(a))f=f.reverse();return this.pushStack(f,a,ec.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,
+b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===j||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var $a="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gc=/ jQuery\d+="(?:\d+|null)"/g,
+Ua=/^\s+/,pb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,qb=/<([\w:]+)/,hc=/<tbody/i,ic=/<|&#?\w+;/,jc=/<(?:script|style)/i,kc=/<(?:script|object|embed|option|style)/i,rb=new RegExp("<(?:"+$a+")","i"),sb=/checked\s*(?:[^=]|=\s*.checked.)/i,lc=/\/(java|ecma)script/i,Jb=/^\s*<!(?:\[CDATA\[|\-\-)/,ga={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,
+"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},ab=I(L);ga.optgroup=ga.option;ga.tbody=ga.tfoot=ga.colgroup=ga.caption=ga.thead;ga.th=ga.td;if(!c.support.htmlSerialize)ga._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==j)return this.empty().append((this[0]&&
+this[0].ownerDocument||L).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});
+return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){var b=c.isFunction(a);return this.each(function(d){c(this).wrapAll(b?a.call(this,d):a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===
+1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,
+"after",arguments);a.push.apply(a,c.clean(arguments));return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*"));c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==
+null?a:b;return this.map(function(){return c.clone(this,a,b)})},html:function(a){if(a===j)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(gc,""):null;else if(typeof a==="string"&&!jc.test(a)&&(c.support.leadingWhitespace||!Ua.test(a))&&!ga[(qb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(pb,"<$1></$2>");try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(e){this.empty().append(a)}}else c.isFunction(a)?
+this.each(function(f){var h=c(this);h.html(a.call(this,f,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),e=d.html();d.replaceWith(a.call(this,b,e))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.length?this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",
+a):this},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){var e,f,h,l=a[0],m=[];if(!c.support.checkClone&&arguments.length===3&&typeof l==="string"&&sb.test(l))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(l))return this.each(function(y){var H=c(this);a[0]=l.call(this,y,b?H.html():j);H.domManip(a,b,d)});if(this[0]){e=l&&l.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:c.buildFragment(a,this,
+m);h=e.fragment;if(f=h.childNodes.length===1?(h=h.firstChild):h.firstChild){b=b&&c.nodeName(f,"tr");for(var n=0,t=this.length,E=t-1;n<t;n++)d.call(b?N(this[n],f):this[n],e.cacheable||t>1&&n<E?c.clone(h,true,true):h)}m.length&&c.each(m,ua)}return this}});c.buildFragment=function(a,b,d){var e,f,h,l,m=a[0];if(b&&b[0])l=b[0].ownerDocument||b[0];l.createDocumentFragment||(l=L);if(a.length===1&&typeof m==="string"&&m.length<512&&l===L&&m.charAt(0)==="<"&&!kc.test(m)&&(c.support.checkClone||!sb.test(m))&&
+(c.support.html5Clone||!rb.test(m))){f=true;if((h=c.fragments[m])&&h!==1)e=h}if(!e){e=l.createDocumentFragment();c.clean(a,l,e,d)}if(f)c.fragments[m]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=
+0;for(var h=d.length;f<h;f++){var l=(f>0?this.clone(true):this).get();c(d[f])[b](l);e=e.concat(l)}return this.pushStack(e,a,d.selector)}}});c.extend({clone:function(a,b,d){var e,f,h,l=c.support.html5Clone||!rb.test("<"+a.nodeName)?a.cloneNode(true):ta(a);if((!c.support.noCloneEvent||!c.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!c.isXMLDoc(a)){Q(a,l);e=P(a);f=P(l);for(h=0;e[h];++h)f[h]&&Q(e[h],f[h])}if(b){O(a,l);if(d){e=P(a);f=P(l);for(h=0;e[h];++h)O(e[h],f[h])}}return l},clean:function(a,
+b,d,e){b=b||L;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||L;for(var f=[],h,l=0,m;(m=a[l])!=null;l++){if(typeof m==="number")m+="";if(m){if(typeof m==="string")if(ic.test(m)){m=m.replace(pb,"<$1></$2>");h=(qb.exec(m)||["",""])[1].toLowerCase();var n=ga[h]||ga._default,t=n[0],E=b.createElement("div");b===L?ab.appendChild(E):I(b).appendChild(E);for(E.innerHTML=n[1]+m+n[2];t--;)E=E.lastChild;if(!c.support.tbody){t=hc.test(m);n=h==="table"&&!t?E.firstChild&&E.firstChild.childNodes:
+n[1]==="<table>"&&!t?E.childNodes:[];for(h=n.length-1;h>=0;--h)c.nodeName(n[h],"tbody")&&!n[h].childNodes.length&&n[h].parentNode.removeChild(n[h])}!c.support.leadingWhitespace&&Ua.test(m)&&E.insertBefore(b.createTextNode(Ua.exec(m)[0]),E.firstChild);m=E.childNodes}else m=b.createTextNode(m);var y;if(!c.support.appendChecked)if(m[0]&&typeof(y=m.length)==="number")for(h=0;h<y;h++)ea(m[h]);else ea(m);if(m.nodeType)f.push(m);else f=c.merge(f,m)}}if(d){a=function(H){return!H.type||lc.test(H.type)};for(l=
+0;f[l];l++)if(e&&c.nodeName(f[l],"script")&&(!f[l].type||f[l].type.toLowerCase()==="text/javascript"))e.push(f[l].parentNode?f[l].parentNode.removeChild(f[l]):f[l]);else{if(f[l].nodeType===1){b=c.grep(f[l].getElementsByTagName("script"),a);f.splice.apply(f,[l+1,0].concat(b))}d.appendChild(f[l])}}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,l=0,m;(m=a[l])!=null;l++)if(!(m.nodeName&&c.noData[m.nodeName.toLowerCase()]))if(d=m[c.expando]){if((b=e[d])&&
+b.events){for(var n in b.events)f[n]?c.event.remove(m,n):c.removeEvent(m,n,b.handle);if(b.handle)b.handle.elem=null}if(h)delete m[c.expando];else m.removeAttribute&&m.removeAttribute(c.expando);delete e[d]}}});var Va=/alpha\([^)]*\)/i,mc=/opacity=([^)]*)/,nc=/([A-Z]|^ms)/g,tb=/^-?\d+(?:px)?$/i,oc=/^-?\d/,pc=/^([\-+])=([\-+.\de]+)/,qc={position:"absolute",visibility:"hidden",display:"block"},Kb=["Left","Right"],Lb=["Top","Bottom"],wa,ub,vb;c.fn.css=function(a,b){if(arguments.length===2&&b===j)return this;
+return c.access(this,a,b,true,function(d,e,f){return f!==j?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){a=wa(a,"opacity","opacity");return a===""?"1":a}else return a.style.opacity}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),
+l=a.style,m=c.cssHooks[h];b=c.cssProps[h]||h;if(d!==j){e=typeof d;if(e==="string"&&(f=pc.exec(d))){d=+(f[1]+1)*+f[2]+parseFloat(c.css(a,b));e="number"}if(!(d==null||e==="number"&&isNaN(d))){if(e==="number"&&!c.cssNumber[h])d+="px";if(!m||!("set"in m)||(d=m.set(a,d))!==j)try{l[b]=d}catch(n){}}}else{if(m&&"get"in m&&(f=m.get(a,false,e))!==j)return f;return l[b]}}},css:function(a,b,d){var e,f;b=c.camelCase(b);f=c.cssHooks[b];b=c.cssProps[b]||b;if(b==="cssFloat")b="float";if(f&&"get"in f&&(e=f.get(a,
+true,d))!==j)return e;else if(wa)return wa(a,b)},swap:function(a,b,d){var e={};for(var f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]=e[f]}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)return va(d,b,f);else c.swap(d,qc,function(){h=va(d,b,f)});return h}},set:function(d,e){if(tb.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,
+b){return mc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var d=a.style;a=a.currentStyle;var e=c.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=a&&a.filter||d.filter||"";d.zoom=1;if(b>=1&&c.trim(f.replace(Va,""))===""){d.removeAttribute("filter");if(a&&!a.filter)return}d.filter=Va.test(f)?f.replace(Va,e):f+" "+e}};c(function(){if(!c.support.reliableMarginRight)c.cssHooks.marginRight={get:function(a,b){var d;c.swap(a,{display:"inline-block"},
+function(){d=b?wa(a,"margin-right","marginRight"):a.style.marginRight});return d}}});if(L.defaultView&&L.defaultView.getComputedStyle)ub=function(a,b){var d,e,f;b=b.replace(nc,"-$1").toLowerCase();if((e=a.ownerDocument.defaultView)&&(f=e.getComputedStyle(a,null))){d=f.getPropertyValue(b);if(d===""&&!c.contains(a.ownerDocument.documentElement,a))d=c.style(a,b)}return d};if(L.documentElement.currentStyle)vb=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b],h=a.style;if(f===null&&h&&(d=h[b]))f=
+d;if(!tb.test(f)&&oc.test(f)){d=h.left;if(e=a.runtimeStyle&&a.runtimeStyle.left)a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;if(e)a.runtimeStyle.left=e}return f===""?"auto":f};wa=ub||vb;if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style&&a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var rc=
+/%20/g,Mb=/\[\]$/,wb=/\r?\n/g,sc=/#.*$/,tc=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,uc=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,vc=/^(?:GET|HEAD)$/,wc=/^\/\//,xb=/\?/,xc=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,yc=/^(?:select|textarea)/i,bb=/\s+/,zc=/([?&])_=[^&]*/,yb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,zb=c.fn.load,Na={},Ab={},ra,sa,Bb=["*/"]+["*"];try{ra=Rb.href}catch(Lc){ra=L.createElement("a");ra.href="";
+ra=ra.href}sa=yb.exec(ra.toLowerCase())||[];c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&zb)return zb.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d=b;b=j}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(l,m,n){n=l.responseText;if(l.isResolved()){l.done(function(t){n=t});
+h.html(f?c("<div>").append(n.replace(xc,"")).find(f):n)}d&&h.each(d,[n,m,l])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||yc.test(this.nodeName)||uc.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d.replace(wb,"\r\n")}}):
+{name:b.name,value:a.replace(wb,"\r\n")}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.on(b,d)}});c.each(["get","post"],function(a,b){c[b]=function(d,e,f,h){if(c.isFunction(e)){h=h||f;f=e;e=j}return c.ajax({type:b,url:d,data:e,success:f,dataType:h})}});c.extend({getScript:function(a,b){return c.get(a,j,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},ajaxSetup:function(a,b){if(b)Ba(a,c.ajaxSettings);
+else{b=a;a=c.ajaxSettings}Ba(a,b);return a},ajaxSettings:{url:ra,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(sa[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Bb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":g.String,
+"text html":true,"text json":c.parseJSON,"text xml":c.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:Ea(Na),ajaxTransport:Ea(Ab),ajax:function(a,b){function d(i,k,u,w){if(ba!==2){ba=2;$&&clearTimeout($);S=j;H=w||"";T.readyState=i>0?4:0;var z,B,J;w=k;u=u?Oa(e,T,u):j;var M;if(i>=200&&i<300||i===304){if(e.ifModified){if(M=T.getResponseHeader("Last-Modified"))c.lastModified[t]=M;if(M=T.getResponseHeader("Etag"))c.etag[t]=M}if(i===304){w="notmodified";z=true}else try{B=Nb(e,u);w="success";
+z=true}catch(V){w="parsererror";J=V}}else{J=w;if(!w||i){w="error";if(i<0)i=0}}T.status=i;T.statusText=""+(k||w);z?l.resolveWith(f,[B,w,T]):l.rejectWith(f,[T,w,J]);T.statusCode(n);n=j;if(aa)h.trigger("ajax"+(z?"Success":"Error"),[T,e,z?B:J]);m.fireWith(f,[T,w]);if(aa){h.trigger("ajaxComplete",[T,e]);--c.active||c.event.trigger("ajaxStop")}}}if(typeof a==="object"){b=a;a=j}b=b||{};var e=c.ajaxSetup({},b),f=e.context||e,h=f!==e&&(f.nodeType||f instanceof c)?c(f):c.event,l=c.Deferred(),m=c.Callbacks("once memory"),
+n=e.statusCode||{},t,E={},y={},H,D,S,$,ba=0,aa,na,T={readyState:0,setRequestHeader:function(i,k){if(!ba){var u=i.toLowerCase();i=y[u]=y[u]||i;E[i]=k}return this},getAllResponseHeaders:function(){return ba===2?H:null},getResponseHeader:function(i){var k;if(ba===2){if(!D)for(D={};k=tc.exec(H);)D[k[1].toLowerCase()]=k[2];k=D[i.toLowerCase()]}return k===j?null:k},overrideMimeType:function(i){if(!ba)e.mimeType=i;return this},abort:function(i){i=i||"abort";S&&S.abort(i);d(0,i);return this}};l.promise(T);
+T.success=T.done;T.error=T.fail;T.complete=m.add;T.statusCode=function(i){if(i){var k;if(ba<2)for(k in i)n[k]=[n[k],i[k]];else{k=i[T.status];T.then(k,k)}}return this};e.url=((a||e.url)+"").replace(sc,"").replace(wc,sa[1]+"//");e.dataTypes=c.trim(e.dataType||"*").toLowerCase().split(bb);if(e.crossDomain==null){a=yb.exec(e.url.toLowerCase());e.crossDomain=!!(a&&(a[1]!=sa[1]||a[2]!=sa[2]||(a[3]||(a[1]==="http:"?80:443))!=(sa[3]||(sa[1]==="http:"?80:443))))}if(e.data&&e.processData&&typeof e.data!=="string")e.data=
+c.param(e.data,e.traditional);fa(Na,e,b,T);if(ba===2)return false;aa=e.global;e.type=e.type.toUpperCase();e.hasContent=!vc.test(e.type);aa&&c.active++===0&&c.event.trigger("ajaxStart");if(!e.hasContent){if(e.data){e.url+=(xb.test(e.url)?"&":"?")+e.data;delete e.data}t=e.url;if(e.cache===false){a=c.now();var ma=e.url.replace(zc,"$1_="+a);e.url=ma+(ma===e.url?(xb.test(e.url)?"&":"?")+"_="+a:"")}}if(e.data&&e.hasContent&&e.contentType!==false||b.contentType)T.setRequestHeader("Content-Type",e.contentType);
+if(e.ifModified){t=t||e.url;c.lastModified[t]&&T.setRequestHeader("If-Modified-Since",c.lastModified[t]);c.etag[t]&&T.setRequestHeader("If-None-Match",c.etag[t])}T.setRequestHeader("Accept",e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", "+Bb+"; q=0.01":""):e.accepts["*"]);for(na in e.headers)T.setRequestHeader(na,e.headers[na]);if(e.beforeSend&&(e.beforeSend.call(f,T,e)===false||ba===2)){T.abort();return false}for(na in{success:1,error:1,complete:1})T[na](e[na]);
+if(S=fa(Ab,e,b,T)){T.readyState=1;aa&&h.trigger("ajaxSend",[T,e]);if(e.async&&e.timeout>0)$=setTimeout(function(){T.abort("timeout")},e.timeout);try{ba=1;S.send(E,d)}catch(ia){if(ba<2)d(-1,ia);else throw ia;}}else d(-1,"No Transport");return T},param:function(a,b){var d=[],e=function(h,l){l=c.isFunction(l)?l():l;d[d.length]=encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===j)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery&&!c.isPlainObject(a))c.each(a,function(){e(this.name,this.value)});
+else for(var f in a)xa(f,a[f],b,e);return d.join("&").replace(rc,"+")}});c.extend({active:0,lastModified:{},etag:{}});var Ac=c.now(),Ha=/(\=)\?(&|$)|\?\?/i;c.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return c.expando+"_"+Ac++}});c.ajaxPrefilter("json jsonp",function(a,b,d){b=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==false&&(Ha.test(a.url)||b&&Ha.test(a.data))){var e,f=a.jsonpCallback=c.isFunction(a.jsonpCallback)?
+a.jsonpCallback():a.jsonpCallback,h=g[f],l=a.url,m=a.data,n="$1"+f+"$2";if(a.jsonp!==false){l=l.replace(Ha,n);if(a.url===l){if(b)m=m.replace(Ha,n);if(a.data===m)l+=(/\?/.test(l)?"&":"?")+a.jsonp+"="+f}}a.url=l;a.data=m;g[f]=function(t){e=[t]};d.always(function(){g[f]=h;e&&c.isFunction(h)&&g[f](e[0])});a.converters["script json"]=function(){e||c.error(f+" was not called");return e[0]};a.dataTypes[0]="json";return"script"}});c.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
+contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){c.globalEval(a);return a}}});c.ajaxPrefilter("script",function(a){if(a.cache===j)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});c.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=L.head||L.getElementsByTagName("head")[0]||L.documentElement;return{send:function(e,f){b=L.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=
+function(h,l){if(l||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;d&&b.parentNode&&d.removeChild(b);b=j;l||f(200,"success")}};d.insertBefore(b,d.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var Wa=g.ActiveXObject?function(){for(var a in Aa)Aa[a](0,1)}:false,Bc=0,Aa;c.ajaxSettings.xhr=g.ActiveXObject?function(){return!this.isLocal&&cb()||Ob()}:cb;(function(a){c.extend(c.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(c.ajaxSettings.xhr());c.support.ajax&&
+c.ajaxTransport(function(a){if(!a.crossDomain||c.support.cors){var b;return{send:function(d,e){var f=a.xhr(),h,l;a.username?f.open(a.type,a.url,a.async,a.username,a.password):f.open(a.type,a.url,a.async);if(a.xhrFields)for(l in a.xhrFields)f[l]=a.xhrFields[l];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType);if(!a.crossDomain&&!d["X-Requested-With"])d["X-Requested-With"]="XMLHttpRequest";try{for(l in d)f.setRequestHeader(l,d[l])}catch(m){}f.send(a.hasContent&&a.data||null);b=function(n,
+t){var E,y,H,D,S;try{if(b&&(t||f.readyState===4)){b=j;if(h){f.onreadystatechange=c.noop;Wa&&delete Aa[h]}if(t)f.readyState!==4&&f.abort();else{E=f.status;H=f.getAllResponseHeaders();D={};if((S=f.responseXML)&&S.documentElement)D.xml=S;D.text=f.responseText;try{y=f.statusText}catch($){y=""}if(!E&&a.isLocal&&!a.crossDomain)E=D.text?200:404;else if(E===1223)E=204}}}catch(ba){t||e(-1,ba)}D&&e(E,y,D,H)};if(!a.async||f.readyState===4)b();else{h=++Bc;if(Wa){if(!Aa){Aa={};c(g).unload(Wa)}Aa[h]=b}f.onreadystatechange=
+b}},abort:function(){b&&b(0,1)}}}});var Pa={},la,za,Cc=/^(?:toggle|show|hide)$/,Dc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Ia,eb=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Fa;c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(ya("show",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];if(a.style){b=a.style.display;if(!c._data(a,"olddisplay")&&b==="none")b=a.style.display="";
+b===""&&c.css(a,"display")==="none"&&c._data(a,"olddisplay",fb(a.nodeName))}}for(d=0;d<e;d++){a=this[d];if(a.style){b=a.style.display;if(b===""||b==="none")a.style.display=c._data(a,"olddisplay")||""}}return this}},hide:function(a,b,d){if(a||a===0)return this.animate(ya("hide",3),a,b,d);else{d=0;for(var e=this.length;d<e;d++){a=this[d];if(a.style){b=c.css(a,"display");b!=="none"&&!c._data(a,"olddisplay")&&c._data(a,"olddisplay",b)}}for(d=0;d<e;d++)if(this[d].style)this[d].style.display="none";return this}},
+_toggle:c.fn.toggle,toggle:function(a,b,d){var e=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||e?this.each(function(){var f=e?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(ya("toggle",3),a,b,d);return this},fadeTo:function(a,b,d,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,e)},animate:function(a,b,d,e){function f(){h.queue===false&&c._mark(this);var l=c.extend({},h),m=this.nodeType===
+1,n=m&&c(this).is(":hidden"),t,E,y,H,D;l.animatedProperties={};for(y in a){t=c.camelCase(y);if(y!==t){a[t]=a[y];delete a[y]}E=a[t];if(c.isArray(E)){l.animatedProperties[t]=E[1];E=a[t]=E[0]}else l.animatedProperties[t]=l.specialEasing&&l.specialEasing[t]||l.easing||"swing";if(E==="hide"&&n||E==="show"&&!n)return l.complete.call(this);if(m&&(t==="height"||t==="width")){l.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(c.css(this,"display")==="inline"&&c.css(this,"float")===
+"none")if(!c.support.inlineBlockNeedsLayout||fb(this.nodeName)==="inline")this.style.display="inline-block";else this.style.zoom=1}}if(l.overflow!=null)this.style.overflow="hidden";for(y in a){m=new c.fx(this,l,y);E=a[y];if(Cc.test(E))if(t=c._data(this,"toggle"+y)||(E==="toggle"?n?"show":"hide":0)){c._data(this,"toggle"+y,t==="show"?"hide":"show");m[t]()}else m[E]();else{t=Dc.exec(E);H=m.cur();if(t){E=parseFloat(t[2]);D=t[3]||(c.cssNumber[y]?"":"px");if(D!=="px"){c.style(this,y,(E||1)+D);H=(E||1)/
+m.cur()*H;c.style(this,y,H+D)}if(t[1])E=(t[1]==="-="?-1:1)*E+H;m.custom(H,E,D)}else m.custom(H,E,"")}}return true}var h=c.speed(b,d,e);if(c.isEmptyObject(a))return this.each(h.complete,[false]);a=c.extend({},a);return h.queue===false?this.each(f):this.queue(h.queue,f)},stop:function(a,b,d){if(typeof a!=="string"){d=b;b=a;a=j}if(b&&a!==false)this.queue(a||"fx",[]);return this.each(function(){function e(n,t,E){t=t[E];c.removeData(n,E,true);t.stop(d)}var f,h=false,l=c.timers,m=c._data(this);d||c._unmark(true,
+this);if(a==null)for(f in m)m[f]&&m[f].stop&&f.indexOf(".run")===f.length-4&&e(this,m,f);else if(m[f=a+".run"]&&m[f].stop)e(this,m,f);for(f=l.length;f--;)if(l[f].elem===this&&(a==null||l[f].queue===a)){d?l[f](true):l[f].saveState();h=true;l.splice(f,1)}d&&h||c.dequeue(this,a)})}});c.each({slideDown:ya("show",1),slideUp:ya("hide",1),slideToggle:ya("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b,
+d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;if(e.queue==null||e.queue===true)e.queue="fx";e.old=e.complete;e.complete=function(f){c.isFunction(e.old)&&e.old.call(this);if(e.queue)c.dequeue(this,e.queue);else f!==false&&c._unmark(this)};return e},
+easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;b.orig=b.orig||{}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=c.css(this.elem,
+this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,d){function e(l){return f.step(l)}var f=this,h=c.fx;this.startTime=Fa||db();this.end=b;this.now=this.start=a;this.pos=this.state=0;this.unit=d||this.unit||(c.cssNumber[this.prop]?"":"px");e.queue=this.options.queue;e.elem=this.elem;e.saveState=function(){f.options.hide&&c._data(f.elem,"fxshow"+f.prop)===j&&c._data(f.elem,"fxshow"+f.prop,f.start)};if(e()&&c.timers.push(e)&&!Ia)Ia=setInterval(h.tick,h.interval)},show:function(){var a=
+c._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||c.style(this.elem,this.prop);this.options.show=true;a!==j?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c._data(this.elem,"fxshow"+this.prop)||c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b,d=Fa||db(),e=true,f=this.elem,h=this.options;if(a||d>=h.duration+this.startTime){this.now=
+this.end;this.pos=this.state=1;this.update();h.animatedProperties[this.prop]=true;for(b in h.animatedProperties)if(h.animatedProperties[b]!==true)e=false;if(e){h.overflow!=null&&!c.support.shrinkWrapBlocks&&c.each(["","X","Y"],function(l,m){f.style["overflow"+m]=h.overflow[l]});h.hide&&c(f).hide();if(h.hide||h.show)for(b in h.animatedProperties){c.style(f,b,h.orig[b]);c.removeData(f,"fxshow"+b,true);c.removeData(f,"toggle"+b,true)}if(a=h.complete){h.complete=false;a.call(f)}}return false}else{if(h.duration==
+Infinity)this.now=d;else{a=d-this.startTime;this.state=a/h.duration;this.pos=c.easing[h.animatedProperties[this.prop]](this.state,a,0,1,h.duration);this.now=this.start+(this.end-this.start)*this.pos}this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a,b=c.timers,d=0;d<b.length;d++){a=b[d];!a()&&b[d]===a&&b.splice(d--,1)}b.length||c.fx.stop()},interval:13,stop:function(){clearInterval(Ia);Ia=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",
+a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});c.each(["width","height"],function(a,b){c.fx.step[b]=function(d){c.style(d.elem,b,Math.max(0,d.now)+d.unit)}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};var Ec=/^t(?:able|d|h)$/i,Cb=/^(?:body|html)$/i;c.fn.offset="getBoundingClientRect"in L.documentElement?function(a){var b=this[0],
+d;if(a)return this.each(function(l){c.offset.setOffset(this,a,l)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);try{d=b.getBoundingClientRect()}catch(e){}var f=b.ownerDocument,h=f.documentElement;if(!d||!c.contains(h,b))return d?{top:d.top,left:d.left}:{top:0,left:0};b=f.body;f=Qa(f);return{top:d.top+(f.pageYOffset||c.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:d.left+(f.pageXOffset||c.support.boxModel&&h.scrollLeft||
+b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(E){c.offset.setOffset(this,a,E)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d,e=b.offsetParent,f=b,h=b.ownerDocument,l=h.documentElement,m=h.body;d=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var n=b.offsetTop,t=b.offsetLeft;(b=b.parentNode)&&b!==m&&b!==l;){if(c.support.fixedPosition&&d.position==="fixed")break;d=h?h.getComputedStyle(b,
+null):b.currentStyle;n-=b.scrollTop;t-=b.scrollLeft;if(b===e){n+=b.offsetTop;t+=b.offsetLeft;if(c.support.doesNotAddBorder&&!(c.support.doesAddBorderForTableAndCells&&Ec.test(b.nodeName))){n+=parseFloat(d.borderTopWidth)||0;t+=parseFloat(d.borderLeftWidth)||0}f=e;e=b.offsetParent}if(c.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"){n+=parseFloat(d.borderTopWidth)||0;t+=parseFloat(d.borderLeftWidth)||0}d=d}if(d.position==="relative"||d.position==="static"){n+=m.offsetTop;t+=m.offsetLeft}if(c.support.fixedPosition&&
+d.position==="fixed"){n+=Math.max(l.scrollTop,m.scrollTop);t+=Math.max(l.scrollLeft,m.scrollLeft)}return{top:n,left:t}};c.offset={bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;if(c.support.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.css(a,"marginTop"))||0;d+=parseFloat(c.css(a,"marginLeft"))||0}return{top:b,left:d}},setOffset:function(a,b,d){var e=c.css(a,"position");if(e==="static")a.style.position="relative";var f=c(a),h=f.offset(),l=c.css(a,"top"),m=c.css(a,"left"),n={},t={};if((e===
+"absolute"||e==="fixed")&&c.inArray("auto",[l,m])>-1){t=f.position();e=t.top;m=t.left}else{e=parseFloat(l)||0;m=parseFloat(m)||0}if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)n.top=b.top-h.top+e;if(b.left!=null)n.left=b.left-h.left+m;"using"in b?b.using.call(a,n):f.css(n)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Cb.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,
+"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||L.body;a&&!Cb.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f,h;if(e===j){f=this[0];if(!f)return null;return(h=Qa(f))?"pageXOffset"in h?h[a?"pageYOffset":
+"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}return this.each(function(){if(h=Qa(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e})}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){var e=this[0];return e?e.style?parseFloat(c.css(e,d,"padding")):this[d]():null};c.fn["outer"+b]=function(e){var f=this[0];return f?f.style?parseFloat(c.css(f,d,e?"margin":"border")):this[d]():null};c.fn[d]=
+function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(m){var n=c(this);n[d](e.call(this,m,n[d]()))});if(c.isWindow(f)){var h=f.document.documentElement["client"+b],l=f.document.body;return f.document.compatMode==="CSS1Compat"&&h||l&&l["client"+b]||h}else if(f.nodeType===9)return Math.max(f.documentElement["client"+b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]);else if(e===j){f=c.css(f,d);h=parseFloat(f);
+return c.isNumeric(h)?h:f}else return this.css(d,typeof e==="string"?e:e+"px")}});g.jQuery=g.$=c;typeof define==="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return c})})(window);var Z=jQuery;Z.noConflict();jQuery.cookie=function(g,j,q){if(typeof j!="undefined"){q=q||{};if(j===null){j="";q.expires=-1}var v="";if(q.expires&&(typeof q.expires=="number"||q.expires.toUTCString)){if(typeof q.expires=="number"){v=new Date;v.setTime(v.getTime()+q.expires*24*60*60*1E3)}else v=
+q.expires;v="; expires="+v.toUTCString()}var p=q.path?"; path="+q.path:"",s=q.domain?"; domain="+q.domain:"";q=q.secure?"; secure":"";document.cookie=[g,"=",encodeURIComponent(j),v,p,s,q].join("")}else{j=null;if(document.cookie&&document.cookie!=""){q=document.cookie.split(";");for(v=0;v<q.length;v++){p=jQuery.trim(q[v]);if(p.substring(0,g.length+1)==g+"="&&p.match("=")){j=decodeURIComponent(p.substring(g.length+1));break}else if(!p.match("=")&&p.substring(0,g.length)==g){j="";break}}}return j}};
+jQuery.fn.extend({elementFrame:function(){var g=jQuery(this);if(arguments.length===1){var j=arguments[0],q=j.topleft,v=j.bottomright,p=q.x,s=j.width||v.x-q.x;v=j.height||v.y-q.y;g.css("top",q.y+"px");g.css("left",p+"px");if(!j.ignoreDimensions){g.width(s);g.height(v)}g.css("zIndex",j.zIndex);return this}else{g=jQuery(this);var r=g.offset();s=g.width();v=g.height();j=g.outerWidth()||s;q=g.outerHeight()||v;p=r.left;var x=p+j;r=r.top;var C=r+q;g=g.css("z-index");return{width:s,height:v,outerWidth:j,
+outerHeight:q,zIndex:g,topleft:{x:p,y:r},topright:{x:x,y:r},bottomleft:{x:p,y:C},bottomright:{x:x,y:C}}}},windowFrame:function(){var g=jQuery(document.body),j=0,q=jQuery(document.body).width();if(self.innerHeight)j=self.innerHeight;else if(document.documentElement&&document.documentElement.clientHeight)j=document.documentElement.clientHeight;else if(document.body)j=document.body.clientHeight;var v=parseInt(g.css("margin-left"),10),p=parseInt(g.css("margin-right"),10);g=self.pageYOffset||jQuery.boxModel&&
+document.documentElement.scrollTop||document.body.scrollTop;var s=g+j,r=self.pageXOffset||jQuery.boxModel&&document.documentElement.scrollLeft||document.body.scrollLeft;v=r+q+p+v;p=scrollWidth=0;p=document.documentElement&&document.documentElement.scrollHeight>p?document.documentElement.scrollHeight:document.body.scrollHeight>j?document.body.scrollHeight:document.body.offsetHeight;scrollWidth=document.documentElement&&document.documentElement.scrollWidth>scrollWidth?document.documentElement.scrollWidth:
+document.body.scrollWidth>q?document.body.scrollWidth:document.body.offsetWidth;return{width:q,height:j,scrollWidth:scrollWidth,scrollHeight:p,topleft:{x:r,y:g},topright:{x:v,y:g},bottomleft:{x:r,y:s},bottomright:{x:v,y:s}}},_availableFrameSizesHelper:function(g,j,q,v,p,s){return g===0||j===0?null:{width:g,height:j,topleft:{x:s,y:q},topright:{x:v,y:q},bottomleft:{x:s,y:p},bottomright:{x:v,y:p}}},availableFrameSizes:function(){var g=jQuery(this),j=g.elementFrame(),q=g.windowFrame(),v=q.topleft.y,p=
+q.topleft.x;g=q.topright.x;var s=q.bottomright.y,r=j.topleft.y,x=j.bottomleft.y,C=j.topleft.x,G=j.topright.x,I=j.width,N=j.height,O=r-v;if(O<0)O=0;var Q=s-x;if(Q<0)Q=0;var P=C-p;if(P<0)P=0;var R=g-G;if(R<0)R=0;j=this._availableFrameSizesHelper(q.width,O,v,g,r,p);var ea=this._availableFrameSizesHelper(q.width,Q,x,g,s,p),ta=this._availableFrameSizesHelper(P,q.height,v,G,s,p);q=this._availableFrameSizesHelper(R,q.height,v,g,s,G);var ua=this._availableFrameSizesHelper(P,O,v,C,r,p),va=this._availableFrameSizesHelper(I,
+O,v,G,r,C);v=this._availableFrameSizesHelper(R,O,v,g,r,G);O=this._availableFrameSizesHelper(P,Q,x,C,s,p);I=this._availableFrameSizesHelper(I,Q,x,G,s,C);s=this._availableFrameSizesHelper(R,Q,x,g,s,G);p=this._availableFrameSizesHelper(P,N,r,C,x,p);g=this._availableFrameSizesHelper(R,N,r,g,x,G);return{top:j,bottom:ea,left:ta,right:q,topleft:ua,topcenter:va,topright:v,bottomleft:O,bottomcenter:I,bottomright:s,middleleft:p,middleright:g}},elementFramePercentHidden:function(){var g=jQuery(this),j=g.windowFrame(),
+q=g.elementFrame();g=j.topleft.y;var v=j.topleft.x,p=j.bottomright.x,s=j.bottomright.y,r=q.topleft.y,x=q.bottomleft.y,C=q.topleft.x,G=q.topright.x,I=q.outerWidth;q=q.outerHeight;var N=rPixel=tPixel=bPixel=0,O=rPercent=tPercent=bPercent=0,Q=false;v=C-v;if(v<0){Q=true;N=v*-1;O=(I+v)/I*100}v=p-G;if(v<0){Q=true;rPixel=v*-1;rPercent=100-(I+v)/I*100}v=r-g;if(v<0){Q=true;tPixel=v*-1;tPercent=(q+v)/q*100}v=s-x+(!jQuery.browser.msie&&j.scrollWidth>j.width+16?-16:0);if(v<0){Q=true;bPixel=v*-1;bPercent=100-
+(q+v)/q*100}return{isHidden:Q,left:O,right:rPercent,top:tPercent,bottom:bPercent,pixels:{left:N,right:rPixel,top:tPixel,bottom:bPixel}}},moveFrameIntoView:function(){var g=jQuery(this),j=g.elementFramePercentHidden();if(j.isHidden){var q=j.pixels.bottom,v=j.pixels.left,p=j.pixels.right;j=j.pixels.top||-q||0;if(j!==0){j=parseInt(g.css("top"),10)+parseInt(j,10);g.css("top",j+"px")}v=v||-p||0;if(v!==0){v=parseInt(g.css("left"),10)+parseInt(v,10);g.css("left",v+"px")}}},setFramePosition:function(g,j){var q=
+jQuery(this).css("top",-1000).css("display","block"),v=jQuery(j.element),p=q.elementFrame(),s=v.elementFrame();q.windowFrame();for(var r=q.parents().get(),x=false,C=0;C<r.length;C++)if(jQuery(r[C]).css("position")=="relative"){x=true;break}if(x)C=r=0;else{r=s.topleft.x;C=s.topleft.y}j=this._getFrameOffsetPosition(v,s.height,s.width,j.vertical,j.hortizontal);r+=j.offsetX;C+=j.offsetY;v=this._getFrameOffsetPosition(q,p.height,p.width,g.vertical,g.hortizontal);j=r+(g.customOffsetX||0)-v.offsetX;v=C+
+(g.customOffsetY||0)-v.offsetY;if(x){j-=r;v-=C}p={topleft:{x:j,y:v},width:p.width,height:p.height,ignoreDimensions:true};x=q.css("opacity");r=q.css("filter");C=q.css("-ms-filter");q.css("opacity",0).css("filter","alpha(opacity=0)").css("-ms-filter","progid:DXImageTransform.Microsoft.Alpha(Opacity=0)").elementFrame(p);if(!g.adjustFit||g.adjustFit.toLowerCase()==="autoadjust"||g.adjustFit.toLowerCase()==="slide")q.moveFrameIntoView();q.css("display","none").css("opacity",x).css("filter",r).css("-ms-filter",
+C);return this},_getFrameOffsetPosition:function(g,j,q,v,p){function s(C,G){if(C.indexOf("%")>0){C=parseFloat(C)/100;return Math.floor(G*C)}else return C.length>0?parseInt(C):0}var r=0,x=0;switch(v.toLowerCase()){case "top":case "t":r=parseInt(g.css("margin-top"),10)||0;break;case "middle":case "m":case "center":case "c":r=Math.floor(j/2);break;case "bottom":case "b":r=j;break;default:r=s(v,j);if(isNaN(r))r=0}switch(p.toLowerCase()){case "left":case "l":x=parseInt(g.css("margin-left"),10)||0;break;
+case "center":case "c":x=Math.floor(q/2);break;case "right":case "r":x=q;break;default:x=s(p,q);if(isNaN(x))x=0}return{offsetX:x,offsetY:r}},centerFrameInWindow:function(){var g=jQuery(this),j=false;if(g.is(":visible").length===0){j=true;g.css("top","-10000px").css("display","block")}var q=g.elementFrame(),v=g.windowFrame();j&&g.css("display","none");j=Math.floor((v.width-q.width)/2)+v.topleft.x;v=Math.floor((v.height-q.height)/2)+v.topleft.y;g.elementFrame({topleft:{x:j,y:v},width:q.width,height:q.height,
+ignoreDimensions:true});return this},createIE6LayerFix:function(g){if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<7){var j=jQuery("<iframe src='javascript:\"\";' class='ui-ncbi-iframe-fix' marginwidth='0' marginheight='0' align='bottom' scrolling='no' frameborder='0'></iframe>"),q=jQuery(this).elementFrame();if(q.zIndex!=="auto"&&typeof parseInt(q.zIndex,10)==="number")q.zIndex-=1;j.elementFrame(q);g&&j.appendTo(document.body);return j}return null}});(function(g){g.fn.hoverIntent=function(j,
+q){var v={sensitivity:7,interval:100,timeout:0};v=g.extend(v,q?{over:j,out:q}:j);var p,s,r,x,C=function(N){p=N.pageX;s=N.pageY},G=function(N,O){O.hoverIntent_t=clearTimeout(O.hoverIntent_t);if(Math.abs(r-p)+Math.abs(x-s)<v.sensitivity){g(O).unbind("mousemove",C);O.hoverIntent_s=1;return v.over.apply(O,[N])}else{r=p;x=s;O.hoverIntent_t=setTimeout(function(){G(N,O)},v.interval)}},I=function(N,O){O.hoverIntent_t=clearTimeout(O.hoverIntent_t);O.hoverIntent_s=0;return v.out.apply(O,[N])};j=function(N){for(var O=
+(N.type=="mouseover"?N.fromElement:N.toElement)||N.relatedTarget;O&&O!=this;)try{O=O.parentNode}catch(Q){O=this}if(O==this)return false;var P=jQuery.extend({},N),R=this;if(R.hoverIntent_t)R.hoverIntent_t=clearTimeout(R.hoverIntent_t);if(N.type=="mouseover"){r=P.pageX;x=P.pageY;g(R).bind("mousemove",C);if(R.hoverIntent_s!=1)R.hoverIntent_t=setTimeout(function(){G(P,R)},v.interval)}else{g(R).unbind("mousemove",C);if(R.hoverIntent_s==1)R.hoverIntent_t=setTimeout(function(){I(P,R)},v.timeout)}};return this.mouseover(j).mouseout(j)}})(jQuery);
+if(!this.JSON)this.JSON={};(function(){function g(G){return G<10?"0"+G:G}function j(G){p.lastIndex=0;return p.test(G)?'"'+G.replace(p,function(I){var N=x[I];return typeof N==="string"?N:"\\u"+("0000"+I.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+G+'"'}function q(G,I){var N,O,Q=s,P,R=I[G];if(R&&typeof R==="object"&&typeof R.toJSON==="function")R=R.toJSON(G);if(typeof C==="function")R=C.call(I,G,R);switch(typeof R){case "string":return j(R);case "number":return isFinite(R)?String(R):"null";case "boolean":case "null":return String(R);
+case "object":if(!R)return"null";s+=r;P=[];if(Object.prototype.toString.apply(R)==="[object Array]"){O=R.length;for(G=0;G<O;G+=1)P[G]=q(G,R)||"null";I=P.length===0?"[]":s?"[\n"+s+P.join(",\n"+s)+"\n"+Q+"]":"["+P.join(",")+"]";s=Q;return I}if(C&&typeof C==="object"){O=C.length;for(G=0;G<O;G+=1){N=C[G];if(typeof N==="string")if(I=q(N,R))P.push(j(N)+(s?": ":":")+I)}}else for(N in R)if(Object.hasOwnProperty.call(R,N))if(I=q(N,R))P.push(j(N)+(s?": ":":")+I);I=P.length===0?"{}":s?"{\n"+s+P.join(",\n"+s)+
+"\n"+Q+"}":"{"+P.join(",")+"}";s=Q;return I}}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+g(this.getUTCMonth()+1)+"-"+g(this.getUTCDate())+"T"+g(this.getUTCHours())+":"+g(this.getUTCMinutes())+":"+g(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}}var v=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
+p=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s,r,x={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},C;if(typeof JSON.stringify!=="function")JSON.stringify=function(G,I,N){var O;r=s="";if(typeof N==="number")for(O=0;O<N;O+=1)r+=" ";else if(typeof N==="string")r=N;if((C=I)&&typeof I!=="function"&&(typeof I!=="object"||typeof I.length!=="number"))throw new Error("JSON.stringify");return q("",
+{"":G})};if(typeof JSON.parse!=="function")JSON.parse=function(G,I){function N(O,Q){var P,R,ea=O[Q];if(ea&&typeof ea==="object")for(P in ea)if(Object.hasOwnProperty.call(ea,P)){R=N(ea,P);if(R!==undefined)ea[P]=R;else delete ea[P]}return I.call(O,Q,ea)}v.lastIndex=0;if(v.test(G))G=G.replace(v,function(O){return"\\u"+("0000"+O.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(G.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
+"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){G=eval("("+G+")");return typeof I==="function"?N({"":G},""):G}throw new SyntaxError("JSON.parse");}})();(function(g,j){function q(p,s){var r=p.nodeName.toLowerCase();if("area"===r){s=p.parentNode;r=s.name;if(!p.href||!r||s.nodeName.toLowerCase()!=="map")return false;p=g("img[usemap=#"+r+"]")[0];return!!p&&v(p)}return(/input|select|textarea|button|object/.test(r)?!p.disabled:"a"==r?p.href||s:s)&&v(p)}function v(p){return!g(p).parents().andSelf().filter(function(){return g.curCSS(this,
+"visibility")==="hidden"||g.expr.filters.hidden(this)}).length}g.ui=g.ui||{};if(!g.ui.version){g.extend(g.ui,{version:"1.8.17",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});
+g.fn.extend({propAttr:g.fn.prop||g.fn.attr,_focus:g.fn.focus,focus:function(p,s){return typeof p==="number"?this.each(function(){var r=this;setTimeout(function(){g(r).focus();s&&s.call(r)},p)}):this._focus.apply(this,arguments)},scrollParent:function(){var p;p=g.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(g.curCSS(this,"position",1))&&/(auto|scroll)/.test(g.curCSS(this,"overflow",
+1)+g.curCSS(this,"overflow-y",1)+g.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(g.curCSS(this,"overflow",1)+g.curCSS(this,"overflow-y",1)+g.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!p.length?g(document):p},zIndex:function(p){if(p!==j)return this.css("zIndex",p);if(this.length){p=g(this[0]);for(var s;p.length&&p[0]!==document;){s=p.css("position");if(s==="absolute"||s==="relative"||s==="fixed"){s=parseInt(p.css("zIndex"),
+10);if(!isNaN(s)&&s!==0)return s}p=p.parent()}}return 0},disableSelection:function(){return this.bind((g.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(p){p.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});g.each(["Width","Height"],function(p,s){function r(I,N,O,Q){g.each(x,function(){N-=parseFloat(g.curCSS(I,"padding"+this,true))||0;if(O)N-=parseFloat(g.curCSS(I,"border"+this+"Width",true))||0;if(Q)N-=parseFloat(g.curCSS(I,
+"margin"+this,true))||0});return N}var x=s==="Width"?["Left","Right"]:["Top","Bottom"],C=s.toLowerCase(),G={innerWidth:g.fn.innerWidth,innerHeight:g.fn.innerHeight,outerWidth:g.fn.outerWidth,outerHeight:g.fn.outerHeight};g.fn["inner"+s]=function(I){if(I===j)return G["inner"+s].call(this);return this.each(function(){g(this).css(C,r(this,I)+"px")})};g.fn["outer"+s]=function(I,N){if(typeof I!=="number")return G["outer"+s].call(this,I);return this.each(function(){g(this).css(C,r(this,I,true,N)+"px")})}});
+g.extend(g.expr[":"],{data:function(p,s,r){return!!g.data(p,r[3])},focusable:function(p){return q(p,!isNaN(g.attr(p,"tabindex")))},tabbable:function(p){var s=g.attr(p,"tabindex"),r=isNaN(s);return(r||s>=0)&&q(p,!r)}});g(function(){var p=document.body,s=p.appendChild(s=document.createElement("div"));g.extend(s.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});g.support.minHeight=s.offsetHeight===100;g.support.selectstart="onselectstart"in s;p.removeChild(s).style.display="none"});g.extend(g.ui,
+{plugin:{add:function(p,s,r){p=g.ui[p].prototype;for(var x in r){p.plugins[x]=p.plugins[x]||[];p.plugins[x].push([s,r[x]])}},call:function(p,s,r){if((s=p.plugins[s])&&p.element[0].parentNode)for(var x=0;x<s.length;x++)p.options[s[x][0]]&&s[x][1].apply(p.element,r)}},contains:function(p,s){return document.compareDocumentPosition?p.compareDocumentPosition(s)&16:p!==s&&p.contains(s)},hasScroll:function(p,s){if(g(p).css("overflow")==="hidden")return false;s=s&&s==="left"?"scrollLeft":"scrollTop";var r=
+false;if(p[s]>0)return true;p[s]=1;r=p[s]>0;p[s]=0;return r},isOverAxis:function(p,s,r){return p>s&&p<s+r},isOver:function(p,s,r,x,C,G){return g.ui.isOverAxis(p,r,C)&&g.ui.isOverAxis(s,x,G)}})}})(jQuery);(function(g,j){if(g.cleanData){var q=g.cleanData;g.cleanData=function(p){for(var s=0,r;(r=p[s])!=null;s++)try{g(r).triggerHandler("remove")}catch(x){}q(p)}}else{var v=g.fn.remove;g.fn.remove=function(p,s){return this.each(function(){if(!s)if(!p||g.filter(p,[this]).length)g("*",this).add([this]).each(function(){try{g(this).triggerHandler("remove")}catch(r){}});
+return v.call(g(this),p,s)})}}g.widget=function(p,s,r){var x=p.split(".")[0],C;p=p.split(".")[1];C=x+"-"+p;if(!r){r=s;s=g.Widget}g.expr[":"][C]=function(G){return!!g.data(G,p)};g[x]=g[x]||{};g[x][p]=function(G,I){arguments.length&&this._createWidget(G,I)};s=new s;s.options=g.extend(true,{},s.options);g[x][p].prototype=g.extend(true,s,{namespace:x,widgetName:p,widgetEventPrefix:g[x][p].prototype.widgetEventPrefix||p,widgetBaseClass:C},r);g.widget.bridge(p,g[x][p])};g.widget.bridge=function(p,s){g.fn[p]=
+function(r){var x=typeof r==="string",C=Array.prototype.slice.call(arguments,1),G=this;r=!x&&C.length?g.extend.apply(null,[true,r].concat(C)):r;if(x&&r.charAt(0)==="_")return G;x?this.each(function(){var I=g.data(this,p),N=I&&g.isFunction(I[r])?I[r].apply(I,C):I;if(N!==I&&N!==j){G=N;return false}}):this.each(function(){var I=g.data(this,p);I?I.option(r||{})._init():g.data(this,p,new s(r,this))});return G}};g.Widget=function(p,s){arguments.length&&this._createWidget(p,s)};g.Widget.prototype={widgetName:"widget",
+widgetEventPrefix:"",options:{disabled:false},_createWidget:function(p,s){g.data(s,this.widgetName,this);this.element=g(s);this.options=g.extend(true,{},this.options,this._getCreateOptions(),p);var r=this;this.element.bind("remove."+this.widgetName,function(){r.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return g.metadata&&g.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+
+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(p,s){var r=p;if(arguments.length===0)return g.extend({},this.options);if(typeof p==="string"){if(s===j)return this.options[p];r={};r[p]=s}this._setOptions(r);return this},_setOptions:function(p){var s=this;g.each(p,function(r,x){s._setOption(r,x)});return this},_setOption:function(p,
+s){this.options[p]=s;if(p==="disabled")this.widget()[s?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",s);return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(p,s,r){var x,C=this.options[p];r=r||{};s=g.Event(s);s.type=(p===this.widgetEventPrefix?p:this.widgetEventPrefix+p).toLowerCase();s.target=this.element[0];if(p=s.originalEvent)for(x in p)x in s||
+(s[x]=p[x]);this.element.trigger(s,r);return!(g.isFunction(C)&&C.call(this.element[0],s,r)===false||s.isDefaultPrevented())}}})(jQuery);(function(g){var j=false;g(document).mouseup(function(){j=false});g.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var q=this;this.element.bind("mousedown."+this.widgetName,function(v){return q._mouseDown(v)}).bind("click."+this.widgetName,function(v){if(true===g.data(v.target,q.widgetName+".preventClickEvent")){g.removeData(v.target,
+q.widgetName+".preventClickEvent");v.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(q){if(!j){this._mouseStarted&&this._mouseUp(q);this._mouseDownEvent=q;var v=this,p=q.which==1,s=typeof this.options.cancel=="string"&&q.target.nodeName?g(q.target).closest(this.options.cancel).length:false;if(!p||s||!this._mouseCapture(q))return true;this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet)this._mouseDelayTimer=
+setTimeout(function(){v.mouseDelayMet=true},this.options.delay);if(this._mouseDistanceMet(q)&&this._mouseDelayMet(q)){this._mouseStarted=this._mouseStart(q)!==false;if(!this._mouseStarted){q.preventDefault();return true}}true===g.data(q.target,this.widgetName+".preventClickEvent")&&g.removeData(q.target,this.widgetName+".preventClickEvent");this._mouseMoveDelegate=function(r){return v._mouseMove(r)};this._mouseUpDelegate=function(r){return v._mouseUp(r)};g(document).bind("mousemove."+this.widgetName,
+this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);q.preventDefault();return j=true}},_mouseMove:function(q){if(g.browser.msie&&!(document.documentMode>=9)&&!q.button)return this._mouseUp(q);if(this._mouseStarted){this._mouseDrag(q);return q.preventDefault()}if(this._mouseDistanceMet(q)&&this._mouseDelayMet(q))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,q)!==false)?this._mouseDrag(q):this._mouseUp(q);return!this._mouseStarted},_mouseUp:function(q){g(document).unbind("mousemove."+
+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;q.target==this._mouseDownEvent.target&&g.data(q.target,this.widgetName+".preventClickEvent",true);this._mouseStop(q)}return false},_mouseDistanceMet:function(q){return Math.max(Math.abs(this._mouseDownEvent.pageX-q.pageX),Math.abs(this._mouseDownEvent.pageY-q.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},
+_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery);(function(g){g.ui=g.ui||{};var j=/left|center|right/,q=/top|center|bottom/,v={},p=g.fn.position,s=g.fn.offset;g.fn.position=function(r){if(!r||!r.of)return p.apply(this,arguments);r=g.extend({},r);var x=g(r.of),C=x[0],G=(r.collision||"flip").split(" "),I=r.offset?r.offset.split(" "):[0,0],N,O,Q;if(C.nodeType===9){N=x.width();O=x.height();Q={top:0,left:0}}else if(C.setTimeout){N=x.width();O=x.height();
+Q={top:x.scrollTop(),left:x.scrollLeft()}}else if(C.preventDefault){r.at="left top";N=O=0;Q={top:r.of.pageY,left:r.of.pageX}}else{N=x.outerWidth();O=x.outerHeight();Q=x.offset()}g.each(["my","at"],function(){var P=(r[this]||"").split(" ");if(P.length===1)P=j.test(P[0])?P.concat(["center"]):q.test(P[0])?["center"].concat(P):["center","center"];P[0]=j.test(P[0])?P[0]:"center";P[1]=q.test(P[1])?P[1]:"center";r[this]=P});if(G.length===1)G[1]=G[0];I[0]=parseInt(I[0],10)||0;if(I.length===1)I[1]=I[0];I[1]=
+parseInt(I[1],10)||0;if(r.at[0]==="right")Q.left+=N;else if(r.at[0]==="center")Q.left+=N/2;if(r.at[1]==="bottom")Q.top+=O;else if(r.at[1]==="center")Q.top+=O/2;Q.left+=I[0];Q.top+=I[1];return this.each(function(){var P=g(this),R=P.outerWidth(),ea=P.outerHeight(),ta=parseInt(g.curCSS(this,"marginLeft",true))||0,ua=parseInt(g.curCSS(this,"marginTop",true))||0,va=R+ta+(parseInt(g.curCSS(this,"marginRight",true))||0),Ea=ea+ua+(parseInt(g.curCSS(this,"marginBottom",true))||0),fa=g.extend({},Q),Ba;if(r.my[0]===
+"right")fa.left-=R;else if(r.my[0]==="center")fa.left-=R/2;if(r.my[1]==="bottom")fa.top-=ea;else if(r.my[1]==="center")fa.top-=ea/2;if(!v.fractions){fa.left=Math.round(fa.left);fa.top=Math.round(fa.top)}Ba={left:fa.left-ta,top:fa.top-ua};g.each(["left","top"],function(xa,Oa){g.ui.position[G[xa]]&&g.ui.position[G[xa]][Oa](fa,{targetWidth:N,targetHeight:O,elemWidth:R,elemHeight:ea,collisionPosition:Ba,collisionWidth:va,collisionHeight:Ea,offset:I,my:r.my,at:r.at})});g.fn.bgiframe&&P.bgiframe();P.offset(g.extend(fa,
+{using:r.using}))})};g.ui.position={fit:{left:function(r,x){var C=g(window);C=x.collisionPosition.left+x.collisionWidth-C.width()-C.scrollLeft();r.left=C>0?r.left-C:Math.max(r.left-x.collisionPosition.left,r.left)},top:function(r,x){var C=g(window);C=x.collisionPosition.top+x.collisionHeight-C.height()-C.scrollTop();r.top=C>0?r.top-C:Math.max(r.top-x.collisionPosition.top,r.top)}},flip:{left:function(r,x){if(x.at[0]!=="center"){var C=g(window);C=x.collisionPosition.left+x.collisionWidth-C.width()-
+C.scrollLeft();var G=x.my[0]==="left"?-x.elemWidth:x.my[0]==="right"?x.elemWidth:0,I=x.at[0]==="left"?x.targetWidth:-x.targetWidth,N=-2*x.offset[0];r.left+=x.collisionPosition.left<0?G+I+N:C>0?G+I+N:0}},top:function(r,x){if(x.at[1]!=="center"){var C=g(window);C=x.collisionPosition.top+x.collisionHeight-C.height()-C.scrollTop();var G=x.my[1]==="top"?-x.elemHeight:x.my[1]==="bottom"?x.elemHeight:0,I=x.at[1]==="top"?x.targetHeight:-x.targetHeight,N=-2*x.offset[1];r.top+=x.collisionPosition.top<0?G+I+
+N:C>0?G+I+N:0}}}};if(!g.offset.setOffset){g.offset.setOffset=function(r,x){if(/static/.test(g.curCSS(r,"position")))r.style.position="relative";var C=g(r),G=C.offset(),I=parseInt(g.curCSS(r,"top",true),10)||0,N=parseInt(g.curCSS(r,"left",true),10)||0;G={top:x.top-G.top+I,left:x.left-G.left+N};"using"in x?x.using.call(r,G):C.css(G)};g.fn.offset=function(r){var x=this[0];if(!x||!x.ownerDocument)return null;if(r)return this.each(function(){g.offset.setOffset(this,r)});return s.call(this)}}(function(){var r=
+document.getElementsByTagName("body")[0],x=document.createElement("div"),C,G;C=document.createElement(r?"div":"body");G={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};r&&jQuery.extend(G,{position:"absolute",left:"-1000px",top:"-1000px"});for(var I in G)C.style[I]=G[I];C.appendChild(x);G=r||document.documentElement;G.insertBefore(C,G.firstChild);x.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;";x=g(x).offset(function(N,
+O){return O}).offset();C.innerHTML="";G.removeChild(C);r=x.top+x.left+(r?2E3:0);v.fractions=r>21&&r<22})()})(jQuery);if(typeof jQuery.ui.jig==="undefined")jQuery.ui.jig={};jQuery.ui.jig._decodeJSON=function(g){try{return eval("({"+g+"})")}catch(j){jQuery.ui.jig._isConsole("error")&&console.error("Error parsing jig metatag, or jig-dataconfig. Problem with JSON string: '"+g+"'. Error: "+j.message+".")}};jQuery.ui.jig._setLocalConfig=function(g,j){if(g=g.attr("config")){g=jQuery.ui.jig._decodeJSON(g);
+jQuery.extend(j,g)}return j};jQuery.ui.jig._generateId=function(g,j){j=typeof j!=="undefined"?"-"+j:"";arguments.callee.i++;for(var q="ui-"+g+j+"-"+arguments.callee.i;document.getElementById(q);){arguments.callee.i++;q="ui-"+g+j+arguments.callee.i}return q};jQuery.ui.jig._generateId.i=0;jQuery.ui.jig._isConsole=function(g){var j=typeof window.console!=="undefined"||false;if(j)var q=typeof window.console[g]!=="undefined"||false;return j&&q?true:false};jQuery.ui.jig._getFncFromStr=function(g){var j=
+null,q=typeof g;if(q==="function")j=g;else if(q==="string"){g=g.replace(/^[^:]*:\s*/,"").replace(/\s*$/,"").split(".");if(j=window[g[0]])for(q=1;q<g.length;q++){j=j[g[q]];if(!j){j=null;break}}else j=null}return j};jQuery.ui.jig.registerPageHeightWatcher=function(){var g=jQuery(document.body);if(!g.data("hasHeightWatcher")){g.data("_lastHeight",null);g.data("hasHeightWatcher",true);g.data("heightWatcher",window.setInterval(function(){jQuery.ui.jig.watchPageHeight()},250))}};jQuery.ui.jig.watchPageHeight=
+function(){var g=jQuery(document.body),j=g.height(),q=g.data("_lastHeight");if(q!==j){q&&g.trigger("ncbijigpageheightchanged");g.data("_lastHeight",j)}};jQuery.ui.jig.requiresLoginURL="/account/signin/?inlinelogin=true";jQuery.ui.jig.requiresLoginWidth=405;jQuery.ui.jig.requiresLoginHeight=560;jQuery.ui.jig.embeddedIframe=null;jQuery.ui.jig._requiresLoginIframe=null;jQuery.ui.jig.requiresLogin=function(g){function j(){g&&g(Ka(),false)}function q(){if(!jQuery.ui.jig.embeddedIframe){var v=jQuery('<div style="display:none"><a href="#jig-ncbi_requires_login">Inline Login Component</a></div><div id="jig-ncbi_requires_login" title="My NCBI Sign In"><iframe style="width:'+
+jQuery.ui.jig.requiresLoginWidth+"px;height:"+jQuery.ui.jig.requiresLoginHeight+'px;" src="'+jQuery.ui.jig.requiresLoginURL+'"></iframe></div>').css("display","none").appendTo(document.body,true);v.find("a").attr("href","#jig-ncbi_requires_login").ncbidialog({width:"auto",height:"auto"}).ncbidialog("open");jQuery.ui.jig._requiresLoginIframe=v;jQuery.ui.jig.waitForLoginCookie(function(p){var s=p||Ka()||" ";try{jQuery("#myncbiusername").show();jQuery("#mnu").html(s);jQuery("#sign_in").hide();jQuery("#sign_out, #myncbi").show();
+v.find("a:eq(0)").ncbidialog("close");document.body.removeChild(v.get(0))}catch(r){}g&&g(p,true,window.location.href)})}}jQuery.ui.jig._requiresLoginIframe&&jQuery.ui.jig._requiresLoginIframe.hide().remove();jQuery.ui.jig.checkIfLoggedIn(j,q)};jQuery.ui.jig.getElementWidgets=function(g,j){g=jQuery(g).data();var q=[];for(var v in g)g[v]instanceof jQuery.ui[j]&&q.push(g[v]);return q};jQuery.ui.jig._isLoggedIn=null;jQuery.ui.jig.checkIfLoggedIn=function(g,j){var q=jQuery.ui.jig._isLoggedIn;Ka()===null?
+j():window.setTimeout(function(){q===null?jQuery.ajax({url:"https://"+window.location.hostname+(window.location.port?":"+window.location.port:"")+"/account/ajax/issignedin/?callback=?",dataType:"jsonp",jsonpCallback:"issignedin",cache:false,success:function(v){v=v&&v.is_signed_in;jQuery.ui.jig._isLoggedIn=v;jQuery.ui.jig._checkIfLoggedInNotify(v,g,j)},error:function(){jQuery.ui.jig._isLoggedIn=null;jQuery.ui.jig._checkIfLoggedInNotify(false,g,j)}}):jQuery.ui.jig._checkIfLoggedInNotify(q,g,j)},50)};
+jQuery.ui.jig._autoCheckState=function(){function g(){jQuery.ui.jig.checkIfLoggedIn(jQuery.ui.jig._autoCheckState,jQuery.ui.jig._autoCheckState)}jQuery.ui.jig._autoCheckStateTimer&&window.clearTimeout(jQuery.ui.jig._autoCheckStateTimer);jQuery.ui.jig._isLoggedIn=null;jQuery.ui.jig._autoCheckStateTimer=window.setTimeout(g,6E5)};jQuery.ui.jig._checkIfLoggedInNotify=function(g,j,q){if(g&&j)j();else!g&&q&&q();g||jQuery.ui.jig._removeLoggedInFlag()};jQuery.ui.jig.waitForLoginCookie_logincheck=false;jQuery.ui.jig.waitForLoginCookie=
+function(g){var j=function(){var q=jQuery.cookie("WebCubbyUser");q&&q.indexOf("logged-in=true")>-1?window.setTimeout(g,30):window.setTimeout(j,10)};if(jQuery.ui.jig.waitForLoginCookie_logincheck&&jQuery.ui.jig._isLoggedIn===null)jQuery.ui.jig._isLoggedIn_wait(j);else{jQuery.ui.jig.waitForLoginCookie_logincheck=true;window.setTimeout(function(){jQuery.ui.jig.checkIfLoggedIn(j,j)},50)}};jQuery.ui.jig._isLoggedIn_wait=function(g){jQuery.ui.jig._isLoggedIn!==null?g():window.setTimeout(function(){jQuery.ui.jig._isLoggedIn_wait(g)},
+10)};jQuery.ui.jig._removeLoggedInFlag=function(){var g=jQuery.cookie("WebCubbyUser");if(g&&g.indexOf("logged-in=true")>-1){var j=jQuery.cookie("lout");if(!(j&&new Date-parseInt(j,10)<1E4)){g=g.replace("logged-in=true","logged-in=false");jQuery.cookie("WebCubbyUser",g,{path:"/",domain:".nih.gov"});jQuery.cookie("lout",(new Date).getTime())}}};jQuery(document).on("ncbiajaxcomplete",function(g,j){(g=jQuery("html").data("ncbiajaxcompleteCalls"))||(g=[]);g.push(j.ncbiajaxname);jQuery("html").data("ncbiajaxcompleteCalls",
+g)});var Fc=jQuery.ajax;jQuery.ajax=function(){var g=arguments[1];if(g&&g.ncbiajaxname){var j=function(){jQuery(document).trigger("ncbiajaxcomplete",{ncbiajaxname:g.ncbiajaxname})};if(g.complete){var q=g.complete;g.complete=function(){var v=q.apply(this,arguments);j();return v}}else g.complete=j}return Fc.apply(this,arguments)};(function(){jQuery(window).load(function(){jQuery.ui.jig.hasOnloadFired=true});jQuery.ui.jig.hasOnloadFired=false})();var ja=Z.ui;if(typeof ja.jig==="undefined")ja.jig={};
+var Y=ja.jig;document.location.search.search(/jig_debug=true/i)!==-1&&typeof window.console==="undefined"&&Z(function(){Z("body").prepend('<div style="border: 2px solid #ccc; height: 150px; overflow:auto;"><h2 style="color:red">jig Console</h2><ul id="jig-cons"></ul></div>');console={};for(var g=["log","info","warn","group","groupEnd"],j=function(p){Z("#jig-cons").append("<li>"+p+"</li>")},q=0;q<g.length;q++){var v=g[q];if(typeof console[v]==="undefined")console[v]=j}});document.compatMode==="BackCompat"&&
+Y._isConsole("warn")&&console.warn("Document is in quirks mode. jig widgets only work properly when in standards mode. Please add or correct your DOCTYPE definition in your page.");Y.scanned=false;Y.version="1.13";Y._jsExt=null;Y._cssExt=null;Y._foundWidgets={};Y._widgDict={ncbiaccordion:new W({name:"ncbiaccordion",selector:"div.jig-ncbiaccordion, div.jig-accordion",overrideDefaults:{autoHeight:false,header:":header"}}),ncbibutton:new W({name:"ncbibutton",selector:".jig-ncbibutton, .jig-ncbibutton-gray, .jig-ncbibutton-blue, .jig-ncbibutton-copper",
+interactions:["button"]}),ncbibuttonset:new W({name:"ncbibuttonset",selector:".jig-ncbibuttonset"}),ncbibasicmenu:new W({name:"ncbibasicmenu",selector:".jig-ncbibasicmenu"}),ncbimenu:new W({name:"ncbimenu",selector:"ul.jig-ncbimenu",dependsOn:["ncbibasicmenu"]}),ncbilocalnav:new W({name:"ncbilocalnav",selector:"ul.jig-ncbilocalnav",dependsOn:["ncbimenu"]}),ncbidatepicker:new W({name:"ncbidatepicker",selector:"input.jig-ncbidatepicker"}),ncbielastictextarea:new W({name:"ncbielastictextarea",selector:"textarea.jig-ncbielastictextarea"}),
+ncbidialog:new W({name:"ncbidialog",selector:"a.jig-ncbidialog, button.jig-ncbidialog, input.jig-ncbidialog, textarea.jig-ncbidialog",interactions:["draggable","resizable"],overrideDefaults:{autoOpen:false}}),ncbiautocomplete:new W({name:"ncbiautocomplete",selector:'input[type="text"].jig-ncbiautocomplete,input[type="search"].jig-ncbiautocomplete'}),ncbigrid:new W({name:"ncbigrid",selector:"div.jig-ncbigrid table,div.jig-ncbigrid-scroll table,table.jig-ncbigrid,table.jig-ncbigrid-scroll",dependsOn:["ncbipopper"]}),
+ncbiservergrid:new W({name:"ncbiservergrid",selector:"div.jig-ncbiservergrid table,div.jig-ncbiservergrid-scroll table,table.jig-ncbiservergrid,table.jig-ncbiservergrid-scroll",dependsOn:["ncbigrid"]}),ncbilinkedselects:new W({name:"ncbilinkedselects",selector:"select.jig-ncbilinkedselects"}),ncbipopper:new W({name:"ncbipopper",selector:".jig-ncbipopper",dependsOn:["ncbibutton"]}),ncbislideshow:new W({name:"ncbislideshow",selector:"div.jig-ncbislideshow"}),ncbitoggler:new W({name:"ncbitoggler",selector:"a.jig-ncbitoggler,a.jig-ncbitoggler-open,a.ui-ncbitoggler,a.ui-ncbitoggler-open"}),
+ncbitree_base:new W({name:"ncbitree_base",selector:"ul.jig-ncbitree_base"}),ncbitree:new W({name:"ncbitree",selector:"ul.jig-ncbitree",dependsOn:["ncbitree_base"]}),ncbitabs:new W({name:"ncbitabs",selector:"div.jig-ncbitabs, div.jig-tabs, "}),ncbilinksmenu:new W({name:"ncbilinksmenu",selector:".jig-ncbilinksmenu",dependsOn:["ncbipopper"]}),ncbiclearbutton:new W({name:"ncbiclearbutton",selector:".jig-ncbiclearbutton"}),ncbiplaceholder:new W({name:"ncbiplaceholder",selector:"input[placeholder], textarea[placeholder]"}),
+ncbiexpander:new W({name:"ncbiexpander",selector:".jig-ncbiexpander"}),ncbiselect:new W({name:"ncbiselect",selector:".jig-ncbiselect"}),ncbiinpagenav:new W({name:"ncbiinpagenav",selector:".jig-ncbiinpagenav"}),ncbismoothscroll:new W({name:"ncbismoothscroll",selector:".jig-ncbismoothscroll"}),ncbispinbox:new W({name:"ncbispinbox",selector:'[type="number"]'}),ncbiformvalidator:new W({name:"ncbiformvalidator",selector:"form"}),ncbihelppopper:new W({name:"ncbihelppopper",selector:".jig-ncbihelppopper"}),
+ncbihelpwindow:new W({name:"ncbihelpwindow",selector:"a.jig-ncbihelpwindow"}),ncbiautofocus:new W({name:"ncbiautofocus",selector:".jig-ncbiautofocus"}),ncbihistogram:new W({name:"ncbihistogram",selector:".jig-ncbihistogram"}),ncbisetswitch:new W({name:"ncbisetswitch",selector:".jig-ncbisetswitch",dependsOn:["ncbilinksmenu"]}),ncbiexternallink:new W({name:"ncbiexternallink",selector:"body",dependsOn:["ncbipopper"]}),ncbiactivevalidation:new W({name:"ncbiactivevalidation",selector:".jig-ncbiactivevalidation"})};
+var qa=Y._widgDict,Ca=[];for(var ka in qa)Ca.push(ka);var Gc=["draggable","resizable","sortable"];Y.scanjig=function(g,j){var q,v;if(j){v=j.widgets||Ca;q=j.configs||{}}else{q={};v=Ca}for(var p=0;p<v.length;p++){g=g||Z(document.body);var s=v[p];if(!(Ja&&Z.inArray(s,Xa)===-1)){var r=ja[s];if(typeof r==="undefined"&&!Y.scanned)Y._isConsole("warn")&&console.warn('jig: widget "'+s+'" does not exist. Check documentation (http://iwebdev/core/jig/ for correct name');else{!Y.scanned&&typeof r._customLocalConfig===
+"undefined"&&function(I,N,O){I.prototype._create=function(){var Q;(Q=this.element.attr("config"))&&Z.ui.jig._isConsole("warn")&&console.warn('The use of the "config" attribute to set options on '+O+' is deprecated. Use "data-jigconfig" instead.');Q||(Q=this.element.data("jigconfig"));if(Q){Q=typeof Q==="string"?ja.jig._decodeJSON(Q):Q;Z.extend(this.options,Q)}if(O==="droppable"){jQuery(this.options.dragEls);var P=qa.droppable.callbacks[this.options.dropCallback];typeof P!=="undefined"&&this._setData("drop",
+function(){P()})}if((Q=qa[O].interactions||null)&&Q.length>0){Q="";if(this.options.draggable&&!ja.draggable)Q+='<script type="text/javascript" src="/core/ui/'+ja.version+'/development-bundle/ui/jquery.ui.draggable.js"><\/script>';if(this.options.resizable&&!ja.resizable)Q+='<script type="text/javascript" src="/core/ui/'+ja.version+'/development-bundle/ui/jquery.ui.resizable.js"><\/script>';Z("head").append(Q)}N.apply(this,[]);Y._foundWidgets[O]=(Y._foundWidgets[O]||0)+1}}(r,r.prototype._create,s);
+(function(I){r.getSelector=function(){return qa[I].selector}})(s);j={};for(var x in q)if(x===s)j=q[x];var C=Hc(Ic(s))||{};if(typeof C.contextNode!=="undefined")g=Z(C.contextNode);var G=jQuery.extend(C,j);j=qa[s].overrideDefaults;typeof j!=="undefined"&&Z.extend(G,j);j=ja[s].getSelector();C=Z(g);j=C.is(j)?C:C.find(j);j.length>0&&j.each(function(){var I=jQuery(this);if(!I.data("jigscanned"+s)){I.data("jigscanned"+s,true);I[s](G)}})}}}Y.scanned=true};Y.scan=Y.scanjig;var ha=["after","before","append",
+"html","prepend"];for(ka=0;ka<ha.length;ka++){var Da=ha[ka];origMethod=Z.fn[Da];(function(g,j){Z.fn[j]=function(q,v){q=g.apply(this,[q]);if(v)j!=="after"&&j!=="before"?Z.ui.jig.scan(q,v):Z.ui.jig.scan(q.parent(),v);return q}})(origMethod,Da)}var Jc=/(.*\/)?js\/jig(?:\.nojquery)?(\.min)?\.js$/;Z("script").each(function(){var g=Z(this);if(g=Z.trim(g.attr("src")))if(g=g.match(Jc)){Y._baseURL=g[1]||"";if(g[2]===".min"){Y._isMin=true;Y._jsExt=".min.js";Y._cssExt=".min.css"}else{Y._isMin=false;Y._jsExt=
+".js";Y._cssExt=".css"}return false}});var pa=Y._baseURL;pa=Y._baseURL;var Ma=Y._jsExt,La=Y._cssExt,Ic=function(g){var j=Ya.length;if(j>0)for(var q=0;q<j;q++){var v=Ya[q],p=Z.trim(v.getAttribute("name"));if(g===p)return v}},Hc=function(g){g=Z(g);var j=g.attr("content");if(j){g.attr("name");return ja.jig._decodeJSON(j)}},Kc=function(g){document.write('<link type="text/css" rel="stylesheet" href="'+pa+"css/jquery.ui."+g+La+'"/>')},Db=function(g){document.write('<script type="text/javascript" src="'+
+pa+"js/jquery.ui."+g+Ma+'"><\/script>')};ka=function(){Db("widgets");Kc("widgets");Z(document).ready(function(){Y.scan()})};document.write('<link rel="stylesheet" type="text/css" href="'+pa+"css/jig.core.theme"+La+'"/>');var Ja=null,Ya=[];Z("head").find("meta").each(function(){var g=Z.trim(Z(this).attr("name"));if(g.search(/^jig$/)!==-1)Ja=this;Z.inArray(g,Ca)!==-1&&Ya.push(this)});if(Ja){var Xa=Ja.getAttribute("content").split(/ +|, ?|;/),Eb=[];for(ka=0;ka<Xa.length;ka++){ha=Xa[ka];Da=Z.inArray(ha,
+Ca)!==-1?true:false;var Fb=Z.inArray(ha,Gc)!==-1?true:false;if(!Da&&!Fb){ha='jig error: No widget with the name "'+ha+'". Check documentation at http://iwebdev/core/jig for proper name, and set meta tag accordingly';typeof window.console!=="undefined"&&typeof console.warn!=="undefined"?console.warn(ha):alert(ha)}else{if(Da){Eb.push(ha);qa[ha].addToPage()}Fb&&Db(ha)}}Z(function(){Y.scan(null,{widgets:Eb})})}else ka();window.location.host.indexOf("http://dev")!==-1&&jQuery(window).load(function(){if(typeof ncbi!==
+"undefined"&&ncbi.sg){Y._foundWidgets.jigwidgets="dev";Y._foundWidgets.jigversion=Y.version;ncbi.sg.ping(Y._foundWidgets)}})}})();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+.ui-ncbibutton{margin-right:.1em;text-decoration:none!important;padding:.3em .8em;border-width:1px;border-style:solid;font-size:1em;font-family:inherit;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;display:inline-block;position:relative;text-decoration:none;cursor:pointer;text-align:center;zoom:1;overflow:visible;}.ui-ncbibutton[disabled]{text-shadow:0;cursor:default;}.ui-button-icon-only{width:2.2em;}button.ui-button-icon-only{width:2.4em;}.ui-button-icons-only{width:3.4em;}button.ui-button-icons-only{width:3.7em;}.ui-ncbibutton .ui-button-text{display:block;line-height:100%;}.ui-button-text-only .ui-button-text{padding:.4em 1em;}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px;}.ui-button-text-icon .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em;}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em;}.ui-button-text-icon-primary .ui-button-text{padding:.4em .5em .4em 2.1em;}.ui-button-text-icon-secondary .ui-button-text{padding:.4em 2.1em .4em .5em;}.ui-button-icon-only .ui-icon{margin-left:-8px;left:50%;}.ui-ncbibutton .ui-icon{display:inline-block;height:15px;width:15px;background-image:url(../img/ui-button-sprites.png);background-color:transparent;background-repeat:no-repeat;}.ui-ncbibutton .ui-icon-pause{background-position:0 0;}.ui-ncbibutton .ui-icon-cancel{background-position:-15px 0;}.ui-ncbibutton .ui-icon-tick{background-position:-30px 0;}.ui-ncbibutton .ui-icon-delete{background-position:-45px 0;}.ui-ncbibutton .ui-icon-refresh{background-position:-60px 0;}a.ui-ncbibutton{padding:0;color:#444!important;}button.ui-ncbibutton{padding:0;}input.ui-ncbibutton{padding:.4em 1em;}.ui-button-icon-only .ui-icon,.ui-button-text-icon .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon{position:absolute;top:50%;margin-top:-7px;}.ui-button-text-icon .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary,.ui-button-text-icon-primary .ui-icon{left:.5em;margin-left:0;}.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary,.ui-button-text-icon-secondary .ui-icon{right:.5em;margin-right:0;}button.ui-ncbibutton::-moz-focus-inner{border:0;padding:0;}.ui-widget-content .ui-ncbibutton-gray,.ui-widget-content .ui-ncbibutton-gray[disabled]:active,.ui-ncbibutton,.ui-ncbibutton-gray,.ui-ncbibutton-gray[disabled]:active,.ui-ncbibutton{color:#444;text-shadow:1px 1px 1px #fff;border-color:#a6a6a6;background:#ededed;background:-moz-linear-gradient(top,#ededed 0,#cdcdcd 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ededed),color-stop(100%,#cdcdcd));}.ui-widget-content .ui-ncbibutton-gray:active,.ui-widget-content .ui-ncbibutton:active,.ui-ncbibutton-gray:active,.ui-ncbibutton:active{background:#e5e5e5;background:-moz-linear-gradient(top,#ccc 0,#eee 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ccc),color-stop(100%,#eee));}.ui-widget-content .ui-ncbibutton-gray[disabled],.ui-widget-content .ui-ncbibutton-gray[disabled]:active,.ui-ncbibutton-gray[disabled],.ui-ncbibutton-gray[disabled]:active{color:#a6a6a6!important;border-color:#d3d3d3;background:#f5f5f5;background:-moz-linear-gradient(top,#f5f5f5 0,#e7e7e7 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#f5f5f5),color-stop(100%,#e7e7e7));}.ui-widget-content .ui-ncbibutton-copper,.ui-widget-content .ui-ncbibutton-copper[disabled]:active,.ui-ncbibutton-copper,.ui-ncbibutton-copper[disabled]:active{color:#fff!important;text-shadow:1px 1px 1px #301b04;border-color:#642f15;background:#985735;background:-moz-linear-gradient(top,#985735 0,#783b1d 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#985735),color-stop(100%,#783b1d));}.ui-widget-content .ui-ncbibutton-copper:active,.ui-ncbibutton-copper:active{color:#fff!important;background:#783b1d;background:-moz-linear-gradient(top,#783b1d 0,#985735 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#783b1d),color-stop(100%,#985735));}.ui-widget-content .ui-ncbibutton-copper[disabled],.ui-widget-content .ui-ncbibutton-copper[disabled]:active,.ui-ncbibutton-copper[disabled],.ui-ncbibutton-copper[disabled]:active{color:#eee3de!important;border-color:#aa9c94;background:#c1b0a6;background:-moz-linear-gradient(top,#c1b0a6 0,#b3a39a 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#c1b0a6),color-stop(100%,#b3a39a));}.ui-widget-content .ui-ncbibutton-blue,.ui-widget-content .ui-ncbibutton-blue[disabled]:active,.ui-ncbibutton-blue,.ui-ncbibutton-blue[disabled]:active{color:#fff!important;text-shadow:1px 1px 1px #092e59;border-color:#1e3a57;background:#3c72ab;background:-moz-linear-gradient(top,#3c72ab 0,#23548c 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#3c72ab),color-stop(100%,#23548c));}.ui-widget-content .ui-ncbibutton-blue:active,.ui-ncbibutton-blue:active{color:#fff!important;background:#23548c;background:-moz-linear-gradient(top,#23548c 0,#3c72ab 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#23548c),color-stop(100%,#3c72ab));}.ui-widget-content .ui-ncbibutton-blue[disabled],.ui-widget-content .ui-ncbibutton-blue[disabled]:active,.ui-ncbibutton-blue[disabled],.ui-ncbibutton-blue[disabled]:active{color:#dee7ee!important;border-color:#959ea5;background:#a6b8c6;background:-moz-linear-gradient(top,#a6b8c6 0,#99abb9 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#a6b8c6),color-stop(100%,#99abb9));}.ui-ncbibutton-gray.ui-state-hover,.ui-ncbibutton-gray:hover{color:#222;background:#b3b4b4;background:-moz-linear-gradient(top,#bcbcbc 0,#b3b4b4 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#bcbcbc),color-stop(100%,#b3b4b4));}.ui-ncbibutton-blue.ui-state-hover,.ui-ncbibutton-blue:hover{background:#11417b;background:-moz-linear-gradient(top,#255a94 0,#11417b 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#255a94),color-stop(100%,#11417b));}.ui-ncbibutton-copper.ui-state-hover,.ui-ncbibutton-copper:hover{background:#6b2f10;background:-moz-linear-gradient(top,#834220 0,#6b2f10 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#834220),color-stop(100%,#6b2f10));}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,11 @@
+jQuery.widget("ui.ncbimenu",{options:{isSubMenuLimited:false,delayTimeout:500,useHoverEvents:true},_create:function(){this._addClasses();this._addAria();this._createMenus();this._addListeners();this._addEvents();this._addAjaxEvents()},rescan:function(){this._destroyListeners();this._destroyEvents();this._addAria();this._createMenus();this._addListeners();this._addEvents()},destroy:function(){this._destroyEvents();this._destroyClasses();this._destroyAria();this._destroyListeners();this._destroyMenus()},
+_addClasses:function(){this.element.addClass("ui-ncbimenu")},_destroyClasses:function(){this.element.removeClass("ui-ncbimenu")},_addAria:function(){this.element.attr("role","menubar").find("li").filter(":has(ul)").find("a").attr("aria-haspopup","true").end().find("ul").attr("aria-hidden","true")},_destroyAria:function(){this.element.removeAttr("role").find("li").removeAttr("role").filter(":has(ul)").find("a").removeAttr("aria-haspopup").removeAttr("role").end().find("ul").removeAttr("aria-hidden").removeAttr("role")},
+_createMenus:function(){this.element.ncbibasicmenu({orientation:"horizontal"});var a=this.element.find(">li:has(>ul)");a.find(">a").addClass("expandDown");a.find(">ul").ncbibasicmenu({nested:true});if(!this.options.isSubMenuLimited){a.find(">ul ul").ncbibasicmenu({nested:true});a.find(">ul ul").parent().find(">a").addClass("expandRight")}},_destroyMenus:function(){this.element.removeClass("jig-ncbimenu cf ui-ncbibasicmenu orientation_hort").find("ul").andSelf().show().ncbibasicmenu("destroy")},_addEvents:function(){var a=
+this;this._windowClickFnc=function(b){b=b.target||b.srcElement;a.element[0]===b||a.element.find(b).length===1||a.closeSub(a.element.find("ul"))};jQuery(window).on("click",this._windowClickFnc);this._unselectEverythingFnc=function(){a._unselectEverything()};this.element.find("li").not(":has(ul)").find("a").on("click",this._unselectEverythingFnc);this._blurFnc=function(){a._checkFocus()};this.element.on("blur","a",this._blurFnc);if(this.options.useHoverEvents){var d={timeout:this.options.delayTimeout,
+over:function(){if(a._isActive){var b=jQuery(this),c=b.parent();if(c.has("ul").length===0){c=c.siblings("li.selected").removeClass("selected");a.closeSub(c);b.focus()}else c.hasClass("selected")||b.focus().click()}},out:function(){}};this.element.find(">li:not(:has(ul))>a,li:has(ul)>a").hoverIntent(d)}},_destroyEvents:function(){jQuery(window).off("click",this._windowClickFnc);this._windowClickFnc=null;this.element.off("blur","a",this._blurFnc);this._blurFnc=null;this.element.find(">li:not(:has(ul))>a,li:has(ul)>a").unbind("mouseover mouseoff");
+this.element.find("li").not(":has(ul)").find("a").off("click",this._unselectEverythingFnc)},_addAjaxEvents:function(){if(this.element.find(">li:has(a.expandDown)").not(":has(ul)").length>0){var a=this;this._ajaxEnterFnc=function(){a._loadAjaxContent()};this.element.on("mouseenter",this._ajaxEnterFnc)}},_loadAjaxContent:function(){var a=this;this.element.off("mouseenter",this._ajaxEnterFnc);this._ajaxEnterFnc=null;var d=this.element.find("a.expandDown"),b=d.eq(0).prop("href").split("#");jQuery("<div/>").load(b[0],
+function(){a._handleAjaxLoadCallback(this,d)})},_handleAjaxLoadCallback:function(a,d){var b=jQuery(a);d.each(function(){var c=jQuery(this),e=c.prop("href").split("#")[1];e=b.find("#"+e);if(e[0].tagName.toLowerCase()==="li")e=e.find(">ul");c.parent().append(e)});this._createMenus();this._addEvents()},_checkFocus:function(){function a(){d.element.find("a:focus").length===0&&d._unselectEverything()}var d=this;window.setTimeout(a,10)},_addListeners:function(){var a=this;this.element.find(">ul").andSelf().on("ncbibasicmenuunselected",
+function(d,b,c,e){e==="click"&&a.closeSub(c)}).on("ncbibasicmenuselected",function(d,b,c,e){if(e==="click")a.openSub(c);else{d=c.siblings().find("ul:visible");if(d.length>0){d.each(function(){a.closeSub(jQuery(this))});c.parent("ul").hasClass("ui-ncbimenu")&&a.openSub(c)}}}).on("ncbibasicmenuactiondown ncbibasicmenuactionright",function(d,b){b=jQuery(b);var c=b.find(">ul");if(b.hasClass("selected"))c.length===1&&c.not(":visible")&&a.openSub(b);else b.find(">a").click();c.length===1&&window.setTimeout(function(){c.ncbibasicmenu("selectFirstItem")},
+10)}).on("ncbibasicmenuactionup ncbibasicmenuactionleft ncbibasicmenuescape",function(d,b){b=jQuery(b);d=b.find(">ul");if(d.length>0&&d.is(":visible"))a.closeSub(jQuery(b));else{b=b.parent("ul").parent("li");b.find(">a").focus();a.closeSub(b)}})},_destroyListeners:function(){this.element.find("ul").andSelf().off("ncbibasicmenuunselected").off("ncbibasicmenuselected")},openSub:function(a){var d=a.find(">ul");if(d.length===1){this._isActive=true;var b=a.parent().find("li:has(ul:visible)");b.length>
+0&&this.closeSub(b);if(a.parent().hasClass("orientation_hort")){b="left bottom";var c="fit flip"}else{b="right center";c="flip fit"}d.show().position({of:a,my:"left top",at:b,collision:c}).attr("aria-hidden","false")}},closeSub:function(a){(a.is("li")?a.find("ul"):a).find("ul").andSelf().not(".ui-ncbimenu").hide().attr("aria-hidden","true").end().ncbibasicmenu("removeAllSelections").find("li.selected").removeClass("selected")},_unselectEverything:function(){this.closeSub(this.element.find("ul:visible").andSelf());
+this._isActive=false}});
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_002.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+.ui-ncbigrid-outer-div{min-width:300px;}table.ui-ncbigrid td{padding:.363em .637em;}table.ui-ncbigrid th{padding:.308em .539em;text-align:left;border-left:0;border-top:0;font-weight:normal;}table.ui-ncbigrid thead th{border-bottom:1px solid #d4dfe9;border-right:1px solid #cfcfcf;background:#F0F0F0;background:-moz-linear-gradient(top,#FFF 0,#F0F0F0 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#FFF),color-stop(100%,#F0F0F0));}table.ui-ncbigrid tbody th{line-height:1.333em;color:#333;font-size:.923em;border-bottom:1px solid #d4dfe9;border-right:1px solid #cfcfcf;background:#FAFAFA;background:-moz-linear-gradient(top,#FFF 0,#FAFAFA 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#FFF),color-stop(100%,#FAFAFA));}table.ui-ncbigrid th:last-child{border-right:0;*margin-right:-1px;}table.ui-ncbigrid td{border:0;}table.ui-ncbigrid td input[type="checkbox"]{margin:0;}table.ui-ncbigrid thead,table.ui-ncbigrid tbody,table.ui-ncbigrid colgroup,table.ui-ncbigrid col,table.ui-ncbigrid tr{border:0!important;}table.ui-ncbigrid,table.ui-ncbigrid thead,table.ui-ncbigrid caption{margin:0;}.ui-ncbigrid-outer-div{position:relative;zoom:1;margin:1em 0 2.8em 0;}div.caption-exists,div.filterToolbar-exists{margin:3em 0;}table.ui-ncbigrid{border-width:0;}.ui-ncbigrid-inner-div{border-color:#97b0c8;border-style:solid;}.ui-ncbigrid-inner-div{border-width:0 0 1px 0;clear:both;}.ui-ncbigrid-outer-div{border:1px solid #97b0c8;}.ui-ncbigrid-outer-div:after{clear:both;content:'.';display:block;height:0;visibility:hidden;font-size:0;}.ui-ncbigrid-header-wrapper{height:auto;max-width:100%;}.ui-ncbigrid-header-wrapper table.ui-ncbigrid{border:0;height:auto;}.ui-ncbigrid-header-wrapper thead{border-width:1px 0 0 0;}table.ui-ncbigrid caption{color:#4D4D4D;font-size:.923em;font-weight:bold;padding:0;position:absolute;text-align:left;top:-2.077em;zoom:1;}.ui-ncbigrid-filter-toolbar{clear:both;display:block;font-size:.923em;line-height:27px;position:absolute;right:0;text-align:right;top:-2.417em;width:auto;}.ui-ncbigrid-filter-toolbar input[type="text"]{font-size:inherit!important;height:1.091em;padding:0;margin-right:-1px;}.ui-ncbigrid-paged-toolbar{display:block;clear:both;width:100%;}.ui-ncbigrid-paged-countItems,.ui-ncbigrid-checkbox-toolbar{font-size:.923em;}.ui-ncbigrid-paged-toolbar div{float:left;display:inline-block;width:auto;margin-right:1em;}.ui-ncbigrid-paged-toolbar .ui-ncbigrid-paged-pageControl{margin-right:0;}.ui-ncbigrid-paged-countItems{text-align:center;}.ui-ncbigrid-paged-pageControl{text-align:right;font-size:.923em;}.ui-ncbigrid-paged-pageControl .prev{margin-left:.2em;margin-right:.6em;}.ui-ncbigrid-paged-pageControl .next{margin-left:.6em;margin-right:.2em;}.ui-ncbigrid-paged-toolbar-bottom{border-top:0;}.ui-ncbigrid-select-question{clear:both;text-align:center;display:none;padding:.385em 0 .308em;border-style:solid;border-color:#d4dfe9;border-width:1px 0;background:-moz-linear-gradient(top,#FFF 0,#F5F5F5 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#FFF),color-stop(100%,#F5F5F5));font-size:.923em;}.ui-ncbigrid-select-question-footer{background:#fff;border-bottom:0;}.ui-ncbigrid-select-question .ui-ncbigrid-select-row-count{font-weight:bold;}.ui-ncbigrid-select-question a{margin-left:.583em;}.ui-ncbigrid-checkbox-toolbar label{margin-left:1em;}.ui-ncbigrid-checkbox-toolbar label:first-child{margin-left:0;}.ui-ncbigrid-checkbox-toolbar a,.ui-ncbigrid-checkbox-toolbar a:visited{color:#369;}.ui-ncbigrid-checkbox-toolbar,.ui-ncbigrid-paged-toolbar{width:auto;}.ui-ncbigrid-checkbox-toolbar{float:left;clear:left;padding:.416em .416em .416em .583em;line-height:1.75em;}.ui-ncbigrid-paged-toolbar{float:right;clear:right;padding:.385em .385em .385em .539em;line-height:1.615em;}table.ui-ncbigrid{border-collapse:separate;width:100%;}div.ui-ncbigrid-scroll{height:20em;overflow-y:auto;overflow-x:hidden;}div.ui-ncbigrid-scroll table.ui-ncbigrid{border-top:0;border-bottom:0;width:100%;}div.ui-ncbigrid-scroll table.ui-ncbigrid caption,div.ui-ncbigrid-scroll>table.ui-ncbigrid>thead>tr>th{visibility:hidden;line-height:0;border-bottom:0;border-top:0;padding-top:0;padding-bottom:0;}div.ui-ncbigrid-scroll table.ui-ncbigrid tbody tr:first-child td{border-top:0;}div.ui-ncbigrid-header-wrapper{width:100%;overflow:hidden;}div.ui-ncbigrid-hort-scroll{overflow-x:auto;}tr.ui-ncbigrid-rowHidden{display:none;}table.ui-ncbigrid th.sortAsc a,table.ui-ncbigrid th.sortDsc a,table.ui-ncbigrid th.sortNone a{padding-right:21px;background-repeat:no-repeat;background-position:right center;color:#333;}table.ui-ncbigrid th.sortAsc,table.ui-ncbigrid th.sortDsc{background:#fff;}table.ui-ncbigrid th.sortAsc a{background-image:url('../img/sorted_asc.gif');}table.ui-ncbigrid th.sortDsc a{background-image:url('../img/sorted_dsc.gif');}table.ui-ncbigrid th.sortNone a{background-image:none;color:#14376c;}table.ui-ncbigrid th.sortNone a:hover{background-image:url('../img/sorted_non.gif');color:#985735;}table.ui-ncbigrid th a{display:block;text-decoration:none;_width:100%;padding-right:21px;border:0;}table.ui-ncbigrid th a:hover,table.ui-ncbigrid th a,table.ui-ncbigrid th a:active{border:0!important;}table.ui-ncbigrid th,table.ui-ncbigrid th a{color:#14376c;}table.ui-ncbigrid tbody tr.ui-ncbigrid-checkbox-selected td,table.ui-ncbigrid tr.ui-ncbigrid-row-selected td{background-color:#eaf0f4;}table.ui-ncbigrid tbody tr.ui-ncbigrid-checkbox-hover td,table.ui-ncbigrid tr.ui-ncbigrid-row-hover>td{background-color:#D5DEE3;}table.ui-ncbigrid tr.ncbigrid-row-filtered{display:none;}td.ui-ncbigrid-column-hidden,th.ui-ncbigrid-column-hidden{display:none;}table.ui-ncbigrid tbody tr.ui-ncbigrid-high>td{background-color:#eaf0f4;}.ui-ncbigrid-paged-pageControl{margin-top:0;}.ui-ncbigrid-paged-pageControl input[type="text"]{height:1.091em;font-size:inherit!important;padding:0;}.ui-ncbigrid-paged-pageControl span.page_link{color:#ccc;padding:1px 7px;}.ui-ncbigrid-paged-pageControl a.page_link{border:1px solid #ddd;padding:2px 6px;*padding:0 4px;white-space:nowrap;text-decoration:none;}.ui-ncbigrid-paged-pageControl a.page_link:hover{color:#985735;}.ui-ncbigrid tbody tr.collapsed{display:none;}.ui-ncbigrid tbody tr th span.collapsableTbodyIcon{float:left;margin-right:.833em;}.ui-ncbigrid tbody tr th span.ui-icon-plus-minus-big{background-position:left -30px;}.ui-ncbigrid tbody tr th span.ui-icon-plus-minus-big-open{background-position:left 0;}.ui-ncbigrid tbody tr th span.ui-icon-plus-minus-big,.ui-ncbigrid tbody tr th span.ui-icon-plus-minus-big-open{background-color:transparent;background-image:url("../img/ncbitoggler-plus-minus-big.gif");background-repeat:no-repeat;margin-left:-0.1em;top:.2em;}.ui-ncbigrid-collapsable,.ui-ncbigrid-collapsable span{cursor:pointer;}table.ui-ncbigrid .ignoreCollapse{cursor:default;}.ui-ncbigrid-outer-div .ui-ncbigrid-outer-div{margin:0;*position:static;}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_002.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,22 @@
+(function(e){e.widget("ui.ncbitoggler",{styles:{ariaWrapper:"ui-ncbitoggler-live",groupMasterReplaceNode:"span.ui-ncbitoggler-group-replace-txt",groupMasterStateClose:"ui-ncbitoggler-group-master-to-close",groupMasterStateOpen:"ui-ncbitoggler-group-master-to-open",master:"ui-ncbitoggler",masterOpen:"ui-ncbitoggler-open",target:"ui-ncbitoggler-slave",targetOpen:"ui-ncbitoggler-slave-open",icon:"ui-icon-triangle-1-e",iconOpen:"ui-icon-triangle-1-s",iconPlusMinusBig:"ui-icon-plus-minus-big",iconPlusMinusBigOpen:"ui-icon-plus-minus-big-open",
+iconArrowStop:"ui-icon-arrowthickstop-1-s",iconArrowStopOpen:"ui-icon-arrowthickstop-1-n"},options:{animation:"slide",closedAppendText:"",cookieNamePrefix:"jig-tog-rem-",indicator:"small-arrow",initOpen:false,isIcon:true,liveRegions:true,openedAppendText:"",remember:false,speed:50,targets:""},_cachedTargetData:{},_create:function(){this._setOption("disabled",false);this.appendTextNode=this.initTargetsClass=this.iconSpan=this.startOpen=this.rememberCookie=this.remember=this.cookieName=this.addedHref=
+null;var a=this.element,b=a[0],c=this.styles,d=this,f=this.options.isIcon;a.data("isOpen",false);a.addClass("ui-widget ui-ncbitoggler");f||a.addClass("ui-ncbitoggler-no-icon");var g=a.attr("href");!g?(this.addedHref=true):(this.addedHref=false);this._validate(g);a.children("span.ui-ncbitoggler-master-text").length===0&&a.contents().filter(function(){return this.nodeType===3}).each(function(){var h=e(this);jQuery.trim(this.nodeValue).length>0&&h.wrap('<span class="ui-ncbitoggler-master-text"></span>')});
+if(this.options.openedAppendText!==""||this.options.closedAppendText!==""){this.appendTextNode=a.children("span.ui-ncbitoggler-appended-text");if(this.appendTextNode.length===0)if(!this.initOpen){this.appendTextNode=e('<span class="ui-ncbitoggler-appended-text">'+this.options.closedAppendText+"</span>");a.find(".ui-ncbitoggler-master-text").after(this.appendTextNode)}}if(this.remember=this.options.remember||false){g=this.element.attr("id");if(!g){window.console&&console.error&&console.error("ncbitoggler: master node "+
+b+" must have a unique id attribute when remembering state");return}this.cookieName=this.options.cookieNamePrefix+g;this.rememberCookie=e.cookie(this.cookieName)}if(this.startOpen=this.rememberCookie?this.rememberCookie==="open"?true:false:a.hasClass("jig-ncbitoggler-open")||a.hasClass(c.masterOpen)||this.options.initOpen?true:false){this.element.data("isOpen",true);a.removeClass(this.styles.master);a.addClass(c.masterOpen);this._targetsOpen=true}else{this.element.data("isOpen",false);a.removeClass(this.styles.masterOpen);
+a.addClass(c.master)}f&&this._initMasterIcon();this.targets=this._getTargets();this.targets.addClass("ui-ncbitoggler").removeClass("ui-ncbitoggler-disabled ui-state-disabled");if(this.startOpen){this.targets.removeClass(c.target);this.targets.addClass(c.targetOpen);this.initTargetsClass=c.targetOpen}else{this.targets.removeClass(c.targetOpen);this.targets.addClass(c.target);this.initTargetsClass=c.target}this._initAria();this._doGrouping();a.click(function(h){d.toggle(h,d)});this._saveReferences()},
+_getGroupMaster:function(){for(var a=this.styles,b=this.element[0].className.split(/\s+/),c=0;c<b.length;c++){var d=b[c].match(/ui-ncbitoggler-group-(.+)$/);if(d){d=d[1];var f=e("a.ui-ncbitoggler-group-open-"+d+", a.ui-ncbitoggler-group-close-"+d,this.options.contextNode);if(f.length===1){f.hasClass("ui-ncbitoggler-group-open-"+d)&&f.addClass(a.groupMasterStateOpen);f.hasClass("ui-ncbitoggler-group-close-"+d)&&f.addClass(a.groupMasterStateClose);return f}}}},_doGrouping:function(){var a=this._getGroupMaster();
+if(a){var b=this,c=this.styles,d=a.data("togglers");this.element.id||e.ui.jig._generateId(this.widgetName);if(!this.element[0].id)this.element[0].id=e.ui.jig._generateId(this.widgetName);if(typeof d==="undefined"){a.data("togglers",[]);a.data("togglers").push(this.element)}else d.push(this.element);var f=a.find(c.groupMasterReplaceNode);a.click(function(g){g.preventDefault();g=a.data("togglers");g=g[g.length-1][0];if(a.hasClass(c.groupMasterStateOpen)){b.open();f.length>0&&f.text(b.options.groupMasterCloseReplaceText);
+b.element[0]===g&&a.removeClass(c.groupMasterStateOpen).addClass(c.groupMasterStateClose)}else{b.close();f.length>0&&f.text(b.options.groupMasterOpenReplaceText);b.element[0]===g&&a.removeClass(c.groupMasterStateClose).addClass(c.groupMasterStateOpen)}})}},_initAria:function(){var a=this.startOpen;this.element.attr({role:"button","aria-expanded":a});this.options.liveRegions&&this.targets.each(function(){var b=e(this);b.find("table").length===0&&!b.parent("div").hasClass("ui-helper-reset")&&b.wrap('<div class="ui-helper-reset" aria-live="assertive">');
+b.attr("aria-hidden",a?"false":"true")})},_validate:function(a){var b=this.element,c=["a"],d=b[0].tagName.toLowerCase();if(e.inArray(d,c)===-1)throw new Error("ncbitoggler: master node must be one of the following elements: "+c.toString());a||b.attr("href","#")},_initMasterIcon:function(){var a=this.element,b=this.styles;if(this.options.indicator=="plus-minus-big"){this.iconOpenClass=b.iconPlusMinusBigOpen;this.iconCloseClass=b.iconPlusMinusBig}else if(this.options.indicator=="arrow-stop"){this.iconOpenClass=
+b.iconArrowStopOpen;this.iconCloseClass=b.iconArrowStop}else{this.iconOpenClass=b.iconOpen;this.iconCloseClass=b.icon}this.iconSpan=a.find("span.ui-icon");if(this.iconSpan.length===0){this.iconSpan=e('<span class="ui-icon"></span>');this.startOpen?this.iconSpan.addClass(this.iconOpenClass):this.iconSpan.addClass(this.iconCloseClass);a.append(this.iconSpan)}else if(this.startOpen){this.iconSpan.removeClass(this.iconCloseClass);this.iconSpan.addClass(this.iconOpenClass)}},getSlaves:function(){return this._targets},
+getTargets:function(){return this.getSlaves()},_getTargets:function(){var a=this.element,b=a.attr("toggles")||a.attr("data-ncbitoggler-toggles");if(b)jQuery.ui.jig._isConsole("warn")&&console.warn('The attributes "toggles" and "data-ncbitoggler-toggles" are deprecated. Please use the "targets" attribute instead (see documentation).');else b=this.options.targets;if(b&&typeof b=="object"){b=b;a="";for(var c in b)a+=c+", ";a=a.replace(/,\s$/,"");c=e(a)}else if(b){c=e(b);if(c.length===0){this.isSibling=
+false;c=b.split(/ +/);b="";for(a=0;a<c.length;a++)b+=a!==c.length-1?"#"+c[a]+",":"#"+c[a];c=e(b)}}else if(a.parent(":header").length>0){a.parent(":header").parent().css("zoom","1");this.isSibling=true;c=a.parent(":header").css("zoom","1").next()}else{this.isSibling=true;c=a.next()}return this._targets=this._normalizeTargets(c)},_normalizeTargets:function(a){var b=[];a.each(function(){var c=this,d=e(this);if(d.hasClass("ui-helper-reset"))c=d.children().get(0);b.push(c)});return ret=e(b)},_getCachedTargetData:function(a){return this._cachedTargetData[a]},
+_cacheTargetData:function(a,b){this._cachedTargetData[a]=b},_openAjaxTarget:function(a,b){var c=this,d=this._getCachedTargetData(a);d?e(a).html(d):e.get(b,function(f){c._cacheTargetData(a,f);e(a).html(f)})},_openTargets:function(){if(!(this._targetsOpening||this._targetsClosing||this._targetOpen)){this._targetsOpening=true;var a=this.targets,b=this.styles;a.removeClass(b.target).addClass(b.targetOpen).attr("aria-hidden","false");var c=this.options.targets;if(typeof c=="object"){var d=this;for(targetSel in c)(function(f){d._openAjaxTarget(f,
+c[f])})(targetSel)}b=this.options.openedAppendText;b!==""&&this.appendTextNode.html(b);a.css("display","");this._targetsOpening=false;this._targetsOpen=true}},_closeTargets:function(){if(!(this._targetsOpening||this._targetsClosing||!this._targetsOpen)){this._targetsClosing=true;var a=this.targets,b=this.styles;a.removeClass(b.targetOpen).addClass(b.target).attr("aria-hidden","true");b=this.options.closedAppendText;b!==""&&this.appendTextNode.html(b);a.css("display","");this._targetsOpen=this._targetsClosing=
+false}},_fixHasLayout:function(a){window.setTimeout(function(){a.targets.addClass("foo").removeClass("foo")},1)},open:function(a){var b=this.element,c=this;if(!b.hasClass(this.styles.master))return b;this.updateState("open");if(this.options.animation==="slide")this.targets.slideToggle(this.options.speed,function(){c._openTargets();e.browser.msie&&c._fixHasLayout(c);b.data("isOpen",true);b.trigger("ncbitoggleropen");a&&a()});else{this._openTargets();e.browser.msie&&c._fixHasLayout(c);b.data("isOpen",
+true);b.trigger("ncbitoggleropen");a&&a()}this._updateReferences("open");return b},close:function(a){var b=this.element,c=this;if(!b.hasClass(this.styles.masterOpen))return b;this.updateState("closed");if(this.options.animation==="slide")this.targets.slideToggle(this.options.speed,function(){c._closeTargets();b.trigger("ncbitogglerclosed").trigger("ncbitogglerclose");b.data("isOpen",false);a&&a()});else{this._closeTargets();b.data("isOpen",false);b.trigger("ncbitogglerclosed");a&&a()}this._updateReferences("closed");
+return b},toggle:function(a,b,c){var d=arguments.length;if(d===0||d===1){b=this;if(d===1)c=arguments[0]}else a.preventDefault();this.element.hasClass(this.styles.master)?b.open(c):b.close(c)},updateState:function(a){var b=this.element;a||(a=b.hasClass(styles.master)?"open":"closed");var c=this.styles.master,d=this.styles.masterOpen,f=this.iconCloseClass,g=this.iconOpenClass;if(a=="closed"){c=this.styles.masterOpen;d=this.styles.master;f=this.iconOpenClass;g=this.iconCloseClass}b.removeClass(c).addClass(d).attr("aria-expanded",
+a=="closed"?"false":"true");this.options.isIcon&&this.iconSpan.removeClass(f).addClass(g);this.remember&&e.cookie(this.cookieName,a)},_removeHandlers:function(){this.element.unbind("click")},destroy:function(){e.Widget.prototype.destroy.apply(this,arguments);var a=this.element,b=this.styles;a.removeClass(b.master+" "+b.masterOpen+" ui-state-disabled ui-widget ui-ncbitoggler-disabled").removeAttr("role").removeAttr("aria-expanded");this.targets.removeClass("ui-ncbitoggler ui-ncbitoggler-slave ui-ncbitoggler-slave-open ui-state-disabled ui-ncbitoggler-disabled");
+this.targets.removeAttr("aria-hidden");if(this.options.isIcon){b=a.find("span.ui-icon")[0];a[0].removeChild(b)}this.targets.each(function(){var d=jQuery(this),f=d.parent("div.ui-helper-reset");if(f.length>0){d.insertBefore(f);f.remove()}});b=a.find("span.ui-ncbitoggler-master-text");var c=b.html();b.remove();a.html(c);this._removeHandlers();return this},disable:function(){e.Widget.prototype.disable.apply(this,arguments);this._removeHandlers();this.targets.addClass("ui-ncbitoggler-disabled ui-state-disabled");
+return this},enable:function(){e.Widget.prototype.enable.apply(this,arguments);this.targets.removeClass("ui-ncbitoggler-disabled ui-state-disabled");var a=this;this.element.click(function(b){a.toggle(b,a)});return this},_saveReferences:function(){var a=this;this._targets.each(function(){typeof e(this).data("ncbitoggler-masters")==="undefined"&&e(this).data("ncbitoggler-masters",[]);e(this).data("ncbitoggler-masters").push(a.element)})},_updateReferences:function(a){var b=this;e.each(this._targets.data("ncbitoggler-masters"),
+function(){b.element!=this&&e(this).ncbitoggler("updateState",a)})}})})(jQuery);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_003.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+.ui-ncbibasicmenu{list-style-type:none;min-width:200px;}.ui-ncbibasicmenu,.ui-ncbibasicmenu>li{padding:0;margin:0;}.ui-ncbibasicmenu li ul li{background-color:#FFF;}.ui-ncbibasicmenu li ul li a:hover,.ui-ncbibasicmenu li ul li.selected a:hover{background-color:#4C96DF;color:#FFF;}.oneLevel li a,.ui-ncbibasicmenu li a{display:block;text-decoration:none;background-color:#FCFCFC;border:1px solid #FCFCFC;border-width:1px 0;color:#14376C;font-size:13px;font-weight:normal;margin:0;padding:.2em .9em;text-decoration:none;}.oneLevel li a:hover,.ui-ncbibasicmenu>li>a:hover{background-color:#E3F8FF;}.oneLevel li.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbibasicmenu>li.ui-ncbimenu-item-no-hlt>a:hover,.oneLevel li.ui-ncbimenu-item-skip a:hover,.ui-ncbibasicmenu>li.ui-ncbimenu-item-skip>a:hover{background-color:#FCFCFC;}.oneLevel li a:focus,.ui-ncbibasicmenu>li>a:focus{outline:1px dashed #000;}.oneLevel li.selected a,.ui-ncbibasicmenu>li.selected>a{color:#FFF;background-color:#4C96DF;}.oneLevel li.selected a:hover,.ui-ncbibasicmenu>li.selected>a:hover{color:#FFF;}.oneLevel li.selected.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbibasicmenu>li.selected.ui-ncbimenu-item-no-hlt>a:hover,.oneLevel li.selected.ui-ncbimenu-item-skip a:hover,.ui-ncbibasicmenu>li.selected.ui-ncbimenu-item-skip>a:hover{color:inherit;background-color:#FCFCFC;}.orientation_hort>li{display:inline;float:left;}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_003.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+(function(){jQuery.widget("ui.ncbilocalnav",jQuery.ui.ncbimenu,{_create:function(){this.options.isSubMenuLimited=true;jQuery.ui.ncbimenu.prototype._create.apply(this,arguments)},_addClasses:function(){this.element.addClass("ui-ncbilocalnav");jQuery.ui.ncbimenu.prototype._addClasses.apply(this,arguments)},_destroyClasses:function(){this.element.removeClass("ui-ncbilocalnav");jQuery.ui.ncbimenu.prototype._destroyClasses.apply(this,arguments)}})})();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_004.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+div.ui-ncbiautocomplete-holder{position:absolute;top:0;left:0;border:1px solid #5a5a5a;display:none;font-family:Arial,helvetica,sans-serif;font-size:inherit;border-style:solid;border-color:#777;border-width:1px;}ul.ui-ncbiautocomplete-options{height:218px;overflow:auto;overflow-x:hidden;overflow-y:auto;width:100%;margin:0;padding:0;list-style-type:none;font-weight:normal;cursor:pointer;background-color:#FFF;}ul.ui-ncbiautocomplete-options li span{font-weight:normal;}ul.ui-ncbiautocomplete-options li{padding:.2em;padding-left:.8em;padding:.231em .461em;white-space:nowrap;overflow:hidden;width:100%;color:#14376c;text-overflow:ellipsis;}ul.ui-ncbiautocomplete-options li:last-child{padding-bottom:.6em;}ul.ui-ncbiautocomplete-options li.ui-ncbiautocomplete-options-high{background-color:#DAEEF4;text-decoration:none;color:#015;}.ui-ncbiautocomplete-actions{background-color:#CECECE;line-height:inherit;padding:5px;border:1px solid #777;*zoom:1;*display:block;margin:1px -1px 0 -1px;min-height:15px;}.ui-ncbiautocomplete-actions:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.ui-ncbiautocomplete-actions{display:inline-block;}.ui-ncbiautocomplete-actions a{display:inline;float:left;color:#015;text-decoration:none;}.ui-ncbiautocomplete-actions .ui-ncbiautocomplete-link-pref-right{text-align:right;float:right;}.ui-ncbiautocomplete-link-pref{text-indent:-9999px;background:url("../img/gear.png") no-repeat;width:15px;height:16px;}a.ui-ncbiautocomplete-link-off:hover,a.ui-ncbiautocomplete-link-pref:hover{text-decoration:underline;color:#015;}li.ui-ncbiautocomplete-show-more{width:100%!important;background:#C3D2DB!important;border-top:1px solid #5A5A5A;}li.ui-ncbiautocomplete-show-more.ui-ncbiautocomplete-options-high{text-decoration:underline!important;}iframe.ui-ncbiautocomplete-iframe{position:absolute;top:0;left:0;height:200px;z-index:1000;display:none;filter:alpha(opacity=1);}.shadow{-webkit-box-shadow:.4em .4em .5em rgba(153,153,153,.9);-moz-box-shadow:.4em .4em .5em rgba(153,153,153,.9);box-shadow:.4em .4em .5em rgba(153,153,153,.9);}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_004.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,53 @@
+jQuery.widget("ui.ncbiautocomplete",{options:{webserviceUrl:"/portal/utils/autocomp.fcgi",isUrlRelative:false,dictionary:"",responseFormat:"old",disableUrl:null,prefUrl:null,zIndex:1001,isEnabled:true,hasRelatedMatches:false,minLength:2,expandPauseTime:400,maxListLimit:null,isCrossDomain:false,disableCache:false,requireValidation:false,queryParameter:"q"},_create:function(){if(this.options.localData&&!this.options.dictionary)this.options.dictionary="local";this._storeTitleAttribute();this._createOptionsBox();
+this._addAttributes();this._setHandlers();this._setWebServicePath();this._lastEnteredTerm="";this._setSGData()},_storeTitleAttribute:function(){this.element.data("ncbiautocompleteOriginalTitle",this.element.attr("title"))},destroy:function(){jQuery.Widget.prototype.destroy.apply(this,arguments);this.element.removeAttr("title");this._destroyAria();this._destroyHandlers();var a=this.element.data("ncbiautocompleteOriginalTitle");a&&this.element.attr("title",a)},_destroyOptionsBox:function(){jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox!=
+null&&jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox.remove()},_destroyHandlers:function(){this.element.off("keypress keydown keyup cut paste")},_destroyAria:function(){this.element.removeAttr("aria-haspopup").removeAttr("aria-autocomplete").removeAttr("role").removeAttr("autocomplete")},_activeRequest:null,_keys:{up:38,down:40,enter:13,escape:27,tab:9,shift:16},_setSGData:function(){this.sgData={jsevent:"autocomplete",userTyped:"",hasScrolled:false,usedArrows:false,selectionAction:"",optionSelected:"",
+optionIndex:-1,optionsCount:-1}},_addAttributes:function(){this.element.attr({title:"Use up and down arrows to choose an item from the autocomplete.","aria-haspopup":true,"aria-autocomplete":"list",role:"textbox"})},_setHandlers:function(){var a=this;jQuery(this.element).focus(function(){a._focused()}).keypress(function(c){a._keyPress(c,"press")}).keydown(function(c){a._keyPress(c,"down")}).keyup(function(c){a._keyUp(c)}).bind("cut paste",function(){a._changeFired()}).attr("AUTOCOMPLETE","OFF");var b=
+jQuery(this.element)[0];b.autocomplete="off";b.AUTOCOMPLETE="OFF";jQuery(window).resize(function(){a._isActive&&a._positionOptionsBox()});jQuery(document).click(function(c){a._checkClickEvent(c)});jQuery(this._gol.optionsBox).hover(function(){if(a._isActive)a._isOptionsBoxFocused=true},function(){if(a._isActive)a._isOptionsBoxFocused=false})},_isOptionsBoxFocused:false,_createOptionsBox:function(){if(jQuery.ui.ncbiautocomplete._globalOptionsList===null){jQuery.ui.ncbiautocomplete._globalOptionsList=
+{};var a=jQuery("div.grid");a=a.length===1?a:jQuery(document.body);jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox=jQuery("<div class='ui-ncbiautocomplete-holder shadow' aria-live='assertive'></div>").appendTo(a);jQuery.ui.ncbiautocomplete._globalOptionsList.optionsList=jQuery("<ul class='ui-ncbiautocomplete-options' role='listbox' aria-activedescendant=''></ul>").appendTo(jQuery(jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox));jQuery.ui.ncbiautocomplete._globalOptionsList.optionsActions=
+jQuery("<div class='ui-ncbiautocomplete-actions shadow'></div>").appendTo(jQuery(jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox));jQuery.ui.ncbiautocomplete._globalOptionsList.prefLink=jQuery("<a href='#' class='ui-ncbiautocomplete-link-pref'>Preferences</a>").appendTo(jQuery(jQuery.ui.ncbiautocomplete._globalOptionsList.optionsActions));jQuery.ui.ncbiautocomplete._globalOptionsList.turnOffLink=jQuery("<a href='#' class='ui-ncbiautocomplete-link-off'>Turn off</a>").appendTo(jQuery(jQuery.ui.ncbiautocomplete._globalOptionsList.optionsActions));
+jQuery.ui.ncbiautocomplete._globalOptionsList.isIE6=jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<7;if(jQuery.ui.ncbiautocomplete._globalOptionsList.isIE6)jQuery.ui.ncbiautocomplete._globalOptionsList.optionsBox.iframe=jQuery("<iframe src='javascript:\"\";' class='ui-ncbiautocomplete-iframe' marginwidth='0' marginheight='0' align='bottom' scrolling='no' frameborder='0'></iframe>").appendTo(document.body)}this._gol=jQuery.ui.ncbiautocomplete._globalOptionsList},_positionOptionsBox:function(){if(this._gol.activeElement){var a=
+jQuery(this.element),b=jQuery(this._gol.activeElement);a=a.attr("id")||a[0];b=b.attr("id")||b[0];a!==b&&this._hideOptions()}var c=this;if(this._gol.activeElement!==this.element){b=this.options.prefUrl!==null?"block":"none";a=this.options.disableUrl!==null?"block":"none";var e=b==="block"||a==="block"?"block":"none";jQuery(this._gol.prefLink).css("display",b).attr("href",this.options.prefUrl).unbind("click").click(function(){c._prefLinkClick()});jQuery(this._gol.turnOffLink).css("display",a).unbind("click").click(function(m){c.turnOff();
+m.preventDefault()});jQuery(this._gol.optionsActions).css("display",e);jQuery(this._gol.optionsActions).children(":nth-child(2)").addClass("ui-ncbiautocomplete-link-pref-right")}else this._gol.activeElement=this.element;e=this.element;var d=jQuery(this._gol.optionsBox),f=false;if(e.parent().hasClass("jig-ncbiclearbutton-wrap")){e=e.parent();f=true;d.addClass("ui-ncbiautocomplete-holder-clearfix")}else d.removeClass("ui-ncbiautocomplete-holder-clearfix");b=e.outerWidth();a=e.outerHeight();e=e.offset();
+var i,k,h;if(jQuery.browser.msie)h=k=i=0;else{i=parseInt(d.css("borderLeftWidth"),10);k=parseInt(d.css("borderRightWidth"),10);h=f?0:-1}d.css("top",e.top+a+(f?-1:-2)+"px").css("left",e.left+"px").width(b-i-k+h+"px");f=parseInt(this.options.zIndex,10);d.css("zIndex",f);d=jQuery(this._gol.optionsList);d[0].onscroll=function(){};d.scrollTop(0);d[0].onscroll=function(){c.sgData.hasScrolled=true};if(this._gol.isIE6){d=jQuery(this._gol.optionsBox.iframe);d.css("top",e.top+a+"px").css("left",e.left+"px").width(b-
+i-k+h+"px");d.css("zIndex",f-1)}},_isActive:false,_focused:function(){this._gol.activeElement!==this.element&&this._hideOptions();this._setActivedescendant();this._positionOptionsBox();if(this.options.isEnabled){this._isActive=true;this._hasBeenEscaped=false}this.options.minLength===0&&this.options.localData&&this._keyUp({})},_lastEnteredTerm:null,_isCached:false,_hasBeenEscaped:false,_lastKeyPressDwnUpScroll:new Date,_lastFoundMatch:null,_findMatchInCache:function(a){this._lastFoundMatch=null;if(typeof this._localCache[this.options.dictionary]===
+"undefined")return false;var b="l"+(this.options.maxListLimit||"n");if(typeof this._localCache[this.options.dictionary][b]==="undefined")return false;for(var c=0;a.length>1||c<10;){a=a.substr(0,a.length-1);var e=this._localCache[this.options.dictionary][b][a];if(e)if(e.isCompleteList){this._lastFoundMatch=a;return true}else break;c++}return false},_cloneMatchObject:function(a){var b={};b.matchedText=a.matchedText.toString();b.matches=a.matches?a.matches.slice():[];b.isCompleteList=a.isCompleteList===
+true;return b},_timerTriggerEnterEvent:null,_clearTriggerEnterEvent:function(){this._timerTriggerEnterEvent=null},_triggerEnterEvent:function(){var a=this;if(!this._timerTriggerEnterEvent){this._timerTriggerEnterEvent=window.setTimeout(function(){a._clearTriggerEnterEvent()},50);this.element.trigger("ncbiautocompleteenter",this.sgData);this.element.trigger("ncbiautocompletechange",this.sgData);this._sgSend()}},_triggerTabEvent:function(){this.element.trigger("ncbiautocompletetab",this.sgData);this.element.trigger("ncbiautocompletechange",
+this.sgData);this._sgSend()},_keyPress:function(a,b){var c=false,e=this;if(a.keyCode===this._keys.enter||a.keyCode===this._keys.tab){var d=a.keyCode===this._keys.enter,f=false;if(this._isActive&&this.isOptionsBoxOpen())if(this._currIndex===this.options.maxListLimit&&jQuery("li:eq("+this._currIndex+")",this._gol.optionsList).hasClass("ui-ncbiautocomplete-show-more")){this._hideOptions(true);this._gotoShowAll()}else if(this.sgData.optionSelected===jQuery(this.element).val()){f=d;if(!this._timerTriggerEnterEvent){this.sgData.selectionAction=
+d?"enter":"tab";this.element.attr("valueId",this.element.attr("_optValue")||null);if(d)this._triggerEnterEvent();else{this._sentTab||this._triggerTabEvent();this._sentTab=true;window.setTimeout(function(){e._sentTab=false},10)}}this._hideOptions(true);if(d){a.stopPropagation();a.preventDefault();return false}}else a.keyCode===this._keys.tab&&this._hideOptions(true);else if(a.keyCode===this._keys.tab)if(!this._tabCalled){this._hideOptions(true);this._tabCalled=true;window.setTimeout(function(){e._tabCalled=
+false},10)}if(d&&!f){this._hideOptions(true);this._triggerEnterEvent()}}else if(jQuery(this.element).val().length===0&&!this.options.localData)this._hideOptions(true);else if(a.keyCode===this._keys.up){c=true;this._scrollUpDownRateLimiter(-1)}else if(a.keyCode===this._keys.down&&!a.shiftKey){if(jQuery(this.element).val().length>=this.options.minLength&&!this.isOptionsBoxOpen()){this._reopenOptions=true;c=false;return}this._reopenOptions=false;c=true;this._scrollUpDownRateLimiter(1)}if(!this._lastKeyAction||
+b===this._lastKeyAction){this._lastKeyAction=b;this._prevWasArrow=this._usedArrow;this._usedArrow=c}},_scrollUpDownRateLimiter:function(a){if(!(new Date-this._lastKeyPressDwnUpScroll<90)){this._moveSelection(a);this._lastKeyPressDwnUpScroll=new Date}},_checkArrowSelection:function(a){if(this._prevWasArrow&&a.keyCode!==this._keys.down&&a.keyCode!==this._keys.up&&a.keyCode!==this._keys.tab&&a.keyCode!==this._keys.enter&&this._isActive&&this.isOptionsBoxOpen()){this.sgData.selectionAction="arrows";typeof ncbi!==
+"undefined"&&ncbi.sg&&ncbi.sg.ping&&ncbi.sg.ping(this.sgData,false);this._usedArrow=this._prevWasArrow=false}},_keyUp:function(a){if(!(!this.options.isEnabled||this._hasBeenEscaped)){this._checkArrowSelection(a);var b=jQuery(this.element).val().toLowerCase().replace(/^\s+/,"").replace(/\s+$/," "),c="l"+(this.options.maxListLimit||"n");if(!((a.keyCode===this._keys.up||a.keyCode===this._keys.down||a.keyCode===this._keys.enter)&&!this._reopenOptions))if(a.keyCode===this._keys.tab&&this._isOptionsBoxFocused){this._isActive=
+this._isOptionsBoxFocused=false;a.type!=="keyup"&&this._hideOptions(true)}else if(a.keyCode===this._keys.escape){this._isActive=this._isOptionsBoxFocused=false;this._hasBeenEscaped=true;this._hideOptions(true)}else if(!(this._lastEnteredTerm===b||a.keyCode===this._keys.shift))if(this._localCache[this.options.dictionary]&&this._localCache[this.options.dictionary][c]&&this._localCache[this.options.dictionary][c][b]){this._isActive=true;this._resetValueId(b);this._lastEnteredTerm=b;this._displayOptions(this._localCache[this.options.dictionary][c][b])}else if(this._isCached&&
+this._findMatchInCache(b)){this._isActive=true;this._localCache[this.options.dictionary][c][b]=this._cloneMatchObject(this._localCache[this.options.dictionary][c][this._lastFoundMatch]);this._resetValueId(b);this._lastEnteredTerm=b;this._filteredCache(b)}else if(b.length>=this.options.minLength&&this.options.localData){if(!this._localCache||!this._localCache[this.options.dictionary]||!this._localCache[this.options.dictionary][c]||!this._localCache[this.options.dictionary][c]["*_*_local_*_*"])this._putInCache({matchedText:"*_*_local_*_*",
+matches:this.options.localData.slice(),isCompleteList:true},"*_*_local_*_*");this._isActive=true;this._localCache[this.options.dictionary][c][b]=this._cloneMatchObject(this._localCache[this.options.dictionary][c]["*_*_local_*_*"]);this._resetValueId(b);this._lastEnteredTerm=b;this._filteredCache(b)}else if(b.length>=this.options.minLength&&this.options.webserviceUrl){if(!this._isActive){this._isActive=true;this._focused()}if(this._lastEnteredTerm!==b){this._resetValueId(b);this._lastEnteredTerm=b;
+this._fecthOptions(b)}}else{this._resetValueId(b);this._hideOptions()}}},_resetValueId:function(a){this._lastEnteredTerm&&this._lastEnteredTerm.toLowerCase()===a||this._lastTextInTextbox&&this._lastTextInTextbox.toLowerCase()===a||this.element.attr("valueId",null)},_changeFired:function(){this._lastEnteredTerm!==this.element.val()&&this._resetValueId()},_webSerivcePath:null,_setWebServicePath:function(){var a=this.options.webserviceUrl;if(a){var b="";if(this.options.isCrossDomain)this._webSerivcePath=
+"http://www.ncbi.nlm.nih.gov/portal/utils/autocomp.fcgi";else{if(!this.options.isUrlRelative){b=window.location.protocol+"//"+window.location.host;if(a.charAt(0)!=="/")a="/"+a}this._webSerivcePath=b+a}}},_fecthOptions:function(a){this._activeRequest!==null&&this._activeRequest.abort();var b=this,c=this.options.responseFormat==="old"?"text":"json",e={dict:this.options.dictionary};e[this.options.queryParameter]=a;if(this.options.isCrossDomain){this._addGlobalListener("NSuggest_CreateData");jQuery.ajax({url:this._webSerivcePath,
+dataType:"script",data:e,cache:true})}else this._activeRequest=jQuery.get(this._webSerivcePath,e,function(d,f){b._handleResponse(d,f)},c)},_validSeverCall:function(a){var b=false,c;if(this.options.isCrossDomain){typeof console!=="undefined"&&console.warn&&console.warn("Can not do this test with cross domain calls");return false}else if(this.options.dictionary.length>0){var e=this.options.responseFormat==="old"?"text":"json";c={dict:this.options.dictionary};c[this.options.queryParameter]=a;c=jQuery.ajax({url:this._webSerivcePath,
+data:c,async:false,dataTypeString:e});if(c.status===200){c=c.responseText;b="NSuggest_CreateData_test"+(new Date).getTime();this._addGlobalListener(b,true);c=eval(c.replace("NSuggest_CreateData",b));window[b]=null;b=this._isValidCheck(a,c.matches)}}return b},_handleResponse:function(a,b){this._activeRequest=null;if(b==="success")if(this.options.responseProcessor)this._customFormat(a);else this.options.responseFormat==="old"?this._oldFormat(a):this._displayOptions(a);else this.turnOff()},_addGlobalListener:function(a,
+b){var c=this;window[a]=function(e,d,f){e={matchedText:e,matches:d,isCompleteList:f===1};if(b)return e;else c._displayOptions(e)}},_oldFormat:function(a){if(a.indexOf("_dictionary_error")!==-1)this.turnOff(true);else if(jQuery.trim(a).indexOf("NSuggest_CreateData")!==-1){this._addGlobalListener("NSuggest_CreateData_new");eval(a.replace("NSuggest_CreateData","NSuggest_CreateData_new"))}else this._hideOptions()},_localCache:{},_putInCache:function(a,b){if(!this.options.disableCache){var c="l"+(this.options.maxListLimit||
+"n");this._localCache[this.options.dictionary]||(this._localCache[this.options.dictionary]={});this._localCache[this.options.dictionary][c]||(this._localCache[this.options.dictionary][c]={});this._localCache[this.options.dictionary][c][b||this._lastEnteredTerm]||(this._localCache[this.options.dictionary][c][b||this._lastEnteredTerm]=a)}},_setActivedescendant:function(){var a=this.element.attr("id");if(!a){a=jQuery.ui.jig._generateId("ncbiautocomplete");this.element.attr("id",a)}jQuery(this._gol.optionsBox).find("ul:eq(0)").attr("aria-activedescendant",
+a)},_displayOptions:function(a){this._setActivedescendant();this._putInCache(a);var b=a.matchedText,c=a.matches||[];if(b!==this._lastEnteredTerm){a.isCompleteList=true;this._filteredCache(this._lastEnteredTerm,a)}else{this.sgData.userTyped=this._lastEnteredTerm;this.sgData.optionsCount=c;this._positionOptionsBox();var e=this;if(b==="_dictionary_error")this.turnOff(true);else{this._isCached=a.isCompleteList;b=a.previousFormat;if(!b){var d=this.options.maxListLimit;b=0;var f;if(d===null||c.length<=
+d)f=c.length;else{f=d;b=c.length-f}d=(this._lastEnteredTerm||"").replace(/([\^\$\\\?\(\)\[\]\*\+\{\}\|\/\.\,])/g,"\\$1");var i=new RegExp("("+d+")","i");d=new Array(c.length);var k=this.options.hasRelatedMatches;for(f=f-1;f>=0;f--){var h=c[f],m="",q=h.indexOf("@");if(q!==-1){m='valueId="'+h.substr(q+1)+'"';h=h.substr(0,q);k=true}d[f]="<li role='menuitem' "+m+">"+h.replace(i,"<span>$1</span>").replace(/\\"/g,'"')+"</li>"}b>0&&d.push("<li class='ui-ncbiautocomplete-show-more' role='menuitem' moreOption='true'>See all results</li>");
+b=d.join("");if(d.length===0||!k&&b.indexOf("<span>")===-1){this._hideOptions();return}a.previousFormat=b}c=jQuery(this._gol.optionsBox);a=jQuery(this._gol.optionsList);a.scrollTop(0);a.html(b);if(c.css("display")!=="block"&&this._isActive){c.css("display","block");if(this._gol.isIE6){b=jQuery(this._gol.optionsBox.iframe).css("display","block");b.height(b.height()+jQuery(this._gol.optionsActions).height())}}else this._isActive||this._hideOptions();b=jQuery(".ui-ncbiautocomplete-options li");d=(b.eq(0).outerHeight()||
+20)*b.length;b.closest(".ui-ncbiautocomplete-holder").height(d).css("min-height",d+"px");b.closest(".ui-ncbiautocomplete-options").height(d).css("overflow-y","hidden");b=c.width();jQuery("li",a).hover(function(){e._addHightlightMouse(this)},function(){e._removeHighlight("mouse")}).click(function(){e._optionClicked(this);return false});jQuery(a).mouseleave(function(){e._removeHighlight("mouse");e._resetCurrentIndex()});this._resetCurrentIndex();c=jQuery("li",c);b=jQuery(this._gol.optionsBox).width();
+var l=jQuery.browser.msie&&!this._gol.isIE6||jQuery.browser.safari||jQuery.browser.opera;d=c.eq(0);parseFloat(d.css("padding-left"));k=d.html();d.html("<span>MMMMMMMMM.</span>");i=d.children("span:first").width()/10;d.html("<span>&hellip;<span>");d.children("span:first").width();d.html(k);var r=a.width(),y=Math.floor(b/i);c.each(function(){var j=jQuery(this);j.css("white-space","nowrap");var n=j.html();j.attr("fullText",n).attr("acValue",n.replace(/<\/?span>/gi,""));if(j.width()/j.attr("acValue").length<
+9)if(l)j.attr("partialText",j.html()).attr("isIEExpand",true).css("width",r-28+"px");else{var t=n.toLowerCase().indexOf("<span>"),u=n.toLowerCase().indexOf("</span>"),z=function(g){var o=false;if(g>=t&&g<t+6){g=g-t;g=t+g;o=true}if(g>=u&&g<u+7){g=g-u;g=u+g}return{cutLoc:g,addSpan:o}},x=function(g,o,v,A,s){n.indexOf("Journal of magnetic");g=z(g);var p=n.substr(0,g.cutLoc)+(g.addCloseSpan?"</span>":"")+"&hellip;";j.html(p);if(p===A){if(j.height()!==w&&typeof s!=="undefined")p=s;j.attr("partialText",
+p).css("white-space","nowrap")}else if(j.height()===w){o=p.toString()+"";s=Math.floor((g.cutLoc+v)/2);x(s,g.cutLoc,v,p,o)}else{v=Math.floor((parseInt(g.cutLoc,10)+parseInt(o,10))/2);x(v,o,g.cutLoc,p,s)}};j.css("white-space","normal").css("width",r-22+"px");var B=j.height();j.html(".");var w=j.height();j.html(n);B>w&&x(y,0,n.length)}});a.scrollTop(0);this._removeHighlight("mouse");this._hideOptionsIfOffPage()}}},_filteredCache:function(a,b){var c=true,e="l"+(this.options.maxListLimit||"n");if(a===
+null)c=false;else{if(b){b=b;if(typeof this._localCache[this.options.dictionary]==="undefined")this._localCache[this.options.dictionary]={};else if(typeof this._localCache[this.options.dictionary][e]==="undefined")this._localCache[this.options.dictionary][e]={}}else b=this._localCache[this.options.dictionary][e][a];b.matchedText=a;var d=this.options.minLength===0&&a.length===0;if(!this.options.hasRelatedMatches){c=a.replace(/([\^\$\\\?\(\)\[\]\*\+\{\}\|\/\.\,])/g,"\\$1");c=new RegExp(c,"ig");for(var f=
+b.matches.join("!!!~~~!!!").split("!!!~~~!!!"),i=f.length-1;i>=0;i--)!d&&f[i].match(c)===null&&f.splice(i,1);b.matches=f;this._localCache[this.options.dictionary][e][a]=b;c=f.length>0}}c?this._displayOptions(this._localCache[this.options.dictionary][e][a]):this._hideOptions()},_removeHighlight:function(a){if(!(a==="mouse"&&new Date-this._lastKeyPressDwnUpScroll<100)){var b=this;jQuery("li",this._gol.optionsList).removeClass("ui-ncbiautocomplete-options-high").each(function(){b._collapseOption(this)})}},
+_addHightlightMouse:function(a){if(new Date-this._lastKeyPressDwnUpScroll>100){this._resetCurrentIndex();this._currIndex=jQuery(a).prevAll("li").length;this._addHightlight(a)}},_addHightlight:function(a){this._removeHighlight();jQuery(a).addClass("ui-ncbiautocomplete-options-high");var b=this;this._expandTimer&&window.clearTimeout(this._expandTimer);this._expandTimer=window.setTimeout(function(){b._expandOption(a)},this.options.expandPauseTime)},_expandOption:function(a){if(jQuery(a).hasClass("ui-ncbiautocomplete-options-high")){a=
+jQuery(a).attr("isExpanded",true);var b=a.attr("fullText");if(a.html()!==b||a.attr("isIEExpand")){a.html(b).css("text-overflow","").css("white-space","normal").css("-o-text-overflow","");this._scrollIntoView()}}},_collapseOption:function(a){a=jQuery(a);a.attr("isIEExpand")?a.css("text-overflow","ellipsis").css("white-space","nowrap").css("-o-text-overflow","ellipsis"):a.css("white-space","nowrap").html(a.attr("partialText"))},_optionClicked:function(a){a=jQuery(a);if(a.hasClass("ui-ncbiautocomplete-show-more"))this._gotoShowAll();
+else{var b=this._cleanUpSelectionText(a);a=a.attr("valueId")||null;this.sgData.optionSelected=b;this.sgData.optionIndex=this._currIndex;this.sgData.valueId=a;this.sgData.selectionAction="click";this._sgSend();b=jQuery(this.element).val(b);b.attr("valueid",a);b.trigger("ncbiautocompleteoptionclick",this.sgData);b.trigger("ncbiautocompletechange",this.sgData)}this._isOptionsBoxFocused=false;this._hideOptions()},isOptionsBoxOpen:function(){return jQuery(this._gol.optionsBox).css("display")==="block"},
+_hideOptions:function(a){this._gol.activeElement=null;if(!(this._isOptionsBoxFocused&&!a)){var b=jQuery(this._gol.optionsBox);a&&jQuery(this._gol.optionsBox).css("display","none");b.attr("aria-activedescendant")===this.element.attr("id")&&b.attr("aria-activedescendant","");this._gol.isIE6&&jQuery(this._gol.optionsBox.iframe).css("display","none");this._resetCurrentIndex();this._isActive=false;this._lastEnteredTerm=null;b=jQuery(this._gol.optionsBox);var c=jQuery(this._gol.optionsList);b.css("display",
+"none");c.html("");this._lastTextInTextbox=b=this.element.val();if(this.options.requireValidation&&b.length>0&&this.options.isEnabled&&(!this.element.is(":focus")||a))this._trigger((b.length<this.options.minLength?false:this.isInDictionary(b))?"validselection":"invalidselection")}},_setTextCursorToEnd:function(a){var b=this.element;jQuery(b).val(a);if(b.createTextRange){a=b.createTextRange();a.moveStart("character",b.value.length);a.collapse();a.select()}},_resetCurrentIndex:function(){this._currIndex=
+-1},_cleanUpSelectionText:function(a){return jQuery.trim(a.attr("acValue")).replace(/&amp;/gi,"&").replace(/\\"/g,'"')},_currIndex:-1,_moveSelection:function(a){if(this._isActive){this.sgData.usedArrows=true;var b=jQuery("li",this._gol.optionsList).length;this._currIndex+=a;this._removeHighlight();a=this._lastEnteredTerm;var c="";if(!(a===null||a.length<this.options.minLength)){if(this._currIndex<0||this._currIndex>=b)this._currIndex=this._currIndex===-2?b-1:-1;if(this._currIndex!==-1){b=jQuery("li:eq("+
+this._currIndex+")",this._gol.optionsList);this._addHightlight(b);if(this._currIndex===this.options.maxListLimit){this.sgData.optionSelected="";this.sgData.valueId=""}else{a=this._cleanUpSelectionText(b);c=b.attr("valueId")||null;this.sgData.optionSelected=a;this.sgData.valueId=c}}else{this.sgData.optionSelected="";this.sgData.valueId=""}this.element.attr("_optValue",c);this.element.attr("valueId",c);this._setTextCursorToEnd(a);this._scrollIntoView();this.sgData.optionIndex=this._currIndex}}},_scrollIntoView:function(){var a=
+jQuery("li:eq("+this._currIndex+")",this._gol.optionsList);if(a.length!==0){var b=jQuery(this._gol.optionsList),c=b.height(),e=b.scrollTop(),d=a[0].offsetTop;a=a.height();if(d-c+a>e){e=jQuery("li:eq("+(this._currIndex+1)+")",this._gol.optionsList);b.scrollTop((e.length===1?e[0].offsetTop:d+a+10)-c)}else d<e&&b.scrollTop(d)}},enableAutocomnplete:function(){this.options.isEnabled=true},disableAutocomnplete:function(){this.disableAutocomplete()},disableAutocomplete:function(){this._isOptionsBoxFocused=
+this.options.isEnabled=false;this._hideOptions()},turnOff:function(a){this.disableAutocomplete();var b=this.element.data("ncbiautocompleteOriginalTitle");b&&this.element.attr("title",b);if(!a){typeof ncbi!=="undefined"&&ncbi.sg&&ncbi.sg.ping&&ncbi.sg.ping(this.element[0],"autocompleteoffclick","dictionary="+this.options.dictionary);this.element.trigger("ncbiautocompletedisableclicked");a=this.options.disableUrl;if(a!==null&&a.length>0){b=jQuery.ui.jig._getFncFromStr(a);typeof b==="function"?b():jQuery.get(a)}}},
+_prefLinkClick:function(){typeof ncbi!=="undefined"&&ncbi.sg&&ncbi.sg.ping&&ncbi.sg.ping(this.element[0],"autocompleteprefclick","dictionary="+this.options.dictionary)},_checkClickEvent:function(a){if(this._isActive)if(jQuery(this.element)[0]!=a.target){this._isActive=this._isOptionsBoxFocused=false;this._hideOptions()}},_sgSend:function(){typeof ncbi!=="undefined"&&typeof ncbi.sg!=="undefined"&&typeof ncbi.sg.ping!=="undefined"&&ncbi.sg.ping(this.sgData,false)},getSgData:function(){return this.sgData},
+_gotoShowAll:function(){var a=jQuery(this.element),b=a.val();a.trigger("ncbiautocompleteshowall",{value:b,dictionary:this.options.dictionary})},_hideOptionsIfOffPage:function(){if(this.options.maxListLimit){var a=this,b=jQuery(".ui-ncbiautocomplete-options li"),c=b.eq(0).outerHeight()||20,e=jQuery(this._gol.optionsBox),d=jQuery(window).height(),f=e.position().top,i=f+e.outerHeight()-(document.body.scrollTop||document.documentElement.scrollTop||window.pageYOffset||0);if(b.last().hasClass("ui-ncbiautocomplete-show-more")){var k=
+f+"-"+d+"-"+i;if(!this.choppedDetails)this.choppedDetails={};var h=this.choppedDetails[k],m=0,q=function(){i=f+e.outerHeight()-(document.body.scrollTop||document.documentElement.scrollTop||window.pageYOffset||0);if(i>d){b=jQuery(".ui-ncbiautocomplete-options li");var r=b.length-2;if(r>=0){b.eq(r).remove();sz=c*(b.length-1);b.closest(".ui-ncbiautocomplete-holder").height(sz).css("min-height",sz+"px");b.closest(".ui-ncbiautocomplete-options").height(sz).css("overflow-y","hidden");m++;q()}}else a.choppedDetails[k].count=
+m};if(h){var l=h.count;if(l>0){h=2*h.length-l-b.length-2;b.filter(":lt("+(b.length-1)+")").filter(":gt("+h+")").remove();b=jQuery(".ui-ncbiautocomplete-options li");sz=c*b.length;b.closest(".ui-ncbiautocomplete-holder").height(sz).css("min-height",sz+"px");b.closest(".ui-ncbiautocomplete-options").height(sz).css("overflow-y","hidden")}m=l}else this.choppedDetails[k]={count:0,length:b.length};q()}else{l=Math.floor((d-f)/c)*c;h=b.length*c;if(l>h)l=h;b.closest(".ui-ncbiautocomplete-holder").height(l).css("min-height",
+l+"px");b.closest(".ui-ncbiautocomplete-options").height(l).css("overflow-y","auto")}}},isValid:function(){return this.isInDictionary(this.element.val())},isInDictionary:function(a){var b=false;if(a&&a.length>=this.options.minLength&&this.options.dictionary&&this.options.dictionary.length>0&&this.options.isEnabled){var c=false,e="l"+(this.options.maxListLimit||"n"),d=a.toLowerCase();if(this._localCache[this.options.dictionary]&&this._localCache[this.options.dictionary][e]){e=this._localCache[this.options.dictionary][e];
+c=true;if(e[d])b=this._isValidCheck(d,e[d].matches);else for(var f in e)if(b=this._isValidCheck(d,e[f].matches))break}if(!b&&!c)b=this._validSeverCall(a)}return b},_isValidCheck:function(a,b){var c=false;if(b){c=jQuery.inArray(a.toLowerCase(),b)>-1;if(!c){var e=new RegExp("(^|@)("+a.toLowerCase()+")(@|$)","i");jQuery.each(b,function(d,f){if(f.match(e)){c=true;return false}})}}return c},_customFormat:function(a){if(typeof this.options.responseProcessor==="string")this.options.responseProcessor=jQuery.ui.jig._getFncFromStr(this.options.responseProcessor);
+this._displayOptions({matchedText:this._lastEnteredTerm,matches:this.options.responseProcessor.call(this,a),isCompleteList:0})}});jQuery.ui.ncbiautocomplete._globalOptionsList=null;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_005.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+a.ui-ncbitoggler{color:#22c;}a.ui-ncbitoggler,a.ui-ncbitoggler-open{padding-left:16px;position:relative;display:block;}a.ui-ncbitoggler-no-icon{padding-left:0;}a.ui-ncbitoggler span.ui-icon-plus-minus-big,a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open{background-color:transparent;background-image:url(../img/ncbitoggler-plus-minus-big.gif);background-repeat:no-repeat;top:.2em;margin-left:-0.1em;}a.ui-ncbitoggler span.ui-icon-plus-minus-big{background-position:left -30px;}a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open{background-position:left 0;}.ui-ncbitoggler-slave,.ui-ncbitoggler-slave-open{margin:.2em 0 0 16px;}.ui-ncbitoggler-slave{display:none;}.ui-ncbitoggler-slave-open{display:block;}a.ui-ncbitoggler span.ui-icon,a.ui-ncbitoggler-open span.ui-icon{display:inline;position:absolute;left:0;_left:-1em;}a.ui-ncbitoggler-disabled{outline:none;}a.ui-ncbitoggler-disabled:active{outline:none;color:#551A8B;}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_005.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,2 @@
+(function(){var d=jQuery.ui.button.prototype._create;jQuery.ui.button.prototype.options.color="ui-ncbibutton-gray";jQuery.ui.button.validColors=["ui-ncbibutton-gray","ui-ncbibutton-copper","ui-ncbibutton-blue"];jQuery.ui.button.classColors=["jig-ncbibutton-gray","jig-ncbibutton-copper","jig-ncbibutton-blue"];var e=function(){d.apply(this,arguments);this._addClasses()};jQuery.widget("ui.ncbibutton",jQuery.ui.button,{_create:function(){e.apply(this,arguments)},_getColor:function(){for(var a=this.options.color,
+f=this.element[0].className,c=jQuery.ui.button.classColors,b=0;b<c.length;b++)if(f.indexOf(c[b])!==-1){a=jQuery.ui.button.validColors[b];break}if(a.indexOf("ui-ncbibutton-")!==0)a="ui-ncbibutton-"+a;if(jQuery.inArray(a,jQuery.ui.button.validColors)===-1){typeof console!=="undefined"&&console.warn&&console.warn("The color you picked: "+this.options.color+" is not a valid color choice.\n Valid colors: "+jQuery.ui.button.validColors.join(", "));a=jQuery.ui.button.validColors[0]}return a},_addClasses:function(){this.buttonElement.addClass("ui-ncbibutton").addClass(this._getColor()).removeClass("ui-button ui-widget")}})})();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_006.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+.ui-ncbipopper-wrapper{position:fixed;top:0;left:0;z-index:11;display:none;}.ui-ncbipopper-wrapper-relative-parent{position:fixed!important;}.ui-ncbipopper-basic{border:3px solid #3e72a6;background-color:#fff;color:#303030;padding:1em;text-align:left;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;}button.ui-ncbipopper-close-button-generated{display:block;float:right;margin:-1.25em -1.3em 0 0;font-size:small;width:1.7em;text-align:center;padding:0;border:0;}button.ui-ncbipopper-close-button-generated,button.ui-ncbipopper-close-button-generated:active{margin:-0.615em;height:14px;width:13px;background-image:url(../img/ui-popper-closebutton.png);background-color:transparent;background-repeat:no-repeat;}button.ui-ncbipopper-close-button-generated .ui-button-text{color:transparent;text-shadow:none;}div.ui-ncbipopper-arrow-image{position:absolute;top:100px;left:100px;width:7px;height:7px;z-index:11;display:none;background-image:url(../img/ncbipopper-arrow.png);background-repeat:no-repeat;}div.ui-ncbipopper-arrow-left{background-position:center left;height:28px;}div.ui-ncbipopper-arrow-right{background-position:center right;height:28px;}div.ui-ncbipopper-arrow-top{background-position:top center;width:28px;}div.ui-ncbipopper-arrow-bottom{background-position:bottom center;width:28px;}.brieflinkpopdesc{font-size:.846em;margin-top:.4em;}.portlet .brieflinkpop{width:350px;}.portlet .brieflinkpop a{font-size:1em;}.portlet .brieflinkpopperctrl{display:inline-block;}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_006.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,75 @@
+jQuery.widget("ui.ncbigrid",{options:{isScrollable:false,height:"10em",hortScrollbarEnabled:false,width:null,isPageable:false,currentPage:1,isPageToolbarHideable:true,pageSize:10,isSortable:false,columnTypes:[],sortFunctions:[],isPresorted:false,sortColumn:-1,sortColumnDir:1,sortRowIndex:0,titleAscending:"sort ascending",titleDescending:"sort descending",ariaLabelAscending:"activate to sort column ascending",ariaLabelDescending:"activate to sort column descending",regExp:false,checkboxToolbarEnabled:false,
+filterToolbarEnabled:false,filterToolbarIsCaseInsensitive:null,filterToolbarColumnIndex:null,filterToolbarIsInverse:null,isLoadingMessageShown:true,loadingText:"Loading",collapseRowsEnabled:false,addCommas:false},_init:function(){},_create:function(){this._isStartPageOne=this.options.currentPage===1;this._wrapTable();this._addBasicStyles();this._checkIfCSSIsScrollable();this._attachLoadingMessageListener();if(this.options.isScrollable||this.options.isSortable||this.options.isPageable||this.options.checkboxToolbarEnabled||
+this.options.filterToolbarEnabled)this._addAriaRolesAndStates();this._addRowClickWatcher();this.options.isScrollable&&this._createScrollable();if(this.options.isPageable||this.options.isPagable){this.options.isPageable=true;this._createPageGrid()}if(this.options.isSortable){this._createSortGrid();this.updateAriaTH()}else this._enableCollapseTbodyRows();this.options.checkboxToolbarEnabled&&this._createCheckboxSelectors();this.options.filterToolbarEnabled&&this._createFilterBarControl();this._addRowHoverEvent();
+this._addContentsAdjustmentEvent();this._adjustContents()},destroy:function(){jQuery.Widget.prototype.destroy.apply(this,arguments);this.options.isScrollable&&this._destroyScrollable();if(this.options.isPageable||this.options.isPagable)this._destroyPageGrid();this._destroyRowHoverEvent()},_addBasicStyles:function(){this.element.addClass("ui-ncbigrid").attr("cellpadding","0").attr("cellspacing","0")},_checkIfCSSIsScrollable:function(){if(this.element.hasClass("jig-ncbigrid-scroll"))this.options.isScrollable=
+true},_wrapTable:function(){var a=this.element.parent().parent();if(!a.hasClass("ui-ncbigrid-outer-div")){this.element.wrap('<div class="ui-ncbigrid-outer-div"><div class="ui-ncbigrid-inner-div"></div></div>');a=this.element.parent().parent()}this.element.find("caption").length>0&&a.addClass("caption-exists");var b=this.options.width;b&&a.css("width",b)},_addRowHoverEvent:function(){jQuery(this.element).on("mouseenter","tbody > tr",function(){var a=jQuery(this);a.hasClass("ignoreHoverHighlight")||
+a.addClass("ui-ncbigrid-row-hover")}).on("mouseleave","tbody > tr",function(){jQuery(this).removeClass("ui-ncbigrid-row-hover")})},_destroyRowHoverEvent:function(){jQuery(this.element).off("mouseenter mouseleave","tr")},_addContentsAdjustmentEvent:function(){var a=this;this.element.on("ncbigridupdated",function(){a._adjustContents()})},_getNumCommaIndices:function(){var a=this.options.columnTypes;if(!a)return[];for(var b=[],c=0;c<a.length;c++)if(a[c]=="numComma"||a[c]=="numberComma")b.push(c);return b},
+_getCommaSeparatedValue:function(a){var b=parseInt(a);if(isNaN(b))return a;else{a=a.split(".");b=a[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,");return a[1]?b+"."+a[1]:b}},_adjustContentsForCommas:function(){var a=this._getNumCommaIndices();if(a.length){var b=this;jQuery(this.element).find("tbody td").each(function(){var c=jQuery(this),d=c.parent().find("td").index(c);jQuery.inArray(d,a)!=-1&&c.html(b._getCommaSeparatedValue(c.html()))})}},_adjustContents:function(){this.options.addCommas&&this._adjustContentsForCommas()},
+_addAriaRolesAndStates:function(){var a=this.element;a.attr("id")||a.attr("id",jQuery.ui.jig._generateId(this.widgetName));a.parent().parent().attr("role","grid").attr("tabindex","0");a.children("thead").children("tr").attr("role","row").children("th").attr({"aria-controls":a.attr("id"),role:"columnheader",tabindex:"0"});a.children("tbody").attr({role:"alert","aria-live":"polite","aria-relevant":"text"})},updateAriaTH:function(){if(this.options.isSortable){var a=this;this.element.parent().parent().find("div, table").attr("tabindex",
+"0").end().find("thead").find("th").each(function(b,c){b="";var d=a.options.ariaLabelAscending;if(jQuery(c).is(".sortDsc")){b="descending";d=a.options.ariaLabelAscending}else if(jQuery(c).is(".sortAsc")){b="ascending";d=a.options.ariaLabelDescending}c=jQuery(c).children("a");jQuery(c).attr("aria-label",jQuery(c).text()+": "+d);b==""?jQuery(c).removeAttr("aria-sort"):jQuery(c).attr("aria-sort",b)})}},_createScrollable:function(){this._storeRefs();this._addScrollClasses();this._copyCaptionHeader();
+this._setWidthHeight();this._setWidths();this._registerScrollableListeners()},_destroyScrollable:function(){this._removeScrollClasses();if(this.parts){this.parts.scrollWrapper.removeClass("ui-ncbigrid-scroll");this.parts.headerWrapper.remove();for(var a in this.parts)this.parts[a]=null;this.parts=null}this._windowResize&&jQuery(window).unbind("resize",this._windowResize)},_storeRefs:function(){var a=this.element;this.parts={table:a,ths:a.find("> thead th")}},_addScrollClasses:function(){var a=this.element,
+b=a.parent().addClass("ui-ncbigrid-scroll");this.parts.scrollWrapper=b;if(jQuery.browser.webkit){var c=navigator.userAgent;c.indexOf("AppleWebKit")>0&&c.indexOf("Chrome")==-1&&a.addClass("safari")}this.options.hortScrollbarEnabled&&b.addClass("ui-ncbigrid-hort-scroll")},_removeScrollClasses:function(){this.element.removeClass("ui-ncbigrid").removeClass("safari").parent().removeClass("ui-ncbigrid-scroll")},_copyCaptionHeader:function(){var a=this.element,b=a.parent();b.parent();var c=a.find("caption").clone();
+a=a.find("> thead").clone();c=jQuery("<div class='ui-ncbigrid-header-wrapper'></div>").append("<table cellpadding='0' cellspacing='0' class='ui-ncbigrid ui-ncbigrid-header'></table>").find("table").append(c).append(a).end();c.insertBefore(b);b=c.find("caption");b.wrapInner("<div></div>");this.parts.captionDiv=b.find("div");this.parts.headerWrapper=c;this.parts.headerThs=c.find("thead th")},_setWidthHeight:function(){this.options.height!==null&&this.parts.scrollWrapper.height(this.options.height)},
+_setWidths:function(){function a(j){jQuery(this).width(h[j])}var b=this.parts,c=b.table,d=b.ths,e=b.scrollWrapper,g=b.headerWrapper;b=b.headerThs;var f=jQuery.browser.msie;if(!this.options.hortScrollbarEnabled&&c.data("isMinSet")!==true&&this.element.is(":visible")){var i=c.outerWidth();if(c.width()>e.width()){e.css("min-width",i+16);c.data("isMinSet",true)}}var h=[];d.each(function(){var j=0;if(jQuery(this).is(":visible"))j=jQuery(this).width()+0;h.push(j)});d=c.height()>e.height()?16:0;f=this.options.isSortable&&
+f&&parseInt(jQuery.browser.version,10)<8?d:0;c.parent().parent().find("table.ui-ncbigrid-header").width(c.width()+2-f);c=e.width()-d;g.width(c);this.parts.captionDiv&&this.parts.captionDiv.width(c);b.each(a)},_handleScroll:function(a,b,c){function d(){g._handleScroll(a,b,true)}var e=a.scrollLeft;b.scrollLeft=e;this.parts.captionDiv&&this.parts.captionDiv.css("margin-left",e+"px");var g=this;if(!c){window.setTimeout(d,1);window.setTimeout(d,5)}},_registerScrollableListeners:function(){var a=this;this._windowResize=
+function(){a._setWidths()};jQuery(window).resize(this._windowResize);var b=this.element.parent().parent().find(".ui-ncbigrid-header-wrapper")[0];this.element.parent().scroll(function(){a._handleScroll(this,b)});this.element.bind("ncbigridupdated",function(){a._setWidths()});this.element.bind("resetScroll",function(){a._resetScrollToTop()})},_resetScrollToTop:function(){this.parts.scrollWrapper.scrollTop(0)},_createPageGrid:function(){this._createPageBars();this._addPagingEvents();this._gotoPage(this.options.currentPage)},
+_destroyPageGrid:function(){if(this._pageBars){this._removePagingEvents();this._removePageBars()}},_pagingControlsHTML:'                                         <div class="ui-ncbigrid-paged-toolbar">                                                <div class="ui-ncbigrid-paged-countItems">Items <span class="ui-ncbigrid-paged-startRow">1</span> - <span class="ui-ncbigrid-paged-endRow">10</span> of <span class="ui-ncbigrid-paged-totalRows">10</span></div>                                                <div class="ui-ncbigrid-paged-pageControl pagination">                        <a href="#" class="ui-ncbigrid-paged-pageControl-first page_link" title="Goto First Page">&lt;&lt; First</a>                        <span class="ui-ncbigrid-paged-pageControl-first page_link" title="Inactive Goto First Page">&lt;&lt; First</span>                        <a href="#" class="ui-ncbigrid-paged-pageControl-previous page_link prev" title="Goto Previous Page">&lt; Prev</a>                        <span class="ui-ncbigrid-paged-pageControl-previous page_link prev" title="Inactive Goto Previous Page">&lt; Prev</span>                        <label>Page</label> <input type="text" value="1" size="2" title="current page number"/> of <span class="ui-ncbigrid-paged-endPage">2</span>                        <a href="#" class="ui-ncbigrid-paged-pageControl-next next page_link" title="Goto Next Page">Next &gt;</a>                        <span class="ui-ncbigrid-paged-pageControl-next next page_link" title="Inactive Goto Next Page">Next &gt;</span>                        <a href="#" class="ui-ncbigrid-paged-pageControl-last page_link" title="Goto Last Page">Last &gt;&gt;</a>                        <span class="ui-ncbigrid-paged-pageControl-last page_link" title="Inactive Goto Last Page">Last &gt;&gt;</span>                        </div>                                            </div>',
+_createPageBars:function(){this._pageToolBar_top=jQuery(this._pagingControlsHTML).addClass("ui-ncbigrid-paged-toolbar-top");this._pageToolBar_bottom=jQuery(this._pagingControlsHTML).addClass("ui-ncbigrid-paged-toolbar-bottom");var a=this.element,b=a.parent().parent();b.prepend(this._pageToolBar_top);b.append(this._pageToolBar_bottom);b.children(".ui-ncbigrid-paged-toolbar-top").children(".ui-ncbigrid-paged-countItems").attr("id",jQuery.ui.jig._generateId("ui-ncbigrid-paged-countItems"));a.attr("aria-describedby",
+this._pageToolBar_top.children(".ui-ncbigrid-paged-countItems").attr("id"));this._pageBars=this._pageToolBar_top.add(this._pageToolBar_bottom);this._pageBars.find(":input").each(function(c,d){jQuery(d).attr("id",jQuery.ui.jig._generateId("ui-ncbigrid-paged-current-page")).prev().attr("for",jQuery(d).attr("id"))})},_removePageBars:function(){this._pageToolBar_top.remove();this._pageToolBar_top=null;this._pageToolBar_bottom.remove();this._pageBars=this._pageToolBar_bottom=null;this.element.removeAttr("aria-describedby")},
+_addPagingEvents:function(){var a=this,b=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-first"),c=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-previous"),d=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-next"),e=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-last"),g=this._pageBars.find("input");b.click(function(f){a.gotoFirstPage();f.preventDefault()});c.click(function(f){a.gotoPrevPage();f.preventDefault()});d.click(function(f){a.gotoNextPage();f.preventDefault()});e.click(function(f){a.gotoLastPage();
+f.preventDefault()});g.keypress(function(f){if(f.keyCode===13){a.gotoPage(this.value.replace(/,/g,""));f.preventDefault()}})},_removePagingEvents:function(){this._pageBars.find("a").unbind("click").end().find("input").unbind("keypress")},_showHidePageToolbar:function(){if(this._pageBars)if(this.options.isPageToolbarHideable)parseInt(this.getRowCount())<=parseInt(this.options.pageSize)?this._pageBars.hide():this._pageBars.show()},_setPage:function(){this.element.trigger("resetScroll");this.element.trigger("pagechanged");
+var a=this._getCurrentPage(),b=this.getMaxPage();this._showHidePageToolbar();this._updateRows(a,b);this._updateButtons(a,b);this._updatePagingText(a,b);this._updateGoto(a,b);this._updateItemRange(a,b);this._pageBars.find(".ui-ncbigrid-paged-pageControl").attr({"aria-valuemin":"1","aria-controls":this.element.attr("id"),"aria-valuemax":b,"aria-valuenow":a});this._notifyGridUpdated()},_updateRows:function(a){var b=this.options.pageSize,c=this.getRowCount();a=(a-1)*b;var d=a+b;b=this.element.find("> tbody > tr:not(.ncbigrid-row-filtered)");
+var e=this.element.find("> tbody").length>1,g=0;if(e&&a>0)g=b.filter(":lt("+a+")").filter(":has(th)").length;var f="";if(d<c)f+=":lt("+(d+g)+")";if(a>0)f+=":gt("+(a-1+g)+")";c=b;if(f.length>0){b.not(".ui-ncbigrid-rowHidden").addClass("ui-ncbigrid-rowHidden");c=b.filter(f)}c.removeClass("ui-ncbigrid-rowHidden");if(e){a=c.filter(":has(th)").length;if(a>0){b=0;for(c=c.last().next();b<a&&c.length===1;){if(!c.hasClass("ncbigrid-row-filtered")){c.has("th")||b++;c.removeClass("ui-ncbigrid-rowHidden")}c=
+c.next()}}}this._notifyGridUpdated()},_updateButtons:function(a,b){var c=b===2,d=a===1,e=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-previous,a.ui-ncbigrid-paged-pageControl-first").css("display",d?"none":"inline").filter("a.ui-ncbigrid-paged-pageControl-first");d=this._pageBars.find("span.ui-ncbigrid-paged-pageControl-previous,span.ui-ncbigrid-paged-pageControl-first").css("display",d?"inline":"none").filter("span.ui-ncbigrid-paged-pageControl-first");b=a===b||b==0;a=this._pageBars.find("a.ui-ncbigrid-paged-pageControl-next,a.ui-ncbigrid-paged-pageControl-last").css("display",
+b?"none":"inline").filter("a.ui-ncbigrid-paged-pageControl-last");b=this._pageBars.find("span.ui-ncbigrid-paged-pageControl-next,span.ui-ncbigrid-paged-pageControl-last").css("display",b?"inline":"none").filter("span.ui-ncbigrid-paged-pageControl-last");c&&e.add(d).add(a).add(b).css("display","none")},_updatePagingText:function(a,b){if(b<1)b=1;if(this.options.addCommas)b=this._getCommaSeparatedValue(""+b);this._pageBars.find("div.ui-ncbigrid-paged-pageControl").find("span.ui-ncbigrid-paged-endPage").html(b)},
+_updateGoto:function(a){if(this.options.addCommas)a=this._getCommaSeparatedValue(""+a);this._pageBars.find("input").val(a)},_updateItemRange:function(a){var b=parseInt(this.options.pageSize,10),c=this.getRowCount();a=(a-1)*b+1;b=a+b-1;if(b>c)b=c;if(c==0)a=0;if(this.options.addCommas){c=this._getCommaSeparatedValue(""+c);a=this._getCommaSeparatedValue(""+a);b=this._getCommaSeparatedValue(""+b)}var d=this._pageBars.find("div.ui-ncbigrid-paged-countItems");d.find("span.ui-ncbigrid-paged-startRow").html(a);
+d.find("span.ui-ncbigrid-paged-endRow").html(b);d.find("span.ui-ncbigrid-paged-totalRows").html(c)},_getCurrentPage:function(){return this.options.currentPage},getCurrentPage:function(){return this._getCurrentPage()},getMaxPage:function(){return Math.ceil(this.getRowCount()/this.options.pageSize)},getRowCount:function(){return jQuery(this.element).find("> tbody > tr:not(.ncbigrid-row-filtered):not(:has(> th))").length},getHeaderRowCount:function(){return jQuery(this.element).find("tbody > tr:has(th)").length},
+gotoFirstPage:function(){this._gotoPage(1)},gotoLastPage:function(){this._gotoPage(this.getMaxPage())},gotoNextPage:function(){this._gotoPage(this._getCurrentPage()+1)},gotoPrevPage:function(){this._gotoPage(this._getCurrentPage()-1)},gotoPage:function(a){this._gotoPage(parseInt(a,10))},_gotoPage:function(a){if(isNaN(a)||a<1)a=1;else if(a>this.getMaxPage()){a=this.getMaxPage();if(a<1)a=1}this.options.currentPage=a;this._pagingSelectAllQuestions&&this._pagingSelectAllQuestions.hide();this._setPage()},
+_createSortGrid:function(){var a=this.options.sortColumn;if(this.options.sortColumn!==-1){a=a-1;this.options.sortColumn=a!==-1?a:0}this._indexGrid();this._addSortEvents();this._setSortHeaders();this._checkInitialState();this._notifyGridUpdated()},_destroySortGrid:function(){},reindex:function(){for(var a=0;a<this.element.find("tbody tr:eq(0) td").length;a++)this.element.data("sort_order_col_"+a,null);this.element.data("rows",null);this._indexGrid()},_indexGrid:function(){var a=this,b=this.element.find("> tbody");
+if(b.length===0)this._isIndexed=false;else for(var c=0;c<b.length;c++)(function(d,e){function g(){for(var o=0;o<50&&k<m;o++){var p=l[k],q=a.getRowValues_DOM(p);if(q.length==0){a._enableCollapseTbodyRows(p);i.push(p);j++}else{q.unshift(k-j,p);f.push(q);h.push(q)}k++}if(k<m)window.setTimeout(g,0);else{a.element.data("tbody"+e+"-rows",h);a.element.data("tbody"+e+"-header",i);a._presort(f,e)}}var f=[],i=[],h=[],j=0,l=jQuery(d).find("> tr"),k=0,m=l.length;if(m===0)a._isIndexed=false;else{a._isIndexed=
+true;g()}})(b[c],c)},_presort:function(a,b){function c(h){var j=g.options.sortFunctions[h-2];j||(j=g.element.find("> thead th:eq("+(h-2)+")").data("sortfunc"));if(j)if(typeof j==="function")return j;else if(j.indexOf("fnc:")===0){j=j.substr(4,j.length).split(".");for(var l=window[j[0]],k=1;k<j.length;k++)l=l[j[k]];return g.options.sortFunctions[h]=l}return null}function d(h,j,l){function k(n){if(n.length<2)return n;var r=parseInt(n.length/2),s=n.slice(0,r);n=n.slice(r,n.length);return m(k(s),k(n))}
+function m(n,r){for(var s=[];n.length&&r.length;){var u=false;(u=o?-g.options.sortColumnDir==o.call(g,{data:n[0][j],row:jQuery(n[0][1])},{data:r[0][j],row:jQuery(r[0][1])}):n[0][j]<=r[0][j])?s.push(n.shift()):s.push(r.shift())}for(;n.length;)s.push(n.shift());for(;r.length;)s.push(r.shift());return s}var o=c(j),p=jQuery.browser.msie?100:1E3,q=0,t=[];(function(){for(var n=0;n<p&&q<h.length;n++){t.push(h[q]);q++}q<h.length?setTimeout(arguments.callee,0):l(k(t),j)})()}function e(h,j){var l=0,k=[];(function(){for(var m=
+0;m<50&&l<h.length;m++){k.push(h[l][0]);l++}l<h.length?setTimeout(arguments.callee,0):g.element.data("tbody"+b+"-sort_order_col_"+(j-2),k)})()}for(var g=this,f=a[0].length,i=2;i<f;i++)this._getColumnType(i-2)!=="none"&&d(a,i,e)},_getColumnType:function(a){var b=this.options.columnTypes[a];b||(b=this.element.find("> thead th:eq("+a+")").data("columntype"));return b||"str"},getColumnType:function(a){return this._getColumnType(a-1)},getRowValues:function(a){if(typeof a==="number")a=this.element.find("tbody tr:eq("+
+a+")");var b=[];a=a[0].getElementsByTagName("td");for(var c=a.length,d=0;d<c;d++)b.push(this._getCellValueHelper(a[d].innerHTML,d));return b},getRowValues_DOM:function(a){var b=[];a=jQuery(a).children("td");for(var c=a.length,d=0;d<c;d++)b.push(this._getCellValueHelper(a[d].textContent||a[d].innerText||"",d));return b},_getCellValue:function(a,b){return this._getCellValueHelper(a.html(),b)},_getCellValueHelper:function(a,b){var c=this._getColumnType(b);switch(c){case "num":case "number":case "float":return a!==
+undefined&&a.length>0?parseFloat(a):Number.POSITIVE_INFINITY;case "int":return a!==undefined&&a.length>0?parseInt(a,10):Number.POSITIVE_INFINITY;case "numberComma":case "numComma":a=(a||"").replace(/[, ]/g,"");return a.length>0?parseFloat(a):Number.POSITIVE_INFINITY;case "date":return new Date(a);case "str-insensitive":return a.toLowerCase();case "str":default:if(typeof c==="function")return c(a);else if(c.indexOf("fnc:")===0){c=c.substr(4,c.length).split(".");for(var d=window[c[0]],e=1;e<c.length;e++)d=
+d[c[e]];this.options.columnTypes[b]=d;return d(a)}else return a||""}},getCellValue:function(a,b){if(typeof a==="number")a=this.element.find("tbody tr:eq("+a+")");return this._getCellValue(a.find("td:eq("+b+")"),b)},_addSortEvents:function(){function a(e){b._getColumnType(e)!=="none"&&jQuery(this).wrapInner(d).find("a").data("index",e)}var b=this,c=this.element.find("> thead tr:eq("+this.options.sortRowIndex+") th");this.element.bind("ncbigridcontentchanged",function(){b.reindex()});var d="<a href='#' title='"+
+this.options.titleAscending+"'></a>";c.each(a);c=c;if(this.parts&&this.parts.headerThs){this.parts.headerThs.each(a);c=c.add(this.parts.headerThs)}c.find("a").click(function(e){b._sort(jQuery(this).data("index"));e.preventDefault()})},sort:function(a,b){this._sort(a-1,b)},_sort:function(a,b){if(this._isIndexed){this.options.isPageable&&this.element.trigger("resetCheckboxes");var c=b;if(b===undefined)c=this.options.sortColumn!==a?1:-1*this.options.sortColumnDir;this.options.sortColumn=a;this.options.sortColumnDir=
+c;this.element.trigger("ncbigridshowloadingbar");this._setSortHeaders();this._waitForCache()}},_setSortHeaders:function(){var a=this.element.find("> thead tr:eq("+this.options.sortRowIndex+") th"),b=null;if(this.parts&&this.parts.headerThs)b=this.parts.headerThs;a.add(b).removeClass("sortAsc sortDsc").addClass("sortNone").find("a").attr("title",this.options.titleAscending);var c=this.options.sortColumn;if(this.options.sortColumn!==-1){var d=this.options.sortColumnDir===1?"sortAsc":"sortDsc",e=this.options.sortColumnDir===
+1?this.options.titleDescending:this.options.titleAscending;a.eq(c).addClass(d).removeClass("sortNone").find("a").attr("title",e);b&&b.eq(c).addClass(d).removeClass("sortNone").find("a").attr("title",e)}this.options.isSortable&&this.updateAriaTH()},_waitForCache:function(){for(var a=this,b=this.options.sortColumn,c=this.element.find("tbody"),d=0;d<c.length;d++)(function(e){var g=a.element.data("tbody"+e+"-sort_order_col_"+b);if(g)a._setTheRows(g,e);else{var f=arguments.callee;setTimeout(function(){f(e)},
+10)}})(d)},_setTheRows:function(a,b){var c=this.element.data("tbody"+b+"-header"),d=this.element.data("tbody"+b+"-rows");b=this.element.find("tbody:eq("+b+")");var e=jQuery("<tbody>"),g=c.length;if(g>0)for(var f=0;f<g;f++)e.append(c[f]);if(this.options.sortColumnDir==1)for(f=0;f<a.length;f++){c=d[a[f]][1];e.append(c)}else for(f=a.length-1;f>=0;f--){c=d[a[f]][1];e.append(c)}b.replaceWith(e);this.element.trigger("ncbigridhideloadingbar");if(this.options.isPageable)if(this._isStartPageOne)this.gotoFirstPage();
+else{this._gotoPage(this.options.currentPage);this._isStartPageOne=true}this.element.trigger("ncbigridcolumnsorted",[this.options.sortColumn+1,this.options.sortColumnDir])},_checkInitialState:function(){!this.options.isPresorted&&this.options.sortColumn!==-1&&this._sort(this.options.sortColumn,this.options.sortColumnDir)},_checkboxControlsHTML:'                                         <div class="ui-ncbigrid-checkbox-toolbar">                        \t\t\t\t\t\t<label>Select:</label>\t\t\t\t\t\t<a href="#" class="ui-ncbigrid-select-all">All</a>\t\t\t\t\t\t<a href="#" class="ui-ncbigrid-select-none">None</a>\t\t\t\t\t\t<label>Selected:</label>\t\t\t\t\t\t<span class="ui-ncbigrid-selected-text">0</span>                                            </div>',
+_pagingSelectAllQuestionHTML:'<div class="ui-ncbigrid-select-question">All <span class="ui-ncbigrid-select-row-count">10</span> items on this page are <span class="selectText1">selected</span>. <a href="#" class="ui-ncbigrid-select-question-all"><span class="selectText2">Select</span> all rows in table</a> <a href="#" class="ui-ncbigrid-select-question-cancel">Cancel</a></div>',_createCheckboxSelectors:function(){this._createCheckboxBar();this._addCheckboxEvents();this._updateCount()},_createCheckboxBar:function(){this._checkboxToolBar_top=
+jQuery(this._checkboxControlsHTML).addClass("ui-ncbigrid-checkbox-toolbar-top");this._checkboxToolBar_bottom=jQuery(this._checkboxControlsHTML).addClass("ui-ncbigrid-checkbox-toolbar-bottom");var a=this.element.parent().parent();a.prepend(this._checkboxToolBar_top);if(this.options.isPageable){this._checkboxToolBar_bottom.insertBefore(this._pageToolBar_bottom);this._addSelectAllQuestionToolbar()}else a.append(this._checkboxToolBar_bottom);a.find(".ui-ncbigrid-checkbox-toolbar").attr("aria-controls",
+this.element.attr("id"));this._chekboxBars=this._checkboxToolBar_top.add(this._checkboxToolBar_bottom)},_addCheckboxEvents:function(){var a=this;this._chekboxBars.find("a.ui-ncbigrid-select-all").click(function(b){a.checkAll();a._askSelectAllQuestion();b.preventDefault()});this._chekboxBars.find("a.ui-ncbigrid-select-none").click(function(b){a.uncheckAll();a._askSelectAllQuestion(true);b.preventDefault()});jQuery(this.element).on("click","tbody",function(b){a._rowClicked(b)});this.element.bind("resetCheckboxes",
+function(){a.uncheckAll()});this._addSelectAllQuestionToolbarEvents()},_addSelectAllQuestionToolbar:function(){if(this.options.checkboxToolbarEnabled){this._pagingSelectAllQuestion_top=jQuery(this._pagingSelectAllQuestionHTML).addClass("ui-ncbigrid-select-question-header");this._pagingSelectAllQuestion_bottom=jQuery(this._pagingSelectAllQuestionHTML).addClass("ui-ncbigrid-select-question-footer");this._pagingSelectAllQuestion_top.insertAfter(this._pageToolBar_top);this._pagingSelectAllQuestion_bottom.insertAfter(this._pageToolBar_bottom);
+this._pagingSelectAllQuestions=this._pagingSelectAllQuestion_top.add(this._pagingSelectAllQuestion_bottom);this._pagingSelectAllQuestions.find(".ui-ncbigrid-select-question-all").attr("aria-controls",this.element.attr("id"))}},_addSelectAllQuestionToolbarEvents:function(){if(this.options.checkboxToolbarEnabled){var a=this;this._pagingSelectAllQuestions.find("a.ui-ncbigrid-select-question-all").click(function(b){a[a._askAllSelectionMode](true);a._pagingSelectAllQuestions.hide();b.preventDefault()});
+this._pagingSelectAllQuestions.find("a.ui-ncbigrid-select-question-cancel").click(function(b){a._pagingSelectAllQuestions.hide();b.preventDefault()});this.element.bind("ncbigridpagechanged checkboxrowclicked",function(){a._pagingSelectAllQuestions&&a._pagingSelectAllQuestions.hide()})}},_askSelectAllQuestion:function(a){this._askAllSelectionMode=a?"uncheckAll":"checkAll";if(this.options.isPageable)if(parseInt(this.getRowCount())>=parseInt(this.options.pageSize)){this._pagingSelectAllQuestions.show();
+this._updateSelectPageCount(a)}else this._pagingSelectAllQuestions.hide()},_updateSelectPageCount:function(a){var b=this.element.find("> tbody > tr > td > input[type=checkbox]:visible").length;this._pagingSelectAllQuestions.find(".ui-ncbigrid-select-row-count").html(b);this._pagingSelectAllQuestions.find(".selectText1").html(a?"deselected":"selected");this._pagingSelectAllQuestions.find(".selectText2").html(a?"Deselect":"Select")},_updateCount:function(){var a=this.element.find("tbody input[type=checkbox]");
+a=a.length>0?a.filter(":checked").length:this.element.find("tbody tr.ui-ncbigrid-row-selected").length;this._chekboxBars.find("span.ui-ncbigrid-selected-text").html(a)},_checkHelper:function(a,b){if(b){b=jQuery(this.element).find("> tbody > tr:not(.ncbigrid-row-filtered) > td > input[type=checkbox]");this._trigger(a?"checkall":"uncheckall",null,[a]);this._checkAllState=a}else b=a&&this.options.isPageable?this.element.find("> tbody > tr > td > input[type=checkbox]:visible"):this.element.find("> tbody > tr > td >  input[type=checkbox]");
+b.attr("checked",a);b=b.length===0?this.element.find("tbody tr").data("row-selected",a):b.closest("tr");a?b.addClass("ui-ncbigrid-row-selected"):b.removeClass("ui-ncbigrid-row-selected");this._updateCount()},checkAll:function(a){this._checkHelper(true,a);this._trigger("selectallclicked",null,[{acrossAllPages:a}])},uncheckAll:function(a){this._checkHelper(false,a);this._trigger("selectnoneclicked",null,[{acrossAllPages:a}])},_rowClicked:function(a){var b=jQuery(a.target||a.srcElement);a=null;if(b.is("input[type=checkbox]")){a=
+b;var c=a.is(":checked")}else if(!b.is("a")){a=b.closest("tr").find("input[type=checkbox]");c=!a.is(":checked");a.attr("checked",c)}b=b.closest("tr");if(a&&a.length===0){c=!b.data("row-selected");b.data("row-selected",c)}c?b.addClass("ui-ncbigrid-row-selected"):b.removeClass("ui-ncbigrid-row-selected");this.element.trigger("checkboxrowclicked");this._updateCount()},_filterBarControlsHTML:'                                         <div class="ui-ncbigrid-filter-toolbar">                        \t\t\t\t\t\t\t<label>Filter:</label>\t\t\t\t\t\t\t<input type="text" name="gridFilter" />                                            </div>',
+_createFilterBarControl:function(){this._createFilterBar();this._addFilterEvents()},_createFilterBar:function(){this._filterToolBar=jQuery(this._filterBarControlsHTML);var a=this.element.parent().parent();a.prepend(this._filterToolBar).children(".ui-ncbigrid-filter-toolbar").attr("aria-controls",this.element.attr("id"));a.addClass("filterToolbar-exists");var b=jQuery.ui.jig._generateId("gridFilter");a.children(".ui-ncbigrid-filter-toolbar").children(":input").attr("id",b).prev().attr("for",b)},_addFilterEvents:function(){var a=
+this;this._filterToolBar.find("input[type=text]").keyup(function(b){a._filterGrid(b,this)})},_filterGrid:function(a,b){if(!this._lastRunFilter)this._lastRunFilter="";a=b.value;b=this.options.filterToolbarIsCaseInsensitive||null;var c=this.options.filterToolbarColumnIndex||null,d=this.options.filterToolbarIsInverse||null;this._lastRunFilter.length>0&&a.indexOf(this._lastRunFilter)!==0&&this.removeFilterRows();this._lastRunFilter=a;if(this._lastRunFilter.length>0){var e=false;if(this.options.regExp)try{a=
+RegExp(a.replace(/(^\/)|(\/$)/g,""))}catch(g){e=true}e||this.filterRows(a,b,c,d)}},_custFilterCnt:0,filterRows:function(a,b,c,d){function e(){p.options.isPageable&&p._gotoPage(0);p.element.trigger("ncbigridfilterapplied",[a,b,c,g,f]).trigger("ncbigridhideloadingbar");p._notifyGridUpdated()}if(!(typeof a=="undefined"||a.length===0)){this.element.trigger("ncbigridshowloadingbar");if(!jQuery.isArray(a)){orgTxt=a;a=[[a,b,c,d]]}d=f=jQuery("tbody tr:not(.ncbigrid-row-filtered)",this.element);for(var g,
+f,i=0;i<a.length;i++){var h=a[i],j=h[0],l=h[2],k=h[3];h="";if(typeof l!="undefined"&&l!==null)h=":nth-child("+l+")";k=k?"not-":"";var m="",o=null;if(typeof j==="function"){m="-functionTest";o=this._custFilterCnt;this._custFilterCnt=o+1;o="filter_temp_"+o;jQuery.ui.jig[o]=j;j="jQuery.ui.jig."+o}else if(j.constructor&&j.constructor.toString().indexOf("RegExp")>0)m="-regexp";else if(b)m="-insensitive";f=l!==null?f.find("td"+h+":"+k+"contains"+m+"("+j+")").parent():f.filter(":"+k+"contains"+m+"("+j+")");
+if(o)jQuery.ui.jig[o]=null}var p=this;if(d){g=d.not(f);var q=g.length,t=0;(function(){for(;t<q;){g.eq(t).addClass("ncbigrid-row-filtered").attr("isfiltered","true");t++}e()})()}else e()}},removeFilterRows:function(a,b,c,d,e){function g(){if(l){jQuery.ui.jig[l]=null;a=j}m.options.isPageable&&m._gotoPage(0);m.element.trigger("ncbigridfilterremoved",[a,b,c]);m.options.isPageable?m._gotoPage(m.options.currentPage):m._notifyGridUpdated()}var f=null;if(typeof a!="undefined"&&a.length>0){if(typeof d==="undefined")d=
+true;var i="",h="";if(d||e){i=":not(";h=")"}var j=d="",l=null;if(typeof a==="function"){d="-functionTest";var k=this._custFilterCnt;this._custFilterCnt=k+1;l="filter_temp_"+k;j=jQuery.ui.jig[l]=a;a="jQuery.ui.jig."+l}else if(a.constructor&&a.constructor.toString().indexOf("RegExp")>0)d="-regexp";else if(b)d="-insensitive";e=e?"not-":"";if(typeof c!="undefined"&&c!==null){i="tbody tr[isfiltered='true'] td:nth-child("+c+")"+i+":"+e+"contains"+d+"("+a+")"+h;f=this.element.find(i).parent()}else{i="tbody tr[isfiltered='true']"+
+i+":contains"+d+"("+a+")"+h;f=this.element.find(i)}}else f=this.element.find("tr.ncbigrid-row-filtered");var m=this;if(f!==null){var o=f.length,p=0;(function(){for(;p<o;){f.eq(p).removeClass("ncbigrid-row-filtered").attr("isfiltered","false");p++}g()})()}else g()},showColumn:function(a){var b=this.element;if(this.options.isScrollable)b=b.add(this.parts.headerWrapper.find("table"));b.children().find(">tr>*:nth-child("+a+")").removeClass("ui-ncbigrid-column-hidden");this._setColumnHiddenData(a,false);
+this.element.trigger("showColumn",[a]);this._notifyGridUpdated()},hideColumn:function(a){var b=this.element;if(this.options.isScrollable)b=b.add(this.parts.headerWrapper.find(">table"));b.children().find(">tr>*:nth-child("+a+")").addClass("ui-ncbigrid-column-hidden");this._setColumnHiddenData(a,true);this.element.trigger("hideColumn",[a]);this._notifyGridUpdated()},_setColumnHiddenData:function(a,b){var c=this.element.data("dataHiddenCols");c||(c=[]);c[a]=b;this.element.data("dataHiddenCols",c)},
+getHiddenShownColumns:function(){var a=[],b=[],c=this.element.data("dataHiddenCols");if(c)for(var d in c)c[d]?a.push(d):b.push(d);return{hidden:a,shown:b}},_attachLoadingMessageListener:function(){var a=this;this.element.bind("ncbigridshowloadingbar",function(){a._showLoadingMessage()}).bind("ncbigridhideloadingbar",function(){a._hideLoadingMessage()})},_showLoadingMessage:function(){if(this.options.isLoadingMessageShown){if(!this.isPopperAttached){this.element.parent().parent().ncbipopper({triggerPosition:"top center",
+destPosition:"top center",hasArrow:false,closeEvent:"custom",openEvent:"custom",openAnimation:"none",closeAnimation:"none",destText:this.options.loadingText,isDestElementCloseClick:false,isDocumentElementCloseClick:false,isEscapeKeyClose:false,isTriggerElementCloseClick:false});this.isPopperAttached=true}this.element.parent().parent().ncbipopper("open")}},_hideLoadingMessage:function(){this.options.isLoadingMessageShown&&this.element.parent().parent().ncbipopper("close")},_addRowClickWatcher:function(){var a=
+this;jQuery(this.element).on("click","tbody",function(b){b=jQuery(b.srcElement||b.target).closest("td");if(b.length===1){var c=b.closest("tr");a.element.trigger("ncbigridrowclick",[{row:c,cell:b,rowIndex:c[0].rowIndex,cellIndex:b[0].cellIndex}])}})},_notifyGridUpdated:function(){this.element.trigger("ncbigridupdated")},_notifyGridContentChanged:function(){this.element.trigger("ncbigridcontentchanged")},addHTMLRowData:function(a,b,c,d){var e=this.getRowCount(),g="";if(typeof b=="undefined")g=":last-child";
+else{if(b>e)b=e;else if(b<0){b=1;c="before"}g=":nth-child("+b+")"}b=d!==undefined?":eq("+d+")":"";if(e===0)jQuery("tbody"+b+g,this.element).append(a);else c&&c.toLowerCase()==="before"?jQuery("tbody"+b+" tr"+g,this.element).before(a):jQuery("tbody"+b+" tr"+g,this.element).after(a);this.options.isPageable?this._gotoPage(this.options.currentPage):this._notifyGridUpdated();this._notifyGridContentChanged()},_deleteRowHelper:function(a,b){b=b!==undefined?":eq("+b+")":"";a?this.element.find("tbody"+b+" tr"+
+a).remove():this.element.find("tbody"+b).empty()},deleteAllRows:function(){this._deleteRowHelper();this.options.isPageable&&this._gotoPage(0);this._notifyGridUpdated();this._notifyGridContentChanged()},deleteRow:function(a,b){if(typeof a!="undefined"){a=jQuery.isArray(a)?a.sort():[a];for(var c=a.length-1;c>=0;c--)this._deleteRowHelper(":nth-child("+a[c]+")",b);this.options.isPageable&&this._gotoPage(this.options.currentPage);this._notifyGridUpdated();this._notifyGridContentChanged()}},getCellData:function(a,
+b,c){if(!(typeof a=="undefined"||typeof b=="undefined")){a=jQuery("tbody"+(c!==undefined?":eq("+c+")":"")+" tr:nth-child("+a+") td:nth-child("+b+")",this.element);if(a.length==0)return null;return this._getCellValue(a,b)}},getColumnCount:function(a){a=a===false?":visible":"";a=jQuery(this.element).find("tbody tr:not(.ui-ncbigrid-rowHidden):eq(0) td"+a).length;if(a===0)a=jQuery(this.element).find("> thead tr:last th").length;return a},getColumnData:function(a,b){if(typeof a==="undefined")return null;
+else if(jQuery.isArray(a)){for(var c=[],d=0;d<a.length;d++){if(a[d]<=0||a[d]>this.getColumnCount())c.push(null);c.push(this._getColumnDataHelper(a[d]),b)}return c}else{if(a<=0||a>this.getColumnCount())return null;return this._getColumnDataHelper(a,b)}},_getColumnDataHelper:function(a,b){var c=[],d=this,e=this._getColumnType(a-1);if(e==="str"||!e)e="str-sensitive";jQuery("tbody"+(b!==undefined?":eq("+b+")":"")+" tr td:nth-child("+a+")",this.element).each(function(g,f){c.push(d._csColumnTypeConversion(f,
+e,true))});if(c.length!==0)return c},getRowData:function(a,b){if(typeof a!=="undefined")if(jQuery.isArray(a)){for(var c=[],d=0;d<a.length;d++)c.push(this._getRowDataHelper(a[d]),b);return c}else return this._getRowDataHelper(a,b)},_getRowDataHelper:function(a,b){var c=[],d=this;jQuery("tbody"+(b!==undefined?":eq("+b+")":"")+" tr:nth-child("+a+") td",this.element).each(function(e){c.push(d._getCellValue(jQuery(this),e))});if(c.length!==0)return c},highlightRows:function(a,b,c,d){var e=jQuery.browser.msie&&
+parseFloat(jQuery.browser.version)<7;if(!(typeof a=="undefined"||a.length===0)){this.element.trigger("ncbigridshowloadingbar");var g=[],f=b?"-insensitive":"";d=d?"not-":"";if(a.constructor&&a.constructor.toString().indexOf("RegExp")>0){f="-regexp";d=""}typeof c!="undefined"?jQuery("tbody tr td"+(":nth-child("+c+")")+":"+d+"contains"+f+"("+a+")",this.element).each(function(i,h){i=jQuery(h).parent();h="ui-ncbigrid-high";if(e)h=i.hasClass("ui-ncbigrid-row-even")?"ui-ncbigrid-row-even-high-IE6":"ui-ncbigrid-row-odd-high-IE6";
+i.addClass(h);jQuery.inArray(i,g)===-1&&g.push(i)}):jQuery("tbody tr:"+d+"contains"+f+"("+a+")",this.element).each(function(i,h){i=jQuery(h);h="ui-ncbigrid-high";if(e)h=i.hasClass("ui-ncbigrid-row-even")?"ui-ncbigrid-row-even-high-IE6":"ui-ncbigrid-row-odd-high-IE6";i.addClass(h);g.push(i)});this.element.trigger("ncbigridhighlightapplied",[a,b,c,g]).trigger("ncbigridhideloadingbar");return{highlightedRows:g}}},removeHighlightRows:function(a,b,c,d){var e=jQuery.browser.msie&&parseFloat(jQuery.browser.version)<
+7;if(typeof a!="undefined"&&a.length>0){var g=[],f=b?"-insensitive":"";d=d?"not-":"";if(a.constructor&&a.constructor.toString().indexOf("RegExp")>0){f="-regexp";d=""}typeof c!="undefined"?jQuery("tbody tr td"+(":nth-child("+c+")")+":"+d+"contains"+f+"("+a+")",this.element).each(function(i,h){i=jQuery(h).parent().removeClass("ui-ncbigrid-high");e&&i.removeClass("ui-ncbigrid-row-odd-high-IE6").removeClass("ui-ncbigrid-row-even-high-IE6");jQuery.inArray(i,g)===-1&&g.push(i)}):jQuery("tbody tr:"+d+"contains"+
+f+"("+a+")",this.element).each(function(i,h){i=jQuery(h).removeClass("ui-ncbigrid-high");e&&i.removeClass("ui-ncbigrid-row-odd-high-IE6").removeClass("ui-ncbigrid-row-even-high-IE6");g.push(i)})}else{jQuery(".ui-ncbigrid-high",this.element).removeClass("ui-ncbigrid-high");e&&jQuery(".ui-ncbigrid-row-odd-high-IE6, .ui-ncbigrid-row-even-high-IE6",this.element).removeClass("ui-ncbigrid-row-odd-high-IE6").removeClass("ui-ncbigrid-row-even-high-IE6")}this.element.trigger("ncbigridhighlightremoved",[a,
+b,c])},setCellData:function(a,b,c,d){jQuery("tbody"+(d!==undefined?":eq("+d+")":"")+" tr:nth-child("+a+") td:nth-child("+b+")",this.element).text(c);this.element.trigger("ncbigridcellchange",[a,b,this.getCellData(a,b)]);this._notifyGridUpdated();this._notifyGridContentChanged()},setRowData:function(a,b,c){jQuery("tbody"+(c!==undefined?":eq("+c+")":"")+" tr:nth-child("+a+") td",this.element).each(function(d,e){jQuery(e).text(b[d])});this.element.trigger("ncbigridrowchange",[a,this.getRowData(a,c)]);
+this._notifyGridUpdated();this._notifyGridContentChanged()},_enableCollapseTbodyRows:function(a){if(this.options.collapseRowsEnabled){a||(a=jQuery(this.element).find("tbody tr:has(th)"));var b=this;jQuery(a).each(function(){jQuery(this).addClass("ui-ncbigrid-collapsable").find("th").eq(0).prepend('<span class="collapsableTbodyIcon ui-icon ui-icon-plus-minus-big-open"></span>').find("span").click(function(c){c.stopPropagation();b._collapseTbodyRows(this.parentNode.parentNode)}).end().end().not(".ignoreCollapse").click(function(){b._collapseTbodyRows(this.parentNode)})})}},
+_collapseTbodyRows:function(a){jQuery(a).find("th span.collapsableTbodyIcon").toggleClass("ui-icon-plus-minus-big").toggleClass("ui-icon-plus-minus-big-open").end().siblings().toggleClass("collapsed")}});jQuery.extend(jQuery.expr[":"],{"contains-insensitive":function(a,b,c){return(a.textContent||a.innerText||"").toLowerCase().indexOf((c[3]||"").toLowerCase())>=0}});
+jQuery.extend(jQuery.expr[":"],{"contains-regexp":function(a,b,c){a=jQuery.trim(a.textContent||a.innerText||"");c=c[3];b=c.match(/\/([gi]+)$/);b=b!==null?b[1]:"";c=c.replace(/\/[gi]?$/,"").replace(/^\//,"");return a.match(new RegExp(c,b))!==null}});jQuery.extend(jQuery.expr[":"],{"contains-functionTest":function(a,b,c){a=a.textContent||a.innerText||"";return jQuery.ui.jig._getFncFromStr(c[3])(a)}});
+jQuery.extend(jQuery.expr[":"],{"not-contains":function(a,b,c){return(a.textContent||a.innerText||"").indexOf(c[3]||"")===-1}});jQuery.extend(jQuery.expr[":"],{"not-contains-insensitive":function(a,b,c){return(a.textContent||a.innerText||"").toLowerCase().indexOf((c[3]||"").toLowerCase())===-1}});
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_007.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+html .ui-ncbimenu>li>a{color:#fff;}.jig-ncbimenu li.offscreen_noflow{position:absolute;left:-1000px;}.jig-ncbimenu{clear:both;}.jig-ncbimenu ul{display:none;}.jig-ncbimenu>li{display:inline;float:left;}ul.ui-ncbibasicmenu li{display:block;margin:0;}.ui-ncbimenu li>a{background-color:transparent;border:0;}.ui-ncbimenu ul{-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;border:1px solid #CCC;-webkit-box-shadow:.4em .4em .5em rgba(0,0,0,.3);-moz-box-shadow:.4em .4em .5em rgba(0,0,0,.3);box-shadow:.4em .4em .5em rgba(0,0,0,.3);}.ui-ncbimenu li.active a{background-color:#4c96df;}.ui-ncbimenu>li a:focus{outline:0;}.ui-ncbimenu li a.expandDown{padding-right:20px;background:url("../img/arrow-sprite.png") no-repeat scroll 96% -6% #FFF;}.ui-ncbimenu li a.expandRight{background:url("../img/arrow-sprite.png") no-repeat scroll 96% 106% #FFF;}.ui-ncbimenu>li>a.expandDown,.ui-ncbimenu>li>a.expandRight{background-color:transparent;}.ui-ncbimenu li>a:hover.expandRight{background:url("../img/arrow-sprite.png") no-repeat scroll 96% 106% #4C96DF;}.ui-ncbimenu li.ui-ncbimenu-item-no-hlt>a:hover.expandRight,.ui-ncbimenu li.ui-ncbimenu-item-skip>a:hover.expandRight{background-color:transparent;}.ui-ncbimenu li ul{display:none;z-index:200;}ul.ui-ncbimenu li ul li a{background-color:#fff;}.ui-ncbimenu ul{position:absolute;display:none;}.ui-ncbimenu>li a:hover,.ui-ncbimenu li.selected>a{background-color:#4C96DF;color:#fff;}.ui-ncbimenu li ul.ncbibasicmenu li.ui-ncbimenu-item-no-hlt,.ui-ncbimenu li ul.ncbibasicmenu li.ui-ncbimenu-item-skip{background-color:#FFF;}.ui-ncbimenu li.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbimenu li.selected.ui-ncbimenu-item-no-hlt>a,.ui-ncbimenu li.ui-ncbimenu-item-skip a:hover,.ui-ncbimenu li.selected.ui-ncbimenu-item-skip>a{color:#fff;}.ui-ncbimenu li ul li.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbimenu li ul li.selected.ui-ncbimenu-item-no-hlt>a,.ui-ncbimenu li ul li.ui-ncbimenu-item-skip a:hover,.ui-ncbimenu li ul li.selected.ui-ncbimenu-item-skip>a{color:#14376C;background-color:transparent;}.ui-ncbimenu .oneLevel li.ui-ncbimenu-item-no-hlt a:hover,.ui-ncbimenu.ui-ncbibasicmenu>li.ui-ncbimenu-item-no-hlt>a:hover,.ui-ncbimenu .oneLevel li.ui-ncbimenu-item-skip a:hover,.ui-ncbimenu.ui-ncbibasicmenu>li.ui-ncbimenu-item-skip>a:hover{background-color:transparent;}.ui-ncbimenu .ui-ncbimenu-item-leaf{margin:0 .75em 0 0;}.ui-ncbimenu .ui-ncbimenu-item-leaf>a:hover{background-color:transparent;}.ui-ncbimenu:before,.ui-ncbimenu:after{content:"";display:table;}.ui-ncbimenu{*zoom:1;}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_007.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,14 @@
+jQuery.widget("ui.ncbibasicmenu",{options:{defaultSelection:-1,allowMultipleSelections:false,orientation:"vertical",preventDefaultCheck:true,stopPropagationCheck:true,normalizeSubsToOneLevel:false,disableSelect:false},styles:{itemNoHilite:"ui-ncbimenu-item-no-hlt",itemSkip:"ui-ncbimenu-item-skip"},_init:function(){this._loadedOnce&&this.rescan();this._loadedOnce=true},_create:function(){this._setSelectorString();this._addClasses();this._formatList();this._addEvents();this._setUpDefaults();this._setTabIndex();
+this._addAria()},rescan:function(){this._addClasses();this._setTabIndex();this._addAria();this._destroyFocusEvents();this._setUpFocusEvents()},destroy:function(){this._destroyTabIndex();this._destroyClasses();this._destroyEvents();this._destroyAria();this._destroyFormatList()},_setSelectorString:function(){var a=">";if(this.options.normalizeSubsToOneLevel){a="";this.element.addClass("oneLevel")}this._liSelector=a+"li:not(.ui-ncbimenu-item-skip)"},_addClasses:function(){this.isVert=this.options.orientation===
+"vertical";var a="ui-ncbibasicmenu";this.isVert||(a+=" orientation_hort");this.element.addClass(a)},_destroyClasses:function(){this.element.removeClass("ui-ncbibasicmenu")},_setUpDefaults:function(){this.selectedOption=this.options.defaultSelection;if(this.selectedOption!==-1){var a=this.element.find(this._liSelector+">a");if(this.options.allowMultipleSelections)for(var b=0;b<this.selectedOption.length;b++)this._makeSelection(a.eq(this.selectedOption[b]),"load");else this._makeSelection(a.eq(this.selectedOption),
+"load")}},_formatList:function(){},_destroyFormatList:function(){},_setTabIndex:function(){var a=this.element.find(this._liSelector+">a").attr("tabindex","-1"),b=this.element.find(this._liSelector+".selected>a");if(b.length>0)b=b.eq(0);else{var c=0;for(b=a.eq(0);b.is("."+this.styles.itemSkip+" a")&&c<a.length-1;){c+=1;b=a.eq(c)}}this.options.nested||b.removeAttr("tabindex")},_destroyTabIndex:function(){this.element.find(this._liSelector+">a").removeAttr("tabindex")},_addEvents:function(){this._setUpKeyListener();
+this._setUpClickEvents();this._setUpFocusEvents();this._setUpHoverEvents()},_destroyEvents:function(){this._destroyKeyListener();this._destroyClickEvents();this._destroyFocusEvents();this._destroyHoverEvents()},_setUpKeyListener:function(){if(!this._menuKeyListener){var a=this;this._menuKeyListener=function(b){if(a.element.is(":visible"))if(a._keyPressDetected(b.keyCode)){b.preventDefault();a.options.stopPropagationCheck&&b.stopPropagation()}};jQuery(document).keydown(this._menuKeyListener)}},_destroyKeyListener:function(){if(this._menuKeyListener){jQuery(window).unbind("keydown",
+this._menuKeyListener);this._menuKeyListener=null}},_setUpClickEvents:function(){var a=this;this._ulClickEvent=function(b){var c=b.srcElement||b.target;if(c){a.options.disableSelect||a._makeSelection(jQuery(c),"click");a.options.stopPropagationCheck&&b.stopPropagation();a.options.preventDefaultCheck&&jQuery(c).siblings("ul").length===1&&b.preventDefault()}};this.element.on("click.ncbibasicmenu",this._ulClickEvent)},_destroyClickEvents:function(){this.element.off("click",this._ulClickEvent)},_setUpFocusEvents:function(){var a=
+this;this._focusFnc=function(){a._menuFocused(this)};this._blurFnc=function(){a._menuBlured(this)};this.element.find(this._liSelector+">a").on("blur",this._blurFnc).on("focus",this._focusFnc)},_destroyFocusEvents:function(){this.element.find(this._liSelector+">a").off("blur",this._blurFnc).off("focus",this._focusFnc)},focus:function(){this._menuFocused(null)},_menuFocused:function(a){this._lastAnchor=a;this._isFocused=true},_menuBlured:function(a){if(this._lastAnchor==a)this._isFocused=false},removeFocus:function(){this._menuBlured()},
+_setUpHoverEvents:function(){var a=this;this._mouseEnterFnc=function(b){b=jQuery(b.target).closest("li");!b.hasClass(a.styles.itemNoHilite)&&!b.hasClass(a.styles.itemSkip)&&b.addClass("hover")};this.mouseLeaveFnc=function(){jQuery(this).removeClass("hover")};this.element.on("mouseenter","li",this._mouseEnterFnc).on("mouseleave","li",this.mouseLeaveFnc)},_destroyHoverEvents:function(){this.element.off("mouseenter",this._mouseEnterFnc).off("mouseleave",this.mouseLeaveFnc);this.mouseLeaveFnc=this._mouseEnterFnc=
+null},_makeSelection:function(a,b){var c=a.parent("li");if(c.length===1){var d=c.hasClass("selected");this.options.allowMultipleSelections||this._removeAllSelections();if(!c.hasClass(this.styles.itemSkip)){c.hasClass(this.styles.itemNoHilite)||c[d?"removeClass":"addClass"]("selected");var e=d?"unselected":"selected";b!=="menunav"&&this._trigger(e,"x",[a,c,b]);if(b==="click"||b==="load")this.selectedOption=this.element.find(this._liSelector+".selected").index();else d||c.find(">a").focus()}}this._setTabIndex()},
+_keys:{up:38,down:40,left:37,right:39,enter:13,escape:27,tab:9},_keyPressDetected:function(a){var b=this._keys,c=false;if(this._isFocused&&this.element.has(this._liSelector+">a:focus"))switch(a){case b.up:this._upDownPressed(-1);c=true;break;case b.down:this._upDownPressed(1);c=true;break;case b.left:this._leftRightPressed(-1);c=true;break;case b.right:this._leftRightPressed(1);c=true;break;case b.enter:this._enterSelected();c=false;break;case b.escape:this._escapeTyped();c=false;break;case b.tab:this._trigger("tab");
+default:c=false}return c},_upDownPressed:function(a){this.isVert?this._moveSelection(a):this._trigger(a===1?"actiondown":"actionup","x",this.focusedElement())},_leftRightPressed:function(a){this.isVert?this._trigger(a===1?"actionright":"actionleft","x",this.focusedElement()):this._moveSelection(a)},focusedElement:function(){return this.selectedOption!==-1?this.element.find(this._liSelector).eq(this.selectedOption):this.element.find(this._liSelector+":has(>a:focus)")},moveSelection:function(a){this._moveSelection(a)},
+_getNextIndex:function(a,b,c){a=a+b;if(a<0)a=c-1;else if(a>c-1)a=0;return a},_moveSelection:function(a){for(var b=this.element.find(this._liSelector+">a"),c=this._getNextIndex(this.selectedOption,a,b.length);b.eq(c).closest("li").hasClass(this.styles.itemSkip);)c=this._getNextIndex(c,a,b.length);this.selectedOption=c;this._makeSelection(b.eq(c),"keyboard")},removeAllSelections:function(){this.selectedOption=-1;this._removeAllSelections();this._setTabIndex()},_removeAllSelections:function(){this.element.find(this._liSelector).removeClass("selected")},
+_enterSelected:function(){this._trigger("enter")},_escapeTyped:function(){this._trigger("escape","x",this.focusedElement())},_addAria:function(){var a=this.element.parents('[role="menubar"]'),b=this.element.find(this._liSelector),c=b.find(">a");this.element.attr("role",a.length===0?"menubar":"menu");b.attr("role","presentation");c.attr("role","menuitem")},_destroyAria:function(){var a=this.element.find(this._liSelector),b=a.find(">a");this.element.removeAttr("role");a.removeAttr("role");b.removeAttr("role")},
+selectFirstItem:function(){this.selectedOption=0;this._moveSelection(0)}});
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_008.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1 @@
+ul.jig-ncbilocalnav,ul.ui-ncbilocalnav{list-style:none;margin:0;padding:0;width:100%;}ul.jig-ncbilocalnav:after,ul.ui-ncbilocalnav:after{content:".";display:block;height:0;clear:both;visibility:hidden;*zoom:1;*display:block;}ul.jig-ncbilocalnav li,ul.ui-ncbilocalnav li{float:left;position:relative;list-style:none;display:block;}ul.jig-ncbilocalnav li a,ul.ui-ncbilocalnav li a{color:#444;text-decoration:none;display:block;padding:.15em 1em .15em 1em;zoom:1;}ul.jig-ncbilocalnav ul{display:none;}ul.ui-ncbilocalnav ul{margin:0;margin-left:0!important;display:none;border-width:1px 0 0 1px;width:200px;padding-left:0;-moz-box-shadow:.4em .4em .5em #999;-webkit-box-shadow:.4em .4em .5em #999;box-shadow:.4em .4em .5em #999;_margin-top:1px;}ul.ui-ncbilocalnav li.open ul{display:block;position:absolute;left:-1px;}ul.ui-ncbilocalnav li:first-child{margin-left:1.333em;}ul.ui-ncbilocalnav ul li:first-child{margin-left:0;}ul.ui-ncbilocalnav ul li{float:none;display:block;position:relative;*line-height:125%;zoom:1;}ul.ui-ncbilocalnav li.has-child ul{z-index:1003;}ul.ui-ncbilocalnav li:first-child{border-left:1px solid #b0b0b0;}ul.ui-ncbilocalnav ul li:first-child{border-left:0;}ul.ui-ncbilocalnav{border-top:1px solid #c4c4c4;border-bottom:1px solid #c4c4c4;}ul.ui-ncbilocalnav ul{border-left:1px solid #b0b0b0;}ul.ui-ncbilocalnav li{border-right:1px solid #c4c4c4;}ul.ui-ncbilocalnav ul li{border-bottom:1px solid #c4c4c4;}ul.ui-ncbilocalnav ul li:first-child{border-top:1px solid #b0b0b0;}ul.ui-ncbilocalnav li.active{border-right:1px solid #c4c4c4;*z-index:1005;}ul.ui-ncbilocalnav li.active ul li{*z-index:1006;}ul.ui-ncbilocalnav li.active,ul.ui-ncbilocalnav li.active ul li,ul.ui-ncbilocalnav li.hover,ul.ui-ncbilocalnav li.hover ul li{*z-index:1006;}ul.ui-ncbilocalnav li.selected>ul>li a{margin:0 .75em;padding:.15em 1.5em .15em .25em;}ul.ui-ncbilocalnav li.selected a{color:#444!important;background-color:transparent!important;}ul.ui-ncbilocalnav li.hover>a,ul.ui-ncbilocalnav li.hover.selected>a,ul.ui-ncbilocalnav li.selected>a{background-color:transparent!important;color:#444!important;}ul.ui-ncbilocalnav,ul.ui-ncbilocalnav li{background-color:#F4F4F4;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#F4F4F4));background-image:-webkit-linear-gradient(top,#fff,#F4F4F4);background-image:-moz-linear-gradient(top,#fff,#F4F4F4);background-image:-ms-linear-gradient(top,#fff,#F4F4F4);background-image:-o-linear-gradient(top,#fff,#F4F4F4);background-image:linear-gradient(top,#fff,#F4F4F4);}ul.ui-ncbilocalnav li.hover,ul.ui-ncbilocalnav li.selected{background-color:#E0E0E0;background-image:-webkit-gradient(linear,left top,left bottom,from(#F2F2F2),to(#E0E0E0));background-image:-webkit-linear-gradient(top,#F2F2F2,#E0E0E0);background-image:-moz-linear-gradient(top,#F2F2F2,#E0E0E0);background-image:-ms-linear-gradient(top,#F2F2F2,#E0E0E0);background-image:-o-linear-gradient(top,#F2F2F2,#E0E0E0);background-image:linear-gradient(top,#F2F2F2,#E0E0E0);}ul.ui-ncbilocalnav li li.hover{background-color:#EDEDED;background-image:-webkit-gradient(linear,left top,left bottom,from(#DEDEDE),to(#EDEDED));background-image:-webkit-linear-gradient(top,#DEDEDE,#EDEDED);background-image:-moz-linear-gradient(top,#DEDEDE,#EDEDED);background-image:-ms-linear-gradient(top,#DEDEDE,#EDEDED);background-image:-o-linear-gradient(top,#DEDEDE,#EDEDED);background-image:linear-gradient(top,#DEDEDE,#EDEDED);}.ui-ncbilocalnav>li>a.expandDown{background:url(../img/ncbilocalnav-arrow.png) no-repeat right 8px!important;_background-position:right 11px!important;padding:.15em 1.5em .15em .25em;margin:0 .75em;color:#444;}ul.ui-ncbilocalnav li.selected ul li a{background-image:none!important;zoom:1;}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_008.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,14 @@
+(function(b){var h,i,j,g,l=function(){var a=b(this).find(":ui-button");setTimeout(function(){a.button("refresh")},1)},k=function(a){var c=a.name,e=a.form,f=b([]);if(c)f=e?b(e).find("[name='"+c+"']"):b("[name='"+c+"']",a.ownerDocument).filter(function(){return!this.form});return f};b.widget("ui.button",{options:{disabled:null,text:true,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset.button").bind("reset.button",l);if(typeof this.options.disabled!==
+"boolean")this.options.disabled=this.element.propAttr("disabled");this._determineButtonType();this.hasTitle=!!this.buttonElement.attr("title");var a=this,c=this.options,e=this.type==="checkbox"||this.type==="radio",f="ui-state-hover"+(!e?" ui-state-active":"");if(c.label===null)c.label=this.buttonElement.html();if(this.element.is(":disabled"))c.disabled=true;this.buttonElement.addClass("ui-button ui-widget ui-state-default ui-corner-all").attr("role","button").bind("mouseenter.button",function(){if(!c.disabled){b(this).addClass("ui-state-hover");
+this===h&&b(this).addClass("ui-state-active")}}).bind("mouseleave.button",function(){c.disabled||b(this).removeClass(f)}).bind("click.button",function(d){if(c.disabled){d.preventDefault();d.stopImmediatePropagation()}});this.element.bind("focus.button",function(){a.buttonElement.addClass("ui-state-focus")}).bind("blur.button",function(){a.buttonElement.removeClass("ui-state-focus")});if(e){this.element.bind("change.button",function(){g||a.refresh()});this.buttonElement.bind("mousedown.button",function(d){if(!c.disabled){g=
+false;i=d.pageX;j=d.pageY}}).bind("mouseup.button",function(d){if(!c.disabled)if(i!==d.pageX||j!==d.pageY)g=true})}if(this.type==="checkbox")this.buttonElement.bind("click.button",function(){if(c.disabled||g)return false;b(this).toggleClass("ui-state-active");a.buttonElement.attr("aria-pressed",a.element[0].checked)});else if(this.type==="radio")this.buttonElement.bind("click.button",function(){if(c.disabled||g)return false;b(this).addClass("ui-state-active");a.buttonElement.attr("aria-pressed","true");
+var d=a.element[0];k(d).not(d).map(function(){return b(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")});else{this.buttonElement.bind("mousedown.button",function(){if(c.disabled)return false;b(this).addClass("ui-state-active");h=this;b(document).one("mouseup",function(){h=null})}).bind("mouseup.button",function(){if(c.disabled)return false;b(this).removeClass("ui-state-active")}).bind("keydown.button",function(d){if(c.disabled)return false;if(d.keyCode==b.ui.keyCode.SPACE||
+d.keyCode==b.ui.keyCode.ENTER)b(this).addClass("ui-state-active")}).bind("keyup.button",function(){b(this).removeClass("ui-state-active")});this.buttonElement.is("a")&&this.buttonElement.keyup(function(d){d.keyCode===b.ui.keyCode.SPACE&&b(this).click()})}this._setOption("disabled",c.disabled);this._resetButton()},_determineButtonType:function(){this.type=this.element.is(":checkbox")?"checkbox":this.element.is(":radio")?"radio":this.element.is("input")?"input":"button";if(this.type==="checkbox"||this.type===
+"radio"){var a=this.element.parents().filter(":last"),c="label[for='"+this.element.attr("id")+"']";this.buttonElement=a.find(c);if(!this.buttonElement.length){a=a.length?a.siblings():this.element.siblings();this.buttonElement=a.filter(c);if(!this.buttonElement.length)this.buttonElement=a.find(c)}this.element.addClass("ui-helper-hidden-accessible");(a=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active");this.buttonElement.attr("aria-pressed",a)}else this.buttonElement=this.element},
+widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass("ui-helper-hidden-accessible");this.buttonElement.removeClass("ui-button ui-widget ui-state-default ui-corner-all ui-state-hover ui-state-active  ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only").removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html());this.hasTitle||this.buttonElement.removeAttr("title");
+b.Widget.prototype.destroy.call(this)},_setOption:function(a,c){b.Widget.prototype._setOption.apply(this,arguments);if(a==="disabled")c?this.element.propAttr("disabled",true):this.element.propAttr("disabled",false);else this._resetButton()},refresh:function(){var a=this.element.is(":disabled");a!==this.options.disabled&&this._setOption("disabled",a);if(this.type==="radio")k(this.element[0]).each(function(){b(this).is(":checked")?b(this).button("widget").addClass("ui-state-active").attr("aria-pressed",
+"true"):b(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")});else if(this.type==="checkbox")this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false")},_resetButton:function(){if(this.type==="input")this.options.label&&this.element.val(this.options.label);else{var a=this.buttonElement.removeClass("ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only"),
+c=b("<span></span>",this.element[0].ownerDocument).addClass("ui-button-text").html(this.options.label).appendTo(a.empty()).text(),e=this.options.icons,f=e.primary&&e.secondary,d=[];if(e.primary||e.secondary){if(this.options.text)d.push("ui-button-text-icon"+(f?"s":e.primary?"-primary":"-secondary"));e.primary&&a.prepend("<span class='ui-button-icon-primary ui-icon "+e.primary+"'></span>");e.secondary&&a.append("<span class='ui-button-icon-secondary ui-icon "+e.secondary+"'></span>");if(!this.options.text){d.push(f?
+"ui-button-icons-only":"ui-button-icon-only");this.hasTitle||a.attr("title",c)}}else d.push("ui-button-text-only");a.addClass(d.join(" "))}}});b.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(a,c){a==="disabled"&&this.buttons.button("option",a,c);b.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var a=this.element.css("direction")===
+"rtl";this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(a?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(a?"ui-corner-left":"ui-corner-right").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return b(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");
+b.Widget.prototype.destroy.call(this)}})})(jQuery);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/jquery_009.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,46 @@
+document.times=0;
+jQuery.widget("ui.ncbipopper",{destTextCallbackCalledCount:0,options:{openMethod:"",openEvent:"mouseover",openAnimation:"slideDown",openAnimationTime:290,closeMethod:"",closeEvent:"mouseout",closeAnimation:"slideUp",closeAnimationTime:150,isEscapeKeyClose:true,isSourceElementCloseClick:false,isTriggerElementCloseClick:true,isTargetElementCloseClick:false,isDestElementCloseClick:false,isDocumentCloseClick:true,addCloseButton:false,adjustFit:"autoAdjust",delayTimeout:300,sourcePosition:"",destPosition:"top left",
+sourceSelector:"",destSelector:"",targetPosition:"",triggerPosition:"bottom right",sourceText:null,destText:null,multipleHandlesSelector:"",openAtTarget:false,hasArrow:false,arrowDirection:"left",groupName:null,width:null,height:null,cssClass:null,excludeBasicCssStyles:false,wrapElement:false,loadingText:"loading...",showLoadingMessage:true,isDestTextCacheable:true,resizable:false,openAtMousePosition:false},_create:function(){this._setUpDestElem();this._addEventHandlers();this._addEscapeListener();
+this._addDocumentClickListener();this._addResizeListener();this._addCloseButton();this._addSharingDetails();this._addPopperHover();this.addTriggerAria()},updateTriggers:function(){this._addEventHandlers();this._addDocumentClickListener();this.addTriggerAria()},destroy:function(){jQuery.Widget.prototype.destroy.apply(this,arguments);var a=this.isPopperShared();this._destroyDestAria();this._destroyTriggerAria();this._removeSharingDetails();this._destroyCloseButton(a);this._destroyResizeListener();this._destroyDocumentClickListener();
+this._destroyEscapeListener();this._removeEventHandlers();this._destroyDestElem(a)},getDestElement:function(a){var b=this.destElem;if(!this.origDestElem)this.origDestElem=b;if(b){if(a&&this._isWaitingToBeAddedToDom){a=jQuery("div.grid");a=a.length===1?a:jQuery(document.body);b.appendTo(a);this._isWaitingToBeAddedToDom=true;this._getActualText(b)}}else{b=this.options.destSelector||this.options.sourceSelector||this.element.prop("hash");a=this.options.destText||this.options.sourceText;if(b){b=jQuery(b);
+if(b.length===0)b=this._createTextHolder()}else if(a)b=this._createTextHolder();else throw"The popper can not find the popper element or text to display";if(this.options.wrapElement){if(!b.parent().hasClass("ui-ncbipopper-wrapper")){b.wrap('<div style="display:none"></div>');b.show()}if(!this.origDestElem)this.origDestElem=b;b=b.parent()}this.destElem=b;this._addDestAria()}if(!this.origDestElem)this.origDestElem=this.destElem;return b},_createTextHolder:function(){var a=jQuery('<div><div class="ui-ncbipopper-content"></div></div>');
+this._isWaitingToBeAddedToDom=true;return a},_getActualText:function(a){if(!this.isFunctionResultCached){var b=this.options.destText||this.options.sourceText,c=this._getFunction(b);if(typeof c==="function")b=this._getText(c);a.css("display","none").attr("generated","true").find(".ui-ncbipopper-content").html(b)}},_getFunction:function(a){var b=null;if(jQuery.ui.jig&&jQuery.ui.jig._getFncFromStr)b=jQuery.ui.jig._getFncFromStr(a);else if(typeof a==="function")b=a;return b},getDestTextCallbackCalledCount:function(){return this.destTextCallbackCalledCount},
+_getText:function(a){if(!(this.options.isDestTextCacheable&&this.getTextCalled||this.callbackInProgress)){this.getTextCalled=true;a||(a=this._getFunction(this.options.destText||this.options.sourceText));var b=this;this.callbackInProgress=true;a=a.call(this.element[0],function(c){b._setHTML(c);b.destTextCallbackCalledCount++;b.callbackInProgress=false})||this.options.loadingText;if(a!==this.options.loadingText)this.isFunctionResultCached=this.options.isDestTextCacheable;return a}},reloadContent:function(){var a=
+this._getText(),b=this.getDestElement().find(".ui-ncbipopper-content");b&&b.html(a);return this.element},_setHTML:function(a){var b=this.getDestElement().find(".ui-ncbipopper-content");if(b){b.html(a);this.isFunctionResultCached=this.options.isDestTextCacheable;!this.options.showLoadingMessage&&!this.isPopperDisplayed&&this._openAnimation()}},_setUpDestElem:function(){var a=this.getDestElement().addClass("ui-ncbipopper-wrapper");this.options.excludeBasicCssStyles||a.addClass("ui-ncbipopper-basic");
+this.options.resizable&&a.resizable();var b=this.options.cssClass;b&&a.addClass(b);this.options.width!==null&&a.width(this.options.width);this.options.height!==null&&a.height(this.options.height);this._resetElementPosition(a);a.removeClass("offscreen_noflow").hide();a.data("isOpen",false)},_setArrowDirection:function(){if(this.options.hasArrow){var a=this.options.arrowDirection;this._arrow&&this._arrow.removeClass("ui-ncbipopper-arrow-top ui-ncbipopper-arrow-bottom  ui-ncbipopper-arrow-left  ui-ncbipopper-arrow-right").addClass("ui-ncbipopper-arrow-"+
+a)}},_setUpArrow:function(a,b,c){if(this.options.hasArrow){var d=this.options.arrowDirection;if(this._arrow)this._arrow.removeClass("ui-ncbipopper-arrow-top ui-ncbipopper-arrow-bottom  ui-ncbipopper-arrow-left  ui-ncbipopper-arrow-right").addClass("ui-ncbipopper-arrow-"+d);else this._arrow=jQuery('<div class="ui-ncbipopper-arrow-image ui-ncbipopper-arrow-'+d+'">&nbsp;</div>').appendTo(document.body);a=this._getPositionSettings(a,"arrow",c);this._arrow.show().position({my:a.dest,of:this._activeTrigger||
+a.triggerElement||this.element,at:a.trigger,offset:a.offset,collision:"none"});if(b||this._arrowOverlapsPopper())this._arrow.hide()}},_destroyDestElem:function(a){a||this.getDestElement().removeClass("ui-ncbipopper-wrapper ui-ncbipopper-basic ui-ncbipopper-wrapper-relative-parent").attr("style","").show();this.options.wrapElement&&this.origDestElem.unwrap();this.destElem=null},_addEventHandlers:function(){var a=this,b=this.element,c=this.options.multipleHandlesSelector;if(c&&c.length>0)b=b.add(c);
+var d=this.options.openMethod||this.options.openEvent,e=this.options.closeMethod||this.options.closeEvent;if(d===e&&e==="click"){this._openFunction=function(f){a._toggle(f,f.currentTarget);f.preventDefault()};b.on("click",this._openFunction)}else{c={timeout:this.options.delayTimeout};if(d==="mouseover")c.over=function(f){a._isOverTrigger=true;a.open(f,this)};else{c.over=function(){a._isOverTrigger=true};this._openFunction=function(f){if(d==="click")if(a.option.isTriggerElementCloseClick){a._toggle(f,
+this);f.preventDefault()}else{a.isOpen(this)||f.preventDefault();a.open(f,this)}else a.open(f,this)};b.on(d,this._openFunction)}if(e==="mouseout")c.out=function(){a._isOverTrigger=false;a.isOpen(this)&&!a._isOverPopper&&a.close()};else{c.out=function(){};this._closeFunction=function(f){a.close();e==="click"&&f.preventDefault()};b.on(e,this._closeFunction)}if(d==="mouseover"||e==="mouseout")b.hoverIntent(c);if(this.options.isTriggerElementCloseClick&&e!=="click"&&d!=="click"){this._closeFunction2=
+function(f){a.isOpen(b)&&a.close();f.preventDefault()};b.on("click",this._closeFunction2)}}if(this.options.isDestElementCloseClick){this._closeFunctionPopper=function(f){a.isOpen(b)&&a.close();f.preventDefault()};this.getDestElement().on("click",this._closeFunctionPopper)}},_removeEventHandlers:function(){var a=this.element,b=this.getDestElement(),c=this.options.multipleHandlesSelector;if(c&&c.length>0)a=a.add(c);a.off("mouseover mouseout");if(this._openFunction){a.off(this.options.openMethod||this.options.openEvent,
+this._openFunction);this._openFunction=null}if(this._closeFunction){a.off(this.options.closeMethod||this.options.closeEvent,this._closeFunction);this._closeFunction=null}if(this._closeFunction2){a.off("click",this._closeFunction2);this._closeFunction2=null}if(this._closeFunctionPopper){b.off("click",this._closeFunctionPopper);this._closeFunctionPopper=null}},_toggle:function(a,b){this.isOpen(b)?this.close():this.open(a,b);a&&a.preventDefault&&a.preventDefault();return this.element},_arrowOverlapsPopper:function(){var a=
+this.getDestElement(),b=Math.floor(a.position().top),c=Math.floor(a.position().left),d=Math.floor(c+a.outerWidth());a=Math.floor(b+a.height());var e=this._arrow,f=Math.floor(e.position().top),g=Math.floor(e.position().left);Math.floor(g+e.width());var h=Math.floor(f+e.height());c=g>c&&g<d||g+e.css("width")>c&&g+e.css("width")<d;b=f>b&&f<a||f+e.css("height")>b&&h+e.css("height")<a;return c&&b?true:false},_openAnimation:function(a){function b(){var k=d.outerHeight(),l=jQuery(window).height();k>l&&d.css({"max-height":l-
+45+"px",overflow:"auto"});jQuery(window).trigger("resize")}var c=this,d=this.getDestElement().data("isOpening",this.element).stop(true,true),e=this._arrow,f=this.options.openAnimation,g=function(){c._trigger("opencomplete");c.getDestElement().data("isOpening",null);jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<=7&&c._positionPopper(a,false,true);b()},h=function(k){e.fadeTo(0,0);window.setTimeout(function(){e.stop(true,true).show();c._arrowOverlapsPopper()||e.css("opacity",1)},k)};if(f===
+"none"||this.isOpen()){d.show();e&&h(0);g()}else{var j=this.options.openAnimationTime;if(e){var i=0;if(e==="top")i=0;else if(e==="bottom")i=j;else{i=parseInt(e.css("top"),10)-parseInt(d.css("top"),10);var m=d.height()||i;i=i/m*j;if(i>j)i=j}h(i)}d[f](j,g)}},open:function(a,b){if(!b)b=this.element;if(this.options.openAtTarget){if(this._activeTrigger!==b){this.getDestElement().hide();this.getDestElement().data("isOpen",false)}this._activeTrigger=b}else this._activeTrigger=this.element;b=this.getDestElement();
+var c=b.data("isOpening");if(c&&c[0]!==this.element[0])(b.data("closeFnc")||function(){})(true);this._handleSharedPoppersOpen();this._handleGroupsOpen();b.data("isOpening",this.element);this._setUpArrow(a,true,true);jQuery.browser.msie&&this._positionPopper(a,true,true);this._setParentsZIndex(11);this._positionPopper(a,true,true);this._trigger("open");this.options.destText&&!this.options.showLoadingMessage&&!this.isFunctionResultCached||this._openAnimation(a);this._setAriaState(true);this.getDestElement().data("isOpen",
+true);return this.element},_handleGroupsOpen:function(){var a=this.options.groupName;if(a){this.closeGroup(a);jQuery.ui.ncbipopper.openGroups[a]=this.element}},_closeAnimation:function(a){var b=this,c=function(){b._setParentsZIndex(1);b._trigger("closecomplete")},d=this.getDestElement().data("isOpening");if(d&&this.element[0]!=d[0])c();else{d=this.getDestElement().stop(true,true);var e=this.options.closeAnimation;if(e==="none"||a){d.hide();this._resetElementPosition(d);c()}else{var f=d;d[e](this.options.closeAnimationTime,
+function(){b._resetElementPosition(f);c()})}}a=this.getDestElement().data("popperTriggers");for(e=0;e<a.length;e++){d=jQuery.ui.jig.getElementWidgets(a[e],"ncbipopper")[0];var g=d._arrow;if(g){g.stop(true,true).hide();d._resetElementPosition(g)}}},close:function(a){if(this.isOpen(this._activeTrigger)){this._handleGroupsClose(a);this._trigger("close");this._activeTrigger=null;this._closeAnimation(a);this._setAriaState(false);this.getDestElement().data("isOpen",false);return this.element}},closeGroup:function(a){if(a=
+a||this.options.groupName)(a=jQuery.ui.ncbipopper.openGroups[a])&&jQuery.ui.jig.getElementWidgets(a,"ncbipopper")[0].close(true);return this.element},_handleGroupsClose:function(a){var b=this.options.groupName;if(!a&&b)jQuery.ui.ncbipopper.openGroups[b]=null},_determineAutoPosition:function(a){var b=jQuery(this._activeTrigger||this.element),c=b.offset(),d=this.getDestElement(true),e=jQuery(window);if(a){a=e.width();d=d.outerWidth();b=b.width();e=e.scrollLeft();if(d+b+c.left<a+e){c="right";b=e="left"}else{c=
+"left";b=e="right"}}else{a=e.height();d=d.outerHeight();b=b.height();e=e.scrollTop();if(d+b+c.top<a+e){c="bottom";b=e="top"}else{c="top";b=e="bottom"}}return{posT:c,posP:e,arrow:b}},_getPositionSettings:function(a,b,c){var d=this.options.sourcePosition||this.options.destPosition,e=this.options.targetPosition||this.options.triggerPosition;d=d.split(/\s/);e=e.split(/\s/);if(d[0]==="middle")d[0]="center";if(d[1]==="middle")d[1]="center";if(e[0]==="middle")e[0]="center";if(e[1]==="middle")e[1]="center";
+this.options.sourcePosition=null;this.options.destPosition=d.join(" ");this.options.targetPosition=null;this.options.triggerPosition=e.join(" ");var f;if(d[0]==="auto"){f=this._determineAutoPosition(false);d[0]=f.posP;e[0]=f.posT;this.options.arrowDirection=f.arrow;this._setArrowDirection(f.arrow)}if(d[1]==="auto"){f=this._determineAutoPosition(true);d[1]=f.posP;e[1]=f.posT;this.options.arrowDirection=f.arrow;this._setArrowDirection(f.arrow)}f=d[1]+" "+d[0];var g=e[1]+" "+e[0],h="0px 0px";if(this.options.hasArrow)h=
+b==="popper"?this._getPopperOffsets(d[0],d[1]):this._getArrowOffsets(d[0],d[1]);if(this.options.openAtMousePosition&&c){h.xOffset=a.pageX-jQuery(a.target).offset().left+(h.xOffset-0)+1;h.yOffset=a.pageY-jQuery(a.target).offset().top+(h.yOffset-0)}if(this._isArea===undefined)this._isArea=((this._activeTrigger?this._activeTrigger[0]:false)||this.element[0]).nodeName.toUpperCase()==="AREA";if(this._isArea){a=this._areaElementAdjustment(h,e);triggerElement=a.positionElement;h=a.offset;g="left top"}else triggerElement=
+null;if(this.options.openAtMousePosition&&c)g="left top";return{dest:f,trigger:g,offset:typeof h=="string"?h:h.xOffset+"px "+h.yOffset+"px",triggerElement:triggerElement}},_getArrowOffsets:function(a,b){var c="0",d="0";switch(this.options.arrowDirection){case "left":case "right":switch(a){case "top":d="-13";break;case "center":d="0";break;case "bottom":d="13";break;default:d="0";break}break;case "top":case "bottom":switch(b){case "left":c="-13";break;case "center":c="0";break;case "right":c="13";
+break;default:c="0";break}break;default:throw"Valid arrow directions are top, bottom, left, right";}return{xOffset:c,yOffset:d}},_getPopperOffsets:function(a,b){var c="0",d="0";c=this.options.arrowDirection;switch(c){case "left":case "right":c=c==="left"?"7":"-7";switch(a){case "top":d="-13";break;case "center":d="0";break;case "bottom":d="13";break;default:d="0";break}break;case "top":case "bottom":d=c==="top"?"7":"-7";switch(b){case "left":c="-13";break;case "center":c="0";break;case "right":c=
+"13";break;default:c="0";break}break;default:throw"Valid arrow directions are top, bottom, left, right";}return{xOffset:c,yOffset:d}},_areaElementAdjustment:function(a,b){a=typeof a=="string"?a.split(" "):[a.xOffset,a.yOffset];var c=parseInt(a[0],10);a=parseInt(a[1],10);var d=jQuery(this._activeTrigger||this.element).parent(),e=jQuery(this._activeTrigger||this.element[0])[0];d=jQuery("img[usemap='#"+(d[0].name||d[0].id)+"']");var f=e.shape||"rect";e=(e.coords||"").split(/\s?,\s?/g);d=d;var g=0,h=
+0;if(f==="circle"){if(b[0]=="top")h=parseFloat(e[1])-parseFloat(e[2]);else if(b[0]=="bottom")h=e[3]+parseFloat(e[2]);else if(b[0]=="center")h=parseFloat(e[1]);if(b[1]==="left")g=e[0]-parseFloat(e[2]);else if(b[1]==="right")g=e[2]+parseFloat(e[2]);else if(b[1]==="center")g=parseFloat(e[0])}else{if(b[0]=="top")h=parseFloat(e[1]);else if(b[0]=="bottom")h=parseFloat(e[3]);else if(b[0]=="center")h=(parseFloat(e[1])+parseFloat(e[3]))/2;if(b[1]==="left")g=parseFloat(e[0]);else if(b[1]==="right")g=parseFloat(e[2]);
+else if(b[1]==="center")g=(parseFloat(e[0])+parseFloat(e[2]))/2}g+=c;h+=a;return{positionElement:d,offset:g+"px "+h+"px"}},_getCollisionSetting:function(){var a=this.options.adjustFit;return a=a==="autoAdjust"||a==="slide"?"fit":"none"},_resetElementPosition:function(a){a.css("top","-100px").css("left","-100px")},_positionPopper:function(a,b,c){a=this._getPositionSettings(a,"popper",c);c=this._getCollisionSetting();var d=a.triggerElement||this.options.openAtTarget&&this._activeTrigger||this.element;
+a=this.getDestElement(true).stop().show().position({my:a.dest,of:d,at:a.trigger,offset:a.offset,collision:c}).data("attached-to",d);b&&a.hide();document.times++},_addEscapeListener:function(){if(this.options.isEscapeKeyClose){this._registerGlobalEscapeListener();var a=this;this._ncbipopperescapepressedFunction=function(){a.close()};jQuery(document).bind("ncbipopperescapepressed",this._ncbipopperescapepressedFunction)}},_destroyEscapeListener:function(){if(this._ncbipopperescapepressedFunction){jQuery(document).unbind("ncbipopperescapepressed",
+this._ncbipopperescapepressedFunction);this._ncbipopperescapepressedFunction=null}},_registerGlobalEscapeListener:function(){if(!jQuery.ui.ncbipopper.globalEvents.isGlobalEscapeRegistered){jQuery.ui.ncbipopper.globalEvents.isGlobalEscapeRegistered=true;var a=document,b="keypress";if(!jQuery.browser.msie&&!jQuery.browser.mozilla){a=window;b="keydown"}jQuery(a)[b](function(c){c.keyCode===27&&jQuery(document).trigger("ncbipopperescapepressed")})}},_addDocumentClickListener:function(){if(this.options.isDocumentCloseClick){this._registerGlobalClickListener();
+var a=this;this._ncbipopperdocumentclickFunction=function(b,c){a._checkDocumentClick(b,c)};jQuery(document).bind("ncbipopperdocumentclick",this._ncbipopperdocumentclickFunction)}},_destroyDocumentClickListener:function(){this._ncbipopperdocumentclickFunction&&jQuery(document).unbind("ncbipopperdocumentclick",this._ncbipopperdocumentclickFunction)},_registerGlobalClickListener:function(){if(!jQuery.ui.ncbipopper.globalEvents.isGlobalClickRegistered){jQuery.ui.ncbipopper.globalEvents.isGlobalClickRegistered=
+true;jQuery(document).click(function(a){jQuery(document).trigger("ncbipopperdocumentclick",[a.srcElement||a.target])})}},_checkDocumentClick:function(a,b){if(b&&this.isOpen()){b=jQuery(b);if(!(this._isSameElementOrChild(jQuery(this.element),b)||this._isSameElementOrChild(this.getDestElement(),b)))if(!(jQuery.ui.jig.getElementWidgets(jQuery(b),"ncbipopper")[0]&&this.getDestElement()[0]==jQuery.ui.jig.getElementWidgets(jQuery(b),"ncbipopper")[0].getDestElement()[0])){if(a=this.options.multipleHandlesSelector){var c=
+false,d=this;jQuery(a).each(function(){if(d._isSameElementOrChild(jQuery(this),b))c=true});if(c)return}this.close()}}},_isSameElementOrChild:function(a,b){return a[0]==b[0]||jQuery(a).has(b).length===1},_addResizeListener:function(){this._registerGlobalResizeListener();var a=this;this.ncbipopperdocumentresizeFunction=function(b){a._pageResized(b)};jQuery(window).bind("ncbipopperdocumentresize",this.ncbipopperdocumentresizeFunction)},_destroyResizeListener:function(){if(this.ncbipopperdocumentresizeFunction){jQuery(window).unbind("ncbipopperdocumentresize",
+this.ncbipopperdocumentresizeFunction);this.ncbipopperdocumentresizeFunction=null}},_registerGlobalResizeListener:function(){if(!jQuery.ui.ncbipopper.globalEvents.isGlobalResizeRegistered){jQuery.ui.ncbipopper.globalEvents.isGlobalResizeRegistered=true;jQuery(window).on("resize scroll",function(){jQuery(window).trigger("ncbipopperdocumentresize")})}},_pageResized:function(a){if(this.isOpen()){this._positionPopper(a);this._setUpArrow(a)}},_addCloseButton:function(){if(this.options.addCloseButton){var a=
+this.getDestElement(),b=a.find(".ui-ncbipopper-close-button, .ncbipopper-close-button");if(b.length===0){b=jQuery("<button class='ui-ncbipopper-close-button ui-ncbipopper-close-button-generated'>x</button>").attr("generated","true").prependTo(a);b.ncbibutton({color:"blue"})}if(b){var c=this;this._closeButtonFunction=function(d){c.close();d.preventDefault()};b.on("click",this._closeButtonFunction)}}},_destroyCloseButton:function(a){this._closeButtonFunction&&this.getDestElement().find(".ui-ncbipopper-close-button, .ncbipopper-close-button").off("click",
+this._closeButtonFunction).filter(function(){return!a}).filter(".ui-ncbipopper-close-button-generated").ncbibutton("destroy").remove()},isPopperShared:function(){return(this.getDestElement().data("popperTriggers")||[]).length>1},_addSharingDetails:function(){var a=this.getDestElement(),b=a.data("popperTriggers")||[];b.push(this.element);a.data("popperTriggers",b)},_removeSharingDetails:function(){for(var a=this.getDestElement(),b=a.data("popperTriggers"),c=this.element[0],d=0;d<b.length;d++)if(b[d][0]==
+c){b.slice(d,1);break}b.length===0?a.removeData("popperTriggers"):a.data("popperTriggers",b)},_handleSharedPoppersOpen:function(){if(this.isPopperShared())for(var a=this.getDestElement().data("popperTriggers"),b=this.element[0],c=0;c<a.length;c++)if(a[c][0]!=b&&jQuery.ui.jig.getElementWidgets(a[c],"ncbipopper")[0].isOpen()){jQuery.ui.jig.getElementWidgets(a[c],"ncbipopper")[0].close(true);break}},_addPopperHover:function(){if((this.options.closeMethod||this.options.closeEvent)==="mouseout"){var a=
+this.getDestElement();if(this._arrow)a=a.add(this._arrow);var b=this,c={timeout:this.options.delayTimeout,over:function(){},out:function(){b._overPopper(false)}};jQuery(a).hoverIntent(c);jQuery(a).mouseenter(function(){b._overPopper(true);b._lastOver=new Date});jQuery(a).mouseleave(function(){new Date-b._lastOver<b.options.delayTimeout&&b._overPopper(false)}).mouseout(function(d){var e=jQuery(d.target||d.srcElement);if(e.hasClass("ui-ncbipopper-wrapper")||e.hasClass("ui-ncbipopper-arrow-image"))if(e.find(d.relatedTarget).length===
+0){b._isOverPopper=false;b._outTimer=window.setTimeout(function(){b._overPopper(false)},200)}})}},_destroyPopperHover:function(){var a=jQuery(this.getDestElement());a.unbind("mouseenter").unbind("mouseleave");a.removeProp("hoverIntent_t");a.removeProp("hoverIntent_s")},_overPopper:function(a){this._outTimer&&window.clearInterval(this._outTimer);if(a)this._pTimer=new Date;this._isOverPopper=a;if(!a)if(this._isOverTrigger){var b=this;window.setTimeout(function(){!b._isOverPopper&&!b._isOverTrigger&&
+b._overPopper(false)},300)}else this.close()},isOpen:function(a){if(!a)a=this._activeTrigger;a=jQuery(a);var b=jQuery(this._activeTrigger),c=this.getDestElement().data("popperTriggers");a=this.options.openAtTarget||c.length>1?a&&a.length&&b&&b.length&&b[0]===a[0]:true;return this.getDestElement().data("isOpen")&&a?true:false},_setParentsZIndex:function(a){if(jQuery.browser.msie&&parseInt(jQuery.browser.version,10)<=7){var b=this.getDestElement().parents(),c=0;if(b.length>1){b.each(function(e){if(jQuery(this).css("position")===
+"relative"){c=e===0?0:e+1;return false}});b=b.eq(c);var d=b.css("position");b.data("orgPosition")||b.data("orgPosition",d);if(d==="static"||d==="relative"){d=a===1?b.data("orgPosition"):"relative";b.css({position:d,"z-index":a})}}}},addTriggerAria:function(a){var b=a;if(!a){b=this.element;if((a=this.options.multipleHandlesSelector)&&a.length>0)b=b.add(a)}b.attr("role","button").attr("aria-expanded",false).attr("aria-haspopup",true)},_destroyTriggerAria:function(){var a=this.element,b=this.options.multipleHandlesSelector;
+if(b&&b.length>0)a=a.add(b);a.removeAttr("role aria-expanded aria-haspopup")},_addDestAria:function(){this.getDestElement().attr("aria-live","assertive").attr("aria-hidden",true).addClass("ui-helper-reset")},_destroyDestAria:function(){this.getDestElement().removeAttr("aria-live aria-hidden").removeClass("ui-helper-reset")},_setAriaState:function(a,b,c){b=b?b:this.element;c=c?c:this.getDestElement();b.attr("aria-expanded",a);c.attr("aria-hidden",!a)}});jQuery.ui.ncbipopper.openGroups={};
+jQuery.ui.ncbipopper.globalEvents={isGlobalEscapeRegistered:false,isGlobalClickRegistered:false,isGlobalResizeRegistered:false};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/main.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,337 @@
+/*
+LEGAL
+=====
+Copyright: Daemon Pty Limited 1995-2006, http://www.daemon.com.au & http://www.mollio.org/
+License: Released Under the "Common Public License 1.0", http://www.opensource.org/licenses/cpl.php
+Version: 010306
+*/
+body {padding: 0 0 10px;background: #fff url("images/body_bg-ncbi.gif") repeat-x 0 100%;color:#333;font:83%/1.5 arial,tahoma,verdana,sans-serif;}
+body { margin: 0; padding: 0; } 
+/* LINKS */
+a,a:link,a:link,a:link,a:hover {text-decoration:underline;cursor:pointer}
+a:link {color:#369} 
+/* Original: a:visited {color:#999} */
+a:visited {color:#664E99;}
+a:hover,a:active {color:#069}
+/* FORMS */
+form {margin: 0 0 1.5em}
+input {font-family: arial,tahoma,verdana,sans-serif;margin: 2px 0 0}
+label {display:block;padding: 5px 0}
+label br {clear:left}
+#desc {font-weight: bold;margin-bottom: 5px;}
+#desc a {font-weight: normal;}
+#logolink, #logolink img {float: left;border: 0;margin: 0;}
+      
+/* TYPOGRAPHY */
+p, ul, ol {margin: 0 0 1.5em}
+/* Original: h1, h2, h3, h4, h5, h6 {letter-spacing: -1px;font-family: arial,verdana,sans-serif;margin: 1.2em 0 .3em;color:#000;border-bottom: 1px solid #eee;padding-bottom: .1em}*/
+h1, h2, h3, h4, h5, h6 { letter-spacing: -1px;font-family: arial,verdana,sans-serif;margin: 1.2em 0 .3em;color:#2A6979;border-bottom: 1px solid #ccc;padding-bottom: .1em}
+h1 {font-size: 196%;margin-top:.6em}
+h2 {font-size: 136%}
+h3 {font-size: 126%}
+h4 {font-size: 116%}
+h5 {font-size: 106%}
+h6 {font-size: 96%}
+.highlight {color:#4E8999; padding: 3px; border: solid 1px #ccc;}
+.featured { background-color: #ffc; padding: 0.25em 0.5em;margin:0; }
+.subdued {color:#999}
+
+small {font-size:11px}
+
+/* LISTS */
+ul {margin: .3em 0 1.5em 0;list-style-type:none}
+ul.related {margin-top: -1em}
+ol {margin: .5em .5em 1.5em}
+ol li {margin-left: 1.4em;padding-left: 0;background: none; list-style-type: decimal}
+.section li {line-height: 1.4em;padding-left: 25px;background: transparent url("images/sprites-ncbi.gif") no-repeat 0 0}*/
+li.doc {background-position: 3px -500px}
+ul.nomarker li {background:none;padding-left:0}
+dl {margin: 0 0 1em 0}
+dt {font-weight:bold;margin-top: 1.3em}
+dl dl {margin: 0 0 1.5em 30px}
+
+/* GENERAL */
+/*img {border:none} */
+hr {margin: 1em 0;background:#f2f2f2;height:1px;color:#f2f2f2;border:none;clear:both}
+.clear {clear:both;position:relative;font-size:0px;height:0px;line-height:0px} 
+/* LAYOUT - HEADER */
+#header {background: #204174  url("images/sprites-ncbi.gif") repeat-x 0 100%;margin: 0 0 3px;padding: 0 0 8px;white-space:nowrap;}
+#header #site-name {font: 120% arial;letter-spacing: -.05em;margin: 0 ;padding:3px 0; color:#ffffff;font-weight: bold;}
+#header #site-name h1 {font-style: italic; letter-spacing: 0; color: #68a; margin:0 0 0 5em; position: relative; left: 200px;font-size:85%;border:none;padding-bottom:0;display:inline;}
+#header {min-width:770px;position:relative;}
+/* NAV - top horizontal nav */
+#nav, #nav ul {padding: 0;margin: 0;list-style: none}
+#nav {font-weight:bold;height:2.09em;font: bold 95% arial;margin: 0 105px 0 40px; width: 430px;}	
+#nav li {background: #999;float: left;width: auto;display:block;margin: 0;border-bottom: 3px solid #666;border-right: 3px solid #252525;padding:0}
+#nav a, #nav a:link, #nav a:visited, #nav a:hover, #nav a:active {text-decoration:none;cursor:pointer;color:#fff;display: block;padding: 4px 10px 2px}
+#nav a:hover {color:#000}
+#nav li ul {border-left: 1px solid #ccc;background: #eee;width:22.8em;font-size:90%;margin-top:3px;position: absolute;font-weight:normal;left: -999em}
+#nav li:hover ul, #nav li.sfhover ul {left: 0;z-index:99999;}
+#nav li li {background:none;float:none;border:none;border: 1px solid #999;border-top:1px solid #fff;border-right:solid 1px #ccc;border-left:none;padding-left:0}
+#nav li li.last {border-bottom:solid 1px #ccc;}
+#nav li li a, #nav li li a:link, #nav li li a:visited, #nav li li a:hover {color:#000;padding: 3px 10px 2px;width:21em}
+#nav li li a:hover {color:#fff;background:#4E8999}
+#nav li.active {background: #4E8999;border-bottom: 3px solid #4E8999}
+#nav li.active a:link, #nav li.active a:visited, #nav li.active a:hover, #nav li.active a:active {}
+#nav li.active a:hover {color:#000}
+#nav li.active li {border:none;border-top: 1px solid #ccc;border-bottom: 1px solid #ccc;}
+#nav li.active li {border: solid 1px #ccc;border-right: solid 1px #4E8999;border-left: solid 1px #4E8999;}
+#nav li.active li.last {border-bottom: solid 1px #4E8999;}
+#nav li.active li a:link, #nav li.active li a:visited, #nav li.active li a:hover, #nav li.active li a:active {color:#000}
+#nav li.active li a:hover {background: #666 url("images/sprites-ncbi.gif") repeat-x 0 99%;color:#fff; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/sprites-ncbi.gif', sizingMethod='crop');}
+#nav li.active li.active a:link, #nav li.active li.active a:visited, #nav li.active li.active a:hover, #nav li.active li.active a:active {color:#fff;font-weight:bold;background: #666 url("images/sprites-ncbi.gif") repeat-x 0 99%; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='images/sprites-ncbi.gif', sizingMethod='crop');}
+
+/* hide from IE mac \*/
+#nav li {width:auto}
+/* end hiding from IE5 mac */
+	
+/* SEARCH */
+#search {color:#fff;font-weight:bold;position:absolute;top:10px;right:4em}
+#search form {margin:0}
+#search input {width:8em;margin: 0 0 -1px;height:1.2em}
+#search label {padding:5px 0 0;display:inline}
+#search input.f-submit {width:auto;font-size:81%;margin:0 0 -.15em;height:1.95em}
+#content {margin: 0;}
+#type-d #content {margin: 0 0 0 40px;}
+#breadcrumb {margin-top:-5px;font-size:93%;font-weight:bold; margin-left: 1em; margin-bottom: 0; padding: 0 6px 0 12px;; background: url("images/right-arrow.gif") no-repeat center left;display:inline;}
+#breadcrumb strong{font-weight:bold;}
+#breadcrumb a:link, #breadcrumb a:visited {text-decoration:none}
+#breadcrumb a:hover, #breadcrumb a:active {text-decoration:underline}
+/* CODE - formatting for code inserted into body - more here: http://dizque.lacalabaza.net/temp/lipt/ */
+ol.code {font-family: monospace;position:relative}
+ol.code li {color: #666;margin-bottom: 1px}
+ol.code code {color: #000;display: block}
+ol.code .cmt {color: #4077d2}
+li.tab0 code {padding-left: 4em}
+li.tab1 code {padding-left: 8em}
+li.tab2 code {padding-left: 12em}
+li.tab3 code {padding-left: 16em}
+li.tab4 code {padding-left: 20em}
+li.tab5 code {padding-left: 24em}
+ol.code li  {background: #f3f3f3}
+p.note {margin: 1em;border: 1px solid #ddd;background: #f0f0f0;padding: 1em}
+
+/* LAYOUT TYPE A */
+#type-a #content-wrap { width: 100%; margin: 0; padding: 0; white-space:nowrap;margin-top:-0.3em;}
+#type-a #content { margin: 0 40px; }
+/* LAYOUT - FOOTER */
+#footer p {margin:0; padding: 0;padding-bottom:1.5em;}
+
+#footer a:link {color:#999}
+#footer {clear:both;border-top: 1px solid #E3E8EE;padding: 4px 10px 0 10px;font-size:86%;color:#999; margin: 0;}
+#breadcrumb a.help {margin-left: 1em;font-weight:normal;text-decoration: underline;}
+div#search {border: solid 1px #aaa;}
+div#search td{padding: 1px;}
+/* Mozilla-only rule */
+html > body div#search td{padding: 2px;font-weight: bold;font-size: 80%;}
+div#search {background-color: white;position: absolute;right: 4px;top: 4px;color: #369; /* new rule: text by default is white */}
+#jtitle{margin-left:1em;}
+.hidden {display: none;}
+.shown {display: block;}
+a#moreHelp {font-weight:bold;text-decoration:underline;font-size:80%;padding-left:5px;background:none;}
+/* These next two rules replace the text of <a class="helplink"><span>[?]</span></a>
+ * with a 16x16 help link image with transparent background
+ */
+.helpbox, .resBox {font-size: 95%;color: #666;border: solid 1px #ccc;background-color: #def;margin-left: 1em;padding: 0.5em;margin-bottom: 0.5em;zoom:1;}
+.help, .helpbox, .resBox {font-size: 95%;color: #666;white-space:normal;}
+.helplink {padding-left: 16px;background:transparent url(images/help.gif) center left no-repeat;list-style: none;}
+.helplink span {visibility: hidden;}
+a.helplink {text-decoration: none;}
+.helpbox a {background:none;text-decoration:underline;font-size:90%;}
+a.arrowlink:hover {text-decoration: underline;}
+a.arrowlink{
+   padding-left: 16px;
+   background-image: url(images/right.gif);
+   background-repeat: no-repeat;   
+   background-position: center left;
+   -moz-outline-style: none;
+   text-decoration: none;
+   text-decoration: underline;
+}
+
+#orgns {float: right;}
+
+ul.msg, ul.msg li {
+padding:0;
+text-indent:0;
+margin: 0;
+}
+
+ul.msg {
+margin-top: 1em;
+}
+
+ul.msg li {
+margin-bottom: 3px;
+display: none;
+font-weight: bold;
+background: transparent url(images/gradient30down.png) repeat-x top left;
+}
+/* IE6 doesn't have alpha transparency, so hack it out */
+* html ul.msg li {
+background-image: none;
+}
+
+ul.msg li p, ul.msg li div.msInf  {
+padding: 3px;
+padding-left: 28px;
+margin:0;
+white-space:normal;
+}
+
+ul.msg li a.small { 
+font-weight: normal;
+font-size: 90%;
+}
+
+ul.msg li.error {
+background-color: #fbb;
+border: solid 1px #c00;
+color: #c00;
+}
+
+ul.msg li.error p, ul.msg li.error div.msInf{
+background: transparent url(images/error.png) no-repeat 6px center;
+}
+
+ul.msg li.warning {
+background-color: #ffc;
+border: solid 1px #cc0;
+color: #444;
+}
+
+ul.msg li.warning p, ul.msg li.warning div.msInf {
+background: transparent url(images/warn.png) no-repeat 6px center;
+}
+
+ul.msg li.success {
+background-color: #dfd;
+border: solid 1px #0d0;
+color: #060;
+}
+
+ul.msg li.success p,ul.msg li.success div.msInf {
+background: transparent url(images/ok.png) no-repeat 6px center;
+}
+
+ul.msg li.info {
+background-color: #ace;
+color: #444;
+border: solid 1px #369;
+padding: 1px;
+}
+
+ul.msg li.info p,ul.msg li.info div.msInf {
+background: transparent url(images/info.png) no-repeat 6px center;
+}
+
+ul.msg li.warning,ul.msg li.error,ul.msg li.success,ul.msg li.info 
+{
+    display:block;
+}
+ul.msg li p
+{
+    display:block;
+}
+
+ul.msg li.error p.warning {
+background: transparent url(images/warn.png) no-repeat 6px center;
+}
+
+ul.msg li .helpbox 
+{
+    font-weight:normal;
+    margin-left:0;
+}
+
+a.errorHelp
+{
+/*float:right;
+margin-right:2em;
+margin-top:-2em;*/
+margin-left:0.5em;
+}
+
+.msInf a.shown
+{
+    display:inline;
+}
+
+#tryNew
+{
+    color:Red;
+}
+.orgHint
+{
+    color:#AAAAAA;
+}
+
+
+span.acPromt,.skp
+{
+    position:absolute;
+    left:-9999px;
+}
+
+
+    
+#rgs
+{
+    margin-left:35em;    
+    white-space:nowrap;
+}
+
+#trdm
+{
+    vertical-align:super;
+    font-size:small;
+}
+
+.print-log-res { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }
+.print-log-res li { list-style-image: none; }
+
+/* jig toggler adjustments */
+#content .ui-ncbitoggler.ui-widget, #content a.ui-ncbitoggler-open, #content  a.ui-ncbitoggler-slave-open
+{
+    font-size:100%;
+}
+
+.helplink.ui-widget
+{
+  display:inline;
+}
+
+
+#content a.ui-ncbitoggler.ui-widget, #content a.ui-ncbitoggler-open
+{    
+color:#336699;
+}
+
+#moreHelp span 
+{
+    visibility:visible;    
+}
+
+
+#content #moreHelp.ui-ncbitoggler, #content #moreHelp.ui-ncbitoggler-open
+{
+    font-size:80%;
+}
+
+#content  .ui-ncbitoggler-slave-open
+{
+    line-height:1.4em;
+}
+
+div.ui-ncbiautocomplete-holder { 
+  font-size: 80%;  
+}
+ul.ui-ncbiautocomplete-options li span{ color: red;}
+.ytb,.section a.ytb
+{
+    margin-bottom:-5px;
+    background: url("/core/assets/guide/images/YouTube.png") no-repeat scroll left center transparent !important;
+    height:22px;   
+    padding-left:55px;
+    font-weight:normal;
+}
\ No newline at end of file
Binary file NCBI Blast reference example_files/myncbihelpicon.gif has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/plinkcgi.html	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,11 @@
+<html xmlns:xs="http://www.w3.org/2001/XMLSchema"><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+  </head><body>
+    <p class="featured" id="prlink">
+      <a href="http://www.ncbi.nlm.nih.gov/projects/primer-blast/index.cgi?LINK_LOC=BlastDescAd" target="pr_win">
+        <img src="plinkcgi_data/primerAd.png" alt="New" border="0">
+      </a>
+    </p>
+  
+
+</body></html>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/plinkcgi_002.html	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,11 @@
+<html xmlns:xs="http://www.w3.org/2001/XMLSchema"><head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+  </head><body>
+    <p class="featured" id="prlink">
+      <a href="http://www.ncbi.nlm.nih.gov/projects/primer-blast/index.cgi?LINK_LOC=BlastAlnAd" target="pr_win">
+        <img src="plinkcgi_data/primerAd.png" alt="New" border="0">
+      </a>
+    </p>
+  
+
+</body></html>
\ No newline at end of file
Binary file NCBI Blast reference example_files/plinkcgi_data/primerAd.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/print.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,305 @@
+/*
+LEGAL
+=====
+Copyright: Daemon Pty Limited 1995-2006, http://www.daemon.com.au & http://www.mollio.org/
+License: Released Under the "Common Public License 1.0", http://www.opensource.org/licenses/cpl.php
+Version: 010306
+*/
+
+
+body {font: 10pt arial,tahoma,verdana,sans-serif}
+h1, h2, h3, h4, h5, h6 {margin: 1em 0 .2em;font-family: arial,tahoma,verdana,sans-serif}
+
+* {float:none;position:static;background:#fff}
+p {margin: 0 0 1em}
+dt {font-weight:bold}
+
+#nav, #search, #nav-secondary,  #poweredby {display:none}
+
+/* =LINKS */
+a {border:none}
+a,a:link,a:link,a:link,a:hover {background:transparent;text-decoration:underline;cursor:pointer} 
+a:link {color:#5291c4} 
+a:visited {color:#666}
+a:hover {color:#ff9900;border:none} 
+a:active {color:#0066cc} 
+
+.teaserBox {clear:both;margin: 0 0 1em}
+
+.sponsors img {margin: .5em 0}
+
+#footer {margin: 1em 0}
+
+#jtitle {
+border-bottom:2px solid black;
+margin-top:0.25em;;
+margin-left:-1.5em;;
+margin-bottom: 2em;;
+font-size: 110%;;
+padding-bottoM:0.5em;;
+}
+
+/* TABLES */
+table {font-size: 9pt;margin: 0 0 1em;border-collapse:collapse;}
+
+	table th {border-bottom: 3px solid #000;vertical-align:top;padding: 1.5em 3px 3px;line-height:1.1;font: bold 145% arial;letter-spacing:0;text-align:left}
+	.table1 th.time {border-bottom: none;font: bold 89% verdana;color:#ff9c00;vertical-align:top;padding: 3px}
+	.table1 td {border: 1px solid #ddd;font-size: 9pt;padding: 3px;vertical-align:top}
+	.table1 td a {display:block;width:auto;font-weight:bold}
+	.table1 td a:link, .table1 td a:visited, .table1 td a:hover, .table1 td a:active {border:none;text-decoration:none}
+	.table1 th.sub {background: #aaa}
+	.table1 th.sub2 {background: #bbb;color:#000}
+	.table1 td ul li {background: #fff}
+
+
+#logolink img {
+display: none;
+}
+
+#site-name {
+font-size: 140%;
+font-weight: bold;
+padding: 3px;
+text-align:center;
+}
+
+div.resHeader {
+display:  none;
+}
+
+#content-wrap {
+margin : 0 0.25in;
+}
+
+#blHeader pre, #query pre {
+white-space: normal;
+}
+
+#blHeader pre p {
+display: none; /* Get rid of pointer to BLAST FAQs */
+}
+
+#graphic input {
+display: none;
+}
+
+#descs td { vertical-align: top; }
+td.lim { white-space: normal; padding-bottom: 0.5em;}
+#descs td { vertical-align: top; border-bottom: solid 1px #888; border-collapse: collapse; padding-top: 0;}
+
+#descs a {
+text-decoration: none;
+color: black;
+padding: 0;
+margin: 0;
+}
+
+#descs th {
+font-size: 110%;
+}
+
+#graphic table {
+margin: 0;
+}
+
+input {
+display: none;
+}
+
+#graphic h3 a {
+border-bottom:2px solid black;
+color:black;
+display:block;
+margin-bottom:2em;
+margin-top:3em;
+text-align:left;
+text-decoration:none;
+margin-left: -1.5em;
+}
+
+
+#graphic {page-break-after: always; }
+
+td.l a { padding: 0; margin-right: 1em !important; font-weight:bold;}
+#descs td {color: black;}
+
+/* Get rid of stupid long headers */
+#desctbl { margin-top: 1em; border-top: solid 1px #ccc; page-break-after: always;}
+#desctbl table thead { display: none; margin-top: 1em;} 
+#desctbl table tr td { width: 4em; } 
+#desctbl table td.lim { width: 40em; }
+
+#alignments { line-height: 0.9em; }
+#alignments center b {
+ display: block; z-index: 100; position: relative; 
+}
+#alignments center b font { color: black; display: block; text-align: left; font-size: 120%; padding: 0 0 3px; border-bottom: solid 2px #444; margin-left: -1.5em; }
+
+div#alignments.blRes a { text-decoration: none; color: black; font-weight: bold; }
+
+#footer {
+display: none;
+}
+
+h1
+{
+font-size:120%;
+font-weight:bold;
+}
+#FormatForm,#FormatDownload,#showDetails,#queryHelp,#dbDetails,.reslink
+{
+    display:none;
+}
+#multipleSeqs,#queryInfo,.skp,.resLink,.seqlinks,.msg
+{
+   display:none;
+}
+
+#dbDetails,#refInfo,#seealso,#resStat,#showRefs,dd.hidden
+{
+    display:none;
+}
+/*
+#querysummary dl
+{
+ line-height:1.4em;
+}
+
+#querysummary dd
+{
+    margin-left:20%;
+    margin-top:-1.2em;
+}
+
+#querysummary dd a
+{
+    display:none;
+}
+*/
+
+#summary {
+font-size:1.2em;
+}
+#summary {
+margin-top:0pt;
+padding-bottom:1em;
+padding-top:0.5em;
+font-family:Verdana,Arial,Sans-Serif;
+font-size:90%;
+
+}
+#summarylists {
+margin:1em 0pt 0pt;
+overflow:hidden;
+}
+#querysummary {
+float:left;
+padding:0pt;
+width:49%;
+}
+
+#dbsummary {
+margin-left:51%;
+padding:0pt;
+}
+#summary dl {
+margin:0pt 0pt 0.5em;
+padding:0pt;
+}
+#summary dt, #summary dd {
+line-height:1.4em;
+}
+#summary dt {
+float:left;
+font-weight:bold;
+text-align:right;
+width:10em;
+margin-top:0;
+}
+#summary dd {
+margin-left:11em;
+white-space:normal !important;
+}
+#summary h3 {
+color:#444444;
+font-style:italic;
+margin-bottom:-0.5em;
+margin-top:0pt;
+text-align:center;
+}
+#ht,#graphic,#cddDesc
+{
+    text-align:center;
+}
+
+#ht
+{
+    font-weight:bold;
+}
+
+#graphic h3 a,#ovrInfo,#showCDD,.psiInp,.defln caption,#grView.hidden,#RSIFrameDesc
+{
+    display:none;
+}
+
+
+#grView.hidden.shown
+{
+    display:block;
+}
+
+.print-log-res { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }
+.print-log-res li { list-style-image: url("images/img_blast_results_gif"); }
+
+#SwitchDesign,#ytb,.fdb,#debug,.moreHsps,.shcl,#cntDesc,#descTblCtrl,.hdnHeader,td.c0,th.c0,.alnMsgS,.alnHdr,.relInf
+{
+    display:none;
+}
+
+h3.cap,#RSIFrameAln,.alnRn span, div.hsp .alnParLinks,.ui-ncbiautocomplete-link-pref,.ui-ncbiautocomplete-link-off
+{
+    display:none;
+}
+
+.alnAll
+{
+    margin-top:0.5emem;
+}
+.dlfRow
+{
+    line-height:1.5em;
+}
+
+span.r label
+{
+    margin-left:0.5em;
+}
+td.l a.deflnDesc
+{
+    font-weight:normal;
+    text-decoration:none;
+    color:inherit;
+}
+    
+table.alnParams
+{
+    width:50em;
+}
+table.alnParams th
+{
+    font-size:100%;    
+}
+
+table.alnParams td
+{
+    font-size:110%;    
+    padding-top:0.5em;
+}
+
+.oneSeqAln
+{
+    border-top:1px solid gery;
+    margin-top:1em;
+    padding-top:1em;
+    width:60em;
+}
Binary file NCBI Blast reference example_files/query_no_scale.gif has changed
Binary file NCBI Blast reference example_files/reformat.jpg has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/remote_data_provider.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,79 @@
+//=========================================================================================================
+function RemoteDataProvider(sUrl) {
+    this.iActiveRequests = 0;
+    this.sUrl = sUrl;
+}
+
+//-------------------------------------------------------------------------------------------------------------
+RemoteDataProvider.prototype.GetHttpObj = function() {
+    var oHttpObj = null;
+    try {
+        oHttpObj = new ActiveXObject("Msxml2.XMLHTTP");
+    } catch(e) {
+        try {
+            oHttpObj = new ActiveXObject("Microsoft.XMLHTTP")
+        } catch(oc) {
+            oHttpObj = null;
+        }
+    }
+    if (!oHttpObj && typeof XMLHttpRequest != "undefined") {
+        oHttpObj = new XMLHttpRequest();
+    }
+    return oHttpObj; 
+}
+
+//-------------------------------------------------------------------------------------------------------------
+RemoteDataProvider.prototype.Request = function(sRequest, method) {
+    var oHttpObj = this.GetHttpObj();
+    if (null == oHttpObj) return;
+
+    method = (!method) ? "GET" : "POST";
+    var sURL = (method == "GET") ? this.sUrl + "?" + sRequest : this.sUrl;        //alert(sURL);    
+    this.iActiveRequests++;
+    var oThis = this;
+    oHttpObj.onreadystatechange = function () {
+        if (oHttpObj.readyState == 4 && oHttpObj.status == 200) {
+            oThis.onSuccess(oHttpObj);
+            oThis.iActiveRequests--;    
+            oThis.onStop();    
+        } else if(oHttpObj.readyState == 4 && oHttpObj.status != 200) {
+            oThis.onError(oHttpObj);
+            oThis.iActiveRequests--;    
+            oThis.onStop();    
+        }
+    };
+    
+    if (oHttpObj.readyState != 0) oHttpObj.abort();
+    this.onStart();
+    oHttpObj.open(method, sURL, true);
+//    oHttpObj.setRequestHeader('Cache-Control', 'no-cache');
+    var params = (method == "GET") ? null : sRequest;
+    if (params) {
+        oHttpObj.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
+        oHttpObj.setRequestHeader("Content-length", params.length);
+        oHttpObj.setRequestHeader("Connection", "close");
+    }
+    oHttpObj.send(params);
+}
+
+//-------------------------------------------------------------------------------------------------------------
+RemoteDataProvider.prototype.onSuccess = function(obj) {
+    alert(["success:", this.iActiveRequests, obj.responseText]);
+}
+
+//-------------------------------------------------------------------------------------------------------------
+RemoteDataProvider.prototype.onStart = function() {
+//    alert(["start:", this.iActiveRequests]);
+}
+
+//-------------------------------------------------------------------------------------------------------------
+RemoteDataProvider.prototype.onStop = function() {
+//    alert(["start:", this.iActiveRequests]);
+}
+
+//-------------------------------------------------------------------------------------------------------------
+RemoteDataProvider.prototype.onError = function(obj) {
+    //alert(["error:", this.iActiveRequests, obj.status]);
+}
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/results.css	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,1224 @@
+#summary {
+font-size:1.2em;
+}
+#summary {
+margin-top:0pt;
+padding-bottom:1em;
+padding-top:0.5em;
+font-family:Verdana,Arial,Sans-Serif;
+font-size:90%;
+
+}
+#summarylists {
+margin:1em 0pt 0pt;
+overflow:hidden;
+}
+#seealso {
+margin-left:2em;
+}
+#querysummary {
+float:left;
+padding:0pt;
+width:49%;
+}
+#dbsummary {
+margin-left:51%;
+padding:0pt;
+}
+#summary dl {
+margin:0pt 0pt 0.5em;
+padding:0pt;
+}
+#summary dt, #summary dd {
+line-height:1.4em;
+}
+#summary dt {
+float:left;
+font-weight:bold;
+text-align:right;
+width:10em;
+margin-top:0;
+}
+#summary dd {
+margin-left:11em;
+white-space:normal !important;
+overflow:hidden;
+}
+#summary h3 {
+color:#444444;
+font-style:italic;
+margin-bottom:-0.5em;
+margin-top:0pt;
+text-align:center;
+}
+
+#multipleSeqs {
+font-weight: bold;
+}
+#multipleSeqs a {
+font-size:80%;
+font-weight:normal;
+}
+#breadcrumb {
+background:transparent url(images/right-arrow.gif) no-repeat scroll left center;
+font-size:93%;
+font-weight:bold;
+margin-top:-5px;
+padding:0pt 6px 0pt 12px;
+}
+#breadcrumb a {
+color:#336699;
+}
+
+#jobTitle
+{
+color:#669;
+/*color:#2A6980;*/
+font-weight:bold;
+margin-bottom:-0.5em;
+}
+
+#type-a #content-wrap {white-space:normal; padding-bottom:2em;}
+
+#statInfo
+{
+    font-size:100%;
+}
+
+
+#resMsg 
+{
+background-color:#FFFFCC;
+font-size:110%;
+/*margin-top:4em;
+padding-left:0.5em;*/
+text-align:center;
+}
+
+#seealso label
+{
+    display:inline;    
+}    
+
+#seealso a 
+{
+    padding: 0,4px;
+}
+
+a.shown 
+{
+    display:inline;
+}
+
+
+table.dbInfo
+{
+    width:50%;
+    border:solid 1px gray;
+    font-size:100%;
+    border-collapse:collapse; 
+    margin-top:1em;       
+}
+table.dbInfo td,
+table.dbInfo caption 
+{
+   border:solid 1px gray;   
+   padding: 1px 4px;   
+}
+table.dbInfo caption {
+    background-color:#acf;
+    text-align:center;
+    border-bottom:none;
+    margin-bottom:-0.2em;        
+    font-weight:bold;
+    margin-top:1em;
+}
+#resStat, #dbDetails
+{
+    padding-left:25%;
+}
+
+table.dbInfo td
+{
+    text-align:left;
+}
+
+table.dbInfo th {
+visibility:hidden;
+/*padding:0;*/
+}
+
+
+table.dbInfo th div {
+height:0;
+}
+
+table#Kappa pre
+{
+    font-size:120%;
+}
+
+
+/****** Mark new rules ************/
+/* override main.css rules */
+#type-a #content {
+margin: 0 2em;
+}
+
+#type-a h1 {
+font-size: 150%;
+margin-bottom: 1em;
+border-top: solid 1px #ccc;
+}
+
+#type-a h2 {
+font-size: 125%;
+color: #666;
+}
+
+#type-a h3 {
+border: none;
+font-size: 110%;
+}
+#graphic {
+text-align: center;
+margin: auto;
+}
+
+#multipleSeqs label {
+width: 9em;
+height: 1em;
+text-align: right;
+margin-right: 0;
+padding: 0 1em;
+float: left;
+}
+#multipleSeqs select {
+margin-right: 1em;
+font-size: 95%;
+}
+#multipleSeqs input {
+font-size: 95%;
+margin-top: -0.25em;
+margin-right: 1em;
+}
+label.other {
+font-size: 110%;
+font-weight: bold;
+}
+form#results
+{
+    display:none;
+}
+
+#hdLink
+{
+    margin-top:-1.2em;
+    float:right;
+}
+
+#hdTitle
+{
+    margin-left:5em;
+}
+.shownInl
+{
+    display:inline;
+}
+
+#psiHd
+{
+    margin-top:1em;
+}
+
+#phiInfo
+{
+    text-align:center;
+    color:Green;    
+    font-size:110%;
+    margin-top:1em;    
+}
+#ht
+{    
+font-weight:bold;
+margin-bottom:-0.9em;
+margin-top:0.2em;
+text-align:center;
+}
+
+.psiThresh
+{
+    text-align:center;
+    color:Green;
+    font-weight:bold;
+}
+
+#psiThreshA span.shown,#psiThreshB span.shown
+{
+    display:inline;
+}
+
+a.resArr
+{
+    color:#666;
+    font-size:120%;
+    font-weight:bold;    
+}
+
+a.arrowlink.showing 
+{
+    background-image: url(images/down.gif);
+}
+
+#graphic table
+{
+    background-color:White;
+}
+
+#type-a #content
+{
+    background-color:#D3DFF5;
+    border:1px solid #888888;
+    padding:0 0.5em;
+    zoom:1;
+}
+
+.resBox
+{
+    background-color:#eee;
+    margin-right:1em;
+    color:#222;
+    zoom:1;
+}
+
+.resBox1
+{
+    background-color:white;    
+}
+
+#tryNew,.hl
+{
+    color:Red;
+}
+
+/*#tryNew
+{
+    margin-right:20em;
+}*/
+
+
+div#vecSrceen {
+margin-bottom:0pt;
+margin-left:17%;
+margin-top:0pt;
+padding-left:2em;
+white-space:pre;
+width:64%;
+zoom:1;
+}
+
+.psiInp
+{
+    white-space:normal;
+    margin-bottom:1.5em;
+}
+
+.seqlinks label
+{
+    display:inline;
+}
+
+.seqlinks input
+{
+   margin-left:1em;
+}
+.seqlinks a.ln
+{
+   margin-left:2em;
+}
+
+.seqlinks a.lnt
+{
+   margin-left:0.5em;
+}
+
+form.getseq
+{
+    margin:0;
+}
+
+#queryList option.nohits
+{
+    color:Gray;
+}   
+
+#queryList
+{
+    float:left;
+}
+
+p#qb
+{
+    margin-top:0;
+    margin-bottom:0;
+}
+
+#dn
+{
+    margin-left:5em;
+}
+
+#dnf
+{
+    font-size:80%;
+}
+
+/*#FormatForm
+{
+    margin-left:2em;
+}*/
+table.options
+{
+    width:80%;
+    margin-top:0.5em;
+    margin-left:10%;
+    border-collapse:collapse;
+    max-width:70em;
+}
+
+form.resbox label
+{
+    display:inline;
+}
+
+#onPageReformat
+{
+    position:absolute;
+    right:0.5em;    
+    border:none;
+    padding-bottom:1px;
+    bottom:0.1em;
+}
+
+table.dwnl
+{
+    width:60%;
+    margin-left:20%;
+    height:3em;
+}
+table.dwnl td
+{
+    padding-right:0.5em;
+}
+/*
+a#showStat
+{
+    margin-left:-0.4em;
+}
+*/
+a.resArrowLinkB:hover,a.resArrowLinkW:hover {text-decoration: underline;}
+a.resArrowLinkB,a.resArrowLinkW{
+   padding-left: 12px;
+   background-image: url(images/rightSmallArrow.gif);
+   background-repeat: no-repeat;   
+   background-position: center left;
+   -moz-outline-style: none;
+   text-decoration: none;
+   text-decoration: underline;
+}
+a.resArrowLinkB.showing
+{
+   background-image: url(images/downSmallArrow.gif);   
+}
+
+a.resArrowLinkW{
+   background-image: url(images/rightSmallWArrow.gif);   
+}
+
+a.resArrowLinkW.showing 
+{
+    background-image: url(images/downSmallWArrow.gif);
+}
+td.dnl
+{
+    border-left:solid 1px gray;
+}
+.dnLinks a
+{
+    margin-left:1em;
+}
+
+.dnLinks
+{
+    text-align:center;
+}
+#tdal
+{
+    width:30em;
+}
+
+.dnHeader
+{
+    font-size:100%;
+    font-weight:bold;   
+    text-align:center;
+}
+#dnHelp
+{
+    display:inline;
+    position:relative;
+    padding-left:0;
+}
+
+table td.frh
+{
+    background-color:#E0E0E0;
+    color:Gray;
+    text-align:center;    
+}
+
+#type-a h3.tb,#type-a div.tb
+{
+    display:inline;
+    color:Gray;
+    letter-spacing:normal;
+    font-size:120%;
+    font-weight:bold;
+}
+
+#content a.resLink
+{
+	display:inline;
+}
+
+#content a.resLink.hide
+{
+	display:none;
+}
+
+ul.msg li p.info {
+background: transparent url(images/info.png) no-repeat 6px center;
+}
+
+.blRes
+{
+    background-color:White;
+    border:solid 1px #CCCCCC;
+    padding: 1em;
+    margin:1em;
+    /*font-size:110%;*/
+    zoom:1;    
+}
+/* Check this for many results */
+div#content
+{
+    min-width:80em;
+}
+#hitmtImg
+{
+    
+    padding:1em;
+    border:solid 2px gray;
+    padding-bottom:2em;
+}
+#qgr
+{
+    margin-top:-1.8em;
+    /*writing-mode:tb-rl;*/
+}
+#htmb
+{
+    margin-top:-2em;
+    margin-left:11em;
+    border:solid 1px gray;
+}
+
+#hitMatrixView
+{
+    margin-top:1em;
+}
+
+#hitMatrixInfo
+{
+    text-align:center;
+}
+
+#bl2ovrInfo
+{
+    text-align:left;
+}
+
+.newMln
+{
+    height:12px;
+    margin-left:-0.5em;
+}
+
+/***** New staff neew to remove all table#descs from blastRes.css, a.resArr, .psiThresh after formatter upadte *******/
+
+h2.resArr a
+{
+    color:#666;
+    font-size:105%;
+    font-weight:bold;
+    font-family:arial,tahoma,verdana,sans-serif;   
+    white-space:nowrap;
+}
+
+h2.resArr
+{
+    border-bottom:none;
+    letter-spacing:normal; 
+    margin:0;
+    padding:0;
+    width:15%;   
+}
+
+.psiThresh h3
+{
+    text-align:center;
+    color:Green;
+    font-weight:bold;
+}
+
+/*#alignments
+{
+    font-size:115%;
+    font-family:Monospace;
+    white-space:pre;
+    line-height:1;      
+}
+*/
+table.defln 
+{
+font-family: Verdana, Sans-Serif;
+font-size: 80%;
+_font-size: 86%;
+border-collapse: collapse;
+width: 100%;
+border-bottom:1px solid #018AAC;
+}
+
+table.defln caption
+{
+font-weight:bold;
+text-align:left;    
+}
+
+table.hideCap caption
+{
+visibility:hidden;
+height:0;
+font-size:1%;
+}
+
+table.defln th a {
+/*text-decoration: none;*/
+color: #00c;
+}
+
+table.defln th a:visited {
+color: #00c;
+}
+
+table.defln th a:hover {position: relative;
+text-decoration: underline;
+}
+
+table.defln tr th.l,
+table.defln tr td.l {
+text-align: left;
+}
+
+table.defln tr th.sp {
+background-color: #def;
+}
+
+table.defln tr th,
+table.defln tr td {
+text-align: center;
+padding: 1px 4px;
+}
+
+table.defln tr.first th {
+padding-left:18px;
+border-left: solid 1px #A0ceff;
+border-top: solid 1px #A0ceff;
+border-bottom: solid 1px #018aac;
+border-right: solid 1px #018aac;
+border-top: 1px solid #018AAC;
+padding-right: 8px;
+padding-bottom: 3px;
+background-color: #9cf;
+white-space:normal;
+line-height: 1.2em
+}
+
+
+table.defln td {
+border: solid 1px #ccc;
+border-width: 0px 1px;
+white-space:nowrap;
+overflow: hidden;
+}
+
+table.defln tr.first th.sel {
+background: #9cf url(images/up.gif) no-repeat center left;
+padding-left: 18px;
+padding-right: 18px;
+}
+
+table.defln tr:hover {
+/*background-color: #def;*/
+}
+
+/* accessebility styles */
+table.defln.noCaption caption
+{
+    display:none;
+}
+
+
+/* accessebility styles */
+.hdnHeader {
+/*visibility:hidden;*/
+font-size:0;
+height:0;
+}
+
+div.chs
+{
+    margin-bottom: -1em;
+}
+
+.psiInp label
+{
+    display:inline;
+}
+
+h3.tgl
+{
+    letter-spacing:normal;  
+    margin:0;  
+}
+h3.tgl a
+{
+    font-size:80%;
+    color:#222222;
+    font-family:Verdana,Sans-Serif;
+}
+div.tgl
+{
+    margin-top:0;
+    background-color:White;    
+    border:none;
+}
+div.tgl table.defln a
+{
+    font-size:100%;
+}
+
+/************ new alignment styles ************/
+
+.sumN, .aln_frame
+{
+    display: none;
+}
+    
+table.alnParams
+{
+    border:solid 1px #a0a0a0;    
+    border-collapse:collapse; 
+    font-family:Verdana,Arial,Sans-Serif;
+    font-size:87%;
+    width:60%;
+    margin-bottom:1em;
+}
+
+table.alnParams th
+{
+    background-color:#e8e8e8;
+    color:#606060;
+    border:solid 1px #a0a0a0;
+    padding: 1px 4px;    
+    font-size:86%;
+}
+
+table.alnParams td
+{
+   border:solid 1px #a0a0a0;   
+   padding: 1px 4px;
+   white-space:nowrap;      
+}
+
+
+.aln_feat.hidden
+{
+width:0;
+padding:0;
+}
+
+a.sortAlnArrowLinkB
+{
+   padding-left: 12px;
+   background-image: url(images/downSmallArrow.gif);
+   background-repeat: no-repeat;   
+   background-position: center left;
+}
+
+a.sortAlnArrowLinkW
+{
+   padding-left: 12px;
+   background-image: url(images/downSmallWArrow.gif);   
+   background-repeat: no-repeat;   
+   background-position: center left;   
+}
+
+.seqlinks span
+{
+    margin-left:1em;
+}
+
+.alnSortSeq
+{
+	margin-bottom:2em;
+	display:inline;
+}
+
+.alnSortSeq a
+{
+    font-size:90%;    
+}
+table.alnParams a
+{
+    display:block;
+    padding:3px 3px;
+    font-size:90%;
+}
+
+table.alSeqInf td
+{
+vertical-align:top;
+}
+td.alSeq
+{
+padding-left:1em;
+}
+
+td.alSeq.alFirst
+{
+white-space:nowrap;
+padding-left:0;
+}
+
+td.alTitle
+{
+font-size:90%;
+}
+
+img.imn
+{
+/*    width:30px;
+    height:15px;
+*/
+}
+
+img.imc
+{
+    width:15px;
+    height:15px;
+}
+td.l img.hidden
+{
+    display:inline;
+    visibility:hidden;
+}
+
+
+.dflLnk a
+{
+	padding-left:1em;
+	font-size:110%;
+}
+
+table.defln td.dflLnk
+{
+	text-align:left;
+	padding-bottom:0.5em;
+	font-size:11px;
+}
+
+.dflLnk label
+{
+	font-weight:bold;
+	display:inline;
+}
+.oneSeqAln .dflLnk
+{
+font-family: Verdana, Sans-Serif;
+font-size: 80%;
+padding-bottom:1em;
+width:60%;
+}
+
+table.alnDefln tr td.l
+{
+    text-align:left;     
+}
+
+table.alnDefln td
+{
+    /*overflow:hidden;*/
+    white-space:nowrap;    
+    vertical-align:top;
+}
+
+table.alnDefln td.lim
+{
+    white-space:normal;
+    font-size:98%;    
+}
+
+/* check specific browser file */
+table.alnDefln div.lim
+{
+    width:35em;
+}
+
+table.defln tr.dflnAln.shown 
+{
+    display:table-row;
+}
+
+table.alnDefln tr.shown 
+{
+    display:table-row;
+}
+
+.alnDflLn label
+{
+    font-weight:bold;
+    display:inline;
+    font-size:80%;
+    color:#444444;
+    padding-right:3px;
+    padding-left:3px;
+}
+
+.alnDflLn
+{
+    margin-left:2em;
+}
+
+.alnSortSeq.alnDflLn
+{
+    margin-left:0.5em;
+    float:left;
+    position:absolute;
+}
+
+.alnDflLn input
+{
+   margin-left:1em;
+   border:none;
+}
+.alnDflLn label.hidden
+{
+    display:none;
+}
+
+h3.sAlnHdr
+{
+    color:#444444;
+    display:inline;
+    letter-spacing:normal;
+}
+
+h3.sAlnHdr a
+{
+    color:#444444;    
+    text-decoration:none;
+    margin-left:2em;
+    font-size:85%;
+}
+
+.alnHdr
+{
+    padding-top:0.1em;    
+    padding-bottom:0.1em;
+}
+
+.oneSeqAln
+{
+    padding-left:1em;
+    padding-top:0.2em;
+}
+
+table.defln tr.dflnAln td
+{
+    text-align:left;    
+    border:none;
+    background-color:White;
+}
+
+table.defln tr.dflnAln td input.ch,table.defln tr.dflnAln td h3
+{
+    display:none;
+}
+
+
+tr.dflnAln .oneSeqAln
+{
+    font-size:120%;
+}
+
+tr.dflnAln .alnDflLn{
+    
+    margin-left:0;
+}
+
+tr.dflnAln .alnHdr
+{
+   padding:0;   
+}
+
+tr.dflnAln .alnHdr label
+{
+   font-size:90%;
+}
+.hil
+{
+background-color: #def;
+}
+
+
+table.defln tr.odd
+{
+    background-color:#f8f8f8;
+}
+
+table.defln tr.even
+{
+    background-color:#e8e8e8;
+}
+a.dflSeq
+{
+    color:Gray;
+    font-weight:bold;
+    text-decoration:none;
+    padding-left:0;
+    display:inline-block;
+    width:13em;
+}
+a.dflSeq.nogi
+{
+    color:#336699;
+    text-decoration:underline;
+}
+td.lim
+{
+    font-size:13px;
+}
+
+.ldsb
+{
+    padding-left:1em;
+    color:Gray;    
+    font-size:110%;
+}
+
+a.spr
+{
+    padding-right:3px;   
+    border-right:solid 1px; 
+}
+
+
+
+#hlp11
+{
+    width:60%;
+    margin-left:22%;    
+    margin-top:0.5em;
+}
+
+/* jig toggler styles */
+a.resLink.ui-ncbitoggler, a.jtg.ui-ncbitoggler,a.resLink.ui-ncbitoggler-open, a.jtg.ui-ncbitoggler-open
+{
+padding-left:13px;
+color:#336699;
+}
+
+a.resLink.ui-ncbitoggler,a.resLink.ui-ncbitoggler-open
+{
+    font-size:100%;
+}
+
+
+table.options .helplink
+{
+    font-size:100%;
+    display:inline;
+}
+
+
+span.ui-icon.ui-icon-triangle-1-e,span.ui-icon.ui-icon-triangle-1-s
+{
+   padding-left: 12px;
+   background-repeat: no-repeat;      
+   -moz-outline-style: none;   
+   text-decoration: underline;
+   /*height:18px;
+   width:20px;   */
+}
+
+
+
+span.ui-icon.ui-icon-triangle-1-e
+{   
+   background-image: url(images/rightSmallArrow.gif);
+}
+
+span.ui-icon.ui-icon-triangle-1-s
+{
+    background-position: center left;
+    background-image: url(images/downSmallArrow.gif); 
+}
+
+table.dbInfo.shown
+{
+    display:table;
+}
+
+#seealso a.hidden
+{
+    display:none;
+}
+
+#seealso a, #seealso a.hidden.shown
+{
+    display:inline-block;
+}
+
+
+a.ui-ncbitoggler.hidden.shown.jtg, a.ui-ncbitoggler-open.hidden.shown.jtg 
+{
+    display:inline;
+}
+/**Comment those line to display ncbi-toggler native icon - begin *
+a.ui-ncbitoggler span.ui-icon-plus-minus-big, a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open 
+{
+   padding-left: 16px;
+   background-image: url(images/down.gif);
+   background-repeat: no-repeat;   
+   background-position: center left;
+   -moz-outline-style: none;
+   text-decoration: none;
+   text-decoration: underline;
+}
+
+a.ui-ncbitoggler span.ui-icon-plus-minus-big
+{   
+   background-image: url(images/right.gif);
+}
+
+a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open
+{
+     background-image: url(images/down.gif);
+}
+*Comment those line to diplay ncbi-toggler native icon - end **/
+
+a.ui-ncbitoggler span.ui-icon-plus-minus-big, a.ui-ncbitoggler-open span.ui-icon-plus-minus-big-open {  
+  background-image: url("images/ncbitoggler-plus-minus-big.gif");
+}
+a.helplink{display:inline}
+#summary .ui-widget
+{
+font-family:Verdana,Arial,Sans-Serif  !important;
+font-size:100%;
+}
+.resBox.ui-widget,.resbox.ui-widget
+{
+    font-size:100%;
+}
+
+.resetAll
+{
+    position:absolute;
+    padding:0;    
+    right:0;
+    margin-right:5em;    
+}
+
+#nft
+{
+    padding-right:1em;
+    vertical-align:baseline;
+}
+#advView
+{
+    margin-left:3em;
+}
+#SwitchDesign, a.fdb
+{
+    color:Red;     
+}
+a.fdb
+{
+    margin-top: -1.5em;
+    float:right;
+    margin-right:5%;    
+}
+#SwitchDesign
+{
+    left:50em;
+    right:10em;
+    position:absolute;
+    white-space:nowrap;
+}
+
+
+#brFtp
+{    
+    margin-left:1em; 
+}
+
+#hnr 
+{
+    float:right;
+}
+
+#topLinks
+{
+    float:left;
+}
+#topLinksLeft
+{
+    float:right;
+}
+
+#summary h1
+{
+    border-top:none;
+}
+
+#dbPlusSpecies > div {
+  width: 50%;
+  margin-top:0.5em;
+  padding-bottom:0.1em;
+}
+
+#nextDbSet,#lastDbSet {
+  float: right;
+}
+#prevDbSet,#lastDbSet {
+  padding-left:0.5em;
+}
+#dbSpecies,#dbSpecies caption 
+{
+    margin-top:auto;
+}
+.cpAdd
+{
+    font-size:80%;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/results.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,649 @@
+// JScript source code
+
+//Display Reformat page button only after the whole page is loaded    
+
+function ReformatPageEvent()
+{
+	var refPageLink = document.getElementById("refPage");    	
+	
+	//alert(refPageLink);
+	//alert(refPageLink.getAttribute("submitForm"));
+	var submitForm = refPageLink.getAttribute("submitForm");
+	alert(submitForm);
+	if(refPageLink && submitForm) {
+		utils.addEvent(refPageLink, 
+					   "click", 
+					   function() {
+							document.getElementById(submitForm).submit();					
+						}, 
+						false);    
+	}	
+}
+
+
+function SubmitEvent(linkID)
+{
+	
+	var link = document.getElementById(linkID);    	
+	//alert(link.getAttribute("submitForm"));
+	var submitForm = link.getAttribute("submitForm");
+	if(link && submitForm) {
+		utils.addEvent(link, 
+					   "click", 
+					   function() {							
+							document.getElementById(submitForm).submit();					
+						}, 
+						false);    
+	}	
+}
+
+
+function SubmitEventSave(linkID)
+{
+	
+	var link = document.getElementById(linkID);    	
+	//alert(link.getAttribute("submitForm"));
+	var submitForm = link.getAttribute("submitForm");
+	if(link && submitForm) {
+		utils.addEvent(link, 
+					   "click", 
+					   function() {
+							//$(submitForm).CMD.value = "GetSaved";							
+							document.getElementById(submitForm).submit();					
+						}, 
+						false);    
+	}	
+}
+ 				
+ 				
+
+
+//This function creates submit form event on click
+//form submitted is defined in submitForm attribute
+//It also copies params from forms[0] (search paramateres) created by formatter
+function SubmitEventNew(linkID)
+{
+	
+	var link = document.getElementById(linkID);    	
+	//alert(link.getAttribute("submitForm"));
+	if(!link) return;
+	var submitForm = link.getAttribute("submitForm");
+	if(link && submitForm) {
+		utils.addEvent(link, 
+					   "click", 
+					   function() {					 
+							document.forms[0].CMD.value = "";  
+							if(document.forms[0].PAGE_TYPE) {
+								document.forms[0].PAGE_TYPE.value = "";  
+							}
+							var s = document.forms[0].innerHTML;														
+							var form = $(submitForm);							
+							form.innerHTML = s + form.innerHTML;							
+							form.submit();					
+						}, 
+						false);    
+	}	
+}
+
+function GetResults()
+{
+    form = $("results");    
+    form.QUERY_INDEX.value = $("queryList")[$("queryList").selectedIndex].value;
+    form.submit();   
+}
+
+function isIdIn(id, idArray){
+  var idSeen=false;
+
+  for(i=0; i<idArray.length; i++){
+    if(id==idArray[i]){
+      idSeen=true;
+      break;
+    }
+  }
+  return idSeen;
+}
+
+function GetSelectedSeqString(formName)
+{
+    var selSeqs = "";
+    var idArray=new Array();
+    forms = document.getElementsByName(formName);    
+    for(var j=0; j < forms.length; j++){
+      for(var i=0; i < forms[j].elements.length; i++){
+        var theElem=forms[j].elements[i];
+        if(theElem.type=="checkbox"&&theElem.name=="getSeqGi"&&theElem.checked){      
+          if(!isIdIn(theElem.value, idArray)){            
+            idArray[idArray.length]=theElem.value;
+          }            
+        }      
+      }
+    }
+    selSeqs = idArray.join();
+    return selSeqs;
+}
+
+function ViewSelectedSeqs(e)
+{
+    var submitForm = $("submitterTop");
+    var targetForm = submitForm.getAttribute("seqsForm");
+    $("selSeqs").value = GetSelectedSeqString(targetForm);
+    submitForm.submit();
+    utils.preventDefault(e);
+}
+
+
+function ViewSelectedSeqTree()
+{
+    var submitForm = $("treesubmitterTop");
+    var targetForm = submitForm.getAttribute("seqsForm");
+    $("seqSet").value = GetSelectedSeqString(targetForm);
+    $("scrWidth").value = screen.width;
+    $("scrHeight").value = screen.height;
+    submitForm.submit();
+}
+
+function ViewTree(linkID) {
+    link = document.getElementById(linkID);
+    var target = link.target;
+    winRef = window.open(link.href + "&screenWidth=" + screen.width + "&screenHeight=" + screen.height, target);
+}
+
+function ViewSelectedSeqMultiAlign()
+{
+    var submitForm = $("multisubmitterTop");
+    var targetForm = submitForm.getAttribute("seqsForm");
+    $("seqSetM").value = GetSelectedSeqString(targetForm);    
+    submitForm.submit();
+}
+
+
+
+function selectAllSeqs()
+{
+    var formName = this.getAttribute("seqsForm");
+    forms = document.getElementsByName(formName);    
+    for(var j=0; j < forms.length; j++){
+        for(var i=0; i < forms[j].elements.length; i++){
+    //for(var i=0; i < document.forms[formName].elements.length; i++){
+            var theElem=forms[j].elements[i];
+            if(theElem.type=="checkbox"&&theElem.name=="getSeqGi"){     
+                theElem.checked=this.checked;
+            }
+        } 
+    }
+    links = document.getElementsByName("selectAll");
+    for(var i=0; i < links.length;i++) {
+        if(links[i] != this)  links[i].checked = this.checked;
+    }       
+}
+
+
+function InitSeqAlignLinks()
+{
+    var links = document.getElementsByName("getSeqs");
+    for(var i=0; i < links.length;i++) {
+        utils.addEvent(links[i],"click",ViewSelectedSeqs,false);  
+    }
+    links = document.getElementsByName("treeView");
+    for(var i=0; i < links.length;i++) {
+        utils.addEvent(links[i],"click",ViewSelectedSeqTree,false);  
+    }    
+    links = document.getElementsByName("mltiAln");
+    for(var i=0; i < links.length;i++) {
+        utils.addEvent(links[i],"click",ViewSelectedSeqMultiAlign,false);  
+    }        
+    links = document.getElementsByName("selectAll");
+    for(var i=0; i < links.length;i++) {
+        utils.addEvent(links[i],"click",selectAllSeqs,false);  
+    }   
+    
+    if($("showAlign"))
+        utils.addEvent($("showAlign"),"click",showHideLinks,false);  
+}
+
+function InitDownLoad()
+{
+    var deltaBlast = ($("diThresh") && $("diThresh").value != "") ? true : false;
+    if (!deltaBlast && ($("stepNumber").value == "" || $("stepNumber").value < 2)) {        
+        utils.addClass($("dnPSSMPar"),"hidden");        
+    }
+}
+function Reformat()
+{
+    if(utils.hasClass($("FormatForm").FORMAT_ORGANISM,"orgHint"))  $("FormatForm").FORMAT_ORGANISM.value = "";
+    
+    $("FormatForm").submit();    
+}
+function InitCustomButton(bn)
+{
+  utils.addEvent(bn, "mouseover", function() {this.src = this.getAttribute("mouseovImg");}, false);
+  utils.addEvent(bn, "mouseout", function() {this.src = this.getAttribute("mouseoutImg");}, false);
+  utils.addEvent(bn, "mousedown", function() {this.src = this.getAttribute("mousedownImg");}, false);
+  utils.addEvent(bn, "mouseup", function() {this.src = this.getAttribute("mouseupImg");}, false);    
+}
+
+function InitAllCustomButtons()
+{
+    if($("go")) InitCustomButton($("go"));
+    if($("dn")) InitCustomButton($("dn"));
+    if($("onPageReformat")) InitCustomButton($("onPageReformat"));    
+}
+function showHideLinks()
+{
+    var links = document.getElementsByName("selectAll");
+    for(var i=0; i < links.length;i++) {
+        //This is done since IE does not recognize getElementsByName for span elem
+        var allLinks = utils.getParent(links[i]);
+        var removeClass,addClass;
+        if(utils.hasClass(allLinks,"shownInl")) {        
+            removeClass="shownInl";    
+            addClass="hidden";        
+        }
+        else {
+            removeClass="hidden";
+            addClass="shownInl";        
+        }    
+        utils.removeClass(allLinks,removeClass);
+        utils.addClass(allLinks,addClass);   
+    }
+}
+/*remove this function */
+function InitHelpLinks()
+{
+    for(var i=1; i <= 11;i++) {           
+        InitToggleEvent($("hlp" + i));      
+    }
+}
+//This function is used for collapsible deflines onmouseover="showInfo(this)"
+//Initialized in showdefline.cpp
+function showInfo(elem)
+{
+    var targetElem = $("info_" + elem.id);
+    if(!targetElem) return;
+    if(elem.getAttribute("init") == "on") return;
+    
+    Toggle.addTarget(elem, targetElem);  
+    elem.setAttribute("init","on");    
+}
+
+function InitPsiBlast()
+{
+    //utils.addEvent($("ttt"),"keyup",SetHitlistSize,false);  
+    var hts = document.getElementsByName("HITLIST_SIZE");
+    for(var i=0; i < hts.length;i++) {    
+        utils.addEvent(hts[i],"keyup",SetHitlistSize,false);  
+    } 
+    if($("psiInp")) {
+        var numSubsets = $("psiInp").getAttribute("numSubsets");
+        for(var i=1; i <= numSubsets;i++) {
+            if ($("alnPos" + i)) InitToggleEvent($("alnPos" + i));  
+            if ($("deflnG" + i)) InitToggleEvent($("deflnG" + i));
+            if ($("deflnB" + i)) InitToggleEvent($("deflnB" + i));        
+        }         
+    }
+}
+
+function SetHitlistSize()
+{
+    var hts = document.getElementsByName("HITLIST_SIZE");
+    for(var i=0; i < hts.length;i++) {    
+        if(this != hts[i]) {
+            hts[i].value = this.value;
+        }
+    }    
+}
+function InitToggleEvent(toggleNode)
+{
+    if(toggleNode) {
+        var srcid = toggleNode.getAttribute("toggle");
+        if(srcid) Toggle.addTarget(srcid, toggleNode);  
+    }
+} 				
+
+function InitIFrameLinks()
+{
+    CheckIframe($("RSIFrameNoRes"),"prlink");
+    CheckIframe($("RSIFrameDesc"),"prlink");
+    CheckIframe($("RSIFrameAln"),"prlink");
+}
+
+function CheckIframe(iframe,contentElemID)
+{
+    if(!iframe) return;
+    
+    var iframeDoc;
+    
+    if(iframe.contentDocument) {//Firefox
+        iframeDoc = iframe.contentDocument;                
+    }
+    else if (iframe.contentWindow) {//IE
+        iframeDoc = iframe.contentWindow.document;                
+    }
+    else if(iframe.document) {
+        iframeDoc = iframe.document;                
+    }
+    if(iframeDoc){        
+        if(iframeDoc.getElementById(contentElemID)) {                        
+            utils.addClass(iframe,"shown");
+            utils.removeClass(iframe,"hidden");        
+        }           
+     }
+}    
+
+
+function InitHitMatrix()
+{
+    if($("bl2seImg")) {
+    
+        utils.addEvent($("hitmtImg"),"load",
+                        function() {                              
+						    utils.addClass($("bl2seImg"),"shown");
+                            utils.removeClass($("bl2seImg"),"hidden");                  
+                           
+						}, 
+						false);          
+        utils.addEvent($("showHitMatrix"),"click",
+                        function() {                            
+                            $("hitmtImg").src= $("hitmtImg").getAttribute("imgsrc");
+                            if(utils.hasClass($("htmb"),"shown")) {	                                
+							    utils.addClass($("htmb"),"hidden");
+                                utils.removeClass($("htmb"),"shown");                  
+                            }
+                            else {                                
+                                utils.addClass($("htmb"),"shown");
+                                utils.removeClass($("htmb"),"hidden");                  
+                            }
+						}, 
+						false);          
+        
+        if($("blastSpec") && $("blastSpec").value=="GlobalAln") {            
+            $("hitmtImg").src= $("hitmtImg").getAttribute("imgsrc");
+        }        
+    }   
+}    
+    
+    
+    
+	
+ 				
+function SetFormSubmitEvent()
+{
+    var el = $("refPage");
+    if(el) {
+	    SubmitEventNew("refPage");	
+	}
+	SubmitEventNew("frmPage");	
+	el = $("searchOptions");
+	if(el) {
+	    SubmitEventNew("searchOptions");	
+	}
+	el = $("saveSearchOptions");
+	if(el) {
+	    SubmitEventNew("saveSearchOptions");	
+	}
+	//SubmitEventNew("breadCrSearchOptions");	
+	list = $("queryList");
+	if(list) {
+        utils.addEvent(list,"change",GetResults,false);  
+    }
+    
+    list = $("go");
+	if(list) {
+        utils.addEvent(list,"click",GetResults,false);  
+    }
+    
+    
+    list= $("onPageReformat");
+    if(list) {
+        utils.addEvent(list,"click",Reformat,false);  
+    }
+
+    if ($("cddResults") && $("statInfo")) {
+        jQuery($("cddResults")).ncbitoggler('toggle');
+    }
+    //New design still uses toggle    
+    if ($("showCDD")) {
+        InitToggleEvent($("cddInfo"));
+    }
+    InitToggleEvent($("refInfo"));
+    InitToggleEvent($("resStat"));
+    InitToggleEvent($("dbDetails"));
+    InitToggleEvent($("graphicInfo"));
+    InitToggleEvent($("descrInfo"));
+    InitToggleEvent($("alignInfo"));
+    InitToggleEvent($("ovrInfo"));        
+    InitToggleEvent($("queryInfo"));        
+    InitToggleEvent($("hitMatrixInfo"));            
+    InitToggleEvent($("bl2ovrInfo"));    
+    //Init only for PSI blastfse
+    if($("prevRID")) InitPsiBlast();    
+    InitSeqAlignLinks();
+    InitAllCustomButtons();        
+    if($("dnPSSMPar")) InitDownLoad(); 
+    InitHitMatrix();
+    if($("noRes")) {
+        if($("hitCvs")) utils.addClass($("hitCvs"),"hidden");
+        if($("hitText")) utils.addClass($("hitText"),"hidden");
+    }
+    InitIFrameLinks();
+    showDbDetails(); //fill behind the scene    
+    if ($("showDetails") && utils.hasClass($("showDetails"), "shown")) {
+        utils.addEvent($("showDetails"), "click", showDbDetails, false);
+    }
+    initContentWidth();    
+}
+
+function initContentWidth() {
+    var lineLengthElem = $("FormatForm").LINE_LENGTH;
+    if (lineLengthElem) {
+        var lineLength = parseInt(lineLengthElem[lineLengthElem.selectedIndex].value);
+        if (parseInt(lineLengthElem.getAttribute("defval")) == lineLength) return;
+
+        var charWidth = (navigator.userAgent.match(/ie/i)) ? 8 : 7;
+        var minWidth = (lineLength + parseInt(17)) * charWidth;
+
+
+        var alignView = $("FormatForm").ALIGNMENT_VIEW;
+        var formatType = $("FormatForm").FORMAT_TYPE;
+        var queryAnch = formatType[formatType.selectedIndex].value == "HTML" && (alignView[alignView.selectedIndex].value != "Pairwise" && alignView[alignView.selectedIndex].value != "PairwiseWithIdentities");
+
+        var addWidth = ($("FormatForm").OLD_VIEW.checked || queryAnch) ? 250 : 350;
+
+        minWidth = minWidth + parseInt(addWidth) + "px";
+        jQuery($("content")).css("min-width", minWidth);
+    }
+    
+}
+
+
+
+
+
+function ShowHideAlnDeflines(alnID, checkbx) {
+    var dflTableID = "dln_" + alnID;
+    if ($(dflTableID)) {
+        var rmClass, addClass;
+        if (checkbx.checked) {
+            rmClass = "hidden";
+            addClass = "shown";
+        }
+        else {
+            rmClass = "shown";
+            addClass = "hidden";
+        }
+        var elems = $C(rmClass, "class", $(dflTableID), "tr");
+        if (elems) {
+            //alert(elems.length);
+            for (var i = 0; i < elems.length; i++) {
+                utils.removeClass(elems[i], rmClass);
+                utils.addClass(elems[i], addClass);
+            }
+        }
+    }
+}
+
+function SortAln(e, sortLink, sortItem) {
+    var p = utils.getParent(sortLink);
+    var p = utils.getParent(p);
+    p_TD = utils.getParent(p);
+    p_TR = utils.getParent(p_TD);
+    if (utils.hasClass(p_TR, "dflnAln")) {
+        p_TD.innerHTML = "Reading seqaligns...";
+        var gi = p_TD.id.substr(2);
+        var rid = p_TD.getAttribute("rid");
+        getAlignSort(rid, gi, p_TD, sortItem);
+        e = e || window.event;
+        utils.preventDefault(e);
+        return;
+    }
+    var links = document.getElementsByName("alnSort");
+    if (links.length >= sortItem) {
+        var href = links[sortItem].href.replace(new RegExp("selectAllTop.*(&|$)"), "");
+        var hrefLn = sortLink.href.replace(new RegExp(".*#"), "");
+        sortLink.href = href + hrefLn;
+    }
+}
+
+
+
+var fullArr;
+var numDbs;
+function showDbDetails(e,dbSetIndex) 
+{
+    if (!($("dbPlusSpecies"))) return; //No org display
+    if ($("dbPlusSpecies").getAttribute("init") == "on" && dbSetIndex == null) return;
+    $("dbPlusSpecies").setAttribute("init", "on");
+    
+    dbInfoUrl = "getDBInfo.cgi";
+    var rp = new RemoteDataProvider(dbInfoUrl);
+    rp.minArr = 10;
+
+    if (!fullArr) {
+        var arr = $("results").DATABASE.value.split(" ");
+        numDbs = arr.length;
+        if (arr.length > rp.minArr) {
+            fullArr = new Array();
+            while (arr.length > 1) {
+                var arrNew = arr.splice(0, rp.minArr); //does not include stopindex
+                fullArr.push(arrNew);
+            }
+            if (!dbSetIndex) dbSetIndex = 0;
+        }
+    }
+
+    rp.onSuccess = function(obj) {
+        var navDB = document.createElement("div");
+        if (fullArr) {
+            var prevLink, nextLink, firstLink, lastLink;
+            if (this.currDbSetIndex >= 1) {
+                var firstStart = 1;
+                var firstEnd = firstStart + fullArr[0].length - 1;
+                firstLink = document.createElement("a");
+                jQuery(firstLink).attr("href", "#");
+                jQuery(firstLink).attr("id", "firstDbSet");
+                jQuery(firstLink).attr("onclick", "showDbDetails(event,0);");
+                jQuery(firstLink).attr("title", "Databases " + firstStart + "-" + firstEnd);
+                jQuery(firstLink).html("First " + this.minArr + " dbs");
+
+            }
+            if (this.currDbSetIndex >= 1) {
+                var prevStart = (this.currDbSetIndex - 1) * this.minArr + 1;
+                var prevEnd = prevStart + fullArr[this.currDbSetIndex - 1].length - 1;
+                prevLink = document.createElement("a");
+                jQuery(prevLink).attr("href", "#");
+                jQuery(prevLink).attr("id", "prevDbSet");
+                jQuery(prevLink).attr("onclick", "showDbDetails(event," + (this.currDbSetIndex - 1) + ");");
+                jQuery(prevLink).attr("title", "Databases " + prevStart + "-" + prevEnd);
+                jQuery(prevLink).html("Prev " + this.minArr + " dbs");
+            }
+
+            if (this.currDbSetIndex < fullArr.length - 1) {
+                var nextStart = (this.currDbSetIndex + 1) * this.minArr + 1;
+                var nextEnd = nextStart + fullArr[this.currDbSetIndex + 1].length - 1;
+                nextLink = document.createElement("a");
+                jQuery(nextLink).attr("href", "#");
+                jQuery(nextLink).attr("id", "nextDbSet");
+                jQuery(nextLink).attr("onclick", "showDbDetails(event," + (this.currDbSetIndex + 1) + ");");
+                jQuery(nextLink).attr("title", "Databases " + nextStart + "-" + nextEnd);
+                jQuery(nextLink).html("Next " + this.minArr + " dbs");
+            }
+            if (this.currDbSetIndex < fullArr.length - 1) {
+                var lastInd = fullArr.length - 1;
+                var lastStart = numDbs - fullArr[lastInd].length;
+                var lastEnd = numDbs;
+                lastLink = document.createElement("a");
+                jQuery(lastLink).attr("href", "#");
+                jQuery(lastLink).attr("id", "lastDbSet");
+                jQuery(lastLink).attr("onclick", "showDbDetails(event," + lastInd + ");");
+                jQuery(lastLink).attr("title", "Databases " + lastStart + "-" + lastEnd);
+                jQuery(lastLink).html("Last " + this.minArr + " dbs");
+            }
+
+
+            jQuery(navDB).attr("id", "addDbSet");
+            if (firstLink) jQuery(navDB).append(firstLink);
+            if (prevLink) jQuery(navDB).append(prevLink);
+            if (lastLink) jQuery(navDB).append(lastLink);
+            if (nextLink) jQuery(navDB).append(nextLink);
+        }
+
+        jQuery($("dbPlusSpecies")).html(navDB);
+        jQuery(navDB).after(obj.responseText);
+        if (fullArr) {
+            var cap = jQuery($("dbSpecies")).find("caption");
+            if (cap) {
+                var currStart = (this.currDbSetIndex) * this.minArr + 1;
+                var currEnd = currStart + fullArr[this.currDbSetIndex].length - 1;
+                var capText = cap.html() + "<div class=\"cpAdd\"> Databases " + currStart + "-" + currEnd;
+                cap.html(capText);
+            }
+        }
+    };
+    rp.onError = function(obj) {
+        $("dbPlusSpecies").innerHTML += "error, requests:" + this.iActiveRequests + " status:" + obj.status;
+    }
+    var dbs;
+    if (fullArr) {
+        rp.currDbSetIndex = dbSetIndex;        
+        var currArr = fullArr[dbSetIndex];
+        dbs = currArr.join(",");
+    }
+    else {
+        dbs = $("results").DATABASE.value.replace(/ /g, ",");
+    }
+
+    rp.Request("CMD=getDBOrg&DATABASE=" + dbs, "POST");
+    if(e) utils.preventDefault(e);
+}
+
+function synchronizeCheck(id, formName, inputName, isChecked) {
+
+    for (var i = 0; i < document.forms[formName].elements.length; i++) {
+        var theElem = document.forms[formName].elements[i];
+        if (theElem.type == "checkbox" && theElem.name == inputName && id == theElem.value) {
+            theElem.checked = isChecked;
+
+        }
+    }
+
+}
+
+utils.addEvent(window,
+				"load", SetFormSubmitEvent,				
+				false);
+
+
+/* If user agent has "safari" in it, include safari-specific stylesheet. */ 
+if (navigator.userAgent.match(/safari/i) || navigator.userAgent.match(/opera/i)) {
+document.write("<link rel='stylesheet' type='text/css' href='css/safari-descriptions.css'  media='screen'/>");
+}
+if (navigator.userAgent.match(/opera/i)) {    
+document.write("<link rel='stylesheet' type='text/css' href='css/opera-descriptions.css'  media='screen'/>");
+}
+if (navigator.userAgent.match(/firefox/i) || navigator.userAgent.match(/safari/i)) {
+document.write("<link rel='stylesheet' type='text/css' href='css/firefox-descriptions.css'  media='screen'/>");
+}
+
+
+
Binary file NCBI Blast reference example_files/scale.gif has changed
Binary file NCBI Blast reference example_files/score.gif has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/toggle.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,174 @@
+
+Toggle = function(node) {
+   this.init(node);
+}
+
+/**
+* @class Creates a  new Toggle class with "node" as src
+* @return Reutrns a new toggle instance
+*/
+Toggle.prototype = {
+   
+   init: function(node) {
+
+      // Subclass instance?
+      if (typeof(arguments[0]) == 'undefined') return;
+
+      var oThis = this;
+      this.node = node;
+
+      // Initialize "showing" variable based on presence of "showing" or
+      // "hiding" class. If neither, then showing. Be sure class is
+      // set to reflect variable value
+      node.showing =
+         utils.hasClass(node, "showing") || !utils.hasClass(node, "hiding");
+      utils.addClass(node, node.showing ? "showing" : "hiding");
+   
+      // Set notifier for node
+      utils.addEvent(node, "click", function(e) {
+         e = e || window.event;
+         utils.preventDefault(e);
+
+         var theNode = utils.getTargetObj(e);
+
+         // Send message to global notifier, if one exists
+         if (typeof(Notifier) != 'undefined') {
+            var notifier = Notifier.getInstance();            
+            // Notify before change
+            notifier.Notify(oThis, "change:" + theNode.id, !this.showing);
+         }
+
+         // Hide or show based on current state
+         if (this.showing) {
+             oThis.hide();
+         } else {
+             oThis.show();
+         }
+
+      }, false);
+      
+      utils.addEvent(node, "selectstart", function(e) { utils.preventDefault(e); }, true);
+      utils.addEvent(node, "drag", function(e) { utils.preventDefault(e); }, true);
+
+      // Cache "this" for ID lookup
+      if (!node.id) {
+          node.id = utils.createNewId();
+      }
+      var m = Toggle.getSrcs();
+      m[node.id] = this;
+   },
+
+   // Hide targets, and set self to hiding.
+   hide: function() {
+       var oThis = this;
+
+       oThis.setHiding();
+       if (oThis.listeners) {
+           forEach(oThis.listeners, function(l) {
+               oThis.hideTarget(l);
+           });
+       }
+   },
+
+   // Show targets, and set self to showing.
+   show: function() {
+       var oThis = this;
+
+       oThis.setShowing();
+       if (oThis.listeners) {
+           forEach(oThis.listeners, function(l) {
+               oThis.showTarget(l);
+           });
+       }
+   },
+
+   // Set own presentation to "showing"
+   setShowing: function() {
+       utils.addClass(this.node, "showing");
+       utils.removeClass(this.node, "hiding");
+       this.node.showing = true;
+   },
+
+   // Set own presentation to "hiding"
+   setHiding: function() {
+       utils.addClass(this.node, "hiding");
+       utils.removeClass(this.node, "showing");
+       this.node.showing = false;
+   },
+
+   // Show a target
+   showTarget: function(l) {
+       utils.addClass(l, "shown");
+       utils.removeClass(l, "hidden");
+   },
+
+   // Hide a target
+   hideTarget: function(l) {
+      utils.addClass(l, "hidden");
+      utils.removeClass(l, "shown");
+   },
+
+   // Add a target to this toggle.
+   add: function(target) {
+      if (!this.listeners) {
+          this.listeners = new Array();
+      }
+      this.listeners[this.listeners.length] = target;
+
+      if (utils.hasClass(target, "hidden")) {
+        this.setHiding();
+        this.node.showing = false;
+      } else {
+        this.setShowing();
+        this.node.showing = true;
+      }
+   }
+}
+
+// Show/hide a "target" (a node controlled by the node with the given ID)
+Toggle.addTarget = function(srcid, target) {
+   var tn = Toggle.findOrMake(srcid);
+   tn.add(target);
+}
+
+// Assoc array of srcs indexed by their ids
+Toggle.getSrcs = function() {
+   if (!Toggle.srcs) {
+      Toggle.srcs = new Object();
+   }
+   return Toggle.srcs;
+}
+
+// Find or make toggle for given id
+Toggle.findOrMake = function(srcid) {
+   var ts = Toggle.getSrcs();
+   var tn = ts[srcid];
+   if (!tn) {
+      tn = new Toggle($(srcid));
+   }
+   return tn;
+}
+
+// This dispatches the call to Toggle.onload, which may be
+// overridden by instances (subclasses)
+Toggle._onload = function() {
+   Toggle.onload();
+}
+
+// A toggle source node controls other nodes that reference it by id using
+// their toggle= attribute. A node may be both a toggle source and destination.
+Toggle.onload = function() {
+//alert("toggle start");
+   if(utils.hasClass(document.body,"noToggleCheck")) return;
+      
+   shnodes = jQuery("[toggle]");
+   // Now hook up dst nodes
+   forEach(shnodes, function(node) {
+      // Link toggle node to its source
+      var srcid = node.getAttribute("toggle");
+      Toggle.addTarget(srcid, node);
+   });
+    //alert("toggle 2 end");
+}
+
+utils.addEvent(window, 'load', Toggle._onload, false);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NCBI Blast reference example_files/utils.js	Thu May 15 16:59:18 2014 +0200
@@ -0,0 +1,633 @@
+// $Id: utils.js,v 1.4 2014/02/26 14:47:32 zaretska Exp $
+    
+utils = {
+
+KeyCode_TAB: 9,
+KeyCode_DELETE: 46,
+KeyCode_BACKSPACE: 8,
+KeyCode_LEFT_ARROW: 37,
+KeyCode_RIGHT_ARROW: 39,
+KeyCode_HOME: 36,
+KeyCode_END: 35,
+KeyCode_PAGE_UP: 33,
+KeyCode_PAGE_DOWN: 34,
+KeyCode_UP_ARROW: 38,
+KeyCode_DOWN_ARROW: 40,
+KeyCode_ESC: 27,
+KeyCode_ENTER: 13,
+KeyCode_SPACE: 32,
+KeyCode_SHIFT_KEY: 16,
+KeyCode_CTRL_KEY: 17,
+KeyCode_ALT_KEY: 18,
+KeyCode_LEFT_MS_WINDOWS_KEY: 91, 
+KeyCode_RIGHT_MS_WINDOWS_KEY: 92,
+KeyCode_MS_MENU_KEY: 93,
+    
+isObject: function(a) { return (a && typeof a == 'object'); },
+
+isArray: function(a) { return this.isObject(a) && a.constructor == Array; },
+    
+insertInHtml: function(text, obj) {
+	if (document.all) {
+		obj.innerHTML += text;
+	} else {
+		var range = document.createRange();
+		range.setStartAfter(obj);
+		var docFrag = range.createContextualFragment(text);
+		obj.appendChild(docFrag);
+	}
+	
+},
+    
+replaceInHtml: function(text, obj) {
+	if (document.all) {
+		obj.innerHTML = text;
+	} else {
+		while (obj.hasChildNodes()) obj.removeChild(obj.firstChild);
+		var range = document.createRange();
+		range.setStartAfter(obj);
+		var docFrag = range.createContextualFragment(text);
+		obj.appendChild(docFrag);
+	}
+},
+    
+    
+getTargetObj: function(eEvent) {
+    var oTarget;
+    var e = eEvent || window.event;
+    if (e == null) return null;
+    if (e.srcElement == null)  {
+        oTarget = e.target;
+    } else {
+        oTarget = e.srcElement;
+    }
+    while ( oTarget && oTarget.nodeType != 1 ) oTarget = oTarget.parentNode;
+    return oTarget;
+},
+    
+
+
+
+getParent: function(obj) {
+     if (obj) {
+         var result = obj.parentNode;
+         while (result && result.nodeType != 1) result = result.nextSibling;
+         if (result) return result;
+     }
+     return null;
+},
+    
+getFirstChild: function(obj) {
+     if (obj) {
+         var result = obj.firstChild;
+         while (result && result.nodeType != 1) result = result.nextSibling;
+         if (result) return result;
+     }
+     return null;
+},
+    
+getNextSibling: function(obj, tagName) {
+    if (obj) {
+        var result = obj.nextSibling;    
+        if (tagName) {
+            var tn = tagName.toUpperCase();
+            while (result && result.tagName != tn) result = result.nextSibling;
+        } else {
+            while (result && result.nodeType != 1) result = result.nextSibling;
+        }
+        return result;
+    }
+    return null;
+},
+
+getPreviousSibling: function(obj, tagName) {    
+     if (obj) {
+         var result = obj.previousSibling;    
+         if (tagName) {
+             var tn = tagName.toUpperCase();
+             while (result && result.tagName != tn) result = result.previousSibling;
+         } else {
+             while (result && result.nodeType != 1) result = result.previousSibling;
+         }
+         return result;
+     }
+     return null;
+},
+    
+removeChildren: function(oObj) {
+     if (!oObj || typeof oObj != "object") return;
+     while(oObj.hasChildNodes()) oObj.removeChild(oObj.firstChild)
+},
+
+insertAfter: function(parent, node, referenceNode) {
+	parent.insertBefore(node, referenceNode.nextSibling);
+},
+
+nextItem: function(item, nodeName) {
+    if (item == null) return;
+    var next = item.nextSibling;
+    while (next != null) {
+        if (next.nodeName == nodeName) return next;
+        next = next.nextSibling;
+    }
+    return null;
+},
+
+previousItem: function(item, nodeName) {
+    var previous = item.previousSibling;
+    while (previous != null) {
+        if (previous.nodeName == nodeName) return previous;
+        previous = previous.previousSibling;
+    }
+    return null
+},
+
+moveBefore: function(item1, item2) {
+    var parent = item1.parentNode;
+    parent.removeChild(item1);
+    parent.insertBefore(item1, item2);
+},
+
+moveAfter: function(item1, item2) {
+    var parent = item1.parentNode;
+    parent.removeChild(item1);
+    parent.insertBefore(item1, item2 ? item2.nextSibling : null);
+},
+
+
+
+
+createCookie: function(name, value, days) {
+    if (days) {
+        var date = new Date();
+        date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
+        var expires = '; expires=' + date.toGMTString();
+    } else expires = '';
+    document.cookie = name + '=' + value + expires + '; path=/';
+},
+
+readCookie: function(name) {
+    var nameEQ = name + '=';
+    var ca = document.cookie.split(';');
+    for (var i = 0; i < ca.length; i++) {
+        var c = ca[i];
+        while (c.charAt(0)==' ') c = c.substring(1, c.length);
+        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
+    }
+    return "";
+},
+
+eraseCookie: function(name) {
+	document.cookie = name + "=null; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=nih.gov; path=/";
+	document.cookie = name + "; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=nih.gov; path=/";
+},
+
+addClass: function(element, className) {
+    if (!this.hasClass(element, className)) {
+        if (element.className) element.className += " " + className;
+        else element.className = className;
+    }
+},
+
+removeClass: function(element, className) {
+    var regexp = new RegExp("(^|\\s)" + className + "(\\s|$)");
+    element.className = element.className.replace(regexp, "$2");
+},
+
+hasClass: function(element, className) {
+    var regexp = new RegExp("(^|\\s)" + className + "(\\s|$)");
+    return regexp.test(element.className);
+},
+
+
+getXY: function (obj){
+     /*
+     +------------- w ----
+     | (x,y)
+     |
+     h
+     |
+     */
+     var b={x:0, y:0, w:obj.offsetWidth, h:obj.offsetHeight};
+     
+     if (obj.offsetParent) {
+         while(obj) {
+             b.x += obj.offsetLeft;
+             b.y += obj.offsetTop;
+             obj = obj.offsetParent;
+         }
+     } else if (obj.x) {
+         b.x = obj.x;
+         b.y = obj.y;
+     }
+     return b;
+},
+
+/* Based on ppk (untested) */
+getEventXY: function(e) {
+    var xpos = 0;
+    var ypos = 0;
+    e = e || window.event;
+    xpos = e.pageX || (e.clientX + document.body.scrollLeft + 
+                    document.documentElement.scrollLeft);
+    ypos = e.pageY || (e.clientY + document.body.scrollTop + 
+                    document.documentElement.scrollTop);
+    return {x: xpos, y: ypos};
+},
+
+drawText: function (sText, sId, add) {
+    if (!sId) sId = "debug";
+    var obj = document.getElementById(sId);
+    if (obj) {
+        if (add)
+            this.insertInHtml("<br/>" + sText, obj);
+        else
+            this.replaceInHtml(sText, obj);
+    }
+},
+
+
+selectRange: function (oObj /*:object*/, iStart /*:int*/, iLength /*:int*/) {
+    if (!(oObj && oObj.value)) return;
+    
+    if (oObj.createTextRange) {
+        //use text ranges for Internet Explorer
+        var oRange = oObj.createTextRange(); 
+        oRange.moveStart("character", iStart); 
+        oRange.moveEnd("character", iLength - oObj.value.length);      
+        oRange.select();
+    } else if (oObj.setSelectionRange) {
+        //use setSelectionRange() for Mozilla
+        oObj.setSelectionRange(iStart, iLength);
+    }     
+    //set focus back to the textbox
+    oObj.focus();      
+},
+ 
+getSelection: function() {
+     var text = "";
+     if (window.getSelection) {  
+         text += window.getSelection();
+     } else if (document.getSelection) {  
+         text += document.getSelection();
+     } else if (document.selection){        //IE
+         text += document.selection.createRange().text;
+     }
+     return text;
+},
+
+
+
+
+// http://ejohn.org/apps/jselect/event.html
+addEvent: function(obj, type, fn, b) {
+    if (obj.attachEvent) {
+        var name = "" + type + fn; 
+//        name = name.substring(0, name.indexOf("\n"));   // IE  This doesn't work
+        obj["e" + name] = fn;
+        obj[name] = function(){ obj["e" + name](window.event);}
+        obj.attachEvent("on" + type, obj[name]);
+    } else {
+        obj.addEventListener(type, fn, b);
+        return true;
+    }
+},
+
+
+removeEvent: function(obj, type, fn, b) {
+    if (obj.detachEvent) {
+        var name = "" + type + fn; 
+//        name = name.substring(0, name.indexOf("\n"));   //IE This doesn't work
+        if ("function" == typeof obj[name]) {
+            obj.detachEvent("on" + type, obj[name]);
+            obj[name] = null;
+            obj["e" + name] = null;
+        }
+    } else {
+      obj.removeEventListener(type, fn, b);
+      return true;
+    }
+},
+ 
+noBubbleEvent: function(e) {
+	if (e && e.stopPropagation) e.stopPropagation();
+	else window.event.cancelBubble = true;
+},
+
+targetEvent: function(e) {
+     if (e.srcElement == null) {
+         return e.target;
+     } else {
+         return window.event.srcElement;
+     }
+},
+
+preventDefault: function(e) {
+     if (e.preventDefault) e.preventDefault();
+     else window.event.returnValue = false;
+},
+
+relatedTarget: function(e) {
+    if (!e) var e = window.event;
+	if (e.relatedTarget)    return e.relatedTarget;
+	else if (e.toElement)   return e.toElement;
+    else if (e.fromElement) return e.fromElement;
+},
+
+readStyle: function(element, property) {
+    if (element.style[property]) {
+        return element.style[property];
+    } else if (element.currentStyle) {
+        return element.currentStyle[property];
+    } else if (document.defaultView && document.defaultView.getComputedStyle) {
+        var style = document.defaultView.getComputedStyle(element, null);
+        if (style) return style.getPropertyValue(property);
+    } 
+    return "";
+},
+
+
+printObj: function (oObj, iLevel) {
+     var s = "";
+     var sIdent = "";
+     if (!iLevel) iLevel = 0;
+     for (var i = 0; i < iLevel; i++) {
+         sIdent += "__";
+     }
+     for (var i in oObj) {
+         var ss = [];
+         if ("string" == typeof oObj[i]) {
+             ss = oObj[i].split("<");
+         }
+         s += sIdent + " " + i + " : [" + (typeof oObj[i]) + "] : " + ss.join("&lt;") + "<br/>";
+ //        if (oObj[i] && "object" == typeof oObj[i] && iLevel < 2) {
+ //            s+= "<br/>-----" + typeof oObj[i] + " --- " + iLevel + "</br>";
+ //            s += this.printObj(oObj[i], iLevel + 1); 
+ //        }
+     }
+     return s;
+},
+
+jsLoader:  {
+    sBase: "", /* Base is this directory */
+    oLoaded: [],
+    load: function (aScripts) {
+    
+       var oS = document.getElementsByTagName("script");
+       var k = 0;
+       for (var j = 0; j < oS.length; j++) {
+           if (oS[j].src == "") continue;
+           this.oLoaded[k++] = oS[j].src;
+       }
+
+        var oHead = document.getElementsByTagName("head")[0];
+
+        for (var i = 0; i < aScripts.length; i++) {
+            var sNewSrc = this.sBase + aScripts[i];
+            var oS = document.getElementsByTagName("script");
+            var b = true;
+            for (var j = 0; j < this.oLoaded.length; j++) {
+                if (sNewSrc == this.oLoaded[j]) {
+//                    alert(sNewSrc + " : already loaded");
+                    b = false;
+                }
+            }
+
+            if (b) {
+                var oScript = document.createElement("script");
+                oScript.src = sNewSrc;
+                oScript.setAttribute("type", "text/javascript");
+                oHead.appendChild(oScript);
+                this.oLoaded[this.oLoaded.length] = sNewSrc;
+            }
+        }
+    }
+},
+
+// Create an id that doesn't exist in this document
+createNewId: function()
+{
+   var newid = null
+
+   while (!newid || document.getElementById(newid)) {
+       newid = "XID" + Math.round(Math.random() * 65536).toString(16)
+   }
+   return newid
+}
+
+};
+	
+    
+String.prototype.trimSpaces = function(trimMode) {
+    // 0 = trim begin and end
+    // 1 = trim begin only
+    // 2 = trim after only
+
+    var targetString = this;
+    var iPos = 0;
+    if (!trimMode) trimMode = 0;
+    
+    if (trimMode==0 || trimMode==1) {
+        if (targetString.charAt(iPos)==" ") {
+            while(targetString.charAt(iPos)==" ") iPos++;
+            targetString = targetString.substr(iPos);
+        }
+    }
+
+    iPos = targetString.length-1;
+    if (trimMode==0 || trimMode==2) {
+        if (targetString.charAt(iPos) == " ") {
+            while(targetString.charAt(iPos) == " ") iPos--;
+            targetString = targetString.substr(0, iPos + 1);
+        }
+    }
+    return targetString;
+}
+
+
+
+
+/* Shortcuts */
+
+// Get elements by Id's
+function $() {
+  var elements = new Array();
+
+  for (var i = 0; i < arguments.length; i++) {
+    var element = arguments[i];
+    if (typeof element == 'string')
+      element = document.getElementById(element);
+
+    if (arguments.length == 1)
+      return element;
+
+    elements.push(element);
+  }
+
+  return elements;
+}
+
+// Get elements by AttributeValue for Attributename
+// http://www.dustindiaz.com/top-ten-javascript/ (but has some errors)
+function $C(attrValue, attrName, node, tag) {          
+    //alert([attrValue, attrName, node, tag])
+    if ("*" == attrValue) {
+        return $AN(attrName, node, tag);
+    }
+	var oElements = new Array();
+	if (!node) node = document;
+	if (!tag) tag = '*';
+	if (!attrName) attrName = 'class';
+    
+	var els = node.getElementsByTagName(tag);
+	var elsLen = els.length;
+	var pattern = new RegExp("(^|\\s)" + attrValue + "(\\s|$)");
+    var j = 0;
+	for (i = 0; i < elsLen; i++) {
+		if (attrName == "class" && pattern.test(els[i].className)) {
+            // IE behavior
+//            oElements.push(els[i]);
+            oElements[j++] = els[i];
+		} else if (pattern.test(els[i].getAttribute(attrName))) {
+			oElements[j++] = els[i];
+//			oElements.push(els[i]);
+		}
+	}
+    return oElements;
+}
+
+
+function $AN(attrName, node, tag) {
+	var oElements = new Array();
+	if (node == null) node = document;
+	if (tag == null)tag = '*';
+	var els = node.getElementsByTagName(tag);
+	for (i = 0; i < els.length; i++) {
+		if (els[i].getAttribute(attrName) != null) {
+			oElements.push(els[i]);
+		}
+	}
+	return oElements;
+}
+
+function dump(aMessage) {
+  var consoleService = Components.classes["@mozilla.org/consoleservice;1"]
+                                 .getService(Components.interfaces.nsIConsoleService);
+  consoleService.logStringMessage(aMessage);
+}
+
+
+// forEach iterators from Dean Edwards: http://dean.edwards.name/weblog/2006/07/enum/
+// generic enumeration
+Function.prototype.forEach = function(object, block, context) {
+    for (var key in object) {
+        if (typeof this.prototype[key] == "undefined") {
+            block.call(context, object[key], key, object);
+        }
+    }
+};
+
+// globally resolve forEach enumeration
+var forEach = function(object, block, context) {
+    if (object) {
+        var resolve = Object; // default
+        if (object instanceof Function) {
+            // functions have a "length" property
+            resolve = Function;
+        } else if (object.forEach instanceof Function) {
+            // the object implements a custom forEach method so use that
+            object.forEach(block, context);
+            return;
+        } else if (typeof object.length == "number") {
+            // the object is array-like
+            resolve = Array;
+        }
+        resolve.forEach(object, block, context);
+    }
+};
+
+//
+// Update Array class to JS 1.5 if not yet there.
+//
+
+// array-like enumeration
+if (!Array.forEach) { // mozilla already supports this
+    Array.forEach = function(object, block, context) {
+        for (var i = 0; i < object.length; i++) {
+            block.call(context, object[i], i, object);
+        }
+    };
+}
+
+if (!Array.prototype.indexOf)
+	Array.prototype.indexOf = function(item, startIndex) {
+		var len = this.length;
+		if (startIndex == null)
+			startIndex = 0;
+		else if (startIndex < 0) {
+			startIndex += len;
+			if (startIndex < 0)
+				startIndex = 0;
+		}
+		for (var i = startIndex; i < len; i++) {
+			var val = this[i] || this.charAt && this.charAt(i);
+			if (val == item)
+				return i;
+		}
+		return -1;
+	};
+
+if (!Array.prototype.lastIndexOf)
+	Array.prototype.lastIndexOf = function(item, startIndex) {
+		var len = this.length;
+		if (startIndex == null || startIndex >= len)
+			startIndex = len - 1;
+		else if (startIndex < 0)
+			startIndex += len;
+		for (var i = startIndex; i >= 0; i--) {
+			var val = this[i] || this.charAt && this.charAt(i);
+			if (val == item)
+				return i;
+		}
+		return -1;
+	};
+
+if (!Array.prototype.map)
+	Array.prototype.map = function(func, thisVal) {
+		var len = this.length;
+		var ret = new Array(len);
+		for (var i = 0; i < len; i++)
+			ret[i] = func.call(thisVal, this[i] || this.charAt && this.charAt(i), i, this);
+		return ret;
+	};
+
+if (!Array.prototype.filter)
+	Array.prototype.filter = function(func, thisVal) {
+		var len = this.length;
+		var ret = new Array();
+		for (var i = 0; i < len; i++) {
+			var val = this[i] || this.charAt && this.charAt(i);
+			if(func.call(thisVal, val, i, this))
+				ret[ret.length] = val;
+		}
+		return ret;
+	};
+
+if (!Array.prototype.every)
+	Array.prototype.every = function(func, thisVal) {
+		var len = this.length;
+		for (var i = 0; i < len; i++)
+			if (!func.call(thisVal, this[i] || this.charAt && this.charAt(i), i, this))
+				return false;
+		return true;
+	};
+
+if (!Array.prototype.some)
+	Array.prototype.some = function(func, thisVal) {
+		var len = this.length;
+		for (var i = 0; i < len; i++)
+			if (func.call(thisVal, this[i] || this.charAt && this.charAt(i), i, this))
+				return true;
+		return false;
+	};
+
Binary file NCBI Blast reference example_files/white.gif has changed