
var scriptsLoaded = new Array;

// Google Maps
$.getScript("http://maps.google.com/maps/api/js?sensor=false",function(){ scriptsLoaded['googlemaps'] = '1'; });

// Data Tables
$.getScript("plugins/datatables/js/jquery.dataTables.js");
$("<link>").appendTo("head").attr({rel: 'stylesheet', type: 'text/css', href: 'plugins/datatables/css/demo_table_jui.css'});

// UI Forms
$.getScript("plugins/uiforms/jquery.uiforms.js");

// Selectmenu
$.getScript("plugins/selectmenu/jquery.selectmenu.js");
$("<link>").appendTo("head").attr({rel: 'stylesheet', type: 'text/css', href: 'plugins/selectmenu/ui.selectmenu.css'});

// Multi Select
$.getScript("plugins/multiselect/ui.multiselect.js");
$("<link>").appendTo("head").attr({rel: 'stylesheet', type: 'text/css', href: 'plugins/multiselect/multiselect.css'});

//Radio Button / Checkbox
$.getScript("plugins/checkbox-radiobutton/jquery.ui.checkbox-radiobutton.min.js");
$("<link>").appendTo("head").attr({rel: 'stylesheet', type: 'text/css', href: 'plugins/checkbox-radiobutton/ui.checkbox-radiobutton.css'});

// Jquery Form Validate
$.getScript("plugins/jquery-validate/jquery.validate.js", function() {
	scriptsLoaded['validate'] = '1';
	$.getScript("plugins/jquery-validate/lib/jquery.metadata.js");
	$.getScript("plugins/jquery-validate/additional-methods.js");
});

// Image Dialog
$.getScript("plugins/imagedialog/jquery.image-dialog.js");



