function changeInputBgc(obj, bgStatus) {
	if(bgStatus == '0') {
		obj.style.backgroundColor = "#ffffff";
	} else if(bgStatus == '1') {
		obj.style.backgroundColor = "#ffffcc";
	}
}

self.name = "aiemuMainWin";
self.focus();

function openWindow(url,windowname,width,height) {
 var features="location=yes, menubar=yes, status=yes, scrollbars=yes, resizable=yes, toolbar=yes";
 if (width) {
  if (window.screen.width > width)
   features+=", left="+(window.screen.width-width)/2;
  else width=window.screen.width;
  features+=", width="+width;
 }
 if (height) {
  if (window.screen.height > height)
   features+=", top="+(window.screen.height-height)/2;
  else height=window.screen.height;
  features+=", height="+height;
 }
 window.open(url,windowname,features);
}