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 launchlayered(content) { 
	myRemote = launch(content, "newWindow", "height=600,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=yes,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
//function launchlayered(content) { 
//	myRemote = launch(content, "kioskWindow", "menubar=no,resizable=no,scrollbars=no,status=0,toolbar=no", "window.frames.profile"); 
//	myRemote.focus();
//}
//function launchlayered(content) { 
//	if(navigator.javaEnabled()==true)
//{ w=java.awt.Toolkit.getDefaultToolkit().getScreenSize().width=java.awt.Toolkit.getDefaultToolkit().getScreenSize().height}
//else {w=629; h=469}
//properies="width="+w+",height="+h;
//	myRemote = launch(content, "testWindow", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no --kiosk", "window.frames.profile"); 
//	myRemote.focus();
//}

function launchRemote(content) { 
	myRemote = launch(content, "newWindow", "height=320,width=420,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=auto,status=0,toolbar=0,left=175,top=240", "window.frames.profile"); 
	myRemote.focus();
}
function newWindow(file,window) {
    msgWindow=open(file,window,'height=600,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=0,status=0,toolbar=0');
    if (msgWindow.opener == null) msgWindow.opener = self;
}
function kioskWindow(file,window) {
    msgWindow=open(file,window,'menubar=no,resizable=no,scrollbars=no,status=0,toolbar=no');
    if (msgWindow.opener == null) msgWindow.opener = self;
}
function viewChecksWindow(file,window) {
    msgWindow=open(file,window,'height=600,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0');
    if (msgWindow.opener == null) msgWindow.opener = self;
}
function viewCheckWindow(file,window) {
    msgWindow=open(file,window,'height=400,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0');
    if (msgWindow.opener == null) msgWindow.opener = self;
}
function emailWindow(content) {
	myRemote = launch(content, "emailWindow", "height=725,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function calendarEntryWindow(content) {
	myRemote = launch(content, "calendarEntryWindow", "height=620,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function calendarExportDataWindow(content) {
	myRemote = launch(content, "calendarExportDataWindow", "height=400,width=450,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function calendarWindow(content) { 
	myRemote = launch(content, "calendarWindow", "height=700,width=900,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function calendarViewEntryWindow(content) {
	myRemote = launch(content, "calendarEntryWindow", "height=200,width=500,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function textWindow(content) {
	myRemote = launch(content, "textWindow", "height=250,width=500,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=auto,status=0,toolbar=0,left=200,top=250", "window.frames.profile"); 
	myRemote.focus();
}
function connectionDetailsWindow(content) {
	myRemote = launch(content, "connectionDetailsWindow", "height=350,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=1,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function connectionDetailsWindow2(content) {
	myRemote = launch(content, "connectionDetailsWindow", "height=500,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=1,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function mediaDescriptionWindow(content) {
	myRemote = launch(content, "mediaDescriptionWindow", "height=400,width=600,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=250,top=250", "window.frames.profile"); 
	myRemote.focus();
}
function streamFileWindow(content) {
	myRemote = launch(content, "streamFileWindow", "height=400,width=700,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=250,top=250", "window.frames.profile"); 
	myRemote.focus();
}
function streamFileWindow2(content) {
	myRemote = launch(content, "streamFileWindow2", "height=550,width=700,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=250,top=250", "window.frames.profile"); 
	myRemote.focus();
}
function contributionWindow(content) {
	myRemote = launch(content, "contributionWindow", "height=480,width=1050,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function contributionEditWindow(content) {
	myRemote = launch(content, "contributionWindow", "height=350,width=1050,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function contributionEditWindow2(content) {
	myRemote = launch(content, "contributionWindow", "height=550,width=1050,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function helpWindow(content) {
	myRemote = launch(content, "helpWindow", "height=480,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=1,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function sgFamilyWindow(content) {
	myRemote = launch(content, "sgFamilyWindow", "height=350,width=770,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=auto,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function memberWindow(content) {
	myRemote = launch(content, "memberWindow", "height=575,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function followupMemberWindow(content) {
	myRemote = launch(content, "followupMemberWindow", "height=635,width=800,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function newMemberWindow(content) {
	myRemote = launch(content, "newMemberWindow", "height=635,width=770,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function followupWindow(content) {
	myRemote = launch(content, "followupWindow", "height=400,width=770,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function departmentWindow(content) {
	myRemote = launch(content, "departmentWindow", "height=400,width=770,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=400", "window.frames.profile"); 
	myRemote.focus();
}
function contactWindow(content) {
	myRemote = launch(content, "contactWindow", "height=320,width=420,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=auto,status=0,toolbar=0,left=175,top=225", "window.frames.profile"); 
	myRemote.focus();
}
function sgmemberWindow(content) {
	myRemote = launch(content, "sgmemberWindow", "height=260,width=798,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
	onblur=myRemote.focus();
}
function sgfamilyWindow(content) {
	myRemote = launch(content, "sgfamilyWindow", "height=260,width=798,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
	onblur=myRemote.focus();
}
function viewSmallGroupsWindow(content) {
	myRemote = launch(content, "viewSmallGroupsWindow", "height=400,width=770,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
	onblur=myRemote.focus();
}
function viewMeetingWindow(content) {
	myRemote = launch(content, "viewMeetingWindow", "height=400,width=798,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
	onblur=myRemote.focus();
}
function barcodeWindow(content) { 
	myRemote = launch(content, "barcodeWindow", "height=425,width=750,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=auto,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function selectOtherWindow(content) { 
	myRemote = launch(content, "barcodeWindow", "height=325,width=775,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=auto,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function selectMultiWindow(content) { 
	myRemote = launch(content, "selectMultiWindow", "height=325,width=780,channelmode=1,dependent=1,directories=1,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=1,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function altAddressWindow(content) { 
	myRemote = launch(content, "altAddressWindow", "height=225,width=770,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=1,resizable=1,scrollbars=auto,status=0,toolbar=0,left=0,top=0", "window.frames.profile"); 
	myRemote.focus();
}
function contribWindow(f) { 
   window.open('', 'newWin',"width=798,height=350, scrollbars=1,status=0,left=0,top=0,resizable=1"); 
   f.target='newWin'; 
   return true; 
}
function graphWindow(f, graph) { 
   if((graph == "ALL")){
      window.open('', 'newWin'," width=700,height=600, scrollbars=1, menubar=1,left=0,top=0"); 
   f.target='newWin'; 
   return true;
}else{
window.open('', 'newWin'," width=700,height=400, scrollbars=0, menubar=1,left=0,top=0"); 
   f.target='newWin'; 
   return true; 
} 
}
function poWindow(f) { 
   window.open('', 'newWin',"width=798,height=600, menubar=1,left=0,top=0"); 
   f.target='newWin'; 
   return true; 
}

