/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 *	Copyright 2007 BOSS Logics, a division of Set Your Site, Inc.
 *	
 *	USE OF THIS CODE IS PROHIBITED WITHOUT EXPRESS WRITTEN PERMISSION.
 *
 *
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 

function rsi_send(url) {
	if(!zax_frame) {			// see if ptr is already setup
		tmp_frame = document.createElement('iframe');
		tmp_frame.setAttribute('id','RSIFrame');
		tmp_frame.style.width='00px';
		tmp_frame.style.height='00px';
		zax_frame = document.body.appendChild(tmp_frame);
	}
}
function rsi() {
	var target;
	this.send = send;
	function rsi(targ) {
		var tmp_frame;
		if(!targ || (targ==undefined)) targ = 'rsi_target';
		tmp_frame = document.createElement('iframe');
		tmp_frame.setAttribute('id',targ);
		tmp_frame.style.width='000px';
		tmp_frame.style.height='000px';
		tmp_frame.style.position='absolute';
		tmp_frame.style.top='0px';
		tmp_frame.style.visibility='hidden';
		//tmp_frame.style.display='none';
		target = document.body.appendChild(tmp_frame);
	}
	rsi();
	function send(url, params) {
		url = url+'?';
		if(params && (params!=undefined)) {
			for(var i in params) {
				url+=i+'='+params[i]+'&'
			}
		}
		target.src = url;
	}
}
