// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

function viewImage(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=500,left = 500,top = 350');");
}