if(pdGlobal.currentPages[pdGlobal.currentPageLevel-1].type=="content" && pdGlobal.currentPages[0].id!=114755){ document.write("<style>#lInTblLCell {display:none;}</style>"); }
var	MenuArray = new Array(
		{pageid:114751,hoffset:-52,voffset:0,animate:"true"},
		{pageid:114752,hoffset:-36,voffset:0,animate:"true"},
		{pageid:114753,hoffset:-40,voffset:0,animate:"true"},
		{pageid:114754,hoffset:-26,voffset:0,animate:"true"},
		{pageid:114755,hoffset:-30,voffset:0,animate:"true"}
	);

$(document).ready(
	function(){
		$("body")
			.bulletin({
				gid:EMID,
				sid:JavaScriptSchoolID
			});

		$(window).load(function(){ initMenu("nav","down",MenuArray,pdGlobal.currentPages[0].id); make_pdL("nav"); });
	}
);

function make_pdL(ulID){
	if(pdGlobal){
		$("#"+ulID+" li a").each(
			function(){
				var pageID = $(this).attr("href").split("=")[1];
				if(pageID.indexOf("&")>-1){ pageID = pageID.split("&")[0]; }
				$(this).attr("href",(pdGlobal.userLoggedIn && !$(this).hasClass("noPDL"))?"javascript:__pdL('"+pageID+"','"+fixJSnoBreak($(this).text())+"', '2', '', 'pbContent', 'True', '0', '', 'default.aspx')":$(this).attr("href"));
			}
		);
		$("a.subMenuItemsdown", $("#"+ulID).parent()).each(
			function(){
				$(this).attr("href",(pdGlobal.userLoggedIn && !$(this).hasClass("noPDL"))?"javascript:__pdL('"+$(this).attr("href").split("=")[1]+"','"+fixJSnoBreak($(this).text())+"', '2', '', 'pbContent', 'True', '0', '', 'default.aspx')":$(this).attr("href"));
			}
		);
	}
}

function fixJSnoBreak(text){
	text = text.replace(/'/g,"&34;");
	text = text.replace(/"/g,"&39;");
	return text
}
