/* BPScript.js */
TextColorOver=	"#FFFFFF"
BGColorOver=	"#312105"
TextColorOut=	"#EEEEEE"
BGColorOut=		"#916A25"

month = new Array(12);
month[0]="01"
month[1]="02"
month[2]="03"
month[3]="04"
month[4]="05"
month[5]="06"
month[6]="07"
month[7]="08"
month[8]="09"
month[9]="10"
month[10]="11"
month[11]="12"

day = new Array(7);
day[0]="Sunday"
day[1]="Monday"
day[2]="Tuesday"
day[3]="Wednesday"
day[4]="Thursady"
day[5]="Friday"
day[6]="Saturday"

today=new Date();
d0=today.getDay();
m0=today.getMonth();
d1=today.getDate();
y0=(today.getFullYear());

CurrentDay = day[d0]+", "+month[m0]+"-"+d1+"-"+y0+"&nbsp;&nbsp;"

/* Disable Right-Click */
function right(e) {
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
		return false;
	else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
		alert("_/ _/ _/ _/ _/ _/ _/ _/ _/\n\nCopyright (c) 2000-2002\nBest Packaging, Inc.");
		return false;
	}
	return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;


/* Open New Window */
function NewWindow(mypage, myname, w, h, scroll, WinPosition) {
	if (WinPosition == 'Center')
	{
		winl = (screen.width - w) / 2;
		wint = (screen.height - h) / 2;
	}
	else if (WinPosition == 'TopRight')
	{
		winl = (screen.width - 10 - w);
		wint = 0;
	}
	else
	{
		winl = 0;
		wint = 0;
	}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',toolbar=yes, resizable'
	win = window.open(mypage, myname, winprops)
	win.focus();
}
