var YMLSLoaded = 0;
var pmStart = 10000000; 
var pmUpper = 10001000; 
var pmCount = pmStart+1;
var pmt='';
var pms = new Array();
var FREPLACE = 0;
var FBEFORE = 1;
var FAFTER = 2;
var FALTERNATE = 3;
var FCHAIN=4;
var YMLSHideForm=0;
registerCommands('sticky,noclose,fgcolor,bgcolor,fixx,fixy,mouseoff');
if (typeof YMLS_fgcolor=='undefined') var YMLS_fgcolor="#000000";
if (typeof YMLS_bgcolor=='undefined') var YMLS_bgcolor="#000000";
if (typeof YMLS_text=='undefined') var YMLS_text="Default Text";
if (typeof YMLS_sticky=='undefined') var YMLS_sticky=0;
if (typeof YMLS_fixx=='undefined') var YMLS_fixx=-1;
if (typeof YMLS_fixy=='undefined') var YMLS_fixy=-1;
if (typeof YMLS_frame=='undefined') var YMLS_frame=self;
if (typeof YMLS_mouseoff=='undefined') var YMLS_mouseoff=0;
var YMLS3_sticky=0;
var YMLS3_fgcolor="";
var YMLS3_bgcolor="";
var YMLS3_fixx=-1;
var YMLS3_fixy=-1;
var YMLS3_frame=self;
var YMLS3_timerid=0;
var YMLS3_mouseoff=0;
var YMLS3_x = 0;
var YMLS3_y = 0;
var YMLS3_showingsticky = 0;
var YMLS3_removecounter = 0;
var over = null;
var fnRef, hoveringSwitch = false;
var YMLSHideDelay;
var isMac = (navigator.userAgent.indexOf("Mac") != -1);
var YMLSOp = (navigator.userAgent.toLowerCase().indexOf('opera') > -1 && document.createTextNode);
var YMLSNs4 = (navigator.appName=='Netscape' && parseInt(navigator.appVersion) == 4);
var YMLSNs6 = (document.getElementById) ? true : false;
var YMLSIe4 = (document.all) ? true : false;
var YMLSIe5 = false;
var YMLSIe55 = false;
var docRoot = 'document.body';
if (YMLSNs4) 
{ 
var oW = window.innerWidth;
var oH = window.innerHeight;

window.onresize = function() 
	{ if (oW != window.innerWidth || oH != window.innerHeight) location.reload();
	} 
}
if (YMLSIe4) { var agent = navigator.userAgent;
if (/MSIE/.test(agent)) { var versNum = parseFloat(agent.match(/MSIE (\d\.\d+)\.*/i)[1]);
if (versNum >= 5) { YMLSIe5=true;
YMLSIe55=(versNum>=5.5&&!YMLSOp) ? true : false;
if (YMLSNs6) YMLSNs6=false;
} } if (YMLSNs6) YMLSIe4 = false;
}
if(window.addEventListener) window.addEventListener("load",YMLSonLoad_handler,false);
else if (window.attachEvent) window.attachEvent("onload",YMLSonLoad_handler);
var YMLSCheckMouseCapture = true;
if ((YMLSNs4 || YMLSNs6 || YMLSIe4)) {
	YMLSMouseCapture();
} else {
	overlib = no_overlib;
	nd = no_overlib;
	ver3fix = true;
}

//6
function overlib() {
/* alert("overlib"); */
	if (!YMLSLoaded) return true; 
	if (YMLSCheckMouseCapture) 
		YMLSMouseCapture(); 
	if (over) cClick(); 
	YMLSHideDelay=0; 
	YMLS3_text=YMLS_text; 
	YMLS3_sticky=YMLS_sticky; 
	YMLS3_fgcolor=YMLS_fgcolor; 
	YMLS3_bgcolor=YMLS_bgcolor;
	YMLS3_fixx=YMLS_fixx; 
	YMLS3_fixy=YMLS_fixy; 
	YMLS3_mouseoff=YMLS_mouseoff; 
	setRunTimeVariables(); 
	fnRef = '';
	YMLS3_frame = YMLS_frame;
	if(!(over=createDivContainer())) return false;
	parseTokens('YMLS3_', overlib.arguments);
	
	if (!postParseChecks()) return false;
/* alert("Tets");break; */
	return runHook("YMLSMain", FREPLACE);
}

//u
function nd(time) {
/* alert("nd"); */
	if (YMLSLoaded) {
		hideDelay(time);
		if (YMLS3_removecounter >= 1) YMLS3_showingsticky = 0;
		if (YMLS3_showingsticky == 0) {
			if (over != null && YMLS3_timerid == 0) runHook("hideObject", FREPLACE, over);
		} else
			YMLS3_removecounter++;
	}
	return true;
}

//u
function cClick() {
/* alert("cClick"); */
	if (YMLSLoaded && indices.length == 0) { // indices added by cbb
//This closes the layer
		runHook("hideObject", FREPLACE, over);
		YMLS3_showingsticky = 0;	
	}	
	return false;
}

//u
function YMLSMain() {
/* alert("YMLSMain"); */
	var layerhtml;
 	runHook("YMLSMain", FBEFORE);
	if (YMLS3_fgcolor != "") YMLS3_fgcolor = "bgcolor=\""+YMLS3_fgcolor+"\"";
	if (YMLS3_bgcolor != "") YMLS3_bgcolor = "bgcolor=\""+YMLS3_bgcolor+"\"";
	layerhtml = runHook('YMLS_content_simple', FALTERNATE, '', YMLS3_text);
	if (YMLS3_sticky) {
		if (YMLS3_timerid > 0) {
			clearTimeout(YMLS3_timerid);
			YMLS3_timerid = 0;
		}
		YMLS3_showingsticky = 1;
		YMLS3_removecounter = 0;
	}
	if (!runHook("createPopup", FREPLACE, layerhtml)) return false;
	runHook("disp", FREPLACE);
	runHook("YMLSMain", FAFTER);
	return '';
}

//u
function YMLS_content_simple(text) {
/* alert("YMLS_content_simple"); */
	return '<table width="100" border="0" cellpadding="0" cellspacing="0"><tr><td valign="TOP">'+text+'</td></tr></table>';
/* 	return '<table border="0" cellpadding="1" cellspacing="0" '+YMLS3_bgcolor+'><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" '+YMLS3_fgcolor+'><tr><td valign="TOP">'+text+'</td></tr></table></td></tr></table>'; */
}
var YMLSShowId=-1;

//u
function disp() {
/* alert("disp"); */
	runHook("disp", FBEFORE);
	runHook("placeLayer", FREPLACE);
	(YMLSNs6&&YMLSShowId<0) ? YMLSShowId=setTimeout("runHook('showObject', FREPLACE, over)", 1) : runHook("showObject", FREPLACE, over);
	runHook("disp", FAFTER);
}

//u
function createPopup(lyrContent){
	runHook("createPopup", FBEFORE);
	layerWrite(lyrContent);
	runHook("createPopup", FAFTER, lyrContent);
	return true;
}

//u
function placeLayer() {
/* alert("placeLayer"); */
	var placeX, placeY, widthFix = 0;
	if (YMLS3_frame.innerWidth) { 
		widthFix=Math.ceil(1.2*(YMLS3_frame.outerWidth - YMLS3_frame.innerWidth));
		widthFix = (widthFix > 50) ? 0 : widthFix;
		iwidth=YMLS3_frame.innerWidth;
	} else if (eval('YMLS3_frame.'+docRoot)&&eval("typeof YMLS3_frame."+docRoot+".clientWidth=='number'")&&eval('YMLS3_frame.'+docRoot+'.clientWidth'))
		iwidth=eval('YMLS3_frame.'+docRoot+'.clientWidth');
	winoffset=(YMLSIe4) ? eval('YMLS3_frame.'+docRoot+'.scrollLeft') : YMLS3_frame.pageXOffset;
	placeX = runHook('horizontalPlacement',FCHAIN,iwidth,winoffset,widthFix);
	if (YMLS3_frame.innerHeight)
		iheight=YMLS3_frame.innerHeight;
	else if (eval('YMLS3_frame.'+docRoot)&&eval("typeof YMLS3_frame."+docRoot+".clientHeight=='number'")&&eval('YMLS3_frame.'+docRoot+'.clientHeight'))
		iheight=eval('YMLS3_frame.'+docRoot+'.clientHeight');
	scrolloffset=(YMLSIe4) ? eval('YMLS3_frame.'+docRoot+'.scrollTop') : YMLS3_frame.pageYOffset;
	placeY = runHook('verticalPlacement',FCHAIN,iheight,scrolloffset);
	repositionTo(over, placeX, placeY);
}

//u
function YMLSMouseMove(e) {
/* alert("YMLSMouseMove"); */
	var e = (e) ? e : event;
	if (e.pageX) {
		YMLS3_x = e.pageX;
		YMLS3_y = e.pageY;
	} else if (e.clientX) {
		YMLS3_x = eval('e.clientX+YMLS3_frame.'+docRoot+'.scrollLeft');
		YMLS3_y = eval('e.clientY+YMLS3_frame.'+docRoot+'.scrollTop');
	}
	if (hoveringSwitch && !YMLSNs4 && runHook("cursorOff", FREPLACE)) {
		(YMLSHideDelay ? hideDelay(YMLSHideDelay) : cClick());
		hoveringSwitch = !hoveringSwitch;
	}
}

/* function no_overlib() { return ver3fix; } */

//2
function YMLSMouseCapture() {
/* alert("YMLSMouseCapture"); */
	capExtent = document;
	var fN, mseHandler = YMLSMouseMove;
	var re = /function[ ]+(\w+)\(/;
	if (document.onmousemove || (!YMLSIe4 && window.onmousemove)) {
		if (window.onmousemove) capExtent = window;
		fN = capExtent.onmousemove.toString().match(re);
		if (fN == null || fN[1] == 'anonymous' || fN[1] == 'YMLSMouseMove') {
			YMLSCheckMouseCapture = false;
			return;
		}
		var str = fN[1]+'(e); if (zooming) return false; YMLSMouseMove(e); '; // modified by cbb... added zooming stuff
		mseHandler = new Function('e', str);
	}
	capExtent.onmousemove = mseHandler;
	if (YMLSNs4) capExtent.captureEvents(Event.MOUSEMOVE);
}

//8
function parseTokens(pf, ar) {
/* alert("parseTokens"); */
	var v, mode=-1, par = (pf != 'YMLS_');	
	var fnMark = (par && !ar.length ? 1 : 0);
	for (i = 0; i < ar.length; i++) {	
		if (mode < 0) {
			if (typeof ar[i] == 'number' && ar[i] > pmStart && ar[i] < pmUpper) {
				fnMark = (par ? 1 : 0);
				i--;
			} else if (pf == 'YMLS_')
				YMLS_text = ar[i].toString();
			else YMLS3_text=ar[i].toString();  
			mode = 0;
		} else {
			if (ar[i] >= pmCount) { continue; }
			if (ar[i]==STICKY) { if (pf!='YMLS_') eval(pf+'sticky=1'); continue; }
			if (ar[i]==NOCLOSE) { if (pf!='YMLS_') opt_NOCLOSE(); continue; }
			if (ar[i]==FGCOLOR) { eval(pf+'fgcolor="'+ar[++i]+'"'); continue; }
			if (ar[i]==BGCOLOR) { eval(pf+'bgcolor="'+ar[++i]+'"'); continue; }
			if (ar[i]==FIXX) { eval(pf+'fixx='+ar[++i]); continue; }
			if (ar[i]==FIXY) { eval(pf+'fixy='+ar[++i]); continue; }
			if (ar[i]==MOUSEOFF) { eval(pf +'mouseoff=('+pf+'mouseoff==0) ? 1 : 0'); 
				v=ar[i+1]; 
				if (pf != 'YMLS_' && eval(pf+'mouseoff') && typeof v == 'number' && (v < pmStart || v > pmUpper)) 
					YMLSHideDelay=ar[++i];
					continue; 
			}
			i = parseCmdLine(pf, i, ar);
		}
	}
	if (pf == 'YMLS3_' && YMLS3_sticky && YMLS3_mouseoff && YMLS3_frame == YMLS_frame) opt_NOCLOSE(' ');
}

//u
function layerWrite(txt) {
/* alert("layerWrite"); */
	txt += "\n";
	if (YMLSNs4) {
		var lyr = YMLS3_frame.document.layers['overDiv'].document
		lyr.write(txt)
		lyr.close()
	} else if (typeof over.innerHTML != 'undefined') {
		if (YMLSIe5 && isMac) over.innerHTML = '';
		over.innerHTML = txt;
	} else {
		range = YMLS3_frame.document.createRange();
		range.setStartAfter(over);
		domfrag = range.createContextualFragment(txt);
		while (over.hasChildNodes())
			over.removeChild(over.lastChild);
		over.appendChild(domfrag);
	}
}

//u
function showObject(obj) {
/* alert("showObject"); */
	runHook("showObject", FBEFORE);
	var theObj=(YMLSNs4 ? obj : obj.style);
	theObj.visibility = 'visible';
	runHook("showObject", FAFTER);
}

//u
function hideObject(obj) {
/* alert("hideObject"); */
	runHook("hideObject", FBEFORE);
	if (obj == null) return; // added by cbb
	var theObj=(YMLSNs4 ? obj : obj.style);
	if (YMLSNs6 && YMLSShowId>0) { clearTimeout(YMLSShowId); YMLSShowId=0; }
	theObj.visibility = 'hidden';
	if (YMLS3_timerid > 0) clearTimeout(YMLS3_timerid);
	YMLS3_timerid = 0;
	if (obj.onmouseout || obj.onmouseover) {
		if (YMLSNs4) obj.releaseEvents(Event.MOUSEOUT || Event.MOUSEOVER);
		obj.onmouseout = obj.onmouseover = null;
	}
	runHook("hideObject", FAFTER);
}

//u
function repositionTo(obj, xL, yL) {
/* alert("repositionTo"); */
	var theObj=(YMLSNs4 ? obj : obj.style);
	yL = yL + 10;
	theObj.left = xL - 175 + (!YMLSNs4 ? 'px' : 0);
	theObj.top = yL + (!YMLSNs4 ? 'px' : 0);

/* 	if (xL > 550/2) { */
/* 	yL = yL + 10; */
/* alert("Test"); */	
/* 	theObj.left = xL - 175 + (!YMLSNs4 ? 'px' : 0); */
/* 	theObj.top = yL + (!YMLSNs4 ? 'px' : 0); */
/* 	} */
}

//u
function cursorOff() {
/* alert("cursorOff"); */
	var left = parseInt(over.style.left);
	var top = parseInt(over.style.top);
	var right = left + (over.offsetWidth >= 0 ? over.offsetWidth : 0);
	var bottom = top + (over.offsetHeight >= 0 ? over.offsetHeight : 0);
	if (YMLS3_x < left || YMLS3_x > right || YMLS3_y < top || YMLS3_y > bottom) return true;
	return false;
}

//u
function opt_NOCLOSE(unused) {
/* alert("opt_NOCLOSE"); */
	if (YMLSNs4) {
		over.captureEvents(Event.MOUSEOUT || Event.MOUSEOVER);
		over.onmouseover = function () { if (YMLS3_timerid > 0) { clearTimeout(YMLS3_timerid); YMLS3_timerid=0; } }
		over.onmouseout = function (e) { if (YMLSHideDelay) hideDelay(YMLSHideDelay); else cClick(e); }
	} else
		over.onmouseover = function () {hoveringSwitch = true; if (YMLS3_timerid > 0) { clearTimeout(YMLS3_timerid); YMLS3_timerid=0; } }
	return 0;
}

//5
function YMLSonLoad_handler(e) {
/* alert("YMLSonLoad_handler"); */
	var re = /\w+\(.*\)[;\s]+/g, YMLSre = /overlib\(|nd\(|cClick\(/, fn, l, i;
	if(!YMLSLoaded) YMLSLoaded=1;
	if(window.removeEventListener && e.eventPhase == 3) window.removeEventListener("load",YMLSonLoad_handler,false);
	else if(window.detachEvent) {
		window.detachEvent("onload",YMLSonLoad_handler);
		var fN = document.body.getAttribute('onload');
		if (fN) {
			fN=fN.toString().match(re);
			if (fN && fN.length) {
				for (i=0; i<fN.length; i++) {
					if (/anonymous/.test(fN[i])) continue;
					while((l=fN[i].search(/\)[;\s]+/)) != -1) {
						fn=fN[i].substring(0,l+1);
						fN[i] = fN[i].substring(l+2);
						if (YMLSre.test(fn)) eval(fn);
					}
				}
			}
		}
	}
}

//u
function hideDelay(time) {
/* alert("hideDelay"); */
	if (time) {
		if (YMLS3_timerid > 0) clearTimeout(YMLS3_timerid);
		YMLS3_timerid=setTimeout("cClick()",time);
	}
}

//u
function horizontalPlacement(browserWidth, horizontalScrollAmount, widthFix) {
/* alert("horizontalPlacement"); */
	var placeX, iwidth=browserWidth, winoffset=horizontalScrollAmount;
	if (YMLS3_fixx > -1) {
		placeX=YMLS3_fixx;
	} else {  
		placeX = YMLS3_x;
		if (placeX > (winoffset+iwidth - widthFix)) {
			placeX = iwidth+winoffset - widthFix;
			if (placeX < 0) placeX = 0;
		}
	}	
	return placeX;
}

//u
function verticalPlacement(browserHeight,verticalScrollAmount) {
/* alert("verticalPlacement"); */
	var placeY, iheight=browserHeight, scrolloffset=verticalScrollAmount;
	var parsedHeight=(YMLSNs4 ? over.clip.height : over.offsetHeight);
	if (YMLS3_fixy > -1)
		placeY=YMLS3_fixy;
	else
		placeY = YMLS3_y;
	return placeY;
}

//u
function createDivContainer() { 
	return layerReference('overDiv'); 
}

//u
function layerReference(id) { 
	return (YMLSNs4 ? YMLS3_frame.document.layers[id] : (document.all ? YMLS3_frame.document.all[id] : YMLS3_frame.document.getElementById(id))); 
}

//7
function setRunTimeVariables() {
/* alert("setRunTimeVariables"); */
	if (typeof runTime != 'undefined' && runTime.length)
		for (var k = 0; k < runTime.length; k++)
			runTime[k]();
}

/* function parseCmdLine(pf, i, args) { */
/* alert("parseCmdLine"); */
/* 	if (typeof cmdLine != 'undefined' && cmdLine.length) {  */
/* 		for (var k = 0; k < cmdLine.length; k++) {  */
/* 			var j = cmdLine[k](pf, i, args); */
/* 			if (j >- 1) { */
/* 				i = j; */
/* 				break; */
/* 			} */
/* 		} */
/* 	} */
/* 	return i; */
/* } */

//u
function postParseChecks(){
	if (typeof postParse != 'undefined' && postParse.length) {
		for (var k = 0; k < postParse.length; k++) {
			if (postParse[k]()) continue;
			return false;
		}
	}
	return true;
}

//1
function registerCommands(cmdStr) {
/* alert("registerCommands"); */
	if (typeof cmdStr!='string') return;
	var pM = cmdStr.split(',');
	pms = pms.concat(pM);
	for (var i = 0; i< pM.length; i++)
		eval(pM[i].toUpperCase()+'='+pmCount++);
}

//4
function registerNoParameterCommands(cmdStr) {
/* alert("registerNoParameterCommands"); */
	if (!cmdStr && typeof cmdStr!='string') return;
	pmt=(!pmt) ? cmdStr : pmt + ',' + cmdStr;
}

//3
function registerHook(fnHookTo, fnRef, hookType, optPm) {
/* alert("registerHook"); */
	var hookPt, last = typeof optPm;
	if (fnHookTo == 'plgIn'||fnHookTo == 'postParse') return;
	if (typeof hookPts == 'undefined') hookPts = new Array();
	if (typeof hookPts[fnHookTo] == 'undefined') hookPts[fnHookTo] = new FunctionReference();
	hookPt = hookPts[fnHookTo];
	if (hookType != null) {
		if (hookType == FREPLACE) {
			hookPt.ovload = fnRef;
		} else if (hookType == FBEFORE || hookType == FAFTER) {
			var hookPt=(hookType == 1 ? hookPt.before : hookPt.after);
			if (typeof fnRef == 'object') hookPt = hookPt.concat(fnRef); else hookPt[hookPt.length++] = fnRef;
			if (optPm) hookPt = reOrder(hookPt, fnRef, optPm);
		} else if (hookType == FALTERNATE) {
			if (last=='number') hookPt.alt[pms[optPm-1-pmStart]] = fnRef;
		} else if (hookType == FCHAIN) {
			hookPt = hookPt.chain; 
			if (typeof fnRef=='object') hookPt=hookPt.concat(fnRef);
			else hookPt[hookPt.length++]=fnRef;
		}
		return;
	}
}

//u
function runHook(fnHookTo, hookType) {
/* alert("runHook"); */
	var l = hookPts[fnHookTo], k, rtnVal, optPm, arS, ar = runHook.arguments;
	if (hookType == FREPLACE) {
		arS = argToString(ar, 2);
		if (typeof l == 'undefined' || !(l = l.ovload)) {
			return eval(fnHookTo+'('+arS+')'); 
		} else {
			return eval('l('+arS+')');
		}
	} else if (hookType == FBEFORE || hookType == FAFTER) {
		if (typeof l == 'undefined') return;
		l=(hookType == 1 ? l.before : l.after);
		if (!l.length) return;
		arS = argToString(ar, 2);
		for (var k = 0; k < l.length; k++) eval('l[k]('+arS+')'); 
	} else if (hookType == FALTERNATE) {
		optPm = ar[2];
		arS = argToString(ar, 3);
		return (typeof l == 'undefined' || (l = l.alt[pms[optPm-1-pmStart]]) == 'undefined') ? eval(fnHookTo+'('+arS+')') : eval('l('+arS+')');
	} else if (hookType == FCHAIN) {
		arS=argToString(ar,2);
		l=l.chain;
		for (k=l.length; k > 0; k--) if((rtnVal=eval('l[k-1]('+arS+')'))!=void(0)) return rtnVal;
	}
}

/* function isFunction(fnRef) { */
/* alert("isFunction"); */
/* 	if (typeof fnRef == 'object') { */
/* 		for (var i = 0; i < fnRef.length; i++) */
/* 			if (typeof fnRef[i]!='function') return false; */
/* 	} else if (typeof fnRef != 'function') */
/* 		return false; */
/* 	return true; */
/* } */

//u
function argToString(array, strtInd, argName) {
/* alert("argToString"); */
	var jS = strtInd, aS = '', ar = array;
	argName=(argName ? argName : 'ar');
	if (ar.length > jS) {
		for (var k = jS; k < ar.length; k++) aS += argName+'['+k+'], ';
		aS = aS.substring(0, aS.length-2);
	}
	return aS;
}

/* function reOrder(hookPt, fnRef, order) { */
/* alert("reOrder"); */
/* 	if (!order || typeof order == 'undefined' || typeof order == 'number') return; */
/* 	var newPt = new Array(), match; */
/* 	if (typeof order=='function') { */
/* 		if (typeof fnRef=='object') newPt = newPt.concat(fnRef); else newPt[newPt.length++]=fnRef; */
/* 		for (var i = 0; i < hookPt.length; i++) { */
/* 			match = false; */
/* 			if (typeof fnRef == 'function' && hookPt[i] == fnRef) { */
/* 				continue; */
/* 			} else { */
/* 				for(var j = 0; j < fnRef.length; j++) if (hookPt[i] == fnRef[j]) { match = true; break; } */
/* 			} */
/* 			if (!match) newPt[newPt.length++] = hookPt[i]; */
/* 		} */
/* 		newPt[newPt.length++] = order; */
/* 	} else if (typeof order == 'object') { */
/* 		if (typeof fnRef == 'object') newPt = newPt.concat(fnRef); else newPt[newPt.length++] = fnRef; */
/* 		for (var j = 0; j < hookPt.length; j++) { */
/* 			match = false; */
/* 			if (typeof fnRef == 'function' && hookPt[j] == fnRef) { */
/* 				continue; */
/* 			} else { */
/* 				for (var i = 0; i < fnRef.length; i++) if (hookPt[j] == fnRef[i]) { match = true; break; } */
/* 			} */
/* 			if (!match) newPt[newPt.length++]=hookPt[j]; */
/* 		} */
/* 		for (i = 0; i < newPt.length; i++) hookPt[i] = newPt[i]; */
/* 		newPt.length = 0; */
/* 		for (var j = 0; j < hookPt.length; j++) { */
/* 			match = false; */
/* 			for (var i = 0; i < order.length; i++) { */
/* 				if (hookPt[j] == order[i]) { */
/* 					match = true; */
/* 					break; */
/* 				} */
/* 			} */
/* 			if (!match) newPt[newPt.length++] = hookPt[j]; */
/* 		} */
/* 		newPt = newPt.concat(order); */
/* 	} */
/* 	for(i = 0; i < newPt.length; i++) hookPt[i] = newPt[i]; */
/* 	return hookPt; */
/* } */

//u
function FunctionReference() { 
	this.ovload = null;
	this.before = new Array();
	this.after = new Array();
	this.alt = new Array();
	this.chain = new Array();
 }

registerHook("horizontalPlacement", horizontalPlacement, FCHAIN);
registerHook("verticalPlacement", verticalPlacement, FCHAIN);
if (YMLSNs4||(YMLSIe5&&isMac)) YMLSLoaded=1;
registerNoParameterCommands('sticky,mouseoff');
