	!-- /* BLOCK ERROR */

function blockError(){return true;}
window.onerror = blockError;

// -->

<!-- /* FULL BACKGROUND */

function fixBgImage() {
if (document.all.backgroundPic.style.setExpression) {
 document.all.backgroundPic.style.setExpression("height","document.all.MainTable.offsetHeight");
 document.recalc();
}
}
ie5 = (document.all && document.getElementById && !document.fireEvent)?true:false;
ie55= (document.all && document.fireEvent && !document.createComment)?true:false;
ie6 = (document.all && document.fireEvent && document.createComment)?true:false;
if (!window.opera && (ie5 || ie55 || ie6)) onload=fixBgImage;

// -->

// -------------------- start favorites popup scripting -----------------------------

function addbookmark()
{
bookmarkurl="http://www.rdnassociates.com/"
bookmarktitle="RDN Associates builds websites"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

// --------------------- Begin IMAGE ROLLOVER script-----------------------

function movepic(img_name,img_src) {
document[img_name].src=img_src;
}

// -------------------- Start blocker-safe Popup scripting -----------------------------

function child1Open (link, name)
{
win=window.open(link,name,"menubar=no,status=no,directories=no,resizable=no,scrollbars=no,height=370,width=965,left=10,top=-40");

}

function child2Open (link, name)
{
win=window.open(link,name,"menubar=no,status=no,directories=no,resizable=no,scrollbars=no,height=490,width=590,left=140,top=40");

}

function child3Open (link, name)
{
win=window.open(link,name,"menubar=no,status=no,directories=no,resizable=no,scrollbars=no,height=620,width=470,left=140,top=-40");

}

// -------------------- End blocker-safe Popup scripting -----------------------------

function closewin()
	{
		window.close();
	}
function timeoutwin()
	{
		var mytimeout;
		mytimeout=window.setTimeout("closewin()",8000);		
	}

// ----------- 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); }

// ----------- start NO SPAM CONTACT scripting --------------

function em(_u,_n)
{	var _l   = _u + "@" + "horizonsmagazines.com";
	document.write("<a href='mailto:"+_l+"?subject=Inquiry from website'>"+_n+"</a>");  }	
	
function em1(_u,_n)
{	var _l   = _u + "@" + "horizonsmagazines.com";
	document.write("<a href='mailto:"+_l+"?subject=Inquiry from website FOOTER'>"+_n+"</a>");  }	
	
function pokeName(_f,_n,_d) {
  _f.elements["recipient"].value= _n + "@" + _d;
}

// -------------------- 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 = ""
} 

	
	