// JavaScript Document

function hide(pass) { 
var divs = document.getElementsByTagName('div'); 
for(i=0;i<divs.length;i++){ 
if(divs[i].id.match(pass)){//if they are 'see' divs 
if (document.getElementById) // DOM3 = IE5, NS6 
divs[i].style.visibility="hidden";// show/hide 
else 
if (document.layers) // Netscape 4 
document.layers[divs[i]].display = 'hidden'; 
else // IE 4 
document.all.hideshow.divs[i].visibility = 'hidden'; 
} 
} 
} 

function show(pass) { 
var divs = document.getElementsByTagName('div'); 
for(i=0;i<divs.length;i++){ 
if(divs[i].id.match(pass)){ 
if (document.getElementById) 
divs[i].style.visibility="visible"; 
else 
if (document.layers) // Netscape 4 
document.layers[divs[i]].display = 'visible'; 
else // IE 4 
document.all.hideshow.divs[i].visibility = 'visible'; 
} 
} 
} 

function setactive(ele, cls) {
document.getElementById(ele).className = cls;
}

function winPop4(a,b) {
wnd1=window.open(a,b,"width=380,height=400,status=no,toolbar=no,menubar=no,resizable=no,scrollbars=no");
wnd1.focus();
} 

function winPop5(a,b) {
wnd1=window.open(a,b,"width=401,height=80,status=no,toolbar=no,menubar=no,resizable=no,scrollbars=no");
wnd1.focus();
} 

function hidemail2(name) {
document.write('<a class="link" href="javascript: winPop4(&#39;http://www.cososys.com/mini-contact.php?person=' + name + '&#39;, &#39;CoSoSys&#39;);" class="copy">');
}

function hidemail4(name) {
document.write('<a class="link" href="javascript: winPop4(&#39;http://www.cososys.com/partners_contact.php?person=' + name + '&#39;, &#39;CoSoSys&#39;);">');
}