function postScript(){
	tel=document.getElementsByTagName("a");
	for (var i=0;i<tel.length;i++){
		if(tel[i].id!="srch"){
	tel[i].onclick=function(){
			//resizeIframe('myframe');
			if(this.href.indexOf("lcuck.ac.uk")>=0){
				
				loadIf(this.href)
				return false;
			}else{
				
				this.target="_blank";
					return true;
			}
		};
		}
	}
		
}
function setlinks(titles){

		var o=parent.document.getElementById("sectionLinks").getElementsByTagName("li");
	for(var i=0;i<o.length;i++){
		try{
		if(i>=titles.length){
			o[i].style.display="none";
		  	o[i].style.visibility="hidden";
		}else
			o[i].style.display="";
		  	o[i].style.visibility="";
			var str="";
			
			if(titles[i][2]){
					str=" <a href='"+titles[i][0]+"'"; 
				if(titles[i][3]){
					str+=" target='"+titles[i][3]+"'";
				}
				str+="><img src='"+titles[i][2]+"' style='border:none; margin-left:-10px; margin-bottom:-4px; padding-bottom:-5px'>"+titles[i][1]+"</a>";
			}else{
				str=" <a href='"+titles[i][0]+"'";
				if(titles[i][3]){
					str+=" target='"+titles[i][3]+"'";
				}
				str+=">"+titles[i][1]+"</a>";
			}
			o[i].innerHTML=str;
		}	catch(e){}	}
	
}

function show(bol){
	var o=parent.document.getElementById("mainM");
	if(bol){
		o.style.display="";
		o.style.visibility="";
	}else{
		o.style.display="none";
		o.style.visibility="hidden";
	}
}

