function setFrame(url) {
	if(window.top == window){
		// not in iframe/frame
		window.location.href = url;
	}
}
