var affInterfaceOptions = '&pr_code=i2DMjOaP39B93211piR71ndHmXROEM&cols=3&rows=4&shop=s1-lightblue';

function IncludeAffInterface(options,file){
	if(!file) file = 'pr_interface';
	options = affInterfaceOptions + (options ? '&'+options : '');
	document.write('<SCRIPT type="text/javascript" language="JavaScript" src="http://www.templatehelp.com/codes/'+file+'.php?'+options+'"><'+'/SCRIPT>');
}

function Popup(url){
	window.open(
		url,
		'window',
		'width=500, height=550, resizable=yes, scrollbars=yes, location=no,  toolbar=no, menubar=no, status=no'
	);
}
// 
function HideStatus(){
	window.status = document.readyState!="complete" ?
		"Loading..." : window.defaultStatus;
}
document.onreadystatechange = HideStatus;

//<!--

var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
  if(EnableRightClick==1){ return true; }
  else {return false; }
}
function mousehandler(e){
  if(EnableRightClick==1){ return true; }
  var myevent = (isNS) ? e : event;
  var eventbutton = (isNS) ? myevent.which : myevent.button;
  if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
  var myevent = (isNS) ? e : window.event;
  if (myevent.keyCode==96)
    EnableRightClick = 1;
  return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;

function tFriend(){
	friendwinx=window.open("http://www.realty-network.org/forms/popup/tellfriend.htm","tf","top=50,left=50,width=280,height=275");
	friendwinx.creator=self;
	}

function rnMember(){
	memberwinx=window.open("http://www.realty-network.org/cgi-bin/rm/exec/admin.cgi","login","top=50,left=50,width=620,height=295, scrollbars=yes, menubar=no, directory=no, titlebar=no, resizable=yes");
	memberwinx.creator=self;
	}

//-->