function mainmenu(s)
{
var str;
      
    str = ""
        str = str + "<table cellpadding=0 cellspacing=0 style='width: 948px; height: 100px;'>"
        str = str + "<tr>"
        str = str + "<td style='height:100px'>"
        str = str + "<div style='float:left; width:230px; height:100px' > "
        str = str + "<IMG  src='img/widerlogo.gif' border=0>"
        str = str + "</div>"
        str = str + "<div style='float:left; width:710px; height: 35px;' align=right>"
        str = str + "<div style='height:10px; width:710px'>"
         str= str + "<a href='home.html' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str = str + "<img src='img/hm_ico.gif' border=0 />   "
        str= str + "<a href='mailto:information@widernetworks.com' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str = str + " <img src='img/contactus.gif' border=0 /> "
        str= str + "<a href='#' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str = str + "  <img src='img/sitemap.gif' border=0 />"
        str = str + "</div>"
        str = str + "<div style='padding-top:10px; height: 15px; width:710px' >"
        str = str + "<TABLE cellSpacing=0 cellPadding=0 border=0; height=41px; style='font-size:12px; width: 710px;'>"
        str = str + "<TBODY>"
        str = str + "<TR>"
//        str = str + "<TD vAlign=middle align=middle width=1 style='height: 57px;padding-top:5px'><IMG height=30 alt=Pipe "
//        str = str + "src='img/pipe.gif' width=1></TD>"
        str = str + "<TD align=top width='16%' style='height: 57px' >"

        if(s==1)
        {
        str= str + "<a href='home.html' style='text-decoration:none; color:#062f59; cursor:pointer' >"
        str= str + "<div id='menu_item1' style='background-image:url(img/bt_back.gif);height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        else
        {
        str= str + "<a href='home.html' onmouseover='change_bg(1)' onmouseout='change_back(1)' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item1' style='height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        str = str + "Home"
        str = str + "</div></a> </TD>"
        str = str + "<td style='padding-top:10px'><IMG height=30 src='index_files/dot.gif' width=1 align=absMiddle border=0></td>"
        str = str + "<TD vAlign=middle align=middle width=1 style='height: 57px;padding-top:5px'><IMG id='img2' height=30 alt=Pipe "
        str = str + "src='img/pipe.gif' width=1>"

//        ORIGINAL
//        str = str + "      <div align='left' style ='width:200px; height :20px;position:absolute;visiblity:visible;padding-top:16px;padding-left:20px'  ><img src='img/tablftbcor.jpg' />&nbsp;<a href='swdefinedscanner.html' style='color:#2c9ecc;font-size :11px;text-decoration:none'/>WIND 3G Scanner</a>"
// Dave took out to remove link
//          str = str + "      <div align='left' style ='width:200px; height :20px;position:absolute;visiblity:visible;padding-top:24px;padding-left:25px'  ><img src='img/tablftbcor.jpg' />&nbsp;<a href='swdefinedscanner.html' style='color:#2c9ecc;font-size :12px;text-decoration:none'/>WIND 3G Scanner</a>"



        str = str + "             </div> "
        str = str + "</TD>"
        str = str + "<TD align=top width='16%' style='height: 57px'>"



        if(s==2)
        {
        str= str + "<a href='product.html' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item2' style='background-image:url(img/bt_back.gif);height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        else
        {
        str= str + "<a href='product.html' onmouseover='change_bg(2)' onmouseout='change_back(2)' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item2' style='height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
// dave took out Products and replaced with 3G Scanner
//        str = str + "Products"
        str = str + "3G Scanner"
        str = str + "</div></a>"
        str = str + " </TD>"
       str = str + "<td style='padding-top:10px'><IMG height=30 src='index_files/dot.gif' width=1 align=absMiddle border=0></td>"
        str = str + "<TD vAlign=middle align=middle width=1 style='height: 57px;padding-top:5px'><IMG id='img2' height=30 alt=Pipe "
        str = str + "src='img/pipe.gif' width=1></TD>"
        str = str + "<TD align=top width='16%' style='height: 57px'>"



        if(s==3)
        {
        str= str + "<a href='pressreleases.html' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item3' style='background-image:url(img/bt_back.gif);height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        else
        {
        str= str + "<a href='pressreleases.html'  onmouseover='change_bg(3)' onmouseout='change_back(3)' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item3' style='height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        str = str + "Press Releases"
        str = str + "</div></a> </TD>"
        str = str + "<td style='padding-top:10px'><IMG height=30 src='index_files/dot.gif' width=1 align=absMiddle border=0></td>"
        str = str + "<TD vAlign=middle align=middle width=1 style='height: 57px;padding-top:5px'><IMG id='img2' height=30 alt=Pipe "
        str = str + "src='img/pipe.gif' width=1></TD>"
        str = str + "<TD align=top width='16%' style='height: 57px'>"



        if(s==4)
        {
        str= str + "<a href='partners.html' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item4' style='background-image:url(img/bt_back.gif);height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        else
        {
        str= str + "<a href='partners.html' onmouseover='change_bg(4)' onmouseout='change_back(4)' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item4' style='height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        str = str + "Partners"
     
        str = str + "</div></a> </TD>"
        str = str + "<td style='padding-top:10px'><IMG height=30 src='index_files/dot.gif' width=1 align=absMiddle border=0></td>"
        str = str + "<TD vAlign=middle align=middle width=1 style='height: 57px;padding-top:5px'><IMG id='img2' height=30 alt=Pipe "
        str = str + "src='img/pipe.gif' width=1></TD>"
        str = str + "<TD align=top width='16%' style='height: 57px'>"



        if(s==5)
        {
        str= str + "<a href='management.html' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item5' style='background-image:url(img/bt_back.gif);height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        else
        {
        str= str + "<a href='management.html' onmouseover='change_bg(5)' onmouseout='change_back(5)' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item5' style='height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        str = str + "Management"
        str = str + "</div></a> </TD>"
        str = str + "<td style='padding-top:10px'><IMG height=30 src='index_files/dot.gif' width=1 align=absMiddle border=0></td>"
        str = str + "<TD vAlign=middle align=middle width=1 style='height: 57px;padding-top:5px'><IMG id='img2' height=30 alt=Pipe "
        str = str + "src='img/pipe.gif' width=1></TD>"
        str = str + "<TD align=top width='16%' style='height: 57px' >"

        if(s==6)
        {
        str= str + "<a href='clients.html' style='text-decoration:none; color:#062f59; cursor:pointer' >"
        str= str + "<div id='menu_item6' style='background-image:url(img/bt_back.gif);height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        else
        {
        str= str + "<a href='clients.html' onmouseover='change_bg(6)' onmouseout='change_back(6)' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item6' style='height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        str = str + "Clients"
        str = str + "</div></a> </TD>"
        str = str + "<td style='padding-top:10px'><IMG height=30 src='index_files/dot.gif' width=1 align=absMiddle border=0></td>"
        
        str = str + "<TD vAlign=middle align=middle width=1 style='height: 57px;padding-top:5px'><IMG id='img2' height=30 alt=Pipe "
        str = str + "src='img/pipe.gif' width=1></TD>"
        str = str + "<TD align=top width='16%' style='height: 57px'>"


        if(s==7)
        {
        str= str + "<a href='contact.html' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item7' style='background-image:url(img/bt_back.gif);height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        else
        {
        str= str + "<a href='contact.html' onmouseover='change_bg(7)' onmouseout='change_back(7)' style='text-decoration:none; color:#062f59; cursor:pointer'>"
        str= str + "<div id='menu_item7' style='height:36px; padding-top:10px; width:100px; font-size:13px' align=center>"
        }
        str = str + "Contact"
        str = str + "</div></a> </TD>"
        str = str + "</TR></TBODY></TABLE>"
        str = str + "</div>"
        str = str + "</div>"
        str = str + "</td>"
        str = str + "</tr>"
        str = str + "</table>"

document.write(str)    

}
function banner()
{
str = ""
        str = str + "<tr>"
        str = str + "<td align=LEFT style='padding-left:19PX'>"
        str = str + "<img src='img/BANNER1.jpg' />"
        str = str + "</td>"
        str = str + "</tr>"
document.write(str)    
}
function bottom()
{
 str = ""
        str = str + " <TABLE cellSpacing=20 cellPadding=0 width=962 align=center "
        str = str + "   background=img/back2.gif border=0>"
        str = str + "  <TBODY>"
        str = str + "  <TR>"
        str = str + "  <TD vAlign=bottom align=center style='font-size:13px;text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)'><A class=footer style='text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)'"
        str = str + "  href='home.html'>Home</A> &nbsp;<FONT "
        str = str + "   color: rgb(51, 0, 51)>|&nbsp;</FONT> <A class=footer style='text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)'"
        str = str + "   href='product.html'>3G Scanner</A> "
        str = str + "   <FONT color: rgb(51, 0, 51>&nbsp;|&nbsp;</FONT> <A class=footer style='text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)' "
        str = str + "  href='pressreleases.html'>Press Releases</A>  "
        str = str + "   <FONT color: rgb(51, 0, 51>&nbsp;|&nbsp;</FONT> <A class=footer style='text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)' "
        str = str + "  href='partners.html'>Partners</A> "
        str = str + "  &nbsp;<FONT color: rgb(51, 0, 51>|&nbsp;</FONT> <A class=footer style='text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)' "
        str = str + "  href='management.html'>Management</A> "
        str = str + "  <FONT  color: rgb(51, 0, 51> <FONT color: rgb(51, 0, 51><FONT "
        str = str + "  &nbsp;<FONT color: rgb(51, 0, 51>|&nbsp;</FONT> <A class=footer style='text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)' "
        str = str + "  href='clients.html'>Clients</A> "
        str = str + "  <FONT  color: rgb(51, 0, 51> <FONT color: rgb(51, 0, 51><FONT "
        str = str + "  color: rgb(51, 0, 51>&nbsp;|&nbsp;</FONT> </FONT></FONT><A class=footer style='text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)'"
        str = str + "   href='contact.html'>Contact</A><FONT "
        str = str + "  color: rgb(51, 0, 51>&nbsp;&nbsp;&nbsp;</FONT> <A class=footer style='text-decoration:none;font-weight: normal; color: rgb(51, 0, 51)'"
        str = str + "  href=''></A><BR><FONT "
        str = str + "  color: rgb(51, 0, 51>Wider Networks, 1999 - 2009 All rights reserved" 
        str = str + " </TD>"
        str = str + "  <TD vAlign=bottom><span class='head2'><IMG "
        str = str + "   src='img/pone2.gif' alt='contact www.o2solutions.biz' width=36 height=35 hspace=5 "
        str = str + "   align=absMiddle></span><span  style=' font-size:12px;font-weight: normal; color: rgb(51, 0, 51)'>+1.404.873.5932<br/><br/>&nbsp;&nbsp;<a href='http://o2solutions.biz' target='_blank' class=footer style='text-decoration:none; font-size:10px;font-weight: normal; color: rgb(51, 0, 51)'>Powered by <span style='color:orange'>o</span><span style='color:#39a4c1'>2</span> Solutions</a> </span></TD>"
        str = str + "   </TR></TBODY></TABLE>"
        document.write(str) 
}


function change_bg(s)
{
if(s==1)
{
document.getElementById("menu_item1").style.backgroundImage = 'url(img/bt_back.gif)';

}
if(s==2)
{
document.getElementById("menu_item2").style.backgroundImage = 'url(img/bt_back.gif)';

}
if(s==3)
{
document.getElementById("menu_item3").style.backgroundImage = 'url(img/bt_back.gif)';

}
if(s==4)
{
document.getElementById("menu_item4").style.backgroundImage = 'url(img/bt_back.gif)';

}
if(s==5)
{
document.getElementById("menu_item5").style.backgroundImage = 'url(img/bt_back.gif)';

}
if(s==6)
{
document.getElementById("menu_item6").style.backgroundImage = 'url(img/bt_back.gif)';

}
if(s==7)
{
document.getElementById("menu_item7").style.backgroundImage = 'url(img/bt_back.gif)';

}
}



function change_back(s)
{
if(s==1)
{
document.getElementById("menu_item1").style.backgroundImage = '';
}
if(s==2)
{
document.getElementById("menu_item2").style.backgroundImage = '';

}
if(s==3)
{
document.getElementById("menu_item3").style.backgroundImage = '';
}
if(s==4)
{
document.getElementById("menu_item4").style.backgroundImage = '';
}
if(s==5)
{
document.getElementById("menu_item5").style.backgroundImage = '';
}
if(s==6)
{
document.getElementById("menu_item6").style.backgroundImage = '';
}
if(s==7)
{
document.getElementById("menu_item7").style.backgroundImage = '';
}
}
function change_sub()
{
document.getElementById("menu_item2").style.backgroundImage = '';

}

function change_back1(s)
{
if(s==1)
{
document.getElementById("menu_item1").style.backgroundImage = '';
}
if(s==2)
{
document.getElementById("menu_item2").style.backgroundImage = '';

}
if(s==3)
{
document.getElementById("menu_item3").style.backgroundImage = '';
}
if(s==4)
{
document.getElementById("menu_item4").style.backgroundImage = '';
}
if(s==5)
{
document.getElementById("menu_item5").style.backgroundImage = '';
}
if(s==6)
{
document.getElementById("menu_item6").style.backgroundImage = '';
}
if(s==7)
{
document.getElementById("menu_item7").style.backgroundImage = '';
}
}
