<!--

// ******************************
// LAUNCH WINDOW FUNCTIONS
// ******************************

// launchRemote function launches a new window with specific attributes. launch function supports.
function launch(newURL, newName, newFeatures) {
	var remote = open(newURL, newName, newFeatures);
	if (remote.opener == null)
		remote.opener = window;
	return remote;
}

function launchRemote(pageName, uniqueName, winHeight, winWidth) {
	myRemote = launch(pageName, uniqueName, "height=" + winHeight + ",width=" + winWidth +",screenX=100,left=100,screenY=100,top=100,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0");
}

// ******************************
// LINK FUNCTIONS
// ******************************

// selectSite function opens the site with specific attributes.

function selectSite(sURL)
{
        if (sURL != "") {
                // first param is the URL, second param is the frame name
                open(sURL,"_self");
                
                // parent.archive.location = sURL
        }
}



// ******************************
// CONFIRM FUNCTIONS
// ******************************

// ConfirmDelete function adds confirmation box to any deletions
function ConfirmDelete(url) {
	if (confirm('Are you sure you want to delete this item?')) {
		document.location = url;
	}		
}

// ConfirmRemove function adds confirmation box to any deletions
function ConfirmRemove(url) {
	if (confirm('Are you sure you want to remove this item?')) {
		document.location = url;
	}		
}

	
// -->