/*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 HTML(){
openPopWin("CSSNotes.php3#HTML")}

function HEAD(){
openPopWin("CSSNotes.php3#HEAD")}

function BODY(){
openPopWin("CSSNotes.php3#BODY")}

function FRAMESET(){
openPopWin("CSSNotes.php3#FRAMESET")}

function LINK(){
openPopWin("CSSNotes.php3#LINK")}

function DEL(){
openPopWin("CSSNotes.php3#DEL")}

function NOSCRIPT(){
openPopWin("CSSNotes.php3#NOSCRIPT")}

function MARQUEE(){
openPopWin("CSSNotes.php3#MARQUEE")}

function ADDRESS(){
openPopWin("CSSNotes.php3#ADDRESS")}

function P(){
openPopWin("CSSNotes.php3#P")}

function MULTICOL(){
openPopWin("CSSNotes.php3#MULTICOL")}

function DL(){
openPopWin("CSSNotes.php3#DL")}

function TABLE(){
openPopWin("CSSNotes.php3#TABLE")}

function CAPTION(){
openPopWin("CSSNotes.php3#CAPTION")}

function COLGROUP(){
openPopWin("CSSNotes.php3#COLGROUP")}

function THEAD(){
openPopWin("CSSNotes.php3#THEAD")}

function TR(){
openPopWin("CSSNotes.php3#TR")}

function A(){
openPopWin("CSSNotes.php3#A")}

function ABBR(){
openPopWin("CSSNotes.php3#ABBR")}

function B(){
openPopWin("CSSNotes.php3#B")}

function BDO(){
openPopWin("CSSNotes.php3#BDO")}

function BLINK(){
openPopWin("CSSNotes.php3#BLINK")}

function BR(){
openPopWin("CSSNotes.php3#BR")}

function CITE(){
openPopWin("CSSNotes.php3#CITE")}

function FONT(){
openPopWin("CSSNotes.php3#FONT")}

function ruby(){
openPopWin("CSSNotes.php3#ruby")}

function BR(){
openPopWin("CSSNotes.php3#BR")}

function SPAN(){
openPopWin("CSSNotes.php3#SPAN")}

function APPLET(){
openPopWin("CSSNotes.php3#APPLET")}

function IFRAME(){
openPopWin("CSSNotes.php3#IFRAME")}

function IMG(){
openPopWin("CSSNotes.php3#IMG")}

function MAP(){
openPopWin("CSSNotes.php3#MAP")}

function FIELDSET(){
openPopWin("CSSNotes.php3#FIELDSET")}

function ISINDEX(){
openPopWin("CSSNotes.php3#ISINDEX")}

function INPUT(){
openPopWin("CSSNotes.php3#INPUT")}

function BUTTON(){
openPopWin("CSSNotes.php3#BUTTON")}

function LABEL(){
openPopWin("CSSNotes.php3#LABEL")}

function OPTGROUP(){
openPopWin("CSSNotes.php3#OPTGROUP")}


function formPseudo(){
openPopWin("CSSNotes.php3#formPseudo")}

function LISTING(){
openPopWin("CSSNotes.php3#LISTING")}

function importRule(){
openPopWin("CSSNotes.php3#importRule")}

function important(){
openPopWin("CSSNotes.php3#important")}

function media(){
openPopWin("CSSNotes.php3#media")}

function charset(){
openPopWin("CSSNotes.php3#charset")}

function fontFace(){
openPopWin("CSSNotes.php3#fontFace")}

function after(){
openPopWin("CSSNotes.php3#after")}

function firstChild(){
openPopWin("CSSNotes.php3#firstChild")}

function left(){
openPopWin("CSSNotes.php3#left")}

function universal(){
openPopWin("CSSNotes.php3#universal")}

function contextualSelectors(){
openPopWin("CSSNotes.php3#contextualSelectors")}

function adjacentSibling(){
openPopWin("CSSNotes.php3#adjacentSibling")}

function attributeSelectors(){
openPopWin("CSSNotes.php3#attributeSelectors")}
