function tab_hidden(a,b) { document.getElementById(a).style.visibility = "hidden"; if ( document.getElementById('li_' + a) ) document.getElementById('li_' + a).style.borderBottom = '1px solid #1F1F21'; if ( document.getElementById('li_' + a) ) document.getElementById('li_' + a).style.cursor = 'pointer'; if(b == 1) { document.getElementById(a).style.display = "none"; } } function tab_visible(a,b) { document.getElementById(a).style.visibility = "visible"; if ( document.getElementById('li_' + a) ) document.getElementById('li_' + a).style.borderBottom = 'none'; if ( document.getElementById('li_' + a) ) document.getElementById('li_' + a).style.cursor = 'text'; if(b == 1) { document.getElementById(a).style.display = ""; } } /*********************************************** * Dynamic Ajax Content- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ var bustcachevar=1 //bust potential caching of external pages after initial request? (1=yes, 0=no) var loadedobjects="" var rootdomain="http://"+window.location.hostname var bustcacheparameter="" function ajaxpage(url, containerid){ var page_request = false if (window.XMLHttpRequest) // if Mozilla, Safari etc page_request = new XMLHttpRequest() else if (window.ActiveXObject){ // if IE try { page_request = new ActiveXObject("Msxml2.XMLHTTP") } catch (e){ try{ page_request = new ActiveXObject("Microsoft.XMLHTTP") } catch (e){} } } else return false page_request.onreadystatechange=function(){ loadpage(page_request, containerid) } if (bustcachevar) //if bust caching of external page bustcacheparameter=(url.indexOf("?")!=-1)? "&"+new Date().getTime() : "?"+new Date().getTime() page_request.open('GET', url+bustcacheparameter, true) page_request.send(null) } function loadpage(page_request, containerid){ if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)) document.getElementById(containerid).innerHTML=page_request.responseText } function loadobjs(){ if (!document.getElementById) return for (i=0; i