function dansFrames(page,frame,params) {
		if(parent.frames.length==0) {
			var fileName=window.location.href;//.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length);
			window.location.href=page+"?"+frame+"="+fileName+"&"+params;
		} else {
		/*	if(top.location.search!="") {
				var sFrame=top.location.search.substring(1,top.location.search.indexOf("="));
				if(name==sFrame) {
					var sName=top.location.search.substring(top.location.search.indexOf("=")+1,top.location.search.length);
					var fileName=window.location.href.substring(window.location.href.lastIndexOf("/")+1,window.location.href.length);
					if(fileName!=sName) {
						location=sName;
					}
				}
		}*/
		}
	}