<!-- ©webmasta [www.w3Coders.com] we take no prizionerz!

function eMail(who, where, subj) {
	location='mai'+'lto:' +who+ '@' +where+ '?subject=' +subj;
	return true;
};

function getPg(pg) {
	location=pg;
	return true;
};


var table ='<table width="775" height="22" border="0" cellpadding="1" cellspacing="0" bgcolor="#FFCC00">';
	table +='<tr align="center" bgcolor="#005500">';
          
	table +='<td width="70"><input id="b1" onClick="getPg(\'index2.htm?b1\'); return false;" value="Home" onMouseOver="ovB(this.id,\'Home of NipDavis.com\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
	table +='<td width="90"><input id="b2" onClick="getPg(\'index_aboutNip.htm?b2\'); return false;" value="About Nip" onMouseOver="ovB(this.id,\'Brief Bio of Nip Davis\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
	table +='<td width="125"><input id="b3" onClick="openViewer(\'nip_models.htm\', this.id); return false;" value="2009 Costumes" style="width:100%" onMouseOver="ovB(this.id,\'Our Presentation for Toronto Carnival 2009 (popup window)\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
	table +='<td width="80"><input id="b4" onClick="getPg(\'index_archives.htm?b4\'); return false;" value="Archives" onMouseOver="ovB(this.id,\'Pictures of Our Past Productions\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
	table +='<td width="90"><input id="b5" onClick="getPg(\'index_masCamp.htm?b5\'); return false;" value="Mas Camp" onMouseOver="ovB(this.id,\'2009 Mas Camp Gallery\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
	table +='<td width="80"><input id="b6" onClick="getPg(\'index_events.htm?b6\'); return false;" value="Events" onMouseOver="ovB(this.id,\'Nip Davis & Associates News & Events\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
	table +='<td width="90"><input id="b7" onClick="getPg(\'index_sponsors.htm?b7\'); return false;" value="Sponsors" onMouseOver="ovB(this.id,\'Our Sponsors and Supporters\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
	table +='<td width="70"><input id="b8" onClick="getPg(\'index_links.htm?b8\'); return false;" value="Links" onMouseOver="ovB(this.id,\'Associate Links\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
    table +='<td width="80"><input id="b9" onClick="eMail(\'NipDavis\',\'Hotmail.com\',\'Website Contact\'); return false;" value="Contact" onMouseOver="ovB(this.id,\'Contact Us / Email (NipDavis@Hotmail.com)\')" onMouseOut="ovB(this.id, \'\')" type="button" class="bb1" onFocus="focLin(this.id)" style="width:100%"></td>';
	table +='</tr></table>';
        
	document.getElementById('mainMenu').innerHTML =table;
	var loc  = this.location.href;
	var qStr = (loc.indexOf('?')!= -1)? loc.substring(loc.indexOf('?')+1) : 'b1';   //'b1'; default home butt
	document.getElementById(qStr).className ='bb3';
	
//--------------------------	
	
	var browser =true; if(navigator.appName =='Netscape') { this.browser =false; }
	 
	 function focLin(ff) { ff=document.getElementById(ff)
	          if(ff.blur)ff.blur(); }
	
	
	 function ovB(n, m) {
		if (document.getElementById) { 
			this.objB = document.getElementById(n);
				objB.style.cursor =(this.browser)? "hand" : "pointer"; 
				
				with(objB) {   //alert(objB.className)
					
					if ( className =='bb1' || className =='bb2') { 
						className = (className =='bb2')? 'bb1' : 'bb2'; 
					}
					document.getElementById('mBox').value =m;
					
					
					
					//if ( className =='bbb' || className =='bbc') { 
					//		className = (className =='bbc')? 'bbb' : 'bbc';
					//	} 
				}
	}};
	
//--------------------------	

//var browser =true;
//if(navigator.appName =='Netscape') { browser =false; }
	
var myWin =null;
function closeWin() { if(myWin && myWin.open && !myWin.closed) { myWin.close(); } };


function openViewer(URL, wName, w, h) {
	closeWin();
	var sWidth; var sHeight;     
	var w =(w)? w: 810; 
	var h =(h)? h: 560; 
	
	var toolbar =0; var location =0; var directories =0;
	var status =1; var menubar =0; var scrollbars =0; var resizable =0;

	if(!browser) { sWidth =screen.availWidth; } else { sWidth =screen.width; }

	var l= (sWidth -w)/2;
	var t=(!browser)? (screen.availHeight -h)/2 : (screen.height -h)/2;
	var winF ='width='+w+',height='+h+',top='+t+',left='+l+',toolbar=' + toolbar + ',location=' + location + ',directories=' + directories + ',status=' + status + ',menubar=' + menubar + ',scrollbars=' + scrollbars + ',resizable=' + resizable;

		if(!myWin || myWin.closed) {
			myWin = window.open(URL, wName, winF);
			myWin.focus();
			
		} else{
			myWin.focus();
		}
};
window.onunload = closeWin;  //no orphans	
	
//--------------------------	

	
	
	
	
	
	
	
//-->


