6 WRAPPER html/head title='Evergreen';
7 INCLUDE opac/pages/chunks/css_includes.ttk;
8 #"<script language='javascript' src='/js/opac/OPACStartPage.js'></script>";
12 WRAPPER html/body id='body' onload='pageInit();';
16 img( src='/images/main_logo.jpg');
20 INCLUDE opac/pages/chunks/org_tree.ttk;
25 # ---------------------------------------------------------------------------
27 # ---------------------------------------------------------------------------
30 WRAPPER html/div id='front_search_form';
32 span(id='now_searching_cell', class='front_now_searching');
36 input( type='hidden', name='target', value='mr_result');
37 input( type='hidden', name='page', value='0');
39 input(id='mr_search_query', name='mr_search_query',
40 type='textarea', size='54' );
41 #onkeydown='logicNode.mrSearchSubmitOnEnter(event); event.preventDefault = true; event.cancelBubble=true;'); # overwite this onkeydown if !IE XXX
45 PROCESS stype_selector;
47 PROCESS location_input;
52 input(type='submit', id='mr_search_button',
53 value="Search", onclick='alert("help");' );
61 anchor( id='login_link', href='?target=my_opac', text = "My OPAC" );
63 anchor( id='adv_search_link', href='?target=advanced_search', text = "Advanced Search" );
69 # ---------------------------------------------------------------------------
71 # ---------------------------------------------------------------------------
73 WRAPPER html/select name='mr_search_type' id='mr_search_type';
74 option(value='title', selected='selected', content="Title");
75 option(value='author', content='Author');
76 option(value='subject', content='Subject');
77 option(value='keyword', content='Keyword');
78 option(value='series', content='Series');
82 WRAPPER html/select name='format' id='mr_search_format';
83 option(value='all', selected='selected', content="All Formats");
84 option(value='at', content="Books");
85 option(value='at-d', content="Large Print Books");
86 option(value='i', content="Audiobooks");
87 option(value='g', content="Video Recording");
88 option(value='j', content="Music");
89 option(value='m', content="Electronic Resources");
96 # ---------------------------------------------------------------------------
98 # ---------------------------------------------------------------------------
100 input( type='submit', name='tree_button', value="Location", id='location_select_button');
104 # ---------------------------------------------------------------------------
106 # ---------------------------------------------------------------------------
112 name='search_range_select'
113 id='search_range_select'
114 onchange='logicNode.globalSearchDepth = this.options[this.selectedIndex].value;';
121 <script language='javascript'>
122 var obj = document.getElementById("location_select_button");
123 obj.onclick = function(evt) {
124 evt = (evt) ? evt : ((window.event) ? event : null);
125 var target = (evt.target) ? evt.target : evt.srcElement;
127 globalPage.locationTree.toggle(target, 0, 0);