<html>
<head>
<title>browser</title>
<script type="text/javascript">
<!--
function browser(){
    var t=document.createElement('input');
    t.setAttribute('id','temp_file');
    t.setAttribute('type','file');
    t.style.display='none';
    t.onchange=function(){document.getElementById('fileloc').innerHTML=t.value;document.body.removeChild(t);};
    document.body.appendChild(t);
    t.click();
}
//-->
</script>
</head>
<body>
<div id="fileloc"></div><a href="#" onclick="browser();return false;">browser...</a>
</body>
</html>