function loadHandler() {

}

/**
 * from quirksmode 
 * and http://dorward.me.uk/software/disablecss/
 */
function disableCSS() {
	nr = 0;
	if (document.getElementsByTagName) {
		x = document.getElementsByTagName('link');
	} else if (document.all) {
		x = document.all.tags('link');
	} else {
		alert('Your browser does not support disabling style sheets.\nDownload the free FireFox browser (www.mozilla.org) \nor the latest Microsoft Internet Explorer (www.microsoft.com).');
		return;
	}
	// disable linked css
	nr--;
	for (var i=0;i<x.length;i++)
	{
		dis = !(i == nr);
		x[i].disabled = dis;
	}
	// disable inline styles
	el = document.getElementsByTagName('*');
	for ( i=0; i<el.length; i++) {
		void(el[i].style.cssText = '');
	}
}

/**
 * window open
 */
var util = new Object();
util.openWindow = function (url,name,w,h,hasBars) {
	var newWin;
	var features;
	if ( !url ) { return; }
	if ( !name ) { name = "popup" }
	if ( !w ) { w = 600 }
	if ( !h ) { h = 400 }
	if ( hasBars ) {
		features = "scrollbars=yes,toolbar=yes,location=yes,status=yes,menubar=yes,resizable=yes";
	} else {
		features = "scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,resizable=yes";
	}
	newWin = window.open(url,name,"width=" + w + ",height=" + h + "," + features );
	newWin = window.open(url,name,"width=" + w + ",height=" + h + "," + features );
	newWin.focus();
	return;
}

