// JavaScript Document

function make(i)
{
	obj=document.getElementById(i);
	if (obj.style.display=="none") {obj.style.display="block"} else {obj.style.display="none"}

}

function Querystring(qs) {  //parser string for left menu
	this.params = {};

	if (qs == null) qs = location.search.substring(1, location.search.length);
	if (qs.length == 0) return;

	qs = qs.replace(/\+/g, ' ');
	var args = qs.split('&');


	for (var i = 0; i < args.length; i++) {
		var pair = args[i].split('=');
		var name = decodeURIComponent(pair[0]);

		var value = (pair.length==2)
			? decodeURIComponent(pair[1])
			: name;

        alert (value);
		this.params[name] = value;
	}
}