/*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=535,height=300,top=2,left=30"
PopWin = window.open(winURL, winName, winFeatures)}

/* Olen lyhentänyt koodia, koska kaikilla ikkunoilla on samat arvot;
jos haluat ikkunoille eri arvot, käytä alla olevaa alkuperäistä ohjelmointikirjoitetta:
closePopWin()
if (openPopWin.arguments.length == 4)
winFeatures = "," + winFeatures
else 
winFeatures = "" 
PopWin = window.open(winURL, winName, "width=" + winWidth 
+ ",height=" + winHeight + winFeatures)} */

function closePopWin(){ 

/* tätäkään ei pitäisi tarvittavan, sillä skrptin kieli on JavaScript1.1:
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()
}

/* Model?.html */
/* Model -  index2.php3*/
function Model(){
openPopWin("../Opetus/Models/Model0b.html")}

/* Model - Elementit0.php3 */

function Model0a(){
openPopWin("../Opetus/Models/Model0a.html")}
function Model0b(){
openPopWin("../Opetus/Models/Model0b.html")}

function Model0c(){
openPopWin("../Opetus/Models/Model0c.html")}

function Model1(){
openPopWin("../Opetus/Models/Model1.html")}

function Model2(){
openPopWin("../Opetus/Models/Model2.html")}

function Model3(){
openPopWin("../Opetus/Models/Model3.html")}

function Model4(){
openPopWin("../Opetus/Models/Model4.html")}

function Model4a(){
openPopWin("../Opetus/Models/Model4a.html")}

/* Model - Kaytto.php3 */
function Model5(){
openPopWin("../Opetus/Models/Model5.html")}

function Model5a(){
openPopWin("../Opetus/Models/Model5a.html")}

function Model5b(){
openPopWin("../Opetus/Models/Model5b.html")}

function Model6(){
openPopWin("../Opetus/Models/Model6.html")}

function Model6a(){
openPopWin("../Opetus/Models/Model6a.html")}

function Model7(){
openPopWin("../Opetus/Models/Model7.html")}

/* Model - Mitat.php3 */
function Model8(){
openPopWin("../Opetus/Models/Model8.html")}

function Model8a(){
openPopWin("../Opetus/Models/Model8a.html")}

function Model8b(){
openPopWin("../Opetus/Models/Model8b.html")}

function Model8c(){
openPopWin("../Opetus/Models/Model8c.html")}

/* Model - Valitsimet0.php3 */
function Model9(){
openPopWin("../Opetus/Models/Model9.html")}

function Model10(){
openPopWin("../Opetus/Models/Model10.html")}

function Model11(){
openPopWin("../Opetus/Models/Model11.html")}

function Model12(){
openPopWin("../Opetus/Models/Model12.html")}

function Model13(){
openPopWin("../Opetus/Models/Model13.html")}

function Model14(){
openPopWin("../Opetus/Models/Model14.html")}

function Model15(){
openPopWin("../Opetus/Models/Model15.html")}

/*Model - Order0.php3 */
function Model16(){
openPopWin("../Opetus/Models/Model16.html")}

function Model17(){
openPopWin("../Opetus/Models/Model17.html")}

function Model18(){
openPopWin("../Opetus/Models/Model18.html")}

/* Model - Fontit0.php3 */
function Model19(){
openPopWin("../Opetus/Models/Model19.html")}

function Model20(){
openPopWin("../Opetus/Models/Model20.html")}

function Model21(){
openPopWin("../Opetus/Models/Model21.html")}

function Model22(){
openPopWin("../Opetus/Models/Model22.html")}

/* Model - Taustat0.php3 */
function Model23(){
openPopWin("../Opetus/Models/Model23.html")}
function Model23a(){
openPopWin("../Opetus/Models/Model23a.html")}
function Model23b(){
openPopWin("../Opetus/Models/Model23b.html")}

/* Model - Listat.php3 */
function Model24(){
openPopWin("../Opetus/Models/Model24.html")}

function Model24a(){
openPopWin("../Opetus/Models/Model24a.html")}

/* Model - Taulukkot.php3 */
function Model25(){
openPopWin("../Opetus/Models/Model25.html")}

function Model25a(){
openPopWin("../Opetus/Models/Model25a.html")}

function Model25b(){
openPopWin("../Opetus/Models/Model25b.html")}


/* Muotoilut0.php3 */
function Model26(){
openPopWin("../Opetus/Models/Model26.html")}

function Model27(){
openPopWin("../Opetus/Models/Model27.html")}

function Model28(){
openPopWin("../Opetus/Models/Model28.html")}

function Model29(){
openPopWin("../Opetus/Models/Model29.html")}

function Model30(){
openPopWin("../Opetus/Models/Model30.html")}

function Model30b(){
openPopWin("../Opetus/Models/Model30b.html")}

function Model31(){
openPopWin("../Opetus/Models/Model31.html")}

function Model31b(){
openPopWin("../Opetus/Models/Model31b.html")}



/* Elementit0.php3 */


function Attribute_E(){
openPopWin("Elementitab.html#Attribute")}

function Dokumenttipuu(){
openPopWin("Elementita.php3#Dokumenttipuu")}

function Elementit(){
openPopWin("Elementit.php3#Elementit")}

function XHTML_E(){
openPopWin("Elementitc.php3#XHTML")}

function DTD(){
openPopWin("Elementit.php3#DTD")}

function DTDb(){
openPopWin("Elementitc.php3#DTDb")}

function Style(){
openPopWin("Elementitb.php3#Style")}

function Virhe(){
openPopWin("Elementitb.php3#Virhe")}

function Virhe1(){
openPopWin("Elementitb.php3#Virhe1")}

function Virhe2(){
openPopWin("Elementitc.php3#Virhe2")}

function Alaviite0(){
openPopWin("Elementit.php3#Alaviite0")}




/* Kaytto0.php3 */


function Bordermalli(){
openPopWin("Kaytto.php3#Bordermalli")}

function Embedded(){
openPopWin("Kaytto2.php3#Embedded")}

function import_rule(){
openPopWin("Kaytto2.php3#import_rule")}

function Inline(){
openPopWin("Kaytto1.php3#Inline")}

function Pikakirjoite(){
openPopWin("Kaytto.php3#Pikakirjoite")}

function Kaytto_Alaviite_0(){
openPopWin("Kaytto1.php3#Alaviite_0")}

function Kaytto_Alaviite_1(){
openPopWin("Kaytto1.php3#Alaviite_1")}

function Kaytto(){
openPopWin("Kaytto0.php3")}


/* Oppilas.html, Oppilas2.html, Opettaja.html */


function Oppilas(){
openPopWin("../Opetus/Models/Oppilas2.html")}


function Oppilas_t(){
openPopWin("../Opetus/Models/Oppilas.html")}


/* Valitsimet0.php3 */


function Pseudo_classes(){
openPopWin("Valitsimet2.php3#Pseudo_classes")}

function Ryhmittaminen(){
openPopWin("Valitsimet.php3#Ryhmittaminen")}

function Attribute(){
openPopWin("Valitsimet1b.php3#Attribute")}

function Ryhmittaminen(){
openPopWin("Valitsimet.php3#Ryhmittaminen")}

function rulechart(){
openPopWin("Valitsimet.php3#rulechart")}

function The_basic_principle(){
openPopWin("Valitsimet0.php3#The_basic_principle")}

function Valitsinluettelo(){
openPopWin("Valitsimet3.php3#Valitsinluettelo")}

/* Order0.php3  */


function Adjacent_sibling(){
openPopWin("Order.php3#Adjacent_sibling")}

function Pattern_matching(){
openPopWin("Order1.php3")}

function ListaEsimerkkeja(){
openPopWin("Order1.php3#Lista-esimerkkeja")}

function Parent_order(){
openPopWin("Order.php3#Parent")}

function pituus(){
openPopWin("Order1.php3#pituus")}

function Puu(){
openPopWin("Order.php3#Dokumenttipuu")}

function Selain(){
openPopWin("Order.php3#Selain")}

function Stagger(){
openPopWin("../Teaching/Order2.php3#stagger")}

/* Fontit0.php3 */

function Media_rule_F(){
openPopWin("Fontit1.php3#Media_rule")}

function Muotoilumallien(){
openPopWin("Fontit1.php3#Muotoilumallien")}


function chart(){
openPopWin("Fontit1.php3#chart")}

/* Ankkurit.php3 */


function Ankkurit(){
openPopWin("Ankkurit.php3")}


/* Taustat0.php3 */


function Taustat(){
openPopWin("Taustat.php3")}

function taulukkomaaritys(){
openPopWin("Taustat.php3#taulukkomaaritys")}


/* Taulukot0.php3 */


function Taulukot(){
openPopWin("Taulukot0.php3")}

/* Muotoilut0.php3  */


function Display(){
openPopWin("Muotoilut2.php3")}

function Float(){
openPopWin("Muotoilut.php3")}


/* Virheet.php3 + muut liitetiedostot*/


function fontti(){
openPopWin("Virheet.php3#fontti")}

function listat(){
openPopWin("Virheet.php3#listat")}

function listat2(){
openPopWin("Virheet.php3#listat2")}

function reunat(){
openPopWin("Virheet.php3#reunat")}

function Netscape4_0x(){
openPopWin("Netscape.php3")}

function Rakenteet(){
openPopWin("Rakenteet.php3")}

function sivusto_txt(){
openPopWin("sivusto.txt")}

function tekstit_txt(){
openPopWin("./Models/tekstit.txt")}

function CJS(){
openPopWin("CJS.php3")}

function WAP_L(){
openPopWin("WAP.php3")}

function L_XML(){
openPopWin("XML.php3")}


/* Suomennos.php3 */


function At_rule(){
openPopWin("Suomennos2.php3#At_rule")}

function Canvas_s(){
openPopWin("Suomennos4.php3#Canvas")}

function CSS_s(){
openPopWin("Suomennos2.php3#CSS")}

function Entity(){
openPopWin("Suomennos1.php3#Entity")}

function DHTML(){
openPopWin("Suomennos1.php3#DHTML")}

function DOCTYPE(){
openPopWin("Suomennos1.php3#DOCTYPE")}

function identifier(){
openPopWin("Suomennos1.php3#identifier")}

function Media_rule(){
openPopWin("Suomennos2.php3#Media_rule")}

function Pattern_matching_s(){
openPopWin("Suomennos4.php3#Pattern_matching")}

function Statement(){
openPopWin("Suomennos1.php3#Statement")}

function Termiehdotelmalista(){
openPopWin("Suomennos.php3#Termiehdotelmalista")}

function Tyylisaannosto(){
openPopWin("Suomennos2.php3#Tyylisaannosto")}

function Unicode(){
openPopWin("Suomennos5.php3#Unicode")}

function WAP(){
openPopWin("Suomennos1.php3#WAP")}

function WML(){
openPopWin("Suomennos1.php3#WML")}

function XSL(){

openPopWin("Suomennos-XSL.php3#XSL")}


/* Suomennos-per.php3 */


function Parent(){
openPopWin("Suomennos-per.php3#Parent")}

function Tag(){
openPopWin("Suomennos-per.php3#Tag")}


/* W3C  CSS2 */


function aural(){
openPopWin("http://www.w3.org/TR/REC-CSS2/aural.html")}

function box_dimensions(){
openPopWin("http://www.w3.org/TR/REC-CSS2/box.html#box-dimensions")}

function border_styles(){
openPopWin("http://www.w3.org/TR/REC-CSS2/box.html#border-style-properties")}

function at_import(){
openPopWin("http://www.w3.org/TR/REC-CSS2/cascade.html#at-import")}

function important_rules(){
openPopWin("http://www.w3.org/TR/REC-CSS2/cascade.html#important-rules")}

function colors_background_properties(){
openPopWin("http://www.w3.org/TR/REC-CSS2/colors.html#background-properties")}

function conform(){
openPopWin("http://www.w3.org/TR/REC-CSS2/conform.html")}

function algorithm(){
openPopWin("http://www.w3.org/TR/REC-CSS2/fonts.html#algorithm")}

function fonts(){
openPopWin("http://www.w3.org/TR/REC-CSS2/fonts.html")}

function font_descriptions(){
openPopWin("http://www.w3.org/TR/REC-CSS2/fonts.html#font-descriptions")}

function generic_font_families(){
openPopWin("http://www.w3.org/TR/REC-CSS2/fonts.html#generic-font-families")}

function font_size_props(){
openPopWin("http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props")}

function generate(){
openPopWin("http://www.w3.org/TR/REC-CSS2/generate.html")}


function generate_q11(){
openPopWin("http://www.w3.org/TR/REC-CSS2/generate.html#q11.html")}

function media(){
openPopWin("http://www.w3.org/TR/REC-CSS2/media.html")}

function at_media_rule(){
openPopWin("http://www.w3.org/TR/REC-CSS2/media.html#at-media-rule")}

function page(){
openPopWin("http://www.w3.org/TR/REC-CSS2/page.html")}

function propidx(){
openPopWin("http://www.w3.org/TR/REC-CSS2/propidx.html")}

function selector(){
openPopWin("http://www.w3.org/TR/REC-CSS2/selector.html")}

function dynamic_pseudo_classes(){
openPopWin("http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes")}

function selector_lang(){
openPopWin("http://www.w3.org/TR/REC-CSS2/selector.html#lang")}

function link_pseudo_classes(){
openPopWin("http://www.w3.org/TR/REC-CSS2/selector.html#link-pseudo-classes")}

function selector_q1(){
openPopWin("http://www.w3.org/TR/REC-CSS2/selector.html#q1")}

function selector_q20(){
openPopWin("http://www.w3.org/TR/REC-CSS2/selector.html#q20")}

function syndata(){
openPopWin("http://www.w3.org/TR/REC-CSS2/syndata.html")}

function syndata_color_units(){
openPopWin("http://www.w3.org/TR/REC-CSS2/syndata.html#color-units")}

function syndata_values(){
openPopWin("http://www.w3.org/TR/REC-CSS2/syndata.html#values")}

function syndata_q23(){
openPopWin("http://www.w3.org/TR/REC-CSS2/syndata.html#q23")}

function tables_borders(){
openPopWin("http://www.w3.org/TR/REC-CSS2/tables.html#borders")}

function tables_layers(){
openPopWin("http://www.w3.org/TR/REC-CSS2/tables.html#table-layers")}

function tables(){
openPopWin("http://www.w3.org/TR/REC-CSS2/tables.html")}

function tables_q21(){
openPopWin("http://www.w3.org/TR/REC-CSS2/tables.html#q21")}

function ui(){
openPopWin("http://www.w3.org/TR/REC-CSS2/ui.html")}

function visuren(){
openPopWin("http://www.w3.org/TR/REC-CSS2/visuren.html")}

function display_prop(){
openPopWin("http://www.w3.org/TR/REC-CSS2/visuren.html#display-prop")}

function direction(){
openPopWin("http://www.w3.org/TR/REC-CSS2/visuren.html#direction")}

function visudet(){
openPopWin("http://www.w3.org/TR/REC-CSS2/visudet.html")}

function visudet_q15(){
openPopWin("http://www.w3.org/TR/REC-CSS2/visudet.html#q15")}

function line_height(){
openPopWin("http://www.w3.org/TR/REC-CSS2/visudet.html#line-height")}


/* W3C CSS1 Test Suite*/


function sec544(){
openPopWin("http://www.w3.org/Style/CSS/Test/current/sec544.htm")}

function sec5525(){
openPopWin("http://www.w3.org/Style/CSS/Test/current/sec5525.htm")}



/*W3C Other */


function MarkUp(){
openPopWin("http://www.w3.org/MarkUp/")}

function Xpath(){
openPopWin("http://www.w3.org/TR/xpath")}



function CSS_validator(){
openPopWin("http://jigsaw.w3.org/css-validator/validator-uri.html")}

function W3C_CSS(){
openPopWin("http://www.w3.org/Style/CSS/")}

function xml_names(){
openPopWin("http://www.w3.org/TR/REC-xml-names/")}


/* John Allsop */

function key_ideas(){


openPopWin("http://westciv.com/style_master/academy/css_tutorial/key_ideas.html")}

function page_layout(){
openPopWin("http://westciv.com/style_master/academy/css_tutorial/properties/page_layout.html")}

function statements(){
openPopWin("http://westciv.com/style_master/academy/css_tutorial/statements.html")}

function cascade_inheritance(){
openPopWin("http://westciv.com/style_master/academy/css_tutorial/cascade_inheritance.html")}

function John_selectors(){
openPopWin("http://westciv.com/style_master/academy/css_tutorial/selectors.html")}


/* Muut omat sivut */


function Kotisivuni(){
openPopWin("../Yleiset/index2.html")}

function index_txt(){
openPopWin("../index.txt")}

function ikkunointi(){
openPopWin("../Kuvat/Nt/Ikkunointi.gif")}

function Navigointi(){
openPopWin("../Nt/Navigointi.php3")}

function Ongelmia_US(){
openPopWin("../Nt/Ongelmia-US.php3")}

function ongelmia_us(){
openPopWin("../Nt/ongelmia-us.xml")}

function ongelmia_us_xsl(){
openPopWin("../Nt/ongelmia-us-xsl.xml")}

function ongelmia_gif(){
openPopWin("../Nt/xml.gif")}

function Advances(){
openPopWin("../Nt/Advances.php3")}

function frames(){

openPopWin("../Nt/frames.html")}
/*
function Heart_table(){
openPopWin("../Nt/Heart.html#table")}

function Border_prob(){
openPopWin("../Nt/index2b.html")}
*/

function Illegal(){
openPopWin("../Teaching/Illegal.php3")}

function Illegal_Netscape_4x(){
openPopWin("../Teaching/Illegal.php3#Netscape_4x")}

function Summary(){
openPopWin("../Nt/MISSION_FAILED.php3#Summary")}

function New_standards(){
openPopWin("../Teaching/CSS-2.php3#New_standards")}

function XHTML(){
openPopWin("Elementitc.php3#XHTML")}

function XSL_Opera(){
openPopWin("../Teaching/XSL2.php3")}

function I_dont_like(){
openPopWin("../Teaching/XSL.php3#I_don't_like")}

function future(){
openPopWin("../Nt/future.php3")}

function Virhesivu(){
openPopWin("Virheet2.php3")}

function Ohituskeinoja(){
openPopWin("Virheet2.html#Ohituskeinoja")}


/* muita sivuja */


function Korpela(){
openPopWin("http://www.hut.fi/u/jkorpela/www.html")}

function harmful(){
openPopWin("http://www.hut.fi/%7Ejkorpela/styles/harmful.html")}

function Ruini(){
openPopWin("http://www.cs.Helsinki.FI/u/ruini/xml_sanasto.html")}

function Unicode_org(){
openPopWin("http://www.unicode.org/")}

function Panose(){
openPopWin("http://www.fonts.com/hp/panose/greybook")}

function webreview(){
openPopWin("http://webreview.com/wr/pub/guides/style/style.html")}

function webstandards(){
openPopWin("http://www.webstandards.org/")}

function html_kit(){
openPopWin("http://www.chami.com/html-kit/")}

function quide_properties(){


openPopWin("http://www.htmlhelp.com/reference/css/properties.html")}

