//Loader.js

// 4.0.12 



DOM = (document.getElementById) ? true : false;

NS4 = (document.layers) ? true : false;

IE = (document.all) ? true : false;

IE4 = IE && !DOM;

Mac = (navigator.appVersion.indexOf("Mac") != -1);

IE4M = IE4 && Mac;

IsMenu = (DOM || NS4 || (IE4 && !IE4M));



BrowserString = NS4 ? "NS4" : DOM ? "DOM" : "IE4";



if(window.event + "" == "undefined") event = null;

function f_PopUp(){return false};

function f_PopDown(){return false};

popUp = f_PopUp;

popDown = f_PopDown;





GL_MenuWidth          = 150;

GL_FontFamily         = "Arial,sans-serif";

GL_FontSize           = 10;

GL_FontBold           = true;

GL_FontItalic         = false;

GL_FontColor          = "black";

GL_FontColorOver      = "white";

GL_BGColor            = "transparent";

GL_BGColorOver        = "transparent";

GL_ItemPadding        = 3;



GL_BorderWidth        = 2;

GL_BorderColor        = "red";

GL_BorderStyle        = "solid";

GL_SeparatorSize      = 2;

GL_SeparatorColor     = "yellow";

GL_ImageSrc           = "tri.gif";

GL_ImageSrcLeft       = "triL.gif";

GL_ImageSize          = 5;

GL_ImageHorizSpace    = 5;

GL_ImageVertSpace     = 5;



GL_KeepHilite         = false;

GL_ClickStart         = false;

GL_ClickKill          = 0;

GL_ChildOverlap       = 40;

GL_ChildOffset        = 10;

GL_ChildPerCentOver   = null;

GL_TopSecondsVisible  = .9;

GL_ChildSecondsVisible = .3;

GL_StatusDisplayBuild = 0;

GL_StatusDisplayLink  = 1;

GL_UponDisplay        = null;

GL_UponHide           = null;



//GL_RightToLeft      = true;

GL_CreateTopOnly      = NS4 ? true : false;

GL_ShowLinkCursor     = true;



// the following function is included to illustrate the improved JS expression handling of

// the left_position and top_position parameters

// you may delete if you have no use for it



function f_CenterMenu(topmenuid) {

	var MinimumPixelLeft = 0;

	var TheMenu = DOM ? document.getElementById(topmenuid) : IE4 ? document.all(topmenuid) : eval("window." + topmenuid);

	var TheMenuWidth = DOM ? parseInt(TheMenu.style.width) : IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;

	var TheWindowWidth = IE ? document.body.clientWidth : window.innerWidth;

	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);

}



if(IsMenu) {

	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/journals/doc/AIPAOD-home/Arrays_ArticlePacks.js' TYPE='text/javascript'><\/SCR" + "IPT>");

	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='/journals/doc/AIPAOD-home/Script"+ BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");

}





//end
