<!--
function onLoad() {
    window.onResize = onLoad;
   loadMenus();
}

function loadMenus() {
/*
    window.myMenu = new Menu();
    myMenu.addMenuItem("History and Mission", "historymission.htm");
    myMenu.addMenuItem("What we do", "wedo.htm");
    myMenu.addMenuItem("Our skills", "skills.htm");
    myMenu.disableDrag = true;

    window.myMenu1 = new Menu();
    myMenu1.addMenuItem("my menu item E");
    myMenu1.addMenuItem("my menu item F");
    myMenu1.addMenuItem("my menu item G");
    myMenu1.addMenuItem("my menu item H");
	myMenu1.disableDrag = true;

    window.myMenu2 = new Menu();
    myMenu2.addMenuItem("my menu item I");
    myMenu2.addMenuItem("my menu item J");
    myMenu2.addMenuItem("my menu item K");
    myMenu2.addMenuItem("my menu item L");
	myMenu2.disableDrag = true;

    window.myMenu3 = new Menu();
    myMenu3.addMenuItem("my menu item M");
    myMenu3.addMenuItem("my menu item N");
    myMenu3.addMenuItem("my menu item O");
    myMenu3.addMenuItem("my menu item P");
	myMenu3.disableDrag = true;

    window.myMenu4 = new Menu();
    myMenu4.addMenuItem("my menu item Q");
    myMenu4.addMenuItem("my menu item R");
    myMenu4.addMenuItem("my menu item S");
    myMenu4.addMenuItem("my menu item T");
	myMenu4.disableDrag = true;

    window.myMenu5 = new Menu();
    myMenu5.addMenuItem("my menu item U");
    myMenu5.addMenuItem("my menu item V");
    myMenu5.addMenuItem("my menu item W");
    myMenu5.addMenuItem("my menu item X");
	myMenu5.disableDrag = true;

    window.myMenu6 = new Menu();
    myMenu6.addMenuItem("my menu item Y");
    myMenu6.addMenuItem("my menu item Z");
    myMenu6.addMenuItem("my menu item a");
    myMenu6.addMenuItem("my menu item b");
	myMenu6.disableDrag = true;

    myMenu.writeMenus();
*/
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  if(x){
	x.src = lastImage;
  }

}

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) { //v3.0
  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); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
/*
function hideCurrentMenu(lObj)
{
	var xPos = window.pageX;
	var yPos = window.pageY;
	if((xPos > 248 && xPos < 294  ) && (yPos > 72))
	{
	}
	else
	{
		window.hideActiveMenus(lObj);
	}
}
*/

function loadPage(lName)
{
	switch (lName)
	{
	case "welcome.htm":
		{
			lastImage = "./images/blank1.jpg";
			parent.frames["mainFrame"].location.href = lName;
			break;
		}
	case "aboutus.htm":
		{
			lastImage = "./images/about1.jpg";
			parent.frames["mainFrame"].location.href = lName;
			break;
		}
	case "projects.htm":
		{
			lastImage = "./images/projects1.jpg";
			parent.frames["mainFrame"].location.href = lName;
			break;
		}
	case "products.htm":
		{
			lastImage = "./images/products1.jpg";
			parent.frames["mainFrame"].location.href = lName;
			break;
		}
	case "clients.htm":
		{
			lastImage = "./images/clients1.jpg";
			parent.frames["mainFrame"].location.href = lName;
			break;
		}
	case "partners.htm":
		{
			lastImage = "./images/partners1.jpg";
			parent.frames["mainFrame"].location.href = lName;
			break;
		}
	case "whitepapers.htm":
		{
			lastImage = "./images/white1.jpg";
			parent.frames["mainFrame"].location.href = lName;
			break;
		}
	case "contactus.htm":
		{
			lastImage = "./images/contactus1.jpg";
			parent.frames["mainFrame"].location.href = lName;
			break;
		}
	}	
}

function setImage(sImage)
{
//	parent.frames["topFrame"].document.images["Image3"].src = sImage;
}

function gotoHome()
{
			lastImage = "./images/blank1.jpg";
			parent.frames["mainFrame"].location.href = "welcome.htm";
			MM_swapImgRestore();
}

/*
function onBackClick()
{
	parent.frames["mainFrame"].window.history.back();
	alert(parent.frames["mainFrame"].window.document.nameProp);
}
*/
function pgLoad(lPara)
{
	if (lPara == '1')
		document.frm.txtdl.value = "w9x";
	if (lPara == '2')
		document.frm.txtdl.value = "wnt";
	if (lPara == '3')
		document.frm.txtdl.value = "dc";
	document.frm.submit();		
}
//-->

