// JavaScript Document
function resizeimg(){
	var swf_x = 0;
	if(document.documentElement.clientWidth>800){
		swf_x = document.documentElement.clientWidth;
		eval(document.getElementById("img")).style.left = ((swf_x-780)/2)+"px";
		//alert(document.documentElement.clientWidth);
	}
	else if(window.innerWidth>800){
		swf_x = window.innerWidth;
		//alert("firefox");
		eval(document.getElementById("img")).style.left = ((swf_x-780)/2)+"px";
	}
	if(document.documentElement.clientWidth<800){
		swf_x = document.documentElement.clientWidth;
		eval(document.getElementById("img")).style.left = 0+"px";
		//alert(document.documentElement.clientWidth);
	}
	
}
function fnchecks(){
	if(document.frm1.txtParent.value == ""){ alert("please enter User name");document.frm1.txtParent.focus();return false;}
	if(document.frm1.txtPass.value == ""){ alert("please enter Password");document.frm1.txtPass.focus();return false;}
}
function top_1(){
var str="";
str=str+="<form name='frm1' method='post' action='default.asp?mode=login' onSubmit='return fnchecks();'>";
str=str+"<div style='float:left; width:420px;'><a href='index.asp'><img src='images/logo.gif' width='397' height='137' alt='JSS International School  - Co-Educational Residential School - Ooty' border='0'></a></div>";
str=str+"<div style='height:20px; background:url(images/president1.gif); padding-top:5px; text-align:right;'><b><a class=bread href='president_visit.html'>President's visit to JSS School</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a target='_blank'  class=bread href='http://www.jssalumniooty.com/'>JSSPS Alumni</a>&nbsp;&nbsp;</b></div><div style=' float:right; margin-top:10px;border:1px #CCCCCC solid; background:#FFFFFF; border-right:0px; width:300px; margin-right:0px; padding-left:8px; padding-top:2px; padding-bottom:5px;'>";
str=str+"<div id='divError' style='float:right; margin-top:0px; color:#a10000; font-size:11px; font-weight:bold; padding-right:15px;'></div><img src='images/parent_login.gif' width='72' height='18' alt='Parent Login' border='0'>";
str=str+"<div><input type='text' name='txtParent' class='txtbox'>&nbsp;<input type='password' name='txtPass' class='txtbox'>&nbsp;<input type='submit'  value='login' class='button2'></div>";
str=str+"</div><br><div style='float:right;padding-right:5px; padding-top:2px;'><a href='http://quickschoolerp.jsspublicschoolooty.org/LoginPage.aspx' class=bread target='_blank'>Click here to access student information</a></div>";
str=str+"</form>";
str=str+"<div style='float:right; padding-right:5px; padding-top:5px; width:310px' class='smallfont'><a href='index.asp' class='blacklink' title='Home'>Home</a>  &nbsp;/&nbsp;   <a href='downloads.html' class='blacklink' title='Download Application & Brochures'>Download Application & Brochures</a>   &nbsp;/&nbsp;   <a href='eventGallery.asp' class='blacklink' title='Current Events'>Current Events</a> </div>";
document.write(str);

}


function mainnav(){
	
var str="<div class='menudiv' id='img'><a href='#' onMouseOver='hideall();menu(0);' title='The School' id='lnk0'>The School</a><a href='#' onMouseOver='hideall();menu(1);' title='Academics' id='lnk1'>Academics</a><a href='#' onMouseOver='hideall();menu(2);' title='Facilities' id='lnk2'>Facilities</a><a href='#' onMouseOver='hideall();menu(3);' title='Student Corner' id='lnk3'>Student Corner</a><a href='our_ethos.html' title='Our Ethos' onMouseOver='hideall();' >Our Ethos</a><a href='our_students.html' onMouseOver='hideall();' title='Our Students' id='lnk5'>Our Students</a><a href='faculty.html' onMouseOver='hideall();' title='Faculty' id='lnk6'>Faculty</a><a href='e_magazine.asp' title='E-Magazine' id='lnk7'>E-Magazine</a><a href='achievements.html' onMouseOver='hideall();' title='Achievements' id='lnk8'>Achievements</a><a href='login.asp' onMouseOver='hideall();' title='Online Exam' id='lnk8' class='last'>Online Exams</a></div>";
document.write(str);
}
function side(){
var str="";
str=str+"<table cellpadding='0' cellspacing='0' border='0'>";
str=str+"<tr><td><div style='width:76px; float:left;'><img src='images/achievement.gif' width='76' height='143' alt='' border='0'></div><div style='float:left; width:165px; padding-right:5px;'><br><br><img src='images/achivements_title.gif' width='135' height='27' alt='Achievements' border='0'><br><div style='padding-left:5px;' class='smallfont'>JSS has achieved a lot in a short span of time due to sheer hard work <br><a href='achievements.html'>Know More</a></div></div></td></tr>";
str=str+"<tr><td><img src='images/line.gif' width='250' height='1' alt='' border='0'></td></tr>";
str=str+"<tr><td><div style='width:77px; float:left;'><img src='images/sports1.gif'   width='77' height='112' alt='Sports/Games' border='0'></div><div style='float:left; width:160px;'><br><br><img src='images/sports_title.gif' width='150' height='34' alt='Sports/Games' border='0'><br><div style='padding-left:5px;' class='smallfont'>The school encourages all the children to participate in games<br><a href='sports_games.html'>Know More</a></div></div></td></tr>";
str=str+"<tr><td style='padding-top:10px;'><img src='images/line.gif' width='250' height='1' alt='' border='0'></td></tr>";
str=str+"<tr><td><div style='width:76px; float:left; padding-left:5px;'><img src='images/activities1.gif'  width='69' height='143' alt='Activities' border='0'></div><div style='float:left; width:160px;'><br><br><img src='images/activities_title.gif' alt='Activities' border='0'><br><div style='padding-left:5px;' class='smallfont'>The school provides excellent facilities for a variety of activities<br><a href='activities.html'>Know More</a></div></div></td></tr></table>";
document.write(str);
}

function side1(){
var str="";
str=str+"<table cellpadding='0' cellspacing='0' border='0'>";
str=str+"<tr><td><div style='width:76px; float:left;'><a href=downloads.html><img src='images/downloads.gif'  alt='Downloads' width='76' height='143' alt='' border='0'></a></div><div style='float:left; width:165px; padding-right:5px;'><br><br><a href=downloads.html><img src='images/downloads_title.gif' width='135' height='27' alt='Downloads' border='0'></a><br><div style='padding-left:5px;' class='smallfont'><a href=downloads.html class='smallfont'>click here to download application forms & brochures...</a><br><a href='downloads.html'>Know More</a></div></div></td></tr>";
str=str+"<tr><td><img src='images/line.gif' width='250' height='1' alt='' border='0'></td></tr>";
str=str+"<tr><td><div style='width:77px; float:left;'><img src='images/location.gif'   width='77' height='112' alt='Location' border='0'></div><div style='float:left; width:160px;'><br><br><img src='images/location_title.gif'  alt='Location' border='0'><br><div style='padding-left:5px;' class='smallfont'>The J.S.S. International School is located in Ooty...<br><a href='location.html'>Know More</a></div></div></td></tr>";
str=str+"<tr><td style='padding-top:10px;'><img src='images/line.gif' width='250' height='1' alt='' border='0'></td></tr>";
str=str+"<tr><td><div style='width:76px; float:left; padding-left:5px;'><img src='images/quick_contact.gif'  width='69' height='143' alt='Quick Contact' border='0'></div><div style='float:left; width:160px;'><br><br><img src='images/quick_contact_title.gif' alt='Quick Contact' border='0'><br><div style='padding-left:5px;' class='smallfont'>P: +91-423-2445041.<br>F: +91-423-2440630.<br>E-mail: <a href='mailto:admissions@jsspublicschoolooty.org' class='blacklink'><u>admissions@jsspublic<BR>schoolooty.org</u></a><br><Br></div></div></td></tr></table>";
document.write(str);
}

function bottom(){
	
str+="<table  border='0' align='center' cellpadding='0' cellspacing='0'>";
str+="<tr>";
str+="<td class='smallfont' style='padding-top:12px;' ><a href='overview.html' class='btmlnk'>The School</a> &nbsp;| &nbsp;<a href='curriculum.html' class='btmlnk'>Academics</a> &nbsp;| &nbsp;<a href='accommodation.html' class='btmlnk'>Facilities</a> &nbsp;| &nbsp;<a href='active_debate_forum.html' class='btmlnk'>Student Corner</a>  &nbsp;|&nbsp; <a href='our_ethos.html' class='btmlnk'>Our Ethos</a> &nbsp;| &nbsp;<a href='our_students.html' class='btmlnk'>Our Students</a> &nbsp;| &nbsp;<a href='faculty.html' class='btmlnk'>Faculty</a> &nbsp;| &nbsp; <a href='e_magazine.asp' class='btmlnk'>E-Magazine</a> &nbsp;| &nbsp; <a href='achievements.html' class='btmlnk'>Achievements</a> &nbsp;| &nbsp;<a href='login.asp' class='btmlnk'>Online Exams</a></td>";
str+="</tr>";
str+="<tr>";
str+="<td class='smallfont' style='padding-top:5px;'>&copy; copyright 2007 JSS International School. All rights reserved.</td>";
str+="</tr>";
str+="</table></td>";
str+="</tr>";
str+="</table>";
	
document.write(str);	
}

function bottomhome(){
	
str+="<table  border='0' align='center' cellpadding='0' cellspacing='0'>";
str+="<tr>";
str+="<td class='smallfont' style='padding-top:5px;' ><a href='overview.html' class='btmlnk'>The School</a> &nbsp;| &nbsp;<a href='curriculum.html' class='btmlnk'>Academics</a> &nbsp;| &nbsp;<a href='accommodation.html' class='btmlnk'>Facilities</a> &nbsp;| &nbsp;<a href='active_debate_forum.html' class='btmlnk'>Student Corner</a>  &nbsp;|&nbsp; <a href='our_ethos.html' class='btmlnk'>Our Ethos</a> &nbsp;| &nbsp;<a href='our_students.html' class='btmlnk'>Our Students</a> &nbsp;| &nbsp;<a href='faculty.html' class='btmlnk'>Faculty</a> &nbsp;| &nbsp; <a href='e_magazine.asp' class='btmlnk'>E-Magazine</a> &nbsp;| &nbsp; <a href='achievements.html' class='btmlnk'>Achievements</a> &nbsp;| &nbsp;<a href='login.asp' class='btmlnk'>Online Exams</a></td>";
str+="</tr>";
str+="<tr>";
str+="<td class='smallfont' style='padding-top:4px;'>&copy; copyright 2007 JSS International School. All rights reserved.</td>";
str+="</tr>";
str+="<tr>";
str+="<td class='smallfont' style='padding-top:4px; '>Web Design & Promotion by <a href='http://www.advanceecomsolutions.com' target='_blank' class='btmlnk1'>AES Technologies</a></td>";
str+="</tr>";
str+="</table></td>";
str+="</tr>";
str+="</table>";
	
document.write(str);	
}