<Script language=javascript>
function ViewPhoto(PhotoUrl){
var strHtml;
var FileExt=PhotoUrl.substr(PhotoUrl.lastIndexOf('.')+1).toLowerCase();
if(FileExt=='gif'||FileExt=='jpg'||FileExt=='png'||FileExt=='bmp'||FileExt=='jpeg'){
strHtml="

";
}else if(FileExt=='swf'){
strHtml="
";
}else{
strHtml=PhotoUrl;
}
imgBox.innerHTML=strHtml;
}
ViewPhoto('/Photo/ddddddf/200705/20070503053730555.jpg');
</Script>