var currenturl = window.parent.frames.location.href;
var redirecturl = '&currency=TRY';
var patt1=/refreshCurrency/g;
window.onload = function() {
	if( currenturl.match(patt1) != null) {
		self.location=currenturl.replace("&refreshCurrency=1", "") + redirecturl;
	}
}

