
function dodemo (oururl, start, demo) {
var w = 575;
var h = 500;

	loururl = oururl + "/demos/" + start;
//	alert (loururl);
	demoname = "win" + demo;

	width = 800;
 	if (window.screen) {
  		width = screen.width;
	}
	LeftPosition = (width - w) / 2;
	TopPosition=100;
	sw = 50;
	sh = 25;
	
	settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';

	myfeatures = "Width="+w+"+Height="+h+",top='+TopPosition+',left='+LeftPosition+',titlebar=yes,resizable=no,scrollbars=no";
	myfeatures += ",screenX="+sw+",screenY="+sh;
//	alert (myfeatures);
	window.open (loururl, demoname, settings);
}

