// JavaScript Document
var GO = function(elemId){return document.getElementById(elemId);}
function list(mid){
	if(GO("p_"+mid).style.display == "none"){
		GO("p_"+mid).style.display = "block";

	}else{
		GO("p_"+mid).style.display = "none";
	}
}

function show(id){
	var obj = document.getElementById(id);
	obj.style.display = "block";
}

function hidd(id){
	var obj = document.getElementById(id);
	obj.style.display = "none";
}

function flist(mid){
	if(GO("f_"+mid).style.display == "block"){
		GO("f_"+mid).style.display = "none";
	}else{
		GO("f_"+mid).style.display = "block";
	}
}	

function prot(idx){
	GO("prot"+idx).className =  'pick';
	GO("protC"+idx).style.display = "block";
		for(var i=1;i<4;i++){
			if(!GO("prot"+i)) continue;
			if(i != idx){
				GO("prot"+i).className =  'unpick';
				GO("protC"+i).style.display = "none";
			}
		}
	}
	
function ResumeError()  { 
   return true; 
} 

/* o start1*/ 
function get_Code() { 
var Dv_CodeFile = "includes/cachecodeimg.php"; 
if(document.getElementById("imgid")) 
	  document.getElementById("imgid").innerHTML = '<img class="valcode" src="'+Dv_CodeFile+'?t='+Math.random()+'" alt="Code, see clearly?Please click on Refresh Code!" title="Code, see clearly?Please click on Refresh Code!" onclick="this.src=\''+Dv_CodeFile+'?t=\'+Math.random()" />' 
} 
/*o end*/ 
var dvajax_request_type = "GET";
window.onerror = ResumeError; 	
