var path; 

function pop(path)
{
	w = 800;
	h = 600;
	x = ((screen.availWidth-w)/2);
	y = ((screen.availHeight-h)/2);
	//top.window.moveTo(x,y);
	//path = "http://203.200.82.58" + path
	path = "http://www.indianrail.gov.in" + path
	window.open (path,'Display','width='+w+',height='+h+',resizable=no,scrollbars=yes,left='+x+',top='+y)
}

function trainsch(){pop("/inet_trn_num.html")}
function rsrules(){pop("/resrules.html")}
function refrules(){pop("/refund_rules.html")}
function breakj(){pop("/break.html")}
function chname(){pop("/changename.html")}
function tatkal(){pop("/tatkal.html")}
function special(){pop("/special_trn_list.html")}
function rajdhani(){pop("/rajdhani.html")}
function season(){pop("/seatkt.html")}
function classs(){pop("/class.html")}
function quota(){pop("/quotas.html")}
function intl(){pop("/intert.html")}
function lugguage(){pop("/rules_for_luggage.html")}
function royal(){pop("/royal_orient.html")}
function hill(){pop("/hill_railways.html")}
function agents(){pop("/travelagents.html")}

function pnr(){pop("/pnr_stat.html")}
function tbf(){pop("/inet_srcdest_names.html")}
function seat(){pop("/acc_avl.html")}
function trains(){pop("/inet_metro_trns.html")}
function cfare(){pop("/fare_enq.html")}
function stncode(){pop("/stn_code.html")}

//203.200.82.58