function nothing() {}


function imgswp(name,ref) {
  if (document.images) {
        document.images[name].src = eval(ref+'.src');
  }
}   


function openWindow(url, name){
	popupWin = window.open(url, name, "width=380,height=450,resizable=yes,scrollbars=yes,toolbar=yes");
}
	

function openEventWindow(url, name){
	popupWin = window.open(url, name, "width=380,height=450,resizable=yes,scrollbars=yes,toolbar=no");
}


function flipBGColor(itemNo,color,ref) {
	var theItem = 'item'+itemNo;
	var objA,objB,objC;
	
	if(ref!='') {	imgswp(theItem,ref);	}
	if (br.indexOf('ie') >= 0) {	objA = eval('document.all.item'+itemNo+'a'); objA.style.backgroundColor = color;	}
	else if (br.indexOf('gecko') >= 0) {	objA = eval('document.getElementById(\"item'+itemNo+'a")'); objA.style.backgroundColor = color;	}
}

