							 

function pic_open(picname, picheight){
	
		if (picheight == 600) {
			kepwidth1 =  400;
			picheight = 600;
		}else{
			kepwidth1 =  600;
			picheight = 400;
		}
	ablak = window.open ("popupimaged41d.html?"+picname+"&"+ picheight, "gallerypopup", "width="+kepwidth1+", height="+picheight+", scrollbars=0" );	
}

							 

function pic_open600_450(picname, picheight){
	
		if (picheight == 600) {
			kepwidth1 =  450;
			picheight = 600;
		}else{
			kepwidth1 =  600;
			picheight = 450;
		}
	ablak = window.open ("popupimaged41d450.html?"+picname+"&"+ picheight, "gallerypopup", "width="+kepwidth1+", height="+picheight+", scrollbars=0" );	
}
