function PageView(){
var PNA=0;
var URL="";
var Pg = document.getElementById("T1").value;
if (Pg < 1){
alert("Please write Page Number in Text Box");
return;
} 
if (Pg < 5) PNA=1;
if (Pg == 25 || Pg == 26) PNA=1;
if (Pg == 42 || Pg == 43 || Pg == 44) PNA=1;
if (Pg == 58 || Pg == 59 || Pg == 60) PNA=1;
if (Pg == 104 || Pg == 105) PNA=1; 
if (Pg == 115 || Pg == 116) PNA=1;
if (Pg > 136) PNA=1;
if (PNA==1){
alert("Page Not Available ON-LINE");
return;
}
if (Pg > 4 && Pg < 25) URL="Tech_Section_" + Pg  +".html"
if (Pg > 26 && Pg < 42) URL="CNC_Routers_" + Pg  +".html"
if (Pg > 44 && Pg < 58) URL="Accessories_" + Pg  +".html"
if (Pg > 60 && Pg < 104) URL="RoutingTools_" + Pg +".html"
if (Pg > 105 && Pg < 115) URL="Customers_" + Pg  +".html"
if (Pg > 116 && Pg < 137) URL="Articles_" + Pg +".html"
document.location.href=URL;
}
