//onMouseOver="Javascript: statusbartext('Edit Filter');return true;" 
//onMouseOut="Javascript: statusbartext('');return true;"

/********************************************************************
//* Function: statusbartext()                                       *
//* Created By: MJM                                                 *
//* Initial Version: 9/8/03                                         *
//* Perpose: Changes status bar text on mouse over and mouse out    *
//* Parameters: strText (text value)                                *
//******************************************************************/

function statusbartext(strtext){ 
    window.status=strtext; 
}


/********************************************************************
//* Function: disableclick()                                        *
//* Created By: MJM                                                 *
//* Initial Version: 9/8/03                                         *
//* Perpose: disables saving of images                              *
//******************************************************************/
function disableclick(e) {
	if (document.all) {
		if (event.button==2||event.button==3) {
			if (event.srcElement.tagName=="IMG"){
			     window.alert("Copyright Accucost 2003");
                             return true;
			}
		}
	}
	else if (document.layers) {
		if (e.which == 3) {
			return true;
		}
	}
	else if (document.getElementById){
		if (e.which==3&&e.target.tagName=="IMG"){
		     window.alert("Copyright Accucost 2003");
                     return true;
		}
	}
}

/********************************************************************
//* Function: associateimages()                                     *
//* Created By: MJM                                                 *
//* Initial Version: 9/8/03                                         *
//* Perpose: allows for all images on included page to be disabled  *
//******************************************************************/
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}


if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()

