if(document.getElementById){
	document.writeln('<style type="text/css" media="all">');
	document.writeln('<!--');
	document.writeln('.sidehide{display:none;}');
	document.writeln('-->');
	document.writeln('</style>');
}

function showHide(id){
	var disp = document.getElementById(id).style.display;

	if(disp == "block"){
		document.getElementById(id).style.display = "none";
	}else{
		document.getElementById(id).style.display = "block";
	}
	return false;
}

function NewWin(url, x, y){
    var windowFeatures = "width=" + x + ",height=" + y + ",top=0,left=0";
    window.open(url, "", windowFeatures);
    return false;
    }

function SubWin(url,x,y,na){
    var windowFeatures = "width=" + x + ",height=" + y + ",top=0,left=0";
    subwin=window.open("", "subwin", windowFeatures);
    subwin.document.open(); 
	subwin.document.writeln("<html><head>");
	subwin.document.writeln("<title>" + na + "</title>");
	subwin.document.writeln("</head><body style='margin:0;padding:0;'>");
	subwin.document.writeln("<img src='" + url + "' alt='" + na + "'>");
	subwin.document.writeln("</body></html>");
	subwin.document.close();
	return false; 
	}