shown=''
function OpenFile(url) {
if( shown=='' || shown.closed) {
	shown=window.open(url,'OpenFile','scrollbars=yes,status=no, high,width=400,height=400');
}
else{ 
	shown.close();
	shown=window.open(url,'OpenFile','scrollbars=yes,status=no, high,width=400,height=400');
}
}

function openWin(pic){
 left_pos=document.body.clientWidth/2-300;
 top_pos=document.body.clientHeight/2-225+50;
 var win=window.open(pic,"Подробнее","width=520,height=520,status=no,scrollbars=yes,location=no,menubar=no,resize=no, toolbar=no,top="+top_pos+",left="+left_pos);
 win.focus();
}


