//\/////
//\  coolTip Simple Scroll Plugin
//\  This file requires coolTip 1.44 or later.
//\  Modified June 9, 2005
//\
//\  You may not remove or change this notice.
//\  Copyright Robert E Boughner 2005. All rights reserved.
//\  
//\  This plugin is governed by the same restrictions set forth
//\  in the prologue to cCore.js.
//\/////
//\  THIS IS A VERY MODIFIED VERSION. DO NOT EDIT OR PUBLISH. GET THE ORIGINAL!
if(typeof cInfo==cUdf||!cInfo.meets(1.44))alert('coolTip 1.44 or later is required for the Scroll Plugin.');else{registerCommands('scroll');
setDefaultVariables('scroll|0');
function setSimpleScrollVariables(obj){obj.scroll=cd_scroll;}
function parseSimpleScrollExtras(pf,i,ar){var k=i,v;if(k<ar.length){if(ar[k]==SCROLL){eval(pf+'scroll=('+pf+'scroll==0)?1:0');return k;}}
return-1;}
function checkForScroll(){with(po){if(scroll&&sticky&&(relx||rely)&&(typeof draggable==cUdf||!draggable))return true;scroll=0;}
return true;}
function setSrollPosition(obj){with(obj){sticknow=1;if(relx)fixy=cMy;else if(rely)fixx=cMx;}
return void(0);}
registerRunTimeFunction(setSimpleScrollVariables);registerCmdLineFunction(parseSimpleScrollExtras);registerPostParseFunction(checkForScroll);registerHook('setPosition',setSrollPosition,FCHAIN);if(cInfo.meets(1.00))registerNoParameterCommands('scroll');}
