function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName, x) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  }
    ajaxFunction(x);
  }
}

//Browser Support Code
function ajaxFunction(x){
	var ajaxRequest;  // The variable that makes Ajax possible!
    var ajaxRequest2;
    var ajaxRequest3;

	try{
		// Opera 8.0+, Firefox, Safari
		ajaxRequest = new XMLHttpRequest();
	}
    catch (e){
		// Internet Explorer Browsers
		try{
			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
		}
        catch (e) {
			try{
				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
			}
            catch (e){
				// Something went wrong
				alert("Your browser broke!");
				return false;
			}
		}
	}

    try{
		// Opera 8.0+, Firefox, Safari
		ajaxRequest2 = new XMLHttpRequest();
	}
    catch (e){
		// Internet Explorer Browsers
		try{
			ajaxRequest2 = new ActiveXObject("Msxml2.XMLHTTP");
		}
        catch (e) {
			try{
				ajaxRequest2 = new ActiveXObject("Microsoft.XMLHTTP");
			}
            catch (e){
				// Something went wrong
				alert("Your browser broke!");
				return false;
			}
		}
	}

     try{
		// Opera 8.0+, Firefox, Safari
		ajaxRequest3 = new XMLHttpRequest();
	}
    catch (e){
		// Internet Explorer Browsers
		try{
			ajaxRequest3 = new ActiveXObject("Msxml2.XMLHTTP");
		}
        catch (e) {
			try{
				ajaxRequest3 = new ActiveXObject("Microsoft.XMLHTTP");
			}
            catch (e){
				// Something went wrong
				alert("Your browser broke!");
				return false;
			}
		}
	}

	// Create a function that will receive data sent from the server
	ajaxRequest.onreadystatechange = function(){
		if(ajaxRequest.readyState == 4){
			var ajaxDisplay = document.getElementById('ajaxDiv');
			ajaxDisplay.innerHTML = ajaxRequest.responseText;
		}
    }

    ajaxRequest2.onreadystatechange = function(){
		if(ajaxRequest2.readyState == 4){
			var ajaxDisplay2 = document.getElementById('ajaxDiv2');
			ajaxDisplay2.innerHTML = ajaxRequest2.responseText;
		}
    }

    ajaxRequest3.onreadystatechange = function(){
		if(ajaxRequest3.readyState == 4){
			var ajaxDisplay3 = document.getElementById('ajaxDiv3');
			ajaxDisplay3.innerHTML = ajaxRequest3.responseText;
		}
    }

    if(x=='colist_r2_c1')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=A", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=A", true);
    }
    else if(x=='colist_r2_c3')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=B", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=B", true);
    }
    else if(x=='colist_r2_c5')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=C", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=C", true);
    }
    else if(x=='colist_r2_c7')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=D", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=D", true);
    }
    else if(x=='colist_r2_c11')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=E", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=E", true);
    }
      else if(x=='colist_r2_c13')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=F", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=F", true);
    }
    else if(x=='colist_r2_c16')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=G", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=G", true);
    }
    else if(x=='colist_r2_c18')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=H", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=H", true);
    }
    else if(x=='colist_r2_c21')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=I", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=I", true);
    }
        else if(x=='colist_r3_c24')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=J", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=J", true);
    }
      else if(x=='colist_r3_c27')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=K", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=K", true);
    }
    else if(x=='colist_r3_c30')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=L", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=L", true);
    }
    else if(x=='colist_r4_c33')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=M", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=M", true);
    }
    else if(x=='colist_r7_c1')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=N", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=N", true);
    }
    else if(x=='colist_r7_c3')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=O", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=O", true);
    }
    else if(x=='colist_r7_c5')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=P", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=P", true);
    }
    else if(x=='colist_r7_c8')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=Q", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=Q", true);
    }
    else if(x=='colist_r7_c10')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=R", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=R", true);
    }
    else if(x=='colist_r7_c13')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=S", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=S", true);
    }
    else if(x=='colist_r7_c16')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=T", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=T", true);
    }
    else if(x=='colist_r7_c18')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=U", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=U", true);
    }
    else if(x=='colist_r8_c20')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=V", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=V", true);
    }
    else if(x=='colist_r8_c24')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=W", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=W", true);
    }
    else if(x=='colist_r8_c26')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=X", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=X", true);
    }
    else if(x=='colist_r8_c30')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=Y", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=Y", true);
    }
    else if(x=='colist_r8_c32')
    {
        ajaxRequest.open("GET","companyAjax.php?alp=Z", true);
        ajaxRequest2.open("GET","companyAjax2.php?alp=Z", true);
    }
    else if(x=='az_r2_c1')
    {
        ajaxRequest.open("GET","classification.php?alp=A&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=B&sec=1", true);
    }
    else if(x=='az_r2_c3')
    {
        ajaxRequest.open("GET","classification.php?alp=C&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=D&sec=1", true);
    }
    else if(x=='az_r2_c5')
    {
        ajaxRequest.open("GET","classification.php?alp=E&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=F&sec=1", true);
    }
    else if(x=='az_r2_c7')
    {
        ajaxRequest.open("GET","classification.php?alp=G&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=H&sec=1", true);
    }
    else if(x=='az_r2_c9')
    {
        ajaxRequest.open("GET","classification.php?alp=I&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=J&sec=1", true);
    }
    else if(x=='az_r2_c11')
    {
        ajaxRequest.open("GET","classification.php?alp=K&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=L&sec=1", true);
    }
    else if(x=='az_r2_c13')
    {
        ajaxRequest.open("GET","classification.php?alp=M&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=N&sec=1", true);
    }
    else if(x=='az_r2_c15')
    {
        ajaxRequest.open("GET","classification.php?alp=O&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=P&sec=1", true);
    }
        else if(x=='az_r2_c17')
    {
        ajaxRequest.open("GET","classification.php?alp=Q&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=R&sec=1", true);
    }
    else if(x=='az_r3_c19')
    {
        ajaxRequest.open("GET","classification.php?alp=S&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=T&sec=1", true);
    }
    else if(x=='az_r3_c21')
    {
        ajaxRequest.open("GET","classification.php?alp=U&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=V&sec=1", true);
    }
    else if(x=='az_r3_c23')
    {
        ajaxRequest.open("GET","classification.php?alp=W&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=X&sec=1", true);
    }
    else if(x=='az_r4_c25')
    {
        ajaxRequest.open("GET","classification.php?alp=Y&sec=1", true);
        ajaxRequest2.open("GET","classification.php?alp=Z&sec=1", true);
    }

    else if(x=='az_services_r2_c1')
    {
        ajaxRequest.open("GET","serviceClass.php?alp1=A&alp2=B", true);
        ajaxRequest2.open("GET","serviceClass.php?alp1=C&alp2=D", true);
    }
    else if(x=='az_services_r2_c3')
    {
        ajaxRequest.open("GET","serviceClass.php?alp1=E&alp2=F", true);
        ajaxRequest2.open("GET","serviceClass.php?alp1=G&alp2=H", true);
    }
    else if(x=='az_services_r2_c5')
    {
        ajaxRequest.open("GET","serviceClass.php?alp1=I&alp2=J", true);
        ajaxRequest2.open("GET","serviceClass.php?alp1=K&alp2=L", true);
    }
    else if(x=='az_services_r2_c7')
    {
        ajaxRequest.open("GET","serviceClass.php?alp1=M&alp2=M", true);
        ajaxRequest2.open("GET","serviceClass.php?alp1=N&alp2=N", true);
    }
    else if(x=='az_services_r2_c9')
    {
        ajaxRequest.open("GET","serviceClass.php?alp1=O&alp2=P", true);
        ajaxRequest2.open("GET","serviceClass.php?alp1=Q&alp2=R", true);
    }
    else if(x=='az_services_r2_c11')
    {
        ajaxRequest.open("GET","serviceClass.php?alp1=S&alp2=T", true);
        ajaxRequest2.open("GET","serviceClass.php?alp1=U&alp2=V", true);
    }
    else if(x=='az_services_r2_c13')
    {
        ajaxRequest.open("GET","serviceClass.php?alp1=W&alp2=X", true);
        ajaxRequest2.open("GET","serviceClass.php?alp1=Y&alp2=Z", true);
    }

    ajaxRequest3.open("GET","bannerAjax.php", true);   

    ajaxRequest.send(null);
    ajaxRequest2.send(null);
    ajaxRequest3.send(null);
}