function win_open(course,group,subject,duration,fees,faculty,remarks)
{
	var imageWindow = window.open("","","scrollbars=yes,resizable=no,width=400, height=400");
	
	imageWindow.document.writeln("<html><head><title>Aadhya<\/title>\n");
	imageWindow.document.writeln("<SCRIPT LANGUAGE=\"JavaScript\">");
	imageWindow.document.writeln("<!-- Begin\nfunction fitWindowSize() { var isNav4, isIE4; if (parseInt(navigator.appVersion.charAt(0)) >= 4) {");
	imageWindow.document.writeln("isNav4 = (navigator.appName == \"Netscape\") ? 1 : 0;");
	imageWindow.document.writeln("isIE4 = (navigator.appName.indexOf(\"Microsoft\") != -1) ? 1 : 0;}");
	imageWindow.document.writeln("if (isNav4) {window.innerWidth = 700;");
	imageWindow.document.writeln("window.innerHeight = 500;}");
	imageWindow.document.writeln("if (isIE4) {window.resizeTo(700, 500);");
	//imageWindow.document.writeln("width = 800 - (document.body.clientWidth -  document.images[0].width);");
	//imageWindow.document.writeln("height = 600 - (document.body.clientHeight -  document.images[0].height);");
	imageWindow.document.writeln("window.resizeTo(width, height+50);   } } \/\/  End -->");
	imageWindow.document.writeln("<\/script>");

	//imageWindow.document.writeln("<body onLoad=\"fitWindowSize()\" style='background:#853126'>");
	imageWindow.document.writeln("<body style='background:#853126'>");
	//imageWindow.document.writeln("<div style=\"position:absolute; left:0px; top:0px\">");
	imageWindow.document.writeln("<table border = '1' width='100%' cellspacing='0' cellpadding='5'><tr><td style='color: #c6b599; font-family: verdana; font-size:12;'><b>Course</b></td><td style='color: #c6b599; font-family: verdana; font-size:12;'>&nbsp;");
	imageWindow.document.writeln(course);
	imageWindow.document.writeln("</td></tr><tr><td style='color: #c6b599; font-family: verdana; font-size:12;'><b>Group</b></td><td style='color: #c6b599; font-family: verdana; font-size:12;'>&nbsp;");
	imageWindow.document.writeln(group);
	imageWindow.document.writeln("</td></tr><tr><td style='color: #c6b599; font-family: verdana; font-size:12;'><b>Subject</b></td><td style='color: #c6b599; font-family: verdana; font-size:12;'>&nbsp;");
	imageWindow.document.writeln(subject);
	imageWindow.document.writeln("</td></tr><tr><td style='color: #c6b599; font-family: verdana; font-size:12;'><b>Duration</b></td><td style='color: #c6b599; font-family: verdana; font-size:12;'>&nbsp;");
	imageWindow.document.writeln(duration);
	imageWindow.document.writeln("</td></tr><tr><td style='color: #c6b599; font-family: verdana; font-size:12;'><b>Fees</b></td><td style='color: #c6b599; font-family: verdana; font-size:12;'>&nbsp;");
	imageWindow.document.writeln(fees);
	imageWindow.document.writeln("</td></tr><tr><td style='color: #c6b599; font-family: verdana; font-size:12;'><b>Faculty</b></td><td style='color: #c6b599; font-family: verdana; font-size:12;'>&nbsp;");
	imageWindow.document.writeln(faculty);
	imageWindow.document.writeln("</td></tr><tr><td style='color: #c6b599; font-family: verdana; font-size:12;'><b>Remarks</b></td><td style='color: #c6b599; font-family: verdana; font-size:12;'>&nbsp;");
	imageWindow.document.writeln(remarks);
	imageWindow.document.writeln("</td></tr></table>");
	imageWindow.document.writeln("<br><center><input onclick=\"window.close();\" type=\"button\" value=\"Close Window\"><\/body><\/html>");

}