// copyed from C:\MyWEbs\DreamTch\CssJS\links.js
// on Thursday, June 12, 2003

// used in C:\MyWindows\FreeCity\encoding\convert2.html
// added on Thurs., August 14, 2003
function myIwindow(pic) {
    iWin = window.open(pic, 'myIwin', 'scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=yes,width=400,height=400')
    }	

// used in C:\Mywebs\FreeCity\slangs\glutes.html
// added at 3:30p.m., Saturday, June 14, 2003
function showButt(pic) {
    buttWin = window.open(pic, 'herButt', 'scrollbars=no,status=no,toolbar=no,menubar=no,location=no,width=300,height=500')
    }

// used in C:\Mywebs\FreeCity\javascrt\anchor.html
// added at 9:40p.m., Monday, June 16, 2003
function showAss(pic) {
    assWin = window.open(pic, 'herAss', 'scrollbars=no,status=no,toolbar=no,menubar=no,location=no,width=350,height=260')
    }	

// for general use; changed from newWin to newWin2 on June 17/03
function newWindow(pic) {
    newWin = window.open(pic, 'newWin2', 'scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=yes,width=800,height=500')
    }	

// for general use; added on June 28/03
function newWin3(pic) {
    newWin3 = window.open(pic, 'newWin3', 'scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=yes,width=800,height=500')
    }	

// for general use; added on June 28/03
function newWin4(pic) {
    newWin4 = window.open(pic, 'newWin4', 'scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=yes,width=800,height=500')
    }	

// for picture showing
function picWindow(pic) {
    picWin = window.open(pic, 'picWin', 'scrollbars=yes,status=yes,width=600,height=400')
    }   

// used in /javascrt/random2.htm
function myWindow450x400(pic) {
    pWin = window.open(pic, 'picWin', 'scrollbars=no,status=no,width=450,height=400')
    }  

// used in /slangs/booty_en.html
function myWindow650x700(pic) {
    pWin650 = window.open(pic, 'picWin', 'scrollbars=yes,width=650,height=700')
    }  

// from NOVELS.HTM
function tinyWindow(pic) {
    newWin = window.open(pic, 'tinyWin', 'width=260,height=200')
    }

// from SEXUALI3.HTM
function bigWindow(pic) {
    newWin = window.open(pic, 'bigWin', 'scrollbars=yes,width=600,height=500')
    }   

function animWindow(pic) {
    newWin = window.open(pic, 'animWin', 'width=380,height=350')
    }

function longWindow(pic) {
   lWin = window.open(pic, "longWin", "scrollbars=yes,width=270,height=450")
   }

function wideWindow(pic) {
   wWin = window.open(pic, "wideWin", "scrollbars=no,width=350,height=250")
   }

// for toilet flush
function startFlush() {
         document.Flush.play()
         }

// for June Adams
function startHiSexy() {
        document.HiSexy.play()
	}	

// for the author
function startHello3() {
        document.Hello3.play()
        }       

function startJuneSpeaks() {
        document.JuneSpeaks.play()
        }       

function startSayTrue() {
        document.SayTrue.play()
        }       
// used in C:\MyWebs\DreamTch\css\dynfiltr.htm
// check IE & Netscape Navigator versions
function checkAppVersion(navVer, ieVer, showAlert) {
   appName= navigator.appName;
   appLongVer = navigator.appVersion;
   appVer = appLongVer.substring(0, 1); 
   if ((appName == "Netscape") && (appVer >= navVer)) return 2;
   if ((appName == "Microsoft Internet Explorer") && (appVer >= ieVer)) return 1;
   if (showAlert) window.alert("Sorry, your browser cannot display the content of this page correctly. ");
   return 0;
   }

// used in C:\MyWebs\DreamTch\css\dynfiltr.htm
function applyFilter (obj, filterName) {
   obj.style.filter = filterName;
   }

// the following two functions are used in \javascrt\butonmn2.htm
// as well as \html\whtdhtml.htm
function isNetscape() 
{
   // get browser info. 
   appName= navigator.appName;
   appLongVer = navigator.appVersion;
   appVer = appLongVer.substring(0, 1); 

   // check for Navigator ver 4+. 
   if ((appName == "Netscape") && (appVer >= 4)) return true;
   return false;
}

function isIE() 
{
   // get browser info. 
   appName= navigator.appName;
   appLongVer = navigator.appVersion;
   appVer = appLongVer.substring(0, 1); 

   // check for IE ver 4+. 
   if ((appName == "Microsoft Internet Explorer") && (appVer >= 4)) return true;
   return false;
}

