<?xml version="1.0" encoding="UTF-8"?>
<Module>

<ModulePrefs title="University of Wisconsin-Whitewater Library" title_url="http://library.uww.edu/" height="300" scrolling="true" width="275" scaling="false" author="UWW Library" author_email="fragolap@uww.edu" description="Use this gadget to search the resources available at the University of Wisconsin-Whitewater Library."
screenshot="http://library.uww.edu/image/screenshot_big.png" thumbnail="http://library.uww.edu/image/screenshot_small.png" >

<Require feature="tabs" />
</ModulePrefs>


<Content type="html">
<![CDATA[
<style>
li {
font-size:12px;margin:3px;
}

.tablib_unselected__MODULE_ID__ {
background-color:#660066;
color:#fff;
font-size:12px;
font-weight: bold;
}
.tablib_selected__MODULE_ID__ {
background-color:#fff;
font-size:12x;
font-weight: bold;
color:#660066;
}
</style>

<script type="text/javascript">
// Initialize tabs, designate the tab named "Two" as // the tab selected by default.
var tabs = new _IG_Tabs(__MODULE_ID__, "Search"); function init() {

// Technique #2: Create the tab and define a corresponding <div> in the // HTML portion of the gadget. Add static content to the <div>.
tabs.addTab("Search", "two_id");

// Technique #2: Create the tab and define a corresponding <div> in the // HTML portion of the gadget. Add static content to the <div>.
tabs.addTab("Help", "three_id");
}

// Call init function to initialize and display tabs.
_IG_RegisterOnloadHandler(init);
</script>

<script>
function OnSubmitForm() {
switch(uwwsearch.engine.value)
{
case "uwwkeyword":
document.catalog.Search_Arg.value = document.uwwsearch.query.value; document.catalog.submit(); break; case "2":
break;
case "articles":
document.articles.find_request_1.value = document.uwwsearch.query.value; 
document.articles.submit();
break;
case "4":
break;
case "jh":
document.jh.title.value = document.uwwsearch.query.value; document.jh.submit(); break; case "6":
break;
default:
alert(uwwsearch.engine.value)
}
return false;
}
</script>

<div id="two_id" style="display:none">
<p style="background-color:#660066;font-size:18px; color:#fff;">
  <img src="http://library.uww.edu/image/UWW_logo.png" style="border:0px;">
  University Library @ UWW
</p>
<center>
<form onSubmit="return OnSubmitForm();" name="uwwsearch">
<label for="query"> SEARCH: </label>
<select name="engine" size="1" id="engine"> <option selected="selected" value="uwwkeyword">UWW Catalog (keyword)</option> <option value="articles">Articles</option> <option value="jh">Journal Holdings List</option>  </select> <br /> <br /> <input type="text" name="query" id="query" /> <input type="submit" id="GO" value="GO" /> </p> </form>

<form target="_blank" method="post" action="https://libproxy.uww.edu:9443/form?qurl=http%3a%2f%2fwtwlib.wisconsin.edu%2fcgi-bin%2fPwebrecon.cgi" name="catalog" style="display:none;"> <input name="Search_Arg" type="hidden" /> <input name="Search_Code" type="hidden" value="^GKEY" /> <input type="hidden" name="DB" value="local" /> <input type="hidden" name="SL" value="none" /> <input type="hidden" name="CNT" value="50" /> </form> 
<form target="_blank" method="post" action="https://libproxy.uww.edu:9443/form?qurl=http%3a%2f%2flibrary.uww.edu%2fsfx%2fshowsfx.php" name="jh" style="display:none;"> <input name="title" type="hidden" /> </form>
<form target="_blank" method="post" action="https://libproxy.uww.edu:9443/form?qurl=http%3a%2f%2fmetalib.wisconsin.edu%3a80%2fV%2f " name="articles" style="display:none;">
		<input type="hidden" name="func" value="quick-1-check1" />
		<input type="hidden" name="mode" value="simple" />
		<input type="hidden" name="group_number" value="000001740" />
		<input type="hidden" name="find_request_1" />
</form>
</center>
<center>
<p>
<a href="http://library.uww.edu/myaccounts.html" target="_blank">
Check Your Accounts
</a>
</ p>
<ul >
<p style="color:#660066; font-weight: bold; ">
Search:</style>
<li>
<a href="https://libproxy.uww.edu:9443/login?url=http://wtwlib.wisconsin.edu/cgi-bin/Pwebrecon.cgi?DB=local&PAGE=rbSearch" target="_blank">
Reserves
</a></li>
<li>
<a href="http://library.uww.edu/indexes/index.html" target="_blank">
Indexes and Databases
</a></li>
<li><a href="http://wtwlib.wisconsin.edu/cgi-bin/Pwebrecon.cgi?DB=local&PAGE=dbPage" target="_blank">
UW Libraries
</a></li>
<li><a href="https://libproxy.uww.edu:9443/login?url=http://firstsearch.oclc.org/autho=100197487;done=http://library.uww.edu/;FSIP&db=worldcat" target="_blank">
WorldCat
</a></li>
</ul>
</p>
</center>
</div>
<center>
<div id="three_id" style="display: none" ><p style="background-color:#660066; ">
<p style="background-color:#660066;font-size:18px; color:#fff;">
  <img src="http://library.uww.edu/image/UWW_logo.png" style="border:0px;">
  University Library @ UWW
</p>
 <br /> <br />
<center>
<table cellpadding="4">
<tr>
<td>
<ul>
<li>
<a href='http://library.uww.edu/hours.html' target='_blank'>Hours
</a></li>
<li><a href='http://library.uww.edu/guides/faq.html' target='_blank'> FAQ
</a></li>
<li><a href='http://library.uww.edu/askwi/askwi.html' target='_blank'>Ask a Librarian
</a></li>
</td>
<td>
<ul>
<li>
<a href='http://library.uww.edu/guides/index.html' target='_blank'>Guides
</a></li>
<li><a href='http://library.uww.edu/guides/index.html#cite' target='_blank'>Citations
</a></li>
<li><a href="https://libproxy.uww.edu:9443/login?url=http://library.uww.edu/sfx/showsfx.php" target="_blank"> Journal Holdings
</a></li>
</td>
</table>
<p> <a href="http://blogs.uww.edu/library/" target="_blank">University Library Blog
</a></p>
</center>
</div>
 ]]> </Content> </Module>

