$(document).ready(function(){
	$("a.nc_edit").colorbox({top: "0px", width:"900px", height:"516px", iframe:true, overlayClose: false});
	$(".file_manager_edit a.nc_edit").colorbox({width:"1050px", height:"580px", iframe:true, overlayClose: false});
	$('a.nc_button_link').colorbox({width:"400px", height:"320px", iframe:true, overlayClose: false});
	$('.site_colors a.nc_button_link').colorbox({width:"550px", height:"400px", iframe:true, overlayClose: false});
});

function closeColorbox(){
	$.fn.colorbox.close()
}

$.preloadImages = function()
{
  for(var i = 0; i<arguments.length; i++)
  {
    $("<img>").attr("src", arguments[i]);
  }
}
