// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
function openBiggerPainting(location) {
    //mywindow=window.open(location,'print view','resizable=yes,width=350,height=450');
    mywindow=window.open(location, '_blank','resizable=yes,width=600,height=600');
    if (mywindow.opener == null) mywindow.opener = self;
}