var key="165b1656esid"
var isHorizontal=0;

var pressedItem=-2;

var iconTopWidth  = 10;
var iconTopHeight = 10;
var subMenuAlign = "left";
var moveImage  = "img/movepic4.gif";
var moveWidth      = 12;
var moveHeight      = 18;

var blankImage="img/blank.gif";
var fontStyle="bold 9pt Arial";
var fontColor=["#ffffff","#000000"];
var fontDecoration=["none","none"];

var itemBackColor=["#003366","#ffffff"];
var itemBorderWidth=1;
var itemAlign="left";
var itemBorderColor=["#003366","#ffffff"];
var itemBorderStyle=["solid","solid"];
var itemBackImage=["",""];

var menuBackImage="";
var menuBackColor="#003366";
var menuBorderColor="#000000";
var menuBorderStyle="solid";
var menuBorderWidth=0;
var transparency=100;
var transition=24;
var transDuration=300;
var shadowColor="#ffffff";
var shadowLen=0;
var menuWidth="";  // NEW (NN% or NNpx. Default - 0px)

var statusString="text";
var iconWidth=10;
var iconHeight=10;
var arrowImageMain=["/apymenu/img/arrow_r.gif","/apymenu/img/arrow_r.gif"];
var arrowImageSub=["/apymenu/img/arrow_r.gif","/apymenu/img/arrow_r.gif"]; // NEW
var arrowWidth=7;
var arrowHeight=7;
var itemSpacing=1;
var itemPadding=3;

var separatorImage="img/separ1.gif";
var separatorWidth="100%";
var separatorHeight="5";
var separatorAlignment="center";

var separatorVImage="img/separv1.gif";
var separatorVWidth="5";
var separatorVHeight="16";

var movable=0;
var absolutePos=0;
var posX=50;
var posY=162;

var itemCursor = "hand";
var itemTarget = "_self";
var moveCursor = "move";

var floatable=1;
var floatIterations=4;

var strCurrentPageIcon = "/apymenu/img/redball.gif";
var strNormalPageIcon = "/apymenu/img/blueball.gif";
var strMouseOverIcon = "/apymenu/img/whiteball.gif";
var menuItems = new Array();
menuItems[0] = ["Room Design<br>Layouts-Typicals","","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[1] = ["|General","/architects/room_design_layouts/general.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[2] = ["|Ortho","/architects/room_design_layouts/ortho.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[3] = ["|Neuro","/architects/room_design_layouts/neuro.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[4] = ["|Cardiovascular","/architects/room_design_layouts/cardio.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[5] = ["Cad Blocks-<br>2D/3D","","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[6] = ["|OPERON","/architects/cad_blocks/operon.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[7] = ["|TELETOM","/architects/cad_blocks/teletom.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[8] = ["|CHROMOPHARE","/architects/cad_blocks/chromophare.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[9] = ["|CHROMOVIEW","/architects/cad_blocks/chromoview.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[10] = ["Pre-Installation<br>Guides","","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[11] = ["|TELETOM","/architects/preinstall_guides/teletom.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[12] = ["|CHROMOPHARE","/architects/preinstall_guides/chromophare.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[13] = ["Data &amp; Spec<br>Sheets","","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[14] = ["|TELETOM","/architects/data_spec_sheets/teletom.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[15] = ["|CHROMOPHARE","/architects/data_spec_sheets/chromophare.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
//menuItems[16] = ["|CHROMOVISION","/architects/data_spec_sheets/chromovision.htm","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
//menuItems[17] = ["|SK Box","/architects/data_spec_sheets/sk_box.htm","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
//menuItems[18] = ["|Televac","/architects/data_spec_sheets/televac.htm","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[16] = ["Contractor Cut<br>Sheets","","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[17] = ["|TELETOM","/architects/cut_sheets/teletom.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[18] = ["|CHROMOPHARE","/architects/cut_sheets/chromophare.php","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];
menuItems[19] = ["3D Interactive Site","/architects/3d_interactive/index.htm","/apymenu/img/blueball.gif","/apymenu/img/whiteball.gif",];


switch (strPageName) //Set the icon of the current page being viewed to strCurrentPageIcon
//The value found in strPageName must be located in the HTML page calling the .js file before the file is called.  
{
	case "roomdesign-general":
		menuItems[0][2] = strCurrentPageIcon;
		menuItems[1][2] = strCurrentPageIcon;
		break;
	case "roomdesign-ortho":
		menuItems[0][2] = strCurrentPageIcon;
		menuItems[2][2] = strCurrentPageIcon;
		break;
	case "roomdesign-neuro":
		menuItems[0][2] = strCurrentPageIcon;
		menuItems[3][2] = strCurrentPageIcon;
		break;
	case "roomdesign-cardio":
		menuItems[0][2] = strCurrentPageIcon;
		menuItems[4][2] = strCurrentPageIcon;
		break;
	case "cad_blocks-operon":
		menuItems[5][2] = strCurrentPageIcon;
		menuItems[6][2] = strCurrentPageIcon;
		break;
	case "cad_blocks-teletom":
		menuItems[5][2] = strCurrentPageIcon;
		menuItems[7][2] = strCurrentPageIcon;
		break;
	case "cad_blocks-chromophare":
		menuItems[5][2] = strCurrentPageIcon;
		menuItems[8][2] = strCurrentPageIcon;
		break;
	case "cad_blocks-chromoview":
		menuItems[5][2] = strCurrentPageIcon;
		menuItems[9][2] = strCurrentPageIcon;
		break;
	case "preinstallguides-teletom":
		menuItems[10][2] = strCurrentPageIcon;
		menuItems[11][2] = strCurrentPageIcon;
		break;
	case "preinstallguides-chromophare":
		menuItems[10][2] = strCurrentPageIcon;
		menuItems[12][2] = strCurrentPageIcon;
		break;
	case "data_spec_sheets-teletom":
		menuItems[13][2] = strCurrentPageIcon;
		menuItems[14][2] = strCurrentPageIcon;
		break;
	case "data_spec_sheets-chromophare":
		menuItems[13][2] = strCurrentPageIcon;
		menuItems[15][2] = strCurrentPageIcon;
		break;
	/*case "data_spec_sheets-chromovision":
		menuItems[13][2] = strCurrentPageIcon;
		menuItems[16][2] = strCurrentPageIcon;
		break;
	case "data_spec_sheets-sk_box":
		menuItems[13][2] = strCurrentPageIcon;
		menuItems[17][2] = strCurrentPageIcon;
		break;
	case "data_spec_sheets-televac":
		menuItems[13][2] = strCurrentPageIcon;
		menuItems[18][2] = strCurrentPageIcon;
		break;*/
	case "contractor_cut_sheets-teletom":
		menuItems[16][2] = strCurrentPageIcon;
		menuItems[17][2] = strCurrentPageIcon;
		break;
	case "contractor_cut_sheets-chromophare":
		menuItems[16][2] = strCurrentPageIcon;
		menuItems[18][2] = strCurrentPageIcon;
		break;
	case "3d_interactive":		
		menuItems[19][2] = strCurrentPageIcon;
		break;	
}

apy_init();

