//open window
<!--
	function openWin( windowURL, windowName, windowFeatures ) { 
		return window.open( windowURL, windowName, windowFeatures ) ; 
	} 
// -->

//-->

<!-- no right click -->
if (window.Event) 
document.captureEvents(Event.MOUSEUP); 
function nocontextmenu()  
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)	
{
if (window.Event)	
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}	
}
document.oncontextmenu = nocontextmenu;		
document.onmousedown = norightclick;		
		
/**********************************************************************************   
ChangeText 
*   Copyright (C) 2001 Thomas Brattli
*   This script was released at DHTMLCentral.com
*   Visit for more great scripts!
*   This may be used and changed freely as long as this msg is intact!
*   We will also appreciate any links you could give us.
*
*   Made by Thomas Brattli
*
*   Script date: 08/02/2001 (keep this date to check versions) 
*********************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.opera5=(navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
	return this
}
var bw=lib_bwcheck()
if(document.layers){ //NS4 resize fix...
	scrX= innerWidth; scrY= innerHeight;
	onresize= function(){if(scrX!= innerWidth || scrY!= innerHeight){history.go(0)} }
}

/****
Variables to set 
****/
msgFont= "Arial,helvetiva"	// The font for the message
msgFontSize= 10				// Set the fontSize in px
msgFontColor="#000000"		// Set the fontColor
msgWidth= "1000"				// Set the width of the messageblock here for netscape 4

//Set the text you want to display on mouseover here.
messages=new Array()
messages[0]="" //This is the default text that appears when you mouse out.
messages[1]="Return to your Buppie Home."
messages[2]="<img src=\"graphics/spacers/spacer.gif\" width=30 height=1><img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"entertainment/\"><font color=white>Entertainment Home</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=entertainment&chnid=Entertainment&category=Music\"><font color=white>Music</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=entertainment&chnid=Entertainment&category=Movies\"><font color=white>Movies</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=entertainment&chnid=Entertainment&category=TV\"><font color=white>Television</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=entertainment&chnid=Entertainment&category=Reviews\"><font color=white>Reviews</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;|<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"separated.php\"><font color=white>Separated</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;|<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=entertainment&chnid=Entertainment&category=Gossip\"><font color=white>Gossip</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=entertainment&chnid=Entertainment&category=Sex 101\"><font color=white>Sex 101</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=entertainment&chnid=Entertainment&category=Hip-Hop U\"><font color=white>Hip-Hop U</font></a>"

messages[3]="<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"blackusatoday/\"><font color=white>Black USA Home</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=blackusatoday&chnid=Black USA Today&category=No Stones\"><font color=white>No Stones</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=blackusatoday&chnid=Black USA Today&category=Issues\"><font color=white>Issues</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=blackusatoday&chnid=Black USA Today&category=Book Club\"><font color=white>Book Club</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=blackusatoday&chnid=Black USA Today&category=Sports\"><font color=white>Sports</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=blackusatoday&chnid=Black USA Today&category=Entertainment\"><font color=white>Entertainment</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=blackusatoday&chnid=Black USA Today&category=News\"><font color=white>News</font></a>"

messages[4]="<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"bnmagazine/\"><font color=white>Magazine Home</font></a>&nbsp;&nbsp;|&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"ifyouaskme.php\"><font color=white>If You Ask Me...</font></a>&nbsp;&nbsp;|&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\">Diaries: <a href=\"category.php?channel=bnmagazine&chnid=BN Magazine&category=Female Diaries\"><font color=white>Female</font></a>-<a href=\"category.php?channel=bnmagazine&chnid=BN Magazine&category=Male Diaries\"><font color=white>Male</font></a>&nbsp;&nbsp;|&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=bnmagazine&chnid=BN Magazine&category=Feature Articles\"><font color=white>Feature</font></a>&nbsp;&nbsp;|&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=bnmagazine&chnid=BN Magazine&category=Sex and Love\"><font color=white>Sex & Love</font></a>&nbsp;&nbsp;|&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=bnmagazine&chnid=BN Magazine&category=Health and Fitness\"><font color=white>Health & Fitness</font></a>&nbsp;&nbsp;|&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=bnmagazine&chnid=BN Magazine&category=Beauty and Style\"><font color=white>Beauty & Style</font></a>&nbsp;&nbsp;|&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"category.php?channel=bnmagazine&chnid=BN Magazine&category=Life and Work\"><font color=white>Life & Work</font></a>"

messages[5]="Your Ultimate Resource for Events and Metros."

messages[6]="<b><i>Looking for love?  Well search no more.  Find your love interest in the BN Singles section.<img src=\"graphics/minicons/heart.gif\"></i></b>"

messages[7]="<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"bncommerce/\"><font color=white>BN Commerce Home</font></a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"bncommerce/plaza.php\"><font color=white>Shopping Plaza</font></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"bncommerce/b2b.php\"><font color=white>Business Network</font></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"bncommerce/spotlight.php\"><font color=white>Spotlight</font></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"graphics/buttons/topnavigation/bullet.gif\"><a href=\"bncommerce/smallbusiness.php\"><font color=white>Small Business</font></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"

messages[8]="<b>Job Seekers:</b>  Post your resume, search current openings, and receive job tips.&nbsp;&nbsp;&nbsp;<b>Employers:</b>  Post current opening, find new employees."
/********************************************************************************
You don't have to change anything below this
********************************************************************************/

//ChangeText object constructor.
function makeChangeTextObj(obj){
   	this.css = bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?document.layers[obj]:0;	
   	this.writeref = bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?document.layers[obj].document:0;	
	this.writeIt = b_writeIt;					
}
function b_writeIt(text,num){
	if (bw.ns4){
		this.writeref.write(text)
		this.writeref.close()
	}
    else this.writeref.innerHTML = messages[num]
}

//The mouoseover function. Calls the writeIt method to write the text to the div.
function changeText(num){
	if(bw.bw) oMessage.writeIt('<table width="'+msgWidth+'" border="0" cellpadding="0" cellspacing="0"><tr><td><span style="font-size:'+msgFontSize+'px; font-family:'+msgFont+'; color:'+msgFontColor+'">'+messages[num]+'</span></td></tr></table>', num)
}

//The init function. Calls the object constructor and initiates some properties.
function changeTextInit(){
	//Fixing the browsercheck for opera... this can be removed if the browsercheck has been updated!!
	bw.opera5 = (navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?true:false
	if (bw.opera5) bw.ns6 = 0
	
	oMessage = new makeChangeTextObj('divMessage')
	oLinks = new makeChangeTextObj('divLinks')
	//Setting the style properties of the text layer.
	if(bw.dom || bw.ie4){
		with(oMessage.writeref.style){fontFamily=msgFont; fontSize=msgFontSize+"px"; color=msgFontColor}
	}
	//Both layers are hidden by default to prevent users from mousing over them and creating errors while the page loads.
	oMessage.css.visibility= "visible"
	oLinks.css.visibility= "visible"
}

//If the browser is ok, the init function is called on pageload. 
//if (bw.bw) onload = changeTextInit


/**********************************************************************************   
PageScroll 
*   Copyright (C) 2001 Thomas Brattli
*   This script was released at DHTMLCentral.com
*   Visit for more great scripts!
*   This may be used and changed freely as long as this msg is intact!
*   We will also appreciate any links you could give us.
*
*   Made by Thomas Brattli
*
*   Script date: 09/23/2001 (keep this date to check versions) 
*********************************************************************************/

/*********************************************************************************
These are the variables you have to set:
*********************************************************************************/

//The speed of the timeout between each scroll.
timSpeed = 50

//The height of the container (change this when it scrolls to much or to little)
contHeight = 100

/*********************************************************************************
This is the object constructor function, which applies 
methods and properties to the Cross-browser layer object
*********************************************************************************/
function makeScrollObj(obj,nest){
	nest=(!nest) ? "":'document.'+nest+'.'		
	this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
  	this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;		
	this.height=bw.ns4?this.css.document.height:this.el.offsetHeight
	this.top=b_gettop										
	return this
}

// A unit of measure that will be added when setting the position of a layer.
var px = bw.ns4||window.opera?"":"px";

//Getting the top for the top method
function b_gettop(){
	var gleft=(bw.ns4 || bw.ns6)?parseInt(this.css.top):eval(this.css.pixelTop);
	return gleft;
}
//Variables
var scrollTim = 1;
var active = 0;
/*********************************************************************************
The scroll function. Checks what way to scroll and checks if the
layer is not already on top or bottom.
*********************************************************************************/
function scroll(speed){
	clearTimeout(scrollTim)
	way = speed>0?1:0
	if ((!way && oScroll[active].top()>-oScroll[active].height+contHeight) || (oScroll[active].top()<0 && way)){
		oScroll[active].css.top = (oScroll[active].top()+speed)+px
		scrollTim = setTimeout("scroll("+speed+")",timSpeed)
	}
}
//Clears the timeout so the scroll stops, this is called onmouseout.
function noScroll(){
	clearTimeout(scrollTim)
}
/*********************************************************************************
Changes the active layer. Hides the one that's visible and
shows the "new" one. Also set's the new layers top to
0 so it starts at top.
*********************************************************************************/
function changeActive(num){
	oScroll[active].css.visibility = "hidden"
	active = num
	oScroll[active].css.top = 0+px
	oScroll[active].css.visibility = "visible"
}
/*********************************************************************************
Initilizes the page, makes a oScroll Array and calls the object constructor.
Here you can add as many scrollObjects as you want
*********************************************************************************/
function scrollInit(){
	oScroll = new Array()
	
	// You can add and remove scrollObjects here.
	oScroll[0] = new makeScrollObj('divScroll1','divCont')
	oScroll[1] = new makeScrollObj('divScroll2','divCont')
	oScroll[2] = new makeScrollObj('divScroll3','divCont')
	
	oScroll[0].css.left = 0+px
	oScroll[0].css.top = 0+px
	oScroll[0].css.visibility = "visible"
	oControl = new makeScrollObj('divControl')
	oControl.css.visibility = "visible"
}
/*********************************************************************************
Executes the scrollInit function on pageload.
*********************************************************************************/
//onload = scrollInit;

/***************
Multiple Scripts
If you have two or more scripts that use the onload event, probably only one will run (the last one).
Here is a solution for starting multiple scripts onload:
   1. Delete or comment out all the onload assignments, onload=initScroll and things like that.
   2. Put the onload assignments in the body tag like in this example, note that they must have braces ().
**************/		
  <!--
  if (document.images) {
    whosonbuttonup       = new Image();
    whosonbuttonup.src   = "graphics/headers/whosontab.gif" ;
    whosonbuttondown     = new Image() ;
    whosonbuttondown.src = "graphics/headers/whosontab2.gif" ;

    mytoolsbuttonup       = new Image();
    mytoolsbuttonup.src   = "graphics/headers/mytoolstab.gif" ;
    mytoolsbuttondown     = new Image() ;
    mytoolsbuttondown.src = "graphics/headers/mytoolstab2.gif" ;

    alertsbuttonup       = new Image();
    alertsbuttonup.src   = "graphics/headers/alertstab.gif" ;
    alertsbuttondown     = new Image() ;
    alertsbuttondown.src = "graphics/headers/alertstab2.gif" ;	
  }
  function buttondown( buttonname )
  {
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "down.src" );
    }
  }
  function buttonup ( buttonname )
  {
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "up.src" );
    }
  }
  // -->


/***************
Multiple Scripts
If you have two or more scripts that use the onload event, probably only one will run (the last one).
Here is a solution for starting multiple scripts onload:
   1. Delete or comment out all the onload assignments, onload=initScroll and things like that.
   2. Put the onload assignments in the body tag like in this example, note that they must have braces ().
**************/		

  // -->
//scroll for articles
/*****************

You set the width and height of the divs inside the style tag, you only have to
change the divScrollTextCont, Remember to set the clip the same as the width and height.
You can remove the divUp and divDown layers if you want. 
This script should also work if you make the divScrollTextCont position:relative.
Then you should be able to place this inside a table or something. Just remember
that Netscape crash very easily with relative positioned divs and tables.

Updated with a fix for error if moving over layer before pageload.

****************/


//If you want it to move faster you can set this lower, it's the timeout:
var speed = 30

//Sets variables to keep track of what's happening
var loop, timer

//Object constructor
function makeObj(obj,nest){
    nest=(!nest) ? "":'document.'+nest+'.'
	this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
  	this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
	this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight
	this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight
	this.up=goUp;this.down=goDown;
	this.moveIt=moveIt; this.x=0; this.y=0;
    this.obj = obj + "Object"
    eval(this.obj + "=this")
    return this
}

// A unit of measure that will be added when setting the position of a layer.
var px = bw.ns4||window.opera?"":"px";

function moveIt(x,y){
	this.x = x
	this.y = y
	this.css.left = this.x+px
	this.css.top = this.y+px
}

//Makes the object go up
function goDown(move){
	if (this.y>-this.scrollHeight+oCont.clipHeight){
		this.moveIt(0,this.y-move)
			if (loop) setTimeout(this.obj+".down("+move+")",speed)
	}
}
//Makes the object go down
function goUp(move){
	if (this.y<0){
		this.moveIt(0,this.y-move)
		if (loop) setTimeout(this.obj+".up("+move+")",speed)
	}
}

//Calls the scrolling functions. Also checks whether the page is loaded or not.
function scroll2(speed){
	if (scrolltextLoaded){
		loop = true;
		if (speed>0) oScroll2.down(speed)
		else oScroll2.up(speed)
	}
}

//Stops the scrolling (called on mouseout)
function noScroll2(){
	loop = false
	if (timer) clearTimeout(timer)
}
//Makes the object
var scrolltextLoaded = false
function scrolltextInit(){
	oCont = new makeObj('divScrollTextCont')
	oScroll2 = new makeObj('divText','divScrollTextCont')
	oScroll2.moveIt(0,0)
	oCont.css.visibility = "visible"
	scrolltextLoaded = true
}
