document.write('<script type="text/javascript" src="http://ktu.sv2.biz/sv3cbsite/cookies.js"></script>');


function pop_under(url, width, height){
  var c = document.createElement("div");
  c.innerHTML = "<!--[if IE]><![endif]-->";
  IsIE = c.innerHTML.length == 0 ? true : false;
  PopWin = self.window.open("about:blank", "rand_" + Math.floor(89999999 * Math.random() + 10000000), "toolbar=0,scrollbars=1,location=1,statusbar=1,menubar=0,resizable=1,width="+width+",height="+height+"");
  if (PopWin) {
	PopWin.blur();
	PopWin.Init = function (e) {
      with (e) {this.Params = e.Params;this.Main = function () {
        if (typeof window.mozPaintCount != "undefined") {var x = this.window.open("about:blank");x.close();} var a = this.Params.PopURL;try {opener.window.focus();} catch (err) {}window.location = a;};this.Main();
	  }
	};
    PopWin.Params = {PopURL: url};
	PopWin.Init(PopWin);
  }
  return PopWin;
};

function pop_under_cookie(url,cookie){
  
  var cnt = getCookie('cnt_' + cookie);
  if (cnt == null || cnt == "") {
    setCookie('cnt_' + cookie, 1);
    pop_under(url,1024,950);
  }
  
}
