function bustFrames() {

	if (top != self)
	{
		top.location = location
	}
}

function styleFixOpera(fStr) {
	var navNam;
	var fixStr;
	var stStr;
	var fnStr;
	var navAg;

	navAg = navigator.userAgent;
	
	fixStr = fStr;
	
	navNam = navigator.appName;


		if ((navNam.indexOf('Opera') != -1) || (navNam.indexOf('Microsoft') != -1) && (navAg.indexOf('Mac') == -1)){
			//ID'ed as Opera or MSIE Win
			fixStr = fStr + 'style/opera.css';
			stStr = '<link rel="stylesheet" media="screen" type="text/css" href="';
			fnStr = '" />';
			if (fixStr != fStr) {
				fixStr = stStr + fixStr + fnStr;
				document.writeln(fixStr);
			}
		} 
}

function layerVisChange(objectStr,visStr) {
              
	var changeStr;
	var theObj;
              
if (document.all) {
	if (visStr == "show") {
		visStr = "visible";
	} else if (visStr == "hide") {
		visStr = "hidden";
	}
	changeStr = "document.all['" + objectStr + "']";
	theObj = eval(changeStr);
	if (theObj) {
		theObj.style.visibility = visStr;
	}
} else if (document.layers) {
	changeStr = "document.layers['" + objectStr + "']";
	theObj = eval(changeStr);
	if (theObj) {
		theObj.visibility = visStr;
	}
} else if (document.getElementById) {
	if (visStr == "show") {
		visStr = "visible";
	} else if (visStr == "hide") {
		visStr = "hidden";
	}
	changeStr = "document.getElementById('" + objectStr + "')";
	theObj = eval(changeStr);
	if (theObj) {
		theObj.style.visibility = visStr;
	}
}
}




function varDisp(ident,vStr) {

	var changeStr;
	var theObj;
	var dispStr;
	
	if (document.getElementById) {
		changeStr = "document.getElementById('" + ident + "')";	
		theObj = eval(changeStr);
		if (theObj) {
			theObj.style.display = vStr;
		}
	} else if (document.all) {
		changeStr = "document.all['" + ident + "']";
		theObj = eval(changeStr);
		if (theObj) {
			theObj.style.display = vStr;
		}	
	} 
}



function addNetscapePanel() { 

      if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) 
      	{ 
         	window.sidebar.addPanel ("New at DC's Page", "http://www.dcjt.demon.co.uk/dc/sidebar/news.html",""); 
      	} 
      		else 
      	{ 
         	var rv = window.confirm ("This page is enhanced for use with Gecko-based browsers.  " + "Would you like to upgrade to one?"); 
         	if (rv) document.location.href = "http://www.mozilla.org/products/firefox/start/";
      	} 
}

