/*Copyright 1998 by Ray Stott - ver 1.0. 
OK to use on noncommercial sites as long as copyright is included. 
Script is available at http://www.erols.com/crays/js.htm */

var PopWin = null; 
var winCount = 0;
var winName = "PopWin";
function openPopWin(winURL, winFeatures){
winName = "PopWin" + winCount++;
closePopWin();
winFeatures = "scrollbars=yes,location=yes,resizable=yes,toolbar=yes,width=630,height=350,top=2,left=30"
PopWin = window.open(winURL, winName, winFeatures)}

/* I have made the code shorter, because all windows has the same values;
if you want to use different values, use the original script below:
closePopWin()
if (openPopWin.arguments.length == 4)
winFeatures = "," + winFeatures
else 
winFeatures = "" 
PopWin = window.open(winURL, winName, "width=" + winWidth 
+ ",height=" + winHeight + winFeatures)} */

function closePopWin(){ 

/* In the javascript is Language="JavaScript1.1". which is enough:
if( (parseInt(navigator.appVersion)>=3 &&
navigator.appName=="Netscape") ||
(parseInt(navigator.appVersion)>=4 &&
navigator.appName=="Microsoft Internet Explorer") ) */

if(PopWin != null) if(!PopWin.closed) PopWin.close()
}

/* Selectors */


function inheritance(){
openPopWin("CSSNotesProp.php3#inheritance")}

function border(){
openPopWin("CSSNotesProp.php3#border")}

function height(){
openPopWin("CSSNotesProp.php3#height")}

function minHeight(){
openPopWin("CSSNotesProp.php3#minHeight")}

function margin(){
openPopWin("CSSNotesProp.php3#margin")}

function clear(){
openPopWin("CSSNotesProp.php3#clear")}

function clip(){
openPopWin("CSSNotesProp.php3#clip")}

function direction(){
openPopWin("CSSNotesProp.php3#direction")}

function display(){
openPopWin("CSSNotesProp.php3#display")}

function position(){
openPopWin("CSSNotesProp.php3#position")}

function visibility(){
openPopWin("CSSNotesProp.php3#visibility")}

function verticalAlign(){
openPopWin("CSSNotesProp.php3#verticalAlign")}

function content(){
openPopWin("CSSNotesProp.php3#content")}

function listStyle(){
openPopWin("CSSNotesProp.php3#listStyle")}

function quotes(){
openPopWin("CSSNotesProp.php3#quotes")}

function page(){
openPopWin("CSSNotesProp.php3#page")}

function background(){
openPopWin("CSSNotesProp.php3#background")}

function fontFamily(){
openPopWin("CSSNotesProp.php3#fontFamily")}

function fontSize(){
openPopWin("CSSNotesProp.php3#fontSize")}

function fontVariant(){
openPopWin("CSSNotesProp.php3#fontVariant")}

function letterSpacing(){
openPopWin("CSSNotesProp.php3#letterSpacing")}

function textDecoration(){
openPopWin("CSSNotesProp.php3#textDecoration")}

function whiteSpace(){
openPopWin("CSSNotesProp.php3#whiteSpace")}
function borderCollapse(){
openPopWin("CSSNotesProp.php3#borderCollapse")}

function captionSide(){
openPopWin("CSSNotesProp.php3#captionSide")}

function tableLayout(){
openPopWin("CSSNotesProp.php3#tableLayout")}

function cursor(){
openPopWin("CSSNotesProp.php3#cursor")}

function systemFonts(){
openPopWin("CSSNotesProp.php3#systemFonts")}

function outline(){
openPopWin("CSSNotesProp.php3#outline")}
