function nyit(id,h,w,type,d) {
		h+=100;
		w+=100;
		if (h<200)
		h = 200;
		if (w<300)
		w = 300;
		l=(window.screen.width-w)/2;
		t=(window.screen.height-h)/2;

		window.open("./gmegj.php?myrid=<? echo $PD->myrid; ?>&src="+id+"&mylng=<? echo $PD->mylng; ?>&D3="+type+"&desc="+d,  "sub","left="+l+",top="+t+",resizeable=yes , HEIGHT="+h+",WIDTH="+w);
}

	function MetEvImage(id,h,w,type,d) {
	h+=100;
	w+=100;
	if (h<200)
	h = 200;
	if (w<300)
	w = 300;
	l=(window.screen.width-w)/2;
	t=(window.screen.height-h)/2;
	window.open("./gmegj.php?src="+id+"&mylng=<? echo $PD->mylng; ?>&D3="+type+"&desc="+d,"sub","left="+l+",top="+t+",resizeable=yes , HEIGHT="+h+",WIDTH="+w);
	}
