rem: if (ar[i]==MOUSEOFF) { eval(pf +'mouseoff=('+pf+'mouseoff == 0) ? 1 : 0'); continue; } 
add: if (ar[i]==MOUSEOFF) { eval(pf +'mouseoff=('+pf+'mouseoff==0) ? 1 : 0'); v=ar[i+1]; if (pf != 'ol_' && eval(pf+'mouseoff') && typeof v == 'number' && (v < pmStart || v > pmUpper)) olHideDelay=ar[++i]; continue; } 
context: function parseTokens(pf, ar) {	// What the next argument is expected to be.	var v, mode=-1, par = (pf != 'ol_');		var fnMark = (par && !ar.length ? 1 : 0);	for (i = 0; i < ar.length; i++) {		if (mode < 0) {			// Arg is maintext,unless its a number between pmStart and pmUpper			// then its a command.			if (typeof ar[i] == 'number' && ar[i] > pmStart && ar[i] < pmUpper) {				fnMark = (par ? 1 : 0);				i--;   // backup one so that the next block can parse it			} else {				switch(pf) {					case 'ol_':						ol_text = ar[i].toString();						break;					default:						o3_text=ar[i].toString();  				}			}			mode = 0;		} else {			// Note: NS4 doesn't like switch cases with vars.			if (ar[i] >= pmCount || ar[i]==DONOTHING) { continue; }			if (ar[i]==INARRAY) { fnMark = 0; eval(pf+'text=ol_texts['+ar[++i]+'].toString()'); continue; }			if (ar[i]==CAPARRAY) { eval(pf+'cap=ol_caps['+ar[++i]+'].toString()'); continue; }			if (ar[i]==STICKY) { if (pf!='ol_') eval(pf+'sticky=1'); continue; }			if (ar[i]==BACKGROUND) { eval(pf+'background="'+ar[++i]+'"'); continue; }			if (ar[i]==NOCLOSE) { if (pf!='ol_') opt_NOCLOSE(); continue; }			if (ar[i]==CAPTION) { eval(pf+"cap='"+escSglQuote(ar[++i])+"'"); continue; }			if (ar[i]==CENTER || ar[i]==LEFT || ar[i]==RIGHT) { eval(pf+'hpos='+ar[i]); continue; }			if (ar[i]==OFFSETX) { eval(pf+'offsetx='+ar[++i]); continue; }			if (ar[i]==OFFSETY) { eval(pf+'offsety='+ar[++i]); continue; }			if (ar[i]==FGCOLOR) { eval(pf+'fgcolor="'+ar[++i]+'"'); continue; }			if (ar[i]==BGCOLOR) { eval(pf+'bgcolor="'+ar[++i]+'"'); continue; }			if (ar[i]==TEXTCOLOR) { eval(pf+'textcolor="'+ar[++i]+'"'); continue; }			if (ar[i]==CAPCOLOR) { eval(pf+'capcolor="'+ar[++i]+'"'); continue; }			if (ar[i]==CLOSECOLOR) { eval(pf+'closecolor="'+ar[++i]+'"'); continue; }			if (ar[i]==WIDTH) { eval(pf+'width='+ar[++i]); continue; }			if (ar[i]==BORDER) { eval(pf+'border='+ar[++i]); continue; }			if (ar[i]==CELLPAD) { i=opt_MULTIPLEARGS(++i,ar,(pf+'cellpad')); continue; }			if (ar[i]==STATUS) { eval(pf+"status='"+escSglQuote(ar[++i])+"'"); continue; }			if (ar[i]==AUTOSTATUS) { eval(pf +'autostatus=('+pf+'autostatus == 1) ? 0 : 1'); continue; }			if (ar[i]==AUTOSTATUSCAP) { eval(pf +'autostatus=('+pf+'autostatus == 2) ? 0 : 2'); continue; }			if (ar[i]==HEIGHT) { eval(pf+'height='+pf+'aboveheight='+ar[++i]); continue; } // Same param again.			if (ar[i]==CLOSETEXT) { eval(pf+"close='"+escSglQuote(ar[++i])+"'"); continue; }			if (ar[i]==SNAPX) { eval(pf+'snapx='+ar[++i]); continue; }			if (ar[i]==SNAPY) { eval(pf+'snapy='+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]==RELX) { eval(pf+'relx='+ar[++i]); continue; }			if (ar[i]==RELY) { eval(pf+'rely='+ar[++i]); continue; }			if (ar[i]==FGBACKGROUND) { eval(pf+'fgbackground="'+ar[++i]+'"'); continue; }			if (ar[i]==BGBACKGROUND) { eval(pf+'bgbackground="'+ar[++i]+'"'); continue; }			if (ar[i]==PADX) { eval(pf+'padxl='+ar[++i]); eval(pf+'padxr='+ar[++i]); continue; }			if (ar[i]==PADY) { eval(pf+'padyt='+ar[++i]); eval(pf+'padyb='+ar[++i]); continue; }			if (ar[i]==FULLHTML) { if (pf!='ol_') eval(pf+'fullhtml=1'); continue; }			if (ar[i]==BELOW || ar[i]==ABOVE) { eval(pf+'vpos='+ar[i]); continue; }			if (ar[i]==CAPICON) { eval(pf+'capicon="'+ar[++i]+'"'); continue; }			if (ar[i]==TEXTFONT) { eval(pf+"textfont='"+escSglQuote(ar[++i])+"'"); continue; }			if (ar[i]==CAPTIONFONT) { eval(pf+"captionfont='"+escSglQuote(ar[++i])+"'"); continue; }			if (ar[i]==CLOSEFONT) { eval(pf+"closefont='"+escSglQuote(ar[++i])+"'"); continue; }			if (ar[i]==TEXTSIZE) { eval(pf+'textsize="'+ar[++i]+'"'); continue; }			if (ar[i]==CAPTIONSIZE) { eval(pf+'captionsize="'+ar[++i]+'"'); continue; }			if (ar[i]==CLOSESIZE) { eval(pf+'closesize="'+ar[++i]+'"'); continue; }			if (ar[i]==TIMEOUT) { eval(pf+'timeout='+ar[++i]); continue; }			if (ar[i]==FUNCTION) { if (pf=='ol_') { if (typeof ar[i+1]!='number') { v=ar[++i]; ol_function=(typeof v=='function' ? v : null); }} else {fnMark = 0; v = null; if (typeof ar[i+1]!='number') v = ar[++i];  opt_FUNCTION(v); } continue; }			if (ar[i]==DELAY) { eval(pf+'delay='+ar[++i]); continue; }			if (ar[i]==HAUTO) { eval(pf+'hauto=('+pf+'hauto == 0) ? 1 : 0'); continue; }			if (ar[i]==VAUTO) { eval(pf+'vauto=('+pf+'vauto == 0) ? 1 : 0'); continue; }			if (ar[i]==CLOSECLICK) { eval(pf +'closeclick=('+pf+'closeclick == 0) ? 1 : 0'); continue; }			if (ar[i]==WRAP) { eval(pf +'wrap=('+pf+'wrap == 0) ? 1 : 0'); continue; }			if (ar[i]==FOLLOWMOUSE) { eval(pf +'followmouse=('+pf+'followmouse == 1) ? 0 : 1'); continue; }			if (ar[i]==MOUSEOFF) { eval(pf +'mouseoff=('+pf+'mouseoff == 0) ? 1 : 0'); continue; }			if (ar[i]==CLOSETITLE) { eval(pf+"closetitle='"+escSglQuote(ar[++i])+"'"); continue; }			if (ar[i]==CSSOFF||ar[i]==CSSCLASS) { eval(pf+'css='+ar[i]); continue; }			if (ar[i]==FGCLASS) { eval(pf+'fgclass="'+ar[++i]+'"'); continue; }			if (ar[i]==BGCLASS) { eval(pf+'bgclass="'+ar[++i]+'"'); continue; }			if (ar[i]==TEXTFONTCLASS) { eval(pf+'textfontclass="'+ar[++i]+'"'); continue; }			if (ar[i]==CAPTIONFONTCLASS) { eval(pf+'captionfontclass="'+ar[++i]+'"'); continue; }			if (ar[i]==CLOSEFONTCLASS) { eval(pf+'closefontclass="'+ar[++i]+'"'); continue; }			i = parseCmdLine(pf, i, ar);		}	}	if (fnMark && o3_function) o3_text = o3_function();		if ((pf == 'o3_') && o3_wrap) {		o3_width = 0;				if (olOp || (olIe4 && isMac)) {			var tReg=/<.*\n*>/ig;			if (!tReg.test(o3_text)) o3_text = o3_text.replace(/[ ]+/g, '&nbsp;');			if (!tReg.test(o3_cap))o3_cap = o3_cap.replace(/[ ]+/g, '&nbsp;');		}	}	if ((pf == 'o3_') && o3_sticky) {		if (!o3_close && (o3_frame != ol_frame)) o3_close = ol_close;		if (o3_mouseoff && (o3_frame == ol_frame)) opt_NOCLOSE(' ');	}}
meta: 1202	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1202/5c2a3f178d3635912444f7b2a90d17acd84d5d4f/overlib.js/clean/web/theme/scripts/overlib.js