<!-- // BLOCK ERROR
function blockError(){return true;}
window.onerror = blockError;
// -->

// --------------------- Begin IMAGE ROLLOVER script-----------------------

function movepic(img_name,img_src) {
document[img_name].src=img_src;
}


// ----------- start NO SPAM CONTACT scripting --------------

function em(_u,_n)
{	var _l   = _u + "@" + "rcalio.com";
	document.write("<a href='mailto:"+_l+"?subject=Inquiry from website Contact Us' CLASS='menu_top'>"+_n+"</a>");  }	
	
function em1(_u,_n)
{	var _l   = _u + "@" + "rcalio.com";
	document.write("<a href='mailto:"+_l+"?subject=Inquiry from website'>"+_n+"</a>");  }	
	
function pokeName(_f,_n,_d) {
  _f.elements["recipient"].value= _n + "@" + _d;
}

// ----------- start SELF-SIZING BROWSER-FRIENDLY CHILD WINDOW scripting --------------

/* Created by: Crazy Merlin :
http://nl.internet.com/ct.html?rtr=on&s=1,282v,1,83o,6n0z,lizu,hryg
Lee Underwood :
http://nl.internet.com/ct.html?rtr=on&s=1,282v,1,jlzb,dlcr,lizu,hryg
*/
function newWin(link,w,h,s,r,l,t) {
   // the next two lines should all be on one line with no space
     
   var winFeatures = 'width=' + w + ',height=' + h + ',scrollbars=' + s + ',resizable=' + r + ',left=' + l + ',top=' + t ;
   var bookWindow = window.open(link, "", winFeatures); }

// -------------------- Begin Form Value Delete -----------------------------

/*
Clear default form value script- By Ada Shimar (ada@chalktv.com)
Featured on Website Abstraction (http://wsabstract.com)
Visit wsabstract.com for 400+ free scripts!
*/

function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
} 

// -------------------- start FAVORITES POPUP scripting -----------------------------

function addbookmark()
{
bookmarkurl="http://www.rcalio.com/"
bookmarktitle="RJ Calio for Retail Technology Consulting"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

// -------------------- end FAVORITES POPUP scripting -----------------------------

//  ----------------- begin right-click lockout script --------------------- 
//  Original:  Martin Webb (martin@irt.org) 

//  This script and many more are available free online at 
//  The JavaScript Source!! http://javascript.internet.com 


function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Sorry, you do not have permission to right click.");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;

//  -----------------end right-click lockout script--------------------- 

