

function toggleCollapsable(linkId, contentId) {
	
	if (document.getElementById(contentId).style.display == "none") {
		
		for (var i = 2; i < arguments.length; i+=2) {	
			document.getElementById(arguments[i]).innerHTML = collapsableShowText ;
			document.getElementById(arguments[i]).className = 'shfaq'; 
			document.getElementById(arguments[i+1]).style.display = "none";
		}

		document.getElementById(linkId).innerHTML = collapsableHideText ;
		document.getElementById(linkId).className = 'fsheh'; 
		document.getElementById(contentId).style.display = "";
	} else {


		document.getElementById(linkId).innerHTML = collapsableShowText;
		document.getElementById(linkId).className = 'shfaq'; 
		document.getElementById(contentId).style.display = "none";
	}
}

var newwindow;
function poptastic(url)
{
	newwindow=window.open(url,'name','height=400,width=600,resizable=yes,scrollbars=yes');
	if (window.focus) {newwindow.focus()}
}

var newwindow2;
function poptastic2(url)
{
	newwindow2=window.open(url,'name','height=360,width=620,resizable=no,scrollbars=no');
	if (window.focus) {newwindow.focus()}
}