//Edited and Formatted by: James Braley and Justin Rego

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;



with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#eeeeee";
offcolor="#151B8D";
onbgcolor="#151B8D";
oncolor="#ffffff";
//outfilter="randomdissolve(duration=0.0)";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#EEEEEE";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="AddOns/arrow.gif";
subimagepadding=2;
imagepadding="100"; 
bgimage="/HomePage/images/menuback.jpg"; 

}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("showmenu=WCTS Home;text=WCTS Home");
aI("showmenu=Career;text=Career Majors;");
aI("showmenu=Academics;text=Academics;");
aI("showmenu=Guidance;text=Guidance;");
aI("showmenu=Faculty;text=Faculty;");
aI("showmenu=Students;text=Students;");
aI("showmenu=Athletics;text=Athletics;");
aI("showmenu=PostSec;text=Post-Secondary Programs;");
aI("showmenu=AdultEd;text=Continuing Education;");
aI("showmenu=AboutUs;text=About Us;");
}
with(milonic=new menuname("WCTS Home")){
style=menuStyle;
aI("text=Board of Education;url=http://www.warrennet.org/warrentech/generalinfo/BOE.htm");
aI("text=Daily Announcements;url=http://ettc.warrennet.org/mod/resource/view.php?id=22");
aI("text=Faculty Email Login;url=http://warrennet.org");
aI("text=Faculty Homework Post Login;url=http://blog.warrennet.org/wordpress1/wp-login.php");
aI("text=State Report Card-WCTS;url=http://education.state.nj.us/rc/rc07/rcoptions.php?c=41;d=5460;s=050;lt=W;st=V");
aI("text=STI Classroom Online;url=http://sti.warrennet.org/iclassroom/");
aI("text=Warren County DOE;url=http://www.co.warren.nj.us/edu.html");
}

with(milonic=new menuname("Students")){
style=menuStyle;
aI("text=Athletic Information;url=http://www.warrennet.org/warrentech/generalinfo/sports.htm");
aI("text=CIE Program;url=http://www.warrennet.org/warrentech/generalinfo/CIE.htm");
aI("text=Clubs;url=http://ettc.warrennet.org/mod/resource/view.php?id=67");
aI("text=Daily Bulletins & Announcements;url=http://ettc.warrennet.org/mod/resource/view.php?id=22");
aI("text=Directions to WCTS;url=http://www.warrennet.org/warrentech/location.html");
aI("text=Graduation Requirements;url=http://www.warrennet.org/warrentech/generalinfo/gradrequirements.htm");
aI("text=Homework Assignments by Faculty;url=http://www.warrennet.org/warrentech/contactinfo/staff-homework-list.htm");
aI("text=Parents & PTA;url=http://www.warrennet.org/wctspta/index.html");
aI("text=School Store;url=http://www.warrennet.org/warrentech/generalinfo/schoolstore.htm");
aI("text=School Closing Info;url=http://www.warrennet.org/warrentech/generalinfo/schoolclosing.htm");
aI("text=Student Email;url=http://sms.warrennet.org");
aI("text=Student Handbook;url=http://www.warrennet.org/warrentech/generalinfo/Student Handbook 2007-08.pdf");
}

with(milonic=new menuname("Faculty")){
style=menuStyle;
aI("text=Administration;url=http://www.warrennet.org/warrentech/generalinfo/administration.htm");
aI("text=Bell Schedule;url=http://www.warrennet.org/warrentech/forms/bell_schedule.html");
aI("text=Faculty Directory;url=http://www.warrennet.org/warrentech/contactinfo/stafflist.htm");
aI("text=Faculty Handbook;url=http://www.warrennet.org/warrentech/generalinfo/Faculty Handbook 2007-2008.pdf");
aI("text=Privacy Statement;url=http://ettc.warrennet.org/mod/resource/view.php?id=39");
aI("text=School Calendar;url=http://www.warrennet.org/warrentech/generalinfo/calendar.htm");
aI("text=Student Handbook;url=http://www.warrennet.org/warrentech/generalinfo/Student Handbook 2007-08.pdf");
aI("text=Teacher Homework Pages;url=http://www.warrennet.org/warrentech/contactinfo/staff-homework-list.htm");
}

with(milonic=new menuname("Academics")){
style=menuStyle;
aI("text=Art;url=http://www.warrennet.org/warrentech/coursecatalog/art.htm;");
aI("text=Ceramics;url=http://www.warrennet.org/warrentech/coursecatalog/ceramics.htm;");
aI("text=Civics;url=http://www.warrennet.org/warrentech/coursecatalog/civics.htm;");
aI("text=Creative Writing;url=http://www.warrennet.org/warrentech/coursecatalog/creativewriting.htm;");
aI("text=Cultural Literacy;url=http://www.warrennet.org/warrentech/coursecatalog/cultlit.htm;");
aI("text=Drawing & Painting;url=http://www.warrennet.org/warrentech/coursecatalog/drawpaint.htm;");
aI("text=Electrical Technology;url=http://www.warrennet.org/warrentech/coursecatalog/electech.htm;");
aI("text=English;url=http://www.warrennet.org/warrentech/coursecatalog/english.htm;");
aI("text=History of Film;url=http://www.warrennet.org/warrentech/coursecatalog/histfilm.htm;");
aI("text=Journalism;url=http://www.warrennet.org/warrentech/coursecatalog/journalism.htm;");
aI("text=Languages - Spanish;url=http://www.warrennet.org/warrentech/coursecatalog/language.htm");
aI("text=Math;url=http://www.warrennet.org/warrentech/coursecatalog/math.htm");
aI("text=Physical Ed/Health;url=http://www.warrennet.org/warrentech/coursecatalog/health.htm");
aI("text=Psychology;url=http://www.warrennet.org/warrentech/coursecatalog/psychology.htm;");
aI("text=Science;url=http://www.warrennet.org/warrentech/coursecatalog/science.htm;");
aI("text=Scriptwriting;url=http://www.warrennet.org/warrentech/coursecatalog/scriptwriting.htm;");
aI("text=Social Studies;url=http://www.warrennet.org/warrentech/coursecatalog/socialstudies.htm");
aI("text=Sociology;url=http://www.warrennet.org/warrentech/coursecatalog/sociology.htm;");
aI("text=Special Services Courses;url=http://www.warrennet.org/warrentech/coursecatalog/specialservices.htm");
aI("text=Web-Based Moodle-Online Courses;url=http://ettc.warrennet.org");
aI("text=World Events;url=http://www.warrennet.org/warrentech/coursecatalog/worldevents.htm;");
}

with(milonic=new menuname("Guidance")){
style=menuStyle;
aI("text=Admissions;url=http://www.warrennet.org/warrentech/generalinfo/WCTSApplication.pdf");
aI("text=Career & CIE Apprenticeship;url=http://www.warrennet.org/warrentech/generalinfo/CIE.htm");
aI("text=College Information;url=http://www.warrennet.org/warrentech/generalinfo/collegeinfo.htm");
aI("text=Special Needs & Services;url=http://www.warrennet.org/warrentech/generalinfo/specialservices.htm");
}

with(milonic=new menuname("Athletics")){
style=menuStyle;
aI("text=General Sports Information;url=http://www.warrennet.org/warrentech/generalinfo/sports.htm");
aI("text=Sports Teams & Coaches;url=http://ettc.warrennet.org/mod/resource/view.php?id=29");
aI("text=Sports Teams - Men's Schedules;url=http://ettc.warrennet.org/mod/resource/view.php?id=69");
aI("text=Sports Teams - Women's Schedules;url=http://ettc.warrennet.org/mod/resource/view.php?id=70");

}

with(milonic=new menuname("Classes")){
style=menuStyle;
aI("text=Adult Basic Education - GED;url=http://www.warrennet.org/wcce/classes.html");
aI("text=English as a Second Language;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Basic Electricity I;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Black Seal License-Low Pressure;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Black Seal License-High Pressure;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Blueprint Reading;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Electric Arc Welding;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Furniture Restoration & Refinishing;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Introduction to AutoCAD (Computer Aided Drafting);url=http://www.warrennet.org/wcce/classes.html");
aI("text=Introduction to PLCs;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Industrial Electricity I;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Industrial Electricity II;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Introduction to Computers;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Introduction to MS Word 2003;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Introduction to MS PowerPoint 2003;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Machine Tool Lab I;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Machine Tool Lab II;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Plumbing Apprenticeship Program;url=http://www.warrennet.org/wcce/classes.html");

aI("text=Costume Jewelry - History, Collecting, and Creating;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Defend Yourself;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Digital Photography - It's a Snap!;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Intermediate Line Dancing;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Kitchen Basics;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Lemon Delights;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Scrap Booking;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Spanish in the Work Place;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Real Estate Licensing;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Teen Cuisine;url=http://www.warrennet.org/wcce/classes.html");
aI("text=Winter Soups and Stews;url=http://www.warrennet.org/wcce/classes.html");

}

with(milonic=new menuname("AdultEd")){
style=menuStyle;
aI("showmenu=Classes;text=Table of Contents;");
aI("text=General Information;url=http://www.warrennet.org/wcce/index.html");
aI("text=Registration Information;url=http://www.warrennet.org/wcce/registration.html");
}


with(milonic=new menuname("AboutUS")){
style=menuStyle;

aI("text=Admissions;url=http://www.warrennet.org/warrentech/generalinfo/WCTSApplication.pdf");
aI("text=Board of Education;url=http://www.warrennet.org/warrentech/generalinfo/BOE.htm");
aI("text=County Library at WCTS;url=http://www.warrenlib.org");
aI("text=Directions;url=http://www.warrennet.org/warrentech/location.html");
aI("text=Homework Postings;url=http://www.warrennet.org/warrentech/contactinfo/staff-homework-list.htm");
aI("text=Maintenance & Custodial Staff;url=http://www.warrennet.org/warrentech/contactinfo/maintcust.htm");
aI("text=Parents & PTA;url=http://www.warrennet.org/wctspta/index.html");
aI("text=Professional Vacancies;url=http://blog.warrennet.org/wordpress1/?page_id=189");
aI("text=Sprouts Pre-School;url=http://www.warrennet.org/warrentech/generalinfo/sprouts.htm");
aI("text=Theater Arts Events;url=http://ettc.warrennet.org/mod/resource/view.php?id=36");
aI("text=WarrenNet Info & Support;url=http://www.warrennet.org/warrennet.html");
aI("text=Web-Based Moodle-Online Courses;url=http://ettc.warrennet.org");
}


with(milonic=new menuname("PostSec")){
style=menuStyle;
aI("text=Introduction;url=http://www.warrennet.org/warrentech/adultprograms.htm");
aI("text=Application Form 2010-11 Post-Secondary Programs;url=http://www.warrennet.org/warrentech/generalinfo/PostSecondaryApplication.pdf");
aI("text=Cosmetology;url=http://www.warrennet.org/warrentech/generalinfo/adultcosmo.htm");
aI("text=Heating, Ventilation, & Air Conditioning;url=http://www.warrennet.org/warrentech/generalinfo/adulthvac.htm");
aI("text=Practical Nursing/LPN;url=http://www.warrennet.org/warrentech/nursing.html");

}


with(milonic=new menuname("Career")){
style=menuStyle;
aI("showmenu=Shops;text=All Shops;");
aI("showmenu=Integrated Building Trades;text=Integrated Building Trades;");
aI("showmenu=Engineering & Design;text=Engineering & Design;");
aI("showmenu=Integrated Arts;text=Integrated Arts;");
aI("showmenu=Health Sciences;text=Health Sciences;");
}

with(milonic=new menuname("Shops")){
overflow="scroll";
style=menuStyle;

aI("text=Automotive Technology;url=http://blog.warrennet.org/wordpress1/?page_id=27")
aI("text=Business Management;url=http://blog.warrennet.org/wordpress1/?page_id=33")
aI("text=Child Development Program;url=http://blog.warrennet.org/wordpress1/?page_id=30")
aI("text=Commercial Art;url=http://blog.warrennet.org/wordpress1/?page_id=20")
aI("text=Construction Trades;url=http://blog.warrennet.org/wordpress1/?page_id=24")
aI("text=Cosmetology;url=http://blog.warrennet.org/wordpress1/?page_id=14")
aI("text=Electrical Applications;url=http://blog.warrennet.org/wordpress1/?page_id=25")
aI("text=Electronics with Robotics;url=http://blog.warrennet.org/wordpress1/?page_id=65")
aI("text=Engineering-General Technology;url=http://blog.warrennet.org/wordpress1/?page_id=12")
aI("text=Graphic Arts;url=http://blog.warrennet.org/wordpress1/?page_id=23")
aI("text=Health Science;url=http://blog.warrennet.org/wordpress1/?page_id=29")
aI("text=Hospitality, Administration & Management;url=http://blog.warrennet.org/wordpress1/?page_id=21")
aI("text=Law & Public Safety;url=http://blog.warrennet.org/wordpress1/?page_id=31")
aI("text=Performing Arts;url=http://blog.warrennet.org/wordpress1/?page_id=13")
aI("text=Steel Manufacturing;url=http://blog.warrennet.org/wordpress1/?page_id=26")
aI("text=Theater Arts;url=http://blog.warrennet.org/wordpress1/?page_id=13")
aI("text=TV, Radio & Digital Media;url=http://blog.warrennet.org/wordpress1/?page_id=22")

}

with(milonic=new menuname("Integrated Building Trades")){
overflow="scroll";
style=menuStyle;


aI("text=Business Management;url=http://blog.warrennet.org/wordpress1/?page_id=33")
aI("text=Construction Trades;url=http://blog.warrennet.org/wordpress1/?page_id=24")
aI("text=Electrical Applications;url=http://blog.warrennet.org/wordpress1/?page_id=25")
aI("text=Steel Manufacturing;url=http://blog.warrennet.org/wordpress1/?page_id=26")

}

with(milonic=new menuname("Engineering & Design")){
overflow="scroll";
style=menuStyle;

aI("text=Architecture & Engineering (Engineering Academy Sept 2010);url=http://blog.warrennet.org/wordpress1/?page_id=28")
aI("text=Automotive Technology;url=http://blog.warrennet.org/wordpress1/?page_id=27")
aI("text=Business Management;url=http://blog.warrennet.org/wordpress1/?page_id=33")
aI("text=Electrical Applications;url=http://blog.warrennet.org/wordpress1/?page_id=25")
aI("text=Electronics with Robotics;url=http://blog.warrennet.org/wordpress1/?page_id=65")
aI("text=Steel Manufacturing;url=http://blog.warrennet.org/wordpress1/?page_id=26")




}

with(milonic=new menuname("Integrated Arts")){
overflow="scroll";
style=menuStyle;

aI("text=Commercial Arts;url=http://blog.warrennet.org/wordpress1/?page_id=20")
aI("text=Cosmetology;url=http://blog.warrennet.org/wordpress1/?page_id=14")
aI("text=Graphics Arts;url=http://blog.warrennet.org/wordpress1/?page_id=23")
aI("text=Hospitality, Administration & Management;url=http://blog.warrennet.org/wordpress1/?page_id=21")
aI("text=Theater Arts;url=http://blog.warrennet.org/wordpress1/?page_id=13")
aI("text=TV, Radio & Digital Media;url=http://blog.warrennet.org/wordpress1/?page_id=22")
}

with(milonic=new menuname("Health Sciences")){
overflow="scroll";
style=menuStyle;
aI("text=Business Management;url=http://blog.warrennet.org/wordpress1/?page_id=33")
aI("text=Child Development;url=http://blog.warrennet.org/wordpress1/?page_id=30")
aI("text=Health Science;url=http://blog.warrennet.org/wordpress1/?page_id=29")
aI("text=Law & Public Safety;url=http://blog.warrennet.org/wordpress1/?page_id=31")


}




drawMenus();

/************Slide Show*****************/

      
/***********************************************
* Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
 
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["MainGallery/main01.jpg", "", ""]
fadeimages[1]=["MainGallery/main02.jpg", "", ""]
fadeimages[2]=["MainGallery/main03.jpg", "", ""]
fadeimages[3]=["MainGallery/main04.jpg", "", ""]
fadeimages[4]=["MainGallery/main05.jpg", "", ""]
fadeimages[5]=["MainGallery/main06.jpg", "", ""]
fadeimages[6]=["MainGallery/main07.jpg", "", ""]
fadeimages[7]=["MainGallery/main08.jpg", "", ""]
fadeimages[8]=["MainGallery/main09.jpg", "", ""]
fadeimages[9]=["MainGallery/main10.jpg", "", ""]
fadeimages[10]=["MainGallery/main11.jpg", "", ""]

var fadebgcolor="white"

////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
else if (obj.tempobj.style.opacity&&!obj.tempobj.filters)
obj.tempobj.style.opacity=obj.degree/101
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}




