/************************************************* Copyright 2006 - 2008 Tres Media Group, Inc. The code contained within cannot be reproduced or modified without the expressed permission of: Tres Media Group, Inc. 5105 Hwy 33 Farmingdale, NJ 07727 USA 732-751-0253 erik@tresware.com or dave@tresware.com *************************************************/ /************************************************* This file last updated: 5/23/2008 1:21:13 PM *************************************************/ // msgfade ie5 = (document.all && document.getElementById); ns6 = (!document.all && document.getElementById); var opac = 100; function fddiv() { if(opac>0) { opac-=10; if(ie5) document.getElementById('msgfade').filters.alpha.opacity = opac; if(ns6) document.getElementById('msgfade').style.MozOpacity = opac/100; setTimeout('fddiv()',100); } else { document.getElementById('msgfade').style.display = 'none'; } } // -- function ShowHide(thisId) { if(document.getElementById(thisId).style.display == 'none') { document.getElementById(thisId).style.display='block'; } else { document.getElementById(thisId).style.display='none'; } } // -- function imgSwap(thisId,img1,img2) { if(document.getElementById(thisId).src == ''+img1) { document.getElementById(thisId).src=img2; } else { document.getElementById(thisId).src=img1; } }