
function removeFocusOnAllLinks(){
for(var i=0 ; i < document.links.length ; i++) 
document.links[i].onfocus=blurLink; 
}
 
function blurLink() {
if (this.blur) this.blur(); 
}
 
window.onload=removeFocusOnAllLinks;



function preloader() 
{
     var i = 0;
	 
     imageObj = new Image();
	 
     images = new Array();
	 images[0]="images/top_over.gif"
	 images[1]="images/top_down.gif"
	 images[2]="images/bottom_over.gif"
	 images[3]="images/bottom_down.gif"
	 
     for(i=0; i<=3; i++)
	 {
		 imageObj.src=images[i];
	 }

} 



function topOver(obj)
	{
	obj.style.background='url(images/top_over.gif)';
    obj.style.borderLeft='1px solid #9f7ec6';
    obj.style.borderRight='1px solid #000000';
    obj.style.cursor='pointer';
    }
    
function topDown(obj)
	{
	obj.style.background='url(images/top_down.gif)';
    obj.style.borderRight='1px solid #9f7ec6';
    obj.style.borderLeft='1px solid #000000';
	}
    
function topOut(obj)
	{
	obj.style.background='url(images/top.gif)';
    obj.style.borderLeft='1px solid #5c2e91';
    obj.style.borderRight='1px solid #5c2e91';
    }

function bottomOver(obj)
	{
	obj.style.background='url(images/bottom_over.gif)';
    obj.style.borderLeft='1px solid #9f7ec6';
    obj.style.borderRight='1px solid #000000';
    obj.style.cursor='pointer';
    }
    
function bottomDown(obj)
	{
	obj.style.background='url(images/bottom_down.gif)';
    obj.style.borderRight='1px solid #9f7ec6';
    obj.style.borderLeft='1px solid #000000';
	}
    
function bottomOut(obj)
	{
	obj.style.background='url(images/bottom.gif)';
    obj.style.borderLeft='1px solid #5c2e91';
    obj.style.borderRight='1px solid #5c2e91';
    }