//---------------------------------------------------------------------
// openMoveWindow:
// Open a window to display the move page
//---------------------------------------------------------------------
function openMoveWindow() { 
 window.open('/move/move.html','move','toolbar=no,directories=no,location=no,status=no,menubar=no,scrollbars=no,resizable=0,copyhistory=no,width=425,height=600');
}

//---------------------------------------------------------------------
// openBrWindow:
// Legacy window open routine called from flash and old pages
//---------------------------------------------------------------------
function openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

//---------------------------------------------------------------------
// search:
// Call atomz search, called from flash
//---------------------------------------------------------------------
function search(searchString) {
	document.location.href = "http://search.atomz.com/search/?sp-q=" + escape(searchString) + "&sp-a=sp1001f794&sp-f=iso-8859-1";
}

//---------------------------------------------------------------------
// StripWhitespace:
// Remove all whitespace from string, even in the middle of the string
//---------------------------------------------------------------------
function StripWhitespace(anyString) {
 return (anyString.replace(/\s/g,""));
}

//---------------------------------------------------------------------
// Pop up script:
// Used on the promo page for the PHT Demo
//---------------------------------------------------------------------
function popUp(strURL,strHeight,strWidth,winName) {
	var strOptions="height="+strHeight+",width="+strWidth;
	window.open(strURL, winName, strOptions);
}