<!--

var winUrl = null;
var childWindow = null;

function faqWin(page,section) {
		 if (page) {
		  //check to see if user clicked an anchored link
		  if (! section) {
		  //if not, default to top
		  section = "top";
		  }
		  
		  // Simple Browser Check
			var ns4 = (document.layers) ? 1 : 0;
			var ie4 = (document.all) ? 1 : 0;
			var ns6 = (document.getElementById && !document.all) ? 1 : 0;
			
			
			// Browser Window Dimensions
			function winWid(){
			   return (ns4||ns6) ? window.innerWidth : document.body.clientWidth;
			}
			function winHei(){
			   return (ns4||ns6) ? window.innerHeight : screen.height;
			}
			
			// Example Use
			var displaywidth = winWid();
			var displayheight = winHei();
			
			var percwidth =  Math.round(displaywidth * 0.80);
			var percheight = Math.round(displayheight * 0.50);
		  
		  
		  
		  
		  
		  //define window parameters - url, window name and window attributes
		  winUrl = "/discover/data/faq/" + page + ".shtml#" + section;
		  var winName = "faq";
		  var winAttributes = "width=" + percwidth + ", height=" + percheight + ",resizable=yes,scrollbars=yes,status,top=30,left=30";
	 	 
		  //launch the new window and capture a reference to that window
		  childWindow = window.open(winUrl,winName,winAttributes);
		 	 
		  //bring "focus" to the new window so it appears on top of the window stack
		  childWindow.focus();
		  	

	 }	 
}

//-->
