
	//Loads gallery and specified image into frameset

var subPg = document.location.href;
  var opr = navigator.userAgent.indexOf('Opera/') != -1 | navigator.userAgent.indexOf('Opera ') != -1;   // Opera identifying Opera or Other

function load_frame(frameset){
	if(!opr){
if (top.main.location.href.indexOf('frame_') == -1){
 if(top==self){
     self.location.href = '../../' + frameset;
}
 if (top.main.location.href.indexOf(frameset) == -1){
     top.main.location.href = "../../" +frameset +'?' +subPg;
}
}
}
	if(opr){
	  if (top.main.location.href.indexOf('~') == -1 && top.main.location.href.indexOf('galset') == -1){
		top.main.location.href = '../../' + frameset}
	}
}

