

$(window).load(function(){
    if (!( $.browser.msie && $.browser.version.substr(0,1)=="6" )) {
    var b = '10px';
    var n = '0px';
    $('#content').bg([b,b,b,b]);
    $('#navright').bg([b,n,n,b]);
    }
});

function insertTab(o, e) {
/* <textarea onkeydown="insertTab(this, event);"></textarea> */
	var kC = e.keyCode ? e.keyCode : e.charCode ? e.charCode : e.which;
	if (kC == 9 && !e.shiftKey && !e.ctrlKey && !e.altKey) {
		var oS = o.scrollTop;
		if (o.setSelectionRange) {
			var sS = o.selectionStart;
			var sE = o.selectionEnd;
			o.value = o.value.substring(0, sS) + "\t" + o.value.substr(sE);
			o.setSelectionRange(sS + 1, sS + 1);
			o.focus();
		}
		else if (o.createTextRange) {
			document.selection.createRange().text = "\t";
			e.returnValue = false;
		}
		o.scrollTop = oS;
		if (e.preventDefault) {
			e.preventDefault();
		}
		return false;
	}
	return true;
}


