function redirect()
{

	
var hashURL = unescape(self.document.location.hash.substring(1))
var recRegExp = /recID=[0-9]{1,5}/;
var srcRegExp = /src=[0-9]{1,5}/;



var numberRegExp = /[0-9]{1,5}/;

var recIDStr = hashURL.match(recRegExp);
var srcIDStr = hashURL.match(srcRegExp);

var recID = 0;
var srcID = 0;




if (!(recIDStr == null)){
	recIDStr = recIDStr.toString();
	recID = recIDStr.match(numberRegExp);
	
}
if (!(srcIDStr == null)){
	srcIDStr = srcIDStr.toString();
	srcID = srcIDStr.match(numberRegExp);
}

var adUrl = "http://www.katapult.com/c/ad/get-ad/recID/"

if (!(recID == 0)){
	if (!(srcID == 0)){
		adUrl += recID + "/src/" + srcID;
	}
	else
	{
		adUrl += recID;
	}
	window.location = adUrl
}

	if ($recID == 0){
	focusFlash();
	}
}

