var idT5,idd5,i5=1,timeCount=0;function InitialHide5(){idT5="tabActivity";EnbDesbPrv5();EnbDesbNxt5();slideShow55()}function slideShow55(){}function changeNews5(){var a=parseInt(i5)+1;idd5=idT5+a;if(document.getElementById(idd5)){idd5="#"+idT5+i5;$(idd5).fadeOut(10,function(){i5=parseInt(i5)+1;idd5="#"+idT5+i5;$(idd5).fadeIn(10);EnbDesbPrv5();EnbDesbNxt5()})}else{idd5="#"+idT5+i5;$(idd5).fadeOut(10,function(){i5=1;idd5="#"+idT5+i5;$(idd5).fadeIn(10);EnbDesbPrv5();EnbDesbNxt5()})}}if(window.addEventListener)window.addEventListener("load",InitialHide5,false);else window.attachEvent&&window.attachEvent("onload",InitialHide5);function EnbDesbPrv5(){var a="ActivityPrev",b=parseInt(i5)-1;idd5=idT5+b;if(document.getElementById(idd5))document.getElementById(a).style.display="";else document.getElementById(a).style.display="none"}function EnbDesbNxt5(){var a="ActivityNxt",b=parseInt(i5)+1;idd5=idT5+b;if(document.getElementById(idd5))document.getElementById(a).style.display="";else document.getElementById(a).style.display="none"}$(document).ready(function(){$("#ActivityNxt").click(function(){var a=parseInt(i5)+1;idd5=idT5+a;if(document.getElementById(idd5)){idd5="#"+idT5+i5;$(idd5).fadeOut(10,function(){i5=parseInt(i5)+1;idd5="#"+idT5+i5;$(idd5).fadeIn(10);EnbDesbPrv5();EnbDesbNxt5()});clearInterval(timeCount);slideShow55()}});$("#ActivityPrev").click(function(){var a=parseInt(i5)-1;idd5=idT5+a;if(document.getElementById(idd5)){idd5="#"+idT5+i5;$(idd5).fadeOut(10,function(){i5=parseInt(i5)-1;idd5="#"+idT5+i5;$(idd5).fadeIn(10);EnbDesbPrv5();EnbDesbNxt5()});clearInterval(timeCount);slideShow55()}})});var ALERT_TITLE="Oops!",ALERT_BUTTON_TEXT="Ok";if(document.getElementById)window.alert=function(a){createCustomAlert(a)};function createCustomAlert(b){var a="modalContainer";d=document;if(d.getElementById(a))return;mObj=d.getElementsByTagName("body")[0].appendChild(d.createElement("div"));mObj.id=a;mObj.style.height=document.documentElement.scrollHeight+"px";alertObj=mObj.appendChild(d.createElement("div"));alertObj.id="alertBox";if(d.all&&!window.opera)alertObj.style.top=document.documentElement.scrollTop+"px";alertObj.style.left=(d.documentElement.scrollWidth-alertObj.offsetWidth)/2+"px";h1=alertObj.appendChild(d.createElement("h1"));h1.appendChild(d.createTextNode(ALERT_TITLE));msg=alertObj.appendChild(d.createElement("p"));msg.innerHTML=b;btn=alertObj.appendChild(d.createElement("a"));btn.id="closeBtn";btn.appendChild(d.createTextNode(ALERT_BUTTON_TEXT));btn.href="#";btn.onclick=function(){removeCustomAlert();return false}}function removeCustomAlert(){document.getElementsByTagName("body")[0].removeChild(document.getElementById("modalContainer"))}function getPrint(b,c){var a=window.open();a.document.writeln('<HTML><HEAD><title>Print Preview</title><LINK href=Styles.css  type="text/css" rel="stylesheet">');a.document.writeln(' <link href="way2k/CSS/ASP_CSS/layout.css" rel="stylesheet" type="text/css" />');a.document.writeln(' <link href="way2k/CSS/ASP_CSS/understandcourses.css" rel="stylesheet" type="text/css" />');a.document.writeln('<LINK href=PrintStyle.css  type="text/css" rel="stylesheet" media="print"><base target="_self"></HEAD>');a.document.writeln('<body MS_POSITIONING="GridLayout" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">');a.document.writeln('<form  method="post">');a.document.writeln('<TABLE width=100%><TR><TD></TD></TR><TR><TD align=right><INPUT ID="PRINT" type="button" value="Print" onclick="javascript:location.reload(true);window.print();"><INPUT ID="CLOSE" type="button" value="Close" onclick="window.close();"></TD></TR><TR><TD></TD></TR></TABLE>');a.document.writeln(document.getElementById(c).innerHTML);a.document.writeln(document.getElementById(b).innerHTML);a.document.writeln("</form></body></HTML>")}function getComparisonPrint(c){var b="</div>",a=window.open("","","menubar = no, scrollbars = yes, resizable = yes");a.document.writeln('<html><head><title>Print Preview</title><LINK href=Styles.css  type="text/css" rel="stylesheet">');a.document.writeln('<link href=PrintStyle.css  type="text/css" rel="stylesheet" media="print"><base target="_self"></link>');a.document.writeln('<body MS_POSITIONING="FlowLayout" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">');a.document.writeln('<form  method="post">');a.document.writeln('<div style = "text-align:center;">');a.document.writeln('<table style="float:right;"><tr><td></td></tr><tr><td align="right"><input id="PRINT" type="button" value="Print" onclick="javascript:location.reload(true);window.print();"><INPUT ID="CLOSE" type="button" value="Close" onclick="window.close();"></td></tr><tr><td></td></tr></table>');a.document.writeln('<div style = "text-align:center; width:100%; ">');a.document.writeln('<div style = "width:85%; margin:0 auto; padding-top:50px;">');a.document.writeln(document.getElementById(c).innerHTML);a.document.writeln(b);a.document.writeln(b);a.document.writeln(b);a.document.writeln('<div style="width: 100%; height: auto; font-size: 11px; float:left; font-family:arial; text-align: center; valign : bottom; color: #5f6368; margin: 0 auto;"><span style="color:#5f6368">Disclaimer : The content mentioned in the page is a property of way2k.com and copying of this material in any medium for commercial purpose is punishable under copy right act 2009.</span><br/> <span style="color:#5f6368"> Copyright &copy; 2009-2010 www.way2k.com. All rights reserved</span></div>');a.document.writeln("</form></body></HTML>")}function getPrint1(b){var a=window.open();a.document.writeln('<HTML><HEAD><title>Print Preview</title><LINK href=Styles.css  type="text/css" rel="stylesheet">');a.document.writeln(' <link href="way2k/CSS/ASP_CSS/layout.css" rel="stylesheet" type="text/css" />');a.document.writeln(' <link href="way2k/CSS/ASP_CSS/understandcourses.css" rel="stylesheet" type="text/css" />');a.document.writeln('<LINK href=PrintStyle.css  type="text/css" rel="stylesheet" media="print"><base target="_self"></HEAD>');a.document.writeln('<body MS_POSITIONING="GridLayout" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">');a.document.writeln('<form  method="post">');a.document.writeln('<TABLE width=100%><TR><TD></TD></TR><TR><TD align=right><INPUT ID="PRINT" type="button" value="Print" onclick="javascript:location.reload(true);window.print();"><INPUT ID="CLOSE" type="button" value="Close" onclick="window.close();"></TD></TR><TR><TD></TD></TR></TABLE>');a.document.writeln('<table style="width:100%;"><tr><td style="text-align:center;">');a.document.writeln('<div style="margin:0 auto; width:480px;">'+document.getElementById(b).innerHTML+"<div>");a.document.writeln("</td></tr></table>");a.document.writeln('<div style="width: 100%; height: auto; font-size: 11px; font-family:arial; text-align: center;color: #5f6368; margin: 0 auto;"><span style="color:#5f6368">The content mentioned in the page is a property of way2k.com and copying of this material in any medium for commercial purpose is punishable under copy right act 2009.</span><br/> <span style="color:#5f6368"> Copyright &copy; 2009-2010 www.way2k.com. All rights reserved</span></div>');a.document.writeln("</form></body></HTML>")}function getPrintSci(d,c,b,z){var a=window.open();a.document.writeln('<HTML><HEAD><title>'+z+' Print Preview</title><LINK href=Styles.css  type="text/css" rel="stylesheet">');a.document.writeln('<link href="way2k/CSS/ASP_CSS/layout.css" rel="stylesheet" type="text/css" />');a.document.writeln('<LINK href=PrintStyle.css  type="text/css" rel="stylesheet" media="print"><base target="_self"></HEAD>');a.document.writeln('<body MS_POSITIONING="GridLayout" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">');a.document.writeln('<form  method="post">');a.document.writeln('<div style="width: 100%; text-align: center">            <table align="center" width="100%">                <tr align="center" >                    <td align="right" valign="bottom" colspan="3">                        <input id="PRINT" type="button" value="Print" onclick="javascript:location.reload(true);window.print();">                        <input id="CLOSE" type="button" value="Close" onclick="window.close();"></td></tr><tr width="100%"><td width="100%" align="left"><img title="Logo" src="way2k/images/png/way2k_print.png" /></td><td></td></tr><tr width="100%"><td style="text-align: center; font-size: 14pt; width: 100%" align="center"><b>'+c+'</b></td></tr><tr><td style="font-size: 12pt; width: 500px; padding-left:80px;"><b>'+b+"</b></td></tr></table></div>");document.getElementById(c)!=null&&a.document.writeln(document.getElementById(c).innerHTML);document.getElementById(b)!=null&&a.document.writeln(document.getElementById(b).innerHTML);a.document.writeln(document.getElementById(d).innerHTML);a.document.writeln("</form></body></HTML>")}TINY={};function T$(a){return document.getElementById(a)}function T$$$(){return document.all?1:0}TINY.editor=function(){var g="mousemove",h="onmouseup",i="onmousemove",e="none",d="px",f="underline",b="a",a=[],j=-30;a.cut=[1,"Cut",b,"cut",1];a.copy=[2,"Copy",b,"copy",1];a.paste=[3,"Paste",b,"paste",1];a.bold=[4,"Bold",b,"bold"];a.italic=[5,"Italic",b,"italic"];a[f]=[6,"Underline",b,f];a.orderedlist=[10,"Insert Ordered List",b,"insertorderedlist"];a.unorderedlist=[11,"Insert Unordered List",b,"insertunorderedlist"];a.outdent=[12,"Outdent",b,"outdent"];a.indent=[13,"Indent",b,"indent"];a.leftalign=[14,"Left Align",b,"justifyleft"];a.centeralign=[15,"Center Align",b,"justifycenter"];a.rightalign=[16,"Right Align",b,"justifyright"];a.blockjustify=[17,"Block Justify",b,"justifyfull"];a.undo=[18,"Undo",b,"undo"];a.redo=[19,"Redo",b,"redo"];a.link=[22,"Insert Hyperlink","i","createlink","Enter URL:","http://"];a.unlink=[23,"Remove Hyperlink",b,"unlink"];function c(A,f){var y=".hover(this,",v="select",z="teheader",k="div",c=this;c.n=A;window[A]=c;c.t=T$(f.id);c.obj=f;c.xhtml=f.xhtml;var n=document.createElement(k),t=document.createElement(k),i=document.createElement(k),J=f.controls.length,p=0;c.i=document.createElement("iframe");c.i.frameBorder=0;c.i.width=f.width||"600";c.i.height=f.height||"200";c.ie=T$$$();i.className=f.rowclass||z;n.className=f.cssclass||"te";n.style.width=c.i.width+d;n.appendChild(i);for(p;p<J;p++){var l=f.controls[p];if(l=="n"){i=document.createElement(k);i.className=f.rowclass||z;n.appendChild(i)}else if(l=="|"){var C=document.createElement(k);C.className=f.dividerclass||"tedivider";i.appendChild(C)}else if(l=="font"){var h=document.createElement(v),w=f.fonts||["Verdana","Arial","Georgia"],M=w.length,g=0;h.className="tefont";h.onchange=new Function(c.n+'.ddaction(this,"fontname")');h.options[0]=new Option("Font","");for(g;g<M;g++){var G=w[g];h.options[g+1]=new Option(G,G)}i.appendChild(h)}else if(l=="size"){var h=document.createElement(v),I=f.sizes||[1,2,3,4,5,6,7],D=I.length,g=0;h.className="tesize";h.onchange=new Function(c.n+'.ddaction(this,"fontsize")');for(g;g<D;g++){var F=I[g];h.options[g]=new Option(F,F)}i.appendChild(h)}else if(l=="style"){var h=document.createElement(v),x=f.styles||[["Style",""],["Paragraph","<p>"],["Header 1","<h1>"],["Header 2","<h2>"],["Header 3","<h3>"],["Header 4","<h4>"],["Header 5","<h5>"],["Header 6","<h6>"]],D=x.length,g=0;h.className="testyle";h.onchange=new Function(c.n+'.ddaction(this,"formatblock")');for(g;g<D;g++){var H=x[g];h.options[g]=new Option(H[0],H[1])}i.appendChild(h)}else if(a[l]){var m=document.createElement(k),g=a[l],N=g[2],E,u=g[0]*j;m.className=f.controlclass;m.style.backgroundPosition="0px "+u+d;m.title=g[1];E=N==b?'.action("'+g[3]+'",0,'+(g[4]||0)+")":'.insert("'+g[4]+'","'+g[5]+'","'+g[3]+'")';m.onclick=new Function(c.n+(l=="print"?".print()":E));m.onmouseover=new Function(c.n+y+u+",1)");m.onmouseout=new Function(c.n+y+u+",0)");i.appendChild(m);if(c.ie)m.unselectable="on"}}c.t.parentNode.insertBefore(n,c.t);c.t.style.width=c.i.width+d;t.appendChild(c.t);t.appendChild(c.i);n.appendChild(t);c.t.style.display=e;if(f.footer){var q=document.createElement(k);q.className=f.footerclass||"tefooter";if(f.toggle){var K=f.toggle,r=document.createElement(k);r.className=K.cssclass||"toggle";r.innerHTML=f.toggletext||"source";r.onclick=new Function(c.n+".toggle(0,this);return false");q.appendChild(r)}if(f.resize){var L=f.resize,s=document.createElement(k);s.className=L.cssclass||"resize";s.onmousedown=new Function("event",c.n+".resize(event);return false");s.onselectstart=function(){return false};q.appendChild(s)}n.appendChild(q)}c.e=c.i.contentWindow.document;c.e.open();var o="<html><head>",O=f.bodyid?' id="'+f.bodyid+'"':"";if(f.cssfile)o+='<link rel="stylesheet" href="'+f.cssfile+'" />';if(f.css)o+='<style type="text/css">'+f.css+"</style>";o+="</head><body"+O+">"+(f.content||c.t.value);o+="</body></html>";c.e.write(o);c.e.close();c.e.designMode="on";c.d=1;if(c.xhtml)try{c.e.execCommand("styleWithCSS",0,0)}catch(B){try{c.e.execCommand("useCSS",0,1)}catch(B){}}}c.prototype.print=function(){this.i.contentWindow.print()},c.prototype.hover=function(a,c,b){a.style.backgroundPosition=(b?"34px ":"0px ")+c+d},c.prototype.ddaction=function(a,b){var d=a.selectedIndex,c=a.options[d].value;this.action(b,c)},c.prototype.action=function(b,a,c){if(c&&!this.ie)alert("Your browser does not support this function.");else this.e.execCommand(b,0,a||null)},c.prototype.insert=function(c,d,b){var a=prompt(c,d);a!=null&&a!=""&&this.e.execCommand(b,0,a)},c.prototype.setfont=function(){execCommand("formatblock",0,hType)},c.prototype.resize=function(b){var a=this;a.mv&&a.freeze();a.i.bcs=TINY.cursor.top(b);a.mv=new Function("event",a.n+".move(event)");a.sr=new Function(a.n+".freeze()");if(a.ie){document.attachEvent(i,a.mv);document.attachEvent(h,a.sr)}else{document.addEventListener(g,a.mv,1);document.addEventListener("mouseup",a.sr,1)}},c.prototype.move=function(c){var a=this,b=TINY.cursor.top(c);a.i.height=parseInt(a.i.height)+b-a.i.bcs;a.i.bcs=b},c.prototype.freeze=function(){var a=this;if(a.ie){document.detachEvent(i,a.mv);document.detachEvent(h,a.sr)}else{document.removeEventListener(g,a.mv,1);document.removeEventListener("mouseup",a.sr,1)}},c.prototype.toggle=function(h,c){var g="<em>$1</em>",f="<strong>$1</strong>",b=this;if(!b.d){var a=b.t.value;if(c)c.innerHTML=b.obj.toggletext||"source";if(b.xhtml&&!b.ie){a=a.replace(/<strong>(.*)<\/strong>/gi,'<span style="font-weight: bold;">$1</span>');a=a.replace(/<em>(.*)<\/em>/gi,'<span style="font-weight: italic;">$1</span>')}b.e.body.innerHTML=a;b.t.style.display=e;b.i.style.display="block";b.d=1}else{var a=b.e.body.innerHTML;if(b.xhtml){a=a.replace(/<span class="apple-style-span">(.*)<\/span>/gi,"$1");a=a.replace(/ class="apple-style-span"/gi,"");a=a.replace(/<span style="">/gi,"");a=a.replace(/<br>/gi,"<br />");a=a.replace(/<br ?\/?>$/gi,"");a=a.replace(/^<br ?\/?>/gi,"");a=a.replace(/(<img [^>]+[^\/])>/gi,"$1 />");a=a.replace(/<b\b[^>]*>(.*?)<\/b[^>]*>/gi,f);a=a.replace(/<i\b[^>]*>(.*?)<\/i[^>]*>/gi,g);a=a.replace(/<u\b[^>]*>(.*?)<\/u[^>]*>/gi,'<span style="text-decoration:underline">$1</span>');a=a.replace(/<(b|strong|em|i|u) style="font-weight: normal;?">(.*)<\/(b|strong|em|i|u)>/gi,"$2");a=a.replace(/<(b|strong|em|i|u) style="(.*)">(.*)<\/(b|strong|em|i|u)>/gi,'<span style="$2"><$4>$3</$4></span>');a=a.replace(/<span style="font-weight: normal;?">(.*)<\/span>/gi,"$1");a=a.replace(/<span style="font-weight: bold;?">(.*)<\/span>/gi,f);a=a.replace(/<span style="font-style: italic;?">(.*)<\/span>/gi,g);a=a.replace(/<span style="font-weight: bold;?">(.*)<\/span>|<b\b[^>]*>(.*?)<\/b[^>]*>/gi,f)}if(c)c.innerHTML=b.obj.toggletext||"wysiwyg";b.t.value=a;if(!h){b.t.style.height=b.i.height+d;b.i.style.display=e;b.t.style.display="block";b.d=0}}},c.prototype.post=function(){this.d&&this.toggle(1)};return {edit:c}}();TINY.cursor=function(){return {top:function(a){return T$$$()?window.event.clientY+document.documentElement.scrollTop+document.body.scrollTop:a.clientY+window.scrollY}}}();

//Generating Pop-up Print Preview page
		function getCutOffPrint(print_area, Title)
		{	
			var pp = window.open();
			pp.document.writeln('<HTML><HEAD><title>Print Preview</title><LINK href=Styles.css  type="text/css" rel="stylesheet">');
			pp.document.writeln(' <link href="way2k/CSS/ASP_CSS/layout.css" rel="stylesheet" type="text/css" />');
			pp.document.writeln(' <link href="way2k/CSS/ASP_CSS/understandcourses.css" rel="stylesheet" type="text/css" />');
			pp.document.writeln('<LINK href=PrintStyle.css  type="text/css" rel="stylesheet" media="print"><base target="_self"></HEAD>');
			pp.document.writeln('<body MS_POSITIONING="GridLayout" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">');
			pp.document.writeln('<form  method="post">');			
			pp.document.writeln('<TABLE width="100%"><TR><TD></TD></TR><TR><TD align=right><INPUT ID="PRINT" type="button" value="Print" onclick="javascript:location.reload(true);window.print();"><INPUT ID="CLOSE" type="button" value="Close" onclick="window.close();"><BR></TD></TR><tr width="100%"><td width="100%" align="left"><img title="Logo" src="way2k/images/png/education-india.png" /></td><td></td></tr><TR><TD></TD></TR></TABLE>');
			if(document.getElementById(Title) != null)
			pp.document.writeln(document.getElementById(Title).innerHTML);
			pp.document.writeln('<br/><br/>');
			pp.document.writeln('<div style="width: 100%; height: auto; font-size: 11px; font-family:arial; text-align: left; padding-left: 40px; color: #ccc; margin: 0 auto;"><span style="color:#5f6368">Note : For better print please select page setup to Landscape format.</span><br/></div>');
			pp.document.writeln('<br/><br/><br/>');
			pp.document.writeln('<div style="width: 90%; margin: 0 auto; padding-left: 30px">');				
			pp.document.writeln(document.getElementById(print_area).innerHTML);
			pp.document.writeln('</div>');
			pp.document.writeln('<br/><br/><br/>');
			pp.document.writeln('<div style="width: 100%; height: auto; font-size: 11px; font-family:arial; text-align: center;color: #5f6368; margin: 0 auto;"><span style="color:#5f6368">Disclaimer : The content mentioned in the page is a property of way2k.com and copying of this material in any medium for commercial purpose is punishable under copy right act 2010.</span><br/> <span style="color:#5f6368"> Copyright &copy; 2010-2011 www.way2k.com. All rights reserved</span></div>');
			pp.document.writeln('<br/><br/><br/>');
			pp.document.writeln('</form></body></HTML>');
		}