<!-- Power Siphon PSURL: [http://yproductions.com/includes/main.js] / PSCache: [C:\Program Files\Power Siphon\WAC_NEW\7\61A441051EF62C8A632F.js] / PSTimestamp: [02-13-2004 16:09:13] -->

function psJSerr484(errorMessage,url,ln) {
return true }

onerror = psJSerr484
/***********************************************************************
*  MAIN.JS
*
*  (C) 2003 - yproductions.com
***********************************************************************/ 


var back = new Array("7B8484","0000FF","0000C6","4229C6","94008C","AD0029","AD1000","8C1800","523100","007B00","006B00","005A00","00425A","BDC6C6","007BFF","008CFF","6B4AFF","DE00D6","E70063","FF3900","E76318","AD8400","00BD00","00AD00","00AD4A","008C94","292929");

var front = new Array("FFFFFF","39C6FF","6B8CFF","9C7BFF","FF7BFF","FF5A9C","FF7B5A","FFA54A","FFBD00","BDFF18","5ADE5A","5AFF9C","00EFE7","636363","A5EFFF","BDBDFF","DEBDFF","FFBDFF","F7C6E7","F7D6B5","FFE7B5","FFDE84","DEFF7B","BDFF7B","B5F7DE","00FFFF","CEC6C6");


function rand(seed) {
  randnum = Math.round(Math.random() * seed);
  return randnum;
}


var color2 = back[rand(27)];
var color1 = front[rand(26)];


function go(place) {
	if (place != "") document.location = place;
}


function sendEmail() {
	var me = "stevedietz";
	var site = "../F/9092F5A07E9BF5E36369.htm";
	var subject = "yproductions feedback";
	var place = "mailto:" + me + "@" + site + "?subject=" + subject;
	go(place);
}


function popup(url,width,height) {
	if (myPopup) myPopup.close();
	var properties = "width=" + width + ",height=" + height;
	myPopup = window.open(url, "myPopup", properties);
	myPopup.focus();
}


function setNav(id) {
	document.getElementById("yNav").selectedIndex = id;
	if (id==0) document.getElementById("yBody").style.display = "none";
}


document.write("<style>BODY { background-color: #" + color1 + "; }");
document.write(".section { background-color: #" + color2 + "; }");
document.write(".pubhistory { background-color: #" + color2 + "; }");
document.write(".extended A { color: #" + color2 + "; }");
document.write(".menu A { color: #" + color2 + "; }");
document.write(".header { color: #" + color2 + "; }");
document.write(".header A { color: #" + color2 + "; } </style>");
