function showTrainer(id)
{
   	  
	var title = "Trainer Details";
	var url   = 'web_shwins.php?id=';
	url = url + id;

	var props = 'width=450,height=400,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}

function shownews(id){
	var title = "News Details";
	var url   = 'web_shwnews.php?id=';
	url = url + id;

	var props = 'width=450,height=500,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}

function showCourse(id)
{
	var title = "Course Details";
	var url   = 'web_shwcrs.php?id=';
	url = url + id;
       
	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}

function showAcir(id)
{
	var title = "Acircular";
	var url   = 'web_shwacir.php?id=';
	url = url + id;
	
	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}


function showBcir(id)
{
	var title = "Bcircular";
	var url   = 'web_genbcrc.php?id=';
	url = url + id;
	
	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}

function showcir(id)
{
	var title = "Bcircular";
	var url   = 'web_ccircular.php?id=';
	url = url + id;
	
	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}



function showSchedule(id)
{
	var title = "Course Details";
	var url   = 'web_shwsch.php?id=';
	url = url + id;

	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}
function showAcir(id)
{
	var title = "Acircular";
	var url   = 'web_shwacir.php?id=';
	url = url + id;
	
	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}


function showtcrec(id)
{
	var title = "Acircular";
	var url   = 'web_gentclist.php?id=';
	url = url + id;
	
	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}

function showLabs(id)
{
	var title = "Lab Details";
	var url   = 'web_shwlab.php?id=';
	url = url + id;

	var props = 'width=420,height=640,resizable=yes,dependent,scrollbars=yes,hzscollbars=no';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}
function showMorelabs(id)
{
	var title = "Lab Images";
	var url   = 'web_moreimages.php?id=';
	url = url + id;

	var props = 'width=440,height=350,resizable=yes,dependent,scrollbars=yes,hzscollbars=no';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}
function showPayment(uid,sid,acc)
{
	var title = "Registration";
	var url   = 'web_regs.php?id=';
	url = url + id;
	url = url + "&acc="+acc;
	url = url + "&sid="+sid;

	var props = 'width=300,height=400,resizable=yes,dependent';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}

function addSchedule()
{
	var url = "man_addsch.php";
	var win = window.open('','Add Schedules','width=500,height=500,left=300,top=300,screenX=300,screenY=300,dependent');
	win.location = url;
	win.focus();
}

function showCoursecontent(id)
{
	var title = "Course Contents";
	var url = 'web_shwcrscon.php?id=';
	url = url + id;

	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}

function showNomi(id)
{
	var title = "Contents";
	var url = 'web_gennomi.php?id=';
	url = url + id;

	var props = 'width=420,height=450,resizable=yes,dependent,scrollbars=yes';
	
	var win = window.open('','',props);
	win.location = url;
	win.focus();
}


function pop()

{
	var title = "THOUGHT";
	var url = 'web_shwmsg.php';
//	url = url + id;

	var props = 'width=300,height=250,resizable=NO,dependent,scrollbars=NO, left=600 top=250 ';

	var win = window.open('','',props);
	win.location = url;
	win.focus();


}	
