/*  javascript for resume and portfolio  */
//script for popping open a window, naming the original and naming the new one

function launch(newURL, newName, newFeatures, orgName) 
	{
	var remote = open(newURL, newName, newFeatures);
	if (remote.opener == null)
	remote.opener = window;
	remote.opener.name = orgName;
	return remote;
	}

function launchRemote(newURL, addFeatures) 
	{
	var baseFeatures = "alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0,";
	var newFeatures = baseFeatures + addFeatures;
	myRemote = launch(newURL, "myRemote", newFeatures, "myWindow");
	}


