


//rollover function for left side navigation
function rollOver(imName,over) {
    if (over) { document.images[imName].src = eval(imName + "2.src") }
         else { document.images[imName].src = eval(imName + "1.src") }
}
//rollover function for left side navigation in module levels
function rollOver2(imName,over) {
    if (over) { document.images[imName].src = eval("../" + imName + "2.src") }
         else { document.images[imName].src = eval("../" + imName + "1.src") }
}
//open window functions for try me, show me, and tell me
var infoWindow
function newWindow(url) {
	if (!infoWindow || infoWindow.closed) {
		infoWindow = window.open(url,"infoit","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=640,height=480,left=10,top=10");
     }
	 else {
		// window's already open; bring to front and update
		infoWindow = window.open(url,"infoit","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=640,height=480,left=10,top=10");
	 	infoWindow.focus();
	 }	
}
var tellWindow
function new_window(url) {
	if (!tellWindow || tellWindow.closed) {
		tellWindow = window.open(url,"tellit","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,height=400,width=550,left=10,top=10");
     }
	 else {
		// window's already open; bring to front and update
		tellWindow.close();
		tellWindow = window.open(url,"tellit","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,height=400,width=550,left=10,top=10");
	 }	
}
var tellWindow2
function new_window2(url) {
	if (!tellWindow2 || tellWindow2.closed) {
		tellWindow2 = window.open(url,"tellit2","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,height=400,width=360,left=10,top=10");
     }
	 else {
		// window's already open; bring to front and update
		tellWindow2.close();
		tellWindow2 = window.open(url,"tellit2","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,height=400,width=360,left=20,top=20");
	 }	
}
var showWindow
function show_window(url) {
	if (!showWindow || showWindow.closed) {
		showWindow = window.open(url,"showit","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,height=400,width=340,left=590,top=10");
     }
	 else {
		// window's already open; bring to front and update
		showWindow.close();
		showWindow = window.open(url,"showit","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,height=400,width=340,left=590,top=10"); 	
	 }	
}
var tryWindow
function openWindow(url,height,width) {
	if (!tryWindow || tryWindow.closed) {
		tryWindow = window.open(url,"tryit","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,left=150,top=30,height="+height+",width="+width);
     }
	 else {
		// window's already open; close,update,bring to front and update
		tryWindow.close();
		tryWindow = window.open(url,"tryit","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,left=150,top=30,height="+height+",width="+width);
	}	
}
var tryWindow2
function openWindow2(url,height,width) {
	if (!tryWindow2 || tryWindow2.closed) {
		tryWindow2 = window.open(url,"tryit2","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,left=200,top=100,height="+height+",width="+width);
     }
	 else {
		// window's already open; close,update,bring to front and update
		tryWindow2.close();
		tryWindow2 = window.open(url,"tryit2","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,left=200,top=100,height="+height+",width="+width);
	}	
}
var printForm
//for word documents
function openForm(url){
      if(!printForm || printForm.closed){
       printForm=window.open(url,"printForm","resizable,scrollbars,menubar,width=640,height=600");
	   }
	   else{
	   printForm.focus();
	   }
} 
var printForm2
//for word documents
function openForm2(url){
      if(!printForm2 || printForm2.closed){
       printForm2=window.open(url,"printForm2","resizable,scrollbars,menubar,width=640,height=640");
	   }
	   else{
	   printForm2.focus();
	   }
}
var popupWindow
// pop-up Window for index page referencing "Getting Started"
function popWindow(url,height,width) {
	if (!popupWindow || popupWindow.closed) {
		popupWindow = window.open(url,"popup","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,left=400,top=40,height="+height+",width="+width);
     }
	 else {
		// window's already open; close,update,bring to front and update
		popupWindow.close();
		popupWindow = window.open(url,"popup","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,left=00,top=40,height="+height+",width="+width);
	 }
}	 
var popupWindow2
// pop-up Window for tips in stress management
function popWindow2(url,height,width) {
	if (!popupWindow2 || popupWindow2.closed) {
		popupWindow2 = window.open(url,"popup2","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,left=400,top=20,height="+height+",width="+width);
     }
	 else {
		// window's already open; close,update,bring to front and update
		popupWindow2.close();
		popupWindow2 = window.open(url,"popup2","toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,left=400,top=20,height="+height+",width="+width);
	 }
}	





<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

<!-- Ticker Tape in Java Script .. Heavily Modified by Bill Welliver
//-- Original concept by Cameron Gregory cameron@corona.att.com
var tickertapeform
tt_speed=350
tt_len=35
tt_space="                                                                                                    "
tt_tid = 0;
tt_message="."
tt_c= -tt_len;

function move() {
cend=Math.min(tt_c+tt_len,tt_message.length)
if (tt_c <0)
cstart=0;
else
cstart=tt_c;
if (tt_c < 0)
tt_f.scroll.value=tt_space.substring(0,-tt_c) + tt_message.substring(cstart,cend)
else
tt_f.scroll.value=tt_message.substring(cstart,cend)
tt_c = tt_c +1;
if (tt_c == tt_message.length ) tt_c = -tt_len;
tt_tid=window.setTimeout("move()",tt_speed);
}

function tt_start(x) {
tt_f=x
tt_tid=window.setTimeout("move()",tt_speed);
}

function tt_cleartid() {
window.clearTimeout(tt_tid);
}

// for some reason on some pages this crashes netscape
function ticker(m,l,s)
{
tt_message=m
tt_len=l
tt_speed=s
document.write('<FORM name=tickertapeform><input name=scroll size=')
document.write(tt_len)
document.write(' value=""></FORM>')
tt_start(document.tickertapeform);
}

// for some reason on some pages this crashes netscape

function ticker(m) {
tt_message=m
tt_len=35
tt_speed=250
document.write('<FORM name=tickertapeform><input name=scroll size=35></FORM>');
tt_start(document.tickertapeform);
}

// end-->