function popPicture(directory,picture)
   {
   filestring = "http://www.KatsConcerts.com/PhotoGallery2.asp?Directory=" + directory + "&Picture=" + picture;
   PhotoGallery = window.open(filestring,'PhotoGallery','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=10000,screenY=10000,top=10000,left=10000,width=10,height=10').focus();
   }
function popPhotoGalleryPicture(Page,directory,picture)
   {
   filestring = "http://www.KatsConcerts.com/PhotoGallery.asp?Page=" + Page + "&Directory=" + directory + "&Picture=" + picture;
   PhotoGallery = window.open(filestring,'PhotoGallery','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=10000,screenY=10000,top=10000,left=10000,width=10,height=10').focus();
   }
function popSlideShowPhotoGalleryPicture(Page,directory,picture)
   {
   filestring = "http://www.KatsConcerts.com/SlideShowPhotoGallery.asp?Page=" + Page + "&Directory=" + directory + "&Picture=" + picture;
   PhotoGallery = window.open(filestring,'PhotoGallery','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=100,screenY=100,top=100,left=100,width=600,height=400').focus();
   }
function popVendor(record)
   {
   filestring = "http://www.KatsConcerts.com/webpageVendor.asp?RECORD=" + record + "&CATEGORY="
   webpageVendor = window.open(filestring,'webpageVendor','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no').focus();
   }
function popLink(link)
   {
   LinkWindow = window.open(link,'LinkWindow','').focus();
   }
function popInternalLink(link,type,bookmark)
   {
      if ((type == "Standard") || (type == "Shopping Cart") || (type == "Slide Show") || (type == "Photo Gallery"))
         filestring = "http://www.KatsConcerts.com/KC/" + link + "Popup.htm"
      else if (type == "Custom")
         filestring = "http://www.KatsConcerts.com/KC/" + link + "Popup.htm"
      else
         filestring = "http://www.KatsConcerts.com/webpage.asp?Popup=YES&PAGENAME=" + link
      if (bookmark != "")
         filestring = filestring + "#" + bookmark
      if (type == "Form")
         InternalLink = window.open(filestring,'InternalLink','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=25,screenY=25,top=25,left=25,width=900,height=500').focus();
      else
         InternalLink = window.open(filestring,'InternalLink','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=25,screenY=25,top=25,left=25,width=900,height=500').focus();
   }
function internalLink(link,type,bookmark)
   {
      if ((type == "Standard") || (type == "Shopping Cart") || (type == "Slide Show") || (type == "Photo Gallery"))
         filestring = "http://www.KatsConcerts.com/KC/" + link + ".htm"
      else if (type == "Custom")
         filestring = "http://www.KatsConcerts.com/KC/" + link + ".htm"
      else
         filestring = "http://www.KatsConcerts.com/webpage.asp?PAGENAME=" + link
      if (bookmark != "")
         filestring = filestring + "#" + bookmark
   window.location.href = filestring;
   }
function popInternalTableLink(table,menu,menuItem,Script)
   {
   if (Script)
   filestring = "http://www.KatsConcerts.com/" + Script + "?POPUP=YES&TABLE=" + table + '&MENU=' + menu + '&MENUITEM=' + menuItem
   else
   filestring = "http://www.KatsConcerts.com/services.asp?POPUP=YES&TABLE=" + table + '&MENU=' + menu + '&MENUITEM=' + menuItem
   InternalTableLink = window.open(filestring,'InternalTableLink','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=25,screenY=25,top=25,left=25,width=700,height=500').focus();
   }
function popEmailer(TableName,IdNumber,KeyField,Subject)
   {
   filestring = "http://www.KatsConcerts.com/emailer.asp?TableName=" + TableName + "&IdNumber=" + IdNumber + "&KeyField=" + KeyField + "&Subject=" + Subject;
   InternalLink = window.open(filestring,'InternalLink','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=100,screenY=100,top=100,left=100,width=450,height=500').focus();
   }
function popEmailAddress(TableName,IdNumber)
   {
   filestring = "http://www.KatsConcerts.com/emailAddress.asp?TableName=" + TableName + "&IdNumber=" + IdNumber
   EmailLink = window.open(filestring,'EmailLink','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=100,screenY=100,top=100,left=100,width=450,height=260').focus();
   }
function popNewsletter(Volume,Issue)
   {
   filestring = "http://www.KatsConcerts.com/newsletter.asp?Volume=" + Volume + "&Issue=" + Issue
   newsletter = window.open(filestring,'newsletter','directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,toolbar=no,screenX=100,screenY=100,top=100,left=100,width=900,height=500').focus();
   }
function popPreviewWebPageNew(Argument,Category)
   {
   webpage = window.open('webpage.asp?PAGENAME=' + Argument + '&CATEGORY=' + Category,'webpage','').focus();
   }
function popVideo(Type,Code)
   {
   filestring = "http://www.KatsConcerts.com/FullScreenVideo.asp?Type=" + Type + "&Code=" + Code + "&Width=" + screen.availWidth + "&Height=" + screen.availHeight
   FullScreenVideo = window.open(filestring,'FullScreenVideo','directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,toolbar=no').focus();
   }
var UniqueID = 314;
function AudioPop2(Title,Filename)
   {
   filestring = "http://www.KatsConcerts.com/PlayAudio.asp?Filename=" + Filename + "&Title=" + Title + "&Width=" + screen.availWidth + "&Height=" + screen.availHeight
   PlayAudio = window.open(filestring,UniqueID,'directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,toolbar=no,left=200,top=200,width=350,height=100').focus();
   UniqueID
   }

