// JavaScript Document
function fnTop_inner_old()
{
	var str=""
str+="<tr>";
str+="<td height='110' valign='top'>";
str+="<table cellpadding='0' cellspacing='0' border='0' width='780'>";
str+="<tr>";
str+="<td align='left' valign='top' class='logo_top' width='695'><a href='index.html'><img src='images/logo.gif' height='28' width='589' border='0' alt='DAVO' /></a></td>";
str+="<td width='85'>&nbsp;</td>";
str+="</tr>";
str+="<tr>";
str+="<td class='top_text_brown' valign='top' align='left'>to network  between voluntary organisations serving persons with disabilities</td>";
str+="<td>&nbsp;</td>";
str+="</tr>";
str+="<tr>";
str+="<td colspan='2'><div class='website_maintained_text'><b>Website Maintained by UDIS (You and the Disabled) Forum</b></div></td>";
str+="</tr>";
str+="<tr>";
str+="<td align='center' colspan='2'>";
str+="<div  class='top_menu_bg' style='float:right; text-align:center;'><div style='padding-top:6px; padding-left:17px;'><a href='index.html' class='top_right_link'>Home</a>&nbsp;&nbsp;    |    &nbsp;&nbsp;<a href='#' class='top_right_link'>Accessibility A</a> <a href='#' class='top_right_link' style='font-size:13px;'>A</a> <a href='#' class='top_right_link' style='font-size:15px;'>A</a>&nbsp;&nbsp;    |    &nbsp;&nbsp;<a href='contact.html' class='top_right_link'>Contact</a></div></div>";
str+="</td>";
str+="</tr>";				
str+="</table>";
str+="</td>";
str+="</tr>";
document.write(str)
}
function fnbottom_inner()
{
	var str=""
str+="<div style='padding-top:10px;'><a href='index.html' class='bottom_link'>Home</a>&nbsp;&nbsp;   |   &nbsp;&nbsp;<a href='what_is_davo.html' class='bottom_link'>What is DAVO?</a>&nbsp;&nbsp;   |   &nbsp;&nbsp;<a href='udis_forum.html' class='bottom_link'>UDIS Forum</a>&nbsp;&nbsp;   |   &nbsp;&nbsp;<a href='profile.html' class='bottom_link'>Profiles of Institutions</a>&nbsp;&nbsp;   |   &nbsp;&nbsp;<a href='government_initiatives.html' class='bottom_link'>Government Initiatives</a>&nbsp;&nbsp;   |   &nbsp;&nbsp;<a href='contact.html' class='bottom_link'>Contact</a></div>";
str+="<div class='copy_rights'>&copy; 2007 Disability Alliance Of Voluntary Organisations (DAVO), , All Rights Reserved.</div>";
document.write(str)
}




function fnTop_inner(page)
{
	var str=""
str+="<tr>";
str+="<td align='left' valign='top' class='logo_top' width='695'><a href='index.html'><img src='images/logo.gif' height='28' width='589' border='0' alt='DAVO' /></a></td>";
str+="<td width='85'>&nbsp;</td>";
str+="</tr>";

str+="<tr><td colspan='2' style='padding-bottom:1px;'>";
str+="	<div class='website_maintained_text'><b>Website Maintained by UDIS (You and the Disabled) Forum</b></div>";
str+="</td></tr>";
str+="<tr>";
str+="<tr>";
str+="<td class='top_text_brown' valign='top' style='padding-left:84px;'>to network  between voluntary organisations serving persons with disabilities</td>";
str+="<td>&nbsp;</td>";
str+="</tr>";
str+="<td align='center' colspan='2'>";
str+="	<div id='poweredBy'>Powered by  <a href='http://www.aes.in' target='_blank' class='lnk1'>AES Technologies</a></div>";
str+="	<div  class='top_menu_bg' style='float:right; text-align:center;'><div style='padding-top:6px; padding-left:17px;'><a href='index.html' class='top_right_link'>Home</a>&nbsp;&nbsp;    |    &nbsp;&nbsp;Accessibility&nbsp;  <a href='#' class='top_right_link' onClick=javascript:setActiveStyleSheet('normal');> A</a> <a href='#' onClick=javascript:setActiveStyleSheet('big'); class='top_right_link' style='font-size:13px;'>A</a> <a href='#' onClick=javascript:setActiveStyleSheet('max');  class='top_right_link' style='font-size:15px;'>A</a>&nbsp;&nbsp;    |    &nbsp;&nbsp;<a href='contact.html' class='top_right_link'>Contact</a></div></div>";
str+="<div></div>";
str+="</td>";
str+="</tr>";
str+="<tr>";
str+="<td colspan='2'>";
str+="<table cellpadding='0' cellspacing='0' border='0'>";
str+="<tr>";
str+="<td class='top_menu_side_index' style='text-align:right; color:#FFFFFF; font-weight:bold; padding-right:10px;'>";
str+="<ul class='bullet_1'>";
	str+="<li><a href='what_is_davo.html' class='white'>What Is DAVO?</a></li>";
	str+="<li><a href='udis_forum.html' class='white'>UDIS Forum</a></li>";
	str+="<li><a href='profile.html' class='white'>Profiles Of Institutions</a></li>";
	str+="<li><a href='current_development.html' class='white'>Current Developments In Disability Welfare</a></li>";
	str+="<li><a href='job_opportunities.html' class='white'>Job Opportunities In The Disability Sector</a></li>";
	str+="<li><a href='government_initiatives.html' class='white'>Government Initiatives</a></li>";
	str+="<li><a href='conserve.html' class='white'>Consultation in Special Education </a></li>";
	str+="<li><a href='vacancy.html' class='white'>Vacancy </a></li>";
str+="</ul>";

/*str+="<ul class='yellow_bullet1'>";
str+="<li><a href='what_is_davo.html' class='white'>What Is DAVO?</a></li>";
str+="</ul>";
str+="<ul class='yellow_bullet2'>";
str+="<li><a href='udis_forum.html' class='white'>UDIS Forum</a></li>";
str+="</ul>";
str+="<ul class='yellow_bullet3'>";
str+="<li><a href='profile.html' class='white'>Profiles Of Institutions</a></li>";
str+="</ul>";
str+="<ul class='yellow_bullet4'>";
str+="<li><a href='current_development.html' class='white'>Current Developments In Disability Welfare</a></li>";
str+="</ul>";
str+="<ul class='yellow_bullet5'>";
str+="<li><a href='job_opportunities.html' class='white'>Job Opportunities In The Disability Sector</a></li>";
str+="</ul>";
str+="<ul class='yellow_bullet6'>";
str+="<li><a href='government_initiatives.html' class='white'>Government Initiatives</a></li>";
str+="</ul>";
/*str+="<ul class='yellow_bullet7'>";
str+="<li><a href='parents_column.html' class='white'>Parents Column</a></li>";
str+="</ul>";
str+="<ul class='yellow_bullet8'>";
str+="<li><a href='disabled_people_organisation.html' class='white'>Initiatives Of Disabled People’s Organisation</a></li>";
str+="</ul>";
str+="<ul class='yellow_bullet9'>";
str+="<li><a href='child_rights.html' class='white'>Child Rights And Gender Issues</a></li>";
str+="</ul>";*/
str+="</td>";
if(page=='index')
str+="<td align='left' valign='top'><img src='images/index_banner_image.jpg' height='238' width='498' border='0' alt='DAVO' /></td>";
if(page=='what is davo')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/imgAboutDAVO.jpg' height='238' width='498' border='0' alt='DAVO' /></div></td>";
if(page=='profile')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/imgProfileInstitutions.jpg' height='238' width='498' border='0' alt='DAVO' /></div></td>";
if(page=='udis')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/inner_udis_1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/inner_udis_2.jpg' height='238' width='249' border='0' alt='DAVO' /></div></td>";
if(page=='current_development')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/inner_current_development_1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/inner_current_development_2.jpg' height='238' width='249' border='0' alt='DAVO' /></div></td>";
if(page=='job')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/imgJob1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/imgJob2.jpg' height='238' width='249' border='0' alt='DAVO' /></div></td>";
if(page=='govt')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/inner_govt_1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/inner_govt_2.jpg' height='238' width='249' border='0' alt='DAVO' /></div></td>";
if(page=='parents')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/inner_parents_1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/inner_parents_2.jpg' height='238' width='249' border='0' alt='DAVO' /></div></td>";
if(page=='initiative')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/inner_initiative_1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/inner_initiative_2.jpg' height='238' width='249' border='0' alt='DAVO' /></div></td>";
if(page=='child_rights')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/inner_contact_1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/inner_contact_2.jpg' height='238' width='249' border='0' alt='DAVO' /></div><!--div style='float:right; width:498px;'><img src='images/inner_child_rights_1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/inner_child_rights_2.jpg' height='238' width='249' border='0' alt='DAVO' /></div--></td>";
if(page=='contact')
str+="<td align='left' valign='top'><div style='float:right; width:498px;'><img src='images/inner_contact_1.jpg' height='238' width='249' border='0' alt='DAVO' /><img src='images/inner_contact_2.jpg' height='238' width='249' border='0' alt='DAVO' /></div></td>";

str+="</tr>";
str+="</table>";
str+="</td>";
str+="</tr>";


document.write(str)
}

function setActiveStyleSheet(title) {

  var i, a, main;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
      a.disabled = true;
		 if(a.getAttribute("title") == title) a.disabled = false;
    }
  }
}

function getActiveStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
  }
  return null;
}

function getPreferredStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1
       && a.getAttribute("rel").indexOf("alt") == -1
       && a.getAttribute("title")
       ) return a.getAttribute("title");
  }
  return null;
}

function createCookie(name,value,days) {
  if (days) {
    var date = new Date();
    date.setTime(date.getTime()+(days*24*60*60*1000));
    var expires = "; expires="+date.toGMTString();
  }
  else expires = "";
  document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0;i < ca.length;i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  }
  return null;
}

/*window.onload = function(e) {
  var cookie = readCookie("style");
  var title = cookie ? cookie : getPreferredStyleSheet();
  setActiveStyleSheet(title);
  if(title == "big")
	document.getElementById('Image32').src=linkPath+'images/accessibility_big.gif';
  if(title == "max")
	document.getElementById('Image32').src=linkPath+'images/accessibility_max.gif';
  if(title == "normal")
	document.getElementById('Image32').src=linkPath+'images/accessibility.gif';
  if(document.getElementById('OnPage'))
  {
	  document.getElementById('OnPage').style.color='#f8971d';
  }
  if(document.getElementById('out'))
  {
  	document.getElementById('out').style.color='#ff9933';
  }
 // MM_preloadImages('images/web_solution_sadow.jpg','images/design_centre_sadow.jpg','images/creative_services_sadow.jpg','images/submit_sadow.jpg','../images/call_me_back_sadow.jpg','../images/online_briefing_sadow.jpg','../images/website_shadow.jpg','../images/domain_shadow.jpg','../images/hosting_shadow.jpg')
}*/

window.onload = function(e) {
  var cookie = readCookie("style");
  var title = cookie ? cookie : getPreferredStyleSheet();
  setActiveStyleSheet(title);
  if(document.getElementById('OnPage'))
  {
	  document.getElementById('OnPage').style.color='#f8971d';
  }
  if(document.getElementById('out'))
  {
  	document.getElementById('out').style.color='#ff9933';
  }
 // MM_preloadImages('images/web_solution_sadow.jpg','images/design_centre_sadow.jpg','images/creative_services_sadow.jpg','images/submit_sadow.jpg','../images/call_me_back_sadow.jpg','../images/online_briefing_sadow.jpg','../images/website_shadow.jpg','../images/domain_shadow.jpg','../images/hosting_shadow.jpg')
}


window.onunload = function(e) {
  var title = getActiveStyleSheet();
  createCookie("style", title, 365);
}

var cookie = readCookie("style");
var title = cookie ? cookie : getPreferredStyleSheet();
setActiveStyleSheet(title);


function GetCountry(defaultValue,isNotWithSelect)
{
	var sCountry="Adapted Physical education,Administration in special education,Audiology,Braillist,Creative Arts,Low vision,Occupation Therapy,Orientation and Mobility Instructor,Parent counseling,Psychologist specialized in disability,Orthotic technician,Physiotherapy,Teacher of children with visual impairment,Teacher of children with hearing impairment,Teacher of children with mental retardation,Teacher educator in visual impairment,Teacher educator in hearing impairment,Teacher educator in mental retardation,Technology in disability,Sign language specialist,Speech Therapy,Teacher for creative arts,Vocational counseling";
	var xCountry=sCountry.split(",");
	var str="";
	if (!isNotWithSelect)str+="<option value='' selected>Select Specialisation</option>\n";else str+="<option value='' selected>Doesn't Matter</option>\n";
	for(i=0;i<xCountry.length; i++)
	if(xCountry[i]==defaultValue)str+="<option value='"+xCountry[i]+"' selected>"+xCountry[i]+"</option>\n";else str+="<option value='"+xCountry[i]+"'>"+xCountry[i]+"</option>\n";
	document.write(str);
}

	




