﻿function getQueryStringRegExp(name) {
    var reg = new RegExp("(^|\\?|&)" + name + "=([^&]*)(\\s|&|$)", "i");
    if (reg.test(location.href))
        return unescape(RegExp.$2.replace(/\+/g, " "));
    return "";
}
var idstr = getQueryStringRegExp('cid');
if (idstr == '939' || idstr == '940' || idstr == '941' || idstr == '942') {
    cmbox(9);
}
if (idstr == '915' || idstr == '916' || idstr == '918' || idstr == '919' || idstr == '920') {
    cmbox(2);
}
if (idstr == '921') {
    cmbox(3);
}
if (idstr == '922' || idstr == '923' || idstr == '924' || idstr == '925' || idstr == '926') {
    cmbox(4);
}
if (idstr == '927' || idstr == '928' || idstr == '929' || idstr == '930' || idstr == '931') {
    cmbox(5);
}
if (idstr == '932' || idstr == '934' || idstr == '935') {
    cmbox(6);
}
if (idstr == '950' || idstr == '964' || idstr == '965' || idstr == '965') {
    cmbox(7);
}
if (idstr == '936' || idstr == '937' || idstr == '938') {
    cmbox(8);
}
if (idstr == '943' || idstr == '944') {
    cmbox(10);
}
