function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function showInfo(url) {
	remote = window.open(url,"remotewin","width=300,height=250");
	//remote.location = url;
	remote.focus();
	if (remote.opener==null) remote.opener = window;
	remote.opener.name = "opener";
}

function conMesBox(i, h) {
	remote = window.open("","con","width=300,height=" + h);
	remote.location = "pop_contact" + i + ".php";
	remote.focus();
}

function addToCart(itmid) {
	url = '/store/set_qunt.php?i=' + itmid + '&qunt=1';
	remote = window.open(url,"cart","width=300,height=250");
	//remote.location = url;
	remote.focus();
	if (remote.opener==null) remote.opener = window;
	if (window.opener!=null) remote.opener = window.opener;
	remote.opener.name = "opener";
}

