function sniffMe() {

// Get browser and platform info to use throughout the script.
            var browserName = navigator.appName.toLowerCase()
            var browserMaker = browserName.substring(0,1)
            var browserVersion = navigator.appVersion.substring(0,1)
            if (navigator.appVersion.indexOf("Mac")>1) {
               var browserPlatform = "Mac";
                           } else if (navigator.appVersion.indexOf("Win")>1) {
                           var browserPlatform = "Win";
                     } else {
                     var browserPlatform = "other"
         }

// Check for non mac or windows browsers!
            if (browserPlatform == "other") {
    }


// Browser is Mac or Windows so check version!
// If older than 4.0 then warn. Also warn if Mac MSIE 4.5!

            if ((browserVersion < 4) && (browserPlatform == "Win")) 
	{
	self.location.href="tech/ns4_detected.html"
	}
            if ((navigator.appVersion.indexOf("4.5")>1) && (browserPlatform=="Mac") && (browserMaker=="m")) 
	{
	self.location.href="tech/ns4_detected.html"
	}



// Browsers checkout OK, look for plugins!

function MM_checkPlugin(plgIn, theURL, altURL, autoGo) {
 //v3.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1) ok=(plugins && plugins[plgIn]);
  else if (appVersion.indexOf('3.1')==-1) 

//not Netscape or Win3.1
{ 
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}


// Plugins are OK, rename window and set to correct size!
    self.name="bbvd"

if (screen.width == 800) {
	window.self.moveTo(0,0)
	window.self.resizeTo(780,580)
	self.location.href="theatre_home.html"
    } 
else if (screen.width == 832) {
	window.self.moveTo(0,0)
	window.self.resizeTo(820,580)
	self.location.href="theatre_home.html"
    } 
else if (screen.width == 1024) {
	window.self.moveTo(0,0)
	window.self.resizeTo(990,775)
	self.location.href="theatre_home.html"
    } 
else if (screen.width == 1152) {
	window.self.moveTo(0,0)
	window.self.resizeTo(990,775)
	self.location.href="theatre_home.html"
    } 
else if (screen.width == 1440) {
	window.self.moveTo(0,0)
	window.self.resizeTo(990,775)
	self.location.href="theatre_home.html"
    } 
else if (screen.width == 1600) {
	window.self.moveTo(0,0)
	window.self.resizeTo(990,775)
	self.location.href="theatre_home.html"
    } 
else if (screen.width == 1680) {
	window.self.moveTo(0,0)
	window.self.resizeTo(990,775)
	self.location.href="theatre_home.html"
    } 
else if (screen.width == 1920) {
	window.self.moveTo(0,0)
	window.self.resizeTo(990,775)
	self.location.href="theatre_home.html"
    } 
else if (screen.width == 2560) {
	window.self.moveTo(0,0)
	window.self.resizeTo(990,775)
	self.location.href="theatre_home.html"
    } 
else {
	window.self.moveTo(0,0)
	window.self.resizeTo(990,775)
	self.location.href="theatre_home.html"
    }
}