/* -- Adobe GoLive JavaScript Library */

CSStopExecution=false;
function CSAction(array) {return CSAction2(CSAct, array);}
function CSAction2(fct, array) { 
	var result;
	for (var i=0;i<array.length;i++) {
		if(CSStopExecution) return false; 
		var aa = fct[array[i]];
		if (aa == null) return false;
		var ta = new Array;
		for(var j=1;j<aa.length;j++) {
			if((aa[j]!=null)&&(typeof(aa[j])=="object")&&(aa[j].length==2)){
				if(aa[j][0]=="VAR"){ta[j]=CSStateArray[aa[j][1]];}
				else{if(aa[j][0]=="ACT"){ta[j]=CSAction(new Array(new String(aa[j][1])));}
				else ta[j]=aa[j];}
			} else ta[j]=aa[j];
		}			
		result=aa[0](ta);
	}
	return result;
}
CSAct = new Object;
function CSSetStatus(action) { self.status = action[1]; }
/* 
Fix Layer Position 1.0
A component of MenuMachine 2.1
Copyright 2006 Big Bang Software Pty Ltd
*/
/*begin FixLayerPosition*/
function __bbFLP(el,s,amt)
	{
	if(typeof(__bbElCache[el])=="undefined"){__bbElCache[el]=__bbgID(el);}
	var d=document,e=__bbElCache[el],mvAmt=0,sOf=__bbGST(),targetPos=e.origPos+sOf;
	if(e.currentPos!=targetPos){if(s){var diff=e.currentPos-targetPos;mvAmt=(Math.abs(diff)<amt)?-diff:((diff>0)?-amt:amt);mvAmt=(Math.abs(diff)>(amt*4))?mvAmt+mvAmt:mvAmt;var mtp=(e.currentPos+=mvAmt)+_bbBr.px;_bbBr.op?e.style.pixelTop=mtp:e.style.top=mtp;e.currentPos+=mvAmt;}
	else{var mtp=targetPos+_bbBr.px;_bbBr.op?e.style.pixelTop=mtp:e.style.top=mtp;e.currentPos=targetPos;}}
	};
function bbFixLayer(action)
	{
	var n=action[1],sm=action[2],spd=action[3],tks,px;
	if(!sm){tks=10;px=100;}
	else{if(!spd)spd="m";switch(spd){case "f":tks=10;px=20;break;case "m":tks=20;px=4;break;case "s":tks=30;px=2;break;}}
	var d=document,ua=navigator.userAgent.toLowerCase();function o(n){return (ua.indexOf("opera "+n)>-1||ua.indexOf("opera/"+n)>-1)&&window.opera?1:0};
	_bbBr.op5=o(5);_bbBr.op6=o(6);_bbBr.op=(_bbBr.op5||_bbBr.op6||window.opera)?1:0;
	_bbBr.ie=(ua.indexOf('msie')!=-1&&!_bbBr.op)?1:0;_bbBr.dt=(ua.indexOf("mac")==-1&&((d.doctype&&d.doctype.name&&d.doctype.name.indexOf("http:\/\/")>-1)||(d.compatMode&&(d.compatMode!="BackCompat"&&d.compatMode!="QuirksMode"))))?1:0;
	_bbBr.px=_bbBr.op?"":"px";var el=__bbgID(n);if(!el)return;el.origPos=__bbyP(el);el.currentPos=el.origPos-__bbGST();setInterval("__bbFLP('"+n+"',"+sm+","+px+");",tks);
	};
function __bbyP(o){var c=0;if (o.offsetParent){while (o.offsetParent){c+=o.offsetTop;o=o.offsetParent;}}else if(o.y){c+=o.y;} return c;};
function __bbGST(){return _bbBr.ie?(_bbBr.dt?document.documentElement.scrollTop:document.body.scrollTop):window.pageYOffset;};
function __bbgID(i){if(document.getElementById){return document.getElementById(i);}else if(document.all){return document.all[i];}else{return false;}};
var __bbElCache=[],_bbBr={};
/*end FixLayerPosition*/
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i+1] = initArray.arguments[i]; 
}

function dailyRedirect(action) {
var dateArray = new
initArray("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");
var today = new Date();
var day = dateArray[today.getDay()];
if (today.getDay() == 0) { day = "Sunday"; }
if (day == "Monday" && action[1] != "(Empty Reference!)" && action[1] != "(EmptyReference!)") window.location = action[1]
if (day == "Tuesday" && action[2] != "(Empty Reference!)" && action[2] != "(EmptyReference!)") window.location = action[2]
if (day == "Wednesday" && action[3] != "(Empty Reference!)" && action[3] != "(EmptyReference!)") window.location = action[3]
if (day == "Thursday" && action[4] != "(Empty Reference!)" && action[4] != "(EmptyReference!)") window.location = action[4]
if (day == "Friday" && action[5] != "(Empty Reference!)" && action[5] != "(EmptyReference!)") window.location = action[5]
if (day == "Saturday" && action[6] != "(Empty Reference!)" && action[6] != "(EmptyReference!)") window.location = action[6]
if (day == "Sunday" && action[7] != "(Empty Reference!)" && action[7] != "(EmptyReference!)") window.location = action[7]
}