function removeToolTips() {
    var wrapper = document.getElementById("wrapper").getElementsByTagName("a");
    for (var i=0; i<wrapper.length; i++) {
        wrapper[i].removeAttribute("title");
    }
} 


// Navigation for IE
navHover = function() {
	if(document.getElementById("nav")){
		var navLi = document.getElementById("nav").getElementsByTagName("LI");
		for (var i=0; i<navLi.length; i++) {
			navLi[i].onmouseover=function() {
				this.className+=" over";
			}
			navLi[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" over\\b"), "");
			}
		}
	}
	if(document.getElementById("nav_home")){
		var navLi = document.getElementById("nav_home").getElementsByTagName("LI");
		for (var i=0; i<navLi.length; i++) {
			navLi[i].onmouseover=function() {
				this.className+=" over";
			}
			navLi[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" over\\b"), "");
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);

var newwindow;
function popup(url)
{	
    newwindow=window.open(url,'name','height=530, width=370, scrollbars=yes, toolbar=no, menubar=no, resizable=yes');
    if (window.focus) {newwindow.focus()}
}
function popuppic(url)
{
    newwindow=window.open(url,'name','height=380,width=350, scrollbars=no, toolbar=no, menubar=no, resizable=yes');
    if (window.focus) {newwindow.focus()}
}

// Bookmarking
function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}

function showHide(obj) {
	var newObject = document.getElementById(obj);
	if(newObject.className == "show hidtestimonial"){
		newObject.className = "hideitem";
	}else{
		newObject.className = "show hidtestimonial";
	}
}

// The script that applies both.
function womOn(){ window.onload = womGo; }
function womGo(){ for(var i = 0;i < woms.length;i++) eval(woms[i]); }
function womAdd(func){ woms[woms.length] = func; }
var woms = new Array();
// Add/Call your functions here using womAdd('myFunction()')
//womAdd('fnLoadPngs');
womAdd("BoxHeights.equalise('b1','b2','b3','b4','b5','b6','b7')");


womOn();
