if (location.href.toUpperCase().search('HTTPS://') >= 0)
{
document.write('<script src="https://www.chessarbiter.com/scripts/jquery-1.4.4.min.js" type="text/javascript"></script>');
document.write('<script src="https://www.chessarbiter.com/scripts/jquery.validate.min.js" type="text/javascript"></script>');
document.write('<script src="https://www.chessarbiter.com/scripts/prettyPhoto/js/jquery.prettyPhoto.js" type="text/javascript"></script>');
document.write('<script src="https://www.chessarbiter.com/scripts/jspgnviewer/jsPgnViewer.js" type="text/javascript"></script>');
document.write('<script src="https://www.chessarbiter.com/scripts/jquery.dataTables.min.js" type="text/javascript"></script>');
document.write('<script src="https://www.chessarbiter.com/scripts/jquery.paginatetable.js" type="text/javascript"></script>');
document.write('<script type="text/javascript" src="https://www.chessarbiter.com/scripts/php.js"></script>');
document.write('<script type="text/javascript" src="capro_translate.js"></script>');
document.write('<script type="text/javascript" src="capro_tournament.js"></script>');
document.write('<script type="text/javascript" src="capro_games.js"></script>');
document.write('<script type="text/javascript" src="https://www.chessarbiter.com/scripts/tools.js"></script>');
document.write('<link rel="stylesheet" href="css/gallery.css" type="text/css" />');
document.write('<link rel="stylesheet" href="css/content_panels.css" type="text/css" />');
document.write('<link rel="stylesheet" href="css/results.css" type="text/css" />');
document.write('<link rel="stylesheet" href="css/locale.css" type="text/css" />');
document.write('<link rel="stylesheet" href="css/table.css" type="text/css" />');
document.write('<link rel="stylesheet" href="https://www.chessarbiter.com/scripts/prettyPhoto/css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />');
}
else document.write('<script type="text/javascript" src="capro_include.js"></script>');
