//Reset Form Variables
function resetForm(form)
{
	form.reset();	
}


function launch(newURL, newName, newFeatures, orgName) {
  var remote = open(newURL, newName, newFeatures);
  self.name = "main";
}

function launchRemote(link) {
  myRemote = launch(link, "", "height=500,width=500,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0", "");
}


//CIP
function userDefWindow(url)
{
	udWindow = open(url, 'udWindow', "height=480,width=640,channelmode=0,dependent=0,directories=0,fullscreen=0,location=1,menubar=0,resizable=1,scrollbars=1,status=1,toolbar=1"); 
	udWindow.focus(); 
}


	
//Link library
function launchRemoteLL(link) {
  myRemote = launch(link, "", "height=450,width=700,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=1,toolbar=1", "");
}


//My Shelf
function openHelpWindow(url)
{
	leftpos=100;
	toppos=50;
	if (screen)
	{
		leftpos = screen.width-800;
		toppos = screen.height-500;
	}
	window.open(url, 'helpWindow', 'toolbar=no,location=no,scrollbars=yes,width=500,height=200,left='+leftpos+',top='+toppos);
}


function launchRemoteMS(link) {
  myRemote = launch(link, "", "height=450,width=700,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=1,toolbar=1", "");
}



function deSelect()
{
	for (var i=0; i < document.linkform.link.length; i++)
	{
		document.linkform.link[i].checked=0
	}
}

function sendFormMain()
{document.main.submit()}

function sendFormLink()
{document.linkform.submit()}
