<!--

function Is() {
	var agent = navigator.userAgent.toLowerCase();
	// Mozilla wraps Netscape, Firefox and Safari
	// Gecko is found in both Firefox and Safari AND in wget
	this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
	this.ie = (agent.indexOf("msie") != -1);
	this.op3 = (agent.indexOf("opera") != -1);
	this.win = (agent.indexOf("win")!=-1);
	this.mac = (agent.indexOf("mac")!=-1);
	this.unix = (agent.indexOf("x11")!=-1);
	this.gecko = (agent.indexOf("gecko")!=-1);
	this.firefox = (agent.indexOf("firefox")!=-1);
	this.safari	= (agent.indexOf("safari")!=-1);
}

var is = new Is();

function iMode(x) {
	var uI ;
	if (x.unix) {
		uI = 'Unix' ;
	} else if (x.win) {
		uI = 'Windows' ;
	} else if (x.mac) {
		uI = 'Mac' ;
	} else {
		uI = 'Unknown' ;
	}
	if (x.ns) {
		if (x.firefox) {
			uI += '|Firefox' ;
		} else if (x.safari) {
			uI += '|Safari' ;
		} else if (x.gecko) {
			uI += '|Gecko engine' ;
		} else {
			uI += '|Netscape' ;
		}
	} else if (x.ie) {
		uI += '|Internet Explorer' ;
	} else if (x.op3) {
		uI += '|Opera' ;
	} else {
		uI += '|Unknown browser' ;
	}
	uI += '|Version ' ;
	uI += navigator.appVersion ;
	uI = uI + '|' + screen.width + '|' + screen.height + '|' + screen.colorDepth;
	return uI;
}

function jsFields() {
	document.write('<p>Name :&nbsp;&nbsp;(*Required) <br /><input type="text" name="realname" tabindex="1"  size="32" maxlength="40" class="tarea" /></p> <p>Email:&nbsp;&nbsp;(*Required) <br />') ;
	document.write('<input type="text" name="email" tabindex="2"  size="32" maxlength="40" class="tarea" /></p> <p>Address :&nbsp;&nbsp;(*Required) <br />') ;
	document.write('<textarea name="addr" tabindex="3" rows="8" cols="35" class="tarea"></textarea></p> <p>Telephone : <br />') ;
	document.write('<input type="text" name="tel" tabindex="4"  size="32" maxlength="50" class="tarea" /></p> <p>Details of requirement:&nbsp;&nbsp;(*Required) <br />') ;
	document.write('<textarea name="comment" tabindex="5" rows="12" cols="45" class="tarea"></textarea></p> <br />') ;
	document.write('<table border="0" cellpadding="12"><tr><td><input type="submit" tabindex="6" name="" value="Send" /></td> <td><input type="reset" tabindex="7" name="" value="Reset" /></td></tr></table>') ;
}

function init() {
	is = new Is() ;
	iMode = iMode(is) ;
}

// -->
