function mouseOver(row){
var trBg = document.getElementById("jqTabContent").getElementsByTagName("table")[0].rows;
//alert(trBg.length);
trBg[row].onmouseover = function(){this.style.backgroundColor = "#f7fcfe";document.getElementById("buybt"+row).src = "../images/btn_buy2.gif";}
}
function mouseOut(row){
var trBg = document.getElementById("jqTabContent").getElementsByTagName("table")[0].rows;
trBg[row].onmouseout = function(){this.style.backgroundColor = "";document.getElementById("buybt"+row).src = "../images/btn_buy1.gif";}
}
</script>
<script type="text/javascript">
var mydrop;
var myclose;
var searchdiv = document.getElementById("searchdiv");
var temp;
var acc;
var divheight = $("searchtop").offsetHeight + $("searchcont").offsetHeight + $("searchbottom").offsetHeight;
function display_search(){
var speed = 1;
acc = 0;
searchdiv.style.height = searchdiv.offsetHeight + "px"; 
//alert(divheight);
window.scrollTo(0,200);
if(searchdiv.offsetHeight < divheight){mydrop = setInterval("Drop()",speed)}
}
function Drop(){
acc += 25;
temp = 0;
temp += acc + 25;
if(temp >= divheight){
searchdiv.style.height = divheight + "px";clearInterval(mydrop);
return;
}
//alert(searchdiv.style.height);
//alert(temp);
searchdiv.style.height = temp + "px";
}
function close_search(){
var speed = 1;
temp = divheight;
acc = 0;
if(searchdiv.offsetHeight > 0){myclose = setInterval("Close()",speed)}
}
function Close(){
acc += 20;
temp -= acc + 10;
if(temp <= 0){searchdiv.style.height = 0 + "px";clearInterval(myclose);return;}
searchdiv.style.height = temp + "px";
}
function SetQueryDomain(){
var d_name = "";
var d_prefix = "";
if(d_name =="" || d_prefix ==""){
return;
}else{
if(d_prefix.indexOf(",") != -1){
var pre = d_prefix.split(",");
var checks = document.getElementById("dsrs1").getElementsByTagName("input");
for(var i= 0; i< checks.length; i++){
if(checks[i].getAttribute("type")=="text"){
checks[i].value = d_name;
}
if(checks[i].getAttribute("type")=="checkbox"){
checks[i].checked = false;
}}
for(var i = 0; i<pre.length; i++){
for(var j = 0; j<checks.length; j++){
if(checks[j].getAttribute("type") == "checkbox"){
if(pre[i] == checks[j].value){
checks[j].checked = true;
}}}}}else{
return;
}}}
SetQueryDomain();
var whois = "";
if(whois != ""){
switchTag('tag3','content3');
SetWhois();
}
function SetWhois(){
   document.getElementById("d_get").value = whois;
}