function openIt(No, onum){
//	var imWidth=eval("i" + No + ".width");
//	var imHeight=eval("i" + No + ".height");
	var imWidth=100;
	var imHeight=100;

  openMWin(No, imWidth, imHeight, onum);
}

function openMWin(imWidth, imHeight, urlw){
	if(screen.Width>imWidth){
  	fLeft=(screen.Width-imWidth)/2;
  }
  else{
    fLeft=0;
  }
	if(screen.Height>imHeight){
  	fRight=(screen.Height-imHeight)/2;
  }
  else{
    fRight=0;
  }
//      ops='height=400,width=400,scrollbars=1';
	ops='height=' + imHeight + ',width=' + imWidth + ',top=' + fRight + ',left=' + fLeft + ',scrollbars=1';
	window.open(urlw,'IMAG',ops);

}



function openMWinScrolls(imWidth, imHeight, urlw){
	if(screen.Width>imWidth){
  	fLeft=(screen.Width-imWidth)/2;
  }
  else{
    fLeft=0;
  }
	if(screen.Height>imHeight){
  	fRight=(screen.Height-imHeight)/2;
  }
  else{
    fRight=0;
  }
	ops='height=' + imHeight + ',width=' + imWidth + ',top=' + fRight + ',left=' + fLeft;
	window.open(urlw,'IMAG',ops);

}

