/*******************************************************************
*
*	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/webdesign/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=no,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/webdesign/cardremembered.com.gif", "images/webdesign/cardremembered.com_act.gif", "CARDS REMEMBERED", 'PARENT__javascript:openwindow("show.htm?cardremembered.com,1,5", 550, 600);');
with(menuItem1){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?cardremembered.com,1,5", 550, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?cardremembered.com,2,5", 550, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?cardremembered.com,3,5", 550, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?cardremembered.com,4,5", 550, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?cardremembered.com,5,5", 550, 600);');
}

var menuItem2 = AllFlashMenuObj.addItem(0, 41, 250, 41, "images/webdesign/mapeco.com.gif", "images/webdesign/mapeco.com_act.gif", "MAPECO", 'PARENT__javascript:openwindow("show.htm?mapeco.com,1,5", 540, 600);');
with(menuItem2){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?mapeco.com,1,5", 540, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?mapeco.com,2,5", 540, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?mapeco.com,3,5", 540, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?mapeco.com,4,5", 540, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?mapeco.com,5,5", 540, 600);');
}

var menuItem3 = AllFlashMenuObj.addItem(0, 82, 250, 41, "images/webdesign/earthworkstech.com.gif", "images/webdesign/earthworkstech.com_act.gif", "EARTHWORKS TECHNOLOGY", 'PARENT__javascript:openwindow("show.htm?earthworkstech.com,1,5", 660, 600);');
with(menuItem3){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?earthworkstech.com,1,5", 660, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?earthworkstech.com,2,5", 660, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?earthworkstech.com,3,5", 660, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?earthworkstech.com,4,5", 660, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?earthworkstech.com,5,5", 660, 600);');
}

var menuItem4 = AllFlashMenuObj.addItem(0, 123, 250, 41, "images/webdesign/banyancappartners.com.gif", "images/webdesign/banyancappartners.com_act.gif", "BANYAN CAPITAL PARTNERS", 'PARENT__javascript:openwindow("show.htm?banyancappartners.com,1,5", 610, 600);');
with(menuItem4){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?banyancappartners.com,1,5", 610, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?banyancappartners.com,2,5", 610, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?banyancappartners.com,3,5", 610, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?banyancappartners.com,4,5", 610, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?banyancappartners.com,5,5", 610, 600);');
}

var menuItem5 = AllFlashMenuObj.addItem(0, 164, 250, 41, "images/webdesign/w-comp.com.gif", "images/webdesign/w-comp.com_act.gif", "WEBCOMP INC.", 'PARENT__javascript:openwindow("show.htm?w-comp.com,1,5", 750, 600);');
with(menuItem5){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?w-comp.com,1,5", 750, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?w-comp.com,2,5", 750, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?w-comp.com,3,5", 750, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?w-comp.com,4,5", 750, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?w-comp.com,5,5", 750, 600);');
}

var menuItem6 = AllFlashMenuObj.addItem(0, 205, 250, 41, "images/webdesign/wealthaccelerator.com.gif", "images/webdesign/wealthaccelerator.com_act.gif", "THE WEALTH ACCELERATOR", 'PARENT__javascript:openwindow("show.htm?wealthaccelerator.com,1,5", 550, 600);');
with(menuItem6){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?wealthaccelerator.com,1,5", 550, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?wealthaccelerator.com,2,5", 550, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?wealthaccelerator.com,3,5", 550, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?wealthaccelerator.com,4,5", 550, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?wealthaccelerator.com,5,5", 550, 600);');
}

var menuItem7 = AllFlashMenuObj.addItem(0, 246, 250, 41, "images/webdesign/westernfarmservice.com.gif", "images/webdesign/westernfarmservice.com_act.gif", "WESTERN FARM SERVICE", 'PARENT__javascript:openwindow("show.htm?westernfarmservice.com,1,5", 780, 600);');
with(menuItem7){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?westernfarmservice.com,1,5", 780, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?westernfarmservice.com,2,5", 780, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?westernfarmservice.com,3,5", 780, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?westernfarmservice.com,4,5", 780, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?westernfarmservice.com,5,5", 780, 600);');
}

var menuItem8 = AllFlashMenuObj.addItem(0, 287, 250, 41, "images/webdesign/platinumlendingltd.com.gif", "images/webdesign/platinumlendingltd.com_act.gif", "PLATINUM LENDING, LTD", 'PARENT__javascript:openwindow("show.htm?platinumlendingltd.com,1,5", 700, 600);');
with(menuItem8){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?platinumlendingltd.com,1,5", 700, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?platinumlendingltd.com,2,5", 700, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?platinumlendingltd.com,3,5", 700, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?platinumlendingltd.com,4,5", 700, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?platinumlendingltd.com,5,5", 700, 600);');
}

var menuItem9 = AllFlashMenuObj.addItem(0, 328, 250, 41, "images/webdesign/firegem.com.gif", "images/webdesign/firegem.com_act.gif", "FIRE GEM CO.", 'PARENT__javascript:openwindow("show.htm?firegem.com,1,5", 970, 600);');
with(menuItem9){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?firegem.com,1,5", 970, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?firegem.com,2,5", 970, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?firegem.com,3,5", 970, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?firegem.com,4,5", 970, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?firegem.com,5,5", 970, 600);');
}

var menuItem10 = AllFlashMenuObj.addItem(0, 369, 250, 41, "images/webdesign/hexagonrecords.com.gif", "images/webdesign/hexagonrecords.com_act.gif", "HEXAGON RECORDS", 'PARENT__javascript:openwindow("show.htm?hexagonrecords.com,1,5", 700, 600);');
with(menuItem10){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?hexagonrecords.com,1,5", 700, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?hexagonrecords.com,2,5", 700, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?hexagonrecords.com,3,5", 700, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?hexagonrecords.com,4,5", 700, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?hexagonrecords.com,5,5", 700, 600);');
}

var menuItem11 = AllFlashMenuObj.addItem(0, 410, 250, 41, "images/webdesign/cfo-pro.com.gif", "images/webdesign/cfo-pro.com_act.gif", "CFO-PRO", 'PARENT__javascript:openwindow("show.htm?cfo-pro.com,1,5", 830, 600);');
with(menuItem11){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?cfo-pro.com,1,5", 830, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?cfo-pro.com,2,5", 830, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?cfo-pro.com,3,5", 830, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?cfo-pro.com,4,5", 830, 600);');
	menu.addItem(250, 77, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?cfo-pro.com,5,5", 830, 600);');
}

var menuItem12 = AllFlashMenuObj.addItem(0, 451, 250, 41, "images/webdesign/minedepot.com.gif", "images/webdesign/minedepot.com_act.gif", "MINEDEPOT", 'PARENT__javascript:openwindow("show.htm?minedepot.com,1,5", 800, 600);');
with(menuItem12){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?minedepot.com,1,5", 800, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?minedepot.com,2,5", 800, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?minedepot.com,3,5", 800, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?minedepot.com,4,5", 800, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?minedepot.com,5,5", 800, 600);');
}

var menuItem13 = AllFlashMenuObj.addItem(0, 492, 250, 41, "images/webdesign/lascomm.com.gif", "images/webdesign/lascomm.com_act.gif", "LASCOMM", 'PARENT__javascript:openwindow("show.htm?lascomm.com,1,5", 820, 600);');
with(menuItem13){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?lascomm.com,1,5", 820, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?lascomm.com,2,5", 820, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?lascomm.com,3,5", 820, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?lascomm.com,4,5", 820, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?lascomm.com,5,5", 820, 600);');
}

var menuItem14 = AllFlashMenuObj.addItem(0, 533, 250, 41, "images/webdesign/spectrumsettlements.com.gif", "images/webdesign/spectrumsettlements.com_act.gif", "SPECTRUM CAPITAL", 'PARENT__javascript:openwindow("show.htm?spectrumsettlements.com,1,5", 730, 600);');
with(menuItem14){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?spectrumsettlements.com,1,5", 730, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?spectrumsettlements.com,2,5", 730, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?spectrumsettlements.com,3,5", 730, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?spectrumsettlements.com,4,5", 730, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?spectrumsettlements.com,5,5", 730, 600);');
}

var menuItem15 = AllFlashMenuObj.addItem(0, 574, 250, 41, "images/webdesign/allflashdesign.com.gif", "images/webdesign/allflashdesign.com_act.gif", "ALL FLASH DESIGN", 'PARENT__javascript:openwindow("show.htm?allflashdesign.com,1,5", 660, 600);');
with(menuItem15){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?allflashdesign.com,1,5", 660, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?allflashdesign.com,2,5", 660, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?allflashdesign.com,3,5", 660, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?allflashdesign.com,4,5", 660, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?allflashdesign.com,5,5", 660, 600);');
}

var menuItem17 = AllFlashMenuObj.addItem(0, 615, 250, 41, "images/webdesign/qcmaxrecorders.com.gif", "images/webdesign/qcmaxrecorders.com_act.gif", "QCMAX RECORDERS", 'PARENT__javascript:openwindow("show.htm?qcmaxrecorders.com,1,5", 680, 600);');
with(menuItem17){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?qcmaxrecorders.com,1,5", 680, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?qcmaxrecorders.com,2,5", 680, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?qcmaxrecorders.com,3,5", 680, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?qcmaxrecorders.com,4,5", 680, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?qcmaxrecorders.com,5,5", 680, 600);');
}

var menuItem18 = AllFlashMenuObj.addItem(0, 656, 250, 41, "images/webdesign/job-e-job.com.gif", "images/webdesign/job-e-job.com_act.gif", "JOB-E-JOB", 'PARENT__javascript:openwindow("show.htm?job-e-job.com,1,5", 800, 600);');
with(menuItem18){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?job-e-job.com,1,5", 800, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?job-e-job.com,2,5", 800, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?job-e-job.com,3,5", 800, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?job-e-job.com,4,5", 800, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?job-e-job.com,5,5", 800, 600);');
}

var menuItem19 = AllFlashMenuObj.addItem(0, 697, 250, 41, "images/webdesign/idioma-software.com.gif", "images/webdesign/idioma-software.com_act.gif", "IDIOMA SOFTWARE", 'PARENT__javascript:openwindow("show.htm?idioma-software.com,1,5", 800, 530);');
with(menuItem19){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?idioma-software.com,1,5", 800, 530);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?idioma-software.com,2,5", 800, 530);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?idioma-software.com,3,5", 800, 530);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?idioma-software.com,4,5", 800, 530);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?idioma-software.com,5,5", 800, 530);');
}

var menuItem20 = AllFlashMenuObj.addItem(0, 738, 250, 41, "images/webdesign/agesoftware.com.gif", "images/webdesign/agesoftware.com_act.gif", "AGE SOFTWARE", 'PARENT__javascript:openwindow("show.htm?agesoftware.com,1,5", 720, 600);');
with(menuItem20){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?agesoftware.com,1,5", 720, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?agesoftware.com,2,5", 720, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?agesoftware.com,3,5", 720, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?agesoftware.com,4,5", 720, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?agesoftware.com,5,5", 720, 600);');
}

var menuItem21 = AllFlashMenuObj.addItem(0, 779, 250, 41, "images/webdesign/danr.org.gif", "images/webdesign/danr.org_act.gif", "DOMINICAN ROUNDTABLE", 'PARENT__javascript:openwindow("show.htm?danr.org,1,5", 610, 600);');
with(menuItem21){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?danr.org,1,5", 610, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?danr.org,2,5", 610, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?danr.org,3,5", 610, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?danr.org,4,5", 610, 600);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?danr.org,5,5", 610, 600);');
}

var menuItem22 = AllFlashMenuObj.addItem(0, 820, 250, 41, "images/webdesign/mortgagequote.gif", "images/webdesign/mortgagequote_act.gif", "TOP MORTGAGE QUOTE", 'PARENT__javascript:openwindow("show.htm?mortgagequote,1,5", 745, 430);');
with(menuItem22){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?mortgagequote,1,5", 745, 430);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?mortgagequote,2,5", 745, 430);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?mortgagequote,3,5", 745, 430);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?mortgagequote,4,5", 745, 430);');
	menu.addItem(250, 59, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?mortgagequote,5,5", 745, 430);');
}

var menuItem23 = AllFlashMenuObj.addItem(0, 861, 250, 41, "images/webdesign/westendorfproduce.gif", "images/webdesign/westendorfproduce_act.gif", "WESTERNDORF PRODUCE", 'PARENT__javascript:openwindow("show.htm?westendorfproduce,1,3", 756, 600);');
with(menuItem23){
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?westendorfproduce,1,3", 756, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?westendorfproduce,2,3", 756, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?westendorfproduce,3,3", 756, 600);');
}

var menuItem24 = AllFlashMenuObj.addItem(0, 902, 250, 41, "images/webdesign/citrus.gif", "images/webdesign/citrus_act.gif", "TRI CITRUS", 'PARENT__javascript:openwindow("show.htm?citrus,1,4", 755, 600);');
with(menuItem24){
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?citrus,1,4", 755, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?citrus,2,4", 755, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?citrus,3,4", 755, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?citrus,4,4", 755, 600);');
}

var menuItem25 = AllFlashMenuObj.addItem(0, 943, 250, 41, "images/webdesign/icagolight.gif", "images/webdesign/icagolight_act.gif", "WATCH OUT.COM", 'PARENT__javascript:openwindow("show.htm?icagolight,1,5", 610, 600);');
with(menuItem25){
	menu.addItem(250, -31, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?icagolight,1,5", 610, 600);');
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?icagolight,2,5", 610, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?icagolight,3,5", 610, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?icagolight,4,5", 610, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?icagolight,5,5", 610, 600);');
}

var menuItem26 = AllFlashMenuObj.addItem(0, 984, 250, 41, "images/webdesign/flashsites1.gif", "images/webdesign/flashsites1_act.gif", "FLASH SITES", 'PARENT__javascript:openwindow("show.htm?flashsites1,1,5", 800, 600);');
with(menuItem26){
	menu.addItem(250, -31, 200, 18, "", "", "Screen Shot No. 1", 'javascript:openwindow("show.htm?flashsites1,1,5", 800, 600);');
	menu.addItem(250, -13, 200, 18, "", "", "Screen Shot No. 2", 'javascript:openwindow("show.htm?flashsites1,2,5", 800, 600);');
	menu.addItem(250, 5, 200, 18, "", "", "Screen Shot No. 3", 'javascript:openwindow("show.htm?flashsites1,3,5", 800, 600);');
	menu.addItem(250, 23, 200, 18, "", "", "Screen Shot No. 4", 'javascript:openwindow("show.htm?flashsites1,4,5", 800, 600);');
	menu.addItem(250, 41, 200, 18, "", "", "Screen Shot No. 5", 'javascript:openwindow("show.htm?flashsites1,5,5", 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/webdesign/top_design.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/webdesign/bottom.gif' BORDER='0' ALT=''>");
AllFlashBottomImage.moveTo(x, y + 1084);
AllFlashBottomImage.show();

