/*******************************************************************
*
*	Drop-Down Dynamic Menu For www.AllFlashDesign.com
*	(c) April 2, 2003, Eug Br
*	Works on NN4.7x, NN6.x, IE4, IE5, IE6
*
*******************************************************************/

/*******************************************************************
*	Browser Check function
*******************************************************************/
function BrowserCheck(){

	if(document.getElementById){
		this.type = 1;	/* DOM compilant (IE>4.0, Mozilla, NN6.x, Opera) */
	}else if(document.all){
		this.type = 2;	/* IE>4.x */
	}else if(document.layers){
		this.type = 3;	/* NN4.x */
	}else{
		alert("Please install a browser that support JavaScript layers.");
		return;
	}
}

/*******************************************************************
*	GetMenuItemByIdentity function
*******************************************************************/
function GetMenuItemByIdentity(identity){

	var obj;
	
	switch(browserObj.type){
		case 1:
			obj = document.getElementById("AllFlashMenuID" + identity);
		break;
		case 2:
			eval("obj = document.all.AllFlashMenuID" + identity);
		break;
		case 3:
			eval("obj = document.AllFlashMenuID" + identity);
		break;
	}
	
	return obj;

}

/*******************************************************************
*	GetImageByIdentity function
*******************************************************************/
function GetImageByIdentity(identity){

	var obj;
	
	switch(browserObj.type){
		case 1:
			obj = document.getElementById("AllFlashMenuImageID" + identity);
		break;
		case 2:
			eval("obj = document.all.AllFlashMenuImageID" + identity);
		break;
		case 3:
			eval("obj = document.AllFlashMenuImageID" + identity);
		break;
	}
	
	return obj;

}

/*******************************************************************
*	This is the basic AllFlashMenuItem class constructor.
*******************************************************************/
function AllFlashMenuItem(tagAttributes, positioning, contents){

	if(!document.AllFlashMenuItems){
		document.AllFlashMenuItems = new Array(0);
	}

	this.id = document.AllFlashMenuItems.length;

	document.AllFlashMenuItems[this.id] = this;

	this.thisPositioning = (positioning) ? (positioning) : ("position:absolute;");
	if(this.thisPositioning.indexOf("z-index") == -1){
		this.thisPositioning += "z-index:5;";
	}

	this.thisTagAttributes = (tagAttributes) ? (tagAttributes) : ("");

	this.totalText = "<DIV " + this.thisTagAttributes + " STYLE='" +
			this.thisPositioning + "' ID='AllFlashMenuID" + this.id +
			"'>" + contents + "</DIV>";

	document.writeln(this.totalText);
	
	this.self = GetMenuItemByIdentity(this.id);
	this.style = (browserObj.type == 3) ? this.self : this.self.style;

	this.show = AllFlashMenuItem_show;
	this.hide = AllFlashMenuItem_hide;
	this.moveTo = AllFlashMenuItem_moveTo;

	this.hide();

}

/*******************************************************************
*	This is the "show" method of the basic AllFlashMenuItem class.
*******************************************************************/
function AllFlashMenuItem_show(){

	if(browserObj.type == 3){
		this.style.visibility = "show";
	}else{
		this.style.visibility = "visible";
	}
	
	return true;

}

/*******************************************************************
*	This is the "hide" method of the basic AllFlashMenuItem class.
*******************************************************************/
function AllFlashMenuItem_hide(){

	if(browserObj.type == 3){
		this.style.visibility = "hide";
	}else{
		this.style.visibility = "hidden";
	}

}

/*******************************************************************
*	This is the "moveTo" method of the basic AllFlashMenuItem class.
*******************************************************************/
function AllFlashMenuItem_moveTo(xx, yy){

	this.style.left = xx;
	this.style.top = yy;

	this.x = xx;
	this.y = yy;

}

/*******************************************************************
*	This is a constructor for the AllFlashMenuEntireMenu class.
*******************************************************************/
function AllFlashMenuEntireMenu(xx, yy, xwidth, yheight){

	this.x = xx;
	this.y = yy;

	this.width = xwidth;
	this.height = yheight;

	this.base = AllFlashMenuItem;
	
	this.base(
		"",
		"position:absolute;width:" + this.width + ";height:" + this.height + ";",
		"<TABLE CELLSPACING='0' CELLPADDING='0' BORDER='0' " +
			"WIDTH=" + this.width + " " +
			"HEIGHT=" + this.height + " " +
			"><TR><TD>&nbsp;</TD></TR></TABLE>"
	);

	this.items = new Array(0);

	this.superclassShow = this.show;
	this.show = AllFlashMenuEntireMenu_show;
	this.superclassHide = this.hide;
	this.hide = AllFlashMenuEntireMenu_hide;
	this.moveTo = AllFlashMenuEntireMenu_moveTo;
	this.addItem = AllFlashMenuEntireMenu_addItem;

	this.moveTo(this.x, this.y);

}

AllFlashMenuEntireMenu.prototype = AllFlashMenuItem;

/*******************************************************************
*	This is the "show" method of the AllFlashMenuEntireMenu class.
*******************************************************************/
function AllFlashMenuEntireMenu_show(){

	if(this.items.length != 0){
		for(i = 0; i < this.items.length; i++){
			this.items[i].show();
		}
	}
	
	return true;

}

/*******************************************************************
*	This is the "hide" method of the AllFlashMenuEntireMenu class.
*******************************************************************/
function AllFlashMenuEntireMenu_hide(){

	this.superclassHide();

	if(this.items.length != 0){
		for(i = 0; i < this.items.length; i++){
			this.items[i].hide();
		}
	}

}

/*******************************************************************
*	This is the "moveTo" method of the AllFlashMenuEntireMenu class.
*******************************************************************/
function AllFlashMenuEntireMenu_moveTo(xx, yy){

	var i;
	var xOffs = xx - this.x;
	var yOffs = yy - this.y;

	this.style.left = xx;
	this.style.top = yy;

	if(this.items){
		for(i=0; i<this.items.length; i++){
			this.items[i].moveTo(this.items[i].x + xOffs, this.items[i].y + yOffs);
		}
	}

	this.x = xx;
	this.y = yy;
}


/*******************************************************************
*	This is the "addItem" method of the AllFlashMenuEntireMenu class.
*******************************************************************/
function AllFlashMenuEntireMenu_addItem(left, top, width, height, img_reg, img_over, alt, url){

	var newMenuItem = this.items[this.items.length] = new AllFlashMenuSingleItem(
							this,
							this.x + left,
							this.y + top,
							width,
							height,
							img_reg,
							img_over,
							alt,
							url
						);
	return newMenuItem;

}

/*******************************************************************
*	This is a constructor for the AllFlashMenuSingleItem class.
*******************************************************************/
function AllFlashMenuSingleItem(parent, xx, yy, xwidth, yheight, regImg_reg, overImg_over, theAlt, theUrl){

	if(!parent.items){
		alert("Create the entire menu first!");
		return 0;
	}

	this.x = xx;
	this.y = yy;

	this.width = xwidth;
	this.height = yheight;

	this.img_reg = regImg_reg;
	this.img_over = overImg_over;

	this.imgObject = new Image();
	this.alt = theAlt;

	if(theUrl == ""){
		this.url = "#";
		this.hasSubMenuItems = true;
	}else if(theUrl.indexOf("PARENT__") != -1){
		this.url = theUrl.replace("PARENT__", "");
		theUrl = "";
		this.hasSubMenuItems = true;
	}else{
		this.url = theUrl;
		this.hasSubMenuItems = false;
	}

	this.base = AllFlashMenuItem;
	
	if(this.img_reg){
	
		////////////////////////////////////////////////////////////////////////
		//This case is for graphical menu. this.img_reg serves as a flag here 
		////////////////////////////////////////////////////////////////////////

		//////////////////////////////////////////////////////////////////	
		// Set a comment to the next line to avoid pre-loading RollOvers
		this.imgObject.src = overImg_over;
		//////////////////////////////////////////////////////////////////

		var currentArrayLength = document.AllFlashMenuItems.length;
		var mouseOutForAChildNode = (theUrl) ? "onMouseOut='AllFlashMenuOnMouseOutHandler(" + currentArrayLength + ")' " : "";

		this.base(
			"",
			"position:absolute;width:" + this.width + ";height:" + this.height + ";",
			"<A HREF='" + this.url + "' " + 
				"onMouseOver='AllFlashMenuOnMouseOverHandler(" + currentArrayLength + ");window.status=\"\"; return true;' " +
				mouseOutForAChildNode +
				"><IMG BORDER='0' SRC='" + this.img_reg + "' " +
				"WIDTH='" + this.width + "' " +
				"HEIGHT='" + this.height + "' " +
				"ALT='" + this.alt + "' " +
				"ID='AllFlashMenuImageID" + currentArrayLength + "' " +
				"NAME='AllFlashMenuImageID" + currentArrayLength + "' " +
				"VALIGN=TOP></A>\n"
		);

	}else{

		////////////////////////////////////////////////////////////////////////
		//This case is for text menu. this.img_reg serves as a flag here
		////////////////////////////////////////////////////////////////////////

		this.base(
			"ALIGN='LEFT'",
			"position:absolute;width:" + this.width + ";height:" + this.height + ";",
			"<IMG BORDER='0' SRC='images/webdevelopment/vert_line.gif' " +
							"WIDTH='1' " +
							"HEIGHT='18' " +
							"ALT='' " +
							"ALIGN=absmiddle>" +
			"<A HREF='" + this.url + "' " +
			"onMouseOver='window.status=\"\"; return true;' " +
			"class='flmenulinks' " +
			">" + 
			"  " + this.alt +
			"</A>\n"
		);

	}
	
	if(this.hasSubMenuItems){
		/* This code should be probably changed */
		this.menu = new AllFlashMenuEntireMenu(this.x, this.y, this.width, this.height);
	}

	this.moveTo = AllFlashMenuSingleItem_moveTo;

	this.moveTo(this.x, this.y);

	this.self.self = this;

}

AllFlashMenuSingleItem.prototype = AllFlashMenuItem;

/*******************************************************************
*	This is the "moveTo" method of the AllFlashMenuSingleItem class.
*******************************************************************/
function AllFlashMenuSingleItem_moveTo(xx, yy){

	var i;

	var xOffs = xx - this.x;
	var yOffs = yy - this.y;

	this.style.left = xx;
	this.style.top = yy;

	if(this.items){
		for(i = 0; i < this.items.length; i++){
			this.items[i].moveTo(this.items[i].x + xOffs, this.items[i].y + yOffs);
		}
	}
	if(this.menu){
		this.menu.moveTo(this.menu.x + xOffs, this.menu.y + yOffs);
	}

}

/*******************************************************************
*	This is the onMouseOverHandler function.
*******************************************************************/

function AllFlashMenuOnMouseOverHandler(menuID){

	document.isMenuActiveFlag = true;

	var menuObj = document.AllFlashMenuItems[menuID];

	if(document.images && menuObj.img_over){
		var imageObj = GetImageByIdentity(menuID);
		imageObj.src = menuObj.img_over;
	}

	if(menuObj.x == 0){
		for(var i = 0; i < document.AllFlashMenuItems.length; i++){
			if(i != menuID){
				if(document.AllFlashMenuItems[i].menu){
					document.AllFlashMenuItems[i].menu.hide();
					var tempImgObj = GetImageByIdentity(i);
					var tempImgObjSrc = tempImgObj.src.replace(/.*(images.*)/, "$1");
					
					if(tempImgObjSrc != document.AllFlashMenuItems[i].img_reg){
						tempImgObj.src = document.AllFlashMenuItems[i].img_reg;
					}
				}
			}
		}
		if(menuObj.menu){
			menuObj.menu.show();
		}
	}

}

/*******************************************************************
*	This is the onMouseOutHandler function.
*******************************************************************/
function AllFlashMenuOnMouseOutHandler(menuID){

	var menuObj = document.AllFlashMenuItems[menuID];

	if(document.images && menuObj.img_reg){
		var imageObj = GetImageByIdentity(menuID);
		imageObj.src = menuObj.img_reg;
	}

	document.isMenuActiveFlag = false;
//	setTimeout("AllFlashMenuHideAll()", 500);
}

/*******************************************************************
*	This function hides all sub-menus.
*******************************************************************/
function AllFlashMenuHideAll(){

	if(!document.isMenuActiveFlag){
		for(var i = 0; i < document.AllFlashMenuItems.length; i++){
			if(document.AllFlashMenuItems[i].menu){
				document.AllFlashMenuItems[i].menu.hide();
			}
		}
	}

}

/*******************************************************************
*	A constructor for the floating ALTs.
*******************************************************************/
function AllFlashFloatingALT(title, text){

	var table = "<TABLE WIDTH='250' BORDER='0' CELLPADDING='3' CELLSPACING='0' BGCOLOR='#336600'>" +
			"<TR><TD><TABLE WIDTH='100%' BORDER='0' CELLPADDING='0' CELLSPACING='0'>" +
				"<TR><TD><B><FONT class='PTT' COLOR='#FFFFFF'>" +
				title +
				"</FONT></B></TD></TR></TABLE>" +
				"<TABLE WIDTH='100%' BORDER='0' CELLPADDING='2' CELLSPACING='0' BGCOLOR='#FFFF66'>" +
				"<TR><TD><FONT class='PST' COLOR='#000000'>" +
				text +
				"</FONT></TD></TR></TABLE>" +
			"</TD></TR></TABLE>";
			
	this.divContents = new AllFlashMenuItem("", "position:absolute;z-index:9;", table);

}

/*******************************************************************
*	This function would enable a selected floating ALT.
*******************************************************************/
function AllFlashFloatingALT_show(identity){

	document.currentlyShownFloatingALT = document.AllFlashMenuItems[identity];
	document.isFloatingALTShown = false;

}

/*******************************************************************
*	This function would disable a selected floating ALT.
*******************************************************************/
function AllFlashFloatingALT_hide(identity){

	document.currentlyShownFloatingALT.hide();
	document.isFloatingALTShown = false;
	document.currentlyShownFloatingALT = '';

}

/*******************************************************************
*	This is the document.onMouseMove handler
*******************************************************************/
if (document.layers) document.captureEvents(Event.MOUSEMOVE);
document.onmousemove = AllFlashFloatingALTsOnMouseMoveHandler;

function AllFlashFloatingALTsOnMouseMoveHandler(e){

	if(!document.currentlyShownFloatingALT){
		return; /* To avoid Gecko low performance on mouseMove */
	}

	var x,y;

	if(e){
		x = e.pageX;
		y = e.pageY;
	}else if(browserObj.type != 1){
		x = event.x;
		y = event.y;
	}else{
		x = event.x + document.body.scrollLeft;
		y = event.y + document.body.scrollTop;
	}

	document.currentlyShownFloatingALT.moveTo(x + 15, y - 20);
	if(!document.isFloatingALTShown){
		document.currentlyShownFloatingALT.show();
		document.isFloatingALTShown = true;
	}

}

/*******************************************************************
*	Setting a var for the ScreenShot window
*******************************************************************/
var screenShotWindow;

function openwindow(strURL, winWidth, winHeight){
	var theWidth = winWidth;
	var theHeight = winHeight + 40;
	
	if(screenShotWindow && !screenShotWindow.closed){
		screenShotWindow.close();
	}
	
	screenShotWindow = window.open(strURL, "Window", "toolbar=no,status=no,scrollbars=yes,location=no,menubar=no,directories=no,resizable=1,width=" + theWidth + ",height=" + theHeight);
	screenShotWindow.focus();
}
/*******************************************************************
*	End of class definitions and functions.
*******************************************************************/

/*******************************************************************
*	Creating an auxiliary browser object.
*******************************************************************/
var browserObj = new BrowserCheck();

/*******************************************************************
*	Creating the menu and filling it out.
*******************************************************************/
var AllFlashMenuObj = new AllFlashMenuEntireMenu(0, 0, 250, 492);

////////
// NOTE: AllFlashMenuEntireMenu_addItem(left, top, width, height, img_reg, img_over, alt, url)
////////
var menuItem1 = AllFlashMenuObj.addItem(0, 0, 250, 41, "images/webdevelopment/apex.gif", "images/webdevelopment/apex_act.gif", "Apex Traking Solutions", 'PARENT__javascript:openwindow("about_clients_webdevelopment_apex.htm", 800, 600);');
with(menuItem1){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_apex.htm", 800, 600);');
}

var menuItem2 = AllFlashMenuObj.addItem(0, 41, 250, 41, "images/webdevelopment/aquatic.gif", "images/webdevelopment/aquatic_act.gif", "Aquatic Chariot", 'PARENT__javascript:openwindow("about_clients_webdevelopment_aquatic.htm", 800, 600);');
with(menuItem2){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_aquatic.htm", 800, 600);');
}

var menuItem3 = AllFlashMenuObj.addItem(0, 82, 250, 41, "images/webdevelopment/assignment.gif", "images/webdevelopment/assignment_act.gif", "Assignment Editor", 'PARENT__javascript:openwindow("about_clients_webdevelopment_assignmenteditor.htm", 800, 600);');
with(menuItem3){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_assignmenteditor.htm", 800, 600);');
}

var menuItem4 = AllFlashMenuObj.addItem(0, 123, 250, 41, "images/webdevelopment/banap.gif", "images/webdevelopment/banap_act.gif", "Banner Apartments", 'PARENT__javascript:openwindow("http://www.bannerapartments.com", 800, 600);');
with(menuItem4){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#banap');
}

var menuItem5 = AllFlashMenuObj.addItem(0, 164, 250, 41, "images/webdevelopment/cards.gif", "images/webdevelopment/cards_act.gif", "Cards Remembered", 'PARENT__javascript:openwindow("http://www.cardsremembered.com", 800, 600);');
with(menuItem5){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#cards');
}

var menuItem6 = AllFlashMenuObj.addItem(0, 205, 250, 41, "images/webdevelopment/career.gif", "images/webdevelopment/career_act.gif", "Career Portrait TM", 'PARENT__javascript:openwindow("about_clients_webdevelopment_careerportrait.htm", 800, 600);');
with(menuItem6){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_careerportrait.htm", 800, 600);');
}

var menuItem7 = AllFlashMenuObj.addItem(0, 246, 250, 41, "images/webdevelopment/crazy4food.gif", "images/webdevelopment/crazy4food_act.gif", "Crazy4Food", 'PARENT__javascript:openwindow("about_clients_webdevelopment_crazy4food.htm", 800, 600);');
with(menuItem7){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_crazy4food.htm", 800, 600);');
}

var menuItem8 = AllFlashMenuObj.addItem(0, 287, 250, 41, "images/webdevelopment/darkfire.gif", "images/webdevelopment/darkfire_act.gif", "DarkFireGallery", 'PARENT__javascript:openwindow("about_clients_webdevelopment_DarkfireGallery.htm", 800, 600);');
with(menuItem8){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_DarkfireGallery.htm", 800, 600);');
}

var menuItem9 = AllFlashMenuObj.addItem(0, 328, 250, 41, "images/webdevelopment/etrade.gif", "images/webdevelopment/etrade_act.gif", "E-Trade Nuts", 'PARENT__javascript:openwindow("about_clients_webdevelopment_EtradeNuts.htm", 800, 600);');
with(menuItem9){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_EtradeNuts.htm", 800, 600);');
}

var menuItem10 = AllFlashMenuObj.addItem(0, 369, 250, 41, "images/webdevelopment/foxpro.gif", "images/webdevelopment/foxpro_act.gif", "FoxPro Project", 'PARENT__javascript:openwindow("about_clients_webdevelopment_foxpro.htm", 800, 600);');
with(menuItem10){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_foxpro.htm", 800, 600);');
}

var menuItem11 = AllFlashMenuObj.addItem(0, 410, 250, 41, "images/webdevelopment/garage.gif", "images/webdevelopment/garage_act.gif", "Garage-Sales-Plus", 'PARENT__javascript:openwindow("about_clients_webdevelopment_garage.htm", 800, 600);');
with(menuItem11){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_garage.htm", 800, 600);');
}

var menuItem12 = AllFlashMenuObj.addItem(0, 451, 250, 41, "images/webdevelopment/herbs.gif", "images/webdevelopment/herbs_act.gif", "Herbs-Magic", 'PARENT__javascript:openwindow("http://www.herbs-magic.com", 800, 600);');
with(menuItem12){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#herbs');
}

var menuItem13 = AllFlashMenuObj.addItem(0, 492, 250, 41, "images/webdevelopment/hexagon.gif", "images/webdevelopment/hexagon_act.gif", "Hexagon Records", 'PARENT__javascript:openwindow("/it_outsourcing_demo_pages.htm", 800, 600);');
with(menuItem13){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#hexagon');
}

var menuItem14 = AllFlashMenuObj.addItem(0, 533, 250, 41, "images/webdevelopment/job-e-job.gif", "images/webdevelopment/job-e-job_act.gif", "Job-E-Job", 'PARENT__javascript:openwindow("about_clients_webdevelopment_job-e-job.htm", 800, 600);');
with(menuItem14){
	menu.addItem(250, 5, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_job-e-job.htm", 800, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#jej');
}

var menuItem15 = AllFlashMenuObj.addItem(0, 574, 250, 41, "images/webdevelopment/mapeco.gif", "images/webdevelopment/mapeco_act.gif", "Mapeco", 'PARENT__javascript:openwindow("http://www.mapeco.com", 800, 600);');
with(menuItem15){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#mapeco');
}

var menuItem16 = AllFlashMenuObj.addItem(0, 615, 250, 41, "images/webdevelopment/minedepot.gif", "images/webdevelopment/minedepot_act.gif", "MineDepot", 'PARENT__javascript:openwindow("about_clients_webdevelopment_minedepot.htm", 800, 600);');
with(menuItem16){
	menu.addItem(250, 5, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_minedepot.htm", 800, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#minedep');
}

var menuItem17 = AllFlashMenuObj.addItem(0, 656, 250, 41, "images/webdevelopment/mortgage.gif", "images/webdevelopment/mortgage_act.gif", "Mortgage Project", 'PARENT__javascript:openwindow("about_clients_webdevelopment_mortgage.htm", 800, 600);');
with(menuItem17){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_mortgage.htm", 800, 600);');
}

var menuItem18 = AllFlashMenuObj.addItem(0, 697, 250, 41, "images/webdevelopment/moviex.gif", "images/webdevelopment/moviex_act.gif", "Movie Extras", 'PARENT__javascript:openwindow("about_clients_webdevelopment_moviex.htm", 800, 600);');
with(menuItem18){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_moviex.htm", 800, 600);');
}

var menuItem19 = AllFlashMenuObj.addItem(0, 738, 250, 41, "images/webdevelopment/municipal.gif", "images/webdevelopment/municipal_act.gif", "Municipal Project", 'PARENT__javascript:openwindow("about_clients_webdevelopment_municipal.htm", 800, 600);');
with(menuItem19){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_municipal.htm", 800, 600);');
}

var menuItem20 = AllFlashMenuObj.addItem(0, 779, 250, 41, "images/webdevelopment/orbis.gif", "images/webdevelopment/orbis_act.gif", "Orbis Milestones", 'PARENT__javascript:openwindow("http://www.orbisbroadcastgroupmilestones.com", 800, 600);');
with(menuItem20){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#orbis');
}

var menuItem21 = AllFlashMenuObj.addItem(0, 820, 250, 41, "images/webdevelopment/puzzle.gif", "images/webdevelopment/puzzle_act.gif", "Puzzle Project", 'PARENT__javascript:openwindow("about_clients_webdevelopment_puzzle.htm", 800, 600);');
with(menuItem21){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_puzzle.htm", 800, 600);');
}

var menuItem22 = AllFlashMenuObj.addItem(0, 861, 250, 41, "images/webdevelopment/sitecontrol.gif", "images/webdevelopment/sitecontrol_act.gif", "Site Control System", 'PARENT__javascript:openwindow("/it_outsourcing_demo_pages.htm", 800, 600);');
with(menuItem22){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#sitecontrol');
}

var menuItem23 = AllFlashMenuObj.addItem(0, 902, 250, 41, "images/webdevelopment/stock.gif", "images/webdevelopment/stock_act.gif", "Stock Studio", 'PARENT__javascript:openwindow("http://www.stockstudio.com", 800, 600);');
with(menuItem23){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#stocks');
}

var menuItem24 = AllFlashMenuObj.addItem(0, 943, 250, 41, "images/webdevelopment/ties.gif", "images/webdevelopment/ties_act.gif", "Ties", 'PARENT__javascript:openwindow("about_clients_webdevelopment_ties.htm", 800, 600);');
with(menuItem24){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_ties.htm", 800, 600);');
}

var menuItem25 = AllFlashMenuObj.addItem(0, 984, 250, 41, "images/webdevelopment/webcomp.gif", "images/webdevelopment/webcomp_act.gif", "Web Comp", 'PARENT__javascript:openwindow("http://www.w-comp.com", 800, 600);');
with(menuItem25){
	menu.addItem(250, 23, 200, 18, "", "", "Online Demos", '/it_outsourcing_demo_pages.htm#webcomp');
}

var menuItem26 = AllFlashMenuObj.addItem(0, 1025, 250, 41, "images/webdevelopment/whois.gif", "images/webdevelopment/whois_act.gif", "Whois Project", 'PARENT__javascript:openwindow("about_clients_webdevelopment_whois.htm", 800, 600);');
with(menuItem26){
	menu.addItem(250, 23, 200, 18, "", "", "Description", 'javascript:openwindow("about_clients_webdevelopment_whois.htm", 800, 600);');
}

/*******************************************************************
*	Writing a margin-table for the regular HTML content.
*******************************************************************/
//var requiredHeight = (browserObj.type == 3) ? 99 : 107;
//document.writeln( "<TABLE BORDER='0' WIDTH='100%' HEIGHT='" + requiredHeight + "'><TR><TD>&nbsp;</TD></TR></TABLE>" );

/*******************************************************************
*	Calculating the right position for the dynamic menu.
*******************************************************************/

if(document.all){
	width = document.body.offsetWidth - 20;
}else if(navigator.userAgent.indexOf("Opera") != -1){
	width = window.innerWidth + 125;
}else{
	width = window.innerWidth - 15;
}

x = 220;
y = 150;

/*******************************************************************
*	Embedding the top image.
*******************************************************************/
AllFlashTopImage = new AllFlashMenuItem("ALIGN='LEFT'", "position:absolute;z-index:0;", "<IMG src='images/webdevelopment/top_devel.gif' BORDER='0' ALT='' usemap='#Map'><map name='Map'><area shape='rect' coords='0,0,110,28' href='outsourcing_portfolio_web_design.htm'><area shape='rect' coords='110,0,260,28' href='outsourcing_portfolio_web_development.htm'><area shape='rect' coords='260,0,370,28' href='outsourcing_portfolio_flash_design.htm'></map>");
AllFlashTopImage.moveTo(x, y);
AllFlashTopImage.show();

/*******************************************************************
*	Setting the menu flag to false,
*	moving the menu and showing it up.
*******************************************************************/
var isMenuActiveFlag = false;
AllFlashMenuObj.moveTo(x, y + 38);
AllFlashMenuObj.show();

/*******************************************************************
*	Embedding the bottom image.
*******************************************************************/
AllFlashBottomImage = new AllFlashMenuItem("ALIGN='LEFT'", "position:absolute;z-index:0;", "<IMG src='images/webdevelopment/bottom.gif' BORDER='0' ALT=''>");
AllFlashBottomImage.moveTo(x, y + 1114);
AllFlashBottomImage.show();

