try {
var oboutSMosm1 = new SlideMenu("osm1", null, 20, false, "SMRoot","SMRootOver","SMRootSelected", "SMParent","SMParentOver","SMParentSelected","SMChild","SMChildOver","SMChildSelected","SMMenu","SMChildrenBox", null, null, null, null, null, null, null, null, -1, 0);
}
catch(e) {
	if (confirm("File \"/slidemenu/smscript/SlideMenu.js\" cannot be found.\n\nSelect OK to go to\nhttp://www.obout.com/sm3/scriptpath.aspx\nfor more details.\n\n\nOr contact support at support@obout.com")) {
		window.location = "http://www.obout.com/sm3/scriptpath.aspx";
	}
}
f_osm1();
function f_osm1() {
t =null;
	var i, j, o, oc, ob;o = document.getElementById("osm1");
	for(i = 0; i < o.childNodes.length; i++) {
		oc = o.childNodes[i];
		isMenuRoot = false;
		if (oc.tagName){
		
		
		if(oc.id.substring(oc.id.length-6, oc.id.length) == "__root") {
		isMenuRoot = true;
		}
		}
		
		
		if(!isMenuRoot) {
			if (oc.style){
				par = null;
				par = document.getElementById(oc.id+"__root");
				if (par != null){
					oc.onmouseover = function() {
						oboutSMosm1.ae(this.id, 7, true);
					};
					oc.onmouseout = function() {
						oboutSMosm1.ae(this.id, 6, true);
					};
					if(oc.onclick) {
						var e = arguments[0] || event
						oboutSMosm1.hi(oc.onclick, oc.id);
						oc.onclick = function() {
							
						oboutSMosm1.clearCookie()
							oboutSMosm1.setCookie("SlideMenu_autoreveal",this.id+","+oboutSMosm1.getEventUrl(e))
							oboutSMosm1.af(this.id);
							oboutSMosm1.hj(this.id)();
						};
					}else oc.onclick = function() {
						var e = arguments[0] || event
					oboutSMosm1.clearCookie()
					oboutSMosm1.setCookie("SlideMenu_autoreveal",this.id+","+oboutSMosm1.getEventUrl(e))
					
						oboutSMosm1.af(this.id);
					};
					t = oc
				}else{
				oc.onmouseover = function() {
					
						oboutSMosm1.ae(this.id, 1, true);
					};
					oc.onmouseout = function() {
						oboutSMosm1.ae(this.id, 0, true);
					};
					if(oc.onclick) {
						var e = arguments[0] || event
						oboutSMosm1.hi(oc.onclick, oc.id);
						oc.onclick = function() {
							
						oboutSMosm1.clearCookie()
						//oboutSMosm1.setCookie("SlideMenu_autoreveal",this.id+","+oboutSMosm1.getEventUrl(e))
							oboutSMosm1.af(this.id);
							oboutSMosm1.hj(this.id)();
						};
					}else oc.onclick = function() {
						var e = arguments[0] || event
					
					oboutSMosm1.clearCookie()
					
					//oboutSMosm1.setCookie("SlideMenu_autoreveal",this.id+","+oboutSMosm1.getEventUrl(e))
						oboutSMosm1.af(this.id);
					};
				}
			}
		}
			else {
			
			for(j = 0; j < oc.childNodes.length; j++) {
			
				ob = oc.childNodes[j];
				ob.onmouseover = function() {
				
					oboutSMosm1.ae(this.id, 4, true);
				};
				ob.onmouseout = function() {
					oboutSMosm1.ae(this.id, 3, true);
				};
				}
			}
		}
}
oboutSMosm1.aa();
oboutSMosm1.dv(function() {oboutSMosm1.ab()}, oboutSMosm1);
oboutSMosm1.defaultCookiePath = "/"
//alert("dasd")
//alert(t.id)

if (document.URL.indexOf("proj_past.html") > -1 || document.URL.indexOf("proj_present.html") > -1|| document.URL.indexOf("proj_future.html") > -1){

oboutSMosm1.clearCookie()
}

oboutSMosm1.parseUri.options.strictMode = true;
//alert(oboutSMosm1.getCookie("SlideMenu_autoreveal").split(",")[0])
	var uriitems = oboutSMosm1.parseUri(oboutSMosm1.getCookie("SlideMenu_autoreveal").split(",")[1]);
	//if (){
	//alert(uriitems.source)	
var autoreveal = oboutSMosm1.getCookie("SlideMenu_autoreveal").split(",")[0]
	//}
//alert(autoreveal)
if(autoreveal!=""){
oboutSMosm1.af(autoreveal);
}


