//JAVASCRIPT/||\BAR LOGON CLOCK AND SCROLLER

var scroller;
var actualTitle=document.title+""
var Digital=new Date();
var hours=Digital.getHours();
var minutes=Digital.getMinutes();
var seconds=Digital.getSeconds();
var dn="PM";
if(hours<12)dn="AM";
if(hours>12)hours=hours-12;
if(hours==0)hours=12;
if(minutes<=9)minutes="0"+minutes;
if(seconds<=9)seconds="0"+seconds;
var ctime=hours+":"+minutes+":"+seconds+" "+dn
function runPost(){
var scroller=" Page LogOn Time : "+ctime+" "
document.title=actualTitle+scroller
}
if(document.all||document.getElementById);
runPost();
if(document.all||document.getElementById){
var theTitle=document.title;
document.title=''
}
var data="";
var done=1;
function statusIn(text){
decrypt(text,2,1)
}
function statusOut(){
self.status='';
done=1
}
function decrypt(text,max,delay){
if(done){
done=0;
decrypt_helper(text,max,delay,0,max)
}
}
function decrypt_helper(text,runs_left,delay,charvar,max){
if(!done){
runs_left=runs_left-1;
var status=text.substring(0,charvar);
for(var current_char=charvar;current_char<text.length; current_char++){
status+=data.charAt(Math.round(Math.random()*data.length))
}
document.title=status;
var rerun="decrypt_helper('"+text+"',"+runs_left+","+delay+","+charvar+","+max+")"
var new_char=charvar+1;
var next_char="decrypt_helper('"+text+"',"+max+","+delay+","+new_char+","+max+")"
if(runs_left>0){
setTimeout(rerun,delay)
}
else{
if(charvar<text.length){
setTimeout(next_char,Math.round(delay*(charvar+3)/(charvar+1)))
}
else{
done=1
}
}
}
}
if(document.all||document.getElementById)statusIn(theTitle)
if(document.all||document.getElementById){
var pageTitle=document.title=actualTitle
}
if(document.all||document.getElementById){
var staticTitle=document.title;
var theTitle=document.title;document.title=''
}


//JAVASCRIPT/||\HIDE STATUS INFO

function hidestatus(){
window.status=''
return true
}
if(document.layers)document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus

// JAVASCRIPT/||\IMAGE ROLLOVER

var imgLst2=['http://www.freedivorceforms.net/map/images/'];
if(window.imgLst)for(i=0;i<imgLst.length;i++)imgLst2[imgLst2.length+i]=imgLst[i];
function imgLd(){
var List=new Array();
for(i=0;i<imgLst2.length;i++){
List[i]=new Image();
List[i].src=imgLst2[i]
}
}
function swapImg(name,img){
if(document.images)document.images[name].src=img;
}

//JAVASCRIPT/||\BORDERIMAGE

function borderIt(which,color){
if(document.all||document.getElementById)which.style.borderColor=color;
}


// JAVASCRIPT/||\LINK FADER SCRIPT

var linkFaderParameters=[
["bglnk","#AF18AF","#FF0000",15,20,40],
["txgc","#AF18AF","#FF0000",15,20,40],
["fnbl","#0000FF","#FF0000",15,20,40],
["men","#9C9A88","#B59B71",15,20,40],
["lnk","#C1C3E3","#A1AAFF",15,20,40],
["nav","#6A6AE0","#FB6367",15,20,40],
["rec","#898BE7","#FB5559",15,20,40],
["add","#0000FF","#FF0000",15,20,40],
["see","#AF18AF","#FF0000",15,20,40],
["aa","#AF18AF","#FF0000",15,20,40],
["cr","#008080","#FF0000",15,20,40],
["fn","#FF0000","#0000FF",15,20,40]]
var stepPerIt=0;
var delaySteps=0;
var colorID=0;
var currL=null;
var cntr=0;
var startColor=new Array();
var endColor=new Array();
var colSteps=new Array();
function colorSet(hexn){
var el=new Array();
for(i=1,n=0;i<7;i+=2,n++)el[n]=parseInt('0x'+hexn.substring(i,i+2));
return el
}
function calcSteps(){
for(i=0;i<3;i++){
colSteps[i]=Math.round((((endColor[i]-startColor[i])/stepPerIt)*100))/100
}
}
function copyArray(a){
var na=new Array();
for(i=0;i<a.length;i++)na[i]=a[i];
return na
}
function fadeLink(isH){
if(cntr<stepPerIt){
var color=copyArray(startColor);
var Red=Math.floor(color[0]+colSteps[0]*cntr).toString(16);
var Green=Math.floor(color[1]+colSteps[1]*cntr).toString(16);
var Blue=Math.floor(color[2]+colSteps[2]*cntr).toString(16);
if(Red.length==1)Red='0'+Red;
if(Green.length==1)Green='0'+Green;
if(Blue.length==1)Blue='0'+Blue;
currL.style.color=('#'+Red+Green+Blue);
cntr++
}
else{
clearInterval(colorID);
if(isH)currL.style.color=currL.EC;
else currL.style.color=currL.SC
}
}
function linkH(arg){
var ths=arg;
if(currL!=null)currL.style.color=currL.SC;
clearInterval(colorID);
cntr=1;
stepPerIt=ths.CCL;
startColor=new colorSet(ths.SC);
endColor=new colorSet(ths.EC);
calcSteps();
colorID=setInterval('fadeLink(true)',ths.FSH);
var x=ths.getAttribute('actionH');
if(x!='')eval(x);
currL=ths;
return false
}
function linkO(arg){
var ths=arg;
clearInterval(colorID);
cntr=1;
stepPerIt=ths.CCL;
startColor=new colorSet(ths.EC);
endColor=new colorSet(ths.SC);
calcSteps();
colorID=setInterval('fadeLink(false)',ths.FSO);
var x=ths.getAttribute('actionO');
if(x!='')eval(x);
currL=ths;
return false
}
function txtLnk(){
if(document.getElementsByTagName){
var ela=document.getElementsByTagName('A');
for(i=0;i<ela.length;i++){
for(f=0;f<linkFaderParameters.length;f++){
if(ela[i].className==linkFaderParameters[f][0]){
ela[i].n=f;
ela[i].SC=linkFaderParameters[f][1];
ela[i].EC=linkFaderParameters[f][2];
ela[i].CCL=linkFaderParameters[f][3];
ela[i].FSH=linkFaderParameters[f][4];
ela[i].FSO=linkFaderParameters[f][5];
ela[i].omv=ela[i].onmouseover;
ela[i].onmouseover=function(){
linkH(this);
if(typeof this.omv=="function")this.omv()
}
ela[i].omt=ela[i].onmouseout;
ela[i].onmouseout=function(){
linkO(this);
if(typeof this.omt=="function")this.omt()
}
}
}
}
var ea=document.getElementsByTagName('A');
for(i=0;i<ea.length;i++){
if(ea[i].getAttribute("au")!=null){
ea[i].omv=ea[i].onmouseover;
ea[i].omt=ea[i].onmouseout;
ea[i].onmouseover=function(){
engage(this.getAttribute("au"));
if(typeof this.omv=="function")this.omv()
}
ea[i].onmouseout=function(){
disengage(this.getAttribute("au"));
if(typeof this.omt=="function")this.omt()
}
}
}


/********************************************************************

Popup Windows - V 4.3
Author: Brian Gosselin
Site URL: http://scriptasylum.com
Read the "releasenotes.txt" for supported features and release notes.
Special Coding for freedivorcefoms.net

************** EDIT THE LINES BELOW AT YOUR OWN RISK ****************/
}
}

function testPageScroll(w,h,mX,mY){
var xyd=new Array();
var ww=(document.all)?document.body.clientWidth+document.body.scrollLeft:window.innerWidth+window.pageXOffset;
var wh=(document.all)?document.body.clientHeight+document.body.scrollTop:window.innerHeight+window.pageYOffset;
if(mX+w>=ww)mX=mX-40-w;
if(mY+h>=wh)mY=mY-20-h;
return [mX,mY]
}
function getMxMyID(){
var xyd=new Array();
xyd[0]=new Date().getTime();
var pumx=(mx)?mx+15:50;
var pumy=(my)?my+3:100;
xyd[1]=(document.all)?pumx+document.body.scrollLeft:pumx;
xyd[2]=(document.all)?pumy+document.body.scrollTop:pumy;
return xyd
}
function getPageScrollValues(){
var sxy=new Array();
sxy[0]=(document.all)?document.body.scrollLeft:window.pageXOffset;
sxy[1]=(document.all)?document.body.scrollTop:window.pageYOffset;
return sxy
}
var ns6OW=false;
var opacityRatio=.4;//SETS THE LEVEL OF SHADOW TRANSPARENCY.
var w3c=(document.getElementById)? true:false;
var ns4=(document.layers)?true:false;
var ie5=(w3c && document.all)? true:false;
var ns6=(w3c && !document.all)? true:false;
var d=document;
currIDb=null;xoff=0;yoff=0;
currRS=null;rsxoff=0;rsyoff=0;
oldac=null;newac=null;zdx=1;mx=0;my=0;
function preloadBttns(){
var btns=new Array();
btns[0]=new Image();btns[0].src="";
btns[1]=new Image();btns[1].src="";
btns[2]=new Image();btns[2].src="";
btns[3]=new Image();btns[3].src=""
}
preloadBttns();
function hidebox(id){
if(w3c){
d.getElementById(id+'_b').style.display='none';
d.getElementById(id+'_s').style.display='none'
}
}
function showbox(id){
if(w3c){
var bx=d.getElementById(id+'_b');
var sh=d.getElementById(id+'_s');
bx.style.display='block';
sh.style.display='block';
sh.style.zIndex=++zdx;
bx.style.zIndex=++zdx;
changez(bx)
}
}
function changecontent(id,text){
if(!document.getElementById(id+'_b').isExt){
var d=document.getElementById(id+'_c');
if(ns6)d.style.overflow="hidden";
d.innerHTML=text;
if(ns6)d.style.overflow="block"
}
else document.getElementById(id+'_ifrm').src=text
}
function movebox(id,x,y){
if(w3c){
var bx=d.getElementById(id+'_b');
var sh=d.getElementById(id+'_s');
bx.style.left=x+'px';
bx.style.top=y+'px';
sh.style.left=x+8+'px';
sh.style.top=y+8+'px'
}
}
function minimize(){
if(w3c){
d.getElementById(this.cid+"_b").style.height=(ie5)? '28px':'24px';
d.getElementById(this.cid+"_s").style.height='28px';
d.getElementById(this.cid+"_c").style.display='none';
d.getElementById(this.cid+"_rs").style.display='none';
ns6bugfix()
}
}
function restore(){
if(w3c){
d.getElementById(this.cid+"_b").style.height=this.h+'px';
d.getElementById(this.cid+"_s").style.height=(ie5)? this.h+'px':this.h+5+'px';
d.getElementById(this.cid+"_c").style.display='block';
d.getElementById(this.cid+"_rs").style.display='block';
ns6bugfix()
}
}
function ns6bugfix(){
if(navigator.userAgent.indexOf("Netscape/6")>0) setTimeout('self.resizeBy(0,1);self.resizeBy(0,-1);',100)
}
function trackmouse(evt){
mx=(!ie5)?evt.pageX:event.clientX//+d.body.scrollLeft;
my=(!ie5)?evt.pageY:event.clientY//+d.body.scrollTop;
if(!ns6)movepopup();
if((currIDb!=null)||(currRS!=null))return false
}
function movepopup(){
if((currIDb!=null)&&w3c){
var x=mx+xoff;
var y=my+yoff;
currIDb.style.left=x+'px';
currIDs.style.left=x+8+'px';
currIDb.style.top=y+'px';
currIDs.style.top=y+8+'px'
}
if((currRS!=null)&&w3c){
var rx=mx+rsxoff;
var ry=my+rsyoff;
var c=currRS;
d.gEl=d.getElementById;
d.gEl(c.cid+"_extWA").style.display="block";
c.style.left=Math.max(rx,((ie5)?146:150))+'px';
c.style.top=Math.max(ry,((ie5)?68:72))+'px';
d.gEl(c.cid+"_b").style.width=Math.max(rx+((ie5)?12:8),158)+'px';
d.gEl(c.cid+"_b").style.height=Math.max(ry+((ie5)?12:8),80)+'px';
d.gEl(c.cid+"_t").style.width=Math.max(rx+((ie5)?4:3),((ns6)?153:150))+'px';
d.gEl(c.cid+"_btt").style.left=parseInt(d.gEl(c.cid+"_t").style.width)-48+'px';
d.gEl(c.cid+"_s").style.width=Math.max(rx+12,((ie5)?158:162))+'px';
d.gEl(c.cid+"_s").style.height=Math.max(ry+((ie5)?12:13),((ie5)?80:86))+'px';
d.gEl(c.cid+"_c").style.width=Math.max(rx-((ie5)?-5:5),((ie5)?150:145))+'px';
d.gEl(c.cid+"_c").style.height=Math.max(ry-((ie5)?24:28),44)+'px';
d.gEl(c.cid+"_max").h=parseInt(d.gEl(c.cid+"_b").style.height)
}
return false
}
function stopRS(){
d.getElementById(this.cid+"_extWA").style.display="none";
currRS=null
}
function startRS(evt){
var ex=(!ie5)?evt.pageX:event.clientX//+d.body.scrollLeft;
var ey=(!ie5)?evt.pageY:event.clientY//+d.body.scrollTop:evt.pageY;
rsxoff=parseInt(this.style.left)-ex;
rsyoff=parseInt(this.style.top)-ey;
currRS=this;
if(ns6)d.getElementById(this.cid+"_c").style.overflow='hidden';
return false
}
function changez(v){
var th=(v!=null)?v:this;
if(oldac!=null)d.getElementById(oldac.cid+"_t").style.backgroundColor=oldac.inactivecolor;
oldac=th;
d.getElementById(th.cid+"_t").style.backgroundColor=th.activecolor;
d.getElementById(th.cid+"_s").style.zIndex=++zdx;
th.style.zIndex=++zdx;
d.getElementById(th.cid+"_rs").style.zIndex=++zdx
}
function stopdrag(){
currIDb=null;
document.getElementById(this.cid+"_extWA").style.display="none";
ns6bugfix()
}
function grab_id(evt){
var ex=(!ie5)?evt.pageX:event.clientX//+d.body.scrollLeft;
var ey=(!ie5)?evt.pageY:event.clientY//+d.body.scrollTop:evt.pageY;
xoff=parseInt(d.getElementById(this.cid+"_b").style.left)-ex;
yoff=parseInt(d.getElementById(this.cid+"_b").style.top)-ey;
currIDb=d.getElementById(this.cid+"_b");
currIDs=d.getElementById(this.cid+"_s");
d.getElementById(this.cid+"_extWA").style.display="block";
return false
}
function subBox(x,y,w,h,bgc,id){
var v=d.createElement('div');
v.setAttribute('id',id);
v.style.position='absolute';
v.style.left=x+'px';
v.style.top=y+'px';
v.style.width=w+'px';
v.style.height=h+'px';
if(bgc!='')v.style.backgroundColor=bgc;
v.style.visibility='visible';
v.style.padding='0px';
return v
}
function get_cookie(Name){
var search=Name+"=";
var returnvalue="";
if(d.cookie.length>0){
offset=d.cookie.indexOf(search);
if(offset!=-1){
offset+=search.length;
end=d.cookie.indexOf(";",offset);
if(end==-1)end=d.cookie.length;
returnvalue=unescape(d.cookie.substring(offset,end))
}
}
return returnvalue
}
function popUp(x,y,w,h,cid,text,bgcolor,textcolor,fontstyleset,title,titlecolor,titletextcolor,bordercolor,scrollcolor,shadowcolor,showonstart,isdrag,isresize,oldOK,isExt,popOnce, sbfc, sbhlc, sbdsc, sbsc, sb3dc, sbac, sbtc){
var okPopUp=false;
if(popOnce){
if(get_cookie(cid)==""){
okPopUp=true;
d.cookie=cid+"=yes"
}
}
else okPopUp=true;
if(okPopUp){
if(ns6)w3c=(ns6OW && isExt)?false:true;
if(w3c){
w=Math.max(w,160);
h=Math.max(h,80);
var rdiv=new subBox(w-((ie5)?12:8),h-((ie5)?12:8),7,7,'',cid+'_rs');
if(isresize){
rdiv.innerHTML='<img src="" width=7 height=7>';
rdiv.style.cursor='move'
}
var tw=(ie5)?w:w+4;
var th=(ie5)?h:h+6;
var shadow=new subBox(x+8,y+8,tw,th,shadowcolor,cid+'_s');
if(ie5)shadow.style.filter="alpha(opacity="+(opacityRatio*100)+")";
else{
if(isExt)shadow.style.backgroundColor="";
else shadow.style.MozOpacity=opacityRatio
}
shadow.style.zIndex=++zdx;
var outerdiv=new subBox(x,y,w,h,bordercolor,cid+'_b');
outerdiv.style.borderStyle="outset";
outerdiv.style.borderWidth="2px";
outerdiv.style.borderColor=bordercolor;
outerdiv.style.zIndex=++zdx;
tw=(ie5)?w-8:w-5;
th=(ie5)?h+4:h-4;
var titlebar=new subBox(2,2,tw,20,titlecolor,cid+'_t');
titlebar.style.overflow="hidden";
titlebar.style.cursor="default";
var tmp=(isresize)?'<img src="" width=16 height=16 id="'+cid+'_min"><img src="" width=16 height=16 id="'+cid+'_max">':'';
titlebar.innerHTML='<span style="position:absolute;left:3px;top:1px;font:bold 10pt sans-serif;color:'+titletextcolor+';height:18px;overflow:hidden;clip-height:16px">'+title+'</span><div id="'+cid+'_btt" style="position:absolute; width:48px; height:16px; left:'+(tw-48)+'px; top:2px; text-align:right">'+tmp+'<img src="" width=16 height=16 id="'+cid+'_cls"></div>';
tw=(ie5)?w-7:w-13;
var content=new subBox(2,24,tw,h-36,bgcolor,cid+'_c');
content.style.borderColor=bordercolor;
content.style.borderWidth="2px";
if(isExt){
content.innerHTML='<iframe id="'+cid+'_ifrm" src="'+text+'" width="100%" height="100%"></iframe>';
content.style.overflow="hidden"
}
else{
if(ie5){
content.style.scrollbarFaceColor=sbfc;
content.style.scrollbarHighlightColor=sbhlc;
content.style.scrollbarDarkShadowColor=sbdsc;
content.style.scrollbarShadowColor=sbsc;
content.style.scrollbar3dLightColor=sb3dc;
content.style.scrollbarArrowColor=sbac;
content.style.scrollbarTrackColor=sbtc
}
content.style.borderStyle="inset";
content.style.overflow="auto";
content.style.padding="0px 2px 0px 4px";
content.innerHTML=text;
content.style.font=fontstyleset;
content.style.color=textcolor
}
var extWA=new subBox(2,24,0,0,'',cid+'_extWA');
extWA.style.display="none";
extWA.style.width='100%';
extWA.style.height='100%';
outerdiv.appendChild(titlebar);
outerdiv.appendChild(content);
outerdiv.appendChild(extWA);
outerdiv.appendChild(rdiv);
d.body.appendChild(shadow);
d.body.appendChild(outerdiv);
d.gEl=d.getElementById;
if(!showonstart)hidebox(cid);
var wB=d.gEl(cid+'_b');
wB.cid=cid;
wB.isExt=(isExt)?true:false;
var wT=d.gEl(cid+'_t');
wT.cid=cid;
if(isresize){
var wRS=d.gEl(cid+'_rs');
wRS.cid=cid;
var wMIN=d.gEl(cid+'_min');
wMIN.cid=cid;
var wMAX=d.gEl(cid+'_max');
wMAX.h=h;
wMAX.cid=cid;
wMIN.onclick=minimize;
wMAX.onclick=restore;
wRS.onmousedown=startRS;
wRS.onmouseup=stopRS
}
var wCLS=d.gEl(cid+'_cls');//8
var wEXTWA=d.gEl(cid+'_extWA');//11
wB.activecolor=titlecolor;
wB.inactivecolor=scrollcolor;
if(oldac!=null)d.gEl(oldac.cid+"_t").style.backgroundColor=oldac.inactivecolor;
oldac=wB;
wCLS.onclick=new Function("hidebox('"+cid+"')");
wB.onmousedown=function(){
changez(this)
}
if(isdrag){
wT.onmousedown=grab_id;
wT.onmouseup=stopdrag
}
}
else{
if(oldOK){
var ctr=new Date();
ctr=ctr.getTime();
var t=(isExt)?text:'';
var posn=(true)? 'screenX='+x+',screenY='+y:'left='+x+',top='+y;
var win=window.open(t,"abc"+ctr,"status=no,menubar=no,width="+w+",height="+h+",resizable="+((isresize)?"yes":"no")+",scrollbars=yes,"+posn);
if(!isExt){
t='<html><head><title>'+title+'</title></head><body bgcolor="'+bgcolor+'"><font style="font:'+fontstyleset+';color:'+textcolor+'">'+text+'</font></body></html>';
win.document.write(t);
win.document.close()
}
if(ns6)w3c=true}
}
}
}
if(ns6)setInterval('movepopup()',40);
function initPOPUP(){
if(w3c){
d.onmouseup=new Function("currRS=null")
}
}

//JAVASCRIPT/||\FADING TOOLTIP SCRIPT

var dofade=true;
var centertext=true;
var xoffset=9;
var yoffset=25;
var mousefollow=false;
var hideDelay=300;
var PL=false;
function altProps(){
this.w3c=(document.getElementById)?true:false;
this.ns4=(document.layers)?true:false;
this.ie4=(document.all && !this.w3c)?true:false;
this.ie5=(document.all && this.w3c)?true:false;
this.ns6=(this.w3c && navigator.appName.indexOf("Netscape")>=0 )?true:false;
this.w_y=0;
this.w_x=0;
this.navtxt=null;
this.boxheight=0;
this.boxwidth=0;
this.ishover=false;
this.ieop=0;
this.op_id=0;
this.oktomove=false;
this.dy=0
}
var AT=new altProps();
function toggle_centertext(){
centertext=!centertext
}
function toggle_mousefollow(){
mousefollow=!mousefollow
}
function toggle_dofade(){
dofade=!dofade;
if(!dofade)AT.ieop=100
}
function getwindowdims(){
AT.w_y=(AT.ie5||AT.ie4)?document.body.clientHeight:window.innerHeight;
AT.w_x=(AT.ie5||AT.ie4)?document.body.clientWidth:window.innerWidth
}
function getboxwidth(){
if(AT.ns4)AT.boxwidth=(AT.navtxt.document.width)? AT.navtxt.document.width:AT.navtxt.clip.width;
else if(AT.ie4)AT.boxwidth=(AT.navtxt.style.pixelWidth)? AT.navtxt.style.pixelWidth : AT.navtxt.offsetWidth;
else AT.boxwidth=(AT.navtxt.style.width)? parseInt(AT.navtxt.style.width):parseInt(AT.navtxt.offsetWidth)
}
function getboxheight(){
if(AT.ns4)AT.boxheight=(AT.navtxt.document.height)? AT.navtxt.document.height:AT.navtxt.clip.height;
else if(AT.ie4)AT.boxheight=(AT.navtxt.style.pixelHeight)? AT.navtxt.style.pixelHeight:AT.navtxt.offsetHeight;
else AT.boxheight=parseInt(AT.navtxt.offsetHeight)
}
function movenavtxt(x,y){
if(AT.ns4)AT.navtxt.moveTo(x,y);
else{
AT.navtxt.style.left=x+'px';
AT.navtxt.style.top=y+'px'
}
}
function getpagescrolly(){
if(AT.ie5||AT.ie4)return document.body.scrollTop;
else return window.pageYOffset
}
function getpagescrollx(){
if(AT.ie5||AT.ie4)return document.body.scrollLeft;
else return window.pageXOffset;
}
function writeindiv(text){
if(AT.ns4){
AT.navtxt.document.open();
AT.navtxt.document.write(text);
AT.navtxt.document.close()
}
else AT.navtxt.innerHTML=text
}
function writetxt(text){
if(PL){
if(dofade && (AT.ie4||AT.w3c))clearInterval(AT.op_id);
if(text!=0){
if(!mousefollow)clearTimeout(AT.dy);
AT.oktomove=true;
AT.ishover=true;
if(AT.w3c||AT.ie4)AT.navtxt.style.textAlign=(centertext)?"center":"left";
writeindiv(text);
if(AT.ns4)AT.navtxt.visibility="show";
else{
AT.navtxt.style.visibility="visible";
AT.navtxt.style.display="block"
}
getboxheight();
if((AT.w3c||AT.ie4) && dofade){
if(AT.ie4||AT.ie5)AT.navtxt.style.filter="alpha(opacity=0)";
if(AT.ns6)AT.navtxt.style.MozOpacity=0;
AT.ieop=0;
AT.op_id=setInterval('incropacity()',30)
}
}
else{
if(mousefollow)hideAlttxt();
else AT.dy=setTimeout('hideAlttxt()',hideDelay)
}
}
}
function hideAlttxt(){
if(AT.ns4)AT.navtxt.visibility="hide";
else{
AT.navtxt.style.display="none";
AT.navtxt.style.visibility="hidden"
}
movenavtxt(-AT.boxwidth-10,0);
writeindiv('')
}
function incropacity(){
if(AT.ieop<=100){
AT.ieop+=7;
if(AT.ie4||AT.ie5)AT.navtxt.style.filter="alpha(opacity="+AT.ieop+")";
if(AT.ns6)AT.navtxt.style.MozOpacity=AT.ieop/100
}
else clearInterval(AT.op_id)
}
function moveobj(evt){
mx=(document.all)?event.clientX:evt.pageX;
my=(document.all)?event.clientY:evt.pageY;
if(AT.ishover && AT.oktomove){
margin=(AT.ie4||AT.ie5)?5:25;
if(AT.ns6)if(document.height+27-window.innerHeight<0)margin=15;
if(AT.ns4)if(document.height-window.innerHeight<0)margin=10;
if(AT.ns4||AT.ns6)mx-=getpagescrollx();
if(AT.ns4)my-=getpagescrolly();
xoff=mx+xoffset;
yoff=(my+AT.boxheight+yoffset-((AT.ns6)?getpagescrolly():0)>=AT.w_y)? -5-AT.boxheight-yoffset: yoffset;
movenavtxt( Math.min(AT.w_x-AT.boxwidth-margin,Math.max(2,xoff))+getpagescrollx(), my+yoff+((!AT.ns6)?getpagescrolly():0));
if(!mousefollow)AT.oktomove=false
}
if(!ns6)movepopup();
if((currIDb!=null)||(currRS!=null))return false
}
function altTxt(){
AT.navtxt=(AT.ns4)?document.layers['navtxt']:(AT.ie4)?document.all['navtxt']:(AT.w3c)?document.getElementById('navtxt'):null;
getboxwidth();
getboxheight();
getwindowdims();
if(AT.ie4||AT.ie5&&dofade)AT.navtxt.style.filter="alpha(opacity=100)";
AT.navtxt.onmouseover=function(){
if(!mousefollow)clearTimeout(AT.dy)
}
AT.navtxt.onmouseout=function(){
if(!mousefollow)AT.dy=setTimeout('hideAlttxt()',hideDelay)
}
if(AT.ns4)document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=moveobj;
window.onresize=getwindowdims;
PL=true
}


//JAVASCRIPT/||\OPEN WINDOW /\ UNSIZABLE 

function docWin(page,name,w,h,scroll,pos){
if(pos=="random"){
LeftPosition=(screen.availWidth)?Math.floor(Math.random()*(screen.availWidth-w)):50;
TopPosition=(screen.availHeight)?Math.floor(Math.random()*((screen.availHeight-h)-75)):50
}
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=150;
TopPosition=78
}
else if((pos!="center" && pos!="random" && pos!="default") || pos==null){
LeftPosition=150;
TopPosition=78
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(page,name,settings)
if(win.focus){
win.focus()
}
}


//JAVASCRIPT/||\OPEN WINDOW /\ RESIZABLE

function newWin(page,name,w,h,scroll,pos){
if(pos=="random"){
LeftPosition=(screen.availWidth)?Math.floor(Math.random()*(screen.availWidth-w)):50;
TopPosition=(screen.availHeight)?Math.floor(Math.random()*((screen.availHeight-h)-75)):50
}
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=150;
TopPosition=78
}
else if((pos!="center" && pos!="random" && pos!="default") || pos==null){
LeftPosition=150;
TopPosition=78
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(page,name,settings)
if(win.focus){
win.focus()
}
}


//JAVASCRIPT/||\OPEN WINDOW /\ OUTSIDE LINK

function outWin(page,name,w,h,scroll,pos){
if(pos=="random"){
LeftPosition=(screen.availWidth)?Math.floor(Math.random()*(screen.availWidth-w)):50;
TopPosition=(screen.availHeight)?Math.floor(Math.random()*((screen.availHeight-h)-75)):50
}
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=150;
TopPosition=78
}
else if((pos!="center" && pos!="random" && pos!="default") || pos==null){
LeftPosition=150;
TopPosition=78
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=yes,resizable=yes';
win=window.open(page,name,settings)
if(win.focus){
win.focus()
}
}


function CloseWin(){
if(win!=null && win.open)
win.close()
}


//JAVASCRIPT/||\PAC WINDOW

function pacwinIn(inURL,winName){
var fscn=(document.all)? 'fullscreen=yes':"width='+(screen.width-5)',height='+(screen.height-50)'";
var t=(document.layers)? 'screenX=0,screenY=0':'left=0,top=0';
var x=window.open(''+"?"+inURL,winName,'scrollbars=no,'+fscn+',toolbar=no,status=no,menubar=no,links=no,resizable=no,'+t);
x.focus()
}
function pacwinOt(otURL,winName){
var fscn=(document.all)? 'fullscreen=yes':"width='+(screen.width-5)',height='+(screen.height-50)'";
var t=(document.layers)? 'screenX=0,screenY=0':'left=0,top=0';
var x=window.open(''+"?"+otURL,winName,'scrollbars=no,'+fscn+',toolbar=no,status=no,menubar=no,links=no,resizable=no,'+t);
x.focus()
}


//JAVASCRIPT/||\COMMON WINDOW FUNCTIONS

function openPac(){
if(confirm("Are you sure you want to Free Divorce Forms Site?")) outWin('http://freedivorceforms.net/','fdfpac','800','600','no','center')
}
function mailIt(){
if(document.all)window.navigate('mailto:?subject=A link from Barry Smith &body=I thought you may be interested in this information: '+this.window.location)
else alert('This Function is Optimized for MicroSoft Internet Explorer')
}
function markIt(){
if(document.all)window.external.AddFavorite(location.href,staticTitle);
else alert('You must Press CTRL + D to Bookmark this Page')
}
function closePage(){
if(confirm("Are you sure you want to Close this Page?"))top.window.close()
}


