

//obsolete browser variable
var sb;
sb=0;
if ( (! document.layers && ! document.all) && (navigator.appName.substring(0,8) != "Netscape") && (parseInt(navigator.appVersion) < 4) ) {
  sb=1;
 document.write('<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="400" HEIGHT="75" BGCOLOR="#ffffcc"> <TR> <TD VALIGN="middle" WIDTH="50"><FONT FACE="Verdana,Geneva,Arial,Sans Serif" SIZE="2">&nbsp;</FONT></TD> <TD><FONT FACE="Verdana,Geneva,Arial,Sans Serif" SIZE="2">To view these pages properly your browser needs to support Javascript. This may mean that you need to upgrade to <A HREF="/cgi-bin/redirect/cp=hom09pbro?http://www.netscape.com/computing/download/index.html">Netscape Communicator 4.0</A> or later, or <A HREF="/cgi-bin/redirect?http://www.microsoft.com/downloads/">Microsoft Internet Explorer 4.0</A> or later. Also, In your browser Preferences, enable JavaScript. Please see our <A HREF="/error/viewing.html">error page</A> for more information.</FONT></TD> </TR> </TABLE>');
}

//called from most pages' BODY tags
function startup() {
  if (!sb) {
    //CSScriptInit();
    preloadImages();
    imgOn("nav" + currentSection);
    }
  }

//***********************************css***********************************
//determines which stylesheet to write based on 
//browser/platform combination.  Also sets global
//variable bp for browser/platform testing elsewhere.
if (!sb) {
  if (navigator.platform.indexOf('Mac') > -1) {
    //mac
    if (navigator.appName.indexOf('Microsoft') > -1) {
      //explorer
      bp="iemac"
      document.write('<LINK HREF="http://www.hirex.co.uk/css/mac_ie_exhib.css" REL="styleSheet" TYPE="text/css">');
  
    } else {
      //netscape
      bp="nsmac"
      document.write('<LINK HREF="http://www.hirex.co.uk/css/mac_ns_exhib.css" REL="styleSheet" TYPE="text/css">');
  
    }
  } else {
    //windows or unix
    if (navigator.appName.indexOf('Microsoft') > -1) {
      //explorer
      bp="iewin"
      document.write('<LINK HREF="http://www.hirex.co.uk/css/win_ie_exhib.css" REL="styleSheet" TYPE="text/css">');
  
    } else {
      //netscape
      bp="nswin"
      document.write('<LINK HREF="http://www.hirex.co.uk/css/win_ns_exhib.css" REL="styleSheet" TYPE="text/css">');
  
    }
  }
}			
///////////////////////////////////end css////////////////////////////////////

//*****************************preloaders****************************





///////////////////////////////////end preloaders/////////////////////////////////



///////////////////////////////////popup////////////////////////////////////
	
		function legals() {
			window.open("../legals/legals.asp",'_blank',WinType);		
			}
			var WinType;
			WinType="width=400,height=470,left=380,top=50,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no";
			
		function shellDesigner() {
			window.open("shell_designer.asp",'_blank',WinType2);		
			}
			var WinType2;
			WinType2="width=630,height=440,left=350,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";			
		
		function shellViewer() {
			window.open("exhib_shell_view.asp",'_blank',WinType3);		
			}
			var WinType3;
			WinType3="width=620,height=390,left=350,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";	
		
		function shellplusViewer() {
			window.open("exhib_shell_plus_view.asp",'_blank',WinType3);		
			}
			var WinType3;
			WinType3="width=620,height=390,left=350,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";	
			
		function shellextrasViewer() {
			window.open("exhib_shell_extra_view.asp",'_blank',WinType3);		
			}
			var WinType3;
			WinType3="width=620,height=390,left=350,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";	
			
		function graphicViewer() {
			window.open("exhib_graph_view.asp",'_blank',WinType4);		
			}
			var WinType4;
			WinType4="width=620,height=390,left=350,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";
			
		function spaceViewer() {
			window.open("space_viewer.asp",'_blank',WinType5);		
			}
			var WinType5;
			WinType5="width=620,height=390,left=350,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";


function quickFinder() {
	sWindow = document.forms[0].navigator.options[document.forms[0].navigator.selectedIndex].value;
			
	if (sWindow == 2) {
	window.open("../organisers.asp?pcatid=0&area=1","_self");							
	}

	if (sWindow == 1) {
	window.open("../exhibitors.asp?pcatid=0&area=2","_self");							
	}
}

function quickFinder2() {
	sWindow = document.forms['1'].jumper.options[document.forms['1'].jumper.selectedIndex].value;
			
	if (sWindow == 1) {
	window.open("../shell_schemes_exhibitor/index.asp?pcatid=3&area=2","_parent");							
	}

	if (sWindow == 2) {
	window.open("../space_only/index.asp?pcatid=2&area=2","_parent");							
	}

	if (sWindow == 3) {
	window.open("../graphics_exhibitor/index.asp?pcatid=4&area=2","_parent");							
	}

       if (sWindow == 4) {
	window.open("../display_systems/index.asp?pcatid=1&area=2","_parent");
	}
	
       if (sWindow == 7) {
	window.open("../about_us/exhib_testim.asp?pcatid=5&area=2","_parent");
	}

}

		function mapViewer() {
			window.open("../contact_us/map_view.asp",'_blank',WinType6);		
			}
			var WinType6;
			WinType6="width=1020,height=582,left=380,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";
			
		function closemapViewer() {
			window.open("../contact_us/map_view_close.asp",'_blank',WinType7);		
			}
			var WinType7;
			WinType7="width=1020,height=582,left=380,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";
		
		function enquiry() {
			window.open("http://hirex.vbcinternet.net/contact_us/enquiry_popup.asp",'_blank',WinType8);		
			}
			var WinType8;
			WinType8="width=360,height=470,left=350,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";
			
		function prodenquiry() {
			window.open("http://hirex.vbcinternet.net/display_systems/product_enquiry_popup.asp",'_blank',WinType8);		
			}
			var WinType8;
			WinType8="width=360,height=470,left=350,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";
			
		function swatchViewer() {
			window.open("http://hirex.vbcinternet.net/display_systems/swatch_view.html",'_blank',WinType9);		
			}
			var WinType9;
			WinType9="width=510,height=650,left=380,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";
			
						
		function HireViewer() {
			window.open("http://hirex.vbcinternet.net/display_systems/modular_sys1.html",'_blank',WinType10);		
			}
			var WinType10;
			WinType10="width=500,height=703,left=380,top=50,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=no";
			
			
///////////////////////////////////end popup////////////////////////////////////


//***********************************print***********************************

var da = (document.all) ? 1 : 0; // browser is VB compatible
var pr = (window.print) ? 1 : 0; // must be NS4, IE5
var mac = (navigator.userAgent.indexOf("Mac") != -1); 

function printPage() {

  if (pr)
  {
	if ((navigator.appName.substring(0,8) == "Netscape") && (parseInt(navigator.appVersion) <= 4))
	 {
		if ((parseInt(navigator.appVersion) == 4) && (parseInt(navigator.appMinorVersion) == 7)) {
			 alert("Page Help\n===================\nSorry, your browser doesn't\nsupport this feature.\nTo print this page on a\nMacintosh please use\nthe Command and P keys."); 
		}		
	}
	else {
		window.print();
	}
  }	
  else if (da && !mac)
    vbPrintPage()
  else
   
    alert("Page Help\n===================\nSorry, your browser doesn't\nsupport this feature.\nTo print this page on a\nMacintosh please use\nthe Command and P keys."); 
}

if (da && !pr && !mac) with (document) {
  writeln('<OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>');
  writeln('<' + 'SCRIPT LANGUAGE="VBScript">');
  writeln('Sub window_onunload');
  writeln('  On Error Resume Next');
  writeln('  Set WB = nothing');
  writeln('End Sub');
  writeln('Sub vbPrintPage');
  writeln('  OLECMDID_PRINT = 6');
  writeln('  OLECMDEXECOPT_DONTPROMPTUSER = 2');
  writeln('  OLECMDEXECOPT_PROMPTUSER = 1');
  writeln('  On Error Resume Next');
  writeln('  WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER');
  writeln('End Sub');
  writeln('<' + '/SCRIPT>');
}
///////////////////////////////////end print////////////////////////////////////


