﻿function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=800,height=400,left = 112,top = 84');");
}
//keywords
var code="code";var url="url";var sub="sub";
//styles
var defcolor = {"border":"000000", "shadow":"black", "bgON":"","bgOVER":"", "imagebg":"", "oimagebg":""};
var defcss = {"ON":"clsCMTopOn", "OVER":"clsCMTopOver"};
var TOP_LEFT = {"border":0, "borders":[1,1,0,1], "shadow":0, "color":defcolor, "css":defcss};
var TOP_MIDDLE = {"border":0, "borders":[1,1,0,1], "shadow":0, "color":defcolor, "css":defcss};
var TOP_RIGHT = {"border":0, "borders":[1,1,1,1],"shadow":0, "color":defcolor, "css":defcss};
var STYLE1 = {"border":1, "borders":[1,1,1,1], "shadow":0, "color":defcolor, "css":defcss};
var STYLE_TOP = {"border":1, "shadow":0, "color":{"border":"Black", "shadow":"", "bgON":"#253873","bgOVER":"#FF3301", "imagebg":"", "oimagebg":""}, "css":{"ON":"clsCMVOn", "OVER":"clsCMVOver"}};
var STYLE_BOTT = {"border":1, "shadow":0, "color":{"border":"Black", "shadow":"", "bgON":"#253873","bgOVER":"#FF3301", "imagebg":"", "oimagebg":""}, "css":{"ON":"clsCMVOn", "OVER":"clsCMVOver"}};
var MENU_ITEMS = [
	{"pos":"relative", "itemoff":[0,0], "imgsize":[18,27], "leveloff":[0,0], "delay":400, "image":"img/blank.gif", "imgsize":[15,24], "arrow":"img/arrow.gif", "arrsize":[13,13], "style":TOP_MIDDLE},
	{code:"home", url:"/library/", "format":{"size":[16,34], "itemoff":[0,0], "arrow":null, "image":null, "style":TOP_RIGHT},
		sub:[]
			},
	{code:"library users", url:"/library/users/", "format":{"size":[16,75], "itemoff":[0,50], "arrow":null, "image":null, "style":TOP_RIGHT},
		sub:[{"size":[17,130], "itemoff":[16,0], "leveloff":[23,-2], "style":STYLE1},
			{code:"&nbsp;All Library Users", url:"/library/alllibraryusers/", "format":{"style":STYLE_TOP}},
			{code:"&nbsp;Faculty Users", url:"/library/facultyusers/", "format":{"style":STYLE_TOP}},
			{code:"&nbsp;Distance Ed Users", url:"/library/distanceedusers/", "format":{"style":STYLE_TOP}},			
			]
	},
	{code:"resources", url:"/library/resources/", "format":{"size":[16,55], "itemoff":[0,95], "arrow":null, "image":null, "style":TOP_RIGHT},
		sub:[{"size":[17,190], "itemoff":[16,0], "leveloff":[23,-4], "style":STYLE1},
			{code:"&nbsp;WCC Single Search", url:"/library/singlesearch/", "format":{"style":STYLE_TOP}},
			{code:"&nbsp;Online Public Access Catalog (OPAC)", url:"/library/opac/", "format":{"style":STYLE_TOP}},
			{code:"&nbsp;Interlibrary Loan (ILL)", url:"/library/ill/", "format":{"style":STYLE_TOP}},
			]
	},
	{code:"wcc historical archives", url:"/library/historicalarchives/", "format":{"size":[16,130], "itemoff":[0,80], "arrow":null, "image":null},
		sub:[]
	},
	{code:"contacts", url:"/library/contacts/", "format":{"size":[16,50], "itemoff":[0,150], "arrow":null, "image":null},
		sub:[]
	},
	{code:"blog", url:"http://www.wayneccfaculty.com/library/", "format":{"size":[16,50], "itemoff":[0,75], "arrow":null, "image":null},
		sub:[]
	},
	{code:"wcc home", url:"http://www.waynecc.edu", "format":{"size":[16,65], "itemoff":[0,50], "arrow":null, "image":null, "style":TOP_RIGHT},
		sub:[]
	}
];

