var allPageTags = new Array(); 

function showbanner() {
	
var allPageTags=document.getElementsByTagName("div");

for (i=0; i<allPageTags.length; i++) {
	
if (allPageTags[i].className=='theClass') {
	
allPageTags[i].style.display='block';
}
}
} 


var detect = navigator.userAgent.toLowerCase(); 
var OS,browser,version,total,thestring; 

function checkIt(string) {
    place = detect.indexOf(string) + 1; thestring = string; 
	return place;
} 

function checkIt2(string) {
    place2 = detect.indexOf(string) + 2; thestring2 = string; 
	return place2;
} 

	
if (checkIt('opera')) {browser = "opera";}
else if (checkIt('mac_powerpc')) { browser = "mac";}
else if (checkIt('msie')) {browser = "explorer" ;}
else if (!checkIt('compatible')) { browser = "netscape";}
else browser = "An unknown browser";

	 
var ns4 = (document.layers);
var ie4 = (document.all && !document.getElementById);
var ie5 = (document.all && document.getElementById);
var ns6 = (!document.all && document.getElementById);
	 
function hide() {
    if(ns4){
	document.layers['flash'].display = "none";
    }
    else if(ie4){
	document.all['flash'].style.display = "none";
    }
    else if(ie5 || ns6){
        document.getElementById('flash').style.display = "none";
    }
					
}
								
function show(id) {
    if(ns4){
	document.layers[id].visibility = "show";
    }
    else if(ie4){
        document.all[id].style.visibility = "visible";
    }
    else if(ie5 || ns6){
	document.getElementById(id).style.visibility = "visible";
    }
}
															    
function cut(id,top,bottom,right,left) {
  if ( document.getElementById(id) ) {
    document.getElementById('expander').style.height = bottom+'px';
    }
  else if(ns4){
    document.layers[id].clip.top = top;
    document.layers[id].clip.bottom = bottom;
    document.layers[id].clip.right = right;
    document.layers[id].clip.left = left;	
    }
  else if(ie4){
    document.all[id].style.clip ="rect("+top+","+right+","+bottom+","+left+")";
    }
  else if(ie5 || ns6){
    document.getElementById(id).style.clip = "rect("+top+","+right+","+bottom+","+left+")";
    }
  }
										    
function start() {
    if(browser!="opera"){
    }
}
													    
