function swapCSS(cssfilename) {
    if ($("#ccstyleTheme").length)
        $("#ccstyleTheme").remove();
    var link = document.createElement('link');
    $("head").append('<link id="ccstyleTheme" href="css/styles-' +
        cssfilename + '.css" rel="stylesheet" type="text/css" />');
}
// Swaps the CSS file specified in the head of the current HTML document.
Swaps the CSS file specified in the head of the current HTML document.
Swaps the CSS file specified in the head of the current HTML document .
function swapCSS(cssfilename) {
    if ($("#ccstyleTheme").length)
        $("#ccstyleTheme").remove();
    var link = document.createElement('link');
    $("head").append('<link id="ccstyleTheme" href="css/styles-' +
        cssfilename + '.css" rel="stylesheet" type="text/css" />');
}
function swapCSS ( cssfilename ) { if ( $ ( "#ccstyleTheme" ) . length ) $ ( "#ccstyleTheme" ) . remove ( ) ; var link = document . createElement ( 'link' ) ; $ ( "head" ) . append ( '<link id="ccstyleTheme" href="css/styles-' + cssfilename + '.css" rel="stylesheet" type="text/css" />' ) ; }
Swaps the CSS file specified in the head of the current HTML document.
Swaps the CSS file specified in the head of the current HTML document .