<!-- 
// JS Detect Broswer Script //

var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;

if (checkIt('konqueror'))
{
	browser = "Konqueror";
	OS = "Linux";
}
else if (checkIt('safari')) browser = "Safari"
else if (checkIt('omniweb')) browser = "OmniWeb"
else if (checkIt('opera')) browser = "Opera"
else if (checkIt('webtv')) browser = "WebTV";
else if (checkIt('icab')) browser = "iCab"
else if (checkIt('msie')) browser = "Internet Explorer"
else if (!checkIt('compatible'))
{
	browser = "Netscape Navigator"
	version = detect.charAt(8);
}
else browser = "An unknown browser";

if (!version) version = detect.charAt(place + thestring.length);

if (!OS)
{
	if (checkIt('linux')) OS = "Linux";
	else if (checkIt('x11')) OS = "Unix";
	else if (checkIt('mac')) OS = "Mac"
	else if (checkIt('win')) OS = "Windows"
	else OS = "an unknown operating system";
}

function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}
function jsConfirm(msgString) {
	
var Agree = confirm("" + msgString + "");
if (Agree)
	return true ;
else
	return false ;
}

var win = null;
function newWindow(mypage,myname,w,h,features) {
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}
function openDir(form) { 
	var newIndex = form.jump.selectedIndex; 
	cururl = form.jump.options[newIndex].value; 
	window.location.assign(cururl); 
} 
function openDir2(form) { 
	var newIndex = form.jump2.selectedIndex; 
	cururl = form.jump2.options[newIndex].value; 
	window.location.assign(cururl); 
} 

function jsHide(tr_id){
   document.getElementById(tr_id).style.display = 'none';
}
function jsShow(tr_id){
	if (browser != "Internet Explorer")
	{
		document.getElementById(tr_id).style.display = 'table-row';
	}
	else {
		document.getElementById(tr_id).style.display = 'block';
	}
}
function knockOut() {
	document.getElementById('rosewood').className = 'fade woodgrain';
	document.getElementById('burgundy').className = 'fade plain';
	document.getElementById('blue').className = 'fade plain';
	document.getElementById('beige').className = 'fade plain';
	document.getElementById('yellow').className = 'fade plain';
	document.getElementById('oak').className = 'fade plain';
	document.getElementById('grey').className = 'fade plain';
	document.getElementById('silver').className = 'fade plain';
	document.getElementById('anthracite').className = 'fade plain';
}
function knockOutReset() {
	document.getElementById('rosewood').className = 'swatch woodgrain';
	document.getElementById('burgundy').className = 'swatch plain';
	document.getElementById('blue').className = 'swatch plain';
	document.getElementById('beige').className = 'swatch plain';
	document.getElementById('yellow').className = 'swatch plain';
	document.getElementById('oak').className = 'swatch plain';
	document.getElementById('grey').className = 'swatch plain';
	document.getElementById('silver').className = 'swatch plain';
	document.getElementById('anthracite').className = 'swatch plain';
}
//-->

