bName2 = navigator.appName;
bVer2 = parseInt(navigator.appVersion);


HM_Array1 = [
[120,20,82],
["why 321site?","why.asp",1,0,0],
["white papers","white.asp",1,0,0],
["INsite news","insite.asp",1,0,1],
["our partners","partners.asp",1,0,0]
]

HM_Array1_3 = [
[],
["overview","insite.asp",1,0,0],
["why Web?","web.asp",1,0,0],
["Web work?","work.asp",1,0,0]
]

HM_Array2 = [
[120,140,82],
["overview", "solutions.asp",1,0,0],
["strategic", "strategic.asp",1,0,0],
["creative", "creative.asp",1,0,0],
["technical", "technical.asp",1,0,0]
]

HM_Array3 = [
[120,260,82],
["case studies", "case.asp",1,0,0],
["Web gallery", "portfolio.asp",1,0,0],
["testimonials", "test.asp",1,0,0],
["resources", "resources.asp",1,0,0]
]

HM_Array4 = [
[120,380,82],
["special deals","specials.asp",1,0,0],
["contact form","contact.asp",1,0,0],
["RFP form","rfp.asp",1,0,0],
["careers","careers.asp",1,0,0]
]

function bookmark(){
window.external.AddFavorite("http://www.321site.com","321site.com");
var url="http://www.321site.com";
var title="321site.com";
}

function maximizeWindow() {
 if (parseInt(navigator.appVersion)>3) {
  if (navigator.appName=="Netscape") {
   if (top.screenX>0 || top.screenY>0) top.moveTo(0,0);
   if (top.outerWidth  < screen.availWidth)
  top.outerWidth=screen.availWidth;
  if (top.outerHeight < screen.availHeight) 
  top.outerHeight=screen.availHeight;
  }
  else {
  top.moveTo(-4,-4);
  top.resizeTo(screen.availWidth+8,screen.availHeight+8);
  }
 }
}	  
	  
function links() {  window.open("links.htm","links","toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resize=false,width=250,height=280,left=0,top=0")
}


function why() {
 window.open("why.htm","why","toolbar=0,location=0,status=1,menubar=0,scrollbars=0,resize=false,width=450,height=162,left=0,top=22")
  }
function clients() {
 window.open("clients.htm","clients","width=315,height=220,left=200,top=197")
  }
function bookmark(){
window.external.AddFavorite("http://www.321site.com","321site.com");
var url="http://www.321site.com";
var title="321site.com";
}

function pick() {
 window.open("colors.asp","pick","width=460,height=230,left=0,top=112")
  }
function pick2() {
window.open("picker.htm","pick","width=460,height=220,left=0,top=112")
  }
function ads() {
window.open("ads.htm","ads","scrollbars=0,resize=false,width=488,height=110,left=0,top=100")
  }
  
function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}
bw=new checkBrowser()
//With nested layers for netscape, this function hides the layer if it's visible and visa versa
function showHide(div,nest){
	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 
	if(obj.visibility=='visible' || obj.visibility=='show') obj.visibility='hidden'
	else obj.visibility='visible'
}
//Shows the div
function show(div,nest){
	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 
	obj.visibility='visible'
}
//Hides the div
function hide(div,nest){
	obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; 
	obj.visibility='hidden'
}
