function getImgSize(imgSrc, altbilgi, width, height){
	var newImg      = new Image()
	newImg.src      = imgSrc
	var win_height  = newImg.height
	if(height != 0) {
		win_height = height
	}
	var win_width   = newImg.width
	if(width != 0) {
		win_width = width
	}
 	new_window      = open('','new_window','width=0,height=0,scrollbars=no,resizable=no,left=200,top=200,Toolbar=no,menubar=no,status=no');
	new_window.close()
	new_window      = open('','new_window','width=' + win_width + ',height=' + win_height + ',scrollbars=no,resizable=no,left=200,top=200,Toolbar=no,menubar=no,status=no');
	mybody          = "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-9\" /><title>Resimler</title></head>"
	mybody         += "<body topmargin=0 leftmargin=0 rightmargin=0 bottommargin=0>"
	mybody         += "<img src=\"" + imgSrc + "\" alt=\"" + altbilgi + "\">"
	mybody         += "</body></html>"
	new_window.document.write(mybody)
	new_window.document.focus()
	new_window.document.close()
	setTimeout('new_window.close();',30000);
	return new_window;
}
