<!--
var xmlHttp
var popUpWin=0;

function dispProduct(m,seq)
  {
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null)
	  {
	  alert ("Your browser does not support AJAX. Please enable Javascript in your browser settings.");
	  return;
	  } 
	var url="/scripts/merchantProductPopup.cfm?m="+m+"&seq="+seq;
	xmlHttp.onreadystatechange=function(){
	loadpage(xmlHttp, "pDetail")
	}    
	xmlHttp.open("GET",url,true);
    xmlHttp.send(null);
  }


function GetXmlHttpObject()
{
  var xmlHttp=null;
  try
    {
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    }
  return xmlHttp;
}

function loadpage(page_request, containerid){
	if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1)) {
	document.getElementById(containerid).innerHTML=page_request.responseText;
	document.getElementById(containerid).style.display="";
	}
}
function openWin(linkURL,w,h)
{
  if(popUpWin)
  {
  if (popUpWin && popUpWin.open && !popUpWin.closed) popUpWin.close();
  }
  popUpWin = window.open(linkURL, 'itemdetail', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+w+',height='+h+',left=50,top=50,screenX=50,screenY=50');
  bringToTop = popUpWin.focus();
}

//-->
