function openImg(path, w, h) {
	if ((w - 1 + 1) == 0) {
        w = 640;
    }
    if ((h - 1 + 1) == 0) {
        h = 480;
    }
    window.open(path, "gallery","width="+w+",height="+h+",top=100,left=200,titlebar=no,toolbar=no,location=no,statusbar=no,menubar=no,scrollbars=no,resizable=no");
}


