function fasvalidate(){
fasform = document.forms[0];
fasType = document.forms[0].snPageName.value;
function faswindow(){
var fas_params = 'width='+screen.width+', height='+screen.height+', top=0, left=0, fullscreen=0, scrollbars=1, location=1, menubar=1, toolbar=1, resizable=1, menubars=1, directories=1';
url = 'http://localhost.com/'+ fasType;
window.open (url,'fasnew',fas_params);
window.location.href='file.html?prodid='+ fasType2;
}
function others(){
url = 'http://google.com/'+ fasType;
window.location.href= url;
}
return false;
}