var WinOpen;

function show_clip(id){
 	height = parseInt(286) + 30;
 	width = parseInt(360) + 30;

	p_top=(screen.height-286)/2-30;
	p_left=(screen.width-360)/2-30;

    if(WinOpen != null){
     	  WinOpen.close();
          WinOpen  =  window.open("clips.php?id="+id, "", "closed=yes, toolbar=no, location=no, top="+p_top+", left="+p_left+", directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width="+width+", height="+height+"");
    }else{
          WinOpen  =  window.open("clips.php?id="+id, "", "closed=yes, toolbar=no, location=no, top="+p_top+", left="+p_left+", directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width="+width+", height="+height+"");
	}
	
return WinOpen;

}
