
	function popupWindow(str_newLocation, str_target, w_width, w_height, f_scroll, f_toolbar){
		var popupMe;
		var stats;
		var f_full=false;
		
		if(f_scroll)
			f_scroll="yes";
		else
			f_scroll="no";
			
		if(f_toolbar)
			f_toolbar="yes";
		else
			f_tollbar="no";
		
		stats='toolbar=' + f_toolbar + ',location=no,directories=no,status=no,menubar=no,';
		stats += 'scrollbars=' + f_scroll + ',resizable=yes,width=' + w_width + ',height=' + w_height;
		
		if(!f_full){
			popupMe = open(str_newLocation, str_target, stats);
		}
		else{
			popupMe = open(str_newLocation, str_target);
		}
		popupMe.focus();
	}
	
	function popupShowMe(str_newLocation){
		w_width=500;
		w_height=250;
		str_target="ShowMe";
		// get the selected value
		i = document.showme.show.selectedIndex;
		show = document.showme.show.options[i].value;
		// if user didn't select one of the headers, popup the showme window
		if (show != "") {
			str_newLocation+=show;
			popupWindow(str_newLocation, str_target, w_width, w_height, false, false);
			document.forms.showme.reset();
		}
	}

	
	function popupStyle(str_newLocation){
		w_width=600;
		w_height=500;
		str_target="Style";
		popupWindow(str_newLocation, str_target, w_width, w_height, true, false);
		
	}
	
	function popupBigImage(str_newLocation, w_w, w_h){
		w_width=w_w;
		w_height=w_h;
		str_target="image";
		popupWindow(str_newLocation, str_target, w_width, w_height, false, false);
	}
	
	function popupSpecs(str_newLocation){
		w_width=1;
		w_height=1;
	}
	
	function popupGlossary(){
		w_width=500;
		w_height=400;
		str_target="glossary";
		popupWindow("b_glossary.cfm", str_target, w_width, w_height, true, false);
	}
	
	function popupFeatures(str_newLocation){
		w_width=520;
		w_height=500;
		str_target="features";
		popupWindow(str_newLocation, str_target, w_width, w_height, true, false);
		
	}
	
	function popupPR(str_newLocation){
		w_width=700;
		w_height=300;
		str_target="features";
		popupWindow(str_newLocation, str_target, w_width, w_height, true, true);
		
	}
	
	function popupTellaFriend(str_newLocation){
		w_width=510;
		w_height=500;
		str_target="tellafriend";
		popupWindow(str_newLocation, str_target, w_width, w_height, true, false);
	}
	
