//*****************************************************************************
// Filename: openUP.js
// Description: This javascript function will open whatever url is passed in to
// it in a new pop-up window.
//

function openUP(path){
	var n=new Date();
	
	var subwindow = window.open(path, "newWin"+n.getTime() , "resizable=yes,scrollbars=yes,toolbar=yes,location=yes,status=yes,width=760,height=600", true)
	
	if (subwindow.opener == null) {
		subwindow.opener = self
	}
}
function openup(path){
	var n=new Date();
	
	var subwindow = window.open(path, "newWin"+n.getTime() , "resizable=yes,scrollbars=yes,toolbar=yes,location=yes,status=yes,width=760,height=600", true)
	
	if (subwindow.opener == null) {
		subwindow.opener = self
	}
}

function openwide(path){
	var n=new Date();
	
	var subwindow = window.open(path, "newWin"+n.getTime() , "resizable=yes,scrollbars=yes,toolbar=yes,location=yes,status=yes,width=980,height=670", true)
	
	if (subwindow.opener == null) {
		subwindow.opener = self
	}
}

//*******************************************************************************
// Function Name: toggle
// Description: This javascript function shows/hides FAQs on click
//
function toggle (r)
//used by faqs
{
    var row = document.getElementById(r);

    if (row.style.display == '') {
	    row.style.display = 'none';
	}
    else {
	    row.style.display = '';
	}
}