
//*******change scroll bar color***********
function changeScrollbarColor(color){
	if (document.all){
		document.body.style.scrollbarBaseColor = color
			}   
}
//********set focus***************
function SetFocus(control)
			{	document.all(control).focus();
				return false;
			}

//*************Popup in center of the screen************
function NewWindow(mypage, myname, w, h, scroll,status,resizable) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',status='+status+',resizable='+resizable
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//******Save as favorites **********
function addtofav(linkUrl,linkTitle){
   if (!document.all) {
      alert('Please hit ctrl-d to bookmark this page');
   }
   else external.AddFavorite(linkUrl,linkTitle);
   return false;
}