// JavaScript Document
function InsertContent(tid, question) 
{
    if(document.getElementById(tid).style.display == "none") 
    {
        document.getElementById(tid).style.display = "";
	    document.getElementById(tid).style.display = "";
    }

    else 
    {
	    document.getElementById(tid).style.display = "none";
	    document.getElementById(question).className = "question";		
	}
}

function InsertContentFeat(tid, question) {
if(document.getElementById(tid).style.display == "none") {
	document.getElementById(tid).style.display = "";
	document.getElementById(question).className = "questionFeat_on";	
	}
else {
	document.getElementById(tid).style.display = "none";
	document.getElementById(question).className = "questionFeat";		
	}
}

function popwindow(url, name, attributes) {
		newwindow=window.open(url,name,attributes);
		if (window.focus) 
		{
		    newwindow.focus();
		}
		
		return newwindow;
	}
