var tmp = navigator.appName == "Microsoft Internet Explorer" && navigator.userAgent.indexOf("Opera") < 1 ? 1 : 0;
if(tmp)var isIE = document.namespaces ? 1 : 0;
if(isIE)if(document.namespaces.v == null) {
  for(var e = ["shape", "shapetype", "group", "background", "path", "formulas", "handles", "fill", "stroke", "shadow", "textbox", "textpath", "imagedata", "line", "polyline", "curve", "roundrect", "oval", "rect", "arc", "image"], s = document.createStyleSheet(), i = 0;i < e.length;i++)s.addRule("v\\:" + e[i], "behavior: url(#default#VML);");
  document.namespaces.add("v", "urn:schemas-microsoft-com:vml")
}function getImages(f) {
  var b = document.getElementsByTagName("img"), g = [], c = 0, d, a, j = 0;
  for(c = 0;c < b.length;c++) {
    d = b[c];
    a = d.className.split(" ");
    for(j = 0;j < a.length;j++)if(a[j] == f) {
      g.push(d);
      break
    }
  }return g
}
function getClasses(f, b) {
  for(var g = "", c = 0;c < f.length;c++)if(f[c] != b) {
    if(g)g += " ";
    g += f[c]
  }return g
}
function getClassValue(f, b) {
  for(var g = 0, c = b.length, d = 0;d < f.length;d++)if(f[d].indexOf(b) == 0) {
    g = Math.min(f[d].substring(c), 100);
    break
  }return Math.max(0, g)
}
function getClassColor(f, b) {
  var g = 0;
  g = "";
  for(var c = b.length, d = 0;d < f.length;d++)if(f[d].indexOf(b) == 0) {
    g = f[d].substring(c);
    g = "#" + g.toLowerCase();
    break
  }return g.match(/^#[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]$/i) ? g : 0
}
function getClassAttribute(f, b) {
  for(var g = 0, c = 0;c < f.length;c++)if(f[c].indexOf(b) == 0) {
    g = 1;
    break
  }return g
}
function addShading(f, b, g, c, d, a) {
  var j = f.createLinearGradient(0, g, 0, g + d);
  j.addColorStop(0, "rgba(0,0,0," + a / 2 + ")");
  j.addColorStop(0.3, "rgba(0,0,0,0)");
  j.addColorStop(0.7, "rgba(254,254,254,0)");
  j.addColorStop(1, "rgba(254,254,254," + a + ")");
  f.beginPath();
  f.rect(b, g, c, d);
  f.closePath();
  f.fillStyle = j;
  f.fill()
}
function addLining(f, b, g, c, d, a, j, m, h) {
  var k = f.createLinearGradient(b, g, c, d);
  if(m == true) {
    k.addColorStop(0, "rgba(192,192,192," + a + ")");
    k.addColorStop(0.7, "rgba(254,254,254,0.8)");
    k.addColorStop(1, "rgba(254,254,254,0.9)")
  }else {
    if(h == "#f0f4ff") {
      k.addColorStop(0, "rgba(254,254,254,0.9)");
      k.addColorStop(0.3, "rgba(254,254,254,0.8)")
    }else k.addColorStop(0, "rgba(254,254,254,0)");
    k.addColorStop(1, "rgba(192,192,192,0)")
  }f.strokeStyle = k;
  f.lineWidth = j;
  f.beginPath();
  f.rect(b, g, c, d);
  f.closePath();
  f.stroke()
}
function addRadialStyle(f, b, g, c, d, a, j, m) {
  f = f.createRadialGradient(b, g, c, d, a, j);
  b = Math.min(parseFloat(m + 0.1), 1);
  f.addColorStop(0, "rgba(0,0,0," + b + ")");
  f.addColorStop(0.25, "rgba(0,0,0," + m + ")");
  f.addColorStop(1, "rgba(0,0,0,0)");
  return f
}
function addLinearStyle(f, b, g, c, d, a) {
  f = f.createLinearGradient(b, g, c, d);
  b = Math.min(parseFloat(a + 0.1), 1);
  f.addColorStop(0, "rgba(0,0,0," + b + ")");
  f.addColorStop(0.25, "rgba(0,0,0," + a + ")");
  f.addColorStop(1, "rgba(0,0,0,0)");
  return f
}
function tiltShadow(f, b, g, c, d, a, j, m) {
  var h = m ? 2.5 : 1.25, k = m ? 3.5 : 2.25;
  f.fillStyle = "rgba(0,0,0," + j * 1.2 + ")";
  f.beginPath();
  f.rect(b + a, g + d - g - g, c - a * k, g);
  f.closePath();
  f.fill();
  f.beginPath();
  f.rect(b + c - b - b, g, a, a);
  f.closePath();
  m = addLinearStyle(f, b + c - b - b, g + a, b + c - b - b, g, j);
  f.fillStyle = m;
  f.fill();
  f.beginPath();
  f.rect(b, g + d - g - g, a, a);
  f.closePath();
  m = addLinearStyle(f, b + a, g + d - g - g, b, g + d - g - g, j);
  f.fillStyle = m;
  f.fill();
  f.beginPath();
  f.moveTo(b + c - b - b, g + a);
  f.lineTo(b + c - b, g + a);
  f.quadraticCurveTo(b + c - b - b, g + d / 2, b + c - b, g + d - a * h);
  f.lineTo(b + c - b - b, g + d - a * h);
  f.quadraticCurveTo(b + c - b * 3, g + d / 2, b + c - b - b, g + a);
  f.closePath();
  f.fill();
  f.beginPath();
  f.rect(b, g + d - a, a, a);
  f.closePath();
  m = addRadialStyle(f, b + a, g + d - a, a - b, b + a, g + d - a, a, j);
  f.fillStyle = m;
  f.fill();
  f.beginPath();
  f.rect(b + a, g + d - g, c - a * k, g);
  f.closePath();
  m = addLinearStyle(f, b + a, g + d - g, b + a, g + d, j);
  f.fillStyle = m;
  f.fill();
  f.beginPath();
  f.rect(b + c - a * h, g + d - a * h, a * h, a * h);
  f.closePath();
  m = addRadialStyle(f, b + c - a * h, g + d - a * h, Math.max(0, a * h - 1.5 - b), b + c - a * h, g + d - a * h, a * h, j);
  f.fillStyle = m;
  f.fill();
  f.beginPath();
  f.moveTo(b + c - b, g + a);
  f.lineTo(b + c, g + a);
  f.quadraticCurveTo(b + c - b, g + d / 2, b + c, g + d - a * h);
  f.lineTo(b + c - b, g + d - a * h);
  f.quadraticCurveTo(b + c - b * 2, g + d / 2, b + c - b, g + a);
  f.closePath();
  m = addLinearStyle(f, b + c - b, g + a, b + c, g + a, j);
  f.fillStyle = m;
  f.fill();
  f.beginPath();
  f.rect(b + c - a, g, a, a);
  f.closePath();
  m = addRadialStyle(f, b + c - a, g + a, a - b, b + c - a, g + a, a, j);
  f.fillStyle = m;
  f.fill()
}
function getRadius(f, b, g) {
  b = Math.min(b, g) / 100;
  f = Math.max(Math.min(100, f / b), 0);
  return f + "%"
}
function wavedRect(f, b, g, c, d, a, j) {
  function m(t, q) {
    return Math.random() * (q - t) + t
  }
  var h, k, l, n, x = c / 16, r = c / 32, p = d / 16, w = d / 32, o = a * 0.1, u = a * 0.25;
  j || f.beginPath();
  f.moveTo(b, g);
  k = b;
  l = g;
  for(n = d;n > 0;) {
    a = m(p, Math.min(n, w));
    h = m(1, a);
    f.quadraticCurveTo(k + m(o, u), l + h, k, l + a);
    l += a;
    n -= a
  }k = b;
  l = g + d;
  for(n = c;n > 0;) {
    a = m(x, Math.min(n, r));
    h = m(1, a);
    f.quadraticCurveTo(k + h, l - m(o, u), k + a, l);
    k += a;
    n -= a
  }k = b + c;
  l = g + d;
  for(n = d;n > 0;) {
    a = m(p, Math.min(n, w));
    h = m(1, a);
    f.quadraticCurveTo(k - m(o, u), l - h, k, l - a);
    l -= a;
    n -= a
  }k = b + c;
  l = g;
  for(n = c;n > 0;) {
    a = m(x, Math.min(n, r));
    h = m(1, a);
    f.quadraticCurveTo(k - h, l + m(o, u), k - a, l);
    k -= a;
    n -= a
  }j || f.closePath()
}
function wavedPath(f, b, g, c, d) {
  function a(t, q) {
    return parseInt(Math.floor(Math.random() * (q - t + 1)) + t)
  }
  function j(t, q, y, A, v, B) {
    var z = new Array(6);
    z[0] = t + 2 / 3 * (y - t);
    z[1] = q + 2 / 3 * (A - q);
    z[2] = z[0] + (v - t) / 3;
    z[3] = z[1] + (B - q) / 3;
    z[4] = v;
    z[5] = B;
    return z
  }
  var m = "", h, k, l, n, x = g / 16, r = g / 32, p = c / 16, w = c / 32, o = d * 0.1, u = d * 0.25;
  m += "m " + f + "," + b;
  k = f;
  l = b;
  for(n = c;n > 0;) {
    d = a(p, Math.min(n, w));
    h = a(1, d);
    h = j(k, l, k + a(o, u), l + h, k, l + d);
    m += " c " + parseInt(h[0]) + "," + Math.min(c, parseInt(h[1])) + "," + parseInt(h[2]) + "," + Math.min(c, parseInt(h[3])) + "," + parseInt(h[4]) + "," + Math.min(c, parseInt(h[5]));
    l += d;
    n -= d
  }k = f;
  l = b + c;
  for(n = g;n > 0;) {
    d = a(x, Math.min(n, r));
    h = a(1, d);
    h = j(k, l, k + h, l - a(o, u), k + d, l);
    m += " c " + Math.min(g, parseInt(h[0])) + "," + parseInt(h[1]) + "," + Math.min(g, parseInt(h[2])) + "," + parseInt(h[3]) + "," + Math.min(g, parseInt(h[4])) + "," + parseInt(h[5]);
    k += d;
    n -= d
  }k = f + g;
  l = b + c;
  for(n = c;n > 0;) {
    d = a(p, Math.min(n, w));
    h = a(1, d);
    h = j(k, l, k - a(o, u), l - h, k, l - d);
    m += " c " + parseInt(h[0]) + "," + Math.max(0, parseInt(h[1])) + "," + parseInt(h[2]) + "," + Math.max(0, parseInt(h[3])) + "," + parseInt(h[4]) + "," + Math.max(0, parseInt(h[5]));
    l -= d;
    n -= d
  }k = f + g;
  l = b;
  for(n = g;n > 0;) {
    d = a(x, Math.min(n, r));
    h = a(1, d);
    h = j(k, l, k - h, l + a(o, u), k - d, l);
    m += " c " + Math.max(0, parseInt(h[0])) + "," + parseInt(h[1]) + "," + Math.max(0, parseInt(h[2])) + "," + parseInt(h[3]) + "," + Math.max(0, parseInt(h[4])) + "," + parseInt(h[5]);
    k -= d;
    n -= d
  }return m + " x e"
}
function roundedRect(f, b, g, c, d, a, j) {
  j || f.beginPath();
  f.moveTo(b, g + a);
  f.lineTo(b, g + d - a);
  f.quadraticCurveTo(b, g + d, b + a, g + d);
  f.lineTo(b + c - a, g + d);
  f.quadraticCurveTo(b + c, g + d, b + c, g + d - a);
  f.lineTo(b + c, g + a);
  f.quadraticCurveTo(b + c, g, b + c - a, g);
  f.lineTo(b + a, g);
  f.quadraticCurveTo(b, g, b, g + a);
  j || f.closePath()
}
function addIEInstant() {
  var f = getImages("instant"), b, g, c, d, a = 16, j = 8, m = 1, h = "";
  h = 0;
  var k, l, n, x, r = "", p = "", w = "r", o = 0, u, t, q, y, A, v = "";
  v = "";
  A = 6;
  var B, z, C, D, E;
  for(B = 0;B < f.length;B++) {
    b = f[B];
    g = b.parentNode;
    t = "#000000";
    o = 0.33;
    p = "#f0f4ff";
    u = y = "";
    if(b.width >= 64 && b.height >= 64) {
      v = b.className.split(" ");
      h = getClassValue(v, "ishadow");
      if(h > 0)o = h / 100;
      h = getClassColor(v, "icolor");
      if(h != 0)p = h;
      h = getClassColor(v, "itxtcol");
      if(h != 0)t = h;
      n = getClassAttribute(v, "itxttitle");
      x = getClassAttribute(v, "itxtalt");
      l = getClassAttribute(v, "itiltleft");
      a = getClassAttribute(v, "itiltright");
      j = getClassAttribute(v, "itiltnone");
      q = getClassAttribute(v, "historical");
      k = getClassAttribute(v, "noshading");
      c = getClassAttribute(v, "nocorner");
      h = getClassAttribute(v, "preserve");
      if(q == true)c = false;
      if(a == true)w = "r";
      if(j == true)w = "n";
      if(l == true)w = "l";
      v = getClasses(v, "instant");
      width = b.width;
      height = b.height;
      l = a = Math.round((width + height) / 2 * 0.05);
      j = a / 2;
      A = parseInt(j * 0.75);
      D = width - a * 2;
      E = height - a * 2;
      C = Math.round(E / 3);
      k = k == 0 ? "t" : "f";
      z = c ? getRadius(a, width, height) : 0;
      if(w == "r") {
        rotation = 2.8;
        m = 0.95;
        w = "n"
      }else if(w == "n") {
        rotation = 0;
        m = 1;
        w = "l"
      }else if(w == "l") {
        rotation = -2.8;
        m = 0.95;
        w = "r"
      }d = b.currentStyle.display.toLowerCase() == "block" ? "block" : "inline-block";
      c = document.createElement("" + ('<var style="zoom:1;overflow:hidden;display:' + d + ";width:" + width + "px;height:" + height + 'px;padding:0px;">'));
      r = b.currentStyle.styleFloat.toLowerCase();
      d = r == "left" || r == "right" ? "inline" : d;
      r = b.alt != "" && x != 0 ? b.alt : b.title != "" && n != 0 ? b.title : "";
      n = '<v:group style="rotation:' + rotation + "; zoom:" + m + "; display:" + d + "; margin:-1px 0 0 -1px; padding:0px; position:relative; width:" + width + "px;height:" + height + 'px;" coordsize="' + width + "," + height + '"><v:rect strokeweight="0" filled="f" stroked="f" fillcolor="transparent" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:0px;left:0px;width:' + width + "px;height:" + height + 'px;"><v:fill opacity="0" color="#000000" /></v:rect>';
      x = '<v:roundrect arcsize="' + z + '" strokeweight="0" filled="t" stroked="f" fillcolor="#000000" style="filter:progid:dxImageTransform.Microsoft.Blur(PixelRadius=' + A + ", MakeShadow=false) progid:dxImageTransform.Microsoft.Alpha(opacity=" + o * 100 + "); zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:" + j + "px;left:" + j + "px;width:" + (width - 2 * j) + "px;height:" + (height - 2 * j) + 'px;"><v:fill color="#000000" opacity="1" /></v:roundrect>';
      if(q == 0)q = '<v:roundrect arcsize="' + z + '" strokeweight="0" filled="t" stroked="f" fillcolor="' + p + '" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:0px;left:0px;width:' + (width - j) + "px;height:" + (height - j) + 'px;"></v:roundrect>';
      else {
        q = wavedPath(0, 0, (width - j) * 10, (height - j) * 10, a * 10);
        q = '<v:shape strokeweight="0" stroked="f" filled="t" fillcolor="' + p + '" coordorigin="0,0" coordsize="' + (width - j) * 10 + "," + (height - j) * 10 + '" path="' + q + '" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:0px;left:0px;width:' + (width - j) + "px;height:" + (height - j) + 'px;"></v:shape>'
      }A = '<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="' + p + '" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + l + "px;left:" + l + "px;width:" + (width - j - 2 * a) + "px;height:" + (height - j - 2 * a) + 'px;"><v:fill color="#000000" opacity="' + o + '" /></v:rect>';
      if(typeof check_strokeTextCapability == "function" && check_strokeTextCapability() && r != "") {
        y = '<v:rect strokeweight="0" filled="t" stroked="f" fillcolor="' + p + '" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;left:' + (a - 1) + "px;top:" + (height - 1 - j - a * (document.documentMode == 8 && rotation != 0 ? 4 : 3)) + "px;width:" + (width - j + 2 - a * 2) + "px;height:" + a * 3 + 'px;"></v:rect>';
        r = get_widthText(r, D, a * 1.5, 100, 100);
        u = get_textWidth(r, a * 1.5, 100, 100);
        u = get_strokeText(r, (width - j - u) / 2, height - j - a * (document.documentMode == 8 && rotation != 0 ? 3.4 : 2.4), a * 1.5, 100, 100, 100, "sans-serif", t, 1, 0);
        p = '<v:rect strokeweight="0" filled="' + k + '" stroked="f" fillcolor="transparent" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + l + "px;left:" + l + "px;width:" + (width - j - 2 * a) + "px;height:" + C + 'px;"><v:fill method="sigma" type="gradient" angle="0" color="#000000" opacity="0" color2="#000000" o:opacity2="' + o / 2 + '" /></v:rect><v:rect strokeweight="0" filled="' + k + '" stroked="f" fillcolor="transparent" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + 
        (height - j - a * 3 - C) + "px;left:" + a + "px;width:" + (width - j - 2 * a) + "px;height:" + C + 'px;"><v:fill method="sigma" type="gradient" angle="0" color="#ffffff" opacity="' + o * 0.75 + '" color2="#ffffff" o:opacity2="0" /></v:rect><v:rect strokeweight="2" filled="f" stroked="t" strokecolor="' + p + '" fillcolor="transparent" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + a + "px;left:" + a + "px;width:" + (width - j - 2 * a) + "px;height:" + (height - 
        j - 4 * a) + 'px;"><v:fill color="#ffffff" opacity="0" /></v:rect>'
      }else p = '<v:rect strokeweight="0" filled="' + k + '" stroked="f" fillcolor="transparent" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + l + "px;left:" + l + "px;width:" + (width - j - 2 * a) + "px;height:" + C + 'px;"><v:fill method="sigma" type="gradient" angle="0" color="#000000" opacity="0" color2="#000000" o:opacity2="' + o / 2 + '" /></v:rect><v:rect strokeweight="0" filled="' + k + '" stroked="f" fillcolor="transparent" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + 
      (height - j - a - C) + "px;left:" + a + "px;width:" + (width - j - 2 * a) + "px;height:" + C + 'px;"><v:fill method="sigma" type="gradient" angle="0" color="#ffffff" opacity="' + o * 0.75 + '" color2="#ffffff" o:opacity2="0" /></v:rect><v:rect strokeweight="2" filled="f" stroked="t" strokecolor="' + p + '" fillcolor="transparent" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + a + "px;left:" + a + "px;width:" + (width - j - 2 * a) + "px;height:" + (height - j - 
      2 * a) + 'px;"><v:fill color="#ffffff" opacity="0" /></v:rect>';
      if(h == 0)o = '<v:image src="' + b.src + '" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + l + "px;left:" + l + "px;width:" + (width - j - 2 * a) + "px;height:" + (height - j - 2 * a) + 'px;"></v:image>';
      else {
        if(width > height) {
          o = height / width;
          h = 0;
          t = (D * o - E) / 2;
          E = D * o;
          t /= E / 100
        }else if(width < height) {
          o = width / height;
          t = 0;
          h = (E * o - D) / 2;
          D = E * o;
          h /= D / 100
        }else t = h = 0;
        o = '<v:image croptop="' + t + '%" cropbottom="' + t + '%" cropleft="' + h + '%" cropright="' + h + '%" src="' + b.src + '" style="zoom:1;margin:0px;padding:0px;display:block;position:absolute;top:' + l + "px;left:" + l + "px;width:" + (width - j - 2 * a) + "px;height:" + (height - j - 2 * a) + ';px"></v:image>'
      }c.innerHTML = n + x + q + A + o + p + y + u + "</v:group>";
      c.className = v;
      c.style.cssText = b.style.cssText;
      c.style.visibility = "visible";
      c.src = b.src;
      c.alt = b.alt;
      c.width = b.width;
      c.height = b.height;
      if(b.id != "")c.id = b.id;
      if(b.title != "")c.title = b.title;
      b.getAttribute("onclick") != "" && c.setAttribute("onclick", b.getAttribute("onclick"));
      g.replaceChild(c, b)
    }
  }
}
function addInstant() {
  var f = getImages("instant"), b, g, c, d, a = 16, j = 8, m = 2, h = "";
  h = 0;
  var k, l, n, x = k = "", r = "r", p = 0, w;
  d = d = "";
  g = 0;
  var o = 1, u = 1, t, q, y, A, v;
  for(t = 0;t < f.length;t++) {
    b = f[t];
    g = b.parentNode;
    c = document.createElement("canvas");
    A = "#000000";
    p = 0.33;
    x = "#f0f4ff";
    if(c.getContext && b.width >= 64 && b.height >= 64) {
      d = b.className.split(" ");
      h = getClassValue(d, "ishadow");
      if(h > 0)p = h / 100;
      h = getClassColor(d, "icolor");
      if(h != 0)x = h;
      l = getClassAttribute(d, "itiltleft");
      a = getClassAttribute(d, "itiltright");
      k = getClassAttribute(d, "itiltnone");
      h = getClassColor(d, "itxtcol");
      if(h != 0)A = h;
      m = getClassAttribute(d, "itxttitle");
      n = getClassAttribute(d, "itxtalt");
      y = getClassAttribute(d, "historical");
      h = getClassAttribute(d, "noshading");
      q = getClassAttribute(d, "nocorner");
      v = getClassAttribute(d, "preserve");
      if(y == true)q = false;
      if(a == true)r = "r";
      if(k == true)r = "n";
      if(l == true)r = "l";
      d = getClasses(d, "instant");
      c.className = d;
      c.style.cssText = b.style.cssText;
      c.style.height = b.height + "px";
      c.style.width = b.width + "px";
      c.height = b.height;
      c.width = b.width;
      c.src = b.src;
      c.alt = b.alt;
      if(b.id != "")c.id = b.id;
      if(b.title != "")c.title = b.title;
      b.getAttribute("onclick") != "" && c.setAttribute("onclick", b.getAttribute("onclick"));
      k = c.alt != "" && n != 0 ? c.alt : c.title != "" && m != 0 ? c.title : "";
      a = Math.round((c.width + c.height) / 2 * 0.05);
      w = Math.round(Math.max(c.width, c.height) * 0.05);
      j = a / 2;
      l = c.width - a * 2;
      n = c.height - a * 2;
      m = Math.floor(Math.min(Math.max(a / 8, 1), 2));
      if(c.width > c.height) {
        o = 0.05;
        u = o * (c.width / c.height)
      }else if(c.width < c.height) {
        u = 0.05;
        o = u * (c.height / c.width)
      }else u = o = 0.05;
      d = c.getContext("2d");
      g.replaceChild(c, b);
      d.clearRect(0, 0, c.width, c.height);
      d.save();
      g = 1.333333;
      if(r == "r") {
        d.translate(w, 0);
        d.scale(1 - g * o, 1 - g * u);
        d.rotate(0.05);
        r = "n"
      }else if(r == "n") {
        g = 1.5;
        r = "l";
        d.scale(1 - o / g, 1 - u / g)
      }else if(r == "l") {
        d.translate(0, w);
        d.scale(1 - g * o, 1 - g * u);
        d.rotate(-0.05);
        r = "r"
      }tiltShadow(d, j, j, c.width, c.height, j, p, q);
      if(y == 1) {
        wavedRect(d, 0, 0, c.width, c.height, a);
        d.clip()
      }else if(q == 1) {
        roundedRect(d, 0, 0, c.width, c.height, a);
        d.clip()
      }d.fillStyle = x;
      d.fillRect(0, 0, c.width, c.height);
      d.fillStyle = "rgba(0,0,0," + p + ")";
      d.fillRect(a, a, c.width - a * 2, c.height - a * 2);
      window.opera || addLining(d, 1.5, 1.5, c.width - 3, c.height - 3, p, m, false, x);
      if(v == 0)d.drawImage(b, a, a, c.width - a * 2, c.height - a * 2);
      else {
        if(c.width > c.height) {
          g = c.height / c.width;
          y = 0;
          q = (l * g - n) / 2;
          n = l * g
        }else if(c.width < c.height) {
          g = c.width / c.height;
          q = 0;
          y = (n * g - l) / 2;
          l = n * g
        }else q = y = 0;
        d.save();
        d.beginPath();
        d.rect(a, a, l - 2 * y, n - 2 * q);
        d.closePath();
        d.clip();
        d.drawImage(b, a - y, a - q, l, n);
        d.restore()
      }if(typeof set_textRenderContext == "function" && k != "") {
        set_textRenderContext(d);
        if(check_textRenderContext(d)) {
          d.save();
          d.beginPath();
          d.rect(1, c.height - a * 3, c.width - 2, a * 3);
          d.closePath();
          d.fillStyle = x;
          d.fill();
          d.restore();
          h == 0 && addShading(d, a, a, c.width - a * 2, c.height - a * 4, p);
          window.opera || addLining(d, a, a, c.width - a * 2, c.height - a * 4, p, m, true);
          d.strokeStyle = A;
          k = get_widthText(k, l, a * 1.5, 100, 100);
          b = get_textWidth(k, a * 1.5, 100, 100);
          d.strokeText(k, a + (l - b) / 2, c.height - a * 2.4, a * 1.5, 100, 100, 100)
        }
      }else {
        h == 0 && addShading(d, a, a, c.width - a * 2, c.height - a * 2, p);
        window.opera || addLining(d, a, a, c.width - a * 2, c.height - a * 2, p, m, true)
      }d.restore();
      c.style.visibility = "visible"
    }
  }
}
var instantOnload = window.onload;
window.onload = function() {
  instantOnload && instantOnload();
  isIE ? addIEInstant() : addInstant()
};