function BrowserCheck() {
var b = navigator.appName;
if (b == "Netscape") this.b = "NS";
else if (b == "Microsoft Internet Explorer") this.b = "IE";
else this.b = b;
this.v = parseInt(navigator.appVersion);
this.NS = (this.b == "NS" && this.v>=4);
this.NS4 = (this.b == "NS" && this.v == 4);
this.NS5 = (this.b == "NS" && this.v == 5);
this.IE = (this.b == "IE" && this.v>=4);
this.IE4 = (navigator.userAgent.indexOf('MSIE 4')>0);
this.IE5 = (navigator.userAgent.indexOf('MSIE 5')>0);
if (this.IE5 || this.NS5) this.VER5 = true;
if (this.IE4 || this.NS4) this.VER4 = true;
this.OLD = (! this.VER5 && ! this.VER4) ? true : false;
this.min = (this.NS||this.IE);
}
is = new BrowserCheck();
alertBox = (is.VER5) ? document.getElementById("alertLayer").style
: (is.NS) ? document.layers["alertLayer"]
: document.all["alertLayer"].style;

function hideAlert(){
alertBox.visibility = "hidden";}
  function makeAlert(aTitle,aMessage){
document.all.alertLayer.innerHTML = "<table border=0 width=100% height=100%>" +
"<tr height=5><td colspan=4 class=alertTitle>" + " " + aTitle + "</td></tr>" +
"<tr height=5><td width=5></td></tr>" +
"<tr><td width=5></td><td width=20 align=left><img src='images/logo.jpg'></td><td align=center class=alertMessage>" + aMessage + "<BR></td><td width=5></td></tr>" + 
"<tr height=5><td width=5></td></tr>" +
"<tr><td width=5></td><td colspan=2 align=center><input type=button value='OK' onClick='hideAlert()' class=okButton><BR></td><td width=5></td></tr>" +
"<tr height=5><td width=5></td></tr></table>";
thisText = aMessage.length;
if (aTitle.length > aMessage.length){ thisText = aTitle.length; }

aWidth = (thisText * 5) + 80;
aHeight = 100;
if (aWidth < 150){ aWidth = 200; }
if (aWidth > 350){ aWidth = 350; }
if (thisText > 60){ aHeight = 110; }
if (thisText > 120){ aHeight = 130; }
if (thisText > 180){ aHeight = 150; }
if (thisText > 240){ aHeight = 170; }
if (thisText > 300){ aHeight = 190; }
if (thisText > 360){ aHeight = 210; }
if (thisText > 420){ aHeight = 230; }
if (thisText > 490){ aHeight = 250; }
if (thisText > 550){ aHeight = 270; }
if (thisText > 610){ aHeight = 290; }

alertBox.width = aWidth;
alertBox.height = aHeight;
alertBox.left = (document.body.clientWidth - aWidth)/2;
alertBox.top = (document.body.clientHeight - aHeight)/2;

alertBox.visibility = "visible";
}
function fntop()
{
var str="";
str=str+"<table border='0' cellspacing='0' cellpadding='0'><tr>";
str=str+"<td><img src='images/top.png' border='0' usemap='#mp'></td>";
str=str+"</tr>";
str=str+"<tr>";
str=str+"<tr>";
str = str +"<td><table width='100%' bgcolor='#333333' cellpadding='0' cellspacing='1' border='0'><tr> <td><a href='index.asp'><img src='images/home.png' border='0'></a></td><td><a href='Qsrch.asp'><img src='images/quick.png' title='Quickly retrieve data with few keywords' border='0'></a></td><td><a href='advanced.asp'><img src='images/advan.png' title='Perform an in-depth search using Boolean operators' border='0'></a></td><td><a href='Logout.asp'><img src='images/log.png' border='0'></a></td><td><a href='contact.asp' target='blank'><img src='images/contact.png' border='0'></a></td></tr></table></td>"
//str=str+"<td><a href='index.asp'><img src='images/home.png' border='0'></a><a href='Qsrch.asp'><img src='images/quick.png' title='Quickly retrieve data with few keywords' border='0'></a><a href='advanced.asp'><img src='images/advan.png' title='Perform an in-depth search using Boolean operators' border='0'></a><a href='Logout.asp'><img src='images/log.png' border='0'></a><a href='contact.asp' target='blank'><img src='images/contact.png' border='0'></a></td>";
str=str+"</tr>";
str=str+"</table>";
str = str + "<map name='mp'>"
str = str + "<area shape='circle' coords='734,77,10' href='index.asp' title = 'Litigation home page'>"
str = str + "<area shape='poly' coords=15,74,16,67,16,58,15,47,15,39,18,39,22,43,27,46,33,44,36,41,41,37,45,34,50,26,52,28,51,34,48,39,54,36,62,37,64,41,69,43,68,49,68,56,57,60,53,60,52,64,52,66,52,70,52,73,49,74' href='http://www.maxval-soft.com' target='blank'  title = 'MaxVal-IP home page'>"
//str = str + "<area shape='rect' coords='12,33,71,78' href='#'>"
str = str + "</map>"
document.write(str);
}
function fntop2()
{
var str="";
str=str+"<table border='0' cellspacing='0' cellpadding='0'><tr>";
str=str+"<td><img src='images/top1.png' border='0' usemap='#mp'></td>";
str=str+"</tr>";
str=str+"<tr>";
str=str+"<tr>";
str = str +"<td><table width='100%' bgcolor='#333333' cellpadding='0' cellspacing='1' border='0'><tr> <td><a href='index.asp'><img src='images/home1.png' border='0'></a></td><td><a href='Qsrch.asp'><img src='images/quick1.png' title='Quickly retrieve data with few keywords' border='0'></a></td><td><a href='advanced.asp'><img src='images/advan1.png' title='Perform an in-depth search using Boolean operators' border='0'></a></td><td><a href='Logout.asp'><img src='images/log1.png' border='0'></a></td><td><a href='contact.asp' target='blank'><img src='images/contact1.png' border='0'></a></td></tr></table></td>"
//str=str+"<td><a href='index.asp'><img src='images/home.png' border='0'></a><a href='Qsrch.asp'><img src='images/quick.png' title='Quickly retrieve data with few keywords' border='0'></a><a href='advanced.asp'><img src='images/advan.png' title='Perform an in-depth search using Boolean operators' border='0'></a><a href='Logout.asp'><img src='images/log.png' border='0'></a><a href='contact.asp' target='blank'><img src='images/contact.png' border='0'></a></td>";
str=str+"</tr>";
str=str+"</table>";
str = str + "<map name='mp'>"
str = str + "<area shape='circle' coords='849,85,12' href='index.asp' title = 'Litigation home page' >"
str = str + "<area shape='poly' coords=15,74,16,67,16,58,15,47,15,39,18,39,22,43,27,46,33,44,36,41,41,37,45,34,50,26,52,28,51,34,48,39,54,36,62,37,64,41,69,43,68,49,68,56,57,60,53,60,52,64,52,66,52,70,52,73,49,74' href='http://www.maxval-soft.com' target='blank'   title = 'MaxVal-IP home page'>"
//str = str + "<area shape='rect' coords='12,33,71,78' href='#'>"
str = str + "</map>"
document.write(str);
}
function fntop1()
{
var str="";
str=str+"<table border='0' cellspacing='0' cellpadding='0'><tr>";
str=str+"<td><a href='http://www.maxval-soft.com/homepage.htm' target='blank'><img src='images/top_01a.jpg' width='39' height='50' border='0'></a><img src='images/top_02a.jpg' width='1' height='50'><a href='http://www.maxval-soft.com/homepage.htm' target='blank'><img src='images/top_03a.jpg' width='143' height='50' border='0'></a><img src='images/top_04a.jpg' width='1' height='50'><img src='images/top_05a.jpg' width='221' height='50'><img src='images/top_06a.jpg' width='1' height='50'><img src='images/top_07a.jpg' width='173' height='50'><img src='images/top_08a.jpg' width='1' height='50'><img src='images/top_09a.jpg' width='74' height='50'><img src='images/top_10a.jpg' width='1' height='50'><img src='images/top_11a.jpg' width='95' height='50'></td>";
str=str+"</tr>";
str=str+"<tr>";
str=str+"<tr>";
str=str+"<td><a href='index.asp'><img src='images/buttons_01.jpg' border='0'></a><img src='images/buttons_02.jpg'><a href='Qsrch.asp'><img src='images/buttons_03.jpg' title='Quickly retrieve data with few keywords' border='0'></a><img src='images/buttons_04.jpg'><a href='advanced.asp'><img src='images/buttons_05.jpg' title='Perform an in-depth search using Boolean operators' border='0'></a><img src='images/buttons_06.jpg'><a href='Logout.asp'><img src='images/buttons_07.jpg' border='0'></a><img src='images/buttons_08.jpg'><a href='contact.asp' target='blank'><img src='images/buttons_09.jpg' border='0'></a></td>";
str=str+"</tr>";
str=str+"</table>";
document.write(str);
}

function fnbottom()
{
var str="";
str=str+"<table width='750' border='0' cellspacing='0' cellpadding='0'><tr bgcolor='#DBE3E6'><td width='50%' align='left'><a href='terms.asp' target='blank'><span class='styled'>Terms & Conditions</span></a></td> <td width='50%' align='right' ><div align='right'><a href='http://maxval-ip.com/' target='blank'><span class='styled'>Copyright &copy;  MaxVal-IP 2006</span></a></div></td></tr></table>";
document.write(str);
}
function fnbottom1()
{
var str="";
str=str+"<table width='750'><tr bgcolor='#A46F1C'> <td colspan='2'><div align='right'><span class='styled'>Copyright &copy;  MaxVal-IP 2006</span></div></td></tr></table>";
document.write(str);
}

 