% IF Request.ServerVariables("HTTP_REFERER")="" THEN Gourl="javascript:window.close();" Else Gourl="javascript:history.go(-1);" End IF Response.Write "" %>