<!--
//onMouseover Scrollbar effect- by Svetlin Staev (svetlins@yahoo.com)
//Submitted to Dynamic Drive
//Visit http://www.dynamicdrive.com for this script

/*---------------[IE 5.5 Scrollbars colorer]--------------------*/
function scrollBar(line,face,theme)
	{
		if (!line||!face)
			{
				line=null;
				face=null;
				switch(theme) // Predefined themes
					{
						case "blue":
							var line="#FFFBFF";
							var face="#9FA0C4";
							break;
										
					}
			}

				with(document.body.style)
					{
						scrollbarDarkShadowColor=line;
						scrollbar3dLightColor="#73798C";
						scrollbarArrowColor="#ffffff";
						scrollbarBaseColor="#F7F7F7";
						scrollbarFaceColor=face;
						scrollbarHighlightColor="#FFFFFF";
						scrollbarShadowColor="#73798C";
						scrollbarTrackColor="#D6D3DE";
					}
			}

/*------------------[Pointer coordinates catcher]---------------*/
function colorBar(){
		var w = document.body.clientWidth;
		var h = document.body.clientHeight;
		var x = event.clientX;
		var y = event.clientY;
		if(x>w) scrollBar('#9FA0C4','#F7F7F7'); // Your colors
		else scrollBar(null,null,"blue"); // A predefined theme
	}

if (document.all){
scrollBar(null,null,"blue");
document.onmousemove=colorBar;
}
//-->
