
function checkBrowser() {
	var browser=navigator.userAgent.toLowerCase();
	document.write(browser);
}

function visit( url ) {
	top.window.location.href = url;
}



function over( tcell, statbar ) {
	tcell.style.color = '#000000'; 
//	tcell.style.backgroundColor = '#DFEDF6'; 
	status = statbar;
		
		
			
//  set vars to check for opera
    var agt=navigator.userAgent.toLowerCase();
    var notOpera=(agt.indexOf('opera')==-1);

	if (notOpera) //only use bg image if ie or ns as opera doesn't support anim gif bg
	{
		tcell.style.backgroundImage = 'url(http://www.dcwebhosting.co.uk/images/nav-bg-webcity.gif)';
		tcell.style.backgroundColor = ''; 
	}
	else 
	{
		tcell.style.backgroundColor = '#012D38'; 
	}

}

function out( tcell ) {
	tcell.style.backgroundColor = ''; 
	tcell.style.color = '#000000';
	tcell.style.backgroundImage = '';
	status = '';
}
function FlashInstalled()
{
	result = false;

	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])
	{
		result = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
	}
	else if (document.all && (navigator.appVersion.indexOf("Mac")==-1))
	{
		// IE Windows only -- check for ActiveX control, have to hide code in eval from Netscape (doesn't like try)
		eval ('try {var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj)	result = true; xObj = null;	} catch (e)	{}');
	}
	return result;
}

function placeImage()
{	
	if (FlashInstalled())
	{
	 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" width="338" height="74">');
     document.write('<param name="movie" value="http://www.dcwebhosting.co.uk/images/webcity.swf">');
     document.write('<param name="quality" value="high"> <param name="menu" value="false">');
     document.write('<embed src="http://www.dcwebhosting.co.uk/images/webcity.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="338" height="74" menu="false"></embed></object>');
	}
	else document.write('<IMG SRC="http://www.dcwebhosting.co.uk/images/websites.jpg" ALT="web design" WIDTH=338 HEIGHT=74 border="0">');
}