//this function will center any page that you are popping up with three variables... width,height,scrolling
function centerPopUp( mywidth,myheight,myscroll ) 
{
	var w = mywidth;
	var h = myheight;
	var winl = (screen.width/2 - w/2) ;
	var wint = (screen.height/2 - h/2) ;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+ myscroll;
	return winprops;
}


	
/**
	 Opens a window of your size in the middle of the page 
 		Takes Parameters								  
 			szthis = the page that you want to open 		
  			width  = width of the page						
  			height = height of the page 					
 			scroll = takes 'yes' or 'no'					
**/
function openNewWindow( szthis,width,height,scroll )
{
	centerPopUp(width,height,scroll);
	window.open(szthis,'NewWindow', winprops);
}

function doSpell( tField )
{
	tOpenFile = "/ENG/Recruiters/activedit/inc/spellchecker/window.cfm?jsvar=" + tField;
    window.open(tOpenFile, null, "height=230,width=450,status=no,toolbar=no,menubar=no,location=no");
}

