var activeSub=0;
var SubNum=0;


    //Define global variables

	var timerID = null;
	var timerOn = false;
	var timecount = 0;
	var what = null;
	var newbrowser = true;
	var check = false;
	
	
	
	
	
	
function init(){
    	//  alert ("Running Init");
          if (document.layers) {
                      //  alert ("Running Netscape 4");
                        layerRef="document.layers";
                        styleSwitch="";
                        visibleVar="show";
			screenSize = window.innerWidth;
			what ="ns4";


          }else if(document.all){
                      //  alert ("Running IE");
                        layerRef="document.all";
                        styleSwitch=".style";
                        visibleVar="visible";
			screenSize = document.body.clientWidth + 18;
			what ="ie";

		  }else if(document.getElementById){
                      //  alert ("Running Netscape 6");
                        layerRef="document.getElementByID";
                        styleSwitch=".style";
                        visibleVar="visible";
			what="moz";
		  
		  }else{
		  	//alert("Older than 4.0 browser.");
			what="none";
			newbrowser = false;
		  }
		  
 
		
		window.status='Abtech Computer Services UK';
		check = true;
  	 	}

	// Turns the layers on and off
function showLayer(layerName){
        	if(check){
        		if (what =="none"){
        			return;
        			}
	        	else if (what == "moz"){
        			document.getElementById(layerName).style.visibility="visible";
        			}
        		else{
                  eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
                  }
		 }
        	else {// alert ("Please wait for the page to finish loading.");
        		return;}
		}

function hideLayer(layerName){
        	if(check){
        		if (what =="none"){
        			return;
        			}
        		else if (what == "moz"){
        			document.getElementById(layerName).style.visibility="hidden";
        			}
        		else{
                  eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
				}
        
        	}
        	else {// alert ("Please wait for the page to finish loading.");
        		return;}
        }

var servicesimage_on = new Image()
servicesimage_on.src = "interface/services_on.jpg"
var servicesimage_off = new Image()
servicesimage_off.src = "interface/services_off.jpg"

var solutionsimage_on = new Image()
solutionsimage_on.src = "interface/solutions_on.jpg"
var solutionsimage_off = new Image()
solutionsimage_off.src = "interface/solutions_off.jpg"

var customersimage_on = new Image()
customersimage_on.src = "interface/customers_on.jpg"
var customersimage_off = new Image()
customersimage_off.src = "interface/customers_off.jpg"

var partnersimage_on = new Image()
partnersimage_on.src = "interface/partners_on.jpg"
var partnersimage_off = new Image()
partnersimage_off.src = "interface/partners_off.jpg"

var referenceimage_on = new Image()
referenceimage_on.src = "interface/reference_on.jpg"
var referenceimage_off = new Image()
referenceimage_off.src = "interface/reference_off.jpg"

var contactimage_on = new Image()
contactimage_on.src = "interface/contact_on.jpg"
var contactimage_off = new Image()
contactimage_off.src = "interface/contact_off.jpg"

var searchimage_on = new Image()
searchimage_on.src = "interface/search_on.jpg"
var searchimage_off = new Image()
searchimage_off.src = "interface/search_off.jpg"


function act(imgName) {
  if (document.images) 
    document[imgName].src = eval(imgName + '_on.src')
}

function inact(imgName) {
  if (document.images)
    document[imgName].src = eval(imgName + '_off.src')
}

function hideAll(){
				hideLayer('solutions');
				hideLayer('services');
				hideLayer('partners');
				hideLayer('customers');
				hideLayer('reference');
				hideLayer('contact');
				hideLayer('search');
				inact('solutionsimage');
				inact('servicesimage');
				inact('partnersimage');
				inact('customersimage');
				inact('referenceimage');
				inact('contactimage');
				inact('searchimage');
				}


function startTime() {
	        if (timerOn == false) {
                timerID=setTimeout( "hideAll()" , timecount);
                timerOn = true;

	        }

		}


function stopTime() {
	        if (timerOn) {
    	        clearTimeout(timerID);
                timerID = null;
                timerOn = false;
	        }
		}

function onLoad(){
			init();
			
			}
	
	
	
	
	
	
	if (document.layers || document.all || document.getElementById){
		
	document.write("<STYLE TYPE='text/css'>");

	document.write("#solutions {POSITION: absolute; Z-INDEX: 90; VISIBILITY: hidden; LEFT: 25px; TOP: 87px; WIDTH:160px;}");
	document.write("#services {POSITION: absolute; Z-INDEX: 90; VISIBILITY: hidden; LEFT: 111px; TOP: 87px; WIDTH:150px;}");
	document.write("#partners {POSITION: absolute; Z-INDEX: 90; VISIBILITY: hidden; LEFT: 197px; TOP: 87px; WIDTH:150px;}");
	document.write("#customers {POSITION: absolute; Z-INDEX: 90; VISIBILITY: hidden; LEFT: 283px; TOP: 87px; WIDTH:160px;}");
	document.write("#reference {POSITION: absolute; Z-INDEX: 90; VISIBILITY: hidden; LEFT: 369px; TOP: 87px; WIDTH:160px;}");
	document.write("#contact {POSITION: absolute; Z-INDEX: 90; VISIBILITY: hidden; LEFT: 455px; TOP: 87px; WIDTH:150px;}");
	document.write("#search {POSITION: absolute; Z-INDEX: 90; VISIBILITY: hidden; LEFT: 541px; TOP: 87px; WIDTH:150px;}");
	document.write("</STYLE>");





	document.write("<DIV ID='solutions' onmouseover='stopTime();' onmouseout='startTime();'>");
	document.write("<table border='0' cellspacing='1' cellpadding='0' width='160' bgcolor='#122576'>");
	document.write("<tr><td>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='160' bgcolor='#8992BB'>");

	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='160' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td valign='top' align='center' bgcolor='#9EA6C7'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/info_management.html' target='_top'>Information Lifeceycle Management</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/academic_sub_page.html' target='_top'>Academic Solutions</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/virtualisation.html' target='_top'>Virtualisation</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/blade_servers.html' target='_top'>Blade Servers</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/thin-client.html' target='_top'>Thin Client</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/hitachi_storage_solutions.html' target='_top'>Storage</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/linux.html' target='_top'>Linux</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/zimbra.html' target='_top'>Zimbra Email and Collaboration Solutions</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/arkeia.html' target='_top'>Arkeia Backup Solutions</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/cont_man_jump_page.html' target='_top'>Content Management</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/high-performance.html' target='_top'>High Performance Workstations</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/itanium.html' target='_top'>Itanium</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/hp9000.html' target='_top'>HP9000</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/hds_it_operations_manager.html' target='_top'>HDS IT Operations Manager</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='solutions/ingres_db.html' target='_top'>Ingres Database Solutions</a></p>");
	
	
	document.write("</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='160' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</DIV>");








	document.write("<DIV ID='services' onmouseover='stopTime();' onmouseout='startTime();'>");
	document.write("<table border='0' cellspacing='1' cellpadding='0' width='150' bgcolor='#122576'>");
	document.write("<tr><td>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='150' bgcolor='#8992BB'>");

	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td valign='top' align='center' bgcolor='#9EA6C7'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='services/support.html' target='_top'>Support Services</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='150' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='services/system-rental.html' target='_top'>System Rental</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='150' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='services/system-relocation.html' target='_top'>System Relocation</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='150' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='services/unix-consultancy.html' target='_top'>Unix Consultancy</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='150' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='services/linux-consultancy.html' target='_top'>Linux Consultancy</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='150' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='services/performance-audits.html' target='_top'>Performance Audits</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='150' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='services/storage-consultancy.html' target='_top'>Storage Consultancy</a></p>");

    
	document.write("</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</DIV>");








	document.write("<DIV ID='partners' onmouseover='stopTime();' onmouseout='startTime();'>");
	document.write("<table border='0' cellspacing='1' cellpadding='0' width='150' bgcolor='#122576'>");
	document.write("<tr><td>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='150' bgcolor='#8992BB'>");

	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td valign='top' align='center' bgcolor='#9EA6C7'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='partners/index.html' target='_top'>Abtech Partners</a></p>");
	document.write("</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</DIV>");








	document.write("<DIV ID='customers' onmouseover='stopTime();' onmouseout='startTime();'>");
	document.write("<table border='0' cellspacing='1' cellpadding='0' width='160' bgcolor='#122576'>");
	document.write("<tr><td>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='160' bgcolor='#8992BB'>");

	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='160' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td valign='top' align='center' bgcolor='#9EA6C7'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='customers/cpships.html' target='_top'>CP Ships</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='customers/servisair.html' target='_top'>Servisair-GlobeGround</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='customers/stirling.html' target='_top'>University of Stirling</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='customers/asp.html' target='_top'>Application Service Provider</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='customers/biotech.html' target='_top'>Biotech Company</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='customers/testimonials.html' target='_top'>Testimonials</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='case_studies/case_studies_sub_page.html' target='_top'>Case Studies</a></p>");

	document.write("</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='160' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</DIV>");







	document.write("<DIV ID='reference' onmouseover='stopTime();' onmouseout='startTime();'>");
	document.write("<table border='0' cellspacing='1' cellpadding='0' width='150' bgcolor='#122576'>");
	document.write("<tr><td>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='150' bgcolor='#8992BB'>");

	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td valign='top' align='center' bgcolor='#9EA6C7'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='reference/index.html' target='_top'>Information Library</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='160' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='reference/policies.html' target='_top'>Company Policies</a></p>");
	document.write("</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</DIV>");









	document.write("<DIV ID='contact' onmouseover='stopTime();' onmouseout='startTime();'>");
	document.write("<table border='0' cellspacing='1' cellpadding='0' width='150' bgcolor='#122576'>");
	document.write("<tr><td>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='150' bgcolor='#8992BB'>");

	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td valign='top' align='center' bgcolor='#9EA6C7'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='contact/index.html' target='_top'>Contact Information</a></p>");
	document.write("<img src='interface/dropdown-divider.gif' width='150' height='2' border='0'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='contact/enquiry.html' target='_top'>Enquiry Form</a></p>");

	document.write("</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</DIV>");}








	document.write("<DIV ID='search' onmouseover='stopTime();' onmouseout='startTime();'>");
	document.write("<table border='0' cellspacing='1' cellpadding='0' width='150' bgcolor='#122576'>");
	document.write("<tr><td>");
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='150' bgcolor='#8992BB'>");

	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");

	document.write("<tr>");
	document.write("<td valign='top' align='center' bgcolor='#9EA6C7'>");
	document.write("<p class='menu'><a onmouseover='stopTime();' onmouseout='startTime();' href='search/index.html' target='_top'>Site Map</a></p>");

	document.write("</td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("<td valign='top' bgcolor='#8992BB'>");
	document.write("<img src='interface/pixel.gif' width='150' height='1' border='0'>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");
	document.write("</DIV>");




