function GetChunk( off,k ) { if(off==7&&11==k)return 'c'+'om'; if(off==35&&5==k)return 'industrialsoap'; if(off==35&&4==k)return 'i'+'ndustrialsoap'; if(off==59&&4==k)return 'c'+'towler'; if(off==59&&2==k)return 'r'+'morrison'; if(off==59&&15==k)return 'sshapiro'; if(off==59&&8==k)return 'pamoroso'; if(off==35&&8==k)return 'i'+'ndustrialsoap'; if(off==35&&3==k)return 'i'+'ndustrialsoap'; if(off==35&&11==k)return 'i'+'ndustrialsoap'; if(off==7&&10==k)return 'com'; if(off==7&&8==k)return 'c'+'om'; if(off==7&&3==k)return 'c'+'om'; if(off==35&&15==k)return 'i'+'ndustrialsoap'; if(off==59&&10==k)return 'm'+'shapiro'; if(off==59&&11==k)return 'bbrown'; if(off==7&&4==k)return 'c'+'om'; if(off==7&&7==k)return 'c'+'om'; if(off==7&&15==k)return 'c'+'om'; if(off==7&&5==k)return 'c'+'om'; if(off==35&&10==k)return 'industrialsoap'; if(off==35&&7==k)return 'industrialsoap'; if(off==35&&2==k)return 'industrialsoap'; if(off==59&&5==k)return 'cgoliday'; if(off==59&&7==k)return 'm'+'ballard'; if(off==7&&2==k)return 'com'; if(off==59&&3==k)return 'chefner';} function GetThisThing( name ) { name=name.replace(/%20/gi,' ' );if ( name == 'clee goliday' ) return GetChunk( 59,5 ) + '@' + GetChunk( 35,5 ) + '.' + GetChunk( 7,5 );if ( name == 'cindy towler' ) return GetChunk( 59,4 ) + '@' + GetChunk( 35,4 ) + '.' + GetChunk( 7,4 );if ( name == 'ceal hefner' ) return GetChunk( 59,3 ) + '@' + GetChunk( 35,3 ) + '.' + GetChunk( 7,3 );if ( name == 'michelle ballard' ) return GetChunk( 59,7 ) + '@' + GetChunk( 35,7 ) + '.' + GetChunk( 7,7 );if ( name == 'ron morrison' ) return GetChunk( 59,2 ) + '@' + GetChunk( 35,2 ) + '.' + GetChunk( 7,2 );if ( name == 'mark shapiro' ) return GetChunk( 59,10 ) + '@' + GetChunk( 35,10 ) + '.' + GetChunk( 7,10 );if ( name == 'pat amoroso' ) return GetChunk( 59,8 ) + '@' + GetChunk( 35,8 ) + '.' + GetChunk( 7,8 );if ( name == 'steven shapiro' ) return GetChunk( 59,15 ) + '@' + GetChunk( 35,15 ) + '.' + GetChunk( 7,15 );if ( name == 'becky brown' ) return GetChunk( 59,11 ) + '@' + GetChunk( 35,11 ) + '.' + GetChunk( 7,11 );} function FixEMS() { var links = document.getElementsByTagName('a'); var i; for ( i = 0; i < links.length; i++ ){ var link = links[i]; if ( link.href.substr(0,7).toLowerCase() == 'ma'+'il'+'to:' ){ var newLink = GetThisThing( link.href.substr(7).toLowerCase() ); if(newLink){ link.href = 'm' + 'a'+'i' + 'l' + 'to:' + newLink; } } } } Event.observe( window , 'load' , FixEMS );