function get(name) {

	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");

	var regexS = "[\\?&]"+name+"=([^&#]*)";

	var regex = new RegExp( regexS );

	var results = regex.exec( window.location.href );

	if	( results == null ) return "";

	else	return results[1];

}



var DivInfo = null;

function ssToggleDiv(DivId) {

	if	( DivInfo != null ) { DivInfo.style.display = "none"; }

	DivInfo = document.getElementById(DivId);

	DivInfo.style.display = "";

}



var MenuInfo = null;

function ssToggleMenu(DivId, type) {

	if	( MenuInfo != null ) {

		MenuInfo.style.display = "none";

		Menu.style.backgroundPosition = "0px -22px";

		Menu.style.fontWeight = "normal";

	}

	MenuInfo = document.getElementById(DivId);

	MenuInfo.style.display = "";

	Menu = document.getElementById("Menu-" + DivId);

	if 	( type == "menu" ) { Menu.style.backgroundPosition = "0px -44px"; }

	else	{ Menu.style.backgroundPosition = "0px 0px"; }

	Menu.style.fontWeight = "bold";

}



var TabInfo = null;

function ssToggleTab(DivId) {

	if	( TabInfo != null ) {

		TabInfo.style.display = "none";

		Tab.style.backgroundPosition = "0px -41px";

	}

	TabInfo = document.getElementById(DivId);

	TabInfo.style.display = "";

	Tab = document.getElementById("Tab-" + DivId);

	Tab.style.backgroundPosition = "0px 0px";

}



var Tab2Info = null;

function ssToggleTab2(DivId) {

	if	( Tab2Info != null ) {

		Tab2Info.style.display = "none";

		Tab.style.backgroundPosition = "0px -123px";

	}

	Tab2Info = document.getElementById(DivId);

	Tab2Info.style.display = "";

	Tab = document.getElementById("Tab-" + DivId);

	Tab.style.backgroundPosition = "0px -82px";

}
