function ShowPic(src,imgMain,hfSrc){try{$('BigPic').parentNode.removeChild($('BigPic'));}
catch(err){}
$(imgMain).src=src+'&w=350&h=263';$(hfSrc).value=src;try{UnClipAll();}
catch(err){}
}
function ZoomPic(src){try{$('BigPic').parentNode.removeChild($('BigPic'));}
catch(err){}
var BigPic=document.createElement('div');BigPic.innerHTML='<img style="position:absolute;top:0px;left:0px;cursor:pointer;" id="BigPic" onclick="KillPic(this);" src="'+src+'&w=500" onmouseover="ShowToolTip(\'Click to Close\');" onmouseout="HideToolTip();" />';$('AJAXArea').appendChild(BigPic);try{ClipAll(BigPic.childNodes[0]);}
catch(err){}
}
function KillPic(BigPic){BigPic.parentNode.removeChild(BigPic);HideToolTip();try{UnClipAll();}
catch(err){}
}
function Strip(raw){var stripped=' ';var strValidChars = "0123456789.";for(i=1;i<=raw.length;i++){if (strValidChars.indexOf(raw.substring(i-1,i)) > -1){stripped += raw.substring(i-1,i);}
}
var decKill = stripped.split('.');for(i=0;i<decKill.length;i++){if(i==0){stripped = decKill[i] + '.';}
else{stripped += decKill[i];}
}
if(stripped.lastIndexOf('.') == stripped.length - 1){stripped = stripped.substring(0,stripped.length -1);}
return stripped.replace(' ','');}
