// JavaScript Document

function createWindow(cUrl,cName,cFeatures) {
var xWin = window.open(cUrl,cName,cFeatures)
}

/*
Script posted and featured on
JsMadeEasy.com
*/

function display_image(selectionname,PictureTitle,ImgWidth,ImgHeight) {

//RH added image height and width passed from HREF
//also left=" +(screen.width - ImgWidth)/2 to center window

PreView = window.open("", "", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,copyhistory=0,width=" + ImgWidth + ",height=" + ImgHeight +",top=20, left=" +(screen.width - ImgWidth)/2);
PreView.document.open();
PreView.document.write("<HTML><HEAD>");
PreView.document.write("<TITLE>" + PictureTitle +"</TITLE>");
PreView.document.write("</HEAD><BODY BGCOLOR=FFFFFF TEXT=000000>");
//RH Following line will close popup when lost focus
PreView.document.write("<BODY onBlur=window.close()>");
PreView.document.write("<FORM><CENTER><B><FONT SIZE=+1>" + PictureTitle + "</FONT></B><HR>");
PreView.document.write("<IMG HSPACE=0 VSPACE=0 " +
"SRC='" + selectionname + "'>");
PreView.document.write("<HR><FORM><INPUT TYPE='button' VALUE='Close' " +
"onClick='window.close()'></FORM>");
PreView.document.write("</CENTER>");
PreView.document.write("</BODY></HTML>");
PreView.document.close();
    }


//Put on the web page for any function
//<SCRIPT>which()<\/SCRIPT>&nbsp;


//scramble email
function jscramble(k,f,b,j)
{
// each variable must be on a separate line for Netscape 4	
  var a
  var b
  var c
  var d
  var e
  var f
  var g
  var h
  var i
  var j
  var k	
 
 a='<a href=\"mai'
  c='\">'
 a+='lto:'
 b+='@'
 e='</a>'
  b+=j
 b+="."
 b+=k
 g='<img src=\"'
 h=''
 i='\" alt="Email" border="0">'
 if (f) d=f
 else if (h) d=g+h+i
 else d='Email'
 document.write(a+b+c+d+e)
}

//For single use
//<SCRIPT>jscramble('ext','realname','address','domain')<\/SCRIPT>&nbsp;



//email format
function who()
{
jscramble('ext','realname','address','domain')
}

function programs()
{

var cry1=String.fromCharCode(109,97,105,108,116,111,58);document.write("<a href=\"");document.write(cry1);document.write("deacaf");document.write(String.fromCharCode(15+49));
document.write("yahoo.com");
document.write("\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
document.write("Dea Steigner - Programs ");
document.write("</a>");

document.write(" or ");

var cry1=String.fromCharCode(109,97,105,108,116,111,58);document.write("<a href=\"");document.write(cry1);document.write("souzapellow");document.write(String.fromCharCode(43+21));
document.write("comcast.net");
document.write("\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
document.write("Patricia Souza - Programs ");
document.write("</a>");

}

function publicpolicy()
{
jscramble('org','Public Policy','publicpolicy','aauwpetaluma')
}

function hermana()
{

var cry1=String.fromCharCode(109,97,105,108,116,111,58);document.write("<a href=\"");document.write(cry1);document.write("aauw");document.write(String.fromCharCode(27+37));
document.write("rorymail.com");
document.write("\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
document.write("Sister ");
document.write("</a>");

}


function sister()
{

var cry1=String.fromCharCode(109,97,105,108,116,111,58);document.write("<a href=\"");document.write(cry1);document.write("aauw");document.write(String.fromCharCode(27+37));
document.write("rorymail.com");
document.write("\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
document.write("Sister ");
document.write("</a>");

}

function sections()
{

var cry1=String.fromCharCode(109,97,105,108,116,111,58);document.write("<a href=\"");document.write(cry1);document.write("pkshribbs");document.write(String.fromCharCode(38+26));
document.write("comcast.net");
document.write("\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
document.write("Patty Shribbs - Sections ");
document.write("</a>");

}

function committees()
{
jscramble('org?subject=AAUW_committees','Committees','committees','aauwpetaluma')
}

function web()
{
jscramble('org','Webmaster','AAUW2web','aauwpetaluma')
}

function membership()
{

var cry1=String.fromCharCode(109,97,105,108,116,111,58);document.write("<a href=\"");document.write(cry1);document.write("parill");document.write(String.fromCharCode(2+62));
document.write("sbcglobal.net");
document.write("\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
document.write("Pat Riley - Membership ");
document.write("</a>");

}

function president()
{

var cry1=String.fromCharCode(109,97,105,108,116,111,58);document.write("<a href=\"");document.write(cry1);document.write("d.tolks");document.write(String.fromCharCode(23+41));
document.write("comcast.net");
document.write("\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
document.write("Doris Tolks, President ");
document.write("</a>");
}

function finance()
{
var cry1=String.fromCharCode(109,97,105,108,116,111,58);document.write("<a href=\"");document.write(cry1);document.write("leflerpet");document.write(String.fromCharCode(12+52));
document.write("comcast.net");
document.write("\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
document.write("Nancy Lefler - Finance ");
document.write("</a>");
}


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) { //v3.0
  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); 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];}
}

