function setExitLinks(rcdir){
		var outbound;
		$("a[href^='http://']:visible").each(function(){
			outbound = "/" + rcdir + "/exitlink/http/" + $(this).attr("href").substr(7);
			$(this).attr("href",outbound);
		});
		$("a[href^='https://']:visible").each(function(){
			outbound = "/" + rcdir + "/exitlink/https/" + $(this).attr("href").substr(8);
			$(this).attr("href",outbound);
		});
	}

function isNull(val) {
	return (val == null);
}

function popUp(URL,MovWidth,MovHeight)
{
	window.open(URL, '_blank', 'status=no,toolbar=no,location=no,menubar=no,directories=no,resizable=yes,scrollbars=yes,width='+MovWidth+',height='+MovHeight);
}

function popUpAllOn(URL,MovWidth,MovHeight)
{
	window.open(URL, '_blank', 'toolbar=yes,scrollbars=yes,location=yes,statusbar=yes,menubar=yes,resizable=yes,width='+MovWidth+',height='+MovHeight);
}


function activateTrackLink(){
	//alert("begin");
	
	//for each element having attribute "ozTrack" present
	$("[ozTrack]").each(function (i) {
        $(this).click(function(){
        	//set onclick event to trigger ozTrack function
        	//alert($(this).attr("href"));
        });
    });
	
}

/*
$(document).ready(function() {
	//activateTrackLink();
});
*/
