<?xml version="1.0" encoding="UTF-8" ?> 
<Module>
<ModulePrefs
    title="Whois DP.UA"
    title_url="http://whois.dp.ua"
    description="DP.UA public domain whois"
    category="technology"
    category2="tools"
    author="Vladimir Kiyan"
    author_location="Dnepropetrovsk, UA"
    author_email="vladimir@kiyan.dp.ua"
    author_link="http://kiyan.dp.ua"
    height="80">
    <Require feature="dynamic-height"/>
</ModulePrefs>
<Content type="html">
<![CDATA[ 
<style type="text/css">
  body {font-family: Arial, Helvetica, sans-serif;}
  #whois_content {font-size: 70%; padding-left: 0.5em;}
  #whois_menu {padding-left: 0.3em;}
  fieldset {border: #26A solid 1px; width: 80%; height: 3.5em; background-color: #f0f5ff; padding: 5px; margin: 5px;}
  fieldset legend {color: #FFFFFF; padding: 1px 10px; font-weight: bold; font-size: 0.8em; margin-bottom: 10px;border: #26A solid 1px; background: #0577B3; -moz-border-radius: .5em .5em .2em .2em;}
  input[type=text] {width: 70%;}
  pre {font-size: 1.3em;}
  a {font-size: 13px; text-decoration: none; font-weight: bold; color: #0567B3;}
  a:link, a:active, a:visited {color: #0567B3;}
  a:active {text-decoration: underline;}
</style>

<fieldset><legend>Domain name<span id="whois_searched"></span></legend>
<form style="margin:0px" onsubmit="name_search(_gel('whois_string').value);return false">
<input type="text" id="whois_string">
<input type="submit" value="Search">
</form>
</fieldset>

<div id="whois_content" style="width:100%;overflow:auto"></div>

<span id="whois_menu">&#91;<a href="http://nic.dp.ua/index.html#rules" title="Rules of DP.UA" target=" _blank">rules</a>&#93; &#91;<a href="http://nic.dp.ua/reg-list.html" title="DP.UA registrators list" target=" _blank">registrators</a>&#93;</span>

<script>
function name_search($name) {
    _IG_FetchContent('http://whois.dp.ua/whois.php?name='+escape($name)+'&stamp='+(new Date()).getTime(), function ($results) {
	_gel('whois_searched').innerHTML = ': '+$name;
	_gel('whois_content').innerHTML = $results;
	_IG_AdjustIFrameHeight();
    });
}

_IG_RegisterOnloadHandler(function() {
    _IG_AdjustIFrameHeight();
});
</script>
]]>
</Content> 
</Module>

