var hW = null;
var hWc = "f";
function viewMerchant(u, i, p){
op = 'scrollbars=yes,toolbar=yes,location=yes,directories=yes,menubar=yes,resizable=yes,status=yes,width=800,height=500';u="/modules/go.jsp?merchantId="+i+"&url="+escape(u)+p;
merchant=open(u,'',op);}

function afficheCommande(u){
w = (document.all ? screen.width : screen.width) * 0.9;
h = (document.all ? screen.height : screen.height-150) * 0.9;
op = 'scrollbars=yes,toolbar=yes,location=yes,directories=yes,menubar=yes,resizable=yes,status=yes,width=' + w + ',height=' + h + ',screenX=0,screenY=0,top=0,left=0';
com=open(u,'',op);
}

function help(u,t,w,h,f){
hurl = "/content/help.jsp";
if (f == "yes") hurl+="?frameset=yes&url=";
else hurl+="?url=";
if (hWc = "t" || hW == null){
hW = window.open("","title","width=" + w + ",height=" + h+",top=0,left=0,screenX=0,screenY=0,resizable=yes,scrollbars=no,toolbar=no,location=no,directories=no,menubar=no");
hWc = "f";}
if (hWc == "f"){
hW.location.href = hurl + u;
hW.resizeTo(w, h);}
hW.focus();}
function closeHelp(){
if (hWc == "f"){
hWc = "t";
hW = null; }}
function respop(u,n,w,h){
pop = window.open(u,n,"width=" + h + ",height=" + w + ",location=no,menubar=no,resizable=yes");
pop.focus; }

function checkQuery(f)
{
	if (f.elements['siteSearchQuery'].value == '')
	{
		alert(PsEnterKeyword);
		return false;
	}
	else return true;
}

function go(u) {document.location.href=u;}
