// set the popup window width and height

var windowW=600 // wide
var windowH=400 // high

// set the screen position where the popup should appear

//var windowX = 260 // from left
//var windowY = 100 // from top
var windowX = (screen.width/2)-(windowW/2);
var windowY = (screen.height/2)-(windowH/2);

// set the url of the page to show in the popup

var urlPop = "http://www.eventinventory.com/search/byvenue.cfm?client=2071&restart=yes&";

// set the title of the page

var title =  "ConcertTicketInsider - Your Source for Concert Tickets, Concert Tours, Sold Out Tickets, Front Row, and Concert Reviews"

// set this to true if the popup should close
// upon leaving the launching page; else, false

var autoclose = false

// ============================
// do not edit below this line
// ============================

s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false


function openwindow(event){
var random=Math.floor(Math.random()*101);
win2 = window.open(urlPop+event,random, 
"toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,height=400, width=600, left=260,top=100")

}

/*
function openwindow(event){
  if (beIE){
    NFW = window.open("","popFrameless","fullscreen, height=400, width=600")  
    NFW.blur()
    window.focus()       
    NFW.resizeTo(windowW,windowH)
    NFW.moveTo(windowX,windowY)
    var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+event+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
    NFW.document.open();
    NFW.document.write(frameString)
    NFW.document.close()
  } else {
    NFW=window.open(urlPop+event,"popFrameless",
"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no, height=400, width=600, left=260 ,top=100")
    NFW.blur()
    window.focus() 

  }   
  NFW.focus()   
  if (autoclose){
    window.onunload = function(){NFW.close()}
  }
}

*/