/* <!-- compression status: disabled --> (this is for http compression) */
/*  (do not remove this :) */
/*  (not this either :) */


function adjustStyle(width) {
    width = parseInt(width);
    if (width < 800) {
        jq("#main-css").attr("href", "/portal_css/ymg/css/index-small.css");
        jq("#common-css").attr("href", "/portal_css/ymg/css/common-small.css");
        jq("#global-css").attr("href", "/portal_css/ymg/css/global-small.css");
    } else {
        jq("#main-css").attr("href", "/portal_css/ymg/css/index-large.css");
        jq("#common-css").attr("href", "/portal_css/ymg/css/common-large.css");
        jq("#global-css").attr("href", "/portal_css/ymg/css/global-large.css");
    }
}


jq.event.add(window, "load", function(){
    adjustStyle(jq(this).width());
    jq(window).resize(function() {
        adjustStyle(jq(this).width());
    });
});

/*  */
